]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/emacs-lisp/ert.el (ert-select-tests): Fix string/symbol mixup.
[gnu-emacs] / lisp / ChangeLog
1 2013-12-19 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/ert.el (ert-select-tests):
4 Fix string/symbol mixup. (Bug#16121)
5
6 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7
8 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
9 keywords to their parent.
10
11 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
12
13 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14 first arg to be a string (fixed dead code), or an operator symbol.
15 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
16 operator symbols.
17 (ruby-smie-rules): Remove parent token check in the `.' clause, it
18 did nothing. Don't respond to `(:after ".")', it will be called
19 with :before anyway. Remove the ` @ ' rule, it didn't seem to
20 change anything. Only return indentation for binary operators
21 when they are hanging. De-dent opening paren when its parent is
22 `.', otherwise it looks bad when the dot is not at bol or eol
23 (bug#16182).
24
25 2013-12-19 Juri Linkov <juri@jurta.org>
26
27 * replace.el (query-replace-read-args): Split a non-negative arg
28 and a negative arg into separate elements.
29 (query-replace, query-replace-regexp, replace-string)
30 (replace-regexp): Add arg `backward'. Doc fix.
31 (replace-match-maybe-edit): When new arg `backward' is non-nil,
32 move point to the beginning of the match.
33 (replace-search, replace-highlight): Use new arg `backward'
34 to set the value of `isearch-forward'.
35 (perform-replace): Add arg `backward' and use it to perform
36 replacement backward. (Bug#14979)
37
38 * isearch.el (isearch-query-replace): Use a negative prefix arg
39 to call `perform-replace' with a non-nil arg `backward'.
40
41 2013-12-18 Juri Linkov <juri@jurta.org>
42
43 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
44 to the default list. Move `log-edit-show-files' to the end.
45 Add more available functions to options.
46 (log-edit): Move default specific settings to
47 `log-edit-insert-message-template'. Don't move point.
48 (log-edit-insert-message-template): New function.
49 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
50 (Bug#16170)
51
52 2013-12-18 Juri Linkov <juri@jurta.org>
53
54 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
55 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
56
57 2013-12-18 Leo Liu <sdl.web@gmail.com>
58
59 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
60
61 2013-12-18 Eli Zaretskii <eliz@gnu.org>
62
63 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
64 formats for displaying file sizes when the -s switch is given.
65 Instead, compute a separate format for displaying the size in
66 blocks, which is displayed in addition to the "regular" size.
67 When -h is given in addition to -s, produce size in blocks in
68 human-readable form as well. (Bug#16179)
69
70 2013-12-18 Tassilo Horn <tsdh@gnu.org>
71
72 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference
73 tables with ~\ref{...} instead of only \ref{...}.
74
75 2013-12-18 Chong Yidong <cyd@gnu.org>
76
77 * cus-edit.el (custom-magic-alist): Fix "themed" description
78 (Bug#14348).
79
80 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
81 is non-nil, do not create a new entry in the symbol's theme-value
82 or theme-face property; update theme-settings only (Bug#14664).
83 (custom-available-themes): Doc fix.
84
85 * cus-theme.el (custom-new-theme-mode-map): Add bindings
86 (Bug#15674).
87
88 * replace.el (occur-engine): Avoid infloop (Bug#7593).
89
90 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
91
92 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
93 (Bug#13914).
94
95 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
96
97 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
98
99 2013-12-18 Glenn Morris <rgm@gnu.org>
100
101 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
102 * cus-start.el (load-prefer-newer): New option.
103
104 2013-12-18 Le Wang <l26wang@gmail.com>
105
106 * comint.el (comint-previous-matching-input-from-input): Retain
107 point (Bug#13404).
108
109 2013-12-18 Chong Yidong <cyd@gnu.org>
110
111 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
112
113 2013-12-18 Glenn Morris <rgm@gnu.org>
114
115 * mail/emacsbug.el (report-emacs-bug):
116 Only mention enable-multibyte-characters if non-standard.
117
118 2013-12-17 Juri Linkov <juri@jurta.org>
119
120 * arc-mode.el (archive-extract-by-file): Check if directory exists
121 before deletion to not show irrelevant errors if it doesn't exist.
122
123 2013-12-17 Juri Linkov <juri@jurta.org>
124
125 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
126 (Bug#14751)
127
128 * net/eww.el (browse-web): Add alias to `eww'.
129 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
130 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
131
132 * net/browse-url.el (browse-url-browser-function): Move `eww'
133 closer to similar functions.
134
135 * startup.el (fancy-startup-screen, fancy-about-screen):
136 Set browse-url-browser-function to eww-browse-url locally.
137 (Bug#14751)
138
139 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * window.el (window--pixel-to-total): Remove unused `mini' var.
142 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
143 (split-window): Remove unused `new' var.
144 (window--display-buffer): Remove unused `frame' and `delta' vars.
145 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
146 and display-width'.
147
148 2013-12-17 Martin Rudalics <rudalics@gmx.at>
149
150 * dired.el (dired-mark-pop-up):
151 * register.el (register-preview): Don't bind
152 split-height-threshold here since it's now done in
153 display-buffer-below-selected.
154
155 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
156
157 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
158 xterm-rgb-convert-to-16bit.
159 (rxvt-register-default-colors): Standardize with
160 xterm-register-default-colors (Bug#14078).
161
162 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
163
164 * simple.el (kill-region): Pass mark first, then point, so that
165 kill-append works right (Bug#12819).
166 (copy-region-as-kill, kill-ring-save): Likewise.
167
168 2013-12-17 Leo Liu <sdl.web@gmail.com>
169
170 * net/rcirc.el (rcirc-add-face):
171 * eshell/em-prompt.el (eshell-emit-prompt):
172 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
173 (Bug#16167)
174
175 2013-12-17 Chong Yidong <cyd@gnu.org>
176
177 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
178 Suggested by Xue Fuqiao.
179
180 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
181
182 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
183
184 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * net/shr.el (shr-insert-document): Remove unused var
187 `shr-preliminary-table-render'.
188 (shr-rescale-image): Remove unused arg `force'.
189 (shr-put-image): Update calls accordingly.
190 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
191
192 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
193
194 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
195 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
196 :close-all, to see which indentation method to use (Bug#16116).
197 (smie-rules-function): Document the method :close-all.
198
199 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
200
201 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
202
203 * net/eww.el (eww-display-html): If we can't find the anchor we're
204 looking for, then go to point-min.
205
206 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
207
208 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
209 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
210 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
211 Expand dir too, in case it's relative.
212
213 2013-12-16 Juri Linkov <juri@jurta.org>
214
215 * desktop.el (desktop-auto-save-timeout): Change default to
216 `auto-save-timeout'. Doc fix.
217 (desktop-save): Skip the timestamp in desktop-saved-frameset
218 when checking for auto-save changes.
219 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
220 `desktop-auto-save' is called repeatedly by the idle timer.
221 (desktop-auto-save-set-timer): Replace `run-with-timer' with
222 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
223 (Bug#15331)
224
225 2013-12-16 Juri Linkov <juri@jurta.org>
226
227 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
228 (Bug#16035)
229 (isearch-pre-command-hook): Check `this-command' for symbolp.
230
231 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
234
235 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
236
237 * progmodes/cfengine.el (cfengine3--current-word): Remove.
238 (cfengine3--current-function): Bring in the current-function
239 functionality from `cfengine3--current-word'.
240 (cfengine3-completion-function): Bring in the
241 bounds-of-current-word functionality from
242 `cfengine3--current-word'.
243
244 2013-12-16 Martin Rudalics <rudalics@gmx.at>
245
246 * window.el (display-buffer-below-selected):
247 Bind split-height-threshold to 0 as suggested by Juri Linkov.
248
249 2013-12-16 Leo Liu <sdl.web@gmail.com>
250
251 * progmodes/compile.el (compile-goto-error): Do not push-mark.
252 Remove NOMSG arg and all uses changed.
253
254 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
257 (cua--deactivate-rectangle): Don't deactivate the mark.
258 (cua-set-rectangle-mark): Don't set mark-active since
259 cua--activate-rectangle already does it for us.
260 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
261 non-rectangular region.
262
263 * emulation/cua-base.el (cua-repeat-replace-region):
264 Use with-current-buffer.
265
266 * net/gnutls.el: Use cl-lib.
267 (gnutls-negotiate): `mapcan' -> cl-mapcan.
268
269 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
270
271 * emacs-lisp/package.el (package-built-in-p): Support both
272 built-in and the package.el converted package descriptions.
273 (package-show-package-list): Allow keywords.
274 (package-keyword-button-action): Use it instead of
275 `finder-list-matches'.
276 (package-menu-filter-interactive): Interactive filtering (by
277 keyword) function.
278 (package-menu--generate): Support keywords and change keymappings
279 and headers when they are given.
280 (package--has-keyword-p): Helper function.
281 (package-menu--refresh): Use it.
282 (package--mapc): Helper function.
283 (package-all-keywords): Use it.
284 (package-menu-mode-map): Set up menu items and keybindings to
285 provide a filtering UI.
286
287 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
288
289 * net/gnutls.el (gnutls-verify-error): New defcustom to control
290 the behavior when a certificate fails validation. Defaults to
291 old behavior: never abort, just warn.
292 (gnutls-negotiate): Use it.
293
294 2013-12-14 Martin Rudalics <rudalics@gmx.at>
295
296 * window.el (display-buffer-below-selected): Never split window
297 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
298
299 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
300
301 * emacs-lisp/package.el (package--prepare-dependencies): New function.
302 (package-buffer-info): Use it (bug#15108).
303
304 * icomplete.el (icomplete-completions): Make sure the prefix is already
305 displayed elsewhere before hiding it.
306
307 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
308
309 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
310 open-paren tokens when preceded by a open-paren, too.
311 (ruby-smie-rules): Handle virtual indentation after open-paren
312 tokens specially. If there is code between it and eol, return the
313 column where is starts (Bug#16118).
314
315 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
316
317 * progmodes/cfengine.el: Fix `add-hook' doc.
318 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
319 (cfengine3--current-word): Fix parameters.
320 (cfengine3-make-syntax-cache): Simplify further.
321 (cfengine3-completion-function, cfengine3--current-function):
322 Use `assq' for symbols.
323 (cfengine3--current-function): Fix `cfengine3--current-word' call.
324
325 2013-12-13 Glenn Morris <rgm@gnu.org>
326
327 * loadup.el (load-path): Warn if site-load or site-init changes it.
328 No more need to reset it when bootstrapping.
329
330 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
331
332 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
333 locations for cf-promises.
334 (cfengine-mode-syntax-functions-regex): New caching variable.
335 (cfengine3-fallback-syntax): Fallback syntax for cases where
336 cf-promises doesn't run.
337 (cfengine3--current-word): Reimplement using
338 `cfengine-mode-syntax-functions-regex'.
339 (cfengine3-completion-function, cfengine3--current-function):
340 Use `cfengine3-make-syntax-cache' directly.
341 (cfengine3-clear-syntax-cache): New function.
342 (cfengine3-make-syntax-cache): Simplify and create
343 `cfengine-mode-syntax-functions-regex' on demand.
344 (cfengine3-format-function-docstring): Don't call
345 `cfengine3-make-syntax-cache' explicitly.
346
347 2013-12-13 Martin Rudalics <rudalics@gmx.at>
348
349 Fix windmove-find-other-window broken after pixelwise resizing
350 (Bug#16017).
351 * windmove.el (windmove-other-window-loc): Revert change from
352 2013-12-04.
353 (windmove-find-other-window): Call window-in-direction.
354 * window.el (window-in-direction): New arguments SIGN, WRAP and
355 MINI to emulate original windmove-find-other-window behavior.
356
357 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
358
359 * simple.el (blink-matching--overlay): New variable.
360 (blink-matching-open): Instead of moving point, highlight the
361 matching paren with an overlay
362 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
363
364 * faces.el (paren-showing-faces, show-paren-match)
365 (show-paren-mismatch): Move from paren.el.
366
367 2013-12-13 Leo Liu <sdl.web@gmail.com>
368
369 * indent.el (indent-region): Disable progress reporter in
370 minibuffer. (Bug#16108)
371
372 * bindings.el (visual-order-cursor-movement): Fix version.
373
374 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
375
376 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
377 Also match after beginning of line.
378 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
379 files. Thanks to Russell Sim. (Bug#15378)
380
381 2013-12-13 Juri Linkov <juri@jurta.org>
382
383 * simple.el <Keypad support>: Remove key bindings duplicated
384 with bindings.el. (Bug#14397)
385
386 2013-12-13 Juri Linkov <juri@jurta.org>
387
388 * comint.el (comint-mode-map): Replace `delete-char' with
389 `delete-forward-char'. (Bug#16109)
390
391 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
392
393 * progmodes/python.el (python-indent-calculate-indentation):
394 Fix de-denters cornercase. (Bug#15731)
395
396 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
399 (advice--make): Pay attention to `depth'.
400 (advice--make-1): Don't autoload commands eagerly.
401 * emacs-lisp/elp.el (elp-instrument-function):
402 * emacs-lisp/trace.el (trace-function-internal):
403 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
404
405 * iswitchb.el (iswitchb-mode): Don't belittle ido.
406
407 2013-12-12 Eli Zaretskii <eliz@gnu.org>
408
409 * term/w32-win.el (w32-handle-dropped-file):
410 * startup.el (normal-top-level):
411 * net/browse-url.el (browse-url-file-url):
412 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
413 decode file names using 'utf-8' rather than
414 file-name-coding-system.
415
416 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
417
418 * progmodes/python.el (python-indent-context)
419 (python-indent-calculate-indentation): Fix auto-identation
420 behavior for comment blocks. (Bug#15916)
421
422 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
423
424 * progmodes/python.el (python-indent-calculate-indentation):
425 When determining indentation, don't treat "return", "pass", etc., as
426 operators when they are just string constituents. (Bug#15812)
427
428 2013-12-12 Juri Linkov <juri@jurta.org>
429
430 * uniquify.el (uniquify-buffer-name-style): Change default to
431 `post-forward-angle-brackets'.
432
433 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
434 `uniquify'. Change default to `post-forward-angle-brackets'.
435
436 2013-12-11 Glenn Morris <rgm@gnu.org>
437
438 * emacs-lisp/package.el (finder-list-matches):
439 Autoload rather than falsely declaring.
440
441 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
442
443 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
444 (eww-mode-map): Use them.
445
446 2013-12-11 Martin Rudalics <rudalics@gmx.at>
447
448 * window.el (display-buffer-in-side-window): Fix doc-string
449 (Bug#16115).
450
451 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
452
453 * vc/vc-git.el: Silence byte-compiler warnings.
454 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
455 (log-edit-set-header): Declare.
456
457 2013-12-11 Eli Zaretskii <eliz@gnu.org>
458
459 * Makefile.in (custom-deps, finder-data): Run output file names
460 through unmsys--file-name. (Bug#16099)
461
462 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
465 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
466
467 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
468 instead of deleting the selection "by hand" (bug#16098).
469 Rely on insert-for-yank to yank rectangles.
470 (cua-highlight-region-shift-only): Mark obsolete.
471 (cua-mode): Don't enable/disable transient-mark-mode,
472 shift-select-mode (cua-mode works both with and without them), and
473 pc-selection-mode (obsolete).
474 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
475 (cua--deactivate-rectangle): Deactivate it.
476
477 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
478 (delete-selection-helper): Make sure yank starts at the top of the
479 deleted region.
480 (minibuffer-keyboard-quit): Use region-active-p.
481
482 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
483
484 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
485 to `delete' (bug#16109).
486
487 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
488
489 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
490 info manual and show keybindings and set `:group' keyword.
491
492 2013-12-11 Juri Linkov <juri@jurta.org>
493
494 * delsel.el (delete-active-region): Let-bind `this-command'
495 to prevent `kill-region' from changing its original value.
496 (delete-selection-helper): Handle `overwrite-mode' for the type
497 `kill' exactly the same way as for the type `t'.
498 (insert-char, quoted-insert, reindent-then-newline-and-indent):
499 Support more commands. (Bug#13312)
500
501 2013-12-11 Juri Linkov <juri@jurta.org>
502
503 * bindings.el: Map kp keys to non-kp keys systematically
504 with basic modifiers control, meta and shift. (Bug#14397)
505
506 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
507
508 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
509 "Close browser" menu items. Fix wrong function of "List
510 bookmarks".
511
512 2013-12-11 Juri Linkov <juri@jurta.org>
513
514 * misearch.el (multi-isearch-buffers): Set the value of
515 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
516 arg of isearch-forward to t.
517 (multi-isearch-buffers-regexp): Set the value of
518 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
519 arg of isearch-forward-regexp to t.
520 (multi-isearch-files): Set the value of
521 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
522 arg of isearch-forward to t.
523 (multi-isearch-files-regexp): Set the value of
524 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
525 arg of isearch-forward-regexp to t. (Bug#16035)
526
527 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
528 arg of isearch-forward to t.
529 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
530 arg of isearch-forward-regexp to t.
531 (dired-isearch-filter-filenames): Remove unnecessary check for
532 `dired-isearch-filenames'.
533
534 * comint.el (comint-history-isearch-backward):
535 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
536 (comint-history-isearch-backward-regexp):
537 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
538
539 2013-12-10 Eli Zaretskii <eliz@gnu.org>
540
541 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
542 unmsys--file-name. (Bug#16099)
543
544 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
545
546 * emacs-lisp/package.el (package-keyword-button-action):
547 Remove finder.el require dependency.
548
549 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
550
551 * emacs-lisp/package.el: Require finder.el.
552 (describe-package-1): Add keyword buttons.
553 (package-make-button): New convenience function.
554 (package-keyword-button-action): Keyword button action using
555 `finder-list-matches'
556
557 2013-12-09 Eli Zaretskii <eliz@gnu.org>
558
559 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
560 last commit.
561
562 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
563
564 * autorevert.el (auto-revert-notify-add-watch): Do not handle
565 symlinked files.
566
567 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
568
569 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
570 after the end of a percent literal.
571
572 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
573
574 * progmodes/ruby-mode.el (ruby-forward-string): Document.
575 Handle caret-delimited strings (Bug#16079).
576
577 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
578
579 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
580 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
581 `ruby-parse-partial' (Bug#16078).
582
583 2013-12-09 Leo Liu <sdl.web@gmail.com>
584
585 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
586
587 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
588
589 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
590 (js-switch-indent-offset): New option.
591 (js--proper-indentation): Use it. And handle the case when
592 "default" is actually a key in an object literal.
593 (js--same-line): New function.
594 (js--multi-line-declaration-indentation): Use it.
595 (js--indent-in-array-comp, js--array-comp-indentation):
596 New functions.
597 (js--proper-indentation): Use them, to handle array comprehension
598 continuations.
599
600 2013-12-08 Leo Liu <sdl.web@gmail.com>
601
602 * progmodes/flymake.el (flymake-highlight-line): Re-write.
603 (flymake-make-overlay): Remove arg MOUSE-FACE.
604 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
605
606 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
609 New function.
610 (redisplay-highlight-region-function): Use it.
611
612 * emulation/cua-base.el (cua--explicit-region-start)
613 (cua--last-region-shifted): Remove.
614 (cua--deactivate): Use deactivate-mark.
615 (cua--pre-command-handler-1): Don't handle shift-selection.
616 (cua--post-command-handler-1): Don't change transient-mark-mode.
617 (cua--select-keymaps): Use region-active-p rather than
618 cua--explicit-region-start or cua--last-region-shifted.
619 (cua-mode): Enable shift-select-mode.
620
621 2013-12-08 Leo Liu <sdl.web@gmail.com>
622
623 * progmodes/flymake.el (flymake-popup-current-error-menu):
624 Rename from flymake-display-err-menu-for-current-line. Reimplement.
625 (flymake-posn-at-point-as-event, flymake-popup-menu)
626 (flymake-make-emacs-menu): Remove. (Bug#16077)
627
628 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * rect.el (rectangle-mark-mode): Activate mark even if
631 transient-mark-mode is off (bug#16066).
632 (rectangle--highlight-for-redisplay): Fix boundary condition when point
633 is > mark and at bolp.
634
635 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
636 (region-extract-function): Use it.
637 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
638 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
639 Delete functions.
640 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
641 kill-ring-save, kill-region, delete-char, delete-forward-char.
642 Ignore self-insert-iso.
643
644 * emulation/cua-gmrk.el (cua--init-global-mark):
645 Ignore `self-insert-iso'.
646
647 * emulation/cua-base.el (cua--prefix-copy-handler)
648 (cua--prefix-cut-handler): Rely on region-extract-function rather than
649 checking cua--rectangle.
650 (cua-delete-region): Use region-extract-function.
651 (cua-replace-region): Delete function.
652 (cua-copy-region, cua-cut-region): Obey region-extract-function.
653 (cua--pre-command-handler-1): Don't do the delete-selection thing.
654 (cua--self-insert-char-p): Ignore `self-insert-iso'.
655 (cua--init-keymaps): Don't remap delete-selection commands.
656 (cua-mode): Use delete-selection-mode instead of rolling our own
657 (bug#16085).
658
659 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
660 Obey region-extract-function.
661
662 Make registers and delete-selection-mode work on rectangles.
663 * register.el (describe-register-1): Don't modify the register's value.
664 (copy-to-register): Obey region-extract-function.
665 * delsel.el (delete-active-region): Obey region-extract-function.
666
667 2013-12-08 Leo Liu <sdl.web@gmail.com>
668
669 * progmodes/flymake.el (flymake, flymake-error-bitmap)
670 (flymake-warning-bitmap, flymake-fringe-indicator-position)
671 (flymake-compilation-prevents-syntax-check)
672 (flymake-start-syntax-check-on-newline)
673 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
674 (flymake-start-syntax-check-on-find-file, flymake-log-level)
675 (flymake-xml-program, flymake-master-file-dirs)
676 (flymake-master-file-count-limit)
677 (flymake-allowed-file-name-masks): Relocate.
678 (flymake-makehash, flymake-float-time)
679 (flymake-replace-regexp-in-string, flymake-split-string)
680 (flymake-get-temp-dir): Remove.
681 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
682 (flymake-current-row, flymake-selected-frame)
683 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
684 related functions. (Bug#16077)
685
686 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
687
688 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
689
690 2013-12-07 Tassilo Horn <tsdh@gnu.org>
691
692 * help-fns.el (describe-function-1): Use new advice-* functions
693 rather than old ad-* functions. Fix function type description and
694 source links for advised functions and subrs.
695
696 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
697
698 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
699
700 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
701
702 * progmodes/compile.el (compilation-start):
703 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
704
705 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
706 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
707
708 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
709
710 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
711 Touch up the last change.
712
713 2013-12-06 Leo Liu <sdl.web@gmail.com>
714
715 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
716 (inferior-octave-startup): Always use "octave> " for prompt.
717 (octave-goto-function-definition)
718 (octave-sync-function-file-names)
719 (octave-find-definition-default-filename): Remove redundant backquotes.
720
721 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
722
723 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
724 syntax for `?'.
725 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
726 where appropriate already.
727 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
728 end of method names (Bug#15874).
729
730 2013-12-06 Juri Linkov <juri@jurta.org>
731
732 * isearch.el (isearch--saved-overriding-local-map):
733 New internal variable.
734 (isearch-mode): Set it to the initial value of
735 `overriding-terminal-local-map'.
736 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
737 with `isearch--saved-overriding-local-map'. (Bug#16035)
738
739 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
740
741 * progmodes/octave.el (inferior-octave-completion-table):
742 Turn back into function, use `completion-table-with-cache'
743 (Bug#11906). Update all references.
744
745 * minibuffer.el (completion-table-with-cache): New function.
746
747 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
748
749 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
750
751 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
752
753 * net/eww.el (eww-current-source): New variable to store page
754 source.
755 (eww-display-html, eww-mode, eww-save-history)
756 (eww-restore-history): Use it.
757 (eww-view-source): New command to view page source.
758 Opportunistically uses `html-mode' to highlight the buffer.
759 (eww-mode-map): Install it.
760
761 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
762
763 * net/dbus.el (dbus-unregister-service)
764 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
765 Fix docstring.
766 (dbus-unregister-service): Skip :serial entries in
767 `dbus-registered-objects-table'.
768 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
769
770 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
771
772 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
773 around keywords with extra `split-string' argument.
774
775 2013-12-04 Martin Rudalics <rudalics@gmx.at>
776
777 * windmove.el (windmove-other-window-loc): Handle navigation
778 between windows (excluding the minibuffer window - Bug#16017).
779
780 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
781
782 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
783 in D-Bus type syntax.
784 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
785 preserve unibyte strings. (Bug#16048)
786
787 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
790 Call force-mode-line-update is the proper buffer (bug#16042).
791
792 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
793
794 * vc/log-edit.el (log-edit-add-new-comment): Rename to
795 `log-edit-remember-comment', make argument optional. Adjust all
796 callers.
797 (log-edit-mode): Add `log-edit-remember-comment' to
798 `kill-buffer-hook' locally.
799 (log-edit-kill-buffer): Don't remember comment explicitly since
800 the buffer is killed anyway.
801
802 2013-12-04 Juri Linkov <juri@jurta.org>
803
804 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
805 add-hook and remove-hook for multi-buffer search. (Bug#16035)
806
807 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
808
809 * notifications.el (notifications-close-notification): Call the
810 D-Bus method with ID being a `:uint32'. (Bug#16030)
811
812 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
813
814 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
815
816 2013-12-03 Juri Linkov <juri@jurta.org>
817
818 * progmodes/compile.el (compilation-start): Rename window alist
819 entry `no-display-ok' to `allow-no-window'.
820
821 * simple.el (shell-command): Add window alist entry
822 `allow-no-window' to `display-buffer'.
823 (async-shell-command): Doc fix.
824
825 * window.el (display-buffer-no-window): New action function.
826 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
827
828 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
829
830 * vc/log-edit.el (log-edit-set-header): Extract from
831 `log-edit-toggle-header'.
832 (log-edit-extract-headers): Separate the summary, when extracted
833 from header, from the rest of the message with an empty line.
834
835 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
836 line, if present, to the Summary header.
837
838 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
841 in current-buffer (bug#16029).
842
843 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
844
845 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
846 (debugger-mode-map): Bind it.
847 (debugger--backtrace-base): New function.
848 (debugger-eval-expression): Use it.
849 (debugger-frame-number): Skip local vars when present.
850 (debugger--locals-visible-p, debugger--insert-locals)
851 (debugger--show-locals, debugger--hide-locals): New functions.
852
853 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
854
855 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
856 "LC_ALL".
857 (tramp-get-remote-locale): New defun.
858 (tramp-open-connection-setup-interactive-shell): Use it.
859
860 2013-12-02 Leo Liu <sdl.web@gmail.com>
861
862 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
863
864 * progmodes/sh-script.el (sh-shell-process):
865 * progmodes/octave.el (inferior-octave-process-live-p):
866 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
867 (gdb-inferior-io-sentinel):
868 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
869
870 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
871
872 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
873 `save-selected-window' to `log-edit-hide-buf'. This makes
874 `log-edit-show-files' idempotent.
875 (log-edit-show-files): Mark the new window as dedicated.
876
877 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
878
879 * vc/log-edit.el (log-edit-mode-map): Add binding for
880 `log-edit-kill-biffer'.
881 (log-edit-hide-buf): Add a FIXME comment.
882 (log-edit-add-new-comment): New function, extracted from
883 `log-edit-done'.
884 (log-edit-done, log-edit-add-to-changelog): Use it.
885 (log-edit-kill-buffer): New command.
886
887 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
888
889 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
890 instead of killing the buffer.
891
892 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
895
896 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
897
898 * net/eww.el (eww-form-checkbox-selected-symbol)
899 (eww-form-checkbox-symbol): New customizable variable.
900 (eww-form-checkbox, eww-toggle-checkbox):
901 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
902
903 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
904 (shr--get-media-pref, shr--extract-best-source): New function.
905 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
906 no :src tag was specified.
907
908 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
909 (eww-render): Handle `eww-use-external-browser-for-content-type'.
910 Use \\` to match beginning of string instead of ^.
911 (eww-browse-with-external-browser): Provide optional URL parameter.
912 (eww-render): Set `eww-current-title' back to "".
913
914 * net/shr.el (shr-tag-video): Display content for video if no
915 poster is available.
916 (shr-tag-audio): Add support for <audio> tag.
917
918 * net/eww.el (eww-text-input-types): : New const.
919 (eww-process-text-input): Treat input types in
920 `eww-text-input-types' as text.
921
922 * net/shr.el (shr-tag-table): Fix comment typo.
923
924 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
925
926 * net/eww.el (eww-follow-link): New command to avoid reloading
927 pages when we follow #target links (bug#15243).
928 (eww-quit): Special mode buffers shouldn't query before exiting.
929
930 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
931
932 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
933 forms.
934
935 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
936
937 * net/eww.el (eww-restore-history): Update the window title after
938 moving in the history.
939 (eww-current-dom): New variable used to save the current DOM.
940
941 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
942
943 * vc/log-edit.el (log-edit-mode-map): Add binding for
944 `log-edit-beginning-of-line'.
945 (log-edit-setup-add-author): New user option.
946 (log-edit-beginning-of-line): New command.
947 (log-edit): Move major mode call above the contents setup so that
948 the local variable values are already applied.
949 (log-edit): Only insert "Author: " when
950 `log-edit-setup-add-author' is non-nil.
951 (log-edit): When SETUP is non-nil, position point after ": "
952 instead of point-min.
953
954 2013-12-01 Glenn Morris <rgm@gnu.org>
955
956 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
957
958 2013-11-30 Eli Zaretskii <eliz@gnu.org>
959
960 * startup.el (fancy-splash-frame): On MS-Windows, trigger
961 redisplay to make sure the initial frame gets a chance to become
962 visible. (Bug#16014)
963
964 2013-11-30 Martin Rudalics <rudalics@gmx.at>
965
966 Support resizing frames and windows pixelwise.
967 * cus-start.el (frame-resize-pixelwise)
968 (window-resize-pixelwise): New entries.
969 * emacs-lisp/debug.el (debug): Use window-total-height instead
970 of window-total-size.
971 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
972 * help.el (describe-bindings-internal): Call help-buffer
973 (temp-buffer-max-width): New option.
974 (resize-temp-buffer-window, help-window-setup)
975 (with-help-window): Rewrite.
976 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
977 dragging dividers.
978 * window.el (frame-char-size, window-min-pixel-height)
979 (window-safe-min-pixel-height, window-safe-min-pixel-width)
980 (window-min-pixel-width, window-safe-min-pixel-size)
981 (window-combination-p, window-safe-min-size)
982 (window-resizable-p, window--size-to-pixel)
983 (window--pixel-to-size, window--resize-apply-p): New functions.
984 (window-safe-min-height): Fix doc-string.
985 (window-size, window-min-size, window--min-size-1)
986 (window-sizable, window-sizable-p, window--min-delta-1)
987 (window-min-delta, window--max-delta-1, window-max-delta)
988 (window--resizable, window--resizable-p, window-resizable)
989 (window-full-height-p, window-full-width-p, window-at-side-p)
990 (window--in-direction-2, window-in-direction)
991 (window--resize-reset-1, window--resize-mini-window)
992 (window-resize, window-resize-no-error)
993 (window--resize-child-windows-normal)
994 (window--resize-child-windows, window--resize-siblings)
995 (window--resize-this-window, window--resize-root-window)
996 (window--resize-root-window-vertically)
997 (adjust-window-trailing-edge, enlarge-window, shrink-window)
998 (maximize-window, minimize-window, delete-window)
999 (quit-restore-window, window-split-min-size, split-window)
1000 (balance-windows-2, balance-windows)
1001 (balance-windows-area-adjust, balance-windows-area)
1002 (window--state-get-1, window-state-get, window--state-put-1)
1003 (window--state-put-2, window-state-put)
1004 (display-buffer-record-window, window--display-buffer):
1005 Make functions handle pixelwise sizing of windows.
1006 (display-buffer--action-function-custom-type)
1007 (display-buffer-fallback-action):
1008 Add display-buffer-in-previous-window.
1009 (display-buffer-use-some-window): Resize window to height it had
1010 before.
1011 (fit-window-to-buffer-horizontally): New option.
1012 (fit-frame-to-buffer): Describe new values.
1013 (fit-frame-to-buffer-bottom-margin): Replace with
1014 fit-frame-to-buffer-margins.
1015 (window--sanitize-margin): New function.
1016 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1017 using window-text-pixel-size.
1018
1019 2013-11-30 Glenn Morris <rgm@gnu.org>
1020
1021 * emacs-lisp/bytecomp.el (byte-compile-form):
1022 Make the `interactive-only' warning like the `obsolete' one.
1023 * comint.el (comint-run):
1024 * files.el (insert-file-literally, insert-file):
1025 * replace.el (replace-string, replace-regexp):
1026 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1027 (goto-line, insert-buffer, next-line, previous-line):
1028 Tweak `interactive-only' spec.
1029
1030 Stop keeping (most) generated cedet grammar files in the repository.
1031 * Makefile.in (semantic): New.
1032 (compile-main): Depend on semantic.
1033
1034 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1037 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1038
1039 * uniquify.el (uniquify-buffer-name-style): Change default.
1040
1041 * loadup.el: Preload "uniquify".
1042
1043 * time.el (display-time-update): Update all mode lines (bug#15999).
1044
1045 * electric.el (electric-indent-mode): Enable by default.
1046 * loadup.el: Preload "electric".
1047
1048 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1049
1050 * emacs-lisp/helpers.el (string-empty-p): New function.
1051 (string-blank-p): New function.
1052
1053 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1054
1055 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1056 (Bug#14029).
1057
1058 2013-11-29 Andreas Politz <politza@fh-trier.de>
1059 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1060 allow non-lambda lists as functions.
1061 (imenu--in-alist): Don't recurse into non-subalists.
1062 (imenu): Don't pass function itself as an argument (Bug#14029).
1063
1064 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * progmodes/python.el (python-mode-map): Remove binding for ":".
1067 (python-indent-electric-colon): Remove command.
1068 (python-indent-post-self-insert-function): Integrate the previous code
1069 of python-indent-electric-colon. Make it conditional on
1070 electric-indent-mode.
1071 (python-mode): Add ?: to electric-indent-chars.
1072 Move python-indent-post-self-insert-function to the end of
1073 post-self-insert-hook.
1074
1075 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * doc-view.el (doc-view-goto-page): Update mode-line.
1078
1079 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1080
1081 2013-11-27 Glenn Morris <rgm@gnu.org>
1082
1083 * international/charprop.el, international/uni-bidi.el:
1084 * international/uni-category.el, international/uni-combining.el:
1085 * international/uni-comment.el, international/uni-decimal.el:
1086 * international/uni-decomposition.el, international/uni-digit.el:
1087 * international/uni-lowercase.el, international/uni-mirrored.el:
1088 * international/uni-name.el, international/uni-numeric.el:
1089 * international/uni-old-name.el, international/uni-titlecase.el:
1090 * international/uni-uppercase.el:
1091 Remove generated files from VCS repository.
1092
1093 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1094
1095 * filenotify.el (file-notify-add-watch): Don't special-case
1096 w32notify when computing the directory to watch.
1097
1098 2013-11-27 Glenn Morris <rgm@gnu.org>
1099
1100 Make bootstrap without generated uni-*.el files possible again.
1101 * loadup.el: Update command-line-args checking for unidata-gen.
1102 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1103 * composite.el, international/characters.el:
1104 Handle unicode tables being undefined.
1105
1106 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1107 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1108 (compile-main): Depend on leim rule.
1109 (leim): New rule.
1110 * loadup.el: Move leim-list.el to leim/ subdirectory.
1111 * startup.el (normal-top-level): No more leim directory.
1112 * international/ja-dic-cnv.el (skkdic-convert):
1113 Disable version-control and autoloads in output files.
1114 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1115 Disable version-control and autoloads in output files.
1116 * leim/quail: Move here from ../leim.
1117 * leim/quail/hangul.el (hangul-input-method-activate):
1118 Add autoload cookie.
1119 (generated-autoload-load-name): Set file-local value.
1120 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1121 (generated-autoload-load-name): Set file-local value.
1122
1123 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1124
1125 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1126 (eww-add-bookmark): ask confirmation when add to bookmarks
1127 (eww-quit): ask confirmation before quitting eww
1128
1129 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1130
1131 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1132 reading output from Diff on MS-Windows and MS-DOS.
1133
1134 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1135
1136 * emacs-lisp/helpers.el (string-reverse): New function.
1137
1138 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1139
1140 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1141 names on MS Windows, like "/[::1]:".
1142
1143 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1144 SWITCHES.
1145
1146 2013-11-26 Glenn Morris <rgm@gnu.org>
1147
1148 * progmodes/python.el (python-indent-guess-indent-offset):
1149 Avoid corner-case error. (Bug#15975)
1150
1151 Preload leim-list.el. (Bug#4789)
1152 * loadup.el: Load leim-list.el when found.
1153 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1154
1155 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1156
1157 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1158
1159 * emacs-lisp/helpers.el (string-join): New function.
1160
1161 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1162
1163 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1164 Mark as obsolete and replace it with a symbol property.
1165 (byte-compile-form): Use new 'interactive-only property.
1166 * comint.el, files.el, replace.el, simple.el:
1167 Apply new 'interactive-only properly.
1168
1169 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1170
1171 * window.el (display-buffer-at-bottom): Make sure that
1172 split-window-sensibly creates the new window on bottom
1173 (Bug#15961).
1174
1175 2013-11-23 David Kastrup <dak@gnu.org>
1176
1177 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1178 on the conflict markers when available.
1179 (smerge--get-marker): New function.
1180 (smerge-end-re, smerge-base-re): Add subgroup.
1181
1182 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * frame.el (handle-focus-in, handle-focus-out): Add missing
1185 interactive spec.
1186
1187 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1188
1189 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1190 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1191
1192 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1195 (gomoku--last-pos): New var.
1196 (gomoku--intangible-chars): New const.
1197 (gomoku--intangible): New function.
1198 (gomoku-mode): Use it. Derive from special-mode.
1199 (gomoku-move-up): Adjust line count.
1200 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1201 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1202 Simplify accordingly.
1203
1204 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1205 Remove blink-cursor code.
1206 (blink-cursor-timer-function, blink-cursor-suspend):
1207 Don't special-case GUIs.
1208 (blink-cursor-mode): Use focus-in/out-hook.
1209
1210 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1211
1212 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1213 work when annotation is invisible (Bug#13886).
1214
1215 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1216
1217 * json.el (json-alist-p): Only return non-nil if the alist has
1218 simple keys (Bug#13518).
1219
1220 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1221
1222 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1223 when control-statement is the first statement in a buffer (Bug#15956).
1224
1225 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1226
1227 * imenu.el (imenu-generic-skip-comments-and-strings):
1228 New option (Bug#15560).
1229 (imenu--generic-function): Use it.
1230
1231 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1232
1233 * minibuffer.el (completion--in-region-1): Scroll the correct
1234 window. (Bug#13898)
1235
1236 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1237
1238 * emacs-lisp/helpers.el: Add some string helpers.
1239 (string-trim-left): Removes leading whitespace.
1240 (string-trim-right): Removes trailing whitespace.
1241 (string-trim): Removes leading and trailing whitespace.
1242
1243 * subr.el (string-suffix-p): New function.
1244
1245 2013-11-23 Glenn Morris <rgm@gnu.org>
1246
1247 * progmodes/python.el (python-shell-send-file):
1248 Add option to delete file when done. (Bug#15647)
1249 (python-shell-send-string, python-shell-send-region): Use it.
1250
1251 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1252
1253 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1254 to set buffer-read-only to t, never to nil. (Bug#15938)
1255
1256 * textmodes/tex-mode.el (latex-noindent-environments):
1257 Add safe-local-variable property. (Bug#15936)
1258
1259 2013-11-23 Glenn Morris <rgm@gnu.org>
1260
1261 * textmodes/enriched.el (enriched-mode): Doc fix.
1262 * emacs-lisp/authors.el (authors-renamed-files-alist):
1263 Add enriched.doc -> enriched.txt.
1264
1265 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1266
1267 2013-11-22 Leo Liu <sdl.web@gmail.com>
1268
1269 * progmodes/octave.el (inferior-octave-startup): Spit out error
1270 message.
1271
1272 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1273
1274 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1275 Improve docstring.
1276 Add :version.
1277 (ruby-encoding-magic-comment-style): Add :version.
1278
1279 2013-11-22 Leo Liu <sdl.web@gmail.com>
1280
1281 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1282 (Bug#15076)
1283 (octave-help-mode): Adapt to change to help-mode-finish to use
1284 derived-mode-p on 2013-09-17.
1285 (inferior-octave-prompt): Also match octave-gui.
1286 (octave-kill-process): Don't ask twice. (Bug#10564)
1287
1288 2013-11-22 Leo Liu <sdl.web@gmail.com>
1289
1290 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1291 (inferior-octave-startup, inferior-octave-check-process)
1292 (inferior-octave-track-window-width-change)
1293 (octave-completion-at-point, octave-eldoc-function): Use it.
1294 (octave-kill-process): Provide confirmation. (Bug#10564)
1295
1296 2013-11-21 Leo Liu <sdl.web@gmail.com>
1297
1298 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1299 Fix obsolete variable comment-use-global-state.
1300
1301 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1302
1303 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1304 Add `octave-source-file'.
1305 (octave-source-file): New function. (Bug#15935)
1306
1307 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1308
1309 * net/eww.el (eww-local-regex): New variable.
1310 (eww): Use it to detect localhost and similar.
1311
1312 2013-11-21 Leo Liu <sdl.web@gmail.com>
1313
1314 Add completion for command `ag'.
1315 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1316 (pcomplete/ag): New function.
1317 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1318
1319 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1322 (bug#14646).
1323 (make-obsolete): Remove interactive spec.
1324
1325 2013-11-21 Glenn Morris <rgm@gnu.org>
1326
1327 * startup.el (command-line-1): Use path-separator with -L.
1328
1329 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1330
1331 * emacs-lisp/package.el (describe-package-1): Add package archive
1332 to shown fields.
1333
1334 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1335
1336 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1337 Change default to "# encoding: %s" to differentiate it from the
1338 default Ruby encoding comment template.
1339
1340 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1341
1342 * ses.el (ses-mode): Doc fix. (Bug#14748)
1343
1344 2013-11-20 Leo Liu <sdl.web@gmail.com>
1345
1346 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1347
1348 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1349
1350 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1351 when rebase or bisect are in progress.
1352
1353 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1354
1355 * filenotify.el (file-notify-add-watch): Doc fix.
1356
1357 2013-11-19 Leo Liu <sdl.web@gmail.com>
1358
1359 * obsolete/rcompile.el: Mark obsolete.
1360
1361 * progmodes/compile.el (compilation-start)
1362 (compilation-goto-locus, compilation-find-file):
1363 Pass no-display-ok and handle nil value from display-buffer.
1364 (Bug#13594)
1365
1366 * window.el (display-buffer-alist, display-buffer): Document the
1367 new parameter no-display-ok. Return either a window or nil
1368 but never a non-window value.
1369
1370 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * electric.el (electric-indent-mode-map): Remove.
1373 (electric-indent-mode): Change the global-map instead (bug#15915).
1374
1375 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1376 Use add-function.
1377
1378 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * emacs-lisp/nadvice.el (remove-function): Align with
1381 add-function's behavior.
1382
1383 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1384 (gdb--string-regexp): New constant.
1385 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1386 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1387 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1388 submatch 1.
1389 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1390 Adjust use accordingly.
1391 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1392
1393 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1394
1395 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1396 interpolation curlies (Bug#15914).
1397
1398 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1399
1400 * calc/calc.el (calc-context-sensitive-enter): New variable.
1401 (calc-enter): Use `calc-context-sensitive-enter'.
1402
1403 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1404
1405 * progmodes/cfengine.el: Version bump.
1406 (cfengine-cf-promises): New defcustom to locate cf-promises.
1407 (cfengine3-vartypes): Add new "data" type.
1408 (cfengine3--current-word): New function to get current name-like
1409 word or its bounds.
1410 (cfengine3--current-function): New function to look up a CFEngine
1411 function's definition.
1412 (cfengine3-format-function-docstring): New function.
1413 (cfengine3-make-syntax-cache): New function.
1414 (cfengine3-documentation-function): New function: ElDoc glue.
1415 (cfengine3-completion-function): New function: completion glue.
1416 (cfengine3-mode): Set `compile-command',
1417 `eldoc-documentation-function', and add to
1418 `completion-at-point-functions'.
1419
1420 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1421
1422 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1423 `tramp-current-connection'.
1424
1425 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1426
1427 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1428 nil/self/true/false with "end of symbol".
1429
1430 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1431
1432 * subr.el (version-regexp-alist): Fix a typo.
1433
1434 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1435
1436 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1437 "en_US.utf8" and "LC_CTYPE" to "".
1438 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1439 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1440
1441 2013-11-15 Leo Liu <sdl.web@gmail.com>
1442
1443 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1444
1445 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * progmodes/gud.el (ctl-x-map):
1448 Remove C-x SPC binding. (Bug#12342)
1449 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1450
1451 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1452
1453 * subr.el (version-regexp-alist):
1454 Recognize hg, svn and darcs versions as snapshot versions.
1455
1456 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1457 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1458 (ruby--encoding-comment-required-p): Extract from
1459 `ruby-mode-set-encoding'.
1460 (ruby-mode-set-encoding): Add the ability to always insert an
1461 utf-8 encoding comment. Fix and simplify coding comment update
1462 logic.
1463
1464 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1465
1466 * net/tramp-gvfs.el (top): Run init code only when
1467 `tramp-gvfs-enabled' is not nil.
1468 (tramp-gvfs-enabled): Check also :system bus.
1469
1470 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 Sync with upstream verilog-mode revision 78e66ba.
1473 * progmodes/verilog-mode.el (verilog-end-of-defun)
1474 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1475 (verilog-get-end-of-defun): Remove unused argument.
1476 (verilog-comment-depth): Remove unused local `e'.
1477 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1478 Don't pass arg to verilog-get-end-of-defun.
1479
1480 2013-11-14 Glenn Morris <rgm@gnu.org>
1481
1482 * obsolete/assoc.el (aget): Prefix dynamic variable.
1483
1484 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1485
1486 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1487
1488 * widget.el, hfy-cmap.el: Remove bogus package version number.
1489
1490 2013-11-13 Glenn Morris <rgm@gnu.org>
1491
1492 * replace.el (replace-eval-replacement):
1493 Try to give more helpful error message. (Bug#15836)
1494
1495 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1496 (archive-7z-update): Avoid custom type mismatches.
1497
1498 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1499
1500 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1501
1502 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1503 address can be empty.
1504
1505 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1506 Accept nil SWITCHES.
1507 (tramp-gvfs-handle-write-region): Implement APPEND.
1508
1509 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1510
1511 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1512 binary "|" operator and closing block args delimiter.
1513 Remove FIXME comment referring to Ruby 1.8-only syntax.
1514 (ruby-smie--implicit-semi-p): Not after "|" operator.
1515 (ruby-smie--closing-pipe-p): New function.
1516 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1517 (ruby-smie-rules): Indent after "|".
1518
1519 2013-11-12 Glenn Morris <rgm@gnu.org>
1520
1521 * ps-print.el (ps-face-attribute-list):
1522 Handle anonymous faces. (Bug#15827)
1523
1524 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1525
1526 * window.el (display-buffer-other-frame): Fix doc-string.
1527 (Bug#15868)
1528
1529 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1532
1533 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1534
1535 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1536 (tramp-sh-handle-file-local-copy): Don't write a message when
1537 saving temporary files.
1538
1539 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1540 both directories are remote.
1541 (tramp-smb-handle-directory-files): Do not return double entries.
1542 Do not expand full file names.
1543 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1544 (tramp-smb-handle-write-region): Implement APPEND.
1545 (tramp-smb-get-stat-capability): Fix a stupid bug.
1546
1547 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1548
1549 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1550
1551 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1552
1553 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1554 throwing error over malformed let/let* (bug#15814).
1555
1556 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * iswitchb.el (iswitchb-mode): Mark obsolete.
1559
1560 2013-11-11 Glenn Morris <rgm@gnu.org>
1561
1562 * international/uni-bidi.el, international/uni-category.el:
1563 * international/uni-name.el, international/uni-numeric.el:
1564 Regenerate for Unicode 6.3.0.
1565
1566 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1567
1568 * net/tramp.el (tramp-methods):
1569 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1570 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1571
1572 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1573
1574 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1575 Force highlighting text after Summary keyword in doc face for rpm.
1576
1577 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1578
1579 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1580 available and the word has no wildcards, append one to the grep pattern.
1581 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1582 (ispell-complete-word): Call `ispell-lookup-words' with the value
1583 independent of `ispell-look-p'.
1584
1585 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1586
1587 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1588 Not after "||".
1589 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1590 their parent.
1591
1592 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1595 (ruby-font-lock-keywords): Use backquote.
1596
1597 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1598
1599 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1600 (ruby-smie--backward-token): Only consider full-string matches.
1601
1602 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1603
1604 * faces.el (describe-face): Add distant-foreground.
1605
1606 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1607
1608 * progmodes/ruby-mode.el: Improve encoding comment handling.
1609 (ruby-encoding-magic-comment-style): New option.
1610 (ruby-custom-encoding-magic-comment-template): New option.
1611 (ruby--insert-coding-comment, ruby--detect-encoding):
1612 New functions extracted from `ruby-mode-set-encoding'.
1613 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1614 to control the style of the auto-inserted encoding comment.
1615
1616 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1617
1618 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1619 Use `smie-backward-sexp' with token argument.
1620
1621 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1622
1623 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1624 Remove instrumentation code.
1625
1626 2013-11-08 Glenn Morris <rgm@gnu.org>
1627
1628 * progmodes/autoconf.el (autoconf-mode):
1629 Tweak comment-start-skip. (Bug#15822)
1630
1631 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1634 at bobp (bug#15826).
1635 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1636
1637 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1638
1639 * man.el (Man-start-calling): New macro, extracted from
1640 Man-getpage-in-background.
1641 (Man-getpage-in-background): Use it.
1642 (Man-update-manpage): New command.
1643 (Man-mode-map): Bind it.
1644
1645 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1646
1647 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1648 of "and", "or", "&&" and "||".
1649 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1650 argument. Prohibit opening curly brace because it could only be a
1651 block opener in that position.
1652 (ruby-smie--forward-token, ruby-smie--backward-token):
1653 Separate "|" from "&" or "*" going after it. That can happen in block
1654 arguments.
1655 (ruby-smie--indent-to-stmt): New function, seeks the end of
1656 previous statement or beginning of buffer.
1657 (ruby-smie-rules): Use it.
1658 (ruby-smie-rules): Check if there's a ":" before a curly block
1659 opener candidate; if there is, it's a hash.
1660
1661 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1664 (cl--block-wrapper): Fix last accidental change.
1665
1666 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1667
1668 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1669 Instrument, in order to hunt failure on hydra.
1670
1671 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1672
1673 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1674 malformed bindings form (bug#15814).
1675
1676 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1677
1678 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1679 "." compared to " @ ". This incidentally fixes some indentation
1680 examples with "do".
1681 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1682 (ruby-smie-grammar): New tokens: "and" and "or".
1683 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1684 Exclude "and" and "or". Remove "do" in order to work around token
1685 priorities.
1686 (ruby-smie-rules): Add all infix tokens. Handle the case of
1687 beginning-of-buffer.
1688
1689 2013-11-06 Glenn Morris <rgm@gnu.org>
1690
1691 * Makefile.in (setwins_almost, setwins_for_subdirs):
1692 Avoid accidental matches.
1693
1694 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1695
1696 * menu-bar.el (popup-menu): Use key-binding.
1697
1698 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1699
1700 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1701 menus, support also the menus produced by minor modes.
1702 (Bug#15817)
1703
1704 2013-11-06 Leo Liu <sdl.web@gmail.com>
1705
1706 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1707 DISTANCE to bound the search. All uses changed. (Bug#15808)
1708
1709 2013-11-06 Glenn Morris <rgm@gnu.org>
1710
1711 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1712 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1713 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1714
1715 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * electric.el (electric-indent-just-newline): New command.
1718 (electric-indent-mode-map): New keymap.
1719 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1720 Re-add :group which weren't redundant.
1721
1722 * electric.el (electric-indent-local-mode): New minor mode.
1723 (electric-indent-functions-without-reindent): New var.
1724 (electric-indent-post-self-insert-function): Use it.
1725 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1726
1727 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1728
1729 * international/quail.el (quail-help): Be more explicit about the
1730 meaning of the labels shown on the keys. (Bug#15800)
1731
1732 * startup.el (normal-top-level): Load the subdirs.el files before
1733 setting the locale environment. (Bug#15805)
1734
1735 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1738 via arguments so as to get the right ones (bug#15418).
1739
1740 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1741
1742 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1743
1744 Fix problems found while writing a test suite.
1745
1746 * net/tramp-compat.el (tramp-compat-load): New defun.
1747 * net/tramp.el (tramp-handle-load): Use it.
1748
1749 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1750 "(numberp ok-if-already-exists)" correctly.
1751
1752 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1753
1754 * international/characters.el (glyphless-char-display-control):
1755 Add usage note.
1756
1757 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1758
1759 * progmodes/python.el (python-mode):
1760 * progmodes/scheme.el (scheme-mode):
1761 * progmodes/prolog.el (prolog-mode):
1762 * progmodes/ruby-mode.el (ruby-mode):
1763 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1764 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1765
1766 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * rect.el (rectangle--highlight-for-redisplay):
1769 * emacs-lisp/smie.el (smie--next-indent-change):
1770 Use buffer-chars-modified-tick.
1771
1772 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1773
1774 * electric.el (electric-indent-post-self-insert-function):
1775 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1776
1777 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1778
1779 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1780
1781 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1782
1783 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1784 (bug#15786).
1785
1786 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1789
1790 * progmodes/python.el: Fix up last change.
1791 (python-shell--save-temp-file): New function.
1792 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1793 `string' comes from the current buffer.
1794 (python-shell-send-string-no-output): Remove `msg' arg.
1795 (python--use-fake-loc): New var.
1796 (python-shell-buffer-substring): Obey it. Try to compensate for the
1797 extra coding line added by python-shell--save-temp-file.
1798 (python-shell-send-region): Use python-shell--save-temp-file and
1799 python-shell-send-file directly. Add `nomain' argument.
1800 (python-shell-send-buffer): Use python-shell-send-region.
1801 (python-electric-pair-string-delimiter): New function.
1802 (python-mode): Use it.
1803
1804 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1805
1806 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1807 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1808 environment and decoding all of the default-directory's to here
1809 from command-line.
1810 (command-line): Decode also argv[0].
1811
1812 * loadup.el: Error out if default-directory is a multibyte string
1813 when we are dumping.
1814
1815 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1816
1817 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1818
1819 * emacs-lisp/package.el (package-menu-mode)
1820 (package-menu--print-info, package-menu--archive-predicate):
1821 Add Archive column to package list.
1822
1823 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1824
1825 Fix problems found while writing a test suite.
1826
1827 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1828 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1829 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1830 to nil when running original file name handler. Otherwise,
1831 there are problems with constructs like "$$FOO".
1832
1833 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1834 for `localname'.
1835
1836 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1837
1838 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1839
1840 * subr.el (version<, version<=, version=):
1841 Update docstrings with information for snapshot versions.
1842
1843 * helpers.el: New library for misc helper functions.
1844 (hash-table-keys): New function returning a list of hash keys.
1845 (hash-table-values): New function returning a list of hash values.
1846
1847 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1848
1849 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1850 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1851
1852 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1853
1854 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1855 checking whether point is after a 1-letter word.
1856
1857 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1858
1859 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1860 Don't infloop when expanding region over `multiline' syntax-type that
1861 begins a line (bug#15778).
1862
1863 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1866 Make it into a proper minor mode.
1867 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1868 (rectangle-mark-mode-map): New keymap.
1869 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1870
1871 2013-11-04 Glenn Morris <rgm@gnu.org>
1872
1873 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1874
1875 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1878 (ruby-smie-rules): Use smie-rule-parent instead.
1879
1880 * emacs-lisp/smie.el (smie-rule-parent): Always call
1881 smie-indent-virtual rather than only for hanging tokens.
1882 (smie--next-indent-change): New helper command.
1883
1884 2013-11-03 Glenn Morris <rgm@gnu.org>
1885
1886 * Makefile.in (abs_srcdir): Remove.
1887 (emacs): Unset EMACSLOADPATH.
1888
1889 2013-11-02 Glenn Morris <rgm@gnu.org>
1890
1891 * Makefile.in (EMACS): Use a relative filename.
1892 (abs_top_builddir): Remove.
1893 (custom-deps, finder-data, autoloads): Use --chdir.
1894
1895 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1896
1897 Use relative filenames in TAGS files.
1898 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1899 (lisptagsfiles4, TAGS): Use relative file names.
1900 (TAGS-LISP): Remove.
1901 (maintainer-clean): No more TAGS-LISP file.
1902
1903 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1904 (lisptagsfiles4): Use absolute filenames again.
1905 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1906 Remove all *loaddefs files, not just the first. Remove esh-groups.
1907 (maintainer-clean): Delete TAGS, TAGS-LISP.
1908
1909 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1910
1911 * emacs-lisp/package.el (package-version-join):
1912 Recognize snapshot versions.
1913
1914 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1915
1916 * subr.el (version-regexp-alist): Add support for snapshot versions.
1917
1918 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1919
1920 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1921 New function, replacement for `smie-rule-parent' for when we want to
1922 skip over our direct parent if it's an assignment token..
1923 (ruby-smie-rules): Use it.
1924
1925 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1926
1927 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1928 unconditionally. Remove now unnecessary forward declarations.
1929 Remove XEmacs-specific setup.
1930 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1931 (ruby-font-lock-syntactic-keywords)
1932 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1933 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1934 (ruby-here-doc-end-syntax): Remove.
1935 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1936 defined as function.
1937
1938 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1939
1940 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1941
1942 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1943
1944 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1945 table and abbrev table, `define-derived-mode' does that for us
1946 anyway.
1947
1948 2013-11-01 Glenn Morris <rgm@gnu.org>
1949
1950 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1951 files is atomic for some time, so no parallel compilation issues).
1952
1953 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1954
1955 * faces.el (face-x-resources): Add :distant-foreground.
1956 (region): Use :distant-foreground for gtk and ns.
1957
1958 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1959
1960 Allow multiple bibliographies when BibLaTeX is used rather than
1961 BibTeX.
1962 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1963 (reftex-locate-bibliography-files): Us it.
1964
1965 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1966
1967 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1968 allow comments in pbm files.
1969
1970 * term/w32-win.el (dynamic-library-alist): Support newer versions
1971 of libjpeg starting with v7: look only for the DLL from the
1972 version against which Emacs was built.
1973 Support versions of libpng beyond 1.4.x.
1974 Support libtiff v4.x.
1975
1976 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1977
1978 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1979 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1980 Add property :safe.
1981 (ruby-deep-arglist): Add property :type.
1982
1983 2013-10-31 Glenn Morris <rgm@gnu.org>
1984
1985 * Makefile.in (custom-deps, finder-data): No need to setq the target
1986 variables, we are in the right directory and the defaults work fine.
1987
1988 2013-10-30 Glenn Morris <rgm@gnu.org>
1989
1990 * Makefile.in (autoloads): Do not use abs_lisp.
1991
1992 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1993 `newline' does not respect `standard-output', so use `princ'.
1994
1995 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1996
1997 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1998 * buff-menu.el (Buffer-menu--unmark): New function.
1999 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2000
2001 2013-10-30 Glenn Morris <rgm@gnu.org>
2002
2003 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2004
2005 * emacs-lisp/package.el (lm-homepage): Declare.
2006
2007 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2008 Fix doc typos.
2009
2010 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2011
2012 * Makefile.in (finder-data, autoloads, update-subdirs)
2013 (compile-main, compile-clean, compile-always, bootstrap-clean):
2014 Check return value of cd.
2015 (compile-calc): Remove.
2016
2017 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2020
2021 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2022 (byte-compile-and-folded): New function.
2023 (=, <, >, <=, >=): Use it.
2024
2025 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2026 (path-separator, null-device, buffer-file-coding-system)
2027 (lpr-headers-switches): Check system-type before modifying them.
2028 (find-buffer-file-type-coding-system): Mark obsolete.
2029 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2030 find-file-not-found-set-buffer-file-coding-system.
2031 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2032 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2033 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2034 (w32-direct-print-region-helper, w32-direct-print-region-function)
2035 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2036 * startup.el (normal-top-level-add-subdirs-to-load-path):
2037 * ps-print.el (ps-print-region-function):
2038 * lpr.el (print-region-function): Use new name.
2039
2040 * subr.el (custom-declare-variable-early): Remove function.
2041 (custom-declare-variable-list): Remove var.
2042 (error, user-error): Remove `while' loop.
2043 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2044 (user-emacs-directory-warning, locate-user-emacs-file):
2045 Move to files.el.
2046 * simple.el (read-quoted-char-radix, read-quoted-char):
2047 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2048 Move from subr.el.
2049 * custom.el (custom-declare-variable-list): Don't process
2050 custom-declare-variable-list.
2051
2052 * progmodes/python.el (python-shell-get-buffer): New function.
2053 (python-shell-get-process): Use it.
2054 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2055 Python which encoding was used. Don't split-string since we only care
2056 about the first line. Return the temp-file, if applicable.
2057 (python-shell-send-region): Tell compile.el how to turn locations in
2058 the temp-file into locations in the source buffer.
2059
2060 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2061
2062 * subr.el (undefined): Add missing behavior from the C code for
2063 unbound keys.
2064
2065 * rect.el: Use lexical-binding. Add new rectangular region support.
2066 (rectangle-mark): New command.
2067 (rectangle--region): New var.
2068 (deactivate-mark-hook): Reset rectangle--region.
2069 (rectangle--extract-region, rectangle--insert-for-yank)
2070 (rectangle--highlight-for-redisplay)
2071 (rectangle--unhighlight-for-redisplay): New functions.
2072 (region-extract-function, redisplay-unhighlight-region-function)
2073 (redisplay-highlight-region-function): Use them to handle
2074 rectangular region.
2075 * simple.el (region-extract-function): New var.
2076 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2077 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2078 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2079 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2080 (redisplay-unhighlight-region-function)
2081 (redisplay-highlight-region-function): New vars.
2082 (redisplay--update-region-highlight): New function.
2083 (pre-redisplay-function): Use it.
2084 (exchange-point-and-mark): Don't deactivate the mark before
2085 reactivate-it anyway.
2086 * comint.el (comint-kill-region): Remove yank-handler argument.
2087 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2088 (delete-char): Remove property, since it's now part of their
2089 default behavior.
2090 (self-insert-iso): Remove property since this command doesn't exist.
2091
2092 * emacs-lisp/package.el (package--download-one-archive)
2093 (describe-package-1): Don't query the user about final newline.
2094
2095 2013-10-29 Daniel Colascione <dancol@dancol.org>
2096
2097 * net/tramp.el (tramp-methods): Document new functionality.
2098 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2099 tramp-hostname-checker if method provides one instead of scanning
2100 argument list for "%h" to decide hostname acceptability.
2101
2102 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2103
2104 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2105 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2106 Handle COPY-CONTENTS. (Bug#15737)
2107
2108 2013-10-28 Daiki Ueno <ueno@gnu.org>
2109
2110 * epa-file.el
2111 (epa-file-cache-passphrase-for-symmetric-encryption):
2112 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2113
2114 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2115
2116 * image.el (defimage):
2117 (image-load-path): Doc fixes.
2118
2119 2013-10-27 Alan Mackenzie <acm@muc.de>
2120
2121 Indent statements in macros following "##" correctly.
2122 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2123 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2124
2125 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2126
2127 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2128
2129 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2130
2131 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2132 after `=' is probably a new expression.
2133
2134 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2135
2136 * man.el (man-imenu-title): New option.
2137 (Man-mode-map): Add menu. (Bug#15722)
2138 (Man-mode): Add imenu to menu.
2139
2140 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2141
2142 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2143 specific in what the first arg can be: a non-keyword word,
2144 string/regexp/percent literal opener, opening paren, or unary
2145 operator followed directly by word.
2146
2147 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2150 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2151 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2152 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2153 Remove vars, they do not apply any more.
2154 (prolog-mode-abbrev-table): Remove redundant declaration.
2155 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2156 (prolog-use-smie): Remove.
2157 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2158 supported by prolog-electric-if-then-else-flag.
2159 (prolog-mode-variables, prolog-menu): Use setq-local.
2160 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2161 Remove binding to `Backspace' since this key doesn't exist anyway.
2162 Remove bindings for electric self-inserting keys.
2163 (prog-mode): Assume it's defined.
2164 (prolog-post-self-insert): New function.
2165 (prolog-mode): Use it.
2166 (prolog-indent-line, prolog-indent-level)
2167 (prolog-find-indent-of-matching-paren)
2168 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2169 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2170 (prolog-goto-next-paren, prolog-in-string-or-comment)
2171 (prolog-tokenize, prolog-inside-mline-comment)
2172 (prolog-find-start-of-mline-comment): Remove functions.
2173 (prolog-find-unmatched-paren, prolog-clause-end)
2174 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2175 (prolog-electric--if-then-else): Rename from
2176 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2177 (prolog-tokenize-searchkey): Remove const.
2178 (prolog-clause-info): Use forward-sexp.
2179 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2180 (prolog-electric-if-then-else): Remove commands.
2181 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2182 for use in post-self-insert-hook.
2183 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2184 for use in post-self-insert-hook.
2185 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2186 for use in post-self-insert-hook.
2187 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2188 adapt it for use in post-self-insert-hook.
2189
2190 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2191
2192 * emacs-lisp/ert.el (ert-run-tests-interactively):
2193 Use `completing-read'. (Bug#9756)
2194
2195 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2196
2197 * simple.el (line-move): Call line-move-1 instead of
2198 line-move-visual when the current window hscroll is zero, but
2199 temporary-goal-column indicates we will need to hscroll as result
2200 of the movement. (Bug#15712)
2201
2202 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2203
2204 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2205 capitalization. Use :visible instead of :active.
2206 Fix `ruby-indent-exp' reference. Add menu items for the generic
2207 commands that are used with SMIE.
2208 (ruby-do-end-to-brace): Insert space after `{'.
2209
2210 2013-10-25 John Anthony <john@jo.hnanthony.com>
2211
2212 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2213
2214 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2215
2216 2013-10-25 Glenn Morris <rgm@gnu.org>
2217
2218 * vc/vc.el (vc-print-log): Don't use a working revision unless
2219 one was explicitly specified. (Bug#15322)
2220
2221 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * subr.el (add-to-list): Preserve return value in compiler-macro
2224 (bug#15692).
2225
2226 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2227
2228 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2229 result. Ask user to retry using '-all' flag. (Bug#15701)
2230
2231 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * emacs-lisp/smie.el: New smie-config system.
2234 (smie-config): New defcustom.
2235 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2236 (smie-config-guess, smie-config-save): New commands.
2237 (smie-config--mode-local, smie-config--buffer-local)
2238 (smie-config--trace, smie-config--modefuns): New vars.
2239 (smie-config--advice, smie-config--mode-hook)
2240 (smie-config--setter, smie-config-local, smie-config--get-trace)
2241 (smie-config--guess-value, smie-config--guess): New functions.
2242 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2243 text properties. Treat "string fence" syntax like string syntax.
2244
2245 * progmodes/sh-script.el (sh-use-smie): Change default.
2246 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2247 (sh-var-value): Simplify by CSE.
2248 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2249 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2250 is used.
2251 (sh-guess-basic-offset): Use cl-incf.
2252 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2253
2254 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2255
2256 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2257 (bug#15699).
2258
2259 2013-10-24 Glenn Morris <rgm@gnu.org>
2260
2261 * Makefile.in (abs_top_srcdir): Remove.
2262 (update-subdirs): Use relative path to update-subdirs.
2263
2264 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2265
2266 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2267 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2268 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2269 Call unmsys--file-name before expand-file-name, not after it.
2270
2271 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2272
2273 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2274 (ert-test-skipped): New error.
2275 (ert-skip, ert-stats-skipped): New defuns.
2276 (ert--skip-unless): New macro.
2277 (ert-test-skipped): New struct.
2278 (ert--run-test-debugger, ert-test-result-type-p)
2279 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2280 (ert--stats-set-test-and-result, ert-char-for-test-result)
2281 (ert-string-for-test-result, ert-run-tests-batch)
2282 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2283 Handle skipped tests. (Bug#9803)
2284
2285 2013-10-24 Glenn Morris <rgm@gnu.org>
2286
2287 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2288
2289 * Makefile.in (abs_top_srcdir): New, set by configure.
2290 (update-subdirs): Correct build-aux location.
2291
2292 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2293
2294 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2295 value, whether we could auto-deduce `backend', or not.
2296
2297 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2298 with parameters" example. Simplify the "is it block or is it
2299 hash" check, but also make it more thorough.
2300
2301 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2302
2303 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2304
2305 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2306
2307 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2308 { if it is hanging.
2309
2310 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2311 :before ";".
2312
2313 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2314
2315 * progmodes/compile.el (compilation-directory-matcher)
2316 (compilation-page-delimiter):
2317 Support GNU Make-4.0 directory quoting. (Bug#15678)
2318
2319 2013-10-23 Leo Liu <sdl.web@gmail.com>
2320
2321 * ido.el (ido-tidy): Handle read-only text.
2322
2323 2013-10-23 Glenn Morris <rgm@gnu.org>
2324
2325 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2326 (emacs, compile, compile-always):
2327 Quote entities that might contain whitespace.
2328 (custom-deps, finder-data, autoloads): Use abs_lisp.
2329 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2330 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2331 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2332
2333 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2334
2335 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2336 Use `following-char'.
2337
2338 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2341 * progmodes/ruby-mode.el (ruby-smie-rules):
2342 Remove corresponding workaround. Fix indentation rule of ";" so it
2343 also applies when ";" is the parent.
2344
2345 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2346
2347 * frame.el (display-screens, display-pixel-height)
2348 (display-pixel-width, display-mm-width, display-backing-store)
2349 (display-save-under, display-planes, display-color-cells)
2350 (display-visual-class, display-monitor-attributes-list):
2351 Mention the optional ‘display’ argument in doc strings.
2352
2353 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2354
2355 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2356 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2357
2358 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2359
2360 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2361 TODO. Add "." after " @ ".
2362 (ruby-smie--at-dot-call): New function. Checks if point at method
2363 call with explicit target.
2364 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2365 to the method name tokens when it precedes them.
2366 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2367 (ruby-smie-rules): Add rule for indentation before and after "."
2368 token.
2369
2370 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * textmodes/remember.el (remember-diary-extract-entries):
2373 Avoid add-to-list.
2374
2375 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2376 an instruction.
2377
2378 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2379
2380 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2381 (ruby-smie--implicit-semi-p): Add new operator chars.
2382
2383 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2384 `smie-down-list'.
2385 (ruby-smie--args-separator-p): Check that there's no newline
2386 between method call and its arguments.
2387
2388 2013-10-20 Alan Mackenzie <acm@muc.de>
2389
2390 Allow comma separated lists after Java "implements".
2391
2392 * progmodes/cc-engine.el (c-backward-over-enum-header):
2393 Parse commas.
2394 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2395 from a "disallowed" list in enum fontification.
2396
2397 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2398
2399 * startup.el (default-frame-background-mode): Remove unused defvar.
2400
2401 * progmodes/verilog-mode.el (verilog-mode): Don't set
2402 comment-indent-function globally.
2403
2404 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2405
2406 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2407 Move Info menu item creation to ns-win.el.
2408
2409 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2410 in menu bar.
2411
2412 * menu-bar.el: Move GNUStep specific menus...
2413
2414 * term/ns-win.el (ns-initialize-window-system): ... to here.
2415
2416 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2417
2418 * simple.el (newline): Only run post-self-insert-hook when
2419 called interactively.
2420
2421 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2422
2423 * icomplete.el (icomplete-with-completion-tables): Add :version.
2424
2425 2013-10-19 Alan Mackenzie <acm@muc.de>
2426
2427 Fix fontification bugs with constructors and const.
2428
2429 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2430 CASE 2) Remove the check for the absence of a suffix construct
2431 after a function declaration with only types (no identifiers) in
2432 the parentheses. Also, accept a function declaration with just a
2433 type inside the parentheses, if this type can be positively
2434 recognised as such, or if a prefix keyword like "explicit" nails
2435 down the construct as a declaration.
2436
2437 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2438
2439 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2440 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2441 the problem whereby selecting a menu item that leads to a
2442 minibuffer prompt moves the cursor out of the minibuffer window,
2443 making it hard to type at the prompt. Suggested by Stefan Monnier
2444 <monnier@iro.umontreal.ca>.
2445
2446 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2447
2448 * menu-bar.el: Don't make Services menu.
2449
2450 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2451
2452 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2453 (ffap-alist): Use ffap-c++-mode for c++-mode.
2454 (ffap-c++-path): New variable.
2455 (ffap-c++-mode): New function.
2456
2457 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2458
2459 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2460
2461 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2462
2463 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2464 introduced on 2013-09-08, which results in an infinite loop
2465 requesting a password.
2466
2467 2013-10-18 Glenn Morris <rgm@gnu.org>
2468
2469 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2470
2471 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2472
2473 Sync with upstream verilog-mode revision 1a6ecec7.
2474 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2475 (verilog-mode-release-date): Remove.
2476 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2477 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2478 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2479 (verilog-auto-tieoff-ignore-regexp)
2480 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2481 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2482 (verilog-signals-with, verilog-dir-cache-preserving)
2483 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2484 Doc fixes.
2485 (verilog-case-fold): New option, to control case folding in
2486 regexp searches, bug597.
2487 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2488 (verilog-string-match-fold, verilog-in-paren-count)
2489 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2490 (verilog-at-close-struct-p): New functions.
2491 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2492 (verilog-forward-sexp, verilog-set-auto-endcomments):
2493 (verilog-leap-to-case-head): Handle "unique0" case.
2494 (verilog-in-constraint-re): New constant.
2495 (verilog-keywords, verilog-type-font-keywords):
2496 Add some SystemVerilog 1800-2012 keywords.
2497 (verilog-label-be): Remove unimplemented argument, bug669.
2498 (verilog-batch-execute-func): When batch expanding clear
2499 create-lockfiles to prevent spurious user locks when a file ends
2500 up not changing.
2501 (verilog-calculate-indent, verilog-calc-1)
2502 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2503 (verilog-do-indent): Fix indentation of nested constraints
2504 and structures.
2505 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2506 (verilog-auto-inst-param): Use verilog-string-match-fold.
2507 (verilog-read-inst-module-matcher):
2508 Fix AUTOINST on gate primitives with #1.
2509 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2510 Reads all user-defined typed variables.
2511 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2512 (verilog-signals-matching-regexp)
2513 (verilog-signals-not-matching-regexp, verilog-auto):
2514 Respect verilog-case-fold.
2515 (verilog-diff-report): Fix line count.
2516 (verilog-auto-assign-modport): Remove unused local `modi'.
2517 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2518 better handle multidimensional arrays.
2519 Fix packed array ports misadding bit index in AUTOINST, bug637.
2520 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2521 to not double-declare existing outputs and inputs, respectively.
2522 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2523 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2524 (verilog-sk-uvm-component): New skeleton.
2525 (verilog-submit-bug-report): Add verilog-case-fold,
2526 remove verilog-mode-release-date.
2527
2528 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2529
2530 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2531 as before.
2532
2533 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2534
2535 * textmodes/remember.el (remember): set buffer-offer-save in
2536 remember buffers (bug#13566).
2537
2538 2013-10-18 Daniel Colascione <dancol@dancol.org>
2539
2540 When evaluating forms in ielm, direct standard output to ielm
2541 buffer. Add new ielm-return-for-effect command. Remove trailing
2542 whitespace throughout.
2543
2544 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2545 (ielm-return-for-effect): New command.
2546 (ielm-send-input): Accept optional `for-effect' parameter.
2547 (ielm-eval-input): Accept optional `for-effect' parameter.
2548 Bind `standard-output' to stream we create using
2549 `ielm-standard-output-impl'. Suppress printing result when
2550 `for-effect'.
2551 (ielm-standard-output-impl): New function.
2552 (inferior-emacs-lisp-mode): Explain new features in documentation.
2553
2554 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2555
2556 Code cleanup.
2557
2558 * net/tramp.el (tramp-debug-message): Do not check for connection
2559 buffer.
2560 (tramp-message): Use "vector" connection property.
2561
2562 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2563 (tramp-equal-remote, tramp-eshell-directory-change)
2564 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2565 (tramp-adb-handle-rename-file)
2566 * net/tramp-cmds.el (tramp-list-remote-buffers)
2567 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2568 * net/tramp-compat.el (tramp-compat-process-running-p)
2569 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2570 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2571 (tramp-gvfs-handle-rename-file)
2572 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2573 (tramp-set-file-uid-gid)
2574 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2575 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2576 of `file-remote-p'.
2577
2578 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2579 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2580 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2581 (tramp-gw-open-network-stream): Suppress unrelated traces.
2582
2583 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2584 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2585 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2586 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2587 connection property.
2588
2589 * net/tramp-cache.el (top): Suppress traces when reading
2590 persistency file.
2591
2592 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2593 Refactor common code. Improve debug message.
2594 (tramp-maybe-open-connection)
2595 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2596 connection buffer too early.
2597
2598 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2599 from `tramp-smb-actions-with-acl'.
2600 (tramp-smb-actions-set-acl): New defconst.
2601 (tramp-smb-handle-copy-directory)
2602 (tramp-smb-action-get-acl): New defun, renamed from
2603 `tramp-smb-action-with-acl'.
2604 (tramp-smb-action-set-acl): New defun.
2605 (tramp-smb-handle-set-file-acl): Rewrite.
2606
2607 2013-10-17 Glenn Morris <rgm@gnu.org>
2608
2609 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2610
2611 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * skeleton.el (skeleton-newline): Remove.
2614 (skeleton-internal-1): Use (insert "\n") instead.
2615
2616 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2617 let-bindings.
2618
2619 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2620 forward-sexp-function while we redo its job (bug#15613).
2621
2622 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2623
2624 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2625 represented by lists.
2626
2627 2013-10-16 Glenn Morris <rgm@gnu.org>
2628
2629 * tmm.el (tmm--history): New dynamic variable.
2630 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2631
2632 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2633
2634 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2635 (tramp-smb-errors): Add error messages.
2636 (tramp-smb-actions-with-acl): New defconst.
2637 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2638 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2639 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2640 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2641 (tramp-smb-get-stat-capability): Fix tests.
2642
2643 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2644
2645 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2646 (bug#15580).
2647
2648 2013-10-16 Glenn Morris <rgm@gnu.org>
2649
2650 * ansi-color.el (ansi-color-drop-regexp):
2651 Add 1J, 1K, 2K. (Bug#15617)
2652
2653 * files.el (hack-local-variables--warned-lexical): New.
2654 (hack-local-variables):
2655 Warn about misplaced lexical-binding. (Bug#15616)
2656
2657 * net/eww.el (eww-render): Always set eww-current-url,
2658 and update header line. (Bug#15622)
2659 (eww-display-html): ... Rather than just doing it here.
2660
2661 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2662
2663 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2664 menu navigations commands.
2665
2666 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2667
2668 * progmodes/subword.el (subword-capitalize): Be careful when
2669 the search for [[:alpha:]] fails (bug#15580).
2670
2671 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2672
2673 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2674 to commands that scroll the menu.
2675
2676 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2677
2678 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2679 Handle methods ending with `?' and `!'.
2680
2681 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2682
2683 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2684 `japanese-cp932' to `cp932' to fix the problem where saving a
2685 source file written in Shift_JIS twice would end up having
2686 `coding: japanese-cp932' which Ruby could not recognize.
2687 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2688 in `ruby-encoding-map'.
2689 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2690 doesn't need to be explicitly declared in magic comment.
2691 (ruby-encoding-map): Add type declaration for better customize UI.
2692
2693 2013-10-13 Glenn Morris <rgm@gnu.org>
2694
2695 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2696 Occur buffers are read-only. http://bugs.debian.org/720775
2697
2698 * emacs-lisp/authors.el (authors-fixed-entries):
2699 Comment out old alpha stuff.
2700
2701 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2702
2703 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2704 to `after-save-hook' instead of `before-save-hook'.
2705 (ruby-mode-set-encoding): Use the value of coding system used to
2706 write the file. Call `basic-save-buffer-1' after modifying the
2707 buffer.
2708
2709 2013-10-13 Alan Mackenzie <acm@muc.de>
2710
2711 Fix indentation/fontification of Java enum with
2712 "implements"/generic.
2713
2714 * progmodes/cc-engine.el (c-backward-over-enum-header):
2715 Extracted from the three other places and enhanced to handle generics.
2716 (c-inside-bracelist-p): Uses new function above.
2717 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2718 function above.
2719 (c-font-lock-enum-tail): Uses new function above.
2720
2721 2013-10-13 Kenichi Handa <handa@gnu.org>
2722
2723 * international/mule-cmds.el (select-safe-coding-system): Remove a
2724 superfluous condition in chekcing whether a coding system is safe
2725 or not.
2726
2727 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2728
2729 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2730
2731 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2732
2733 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2734
2735 2013-10-13 Glenn Morris <rgm@gnu.org>
2736
2737 * menu-bar.el (menu-bar-update-buffers):
2738 Unify Buffers menu prompt string. (Bug#15576)
2739
2740 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2741
2742 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2743 Add some entries.
2744 (authors-fixed-entries): Use accented form of name.
2745
2746 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2749 method calls (bug#15594).
2750 (ruby-smie--args-separator-p): New function.
2751 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2752 recognize paren-free method calls.
2753
2754 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2755 internals of universal-argument.
2756
2757 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2758
2759 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2760 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2761 dropped menu on second mouse click on the menu bar.
2762
2763 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2766 (explicit-shell-file-name): Declare.
2767 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2768 (sh-completion-at-point-function): New function.
2769 (sh-mode): Use it.
2770 (sh-smie--keyword-p): Remove unused argument.
2771 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2772 vars.
2773 (sh-set-shell): Always setup SMIE, even if we use the
2774 old indentation code.
2775
2776 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2777
2778 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2779 cases of ? and =.
2780 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2781 predicate would return nil are almost non-existent.
2782 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2783
2784 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2785 cache also after commands that modify the buffer but don't move
2786 point.
2787
2788 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * env.el (substitute-env-in-file-name): New function.
2791 (substitute-env-vars): Extend the meaning of the optional arg.
2792
2793 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2794
2795 * term/w32-win.el (dynamic-library-alist): Define separate lists
2796 of GIF DLLs for versions before and after 5.0.0 of giflib.
2797 (Bug#15531)
2798
2799 2013-10-10 João Távora <joaotavora@gmail.com>
2800
2801 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2802 not locked, use last revision and current source as
2803 defaults. (Bug#15569)
2804
2805 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2806
2807 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2808 menu-bar is hidden.
2809
2810 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2811
2812 * window.el (pop-to-buffer-same-window): Fix doc-string.
2813 (Bug#15492)
2814
2815 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2818
2819 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2820
2821 * calendar/icalendar.el (icalendar-import-file):
2822 Fix interactive spec. (Bug#15482)
2823
2824 2013-10-10 Glenn Morris <rgm@gnu.org>
2825
2826 * desktop.el (desktop-save): Default to saving in .emacs.d,
2827 since PWD is no longer in desktop-path by default. (Bug#15319)
2828
2829 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2830 now that text mode has a menu with the same entry.
2831 (menu-bar-text-mode-auto-fill): Remove now unused func.
2832 * textmodes/text-mode.el (text-mode-map):
2833 Use auto-fill help text from menu-bar.el.
2834
2835 2013-10-10 John Anthony <john@jo.hnanthony.com>
2836
2837 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2838
2839 2013-10-09 Juri Linkov <juri@jurta.org>
2840
2841 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2842 instead of this-command-keys. Add universal-argument-more and
2843 universal-argument-minus to the list of prefix commands. (Bug#15568)
2844
2845 2013-10-09 Glenn Morris <rgm@gnu.org>
2846
2847 * vc/vc-svn.el (vc-svn-create-repo):
2848 Expand paths in file://... url. (Bug#15446)
2849
2850 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2851 Add some entries.
2852 (authors): Remove unused local variables.
2853
2854 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * profiler.el: Create a more coherent calltree from partial backtraces.
2857 (profiler-format): Hide the tail with `invisible' so that C-s can still
2858 find the hidden elements.
2859 (profiler-calltree-depth): Don't recurse so enthusiastically.
2860 (profiler-function-equal): New hash-table-test.
2861 (profiler-calltree-build-unified): New function.
2862 (profiler-calltree-build): Use it.
2863 (profiler-report-make-name-part): Indent the calltree less.
2864 (profiler-report-mode): Add visibility specs for profiler-format.
2865 (profiler-report-expand-entry, profiler-report-toggle-entry):
2866 Expand the whole subtree when provided with a prefix arg.
2867
2868 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2869
2870 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2871 iuwu-mod token.
2872 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2873 hanging iuwu-mod token.
2874 (ruby-smie--forward-token): Do not include a dot after a token in
2875 that token.
2876 (ruby-smie--backward-token): Likewise.
2877
2878 2013-10-08 Juri Linkov <juri@jurta.org>
2879
2880 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2881 to isearch-other-control-char.
2882 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2883 and isearch-post-command-hook to post-command-hook.
2884 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2885 and isearch-post-command-hook from post-command-hook.
2886 (isearch-unread-key-sequence)
2887 (isearch-reread-key-sequence-naturally)
2888 (isearch-lookup-scroll-key, isearch-other-control-char)
2889 (isearch-other-meta-char): Remove functions.
2890 (isearch-pre-command-hook, isearch-post-command-hook):
2891 New functions based on isearch-other-meta-char rewritten
2892 relying on the new behavior of overriding-terminal-local-map
2893 that does not replace the local keymaps any more. (Bug#15200)
2894
2895 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2896
2897 Support menus on text-mode terminals.
2898 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2899 functionality.
2900
2901 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2902
2903 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2904 Move here from mouse.el.
2905 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2906 and arrow keys.
2907 (tty-menu-navigation-map): New map for TTY menu navigation.
2908
2909 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2910
2911 * frame.el (display-mouse-p): Report text-mode mouse as available
2912 on w32.
2913 (display-popup-menus-p): Report availability if mouse is
2914 available; don't condition on window-system.
2915
2916 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2917 (tty-menu-selected-face): New faces.
2918
2919 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2921 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2922 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2923 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2924 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2925 New constants.
2926 (lisp-mode-variables): New `elisp' argument.
2927 (emacs-lisp-mode): Use it.
2928 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2929 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2930
2931 * indent.el: Use lexical-binding.
2932 (indent-region): Add progress reporter.
2933 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2934 last step.
2935 (indent--next-tab-stop): New function to implement this behavior.
2936 (tab-to-tab-stop, move-to-tab-stop): Use it.
2937
2938 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2939
2940 * indent.el (indent-rigidly--current-indentation): New function.
2941 (indent-rigidly-map): New var.
2942 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2943
2944 2013-10-08 Bastien Guerry <bzg@gnu.org>
2945
2946 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2947
2948 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * progmodes/perl-mode.el: Use lexical-binding.
2951 Remove redundant :group args.
2952 (perl-nochange): Change default to be closer to other major modes's
2953 standard behavior.
2954 (perl-indent-line): Don't consider text on current line as a
2955 valid beginning of function from which to indent.
2956
2957 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2958 with more than one argument (bug#15538).
2959
2960 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2961
2962 * vc/pcvs.el: Use lexical-binding.
2963 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2964 environment of `eval'.
2965 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2966 than a list of expressions. Adjust callers.
2967 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2968
2969 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2970
2971 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2972 case of the dot in a chained method call being on the following line.
2973
2974 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * electric.el (electric-indent-inhibit): New var.
2977 (electric-indent-post-self-insert-function): Use it.
2978 * progmodes/python.el (python-mode): Set it.
2979
2980 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2981 open braces.
2982
2983 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2984
2985 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2986 (css-mode): Use electric-indent-chars.
2987
2988 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2989 (font-lock-beg, font-lock-end): Move before first use.
2990 (nxml-mode): Use syntax-propertize-function.
2991 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2992 (nxml-extend-after-change-region): Remove.
2993 * nxml/xmltok.el: Use lexical-binding.
2994 (xmltok-save): Use `declare'.
2995 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2996 * nxml/nxml-util.el: Use lexical-binding.
2997 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2998 Use `declare'.
2999 * nxml/nxml-ns.el: Use lexical-binding.
3000 (nxml-ns-save): Use `declare'.
3001 (nxml-ns-prefixes-for): Avoid add-to-list.
3002 * nxml/rng-match.el: Use lexical-binding.
3003 (rng--ipattern): Use cl-defstruct.
3004 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3005 (rng-cons-group-after, rng-subst-group-after)
3006 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3007 Use closures instead of `(lambda...).
3008
3009 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3010
3011 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3012 of BEG and END.
3013
3014 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3015 Use `tramp-handle-insert-file-contents'.
3016 (tramp-gvfs-handle-insert-file-contents): Remove function.
3017
3018 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3019 Use `save-restriction' in order to keep markers.
3020
3021 * net/trampver.el: Update release number.
3022
3023 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3024
3025 * progmodes/compile.el (compilation-parse-errors):
3026 Use compilation--put-prop.
3027 (compilation--ensure-parse): Check compilation-multiline.
3028
3029 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3030
3031 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3032 lexical-binding.
3033
3034 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3035
3036 * progmodes/ruby-mode.el: Fix recently added tests.
3037 (ruby-smie-grammar): Add - and +.
3038 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3039 (ruby-smie--backward-id): New functions.
3040 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3041 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3042 any more.
3043
3044 2013-10-07 Leo Liu <sdl.web@gmail.com>
3045
3046 * register.el (register-preview-delay)
3047 (register-preview-functions): New variables.
3048 (register-read-with-preview, register-preview)
3049 (register-describe-oneline): New functions.
3050 (point-to-register, window-configuration-to-register)
3051 (frame-configuration-to-register, jump-to-register)
3052 (number-to-register, view-register, insert-register)
3053 (copy-to-register, append-to-register, prepend-to-register)
3054 (copy-rectangle-to-register): Use register-read-with-preview to
3055 read register. (Bug#15525)
3056
3057 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3058
3059 * net/network-stream.el (network-stream-open-starttls): Don't add
3060 --insecure if it's already present, because that gnutls-cli
3061 rejects getting that parameter twice.
3062
3063 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3064
3065 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3066 keyword, too.
3067
3068 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3069
3070 * newcomment.el (comment-use-global-state): Change default value
3071 to t, mark obsolete (Bug#15251).
3072 (comment-beginning): In addition to `comment-to-syntax', check the
3073 value of `comment-use-global-state'.
3074
3075 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3078 (ruby-comment-column): Follow the global default, by default.
3079 (ruby-smie-grammar): Add assignment syntax.
3080 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3081 open-paren, a comma, or a \.
3082 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3083 and line continuations.
3084 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3085 followed by implicit semi-colons. Add rule for string concatenation
3086 and for indentation at BOB.
3087 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3088
3089 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3090 calling next-sexp, since next-token may have skipped chars which
3091 next-sexp doesn't know should be skipped!
3092
3093 2013-10-05 Leo Liu <sdl.web@gmail.com>
3094
3095 * progmodes/octave.el (octave-send-region):
3096 Call compilation-forget-errors.
3097
3098 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3099
3100 * vc/vc-svn.el (vc-svn-find-admin-dir):
3101 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3102 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3103 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3104 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3105
3106 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3109
3110 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3111
3112 * subr.el (read-passwd): Hide chars even when called within a context
3113 where after-change-functions is disabled (bug#15501).
3114 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3115 until we removed ourself from overriding-terminal-local-map.
3116
3117 2013-10-04 Leo Liu <sdl.web@gmail.com>
3118
3119 * progmodes/octave.el (inferior-octave-mode):
3120 Call compilation-forget-errors.
3121
3122 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3123
3124 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3125
3126 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3127
3128 * net/secrets.el (secrets-create-collection): Add optional
3129 argument ALIAS. Use proper Label keyword. Append ALIAS as
3130 dbus-call-method argument. (Bug#15516)
3131
3132 2013-10-04 Leo Liu <sdl.web@gmail.com>
3133
3134 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3135 (inferior-octave-compilation-font-lock-keywords): New variables.
3136 (compilation-error-regexp-alist)
3137 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3138 (inferior-octave-mode): Use compilation-shell-minor-mode.
3139
3140 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3141
3142 * minibuffer.el (completion--replace): Be careful that `end' might be
3143 a marker.
3144
3145 2013-10-03 Daiki Ueno <ueno@gnu.org>
3146
3147 Add support for package signature checking.
3148 * emacs-lisp/package.el (url-http-file-exists-p)
3149 (epg-make-context, epg-context-set-home-directory)
3150 (epg-verify-string, epg-context-result-for)
3151 (epg-signature-status, epg-signature-to-string)
3152 (epg-check-configuration, epg-configuration)
3153 (epg-import-keys-from-file): Declare.
3154 (package-check-signature): New user option.
3155 (package-unsigned-archives): New user option.
3156 (package-desc): Add `signed' field.
3157 (package-load-descriptor): Set `signed' field if .signed file exists.
3158 (package--archive-file-exists-p): New function.
3159 (package--check-signature): New function.
3160 (package-install-from-archive): Check package signature.
3161 (package--download-one-archive): Check archive signature.
3162 (package-delete): Remove .signed file.
3163 (package-import-keyring): New command.
3164 (package-refresh-contents): Import default keyring.
3165 (package-desc-status): Add "unsigned" status.
3166 (describe-package-1, package-menu--print-info)
3167 (package-menu-mark-delete, package-menu--find-upgrades)
3168 (package-menu--status-predicate): Support "unsigned" status.
3169
3170 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3173 the new compilation scheme using the new byte-codes.
3174
3175 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3176 (byte-pophandler): New byte codes.
3177 (byte-goto-ops): Adjust accordingly.
3178 (byte-compile--use-old-handlers): New var.
3179 (byte-compile-catch): Use new byte codes depending on
3180 byte-compile--use-old-handlers.
3181 (byte-compile-condition-case--old): Rename from
3182 byte-compile-condition-case.
3183 (byte-compile-condition-case--new): New function.
3184 (byte-compile-condition-case): New function that dispatches depending
3185 on byte-compile--use-old-handlers.
3186 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3187 when we can.
3188
3189 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3190 Optimize under `condition-case' and `catch' if
3191 byte-compile--use-old-handlers is nil.
3192 (disassemble-offset): Handle new bytecodes.
3193
3194 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * subr.el (error): Use `declare'.
3197 (decode-char, encode-char): Use advertised-calling-convention instead
3198 of the docstring to discourage use of the `restriction' arg.
3199
3200 2013-10-03 Daiki Ueno <ueno@gnu.org>
3201
3202 * epg.el (epg-verify-file): Add a comment saying that it does not
3203 notify verification error as a return value nor a signal.
3204 (epg-verify-string): Ditto.
3205
3206 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3207
3208 * progmodes/compile.el (compilation-start): Try globbing the arg to
3209 `cd' (bug#15417).
3210
3211 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3212
3213 Sync with Tramp 2.2.8.
3214
3215 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3216 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3217 * net/trampver.el: Update release number.
3218
3219 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3220
3221 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3222 and default-process-coding-system for darwin only.
3223
3224 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3227
3228 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3229
3230 * vc/vc-git.el (vc-git-grep): Disable pager.
3231
3232 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3233
3234 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3235 Use :url instead of :homepage, as per
3236 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3237
3238 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3239 non-nil, use `syntax-ppss' (Bug#15251).
3240
3241 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3242
3243 * progmodes/octave.el (inferior-octave-startup-file):
3244 Prefer ~/.emacs.d/init_octave.m.
3245
3246 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3247
3248 * emacs-lisp/package.el (package-desc-from-define):
3249 Accept additional arguments as plist, convert them to an alist and store
3250 them in the `extras' slot.
3251 (package-generate-description-file): Convert extras alist back to
3252 plist and append to the `define-package' form arguments.
3253 (package--alist-to-plist): New function.
3254 (package--ac-desc): Add `extras' slot.
3255 (package--add-to-archive-contents): Check if the archive-contents
3256 vector is long enough, and if it is, pass its `extras' slot value
3257 to `package-desc-create'.
3258 (package-buffer-info): Call `lm-homepage', pass the returned value
3259 to `package-desc-from-define'.
3260 (describe-package-1): Render the homepage button (Bug#13291).
3261
3262 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3263 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3264
3265 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3266
3267 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3268 and default-process-coding-system to utf-8-unix (Bug#15402).
3269
3270 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3271
3272 * subr.el (looking-back): Do not recommend using looking-back.
3273
3274 2013-09-28 Alan Mackenzie <acm@muc.de>
3275
3276 Fix indentation/fontification of Java enum with "implements".
3277
3278 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3279 regexp which matches "implements", etc., in Java.
3280 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3281 specifier clauses coming after "enum".
3282 * progmodes/cc-fonts.el (c-font-lock-declarations)
3283 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3284 after "enum".
3285
3286 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3287
3288 * faces.el (region): Change ns_selection_color to
3289 ns_selection_fg_color, add ns_selection_bg_color.
3290
3291 2013-09-28 Leo Liu <sdl.web@gmail.com>
3292
3293 * progmodes/octave.el (inferior-octave-completion-table)
3294 (inferior-octave-completion-at-point): Minor tweaks.
3295
3296 * textmodes/ispell.el (ispell-lookup-words): Rename from
3297 lookup-words. (Bug#15460)
3298 (lookup-words): Obsolete.
3299 (ispell-complete-word, ispell-command-loop): All uses changed.
3300
3301 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3302
3303 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3304 (octave-mode-menu): Add octave-send-buffer.
3305 (octave-send-buffer): New function.
3306
3307 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3308
3309 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3310 octave-lookfor.
3311 (octave-mode-menu): Add octave-lookfor.
3312 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3313 octave-lookfor.
3314 (octave-lookfor): New function.
3315
3316 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * emacs-lisp/cl-macs.el:
3319 (cl--loop-destr-temps): Remove.
3320 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3321 its convention.
3322 (cl--loop-set-iterator-function): New function.
3323 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3324 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3325 Bind `it' with `let' instead of substituting it with `cl-subst'.
3326 (cl--unused-var-p): New function.
3327 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3328 Eliminate some unused variable warnings (bug#15326).
3329
3330 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3331
3332 * doc-view.el (doc-view-scale-reset): Rename from
3333 `doc-view-reset-zoom-level'.
3334 (doc-view-scale-adjust): New command.
3335 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3336 `doc-view-scale-adjust'.
3337
3338 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3339
3340 * doc-view.el (doc-view-reset-zoom-level): New command.
3341 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3342 zoom commands (bug#15466).
3343
3344 2013-09-26 Kenichi Handa <handa@gnu.org>
3345
3346 * international/quail.el (quail-help): Make it not a command.
3347
3348 2013-09-26 Leo Liu <sdl.web@gmail.com>
3349
3350 * minibuffer.el (completion-all-sorted-completions): Make args
3351 optional as they are.
3352
3353 2013-09-25 Daniel Colascione <dancol@dancol.org>
3354
3355 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3356 specs are and that they're not evaluated.
3357
3358 2013-09-24 Sam Steingold <sds@gnu.org>
3359
3360 * midnight.el (clean-buffer-list-kill-regexps)
3361 (clean-buffer-list-kill-buffer-names): Update for the new Man
3362 buffer naming which includes the object name.
3363
3364 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3365
3366 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3367 (eshell-parse-command, eshell-parse-pipeline): Use it since
3368 eshell-separate-commands requires a dynamic scoped var.
3369 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3370
3371 2013-09-23 Leo Liu <sdl.web@gmail.com>
3372
3373 * autoinsert.el (auto-insert-alist): Make the value of
3374 lexical-binding match its file setting.
3375
3376 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3377
3378 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3379
3380 * autoarg.el (autoarg-kp-digit-argument):
3381 * electric.el (Electric-command-loop):
3382 * kmacro.el (kmacro-step-edit-insert):
3383 Do not set universal-argument-num-events.
3384
3385 2013-09-22 Leo Liu <sdl.web@gmail.com>
3386
3387 * files.el (interpreter-mode-alist): Add octave.
3388
3389 2013-09-21 Alan Mackenzie <acm@muc.de>
3390
3391 C++: fontify identifier in declaration following "public:" correctly.
3392 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3393 to match "public", etc.
3394 (c-decl-prefix-re): Add ":" into the C++ value.
3395 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3396 bit. Add a check for a ":" preceded by "public", etc.
3397
3398 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3399
3400 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3401 recognized by GDB 7.5 and later.
3402
3403 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3404
3405 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3406
3407 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * subr.el (internal--call-interactively): New const.
3410 (called-interactively-p): Use it (bug#3984).
3411
3412 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3413
3414 * vc/pcvs.el (cvs-mode-ignore):
3415 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3416 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3417
3418 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3421 (eshell-ls-orig-insert-directory): Remove.
3422 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3423 (eshell-ls-use-in-dired): Use advice-add/remove.
3424 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3425 Add `orig-fun' arg for use in :around advice.
3426 Make it check (redundantly) eshell-ls-use-in-dired.
3427
3428 2013-09-19 Glenn Morris <rgm@gnu.org>
3429
3430 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3431
3432 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3433
3434 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3435
3436 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3437
3438 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3439 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3440 (tramp-get-remote-python): New defuns.
3441 (tramp-get-remote-uid-with-perl)
3442 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3443 contributed by yary <not.com@gmail.com> (tiny change).
3444 (tramp-get-remote-uid-with-python)
3445 (tramp-get-remote-gid-with-python): New defuns. Python code
3446 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3447 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3448
3449 2013-09-19 Glenn Morris <rgm@gnu.org>
3450
3451 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3452
3453 * eshell/em-unix.el (eshell-remove-entries):
3454 Rename argument to avoid name-clash with global `top-level'.
3455
3456 * eshell/esh-proc.el (eshell-kill-process-function):
3457 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3458 (eshell-reset-after-proc): Remove unused arg `proc'.
3459
3460 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3461 (directory-files-and-attributes): Mark unused arg.
3462
3463 * eshell/em-unix.el (eshell-remove-entries):
3464 Remove unused arg `path'. Update callers.
3465
3466 * eshell/em-hist.el (eshell-hist-parse-arguments):
3467 Remove unused arg `silent'. Update callers.
3468
3469 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3470 Fix (f)boundp mix-up.
3471
3472 * eshell/em-smart.el (eshell-smart-scroll-window)
3473 (eshell-disable-after-change):
3474 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3475
3476 2013-09-18 Alan Mackenzie <acm@muc.de>
3477
3478 Fix fontification of type when followed by "const".
3479 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3480 "known" types from fontification.
3481
3482 2013-09-18 Glenn Morris <rgm@gnu.org>
3483
3484 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3485 (chart-face-list): Drop Emacsen without display-color-p.
3486
3487 * net/eww.el (libxml-parse-html-region): Declare.
3488 (eww-display-html): Explicit error if no libxml2 support.
3489
3490 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3491
3492 * image.el (image-type-from-buffer, image-multi-frame-p):
3493 Remove --without-x warning/error.
3494
3495 * mouse.el (mouse-yank-primary):
3496 * term.el (term-mouse-paste):
3497 Reorder to silence --without-x compilation.
3498
3499 * mpc.el (doc-view-mode): Silence --without-x compilation.
3500
3501 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3502 Silence --without-x compilation.
3503
3504 * progmodes/gud.el (gud-find-file, gud-mode):
3505 Silence --without-x compilation.
3506 (tooltip-mode): Declare.
3507
3508 * wdired.el (dired-backup-overwrite): Remove declaration.
3509 (wdired-mode-map): Add doc string.
3510
3511 * custom.el (x-get-resource): Declare.
3512
3513 * eshell/em-glob.el (ange-cache):
3514 * eshell/em-unix.el (ange-cache): Declare.
3515
3516 * faces.el (x-display-list, x-open-connection, x-get-resource):
3517 Declare.
3518
3519 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3520 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3521 Declare.
3522
3523 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3524
3525 * net/gnutls.el (gnutls-log-level): Declare.
3526
3527 * net/shr.el (image-size, image-animate): Declare.
3528
3529 * simple.el (font-info): Declare.
3530
3531 * subr.el (x-popup-dialog): Declare.
3532
3533 * term/common-win.el (x-select-enable-primary)
3534 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3535 Declare.
3536
3537 * term/ns-win.el (x-handle-args): Declare.
3538
3539 * term/x-win.el (x-select-enable-clipboard): Declare.
3540
3541 * term/w32-win.el (create-default-fontset): Declare.
3542
3543 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3544 Declare.
3545
3546 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3547 (fit-frame-to-buffer): Explicit error if --without-x.
3548 (mouse-autoselect-window-select): Silence compiler.
3549
3550 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3551
3552 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3553 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3554 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3555 * eshell/esh-util.el (eshell-sublist):
3556 Remove unused local variables.
3557
3558 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3559
3560 * textmodes/two-column.el: Make 2C-split work for --without-x.
3561 (scroll-bar-columns): Autoload.
3562 (top-level): Require fringe when compiling.
3563
3564 2013-09-18 Leo Liu <sdl.web@gmail.com>
3565
3566 * subr.el (add-hook): Robustify to handle closure as well.
3567
3568 2013-09-17 Glenn Morris <rgm@gnu.org>
3569
3570 * simple.el (messages-buffer-mode-map): Unbind "g".
3571
3572 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 * help-mode.el (help-mode-finish): Use derived-mode-p.
3575 Remove obsolete highlighting.
3576
3577 * play/life.el (life-mode): Use define-derived-mode. Derive from
3578 special-mode.
3579 (life): Let-bind inhibit-read-only.
3580 (life-setup): Avoid `setq'. Use `life-mode'.
3581
3582 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3583 which should not be needed any more.
3584 (package-menu-refresh, package-menu-describe-package): Use user-error.
3585
3586 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3587 (eshell-post-rewrite-command-hook): Make obsolete.
3588 (eshell-parse-command): Simplify.
3589 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3590 (eshell--cmd): Declare.
3591 (eshell-parse-pipeline): Remove unused var `final-p'.
3592 Pass a dynvar to eshell-post-rewrite-command-hook.
3593 Implement the new eshell-post-rewrite-command-function.
3594 (eshell-invoke-directly): Remove unused arg `input'.
3595 * eshell/esh-io.el (eshell-io-initialize):
3596 Use eshell-post-rewrite-command-function (bug#15399).
3597 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3598 adjust to new calling convention.
3599 (eshell-create-handles): Rename args to avoid clashing with dynvar
3600 `standard-output'.
3601
3602 2013-09-17 Glenn Morris <rgm@gnu.org>
3603
3604 * simple.el (messages-buffer-mode): New major mode.
3605 (messages-buffer): New function.
3606 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3607 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3608 (ert-run-test): Use `messages-buffer' function.
3609 (ert--force-message-log-buffer-truncation): Ignore read-only.
3610 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3611 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3612
3613 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3616
3617 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3618
3619 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * icomplete.el (icomplete-in-buffer): New var.
3622 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3623 vars and replace them with functions.
3624 (icomplete-minibuffer-setup): Adjust accordingly.
3625 (icomplete--completion-table, icomplete--completion-predicate)
3626 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3627 New functions.
3628 (icomplete-forward-completions, icomplete-backward-completions)
3629 (icomplete-simple-completing-p, icomplete-exhibit)
3630 (icomplete-completions): Use them.
3631 (icomplete--in-region-buffer): New var.
3632 (icomplete--in-region-setup): New function.
3633 (icomplete-mode): Use it.
3634
3635 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3636 (bug#15379).
3637 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3638 return args and options.
3639 (eshell-eval-using-options): Use the new return value of
3640 eshell--do-opts to set the options's vars in their scope.
3641 (eshell--set-option): Rename from eshell-set-option.
3642 Add arg `opt-vals'.
3643 (eshell--process-option): Rename from eshell-process-option.
3644 Add arg `opt-vals'.
3645 (eshell--process-args): Use an `opt-vals' alist to store the options's
3646 values during their processing and return them additionally to the
3647 remaining args.
3648
3649 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3650
3651 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3652 continuation character an operator, as far as indentation is
3653 concerned (Bug#15369).
3654
3655 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3656
3657 * window.el (window--state-put-2): Don't process buffer state
3658 when buffer doesn't exist any more (Bug#15382).
3659
3660 2013-09-15 Glenn Morris <rgm@gnu.org>
3661
3662 * eshell/em-unix.el (eshell/rm):
3663 Make -f ignore missing files. (Bug#15373)
3664
3665 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3666 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3667 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3668
3669 2013-09-14 Glenn Morris <rgm@gnu.org>
3670
3671 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3672
3673 2013-09-13 Glenn Morris <rgm@gnu.org>
3674
3675 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3676 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3677
3678 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3679
3680 * frame.el (x-focus-frame): Mark as declared in frame.c.
3681
3682 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * ls-lisp.el: Use advice-add.
3685 (original-insert-directory): Remove.
3686 (ls-lisp--insert-directory): Rename from insert-directory; add
3687 `orig-fun' argument.
3688 (insert-directory): Advise.
3689
3690 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3691
3692 * term.el (term-emulate-terminal): Decode the command string
3693 before passing it to term-command-hook. (Bug#15337)
3694
3695 2013-09-13 Glenn Morris <rgm@gnu.org>
3696
3697 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3698
3699 * eshell/esh-ext.el (eshell-search-path): Declare.
3700
3701 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3702 Otherwise an error occurs if eshell-dirs module not loaded.
3703
3704 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3705
3706 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3707
3708 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3709 `tramp-check-proper-host'. Check for a valid method name.
3710
3711 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3712 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3713 * net/tramp-sh.el (tramp-maybe-open-connection):
3714 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3715
3716 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3717 also for hash values.
3718
3719 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * term/ns-win.el (parameters): Don't declare as dynamic.
3722 (before-make-frame-hook): Don't add ineffective function.
3723
3724 * eshell/*.el: Use lexical-binding (bug#15231).
3725
3726 2013-09-12 Kenichi Handa <handa@gnu.org>
3727
3728 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3729
3730 2013-09-12 Glenn Morris <rgm@gnu.org>
3731
3732 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3733 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3734
3735 * subr.el (do-after-load-evaluation): Also give compiler warnings
3736 when obsolete files are used (except by obsolete files).
3737
3738 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3739 in the status output, assume `filename' is the first. (Bug#15322)
3740
3741 * vc/vc.el (vc-deduce-fileset): Doc fix.
3742
3743 * calc/calc-help.el (Info-goto-node):
3744 * progmodes/cperl-mode.el (Info-find-node):
3745 * vc/ediff.el (Info-goto-node): Update declarations.
3746
3747 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3748
3749 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3750 (vc-bzr-pull): Require vc-dispatcher.
3751 * vc/vc-git.el (vc-compilation-mode): Declare.
3752 (vc-git-pull): Require vc-dispatcher.
3753
3754 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3755
3756 * progmodes/octave.el (help-button-action): Declare.
3757
3758 * shell.el (shell-directory-tracker): Output error as a message
3759 rather than just returning it as a string.
3760 (shell-process-pushd): Remove useless use of message.
3761
3762 * dframe.el (dframe-timer-fn):
3763 * files.el (dir-locals-read-from-file):
3764 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3765 (mpc-format):
3766 * reveal.el (reveal-post-command):
3767 * saveplace.el (load-save-place-alist-from-file):
3768 * shell.el (shell-resync-dirs):
3769 * w32-common-fns.el (x-get-selection-value):
3770 * emacs-lisp/copyright.el (copyright-find-copyright):
3771 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3772 * emulation/tpu-edt.el (tpu-copy-keyfile):
3773 * play/bubbles.el (bubbles--mark-neighbourhood):
3774 * progmodes/executable.el
3775 (executable-make-buffer-file-executable-if-script-p):
3776 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3777
3778 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 Cleanup Eshell to rely less on dynamic scoping.
3781 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3782 last-value, and ext-command here. Bind `args' closer to `body'.
3783 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3784 (eshell--args): Declare new dynamic var.
3785 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3786 last-value, and ext-command. Pass `args' to `body'.
3787 (eshell-process-args): Bind eshell--args.
3788 (eshell-set-option): Use eshell--args.
3789 * eshell/eshell.el (eshell): Use derived-mode-p.
3790 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3791 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3792 (eshell-glob-function): Declare.
3793 * eshell/esh-util.el: Require cl-lib.
3794 (eshell-read-hosts-file): Avoid add-to-list.
3795 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3796 `err'.
3797 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3798 Declare.
3799 (eshell/diff): Remove unused var `err'.
3800 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3801 `killflag'.
3802 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3803 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3804 first use.
3805 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3806 Move declaration before first use.
3807 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3808 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3809 rely on cl-return.
3810
3811 2013-09-12 Glenn Morris <rgm@gnu.org>
3812
3813 * term/ns-win.el (global-map): Remove binding for ispell-next,
3814 deleted 1999-05-29. (Bug#15357)
3815
3816 2013-09-11 Glenn Morris <rgm@gnu.org>
3817
3818 * echistory.el (electric-command-history): Remove call to deleted func.
3819
3820 * play/landmark.el (landmark-mode): Fix typos.
3821
3822 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3823 Check cvs-sort-ignore-file is bound.
3824
3825 * savehist.el: No need for cl when compiling on Emacs.
3826
3827 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3830 (bug#15338).
3831 (eshell-self-insert-command, eshell-send-invisible):
3832 Remove unused argument.
3833 (eshell-handle-control-codes): Remove unused var `orig'.
3834 Avoid delete-backward-char.
3835
3836 * files.el (set-auto-mode): Simplify a bit further.
3837
3838 2013-09-11 Glenn Morris <rgm@gnu.org>
3839
3840 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3841 (set-auto-mode): Don't regexp-quote elements.
3842 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3843 * progmodes/cc-mode.el (interpreter-mode-alist):
3844 * progmodes/ruby-mode.el (interpreter-mode-alist):
3845 Revert previous change.
3846
3847 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * play/snake.el (snake-mode):
3850 * play/mpuz.el (mpuz-mode):
3851 * play/landmark.el (lm-mode):
3852 * play/blackbox.el (blackbox-mode):
3853 * play/5x5.el (5x5-mode):
3854 * obsolete/options.el (Edit-options-mode):
3855 * net/quickurl.el (quickurl-list-mode):
3856 * net/newst-treeview.el (newsticker-treeview-mode):
3857 * mail/rmailsum.el (rmail-summary-mode):
3858 * mail/mspools.el (mspools-mode):
3859 * locate.el (locate-mode):
3860 * ibuffer.el (ibuffer-mode):
3861 * emulation/ws-mode.el (wordstar-mode):
3862 * emacs-lisp/debug.el (debugger-mode):
3863 * array.el (array-mode):
3864 * net/eudc.el (eudc-mode): Use define-derived-mode.
3865 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3866 Move initialization into declaration.
3867 (mairix-searches-mode): Use define-derived-mode.
3868 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3869 (eudc-edit-hotlist): Use dolist.
3870 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3871 (Man-mode): Use define-derived-mode.
3872 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3873 (Info-edit-mode): Use define-derived-mode.
3874 (Info-cease-edit): Use Info-mode.
3875 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3876 into declaration.
3877 (eshell-mode): Use define-derived-mode.
3878 * chistory.el (command-history-mode-map): Rename from
3879 command-history-map.
3880 (command-history-mode): Use define-derived-mode.
3881 (Command-history-setup): Remove function.
3882 * calc/calc.el (calc-trail-mode-map): New var.
3883 (calc-trail-mode): Use define-derived-mode.
3884 (calc-trail-buffer): Set calc-main-buffer manually.
3885 * bookmark.el (bookmark-insert-annotation): New function.
3886 (bookmark-edit-annotation): Use it.
3887 (bookmark-edit-annotation-mode): Make it a proper major mode.
3888 (bookmark-send-edited-annotation): Use derived-mode-p.
3889 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3890 closer to its ideal place. Use \' to match EOS.
3891
3892 * profiler.el (profiler-calltree-find): Use function-equal.
3893
3894 2013-09-10 Glenn Morris <rgm@gnu.org>
3895
3896 * files.el (interpreter-mode-alist): Convert to regexps.
3897 (set-auto-mode): Adapt for this. (Bug#15306)
3898 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3899 Comment out unused variable.
3900 * progmodes/cc-mode.el (interpreter-mode-alist):
3901 * progmodes/python.el (interpreter-mode-alist):
3902 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3903 * progmodes/sh-script.el (sh-set-shell):
3904 No longer use interpreter-mode-alist to get list of shells.
3905
3906 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3907
3908 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * simple.el: Use set-temporary-overlay-map for universal-argument.
3911 (universal-argument-map): Don't use default-bindings (bug#15317).
3912 Bind switch-frame explicitly. Replace universal-argument-minus with
3913 a conditional binding.
3914 (universal-argument-num-events, saved-overriding-map): Remove.
3915 (restore-overriding-map): Remove.
3916 (universal-argument--mode): Rename from save&set-overriding-map,
3917 and rewrite.
3918 (universal-argument, universal-argument-more, negative-argument)
3919 (digit-argument): Adjust accordingly.
3920 (universal-argument-minus): Remove.
3921 (universal-argument-other-key): Remove.
3922
3923 * subr.el (with-demoted-errors): Add `format' argument.
3924
3925 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3926
3927 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3928 `tramp-cleanup-connection'.
3929
3930 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3931 parameters KEEP-DEBUG and KEEP-PASSWORD.
3932
3933 * net/tramp.el (tramp-file-name-handler):
3934 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3935 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3936 (tramp-maybe-open-connection):
3937 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3938 Use `tramp-cleanup-connection'.
3939
3940 * net/tramp-sh.el (tramp-maybe-open-connection):
3941 Catch 'uname-changed inside the progress reporter.
3942
3943 2013-09-10 Glenn Morris <rgm@gnu.org>
3944
3945 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3946
3947 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3948 returns "alternate access method" in mode (eg "-rw-r--r--.").
3949
3950 2013-09-08 Glenn Morris <rgm@gnu.org>
3951
3952 * saveplace.el (load-save-place-alist-from-file):
3953 Demote errors. (Bug#15305)
3954
3955 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3956
3957 Improve compatibility with older Emacsen, and XEmacs.
3958
3959 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3960 only if it is bound. It isn't for XEmacs.
3961 (with-tramp-progress-reporter): Do not let-bind `result'.
3962 This yields to scoping errors in XEmacs.
3963 (tramp-handle-make-auto-save-file-name): New function, moved from
3964 tramp-sh.el.
3965
3966 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3967 for `make-auto-save-file-name'.
3968 (tramp-adb--gnu-switches-to-ash):
3969 Use `tramp-compat-replace-regexp-in-string'.
3970
3971 * net/tramp-cache.el (tramp-cache-print): Call
3972 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3973
3974 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3975 bound. It isn't for XEmacs.
3976
3977 * net/tramp-compat.el (tramp-compat-copy-file):
3978 Catch `wrong-number-of-arguments' error.
3979 (tramp-compat-replace-regexp-in-string): New defun.
3980
3981 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3982 for `make-auto-save-file-name'.
3983 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3984 `copy-file'.
3985 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3986 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3987 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3988
3989 * net/tramp-gw.el (tramp-gw-open-network-stream):
3990 Use `tramp-compat-replace-regexp-in-string'.
3991
3992 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3993 Call `tramp-handle-make-auto-save-file-name'.
3994 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3995 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3996 (tramp-sh-file-inotifywait-process-filter):
3997 Use `tramp-compat-replace-regexp-in-string'.
3998 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3999
4000 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4001 for `make-auto-save-file-name'.
4002 (tramp-smb-handle-copy-directory):
4003 Call `tramp-compat-replace-regexp-in-string'.
4004 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4005 (tramp-smb-handle-copy-file): Improve error message.
4006 (tramp-smb-handle-rename-file): Rename directly only in case
4007 `newname' does not exist yet. This is a restriction of smbclient.
4008 (tramp-smb-maybe-open-connection): Rerun the function only when
4009 `auth-sources' is non-nil.
4010
4011 2013-09-08 Kenichi Handa <handa@gnu.org>
4012
4013 * international/characters.el: Set category "^" (Combining) for
4014 more characters.
4015
4016 2013-09-07 Alan Mackenzie <acm@muc.de>
4017
4018 Correctly fontify Java class constructors.
4019 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4020 in Java Mode.
4021 (c-recognize-typeless-decls): Set the Java value to t.
4022 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4023 While handling a "(", add a check for, effectively, Java, and handle a
4024 "typeless" declaration there.
4025
4026 2013-09-07 Roland Winkler <winkler@gnu.org>
4027
4028 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4029 field subtitle for entry type book.
4030
4031 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 * minibuffer.el: Make minibuffer-complete call completion-in-region
4034 rather than other way around.
4035 (completion--some, completion-pcm--find-all-completions):
4036 Don't delay signals when debugging.
4037 (minibuffer-completion-contents): Beware fields within the
4038 minibuffer contents.
4039 (completion-all-sorted-completions): Use defvar-local.
4040 (completion--do-completion, completion--cache-all-sorted-completions)
4041 (completion-all-sorted-completions, minibuffer-force-complete):
4042 Add args `beg' and `end'.
4043 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4044 (minibuffer-complete): Use completion-in-region.
4045 (completion-complete-and-exit): New fun, extracted from
4046 minibuffer-complete-and-exit.
4047 (minibuffer-complete-and-exit): Use it.
4048 (completion--complete-and-exit): Rename from
4049 minibuffer--complete-and-exit.
4050 (completion-in-region--single-word): New function, extracted from
4051 minibuffer-complete-word.
4052 (minibuffer-complete-word): Use it.
4053 (display-completion-list): Make `common-substring' argument obsolete.
4054 (completion--in-region): Call completion--in-region-1 instead of
4055 minibuffer-complete.
4056 (completion-help-at-point): Pass boundaries to
4057 minibuffer-completion-help as args rather than via an overlay.
4058 (completion-pcm--string->pattern): Use `any-delim'.
4059 (completion-pcm--optimize-pattern): New function.
4060 (completion-pcm--pattern->regex): Handle `any-delim'.
4061 * icomplete.el (icomplete-forward-completions)
4062 (icomplete-backward-completions, icomplete-completions):
4063 Adjust calls to completion-all-sorted-completions and
4064 completion--cache-all-sorted-completions.
4065 (icomplete-with-completion-tables): Default to t.
4066 * emacs-lisp/crm.el (crm--current-element): Rename from
4067 crm--select-current-element. Don't put an overlay but return the
4068 boundaries instead.
4069 (crm--completion-command): Take two new args to bind to the boundaries.
4070 (crm-completion-help): Adjust accordingly.
4071 (crm-complete): Use completion-in-region.
4072 (crm-complete-word): Use completion-in-region--single-word.
4073 (crm-complete-and-exit): Use completion-complete-and-exit.
4074
4075 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4076
4077 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4078 than dynamically.
4079
4080 2013-09-06 Juri Linkov <juri@jurta.org>
4081
4082 * info.el (Info-display-images-node): When image file doesn't exist
4083 display text version of the image if it's provided in the Info file.
4084 Otherwise, display the location of missing image from SRC attribute.
4085 Add help-echo text property from ALT attribute. (Bug#15279)
4086
4087 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4090 (edit-abbrevs-mode): Use define-derived-mode.
4091
4092 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4093 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4094 that it's defined.
4095 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4096 Use define-derived-mode.
4097
4098 * epg.el (epg-start-encrypt): Minor CSE simplification.
4099
4100 2013-09-06 William Xu <william.xwl@gmail.com>
4101
4102 * arc-mode.el: Add support for 7za (bug#15264).
4103 (archive-7z-program): New var.
4104 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4105 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4106 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4107
4108 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4109
4110 Remove URL syntax.
4111
4112 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4113 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4114 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4115 (tramp-postfix-host-format, tramp-file-name-regexp)
4116 (tramp-completion-file-name-regexp)
4117 (tramp-completion-dissect-file-name)
4118 (tramp-handle-substitute-in-file-name): Remove 'url case.
4119 (tramp-file-name-regexp-url)
4120 (tramp-completion-file-name-regexp-url): Remove constants.
4121
4122 2013-09-06 Glenn Morris <rgm@gnu.org>
4123
4124 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4125
4126 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4127
4128 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4129 keywords" below "here-doc beginnings" (Bug#15270).
4130
4131 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * subr.el (pop): Use `car-safe'.
4134 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4135 to detect unused `pop' return value.
4136
4137 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4138 var `block-regexp'.
4139 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4140 (python-fill-string): Remove unused var `marker'.
4141 (python-skeleton-add-menu-items): Remove unused var `items'.
4142
4143 * international/mule-cmds.el: Require CL.
4144 (find-coding-systems-for-charsets): Avoid add-to-list.
4145 (sanitize-coding-system-list): New function, extracted from
4146 select-safe-coding-system-interactively.
4147 (select-safe-coding-system-interactively): Use it.
4148 (read-input-method-name): Accept symbols for `default'.
4149
4150 * emacs-lisp/advice.el (defadvice): Add indent rule.
4151
4152 2013-09-05 Daniel Hackney <dan@haxney.org>
4153
4154 * dired-x.el:
4155 * net/ange-ftp.el:
4156 * net/browse-url.el:
4157 * net/dbus.el:
4158 * net/eudc.el:
4159 * net/eudcb-ldap.el:
4160 * net/eww.el:
4161 * net/imap.el:
4162 * printing.el:
4163 * vc/ediff-diff.el:
4164 * vc/ediff-init.el:
4165 * vc/ediff-merg.el:
4166 * vc/ediff-mult.el:
4167 * vc/ediff-util.el:
4168 * vc/ediff-wind.el:
4169 * vc/ediff.el:
4170 * vc/emerge.el:
4171 * vc/pcvs.el:
4172 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4173 byte compiler. Remove some unused let-bound variables.
4174
4175 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4178 a "ref-cell", since it gets better optimized (bug#14883).
4179
4180 2013-09-05 Glenn Morris <rgm@gnu.org>
4181
4182 * progmodes/cc-awk.el (c-forward-sws): Declare.
4183
4184 2013-09-04 Glenn Morris <rgm@gnu.org>
4185
4186 * generic-x.el [rul-generic-mode]: Require cc-mode.
4187 (c++-mode-syntax-table): Declare.
4188 (rul-generic-mode-syntax-table): Init in the defvar.
4189
4190 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4193 (vc-do-command, vc-set-async-update):
4194 * vc/vc-mtn.el (vc-mtn-dir-status):
4195 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4196 (vc-hg-pull, vc-hg-merge-branch):
4197 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4198 (vc-git-merge-branch):
4199 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4200 (vc-cvs-dir-status-files):
4201 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4202 (vc-bzr-dir-status-files):
4203 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4204 * vc/vc-annotate.el: Use lexical-binding.
4205 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4206 (vc-sentinel-movepoint): Declare.
4207 (vc-annotate): Don't use `goto-line'.
4208 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4209 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4210 (vc-sentinel-movepoint): Declare.
4211 * vc/vc-svn.el: Use lexical-binding.
4212 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4213 * vc/vc-sccs.el:
4214 * vc/vc-rcs.el: Use lexical-binding.
4215
4216 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4217 `deleted'. Don't drop errors silently.
4218
4219 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4220
4221 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4222
4223 * vc/vc.el (vc-ignore): Rewrite.
4224 (vc-default-ignore): New function.
4225 (vc-default-ignore-completion-table): Use find-ignore-file.
4226
4227 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4228 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4229 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4230 Remove. Most code moved to vc.el.
4231
4232 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4235 * net/tramp-smb.el (tramp-smb-get-file-entries):
4236 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4237 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4238
4239 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4240 Update call to it.
4241 (eww-change-select): Remove unused var `properties'.
4242 (eww-make-unique-file-name): Remove unused var `base'.
4243
4244 * finder.el (finder-compile-keywords): Don't mess with windows.
4245
4246 * calculator.el (calculator-funcall): Fix typo in last change.
4247
4248 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4249
4250 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4251 <pkg>-autoloads.el file stop us.
4252
4253 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4254 warnings, and factor out common code.
4255
4256 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4257
4258 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4259 two-character operators and whether the character preceding them
4260 changes their meaning (Bug#15208).
4261
4262 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4263
4264 Format code sent to Python shell for robustness.
4265 * progmodes/python.el (python-shell-buffer-substring):
4266 New function.
4267 (python-shell-send-region, python-shell-send-buffer): Use it.
4268
4269 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4270
4271 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4272 * net/tramp.el (tramp-user-error): ... here.
4273 (tramp-find-method, tramp-check-proper-host)
4274 (tramp-dissect-file-name, tramp-debug-message)
4275 (tramp-handle-shell-command):
4276 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4277 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4278
4279 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4280
4281 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4282
4283 * avoid.el (mouse-avoidance-point-position)
4284 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4285 returns nil.
4286
4287 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4288
4289 * progmodes/python.el (python-shell-completion-get-completions):
4290 Drop use of deleted `comint-last-prompt-overlay'.
4291 (python-nav-if-name-main): New command.
4292
4293 2013-09-01 Glenn Morris <rgm@gnu.org>
4294
4295 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4296 Avoid leading space in $wins. Otherwise the sed command used by
4297 eg compile-main ends up containing "/*.el". (Bug#15170)
4298
4299 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4300
4301 2013-08-30 Glenn Morris <rgm@gnu.org>
4302
4303 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4304 Fix is-this-a-directory logic. (Bug#15220)
4305
4306 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * textmodes/css-mode.el: Use SMIE.
4309 (css-smie-grammar): New var.
4310 (css-smie--forward-token, css-smie--backward-token)
4311 (css-smie-rules): New functions.
4312 (css-mode): Use them.
4313 (css-navigation-syntax-table): Remove var.
4314 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4315 (css-indent-calculate, css-indent-line): Remove functions.
4316
4317 Misc changes to reduce use of `(lambda...); and other cleanups.
4318 * cus-edit.el: Use lexical-binding.
4319 (customize-push-and-save, customize-apropos)
4320 (custom-buffer-create-internal): Use closures.
4321 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4322 * progmodes/ada-xref.el: Use setq.
4323 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4324 * dframe.el: Use lexical-binding.
4325 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4326 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4327 * descr-text.el: Use lexical-binding.
4328 (describe-text-widget, describe-text-sexp, describe-property-list):
4329 Use closures.
4330 * comint.el (comint-history-isearch-push-state): Use a closure.
4331 * calculator.el: Use lexical-binding.
4332 (calculator-number-to-string): Make it work with lexical-binding.
4333 (calculator-funcall): Same and use cl-letf.
4334
4335 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4336 (lisp--company-doc-string, lisp--company-location): New functions.
4337 (lisp-completion-at-point): Use them to improve Company support.
4338
4339 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4340 params of lambda expressions.
4341 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4342 (ruby-smie--opening-pipe-p): New function.
4343 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4344 symbols and matched |...| for formal params.
4345 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4346 from being treated as hanging. Handle "rescue".
4347
4348 2013-08-29 Glenn Morris <rgm@gnu.org>
4349
4350 * progmodes/cc-engine.el (c-pull-open-brace):
4351 Move definition before use.
4352
4353 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4354
4355 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4356 are immutable. Don't use `unsafe' any more.
4357 (cl--defsubst-expand): Don't substitute at the same time as keeping
4358 a residual unused let-binding. Don't use `unsafe' any more.
4359
4360 2013-08-29 Glenn Morris <rgm@gnu.org>
4361
4362 * calendar/cal-china.el (calendar-chinese-year-cache):
4363 Recenter on 2015.
4364
4365 * nxml/nxml-util.el (nxml-debug-clear-inside):
4366 Use cl-loop rather than loop.
4367
4368 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4369
4370 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4371
4372 2013-08-28 Glenn Morris <rgm@gnu.org>
4373
4374 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4375
4376 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4377
4378 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4379
4380 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4381
4382 * simple.el (repeat-complex-command--called-interactively-skip):
4383 New function.
4384 (repeat-complex-command): Use it (bug#14136).
4385
4386 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4387 (c-define-abbrev-table): Add `doc' argument.
4388 (c-mode-abbrev-table, c++-mode-abbrev-table)
4389 (objc-mode-abbrev-table, java-mode-abbrev-table)
4390 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4391 (awk-mode-abbrev-table): Use it.
4392 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4393 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4394 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4395 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4396 Move initialization into the declaration; and remove any
4397 autoload cookie.
4398
4399 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4400 and dynamic let binding.
4401
4402 * vc/smerge-mode.el: Remove redundant :group args.
4403
4404 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4405 to load-path.
4406
4407 2013-08-28 Juri Linkov <juri@jurta.org>
4408
4409 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4410 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4411 (isearch-other-meta-char): Handle an undefined shifted printing
4412 character by downshifting it. (Bug#15200)
4413
4414 2013-08-28 Juri Linkov <juri@jurta.org>
4415
4416 * isearch.el (isearch-search): Change regexp error message for
4417 non-regexp searches. (Bug#15166)
4418
4419 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4420
4421 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4422 for portability to hosts where /bin/sh has problems.
4423
4424 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4425
4426 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4427
4428 2013-08-27 Juri Linkov <juri@jurta.org>
4429
4430 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4431 in the keyboard macro. (Bug#15126)
4432
4433 2013-08-27 Juri Linkov <juri@jurta.org>
4434
4435 * isearch.el (isearch-quote-char): Comment out converting unibyte
4436 to multibyte, thus syncing with its `quoted-insert' counterpart.
4437 (Bug#15166)
4438
4439 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4440
4441 * window.el (display-buffer-use-some-window): Add missing
4442 argument in call of get-largest-window (Bug#15185).
4443 Reported by Stephen Leake.
4444
4445 2013-08-27 Glenn Morris <rgm@gnu.org>
4446
4447 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4448
4449 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4452 from a matcher-function unless there's no more matches (bug#15161).
4453
4454 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4455
4456 * minibuffer.el: Revert change from 2013-08-20.
4457
4458 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4459 with text property `tramp-default', if appropriate.
4460 (tramp-check-proper-host): New defun.
4461 (tramp-dissect-file-name): Do not check hostname. Revert change
4462 of 2013-03-18.
4463 (tramp-backtrace): Make VEC-OR-PROC optional.
4464
4465 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4466 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4467 * net/tramp-sh.el (tramp-maybe-open-connection):
4468 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4469 Apply `tramp-check-proper-host'.
4470
4471 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4472
4473 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4474 lambda expression in order to have `describe-variable' display it.
4475
4476 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4477
4478 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4479 BUF can be optional. (Bug#15186)
4480
4481 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4482
4483 * progmodes/flymake.el (flymake-get-real-file-name-function):
4484 Fix broken customization. (Bug#15184)
4485
4486 2013-08-25 Alan Mackenzie <acm@muc.de>
4487
4488 Improve indentation of bracelists defined by macros (without "=").
4489
4490 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4491 expansion begins with "{", regard it as bracelist when it doesn't
4492 contain a ";".
4493
4494 Parse C++ inher-intro when there's a template split over 2 lines.
4495
4496 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4497 rigorously the search for "class" etc. followed by ":".
4498
4499 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4500 random languages a regexp which never matches rather than nil.
4501
4502 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4503
4504 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4505 (c-awk-regexp-one-line-possibly-open-char-list-re)
4506 (c-awk-one-line-possibly-open-regexp-re)
4507 (c-awk-one-line-non-syn-ws*-re): Remove.
4508 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4509 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4510 (c-awk-space*-unclosed-regexp-/-re): New constants.
4511 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4512 aren't regexp delimiters.
4513
4514 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4515 handling for a rare situation in AWK Mode involving unterminated
4516 strings/regexps.
4517
4518 2013-08-23 Glenn Morris <rgm@gnu.org>
4519
4520 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4521
4522 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4523
4524 * files.el (create-file-buffer): If the result would begin with
4525 spaces, prepend a "|" instead of removing them. (Bug#15162)
4526
4527 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4528
4529 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4530 text-properties (bug#15155).
4531
4532 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4533 exist any more.
4534 (calc-keypad-redraw): Remove unused var `pad'.
4535 (calc-keypad-press): Remove unused var `menu'.
4536
4537 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4538
4539 * window.el (display-buffer-pop-up-frame):
4540 Call pop-up-frame-function with BUFFER current so `make-frame' will
4541 use it as the new frame's buffer (Bug#15133).
4542
4543 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * calendar/timeclock.el: Minor cleanups.
4546 (timeclock-ask-before-exiting, timeclock-use-display-time):
4547 Use `symbol'.
4548 (timeclock-modeline-display): Define as alias before the
4549 actual definition.
4550 (timeclock-mode-line-display): Use define-minor-mode.
4551 (timeclock-day-list-template): Make it a function, add an argument.
4552 (timeclock-day-list-required, timeclock-day-list-length)
4553 (timeclock-day-list-debt, timeclock-day-list-span)
4554 (timeclock-day-list-break): Adjust calls accordingly.
4555
4556 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4557
4558 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4559 Use read--expression so that completion works again.
4560
4561 2013-08-21 Sam Steingold <sds@gnu.org>
4562
4563 Add rudimentary inferior shell interaction
4564 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4565 (sh-set-shell): Reset it.
4566 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4567 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4568
4569 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * align.el: Use lexical-binding.
4572 (align-region): Simplify accordingly.
4573
4574 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4575
4576 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4577
4578 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4579 `non-essential' up.
4580
4581 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4582
4583 * net/tramp.el:
4584 * net/tramp-adb.el:
4585 * net/tramp-cmds.el:
4586 * net/tramp-ftp.el:
4587 * net/tramp-gvfs.el:
4588 * net/tramp-gw.el:
4589 * net/tramp-sh.el: Don't wrap external variable declarations by
4590 `eval-when-compile'.
4591
4592 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4593
4594 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4595 now that Emacs supports ImageMagick animations.
4596
4597 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4598
4599 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4600 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4601
4602 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4603
4604 * window.el (mouse-autoselect-window-select): Do autoselect when
4605 mouse pointer is on margin.
4606
4607 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4608
4609 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4610
4611 2013-08-16 Glenn Morris <rgm@gnu.org>
4612
4613 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4614 Handle "Remote Directory" response of some clients. (Bug#15058)
4615
4616 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4617 Tweak warning. (Bug#14926)
4618
4619 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4620 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4621
4622 * image-mode.el (image-mode-map): Add menu items to reverse,
4623 increase, decrease, reset animation speed.
4624 (image--set-speed, image-increase-speed, image-decrease-speed)
4625 (image-reverse-speed, image-reset-speed): New functions.
4626 (image-mode-map): Add bindings for speed commands.
4627
4628 * image.el (image-animate-get-speed, image-animate-set-speed):
4629 New functions.
4630 (image-animate-timeout): Respect image :speed property.
4631
4632 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4635 previous line (bug#15101).
4636 (debugger-eval-expression, debugger-record-expression):
4637 Use read--expression (bug#15102).
4638
4639 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4640
4641 Remove byte compiler warnings, visible when compiling with
4642 `byte-compile-force-lexical-warnings' set to t.
4643
4644 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4645 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4646 (tramp-handle-unhandled-file-name-directory)
4647 (tramp-handle-file-notify-add-watch, tramp-action-login)
4648 (tramp-action-succeed, tramp-action-permission-denied)
4649 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4650 arguments with "_".
4651
4652 * net/tramp-adb.el (tramp-adb-parse-device-names)
4653 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4654 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4655 (tramp-adb-handle-file-truename): Remove unused arguments.
4656
4657 * net/tramp-cache.el (tramp-flush-directory-property)
4658 (tramp-flush-connection-property, tramp-list-connections)
4659 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4660
4661 * net/tramp-compat.el (tramp-compat-make-temp-file):
4662 Rename FILENAME to F.
4663
4664 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4665 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4666 (tramp-zeroconf-parse-workstation-device-names)
4667 (tramp-zeroconf-parse-webdav-device-names)
4668 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4669
4670 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4671 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4672
4673 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4674 arguments.
4675 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4676 (tramp-sh-handle-insert-file-contents-literally)
4677 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4678 with "_".
4679 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4680 Remove unused variables.
4681
4682 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4683 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4684 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4685
4686 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4687 Make them a defconst.
4688 (tramp-uuencode-region): Remove unused variable.
4689
4690 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4691
4692 * frameset.el (frameset--prop-setter): New function.
4693 (frameset-prop): Add gv-setter declaration.
4694 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4695 parameter was already set in FILTERED. Doc fix.
4696 (frameset--record-minibuffer-relationships): Allow saving a
4697 minibufferless frame without its corresponding minibuffer frame.
4698 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4699 frame, if the frame id matches.
4700 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4701 frames before orphaned ones.
4702 (frameset-restore): Warn about orphaned windows, instead of error out.
4703
4704 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4705
4706 * window.el (window-make-atom): Don't overwrite parameter
4707 already present.
4708 (display-buffer-in-atom-window): Handle special case where we
4709 split an already atomic window.
4710 (window--major-non-side-window, display-buffer-in-side-window)
4711 (window--side-check): Ignore minibuffer window when walking
4712 window tree.
4713 (window-deletable-p): Return 'frame only if no other frame uses
4714 our minibuffer window.
4715 (record-window-buffer): Run buffer-list-update-hook.
4716 (split-window): Make sure window--check-frame won't destroy an
4717 existing atomic window in case the new window gets nested
4718 inside.
4719 (display-buffer-at-bottom): Ignore minibuffer window when
4720 walking window tree. Don't split a side window.
4721 (pop-to-buffer): Don't set-buffer here, the select-window call
4722 should do that.
4723 (mouse-autoselect-window-select): Autoselect only if we are in the
4724 text portion of the window.
4725
4726 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4727
4728 * net/shr.el (shr-parse-image-data): New function to grab both the
4729 data itself and the Content-Type.
4730 (shr-put-image): Use it.
4731
4732 * net/eww.el (eww-display-image): Ditto.
4733
4734 * image.el (image-content-type-suffixes): New variable.
4735
4736 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4737
4738 * progmodes/python.el (python-imenu--build-tree)
4739 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4740
4741 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4742
4743 * simple.el (backward-word): Mention the optional argument.
4744
4745 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * frameset.el (frameset--make): Rename constructor from make-frameset.
4748 (frameset-p, frameset-valid-p): Don't autoload.
4749 (frameset-valid-p): Use normal accessors.
4750
4751 2013-08-13 Glenn Morris <rgm@gnu.org>
4752
4753 * progmodes/compile.el (compile-command): Tweak example in doc.
4754 * obsolete/scribe.el (scribe-mode):
4755 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4756
4757 * mail/feedmail.el (feedmail-confirm-outgoing)
4758 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4759
4760 * cus-start.el (truncate-partial-width-windows): Fix type.
4761
4762 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4763
4764 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4765
4766 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4767
4768 * emacs-lisp/timer.el (timer--time-setter): New function.
4769 (timer--time): Use it as gv-setter.
4770
4771 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4772 setter is not a symbol.
4773
4774 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4775
4776 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4777 if sending fails. This makes debugging easier.
4778
4779 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4780
4781 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4782 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4783 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4784
4785 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4786
4787 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4788
4789 2013-08-12 Glenn Morris <rgm@gnu.org>
4790
4791 * format.el (format-annotate-function):
4792 Handle read-only text properties in the source. (Bug#14887)
4793
4794 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4795
4796 * net/eww.el (eww-display-html): Ignore coding system errors.
4797 One web site uses "utf-8lias" as the coding system.
4798
4799 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4800
4801 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4802
4803 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4804
4805 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4806 (tutorial--detailed-help): Remove unused local variables.
4807 (tutorial--save-tutorial-to): Use ignore-errors.
4808 (help-with-tutorial): Use looking-at-p.
4809
4810 * view.el (view-buffer-other-window, view-buffer-other-frame):
4811 Mark unused arguments.
4812
4813 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4814 (woman-select-symbol-fonts, woman, woman-find-file)
4815 (woman-insert-file-contents, woman-non-underline-faces):
4816 Use string-match-p.
4817 (woman1-unquote): Move declaration.
4818
4819 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4820 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4821 argument. Remove unused local variable.
4822 (xml-parse-elem-type): Use string-match-p.
4823 (xml-substitute-numeric-entities): Use ignore-errors.
4824
4825 * calculator.el (calculator): Mark unused argument.
4826 (calculator-paste, calculator-quit, calculator-integer-p):
4827 Use ignore-errors.
4828 (calculator-string-to-number, calculator-decimal, calculator-exp)
4829 (calculator-op-or-exp): Use string-match-p.
4830
4831 * dired.el (dired-buffer-more-recently-used-p): Declare.
4832 (dired-insert-set-properties, dired-insert-old-subdirs):
4833 Use ignore-errors.
4834
4835 * dired-aux.el (dired-compress): Use ignore-errors.
4836 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4837 (dired-do-async-shell-command, dired-do-shell-command)
4838 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4839 (dired-insert-subdir-validate): Use string-match-p.
4840 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4841 (dired-add-entry): Use string-match-p, looking-at-p.
4842 (dired-insert-subdir-newpos): Remove unused local variable.
4843
4844 * filenotify.el (file-notify-callback): Remove unused local variable.
4845
4846 * filesets.el (filesets-error): Mark unused argument.
4847 (filesets-which-command-p, filesets-filter-dir-names)
4848 (filesets-directory-files, filesets-get-external-viewer)
4849 (filesets-ingroup-get-data): Use string-match-p.
4850
4851 * find-file.el (ff-other-file-name, ff-other-file-name)
4852 (ff-find-the-other-file, ff-cc-hh-converter):
4853 Remove unused local variables.
4854 (ff-get-file-name): Use string-match-p.
4855 (ff-all-dirs-under): Use ignore-errors.
4856
4857 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4858 (follow-select-if-visible): Remove unused local variable.
4859
4860 * forms.el (read-file-filter): Move declaration.
4861 (forms--make-format, forms--make-parser, forms-insert-record):
4862 Quote function with #'.
4863 (forms--update): Use string-match-p. Quote function with #'.
4864
4865 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4866 (help-make-xrefs): Use looking-at-p.
4867 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4868
4869 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4870 (ibuffer-confirm-operation-on): Use string-match-p.
4871
4872 * msb.el (msb-item-handler, msb-dired-item-handler):
4873 Mark unused arguments.
4874
4875 * ses.el (ses-decode-cell-symbol)
4876 (ses-kill-override): Remove unused local variable.
4877 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4878 (ses-load): Use ignore-errors, looking-at-p.
4879 (ses-jump-safe): Use ignore-errors.
4880 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4881
4882 * tabify.el (untabify, tabify): Mark unused arguments.
4883
4884 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4885 Mark unused argument.
4886 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4887 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4888
4889 * emacs-lisp/timer.el (timer--time): Define setter with
4890 gv-define-setter to avoid deprecation warning.
4891
4892 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4893 (*record-cmpl-statistics-p*): Remove (was commented out).
4894 (cmpl-statistics-block): Remove (body was commented out).
4895 All callers changed.
4896 (add-completions-from-buffer, load-completions-from-file):
4897 Remove unused variables.
4898
4899 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4900
4901 * filecache.el (file-cache-delete-file-list):
4902 Print message only when told so.
4903 (file-cache-files-matching): Use #' in mapconcat argument.
4904
4905 * ffap.el (ffap-url-at-point): Fix reference to variable
4906 thing-at-point-default-mail-uri-scheme.
4907
4908 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * subr.el (define-error): New function.
4911 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4912 error-file-not-found and define with define-error.
4913 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4914 and define with define-error.
4915 * userlock.el (file-locked, file-supersession):
4916 * simple.el (mark-inactive):
4917 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4918 * progmodes/ada-mode.el (ada-mode-errors):
4919 * play/life.el (life-extinct):
4920 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4921 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4922 * nxml/rng-util.el (rng-error):
4923 * nxml/rng-uri.el (rng-uri-error):
4924 * nxml/rng-match.el (rng-compile-error):
4925 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4926 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4927 * nxml/nxml-rap.el (nxml-scan-error):
4928 * nxml/nxml-outln.el (nxml-outline-error):
4929 * net/soap-client.el (soap-error):
4930 * net/gnutls.el (gnutls-error):
4931 * net/ange-ftp.el (ftp-error):
4932 * mpc.el (mpc-proc-error):
4933 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4934 (json-number-format, json-string-escape, json-string-format)
4935 (json-key-format, json-object-format):
4936 * jka-compr.el (compression-error):
4937 * international/quail.el (quail-error):
4938 * international/kkc.el (kkc-error):
4939 * emacs-lisp/ert.el (ert-test-failed):
4940 * calc/calc.el (calc-error, inexact-result, math-overflow)
4941 (math-underflow):
4942 * bookmark.el (bookmark-error-no-filename):
4943 * epg.el (epg-error): Define with define-error.
4944
4945 * time.el (display-time-event-handler)
4946 (display-time-next-load-average): Don't call sit-for since it seems
4947 unnecessary (bug#15045).
4948
4949 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4950 Use #' instead of ' to quote functions.
4951 (checkdoc-output-mode): Use setq-local.
4952 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4953 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4954 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4955 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4956 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4957 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4958 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4959 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4960
4961 * ido.el (ido-completion-help): Fix up compiler warning.
4962
4963 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4964
4965 * frameset.el (frameset-p): Add autoload cookie.
4966 (frameset--jump-to-register): New function, based on code moved from
4967 register.el.
4968 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4969
4970 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4971 (frameset-restore, frameset-save, frameset-session-filter-alist):
4972 Remove declarations.
4973 (register-alist): Doc fix.
4974 (frameset-to-register): Move to frameset.el.
4975 (jump-to-register, describe-register-1): Remove frameset-specific code.
4976
4977 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4978
4979 * allout-widgets.el (allout-widgets-pre-command-business)
4980 (allout-widgets-post-command-business)
4981 (allout-widgets-after-change-handler)
4982 (allout-decorate-item-and-context, allout-set-boundary-marker)
4983 (allout-body-modification-handler)
4984 (allout-graphics-modification-handler): Mark ignored arguments.
4985 (allout-widgets-post-command-business)
4986 (allout-widgets-exposure-change-processor)
4987 (allout-widgets-exposure-undo-processor)
4988 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4989 (allout-parse-item-at-point, allout-decorate-item-guides)
4990 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4991 * allout.el (epa-passphrase-callback-function): Declare.
4992 (allout-overlay-insert-in-front-handler)
4993 (allout-overlay-interior-modification-handler)
4994 (allout-isearch-end-handler, allout-chart-siblings)
4995 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4996 (allout-yank-processing, allout-process-exposed)
4997 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4998 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4999 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5000 (lisp-indent-defform): Mark ignored arguments.
5001 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5002 (calculate-lisp-indent): Remove unused variables.
5003 * international/characters.el (indian-2-column, arabic-2-column)
5004 (tibetan): Mark ignored arguments.
5005 (use-cjk-char-width-table): Mark ignored arguments.
5006 Remove unused variables.
5007 * international/fontset.el (build-default-fontset-data)
5008 (x-compose-font-name, create-fontset-from-fontset-spec):
5009 Mark ignored arguments.
5010 (fontset-plain-name): Remove unused variables.
5011 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5012 (keyboard-coding-system): Mark ignored arguments.
5013 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5014 * help.el (resize-temp-buffer-window):
5015 * window.el (display-buffer-in-major-side-window)
5016 (display-buffer-in-side-window, display-buffer-in-previous-window):
5017 Remove unused variables.
5018 * isearch.el (isearch-forward-symbol):
5019 * version.el (emacs-bzr-version-bzr):
5020 * international/mule-cmds.el (current-language-environment):
5021 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5022 (x-handle-display):
5023 * term/pc-win.el (x-list-fonts, x-display-planes)
5024 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5025 (x-server-version, x-display-screens, x-display-mm-height)
5026 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5027 (x-selection-owner-p, x-own-selection-internal)
5028 (x-disown-selection-internal, x-get-selection-internal)
5029 (msdos-initialize-window-system):
5030 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5031 * term/x-win.el (x-handle-no-bitmap-icon):
5032 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5033 (vc-default-find-file-hook, vc-default-extra-menu):
5034 Mark ignored arguments.
5035
5036 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5039 break-condition in the context of the debugged code (bug#12685).
5040
5041 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5042
5043 * comint.el:
5044 Do not use an overlay to highlight the last prompt. (Bug#14744)
5045 (comint-mode): Make comint-last-prompt buffer local.
5046 (comint-last-prompt): New variable.
5047 (comint-last-prompt-overlay): Remove. Superseded by
5048 comint-last-prompt.
5049 (comint-snapshot-last-prompt, comint-output-filter):
5050 Use comint-last-prompt.
5051
5052 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5053
5054 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5055 (frameset-save): Check validity of the resulting frameset.
5056
5057 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5058
5059 * ido.el (ido-record-command): Add doc string.
5060
5061 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5062
5063 * frameset.el (frameset): Do not disable creation of the default
5064 frameset-p predicate. Doc fix.
5065 (frameset-valid-p): New function, copied from the old predicate-p.
5066 Add additional checks.
5067 (frameset-restore): Check with frameset-valid-p.
5068 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5069 (frameset-name, frameset-description, frameset-properties)
5070 (frameset-states): Add docstring.
5071 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5072 (frameset-filter-alist): Doc fixes.
5073
5074 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5075
5076 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5077
5078 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5079
5080 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5081 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5082 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5083 (byte-compile-normal-call): Remove obsolescence check.
5084
5085 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5086
5087 * frameset.el (frameset-restore): Doc fix.
5088
5089 * register.el (frameset-frame-id, frameset-frame-with-id)
5090 (frameset-p, frameset-restore, frameset-save): Declare.
5091 (register-alist): Document framesets.
5092 (frameset-session-filter-alist): Declare.
5093 (frameset-to-register): New function.
5094 (jump-to-register): Implement jumping to framesets. Doc fix.
5095 (describe-register-1): Describe framesets.
5096
5097 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5098
5099 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5100
5101 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5102 Use lexical-binding.
5103
5104 * frameset.el (frameset): Use type vector, not list (incompatible
5105 change). Do not declare a new constructor, use the default one.
5106 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5107 `name' and `description', respectively, and add read-only slot
5108 `timestamp'. Doc fixes.
5109 (frameset-copy, frameset-persistent-filter-alist)
5110 (frameset-filter-alist, frameset-switch-to-gui-p)
5111 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5112 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5113 (frameset-filter-iconified, frameset-keep-original-display-p):
5114 Doc fixes.
5115 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5116 Rename from frameset-filter-(save|restore)-param. All callers changed.
5117 Doc fix.
5118 (frameset-p): Adapt to change to vector and be more thorough.
5119 Change arg name to OBJECT. Doc fix.
5120 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5121 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5122 All callers changed.
5123 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5124 All callers changed.
5125 (frameset--record-minibuffer-relationships): Rename from
5126 frameset--process-minibuffer-frames. All callers changed.
5127 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5128 Use new default constructor (again). Doc fix.
5129 (frameset--find-frame-if): Rename from `frameset--find-frame.
5130 All callers changed.
5131 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5132 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5133 Doc fix.
5134 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5135 PARAMETERS and WINDOW-STATE, respectively.
5136 (frameset-restore): Add new keyword argument PREDICATE.
5137 Reset frameset--target-display to nil. Doc fix.
5138
5139 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5142 (bat-mode): Use it.
5143 (bat-mode-syntax-table): Mark \n as end-of-comment.
5144 (bat-font-lock-keywords): Remove comment rule.
5145
5146 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5147 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5148
5149 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5150 (byte-compile-callargs-warn): Use `push'.
5151 (byte-compile-arglist-warn): Ignore higher-order "calls".
5152 (byte-compile-file-form-autoload): Use `pcase'.
5153 (byte-compile-function-form): If quoting a symbol, check that it exists.
5154
5155 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5156
5157 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5158 and add a few popular commands found in batch files.
5159 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5160 (dos-mode): Doc fixes.
5161
5162 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5163
5164 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5165 (dos-mode): Use setq-local. Add space after "rem".
5166 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5167 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5168
5169 2013-08-07 Arni Magnusson <arnima@hafro.is>
5170
5171 * progmodes/dos.el: New file.
5172 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5173 dos-mode.
5174
5175 2013-08-06 Glenn Morris <rgm@gnu.org>
5176
5177 * calendar/calendar.el: Add new faces, and day-header-array.
5178 (calendar-weekday-header, calendar-weekend-header)
5179 (calendar-month-header): New faces.
5180 (calendar-day-header-construct): New function.
5181 (calendar-day-header-width): Also :set calendar-day-header-array.
5182 (calendar-american-month-header, calendar-european-month-header)
5183 (calendar-iso-month-header): Use calendar- faces.
5184 (calendar-generate-month):
5185 Use calendar-day-header-array for day headers; apply faces to them.
5186 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5187 (calendar-abbrev-construct): Add optional maxlen argument.
5188 (calendar-day-name-array): Doc fix.
5189 (calendar-day-name-array, calendar-abbrev-length)
5190 (calendar-day-abbrev-array):
5191 Also :set calendar-day-header-array, and maybe redraw.
5192 (calendar-day-header-array): New option. (Bug#15007)
5193 (calendar-font-lock-keywords): Set to nil and make obsolete.
5194 (calendar-day-name): Add option to use header array.
5195
5196 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5197
5198 * net/shr.el (shr-render-td): Remove debugging.
5199 (shr-render-td): Make width computation consistent by defaulting
5200 all zero-width columns to 10 characters. This may not be optimal,
5201 but it's at least consistent.
5202 (shr-make-table-1): Redo last change to fix the real problem in
5203 colspan handling.
5204
5205 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5206
5207 * files.el (cache-long-line-scans):
5208 Make obsolete alias to `cache-long-scans'.
5209
5210 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5211
5212 * frameset.el (frameset, frameset-filter-alist)
5213 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5214 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5215 (frameset-compute-pos): Rename from frameset--compute-pos,
5216 and add docstring.
5217 (frameset-move-onscreen): Use frameset-compute-pos.
5218 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5219
5220 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5221 Fix typos in docstrings.
5222
5223 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5224
5225 * frame.el (get-other-frame): Tiny cleanup.
5226
5227 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5228
5229 * vc/vc.el (vc-default-ignore-completion-table):
5230 Silence byte-compiler warning.
5231
5232 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5233 slot , which can indeed be nil.
5234 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5235 Move entry for `left' from persistent to live filter alist.
5236 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5237 Doc fixes.
5238 (frameset-filter-params): When restoring a frame, copy items added to
5239 `filtered', to avoid unwittingly modifying the original parameters.
5240 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5241 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5242
5243 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5244 to use looking-at-p instead of looking-at. (Bug#15028)
5245
5246 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 Revert introduction of isearch-filter-predicates (bug#14714).
5249 Rely on add-function instead.
5250 * isearch.el (isearch-filter-predicates): Rename it back to
5251 isearch-filter-predicate.
5252 (isearch-message-prefix): Use advice-function-mapc and advice
5253 properties to get the isearch-message-prefix.
5254 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5255 instead of run-hook-with-args-until-failure.
5256 (isearch-filter-visible): Not obsolete any more.
5257 * loadup.el: Preload nadvice.
5258 * replace.el (perform-replace): Revert to funcall
5259 instead of run-hook-with-args-until-failure.
5260 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5261 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5262 dired-isearch-filenames-toggle; make it into a proper minor mode.
5263 Use add/remove-function.
5264 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5265 Call the minor-mode rather than add/remove-hook.
5266 (dired-isearch-filter-filenames):
5267 Remove isearch-message-prefix property.
5268 * info.el (Info--search-loop): New function, extracted from Info-search.
5269 Funcall isearch-filter-predicate instead of
5270 run-hook-with-args-until-failure isearch-filter-predicates.
5271 (Info-search): Use it.
5272 (Info-mode): Use isearch-filter-predicate instead of
5273 isearch-filter-predicates.
5274
5275 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5276
5277 Do not call to `selected-window' where it is assumed by default.
5278 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5279 `window-hscroll', `window-width', `window-height', `window-buffer',
5280 `window-frame', `window-start', `window-point', `next-window'
5281 and `window-display-table'.
5282 * abbrev.el (abbrev--default-expand):
5283 * bs.el (bs--show-with-configuration):
5284 * buff-menu.el (Buffer-menu-mouse-select):
5285 * calc/calc.el (calc):
5286 * calendar/calendar.el (calendar-generate-window):
5287 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5288 (diary-make-entry):
5289 * comint.el (send-invisible, comint-dynamic-complete-filename)
5290 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5291 * completion.el (complete):
5292 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5293 * disp-table.el (describe-current-display-table):
5294 * doc-view.el (doc-view-insert-image):
5295 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5296 * ehelp.el (with-electric-help):
5297 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5298 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5299 * emacs-lisp/helper.el (Helper-help-scroller):
5300 * emulation/cua-base.el (cua--post-command-handler-1):
5301 * eshell/esh-mode.el (eshell-output-filter):
5302 * ffap.el (ffap-gnus-wrapper):
5303 * help-macro.el (make-help-screen):
5304 * hilit-chg.el (highlight-compare-buffers):
5305 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5306 * hl-line.el (global-hl-line-highlight):
5307 * icomplete.el (icomplete-simple-completing-p):
5308 * isearch.el (isearch-done):
5309 * jit-lock.el (jit-lock-stealth-fontify):
5310 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5311 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5312 * mpc.el (mpc-tagbrowser, mpc):
5313 * net/rcirc.el (rcirc-any-buffer):
5314 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5315 * play/landmark.el (landmark-max-width, landmark-max-height):
5316 * play/zone.el (zone):
5317 * progmodes/compile.el (compilation-goto-locus):
5318 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5319 * progmodes/etags.el (find-tag-other-window):
5320 * progmodes/fortran.el (fortran-column-ruler):
5321 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5322 * progmodes/verilog-mode.el (verilog-point-text):
5323 * reposition.el (reposition-window):
5324 * rot13.el (toggle-rot13-mode):
5325 * server.el (server-switch-buffer):
5326 * shell.el (shell-dynamic-complete-command)
5327 (shell-dynamic-complete-environment-variable):
5328 * simple.el (insert-buffer, set-selective-display)
5329 (delete-completion-window):
5330 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5331 (speedbar-recenter):
5332 * startup.el (fancy-splash-head):
5333 * textmodes/ispell.el (ispell-command-loop):
5334 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5335 * tutorial.el (help-with-tutorial):
5336 * vc/add-log.el (add-change-log-entry):
5337 * vc/compare-w.el (compare-windows):
5338 * vc/ediff-help.el (ediff-indent-help-message):
5339 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5340 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5341 (ediff-setup-control-frame):
5342 * vc/emerge.el (emerge-position-region):
5343 * vc/pcvs-util.el (cvs-bury-buffer):
5344 * window.el (walk-windows, mouse-autoselect-window-select):
5345 * winner.el (winner-set-conf, winner-undo): Related users changed.
5346
5347 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5348
5349 * frameset.el (frameset--set-id): Doc fix.
5350 (frameset-frame-id, frameset-frame-id-equal-p)
5351 (frameset-locate-frame-id): New functions.
5352 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5353 (frameset-restore): Use them.
5354
5355 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5356
5357 Do not call to `selected-frame' where it is assumed by default.
5358 Affected functions are `raise-frame', `redraw-frame',
5359 `frame-first-window', `frame-terminal' and `delete-frame'.
5360 * calendar/appt.el (appt-disp-window):
5361 * epg.el (epg-wait-for-completion):
5362 * follow.el (follow-delete-other-windows-and-split)
5363 (follow-avoid-tail-recenter):
5364 * international/mule.el (set-terminal-coding-system):
5365 * mail/rmail.el (rmail-mail-return):
5366 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5367 * progmodes/f90.el (f90-add-imenu-menu):
5368 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5369 * server.el (server-switch-buffer):
5370 * simple.el (delete-completion-window):
5371 * talk.el (talk):
5372 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5373 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5374 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5375 * vc/ediff.el (ediff-documentation): Related users changed.
5376 * frame.el (selected-terminal): Remove the leftover.
5377
5378 2013-08-05 Glenn Morris <rgm@gnu.org>
5379
5380 * calendar/calendar.el (calendar-generate-month):
5381 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5382 (calendar-generate-month, calendar-font-lock-keywords):
5383 Fix for calendar-day-header-width > length of any day name.
5384
5385 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5386
5387 * desktop.el (desktop-clear): Use new name of sort predicate.
5388
5389 * frameset.el (frameset): Add docstring. Move :version property to its
5390 own `version' slot.
5391 (frameset-copy): Rename from copy-frameset.
5392 (frameset-p): Check more thoroughly.
5393 (frameset-prop): Do not check for :version, which is no longer a prop.
5394 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5395 Use new :never value instead of t.
5396 (frameset-filter-alist): Expand and clarify docstring.
5397 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5398 (frameset-filter-minibuffer, frameset-filter-save-param)
5399 (frameset-filter-restore-param, frameset-filter-iconified):
5400 Add pointer to docstring of frameset-filter-alist.
5401 (frameset-filter-params): Rename filter values to be more meaningful:
5402 :never instead of t, and reverse the meanings of :save and :restore.
5403 (frameset--process-minibuffer-frames): Clarify error message.
5404 (frameset-save): Avoid unnecessary and confusing call to framep.
5405 Use new BOA constructor for framesets.
5406 (frameset--reuse-list): Doc fix.
5407 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5408 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5409 (frameset-minibufferless-first-p): Doc fix.
5410 Rename from frameset-sort-frames-for-deletion.
5411 (frameset-restore): Doc fixes. Use new function names.
5412 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5413
5414 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5415
5416 * desktop.el (desktop-restore-forces-onscreen)
5417 (desktop-restore-reuses-frames): Document :keyword constant values.
5418 (desktop-filter-parameters-alist): Remove, now identical to
5419 frameset-filter-alist.
5420 (desktop--filter-tty*): Remove, moved to frameset.el.
5421 (desktop-save-frameset, desktop-restore-frameset):
5422 Do not pass :filters argument.
5423
5424 * frameset.el (frameset-live-filter-alist)
5425 (frameset-persistent-filter-alist): New variables.
5426 (frameset-filter-alist): Use them. Add autoload cookie.
5427 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5428 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5429 `frameset--id' (it's supposed to be internal to frameset.el).
5430 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5431 (frameset--initial-params): New function.
5432 (frameset--get-frame): Use it. Doc fix.
5433 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5434 Accept :all, not 'all.
5435 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5436 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5437 with fbound symbols. Fix frame id matching, and remove matching ids if
5438 the frame being restored is deleted. Obey :delete.
5439
5440 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5441
5442 * subr.el (macrop): New function.
5443 (text-clone--maintaining): New var.
5444 (text-clone--maintain): Rename from text-clone-maintain. Use it
5445 instead of inhibit-modification-hooks.
5446
5447 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5448 a proxy, so as handle autoloads and redefinitions of the target.
5449 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5450
5451 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5452 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5453 (pcase--mutually-exclusive-p): New function.
5454 (pcase--split-consp): Use it.
5455 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5456 mutually exclusive with the current predicate.
5457
5458 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5459 (edebug-macrop): Remove. Use `macrop' instead.
5460 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5461 (ad-macro-p):
5462 * eshell/esh-cmd.el (eshell-macrop):
5463 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5464
5465 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5468 (advice-mapc): New function, using it.
5469 (advice-function-member-p): New function.
5470 (advice--normalize): Store the cdr in advice--saved-rewrite since
5471 that's the part that will be changed.
5472 (advice--symbol-function): New function.
5473 (advice-remove): Handle removal before the function is defined.
5474 Adjust to new advice--saved-rewrite.
5475 (advice-member-p): Use advice-function-member-p and
5476 advice--symbol-function.
5477
5478 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5479
5480 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5481 (frameset-filter-minibuffer): Doc fix.
5482 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5483 (frameset--set-id, frameset--process-minibuffer-frames)
5484 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5485 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5486
5487 * desktop.el (desktop-clear): Only delete frames when called
5488 interactively and desktop-restore-frames is non-nil. Doc fix.
5489 (desktop-read): Set desktop-saved-frameset to nil.
5490
5491 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5492
5493 * vc/vc.el (vc-ignore): Rewrite.
5494 (vc-default-ignore-completion-table):
5495 (vc--read-lines):
5496 (vc--add-line, vc--remove-regexp): New functions.
5497
5498 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5499 (vc-svn-ignore-completion-table): New function.
5500
5501 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5502 (vc-hg-ignore-completion-table):
5503 (vc-hg-find-ignore-file): New functions.
5504
5505 * vc/vc-git.el (vc-git-ignore): Rewrite.
5506 (vc-git-ignore-completion-table):
5507 (vc-git-find-ignore-file): New functions.
5508
5509 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5510
5511 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5512 (vc-bzr-ignore-completion-table):
5513 (vc-bzr-find-ignore-file): New functions.
5514
5515 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5516
5517 * frameset.el (frameset-prop): New function and setter.
5518 (frameset-save): Do not modify frame list passed by the caller.
5519
5520 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5521
5522 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5523
5524 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5527 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5528
5529 * custom.el (custom-initialize-default, custom-initialize-set)
5530 (custom-initialize-reset, custom-initialize-changed): Affect the
5531 toplevel-default-value (bug#6275, bug#14586).
5532 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5533 for bug#6275.
5534
5535 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5536
5537 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5538 Add cl-def* expressions.
5539
5540 * frameset.el (frameset-filter-params): Fix order of arguments.
5541
5542 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5543
5544 Move code related to saving frames to frameset.el.
5545 * desktop.el: Require frameset.
5546 (desktop-restore-frames): Doc fix.
5547 (desktop-restore-reuses-frames): Rename from
5548 desktop-restoring-reuses-frames.
5549 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5550 (desktop-clear): Clear frames too.
5551 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5552 (desktop--filter-tty*, desktop-save, desktop-read):
5553 Use frameset functions.
5554 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5555 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5556 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5557 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5558 (desktop--process-minibuffer-frames, desktop-save-frames)
5559 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5560 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5561 (desktop--sort-states, desktop-restoring-frames-p)
5562 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5563 (desktop-restoring-frameset-p, desktop-restore-frameset)
5564 (desktop--check-dont-save, desktop-save-frameset): New functions.
5565 (desktop--app-id): New constant.
5566 (desktop-first-buffer, desktop-buffer-ok-count)
5567 (desktop-buffer-fail-count): Move before first use.
5568 * frameset.el: New file.
5569
5570 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * files.el: Use lexical-binding.
5573 (dir-locals-read-from-file): Remove unused `err' variable.
5574 (hack-dir-local-variables--warned-coding): New var.
5575 (hack-dir-local-variables): Use it to avoid repeated warnings.
5576 (make-backup-file-name--default-function): New function.
5577 (make-backup-file-name-function): Use it as default.
5578 (buffer-stale--default-function): New function.
5579 (buffer-stale-function): Use it as default.
5580 (revert-buffer-insert-file-contents--default-function): New function.
5581 (revert-buffer-insert-file-contents-function): Use it as default.
5582 (insert-directory): Avoid add-to-list.
5583
5584 * autorevert.el (auto-revert-handler): Simplify.
5585 Use buffer-stale--default-function.
5586
5587 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5588
5589 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5590
5591 * whitespace.el (whitespace-ensure-local-variables): New function.
5592 (whitespace-cleanup-region): Call it.
5593 (whitespace-turn-on): Call it.
5594
5595 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5596
5597 Complete file name handlers.
5598
5599 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5600 (tramp-handle-verify-visited-file-modtime)
5601 (tramp-handle-file-notify-rm-watch): New functions.
5602 (tramp-call-process): Do not bind `default-directory'.
5603
5604 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5605 Order alphabetically.
5606 [access-file, add-name-to-file, dired-call-process]:
5607 [dired-compress-file, file-acl, file-notify-rm-watch]:
5608 [file-ownership-preserved-p, file-selinux-context]:
5609 [make-directory-internal, make-symbolic-link, set-file-acl]:
5610 [set-file-selinux-context, set-visited-file-modtime]:
5611 [verify-visited-file-modtime]: Add handler.
5612 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5613
5614 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5615 [file-notify-add-watch, file-notify-rm-watch]:
5616 [set-file-times, set-visited-file-modtime]:
5617 [verify-visited-file-modtime]: Add handler.
5618 (with-tramp-gvfs-error-message)
5619 (tramp-gvfs-handle-set-visited-file-modtime)
5620 (tramp-gvfs-fuse-file-name): Remove.
5621 (tramp-gvfs-handle-file-notify-add-watch)
5622 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5623 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5624
5625 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5626 Order alphabetically.
5627 [file-notify-rm-watch ]: Use default Tramp handler.
5628 [executable-find]: Remove private handler.
5629 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5630 `default-directory'.
5631 (tramp-sh-handle-executable-find)
5632 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5633 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5634 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5635 Do not use `format' in `tramp-message'.
5636
5637 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5638 [file-notify-rm-watch, set-visited-file-modtime]:
5639 [verify-visited-file-modtime]: Add handler.
5640 (tramp-smb-call-winexe): Do not bind `default-directory'.
5641
5642 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5643
5644 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5645
5646 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5647
5648 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5649 use it.
5650 (log-view-diff-changeset): Same.
5651 (log-view-diff-common): Call backend command `previous-revision'
5652 to find out the previous revision, in both cases. Swap the
5653 variables `to' and `fr', so that `fr' usually refers to the
5654 earlier revision (Bug#14989).
5655
5656 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5657
5658 * ibuf-ext.el (ibuffer-filter-by-filename):
5659 Make it work with dired buffers too.
5660
5661 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5662
5663 * emacs-lisp/re-builder.el (reb-color-display-p):
5664 * files.el (save-buffers-kill-terminal):
5665 * net/browse-url.el (browse-url):
5666 * server.el (server-save-buffers-kill-terminal):
5667 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5668 Prefer nil to selected-frame for the first arg of frame-parameter.
5669
5670 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5671
5672 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5673
5674 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5675
5676 * minibuffer.el (completion--twq-all): Try and preserve each
5677 completion's case choice (bug#14907).
5678
5679 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5680
5681 * net/network-stream.el (open-network-stream): Mention the new
5682 :nogreeting parameter.
5683 (network-stream-open-starttls): Use the :nogreeting parameter
5684 (bug#14938).
5685
5686 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5687
5688 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5689 more natural than popping.
5690
5691 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5692 (shr-urlify): Highlight under mouse.
5693
5694 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5695
5696 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5697
5698 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5699
5700 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5701 buffer for output.
5702
5703 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5704 point-min==1. Fix search string. Fix parentheses missing.
5705
5706 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5707 assume point-min==1. Fix search string. Fix parentheses missing.
5708
5709 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5710
5711 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5712 buffer for output.
5713
5714 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5715
5716 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5717 initial frame is minibuffer-less. (Bug#14841)
5718
5719 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5720
5721 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5722 option.
5723
5724 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5725 (tramp-maybe-open-connection): Use it.
5726
5727 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5728
5729 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5730 minimal set of parameters passed when creating a frame, because
5731 the minibuffer status of a frame cannot be changed later.
5732
5733 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5734
5735 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5736 replace-regexp-in-string and inadvertent omissions in previous change.
5737 (todo-filter-items): Ensure only file names are comma-separated in
5738 name of filtered items buffer.
5739
5740 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5741
5742 * desktop.el: Optionally force offscreen frames back onscreen.
5743 (desktop-restoring-reuses-frames): New option.
5744 (desktop--compute-pos, desktop--move-onscreen): New functions.
5745 (desktop--make-frame): Use desktop--move-onscreen.
5746
5747 2013-07-27 Alan Mackenzie <acm@muc.de>
5748
5749 Fontify a Java generic method as a function.
5750 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5751 value to t.
5752
5753 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5754
5755 * calendar/todo-mode.el: Add command to rename todo files.
5756 (todo-rename-file): New command.
5757 (todo-key-bindings-t): Add key binding for it. Change the
5758 bindings of todo-filter-regexp-items(-multifile) to use `x'
5759 instead of `r', since the latter is better suited to the new
5760 renaming command.
5761
5762 2013-07-27 Alan Mackenzie <acm@muc.de>
5763
5764 Make Java try-with-resources statement parse properly.
5765 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5766 (c-block-stmt-1-2-key): New language constants/variables.
5767 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5768 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5769 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5770 with c-block-stmt-1-2-key.
5771
5772 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5773
5774 * desktop.el (desktop--make-frame): Apply most frame parameters after
5775 creating the frame to force (partially or totally) offscreen frames to
5776 be restored as such.
5777
5778 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5779
5780 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5781 (Bug#14948)
5782
5783 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5786 `base' arg of backtrace-frame.
5787
5788 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5789
5790 * simple.el (list-processes): Doc fix.
5791
5792 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5793
5794 * desktop.el (desktop--select-frame):
5795 Try harder to reuse existing frames.
5796
5797 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5800 (edebug-eval): Use backtrace-eval.
5801 (edebug--display, edebug--recursive-edit): Don't let-bind the
5802 edebug-outer-* vars that keep track of variables we locally let-bind.
5803 (edebug-outside-excursion): Don't restore outside values of locally
5804 let-bound vars.
5805 (edebug--display): Use user-error.
5806 (cl-lexical-debug, cl-debug-env): Remove.
5807
5808 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5809
5810 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5811 are restored to be sure that they are visible before deleting any
5812 remaining ones.
5813
5814 2013-07-26 Matthias Meulien <orontee@gmail.com>
5815
5816 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5817 vc-print-root-log. (Bug#14948)
5818
5819 2013-07-26 Richard Stallman <rms@gnu.org>
5820
5821 Add aliases for encrypting mail.
5822 * epa.el (epa-mail-aliases): New option.
5823 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5824 Bind inhibit-read-only so read-only text doesn't ruin everything.
5825 (epa-mail-default-recipients): New subroutine broken out.
5826 Handle epa-mail-aliases.
5827
5828 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5829
5830 Add support for lexical variables to the debugger's `e' command.
5831 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5832 vars, except for debugger-outer-match-data.
5833 (debugger-frame-number): Move check for "on a function call" from
5834 callers into it. Add `skip-base' argument.
5835 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5836 (debugger-env-macro): Only reset the state stored in non-variables,
5837 i.e. current-buffer and match-data.
5838 (debugger-eval-expression): Rewrite using backtrace-eval.
5839 * subr.el (internal--called-interactively-p--get-frame): Remove.
5840 (called-interactively-p):
5841 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5842 `base' arg of backtrace-frame instead.
5843
5844 2013-07-26 Glenn Morris <rgm@gnu.org>
5845
5846 * align.el (align-regexp): Doc fix. (Bug#14857)
5847 (align-region): Explicit error if subexpression missing/does not match.
5848
5849 * simple.el (global-visual-line-mode):
5850 Do not duplicate the mode lighter. (Bug#14858)
5851
5852 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5853
5854 * window.el (display-buffer): In display-buffer bind
5855 split-window-keep-point to t, bug#14829.
5856
5857 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5858
5859 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5860 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5861 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5862 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5863 Change accordingly.
5864 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5865 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5866
5867 2013-07-25 Glenn Morris <rgm@gnu.org>
5868
5869 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5870
5871 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5872
5873 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5874 parameter to modify-frame-parameters if the value has not changed;
5875 this is a workaround for bug#14949.
5876 (desktop--make-frame): On cl-delete-if call, check parameter name,
5877 not full parameter.
5878
5879 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5880
5881 * vc/vc.el (vc-ignore): New function.
5882
5883 * vc/vc-svn.el (vc-svn-ignore): New function.
5884
5885 * vc/vc-hg.el (vc-hg-ignore): New function.
5886
5887 * vc/vc-git.el (vc-git-ignore): New function.
5888
5889 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5890 (vc-dir-ignore): New function.
5891
5892 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5893 (cvs-append-to-ignore): Move here from pcvs.el.
5894
5895 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5896
5897 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5898
5899 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5900
5901 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5902 (desktop-restore-frames): Warn when deleting an existing frame failed.
5903
5904 2013-07-24 Glenn Morris <rgm@gnu.org>
5905
5906 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5907
5908 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5909
5910 * filenotify.el (file-notify-supported-p):
5911 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5912 Remove functions.
5913
5914 * autorevert.el (auto-revert-use-notify):
5915 (auto-revert-notify-add-watch):
5916 * net/tramp.el (tramp-file-name-for-operation):
5917 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5918 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5919 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5920 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5921 Remove `file-notify-supported-p' entry.
5922
5923 2013-07-24 Glenn Morris <rgm@gnu.org>
5924
5925 * printing.el: Replace all uses of deleted ps-windows-system,
5926 ps-lp-system, ps-flatten-list with lpr- versions.
5927
5928 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5931 checked with memq (bug#14935).
5932
5933 * files.el (revert-buffer-function): Use a non-nil default.
5934 (revert-buffer-preserve-modes): Declare var to
5935 provide access to the `preserve-modes' argument.
5936 (revert-buffer): Let-bind it.
5937 (revert-buffer--default): New function, extracted from revert-buffer.
5938
5939 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * lpr.el: Signal print errors more prominently.
5942 (print-region-function): Don't default to nil.
5943 (lpr-print-region): New function, extracted from print-region-1.
5944 Check lpr's return value and signal an error in case of problem.
5945 (print-region-1): Use it.
5946 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5947 versions instead.
5948 (ps-printer-name): Default to nil.
5949 (ps-printer-name-option): Default to lpr-printer-switch.
5950 (ps-print-region-function): Don't default to nil.
5951 (ps-postscript-code-directory): Simplify default.
5952 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5953 (ps-string-list, ps-eval-switch, ps-flatten-list)
5954 (ps-flatten-list-1): Remove.
5955 (ps-multibyte-buffer): Avoid setq.
5956 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5957 (print-region-function, ps-print-region-function): Don't set them here.
5958
5959 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5960
5961 * ido.el (ido-fractionp):
5962 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5963 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5964 (ido-max-directory-size, ido-max-dir-file-cache)
5965 (ido-decorations): Doc fix.
5966
5967 * ansi-color.el: Fix old URL.
5968
5969 2013-07-23 Michael R. Mauger <michael@mauger.com>
5970
5971 * progmodes/sql.el: Version 3.3
5972 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5973 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5974 (sql-interactive-remove-continuation-prompt): Rewrite, use
5975 functions above. Fix continuation prompt and complete output line
5976 handling.
5977 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5978 redirected output buffer.
5979 (sql-mode): Restore deleted code (Bug#13591).
5980
5981 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5982
5983 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5984
5985 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5986
5987 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5988
5989 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5990 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5991 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5992
5993 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5994
5995 * desktop.el (desktop-clear): Simplify; remove useless checks
5996 against invalid buffer names.
5997 (desktop-list*): Use cl-list*.
5998 (desktop-buffer-info, desktop-create-buffer): Simplify.
5999
6000 2013-07-23 Leo Liu <sdl.web@gmail.com>
6001
6002 * bookmark.el (bookmark-make-record): Restore NAME as a default
6003 value. (Bug#14933)
6004
6005 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6006
6007 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6008 extracted from autoload--insert-text.
6009 (autoload--insert-text): Remove.
6010 (autoload--print-cookie-text): New function, extracted from
6011 autoload--insert-cookie-text.
6012 (autoload--insert-cookie-text): Remove.
6013 (autoload-generate-file-autoloads): Adjust calls accordingly.
6014
6015 * winner.el (winner-hook-installed-p): Remove.
6016 (winner-mode): Simplify accordingly.
6017
6018 * subr.el (add-to-list): Fix compiler-macro when `append' is
6019 not constant. Don't use `cl-member' for the base case.
6020
6021 * progmodes/subword.el: Fix boundary case (bug#13758).
6022 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6023 own group.
6024 (subword-backward-regexp): Make it a constant.
6025 (subword-forward-internal): Don't treat a trailing capital as the
6026 beginning of a word.
6027
6028 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6029
6030 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6031 global value of tabulated-list-revert-hook (bug#14930).
6032
6033 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * desktop.el: Require 'cl-lib.
6036 (desktop-before-saving-frames-functions): New hook.
6037 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6038 for frames being saved. Rename from desktop--save-minibuffer-frames.
6039 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6040 Do not save frames with non-nil `desktop-dont-save' parameter.
6041 Filter out deleted frames.
6042 (desktop--find-frame): Use cl-find-if.
6043 (desktop--select-frame): Use cl-(first|second|third) to access values
6044 of desktop-mini.
6045 (desktop--make-frame): Use cl-delete-if.
6046 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6047 (desktop-restore-frames): Use cl-(first|second|third) to access values
6048 of desktop-mini. Look for visible frame at the end, not while
6049 restoring frames.
6050
6051 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6052 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6053 Use string-match-p, looking-at-p (bug#14927).
6054
6055 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6056
6057 * desktop.el (desktop-saved-frame-states):
6058 Rename from desktop--saved-states; all users changed.
6059 (desktop-save-frames): Rename from desktop--save-frames.
6060 Do not save state to desktop file.
6061 (desktop-save): Save desktop-saved-frame-states to desktop file
6062 and reset to nil.
6063 (desktop-restoring-frames-p): New function.
6064 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6065 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6066 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6067
6068 * desktop.el: Correctly restore iconified frames.
6069 (desktop--filter-iconified-position): New function.
6070 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6071
6072 2013-07-20 Glenn Morris <rgm@gnu.org>
6073
6074 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6075 Let `message' do the formatting.
6076 (def-gdb-preempt-display-buffer): Add explicit format.
6077
6078 * image-dired.el (image-dired-track-original-file):
6079 Use with-current-buffer.
6080 (image-dired-track-thumbnail): Use with-current-buffer.
6081 Avoid changing point of wrong window.
6082
6083 * image-dired.el (image-dired-track-original-file):
6084 Avoid changing point of wrong window. (Bug#14909)
6085
6086 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6087
6088 * progmodes/gdb-mi.el (gdb-done-or-error):
6089 Guard against "%" in gdb output. (Bug#14127)
6090
6091 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6092
6093 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6094 (Bug#14826)
6095
6096 * international/mule.el (coding-system-iso-2022-flags): Fix last
6097 change.
6098
6099 2013-07-20 Kenichi Handa <handa@gnu.org>
6100
6101 * international/mule.el (coding-system-iso-2022-flags):
6102 Add `8-bit-level-4'. (Bug#8522)
6103
6104 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6105
6106 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6107 (bug#14815).
6108
6109 * net/eww.el (eww-process-text-input): Allow inputting when the
6110 point is at the start of the line, as the properties aren't
6111 front-sticky.
6112
6113 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6114 degenerate widths.
6115
6116 2013-07-19 Richard Stallman <rms@gnu.org>
6117
6118 * epa.el (epa-popup-info-window): Doc fix.
6119
6120 * subr.el (split-string): New arg TRIM.
6121
6122 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6123
6124 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6125 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6126
6127 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6128
6129 * filenotify.el (file-notify--library): Rename from
6130 `file-notify-support'. Do not autoload. Adapt all uses.
6131 (file-notify-supported-p): New defun.
6132
6133 * autorevert.el (auto-revert-use-notify):
6134 Use `file-notify-supported-p' instead of `file-notify-support'.
6135 Adapt docstring.
6136 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6137
6138 * net/tramp.el (tramp-file-name-for-operation):
6139 Add `file-notify-supported-p'.
6140
6141 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6142 New defun.
6143 (tramp-sh-file-name-handler-alist): Add it as handler for
6144 `file-notify-supported-p '.
6145
6146 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6147 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6148 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6149 Add `ignore' as handler for `file-notify-*' functions.
6150
6151 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6152
6153 * simple.el (line-move-partial, line-move): Don't start vscroll or
6154 scroll-up if the current line is not taller than the window.
6155 (Bug#14881)
6156
6157 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6158
6159 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6160 highlight question marks in the method names as strings.
6161 (ruby-block-beg-keywords): Inline.
6162 (ruby-font-lock-keyword-beg-re): Extract from
6163 `ruby-font-lock-keywords'.
6164
6165 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6166
6167 * frame.el (blink-cursor-blinks): New defcustom.
6168 (blink-cursor-blinks-done): New defvar.
6169 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6170 (blink-cursor-timer-function): Check if number of blinks has been
6171 done on X and NS.
6172 (blink-cursor-suspend, blink-cursor-check): New defuns.
6173
6174 2013-07-15 Glenn Morris <rgm@gnu.org>
6175
6176 * edmacro.el (edmacro-format-keys): Fix previous change.
6177
6178 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6179
6180 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6181 The hack didn't work outside English locales anyway.
6182
6183 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6184
6185 * simple.el (define-alternatives): Rename from alternatives-define,
6186 per RMS' suggestion.
6187
6188 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6189
6190 * desktop.el (desktop-restore-frames): Change default to t.
6191 (desktop-restore-in-current-display): Now offer more options.
6192 (desktop-restoring-reuses-frames): New customization option.
6193 (desktop--saved-states): Doc fix.
6194 (desktop-filter-parameters-alist): New variable, renamed and expanded
6195 from desktop--excluded-frame-parameters.
6196 (desktop--target-display): New variable.
6197 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6198 (desktop--filter-tty*, desktop--filter-*-color)
6199 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6200 (desktop--filter-save-desktop-parm)
6201 (desktop-restore-in-original-display-p): New functions.
6202 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6203 (desktop--save-minibuffer-frames): New function, inspired by a similar
6204 function from Martin Rudalics.
6205 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6206 (desktop--restore-in-this-display-p): Remove.
6207 (desktop--find-frame): Rename from desktop--find-frame-in-display
6208 and add predicate argument.
6209 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6210 (desktop--reuse-list): New variable.
6211 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6212 New functions.
6213 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6214
6215 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6216
6217 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6218
6219 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6220
6221 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6222 Highlight conversion methods on Kernel.
6223
6224 2013-07-13 Alan Mackenzie <acm@muc.de>
6225
6226 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6227 and comment it out. This out-commenting enables certain C++
6228 declarations to be parsed correctly.
6229
6230 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6231
6232 * international/mule.el (define-coding-system): Doc fix.
6233
6234 * simple.el (default-font-height): Don't call font-info if the
6235 frame's default font didn't change since the frame was created.
6236 (Bug#14838)
6237
6238 2013-07-13 Leo Liu <sdl.web@gmail.com>
6239
6240 * ido.el (ido-read-file-name): Guard against non-symbol value.
6241
6242 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6243
6244 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6245 in nested defuns.
6246
6247 2013-07-13 Leo Liu <sdl.web@gmail.com>
6248
6249 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6250 ido-set-matches call. (Bug#6852)
6251
6252 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6253
6254 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6255 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6256 Ruby 2.0.
6257 (ruby-font-lock-keywords): Distinguish calls to functions with
6258 module-like names from module references. Highlight character
6259 literals.
6260
6261 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6262
6263 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6264 (gdb-send): Handle continued commands. (Bug#14847)
6265
6266 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6267
6268 * desktop.el (desktop--v2s): Remove unused local variable.
6269 (desktop-save-buffer): Make defvar-local; adjust docstring.
6270 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6271 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6272
6273 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6274
6275 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6276
6277 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6278
6279 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6280 (Bug#14842)
6281
6282 2013-07-12 Glenn Morris <rgm@gnu.org>
6283
6284 * doc-view.el: Require cl-lib at runtime too.
6285 (doc-view-remove-if): Remove.
6286 (doc-view-search-next-match, doc-view-search-previous-match):
6287 Use cl-remove-if.
6288
6289 * edmacro.el: Require cl-lib at runtime too.
6290 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6291 (edmacro-mismatch, edmacro-subseq): Remove.
6292
6293 * shadowfile.el: Require cl-lib.
6294 (shadow-remove-if): Remove.
6295 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6296 Use cl-remove-if.
6297
6298 * wid-edit.el: Require cl-lib.
6299 (widget-choose): Use cl-remove-if.
6300 (widget-remove-if): Remove.
6301
6302 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6303 (ebrowse-delete-if-not): Remove.
6304 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6305 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6306 Use cl-delete-if-not.
6307
6308 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6309
6310 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6311 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6312
6313 2013-07-12 Leo Liu <sdl.web@gmail.com>
6314
6315 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6316
6317 2013-07-11 Glenn Morris <rgm@gnu.org>
6318
6319 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6320 (edebug-gensym-index, edebug-gensym):
6321 Remove reimplementation of cl-gensym.
6322 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6323
6324 * thumbs.el: Require cl-lib at run-time too.
6325 (thumbs-gensym-counter, thumbs-gensym):
6326 Remove reimplementation of cl-gensym.
6327 (thumbs-temp-file): Use cl-gensym.
6328
6329 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6330 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6331 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6332 (ert--union, ert--gensym-counter, ert--gensym-counter)
6333 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6334 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6335 (ert-make-test-unbound, ert--expand-should-1)
6336 (ert--expand-should, ert--should-error-handle-error)
6337 (should-error, ert--explain-equal-rec)
6338 (ert--plist-difference-explanation, ert-select-tests)
6339 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6340 Use cl-lib functions rather than reimplementations.
6341
6342 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6343
6344 * net/tramp.el (tramp-methods): Extend docstring.
6345 (tramp-connection-timeout): New defcustom.
6346 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6347 (with-tramp-progress-reporter): Simplify.
6348 (tramp-process-actions): Improve messages.
6349
6350 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6351 * net/tramp-sh.el (tramp-maybe-open-connection):
6352 Use `tramp-connection-timeout'.
6353 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6354 (Bug#14808)
6355
6356 2013-07-11 Leo Liu <sdl.web@gmail.com>
6357
6358 * ido.el (ido-read-file-name): Conform to the requirements of
6359 read-file-name. (Bug#11861)
6360 (ido-read-directory-name): Conform to the requirements of
6361 read-directory-name.
6362
6363 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6364
6365 * subr.el (delay-warning): New function.
6366
6367 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6368
6369 * simple.el (default-line-height): New function.
6370 (line-move-partial, line-move): Use it instead of computing the
6371 line height inline.
6372 (line-move-partial): Always compute ROWH. If the last line is
6373 partially-visible, but its text is completely visible, allow
6374 cursor to enter such a partially-visible line.
6375
6376 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6377
6378 Improve error messages. (Bug#14808)
6379
6380 * net/tramp.el (tramp-current-connection): New defvar, moved from
6381 tramp-sh.el.
6382 (tramp-message-show-progress-reporter-message): Remove, not
6383 needed anymore.
6384 (tramp-error-with-buffer): Show message in minibuffer.
6385 Discard input before waiting. Reset connection timestamp.
6386 (with-tramp-progress-reporter): Improve messages.
6387 (tramp-process-actions): Use progress reporter. Delete process in
6388 case of error. Improve messages.
6389
6390 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6391 Call `tramp-error-with-buffer' with vector and buffer.
6392 (tramp-current-connection): Remove.
6393 (tramp-maybe-open-connection): The car of
6394 `tramp-current-connection' are the first 3 slots of the vector.
6395
6396 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6397
6398 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6399 inside continued strings.
6400
6401 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6402
6403 Timestamp fixes for undo (Bug#14824).
6404 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6405
6406 2013-07-10 Leo Liu <sdl.web@gmail.com>
6407
6408 * files.el (require-final-newline): Allow safe local value.
6409 (Bug#14834)
6410
6411 2013-07-09 Leo Liu <sdl.web@gmail.com>
6412
6413 * ido.el (ido-read-directory-name): Handle fallback.
6414 (ido-read-file-name): Update DIR to ido-current-directory.
6415 (Bug#1516)
6416 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6417
6418 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6419
6420 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6421 "autoload". Remove "warn lower camel case" section, previously
6422 commented out. Highlight negation char. Do not highlight the
6423 target in singleton method definitions.
6424
6425 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * faces.el (tty-setup-hook): Declare the hook.
6428
6429 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6430 and detect when a guard/pred depends on local vars (bug#14773).
6431 (pcase--u1): Adjust caller.
6432
6433 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6434
6435 * simple.el (line-move-partial, line-move): Account for
6436 line-spacing.
6437 (line-move-partial): Avoid setting vscroll when the last
6438 partially-visible line in window is of default height.
6439
6440 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6441
6442 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6443 been used a while.
6444
6445 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6446
6447 * subr.el (read-quoted-char): Remove unused local variable `char'.
6448
6449 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6450
6451 * ediff.el (ediff-version): Version update.
6452 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6453 (ediff-merge-with-ancestor-command, ediff-directories-command)
6454 (ediff-directories3-command, ediff-merge-directories-command)
6455 (ediff-merge-directories-with-ancestor-command): New functions.
6456 All are command-line interfaces to ediff: to facilitate calling
6457 Emacs with the appropriate ediff functions invoked.
6458
6459 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6460 (viper-save-kill-buffer): Check if buffer is modified.
6461
6462 * viper.el (viper-version): Version update.
6463 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6464
6465 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6468 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6469 (viper-intercept-ESC-key): Simplify.
6470 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6471 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6472 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6473 (viper-setup-ESC-to-escape): New functions.
6474 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6475 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6476
6477 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6478
6479 * simple.el (default-font-height, window-screen-lines):
6480 New functions.
6481 (line-move, line-move-partial): Use them instead of
6482 frame-char-height and window-text-height. This makes scrolling
6483 text smoother when the buffer's default face uses a font that is
6484 different from the frame's default font.
6485
6486 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6487
6488 * files.el (write-file): Do not display confirm dialog for NS,
6489 it does its own dialog, which can't be cancelled (Bug#14578).
6490
6491 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6492
6493 * simple.el (line-move-partial): Adjust the row returned by
6494 posn-at-point for the current window-vscroll. (Bug#14567)
6495
6496 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6497
6498 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6499 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6500 spaces.
6501
6502 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6503
6504 * window.el (window-state-put-stale-windows): New variable.
6505 (window--state-put-2): Save list of windows without matching buffer.
6506 (window-state-put): Remove "bufferless" windows if possible.
6507
6508 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6509
6510 * simple.el (alternatives-define): Remove leftover :group keyword.
6511 Tweak docstring.
6512
6513 2013-07-06 Leo Liu <sdl.web@gmail.com>
6514
6515 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6516 (ido-enable-virtual-buffers): New variable.
6517 (ido-buffer-internal, ido-toggle-virtual-buffers)
6518 (ido-make-buffer-list): Use it.
6519 (ido-exhibit): Support turning on and off virtual buffers
6520 automatically.
6521
6522 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6523
6524 * simple.el (alternatives-define): New macro.
6525
6526 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6527
6528 * subr.el (read-quoted-char): Use read-key.
6529 (sit-for): Let read-event decode tty input (bug#14782).
6530
6531 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6532
6533 * calendar/todo-mode.el: Add handling of file deletion, both by
6534 mode command and externally. Fix various related bugs.
6535 Clarify Commentary and improve some documentation strings and code.
6536 (todo-delete-file): New command.
6537 (todo-check-file): New function.
6538 (todo-show): Handle external deletion of the file we're trying to
6539 show (bug#14688). Replace called-interactively-p by an optional
6540 prefix argument to avoid problematic interaction with catch form
6541 when byte compiled (bug#14702).
6542 (todo-quit): Handle external deletion of the archive's todo file.
6543 Make sure the buffer that was visiting the archive file is still
6544 live before trying to bury it.
6545 (todo-category-completions): Handle external deletion of any
6546 category completion files.
6547 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6548 of todo files, in case of external deletion.
6549 (todo-add-file): Replace unnecessary setq by let-binding.
6550 (todo-find-archive): Check whether there are any archives.
6551 Replace unnecessary setq by let-binding.
6552 (todo-archive-done-item): Use find-file-noselect to get the
6553 archive buffer whether or not the archive already exists.
6554 Remove superfluous code. Use file size instead of buffer-file-name to
6555 check if the archive is new; if it is, update list of archives.
6556 (todo-default-todo-file): Allow nil to be a valid value for when
6557 there are no todo files.
6558 (todo-reevaluate-default-file-defcustom): Use corrected definition
6559 of todo-default-todo-file.
6560 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6561 (todo-delete-category, todo-show-categories-table)
6562 (todo-category-number): Clarify comment.
6563 (todo-filter-items): Clarify documentation string.
6564 (todo-show-current-file, todo-display-as-todo-file)
6565 (todo-reset-and-enable-done-separator): Tweak documentation string.
6566 (todo-done-separator): Make separator length window-width, since
6567 bug#2749 is now fixed.
6568
6569 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6570
6571 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6572 Support both "gvfs-monitor-dir" and "inotifywait".
6573 (tramp-sh-file-inotifywait-process-filter): Rename from
6574 `tramp-sh-file-notify-process-filter'.
6575 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6576 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6577
6578 2013-07-05 Leo Liu <sdl.web@gmail.com>
6579
6580 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6581
6582 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6583
6584 * frame.el (display-pixel-height, display-pixel-width)
6585 (display-mm-height, display-mm-width): Mention behavior on
6586 multi-monitor setups in docstrings.
6587 (w32-display-monitor-attributes-list): Declare function.
6588 (display-monitor-attributes-list): Use it.
6589
6590 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6591
6592 * filenotify.el: New package.
6593
6594 * autorevert.el (top): Require filenotify.el.
6595 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6596 instead.
6597 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6598 (auto-revert-notify-handler): Use `file-notify-*' functions.
6599
6600 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6601
6602 * net/tramp.el (tramp-file-name-for-operation):
6603 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6604
6605 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6606 for `file-notify-add-watch' and `file-notify-rm-watch'.
6607 (tramp-process-sentinel): Improve trace.
6608 (tramp-sh-handle-file-notify-add-watch)
6609 (tramp-sh-file-notify-process-filter)
6610 (tramp-sh-handle-file-notify-rm-watch)
6611 (tramp-get-remote-inotifywait): New defuns.
6612
6613 2013-07-03 Juri Linkov <juri@jurta.org>
6614
6615 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6616 call of `occur-read-primary-args' to interactive spec.
6617
6618 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6619 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6620
6621 2013-07-03 Matthias Meulien <orontee@gmail.com>
6622
6623 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6624 `Buffer-menu-multi-occur'. Add it to the menu.
6625 (Buffer-menu-mode): Document it in docstring.
6626 (Buffer-menu-multi-occur): New command. (Bug#14673)
6627
6628 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6629
6630 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6631 keywords and built-ins.
6632
6633 2013-07-03 Glenn Morris <rgm@gnu.org>
6634
6635 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6636
6637 Make info-xref checks case-sensitive by default
6638 * info.el (Info-find-node, Info-find-in-tag-table)
6639 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6640 Add option for exact case matching of nodes.
6641 * info-xref.el (info-xref): New custom group.
6642 (info-xref-case-fold): New option.
6643 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6644
6645 2013-07-03 Leo Liu <sdl.web@gmail.com>
6646
6647 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6648
6649 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6650
6651 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6652 middle of block statement initially, lower the depth. Remove
6653 FIXME comment, not longer valid. Remove middle of block statement
6654 detection, no need to do that anymore since we've been using
6655 `ruby-parse-region' here.
6656
6657 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6658
6659 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6660
6661 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6662
6663 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6664
6665 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6666
6667 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6668 (desktop-restore-in-current-display): New customization option.
6669 (desktop--excluded-frame-parameters): Add `font'.
6670 (desktop--save-frames): Rename from desktop--save-windows.
6671 (desktop--restore-in-this-display-p): New function.
6672 (desktop--make-full-frame): Remove unwanted width/height from
6673 full(width|height) frames.
6674 (desktop--restore-frames): Rename from desktop--restore-windows.
6675 Obey desktop-restore-current-display. Do not delete old frames or
6676 select a new frame unless we were able to restore at least one frame.
6677
6678 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6679
6680 * files.el (find-file-noselect): Simplify conditional expression.
6681
6682 * remember.el (remember-append-to-file):
6683 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6684
6685 Add `remember-notes' function to store random notes across Emacs
6686 restarts.
6687 * remember.el (remember-data-file): Add :set callback to affect
6688 notes buffer (if any).
6689 (remember-notes): New command.
6690 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6691 New defcustoms for the `remember-notes' function.
6692 (remember-notes-save-and-bury-buffer): New command.
6693 (remember-notes-mode-map): New variable.
6694 (remember-mode): New minor mode.
6695 (remember-notes--kill-buffer-query): New function.
6696 * startup.el (initial-buffer-choice): Add notes to custom type.
6697
6698 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6699
6700 * bindings.el (right-char, left-char): Don't call sit-for, this is
6701 no longer needed. Use arithmetic comparison only for numerical
6702 arguments.
6703
6704 * international/mule-cmds.el (select-safe-coding-system):
6705 Handle the case of FROM being a string correctly. (Bug#14755)
6706
6707 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6708
6709 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6710 progression on degenerate tables.
6711 (shr-rescale-image): ImageMagick animated images currently don't work.
6712
6713 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6714
6715 Some fixes and improvements for desktop frame restoration.
6716 It is still experimental and disabled by default.
6717 * desktop.el (desktop--save-windows): Put the selected frame at
6718 the head of the list.
6719 (desktop--make-full-frame): New function.
6720 (desktop--restore-windows): Try to re-select the frame that was
6721 selected upon saving. Do not abort if some frames fail to restore,
6722 just show an error message and continue. Set up maximized frames
6723 so they have default non-maximized dimensions.
6724
6725 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6726
6727 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6728 Don't start heredoc inside a string or comment.
6729
6730 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6731
6732 * bindings.el (visual-order-cursor-movement): New defcustom.
6733 (right-char, left-char): Provide visual-order cursor motion by
6734 calling move-point-visually. Update the doc strings.
6735
6736 2013-06-28 Kenichi Handa <handa@gnu.org>
6737
6738 * international/mule.el (define-coding-system): New coding system
6739 properties :inhibit-null-byte-detection,
6740 :inhibit-iso-escape-detection, and :prefer-utf-8.
6741 (set-buffer-file-coding-system): If :charset-list property of
6742 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6743 appropriate for setting.
6744
6745 * international/mule-cmds.el (select-safe-coding-system):
6746 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6747 multibyte characters, return utf-8 (or one of its siblings).
6748
6749 * international/mule-conf.el (prefer-utf-8): New coding system.
6750 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6751 files.
6752
6753 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6754
6755 * net/shr.el (shr-render-region): New function.
6756
6757 * net/eww.el: Autoload `eww-browse-url'.
6758
6759 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6760
6761 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6762 Adapt to `package-desc-version' being a list.
6763 Use `package--ac-desc-version' to retrieve version from a package
6764 archive element.
6765
6766 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6767
6768 New experimental feature to save&restore window and frame setup.
6769 * desktop.el (desktop-save-windows): New defcustom.
6770 (desktop--saved-states): New var.
6771 (desktop--excluded-frame-parameters): New defconst.
6772 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6773 (desktop--restore-windows, desktop--save-windows): New functions.
6774 (desktop-save): Call `desktop--save-windows'.
6775 (desktop-read): Call `desktop--restore-windows'.
6776
6777 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6778
6779 * net/shr.el (add-face-text-property): Remove compat definition.
6780
6781 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6782
6783 * info.el (Info-try-follow-nearest-node): Move search for footnote
6784 above search for node name to prevent missing a footnote (bug#14717).
6785
6786 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6787
6788 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6789
6790 2013-06-27 Leo Liu <sdl.web@gmail.com>
6791
6792 * net/eww.el (eww-read-bookmarks): Check file size.
6793
6794 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6797 advice--pending if newdef is nil or an autoload (bug#13820).
6798 (advice-mapc): New function.
6799
6800 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6801
6802 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6803 probably.
6804 (eww-mode-map): Add a menu bar.
6805 (eww-add-bookmark): New command.
6806 (eww-bookmark-mode): New mode and commands.
6807 (eww-add-bookmark): Remove newlines from the title.
6808 (eww-bookmark-browse): Don't bug out if it's the only window.
6809
6810 2013-06-26 Glenn Morris <rgm@gnu.org>
6811
6812 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6813 (hfy-size): Handle ttys. (Bug#14668)
6814
6815 * info-xref.el: Update for Texinfo 5 change in *note format.
6816 (info-xref-node-re, info-xref-note-re): New constants.
6817 (info-xref-check-buffer): Use info-xref-note-re.
6818
6819 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6822
6823 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6824 nil terminate the loop (bug#14718).
6825
6826 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6827
6828 * net/eww.el: Rework history traversal. When going forward/back,
6829 put these actions into the history, too, so that they can be
6830 replayed.
6831 (eww-render): Move the history reset to the correct buffer.
6832
6833 2013-06-25 Juri Linkov <juri@jurta.org>
6834
6835 * files-x.el (modify-dir-local-variable): Change the header comment
6836 in the file with directory local variables. (Bug#14692)
6837
6838 * files-x.el (read-file-local-variable-value): Add `default'.
6839 (Bug#14710)
6840
6841 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6842
6843 * net/eww.el (eww-make-unique-file-name): Create a unique file
6844 name before saving to entering `y' accidentally asynchronously.
6845
6846 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6847
6848 * net/eww.el (eww-download): New command and keystroke.
6849
6850 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6851
6852 * net/eww.el (eww-copy-page-url): Change name of command.
6853
6854 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6855 be more consistent with Info and dired.
6856
6857 * net/eww.el (eww-mode-map): Ditto.
6858
6859 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6862 packages from archives.
6863 (package-archive-contents): Change format; include obsolete packages.
6864 (package-desc): Use `dir' to mark builtin packages.
6865 (package--from-builtin): Set the `dir' field to `builtin'.
6866 (generated-autoload-file, version-control): Declare.
6867 (package-compute-transaction): Change first arg and return value to be
6868 lists of package-descs. Adjust to new package-archive-contents format.
6869 (package--add-to-archive-contents): Adjust to new
6870 package-archive-contents format.
6871 (package-download-transaction): Arg is now a list of package-descs.
6872 (package-install): If `pkg' is a package name, pass it as
6873 a requirement, so it is subject to the usual (e.g. disabled) checks.
6874 (describe-package): Accept package-desc as well.
6875 (describe-package-1): Describe a specific package-desc. Add links to
6876 other package-descs for the same package name.
6877 (package-menu-describe-package): Pass the actual package-desc.
6878 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6879 works correctly.
6880 (package-desc-status): New function.
6881 (package-menu--refresh): New function, extracted
6882 from package-menu--generate.
6883 (package-menu--generate): Use it.
6884 (package-delete): Update package-alist.
6885 (package-menu-execute): Don't call package-initialize.
6886
6887 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6888 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6889 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6890 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6891 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6892 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6893
6894 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6895
6896 * window.el (window--state-get-1): Workaround for bug#14527.
6897 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6898
6899 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6900
6901 * net/eww.el (eww-back-url): Implement the history by stashing all
6902 the data into a list.
6903 (eww-forward-url): Allow going forward in the history, too.
6904
6905 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6906
6907 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6908 for values and use read--expression for expressions (bug#14710).
6909 (read-file-local-variable): Avoid setq.
6910 (read-file-local-variable-mode): Use minor-mode-list.
6911
6912 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6913
6914 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6915 for DOI URLs.
6916
6917 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6918
6919 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6920 Update imenu-support when dialect changes.
6921
6922 2013-06-25 Leo Liu <sdl.web@gmail.com>
6923
6924 * ido.el (ido-read-internal): Allow forward slash on windows.
6925
6926 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6927
6928 * net/eww.el (eww): Start of strings is \\`, not ^.
6929
6930 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6931
6932 * net/shr.el (shr-browse-url): Fix interactive spec.
6933
6934 * net/eww.el (eww): Add a trailing slash to domain names.
6935
6936 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6937
6938 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6939
6940 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6941
6942 * net/shr.el (shr-browse-url): Use an external browser if given a
6943 prefix.
6944
6945 * net/eww.el (eww-external-browser): Move to shr.
6946
6947 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6948
6949 * net/eww.el (eww): Work more correctly for file: URLs.
6950 (eww-detect-charset): Allow quoted charsets.
6951 (eww-yank-page-url): New command and keystroke.
6952
6953 2013-06-24 Daiki Ueno <ueno@gnu.org>
6954
6955 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6956 file name of gpg executable.
6957 (epg-context-program): New function.
6958 (epg-context-home-directory): New function.
6959 (epg-context-set-program): New function.
6960 (epg-context-set-home-directory): New function.
6961 (epg--start): Use `epg-context-program' instead of
6962 'epg-gpg-program'.
6963 (epg--list-keys-1): Likewise.
6964
6965 2013-06-24 Leo Liu <sdl.web@gmail.com>
6966
6967 * ido.el (ido-read-internal): Fix bug#14620.
6968
6969 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6970
6971 * faces.el (face-documentation): Simplify.
6972 (read-face-attribute, tty-find-type, x-resolve-font-name):
6973 Use `string-match-p'.
6974 (list-faces-display): Use `string-match-p'. Simplify.
6975 (face-spec-recalc): Check face to avoid face alias loops.
6976 (read-color): Use `string-match-p' and non-capturing parenthesis.
6977
6978 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6979
6980 * net/shr.el (shr-rescale-image): Use the new
6981 :max-width/:max-height functionality.
6982
6983 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6984
6985 * net/eww.el (eww-search-prefix): New variable.
6986 (eww): Use it.
6987 (eww-external-browser): New variable.
6988 (eww-mode-map): New keystroke.
6989 (eww-browse-with-external-browser): New command.
6990
6991 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6992
6993 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6994
6995 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6996 Don't skip aligning the next header field when padding is 0;
6997 otherwise, field width is not respected unless the title is as
6998 wide as the field.
6999
7000 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7001
7002 * emacs-lisp/package.el (package-el-version): Remove.
7003 (package-process-define-package): Fix inf-loop.
7004 (package-install): Allow symbols as arguments again.
7005
7006 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7007
7008 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7009 add some more keyword-like methods.
7010 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7011
7012 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7013
7014 * bs.el (bs-buffer-show-mark): Make defvar-local.
7015 (bs-mode): Use setq-local.
7016
7017 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7018 (emacs-lock--try-unlocking): Make defvar-local.
7019
7020 2013-06-22 Glenn Morris <rgm@gnu.org>
7021
7022 * play/cookie1.el (cookie-apropos): Minor simplification.
7023
7024 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7025
7026 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7027
7028 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7029 `regexp-opt', it breaks the build during dumping.
7030
7031 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7032
7033 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7034 Highlight keyword-like methods on Kernel and Module with
7035 font-lock-builtin-face.
7036 (auto-mode-alist): Consolidate different entries into one regexp
7037 and add more *file-s.
7038
7039 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7040
7041 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7042
7043 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7044 (diary-entry): Use it in the action of this button type instead of
7045 diary-goto-entry.
7046
7047 * calendar/todo-mode.el: New version.
7048 (todo-add-category): Append new category to end of file and give
7049 it the highest number, instead of putting it at the beginning and
7050 giving it 0. Incorporate noninteractive functionality.
7051 (todo-forward-category): Adapt to 1-based category numbering.
7052 Allow skipping over archived categories.
7053 (todo-backward-category): Derive from todo-forward-category.
7054 (todo-backward-item, todo-forward-item): Make noninteractive and
7055 delegate interactive part to new commands. Make sensitive to done items.
7056 (todo-categories): Make value an alist of category names and
7057 vectors of item counts.
7058 (todo-category-beg): Make a defconst.
7059 (todo-category-number): Use 1 instead of 0 as initial value.
7060 (todo-category-select): Make sensitive to overlays, optional item
7061 highlighting and done items.
7062 (todo-delete-item): Make sensitive to overlays and marked and done items.
7063 (todo-edit-item): Make sensitive to overlays and editing of
7064 date/time header optional. Add format checks.
7065 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7066 no-op if point is not on an item. Advertise using todo-edit-quit.
7067 (todo-edit-mode): Make sensitive to new format, font-locking, and
7068 multiple todo files.
7069 (todo-insert-item, todo-insert-item-here): Derive from
7070 todo-basic-insert-item and extend functionality.
7071 (todo-item-end, todo-item-start): Make sensitive to done items.
7072 (todo-item-string): Don't return text properties. Restore point.
7073 (todo-jump-to-category): Make sensitive to multiple todo files and
7074 todo archives. Use extended category completion.
7075 (todo-lower-item, todo-raise-item): Rename to *-priority and
7076 derive from todo-set-item-priority.
7077 (todo-mode): Derive from special-mode. Make sensitive to new
7078 format, font-locking and multiple todo files. Make read-only.
7079 (todo-mode-map): Don't suppress digit keys, so they can supply
7080 prefix arguments. Add many new key bindings.
7081 (todo-prefix): Insert as an overlay instead of file text.
7082 Change semantics from diary date expression to purely visual mark.
7083 (todo-print): Rename to todo-print-buffer. Make buffer display
7084 features printable. Remove option to restrict number of items
7085 printed. Add option to print to file.
7086 (todo-print-function): Rename to todo-print-buffer-function.
7087 (todo-quit): Extend to handle exiting new todo modes.
7088 (todo-remove-item): Make sensitive to overlays.
7089 (todo-save): Extend to buffers of filtered items.
7090 (todo-show): Make sensitive to done items, multiple todo files and
7091 new todo modes. Offer to convert legacy todo file before creating
7092 first new todo file.
7093 (todo-show-priorities): Rename to todo-top-priorities.
7094 Change semantics of value 0.
7095 (todo-top-priorities): Rename to todo-filter-top-priorities,
7096 derive from todo-filter-items and extend functionality.
7097 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7098 and extend functionality to other types of filtered items.
7099 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7100 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7101 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7102 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7103 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7104 (todo-edit-mode-hook, todo-entry-prefix-function)
7105 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7106 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7107 (todo-initials, todo-insert-threshold, todo-item-string-start)
7108 (todo-line-string, todo-menu, todo-mode-hook)
7109 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7110 (todo-print-priorities, todo-remove-separator)
7111 (todo-save-top-priorities-too, todo-string-count-lines)
7112 (todo-string-multiline-p, todo-time-string-format)
7113 (todo-tmp-buffer-name): Remove.
7114 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7115 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7116 (todo-edit-category-diary-inclusion)
7117 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7118 (todo-edit-file, todo-edit-item-date-day)
7119 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7120 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7121 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7122 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7123 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7124 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7125 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7126 (todo-filter-top-priorities-multifile, todo-find-archive)
7127 (todo-find-filtered-items-file, todo-go-to-source-item)
7128 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7129 (todo-jump-to-archive-category, todo-lower-category)
7130 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7131 (todo-move-category, todo-move-item, todo-next-button)
7132 (todo-next-item, todo-padded-string, todo-powerset)
7133 (todo-previous-button, todo-previous-item)
7134 (todo-print-buffer-to-file, todo-raise-category)
7135 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7136 (todo-set-category-number, todo-set-item-priority)
7137 (todo-set-top-priorities-in-category)
7138 (todo-set-top-priorities-in-file, todo-show-categories-table)
7139 (todo-sort-categories-alphabetically-or-numerically)
7140 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7141 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7142 (todo-toggle-item-header, todo-toggle-item-highlighting)
7143 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7144 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7145 (todo-unarchive-items, todo-unmark-category): New commands.
7146 (todo-absolute-file-name, todo-add-to-buffer-list)
7147 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7148 (todo-basic-insert-item, todo-category-completions)
7149 (todo-category-number, todo-category-string-matcher-1)
7150 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7151 (todo-check-format, todo-clear-matches)
7152 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7153 (todo-current-category, todo-date-string-matcher)
7154 (todo-define-insertion-command, todo-diary-expired-matcher)
7155 (todo-diary-goto-entry, todo-diary-item-p)
7156 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7157 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7158 (todo-done-item-section-p, todo-done-separator)
7159 (todo-done-string-matcher, todo-files, todo-filter-items)
7160 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7161 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7162 (todo-insert-category-line, todo-insert-item-from-calendar)
7163 (todo-insert-sort-button, todo-insert-with-overlays)
7164 (todo-insertion-command-name, todo-insertion-key-bindings)
7165 (todo-label-to-key, todo-longest-category-name-length)
7166 (todo-make-categories-list, todo-mode-external-set)
7167 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7168 (todo-modes-set-3, todo-multiple-filter-files)
7169 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7170 (todo-read-category, todo-read-date, todo-read-dayname)
7171 (todo-read-file-name, todo-read-time)
7172 (todo-reevaluate-category-completions-files-defcustom)
7173 (todo-reevaluate-default-file-defcustom)
7174 (todo-reevaluate-filelist-defcustoms)
7175 (todo-reevaluate-filter-files-defcustom)
7176 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7177 (todo-reset-done-separator, todo-reset-done-separator-string)
7178 (todo-reset-done-string, todo-reset-global-current-todo-file)
7179 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7180 (todo-reset-prefix, todo-set-categories)
7181 (todo-set-date-from-calendar, todo-set-show-current-file)
7182 (todo-set-top-priorities, todo-short-file-name)
7183 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7184 (todo-total-item-counts, todo-update-buffer-list)
7185 (todo-update-categories-display, todo-update-categories-sexp)
7186 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7187 New functions.
7188 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7189 New major modes.
7190 (todo-categories, todo-display, todo-edit, todo-faces)
7191 (todo-filtered): New defgroups.
7192 (todo-archived-only, todo-button, todo-category-string, todo-date)
7193 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7194 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7195 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7196 (todo-add-item-if-new-category, todo-always-add-time-string)
7197 (todo-categories-align, todo-categories-archived-label)
7198 (todo-categories-category-label, todo-categories-diary-label)
7199 (todo-categories-done-label, todo-categories-number-separator)
7200 (todo-categories-todo-label, todo-categories-totals-label)
7201 (todo-category-completions-files, todo-completion-ignore-case)
7202 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7203 (todo-done-separator-string, todo-done-string)
7204 (todo-files-function, todo-filter-done-items, todo-filter-files)
7205 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7206 (todo-initial-category, todo-initial-file, todo-item-mark)
7207 (todo-legacy-date-time-regexp, todo-mode-line-function)
7208 (todo-nondiary-marker, todo-number-prefix)
7209 (todo-print-buffer-function, todo-show-current-file)
7210 (todo-show-done-only, todo-show-first, todo-show-with-done)
7211 (todo-skip-archived-categories, todo-top-priorities-overrides)
7212 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7213 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7214 New defcustoms.
7215 (todo-category-done, todo-date-pattern, todo-date-string-start)
7216 (todo-diary-items-buffer, todo-done-string-start)
7217 (todo-filtered-items-buffer, todo-item-start)
7218 (todo-month-abbrev-array, todo-month-name-array)
7219 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7220 (todo-top-priorities-buffer): New defconsts.
7221 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7222 (todo-categories-with-marks, todo-category-string-face)
7223 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7224 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7225 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7226 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7227 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7228 (todo-font-lock-keywords, todo-global-current-todo-file)
7229 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7230 (todo-insertion-commands-args)
7231 (todo-insertion-commands-args-genlist)
7232 (todo-insertion-commands-names, todo-insertion-map)
7233 (todo-key-bindings-t, todo-key-bindings-t+a)
7234 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7235 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7236 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7237 (todo-visited): New variables.
7238
7239 2013-06-21 Glenn Morris <rgm@gnu.org>
7240
7241 * play/cookie1.el (cookie-apropos): Add optional display argument.
7242 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7243 (psychoanalyze-pinhead): Use cookie-doctor.
7244
7245 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7246
7247 * emacs-lisp/package.el (tar-get-file-descriptor)
7248 (tar--extract): Declare.
7249
7250 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7251
7252 Extend flymake's warning predicate to be a function (bug#14217).
7253 * progmodes/flymake.el (flymake-warning-predicate): New.
7254 (flymake-parse-line): Use it.
7255 (flymake-warning-re): Make obsolete alias to
7256 `flymake-warning-predicate'.
7257
7258 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7261 (package-obsolete-list): Remove.
7262 (package-activate): Remove min-version argument. Add `force' argument.
7263 Adjust to new package-alist format.
7264 (package-mark-obsolete): Remove.
7265 (package-unpack): Force reload of the package's autoloads.
7266 (package-installed-p): Check builtins if the installed package is not
7267 recent enough.
7268 (package-initialize): Don't reset package-obsolete-list.
7269 Don't specify which package version to activate.
7270 (package-process-define-package, describe-package-1)
7271 (package-menu--generate): Adjust to new package-alist format.
7272
7273 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7274
7275 * allout-widgets.el (allout-widgets-mode-off)
7276 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7277 (allout-widgets-post-command-business)
7278 (allout-widgets-after-copy-or-kill-function)
7279 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7280 (allout-decorate-item-and-context)
7281 (allout-graphics-modification-handler): Fix typos in docstrings.
7282 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7283
7284 * cmuscheme.el (scheme-start-file): Doc fix.
7285 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7286 (scheme-input-filter): Use `string-match-p'.
7287
7288 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7289
7290 * dired-x.el: Use Dired consistently in docstrings.
7291
7292 * dired.el: Use Dired consistently in docstrings.
7293 (dired-readin, dired-mode): Use `setq-local'.
7294 (dired-switches-alist): Make defvar-local.
7295 (dired-buffers-for-dir): Use `zerop'.
7296 (dired-safe-switches-p, dired-switches-escape-p)
7297 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7298 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7299 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7300 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7301 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7302 (dired-toggle-marks, dired-mark-files-containing-regexp)
7303 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7304 (dired-flag-auto-save-files, dired-flag-backup-files):
7305 Use `looking-at-p'.
7306 (dired-mark-files-regexp, dired-build-subdir-alist):
7307 Use `string-match-p', `looking-at-p'.
7308
7309 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7310 (direct-print-region-helper): Use `string-match-p'.
7311
7312 2013-06-21 Leo Liu <sdl.web@gmail.com>
7313
7314 * comint.el (comint-redirect-results-list-from-process):
7315 Fix infinite loop.
7316
7317 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7318
7319 * net/eww.el (eww-update-header-line-format): Quote % characters.
7320
7321 2013-06-21 Glenn Morris <rgm@gnu.org>
7322
7323 * play/cookie1.el (cookie): New custom group.
7324 (cookie-file): New option.
7325 (cookie-check-file): New function.
7326 (cookie): Make it interactive. Make start and end messages optional.
7327 Interactively, display the result. Default to cookie-file.
7328 (cookie-insert): Default to cookie-file.
7329 (cookie-snarf): Make start and end messages optional.
7330 Default to cookie-file. Use with-temp-buffer.
7331 (cookie-read): Rename from read-cookie.
7332 Make start and end messages optional. Default to cookie-file.
7333 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7334 Do not autoload it.
7335 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7336 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7337
7338 2013-06-21 Leo Liu <sdl.web@gmail.com>
7339
7340 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7341
7342 2013-06-21 Glenn Morris <rgm@gnu.org>
7343
7344 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7345
7346 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7347 Daniel Hackney <dan@haxney.org>
7348
7349 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7350 Consolidate the single-file vs tarball code.
7351 (package-desc-suffix): New function.
7352 (package-desc-full-name): Don't bother inlining it.
7353 (package-load-descriptor): Return the new package-desc.
7354 (package-mark-obsolete): Remove unused arg `package'.
7355 (package-unpack): Make it work for single files as well.
7356 Make it update package-alist.
7357 (package--make-autoloads-and-stuff): Rename from
7358 package--make-autoloads-and-compile. Don't compile any more.
7359 (package--compile): New function.
7360 (package-generate-description-file): New function, extracted from
7361 package-unpack-single.
7362 (package-unpack-single): Remove.
7363 (package--with-work-buffer): Add indentation and debugging info.
7364 (package-download-single): Remove.
7365 (package-install-from-archive): Rename from package-download-tar, make
7366 it take a pkg-desc, and make it work for single files as well.
7367 (package-download-transaction): Simplify.
7368 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7369 external tar program.
7370 (package-install-from-buffer): Remove `pkg-desc' argument.
7371 Use package-tar-file-info for tar-mode buffers.
7372 (package-install-file): Simplify accordingly.
7373 (package-archive-base): Change to take a pkg-desc.
7374 * tar-mode.el (tar--check-descriptor): New function, extracted from
7375 tar-get-descriptor.
7376 (tar-get-descriptor): Use it.
7377 (tar-get-file-descriptor): New function.
7378 (tar--extract): New function, extracted from tar-extract.
7379 (tar--extract): Use it.
7380 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7381 case the summary uses non-ascii. Adjust to new calling convention of
7382 package-tar-file-info.
7383
7384 2013-06-21 Leo Liu <sdl.web@gmail.com>
7385
7386 * comint.el (comint-redirect-results-list-from-process):
7387 Fix random delay. (Bug#14681)
7388
7389 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7390
7391 * profiler.el (profiler-format-number): Use log, not log10.
7392
7393 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7394
7395 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7396
7397 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7400 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7401 yet available.
7402 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7403 (AUTOGENEL): ... here.
7404 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7405 (cl--defsubst-expand): Use it.
7406
7407 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7408
7409 * subr.el (log10): Move here from C code, and declare as obsolete.
7410 All uses of (log10 X) replaced with (log X 10).
7411
7412 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7413
7414 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7415 Declare with `defvar-local'.
7416 (tabulated-list-use-header-line, tabulated-list-entries)
7417 (tabulated-list-padding, tabulated-list-printer)
7418 (tabulated-list-sort-key): Declare with `defvar-local'.
7419 (tabulated-list-init-header, tabulated-list-print-fake-header):
7420 Use `setq-local'.
7421
7422 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7423
7424 * arc-mode.el (archive-mode): Add `archive-write-file' to
7425 `write-contents-functions' also for remote files. (Bug#14652)
7426
7427 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7428
7429 * cus-edit.el (custom-commands): Fix typos.
7430 (custom-display): Fix tooltip text.
7431 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7432 Fix typos in docstrings.
7433 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7434 (custom-unlispify-menu-entry, custom-magic-value-create)
7435 (custom-add-see-also, custom-group-value-create): Use ?\s.
7436 (custom-guess-type, customize-apropos, editable-field)
7437 (custom-face-value-create): Use `string-match-p'.
7438 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7439
7440 * custom.el (custom-load-symbol): Use `string-match-p'.
7441
7442 * ansi-color.el: Convert to lexical binding.
7443 (ansi-colors): Fix URL.
7444 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7445 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7446 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7447
7448 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7449
7450 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7451
7452 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7453
7454 2013-06-19 Tom Tromey <tromey@redhat.com>
7455
7456 * net/eww.el (eww-top-url): Remove.
7457 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7458 (eww-render): Set new variables. Don't set eww-top-url.
7459 (eww-handle-link): Handle "prev", "home", and "contents".
7460 Downcase the rel text.
7461 (eww-top-url): Choose best top URL.
7462
7463 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7464
7465 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7466 relying in widget.el. Using widget.el leads to too many
7467 user interface inconsistencies.
7468 (eww-self-insert): Implement entering commands in text fields.
7469 (eww-process-text-input): New function to make text input field editing
7470 work.
7471 (eww-submit): Rewrite to use the new-style form methods.
7472 (eww-select-display): Display the correct selected item.
7473 (eww-change-select): Implement changing the select value.
7474 (eww-toggle-checkbox): Implement radio/checkboxes.
7475 (eww-update-field): Fix compilation error.
7476 (eww-tag-textarea): Implement <textarea>.
7477
7478 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7479 we don't shadow mode-specific bindings.
7480
7481 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7482 nothing to push.
7483
7484 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7485
7486 2013-06-19 Glenn Morris <rgm@gnu.org>
7487
7488 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7489
7490 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7491
7492 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7493 not needed.
7494
7495 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7496
7497 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7498
7499 * net/browse-url.el (browse-url-browser-function):
7500 `eww-browse-url' has the right calling signature, `eww' does not.
7501
7502 2013-06-19 Glenn Morris <rgm@gnu.org>
7503
7504 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7505 Only eval autoloaded macros.
7506 (byte-compile-autoload): Only give the macro warning for macros.
7507
7508 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7509 (ps-underlined-faces): Declare.
7510
7511 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7512 (speedbar-add-supported-extension): Declare.
7513
7514 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7515 Don't include a date stamp in the header of the generated file;
7516 it leads to needless differences between output files.
7517
7518 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7519
7520 * net/secrets.el (secrets-struct-secret-content-type):
7521 Replace check of introspection data by a test call of "CreateItem".
7522 Some servers do not offer introspection.
7523
7524 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7525
7526 * electric.el (electric-pair-mode): Improve interaction with
7527 electric-layout-mode.
7528 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7529 (electric-pair-syntax): Use text-mode-syntax-table in comments
7530 and strings.
7531 (electric-pair--insert): New function.
7532 (electric-pair-post-self-insert-function): Use it and
7533 electric--after-char-pos.
7534
7535 2013-06-19 Leo Liu <sdl.web@gmail.com>
7536
7537 * progmodes/octave.el (octave-help): Fix regexp.
7538
7539 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7540
7541 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7542 (shr-table-horizontal-line): Allow nil as a value, and change the
7543 default.
7544 (shr-insert-table-ruler): Respect the nil value.
7545
7546 2013-06-18 Tom Tromey <tromey@barimba>
7547
7548 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7549 New defvars.
7550 (eww-open-file): New defun.
7551 (eww-render): Initialize new variables.
7552 (eww-display-html): Handle "link" and "a".
7553 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7554 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7555 (eww-back-url): Rename from eww-previous-url.
7556 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7557 New defuns.
7558
7559 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7560
7561 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7562 Distinguish ternary operator tokens from slash symbol and slash
7563 char literal.
7564
7565 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7566
7567 Convert symbol prettification into minor mode and global minor mode.
7568
7569 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7570 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7571 (prettify-symbols--keywords): Rename from
7572 `prog-prettify-symbols-alist' and make a local defvar.
7573 (prettify-symbols--compose-symbol): Rename from
7574 `prog--prettify-font-lock-compose-symbol'.
7575 (prettify-symbols--make-keywords): Rename from
7576 `prog-prettify-font-lock-symbols-keywords' and simplify.
7577 (prog-prettify-install): Remove.
7578 (prettify-symbols-mode): New minor mode, based on
7579 `prog-prettify-install'.
7580 (turn-on-prettify-symbols-mode): New function.
7581 (global-prettify-symbols-mode): New globalized minor mode.
7582
7583 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7584 * progmodes/cfengine.el (cfengine3-mode):
7585 * progmodes/perl-mode.el (perl-mode): Don't call
7586 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7587
7588 2013-06-18 Juri Linkov <juri@jurta.org>
7589
7590 * files-x.el (modify-file-local-variable-message): New function.
7591 (modify-file-local-variable)
7592 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7593 and call `modify-file-local-variable-message' when it's non-nil.
7594 (add-file-local-variable, delete-file-local-variable)
7595 (add-file-local-variable-prop-line)
7596 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7597 and use it. (Bug#9820)
7598
7599 2013-06-18 Juri Linkov <juri@jurta.org>
7600
7601 * emulation/vi.el (vi-shell-op):
7602 * emulation/vip.el (vip-execute-com, ex-command):
7603 * emulation/viper-cmd.el (viper-exec-bang):
7604 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7605 the call of `shell-command-on-region'. (Bug#14637)
7606
7607 * simple.el (shell-command-on-region): Doc fix.
7608
7609 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7612 (bug#14633).
7613
7614 2013-06-18 Glenn Morris <rgm@gnu.org>
7615
7616 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7617
7618 * newcomment.el (comment-search-forward, comment-search-backward):
7619 Doc fix. (Bug#14376)
7620
7621 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7622
7623 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7624 (buffer-face-mode-invoke): Doc fix.
7625
7626 2013-06-18 Matthias Meulien <orontee@gmail.com>
7627
7628 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7629 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7630
7631 2013-06-18 Glenn Morris <rgm@gnu.org>
7632
7633 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7634 Replace obsolete function generic-make-keywords with its expansion.
7635
7636 * progmodes/python.el (ffap-alist): Declare.
7637
7638 * textmodes/reftex.el (bibtex-mode-map): Declare.
7639
7640 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7643 (package-unpack, package-unpack-single): Return the pkg-dir.
7644 (package-download-transaction): Use it to update package-alist.
7645
7646 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7647
7648 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7649 possible choice.
7650
7651 2013-06-17 Juri Linkov <juri@jurta.org>
7652
7653 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7654
7655 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7656
7657 * emacs-lisp/package.el (package-load-descriptor):
7658 Remove `with-syntax-table' call, `read' doesn't need it.
7659 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7660
7661 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7662
7663 * startup.el (command-line): Expand package name returned by
7664 `package--description-file' (bug#14639).
7665
7666 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7667
7668 * emacs-lisp/package.el (package-load-descriptor): Do not call
7669 `emacs-lisp-mode', just use its syntax table.
7670
7671 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7674 `font-lock-extra-managed-props' if any prettifying keyword is added.
7675 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7676 (prog-mode): Use `setq-local'.
7677
7678 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * international/characters.el (standard-case-table): Set syntax of ?»
7681 and ?« to punctuation.
7682
7683 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7684
7685 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7686 Save relevant match data before calling `syntax-ppss' (bug#14595).
7687
7688 2013-06-15 Juri Linkov <juri@jurta.org>
7689
7690 * files-x.el (modify-file-local-variable-prop-line): Add local
7691 variables to the end of the existing comment on the first line.
7692 Use `file-auto-mode-skip' to skip interpreter magic line,
7693 and also skip XML declaration.
7694
7695 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * startup.el (package--builtin-versions): New var.
7698 (package-subdirectory-regexp): Remove.
7699 (package--description-file): Hard code its value instead.
7700
7701 * emacs-lisp/package.el: Don't activate packages older than builtin.
7702 (package-obsolete-list): Rename from package-obsolete-alist, and make
7703 it into a simple list of package-desc.
7704 (package-strip-version): Remove.
7705 (package-built-in-p): Use package--builtin-versions.
7706 (package-mark-obsolete): Simplify.
7707 (package-process-define-package): Mark it obsolete if older than the
7708 builtin version.
7709 (package-handle-response): Use line-end-position.
7710 (package-read-archive-contents, package--download-one-archive):
7711 Simplify.
7712 (package--add-to-archive-contents): Skip if older than the builtin or
7713 installed version.
7714 (package-menu-describe-package): Fix last change.
7715 (package-list-unversioned): New var.
7716 (package-menu--generate): Use it.
7717
7718 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7719 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7720 (autoload-builtin-package-versions): New variable.
7721 (autoload-generate-file-autoloads): Use them.
7722 Remove the list of autoloaded functions/macros from the
7723 (autoload...) comments.
7724
7725 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7726
7727 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7728
7729 * simple.el (line-move-partial): Don't jump to the next screen
7730 line as soon as it becomes visible. Instead, continue enlarging
7731 the vscroll until the portion of a tall screen line that's left on
7732 display is about the height of the frame's default font.
7733 (Bug#14567)
7734
7735 2013-06-15 Glenn Morris <rgm@gnu.org>
7736
7737 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7738 compilation-error-regexp-alist void, or local while let-bound.
7739
7740 * progmodes/make-mode.el (makefile-mode-syntax-table):
7741 Treat "=" as punctuation. (Bug#14614)
7742
7743 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7744
7745 * help-fns.el (describe-variable):
7746 Add extra line for permanent-local variables.
7747
7748 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7749
7750 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7751 Add export, import, library. (Bug#9164)
7752 (library): Set indent function.
7753
7754 2013-06-14 Glenn Morris <rgm@gnu.org>
7755
7756 * term/xterm.el (xterm--query):
7757 Stop after first matching handler. (Bug#14615)
7758
7759 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7760
7761 Add support for dired in saveplace.
7762 * dired.el (dired-initial-position-hook): New variable.
7763 (dired-initial-position): Call hook to place cursor position.
7764 * saveplace.el (save-place-to-alist): Add dired position.
7765 (save-place-dired-hook): New function.
7766
7767 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7770 through a symbol rather than letrec.
7771
7772 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7773 (package-desc): Add `dir' field.
7774 (package-desc-full-name): New function.
7775 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7776 (package-maybe-load-descriptor): Remove.
7777 (package-load-all-descriptors): Just call package-load-descriptor.
7778 (package--disabled-p): New function.
7779 (package-desc-vers, package-desc-doc): Remove aliases.
7780 (package--dir): Remove function.
7781 (package-activate): Check if a package is disabled.
7782 (package-process-define-package): New function, extracted from
7783 define-package.
7784 (define-package): Turn into a place holder.
7785 (package-unpack-single, package-tar-file-info):
7786 Use package--description-file.
7787 (package-compute-transaction): Use package--disabled-p.
7788 (package-download-transaction): Don't call
7789 package-maybe-load-descriptor since they're all loaded anyway.
7790 (package-install): Change argument to be a pkg-desc.
7791 (package-delete): Use a single pkg-desc argument.
7792 (describe-package-1): Use package-desc-dir instead of package--dir.
7793 Use package-desc property instead of package-symbol.
7794 (package-install-button-action): Adjust accordingly.
7795 (package--push): Rewrite.
7796 (package-menu--print-info): Adjust accordingly. Change the ID format
7797 to be a pkg-desc.
7798 (package-menu-describe-package, package-menu-get-status)
7799 (package-menu--find-upgrades, package-menu-mark-upgrades)
7800 (package-menu-execute, package-menu--name-predicate):
7801 Adjust accordingly.
7802 * startup.el (package--description-file): New function.
7803 (command-line): Use it.
7804 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7805 Use package-desc-version.
7806
7807 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7808 (byte-compile-preprocess): Use it.
7809 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7810 can't quite recognize.
7811 (byte-compile-add-to-list): Remove.
7812 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7813 (cconv-closure-convert): Add assertion.
7814
7815 * emacs-lisp/map-ynp.el: Use lexical-binding.
7816 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7817 Factor out some repeated code.
7818
7819 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * subr.el (with-eval-after-load): New macro.
7822 (eval-after-load): Allow form to be a function.
7823 take advantage of lexical-binding.
7824 (do-after-load-evaluation): Use dolist and adjust to new format.
7825 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7826
7827 2013-06-13 Juri Linkov <juri@jurta.org>
7828
7829 * replace.el (perform-replace): Display "symbol " and other search
7830 modes from `isearch-message-prefix' in the *Help* buffer.
7831
7832 * isearch.el (isearch-query-replace): Add " symbol" and other
7833 possible search modes from `isearch-message-prefix' to the prompt.
7834 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7835 when reading a regexp to collect.
7836
7837 2013-06-13 Juri Linkov <juri@jurta.org>
7838
7839 * isearch.el (word-search-regexp): Match whitespace if the search
7840 string begins or ends in whitespace. The LAX arg is applied to
7841 both ends of the search string. Use `regexp-quote' and explicit
7842 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7843 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7844 boundaries are replaced with symbol boundaries, and characters
7845 between symbols match non-word non-symbol syntax. (Bug#14602)
7846
7847 2013-06-13 Juri Linkov <juri@jurta.org>
7848
7849 * isearch.el (isearch-del-char): Don't exceed the length of
7850 `isearch-string' by the prefix arg. (Bug#14563)
7851
7852 2013-06-13 Juri Linkov <juri@jurta.org>
7853
7854 * isearch.el (isearch-yank-word, isearch-yank-line)
7855 (isearch-char-by-name, isearch-quote-char)
7856 (isearch-printing-char, isearch-process-search-char):
7857 Add optional count prefix arg. (Bug#14563)
7858
7859 * international/isearch-x.el
7860 (isearch-process-search-multibyte-characters):
7861 Add optional count prefix arg.
7862
7863 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7864
7865 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7866 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7867 lexical-binding.
7868
7869 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7870
7871 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7872
7873 2013-06-13 Glenn Morris <rgm@gnu.org>
7874
7875 * startup.el (tty-handle-args):
7876 Don't just discard "--" and anything after. (Bug#14608)
7877
7878 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7879
7880 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7881
7882 Implement changes in Secret Service API. Make it backward compatible.
7883 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7884 (secrets-create-item): Use it. Prefix properties with interface.
7885
7886 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7887
7888 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7889 (term-emulate-terminal): Respect term-suppress-hard-newline.
7890
7891 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7892
7893 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7894 Only remove a `thumb-file' overlay. (Bug#14548)
7895
7896 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7897
7898 * mail/reporter.el (reporter-submit-bug-report):
7899 Handle missing package-name. (Bug#14600)
7900
7901 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7902
7903 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7904 (reftex-citation-prompt, reftex-default-bibliography)
7905 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7906 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7907 (reftex-bib-sort-author, reftex-bib-sort-year)
7908 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7909 (reftex-extract-bib-entries-from-thebibliography)
7910 (reftex-get-bibkey-default, reftex-get-bib-names)
7911 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7912 (reftex-format-bib-entry, reftex-parse-bibitem)
7913 (reftex-format-bibitem, reftex-do-citation)
7914 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7915 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7916 (reftex-insert-bib-matches, reftex-format-citation)
7917 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7918 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7919 existing comments into docstrings.
7920
7921 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7922
7923 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7924
7925 2013-06-12 Andreas Schwab <schwab@suse.de>
7926
7927 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7928 for auto-save files.
7929
7930 2013-06-12 Glenn Morris <rgm@gnu.org>
7931
7932 * ido.el (ido-delete-ignored-files): Remove.
7933 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7934 Go back to calling ido-ignore-item-p directly.
7935
7936 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7937
7938 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7939
7940 * ido.el (ido-delete-ignored-files): New function,
7941 split from ido-make-file-list-1.
7942 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7943 (ido-make-file-list-1): Use ido-delete-ignored-files.
7944
7945 2013-06-12 Leo Liu <sdl.web@gmail.com>
7946
7947 * progmodes/octave.el (inferior-octave-startup)
7948 (inferior-octave-completion-table)
7949 (inferior-octave-track-window-width-change)
7950 (octave-eldoc-function-signatures, octave-help)
7951 (octave-find-definition): Use single quoted strings.
7952 (inferior-octave-startup-args): Change default value.
7953 (inferior-octave-startup): Do not hard code "-i" and
7954 "--no-line-editing".
7955 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7956 (inferior-octave-directory-tracker): Use it.
7957 (octave-goto-function-definition): Robustify.
7958 (octave-help): Support highlighting operators in 'See also'.
7959 (octave-find-definition): Find subfunctions only in Octave mode.
7960
7961 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * help-fns.el (help-fns--compiler-macro): If the handler function is
7964 named, then put a link to it.
7965 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7966 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7967 (cl-typep): Use it.
7968 (cl-eval-when): Simplify debug spec.
7969 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7970 compiler-macro function instead of setting `compiler-macro-file'.
7971
7972 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7973
7974 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7975 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7976
7977 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7978 Daniel Hackney <dan@haxney.org>
7979
7980 First part of Daniel Hackney's patch to package.el.
7981 * emacs-lisp/package.el: Use defstruct.
7982 (package-desc): New, main struct.
7983 (package--bi-desc, package--ac-desc): New structs, used to describe the
7984 format in external files.
7985 (package-desc-vers): Replace with package-desc-version accessor.
7986 (package-desc-doc): Replace with package-desc-summary accessor.
7987 (package-activate-1): Remove `package' arg since the pkg-vec now
7988 includes the name.
7989 (define-package): Use package-desc-from-define.
7990 (package-unpack-single): Change file-name arg to be a symbol.
7991 (package--add-to-archive-contents): Use package-desc-create and new
7992 accessor functions to package--ac-desc.
7993 (package-buffer-info, package-tar-file-info): Return a package-desc.
7994 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7995 arg to be a package-desc.
7996 (package-install-file): Adjust accordingly. Use \' to match EOS.
7997 (package--from-builtin): New function.
7998 (describe-package-1, package-menu--generate): Use it.
7999 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8000 (package-generate-autoloads): Idem and return the name of the file.
8001 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8002 Change pkg-info arg to be a package-desc.
8003 Use package-make-ac-desc.
8004 (package-upload-file): Use \' to match EOS.
8005 * finder.el (finder-compile-keywords): Use package-make-builtin.
8006
8007 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * vc/vc.el (vc-deduce-fileset): Change error message.
8010 (vc-read-backend): New function.
8011 (vc-next-action): Use it.
8012
8013 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8014
8015 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8016 (prolog-font-lock-keywords): Use regexp-opt instead.
8017 Don't manually highlight strings.
8018 (prolog-mode-variables): Simplify comment-start-skip.
8019 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8020
8021 * emacs-lisp/generic.el (generic--normalise-comments)
8022 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8023 (generic-mode-set-comments): Use them.
8024 (generic-bracket-support): Use setq-local.
8025 (generic-make-keywords-list): Declare obsolete.
8026
8027 2013-06-11 Glenn Morris <rgm@gnu.org>
8028
8029 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8030 Prettify after setting font-lock-defaults. (Bug#14574)
8031
8032 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8033
8034 * replace.el (query-replace, occur-read-regexp-defaults-function)
8035 (replace-search):
8036 * subr.el (declare-function, number-sequence, local-set-key)
8037 (substitute-key-definition, locate-user-emacs-file)
8038 (with-silent-modifications, split-string, eval-after-load):
8039 Fix typos, remove unneeded backslashes and reflow some docstrings.
8040
8041 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8044 default for Elisp files.
8045
8046 2013-06-11 Glenn Morris <rgm@gnu.org>
8047
8048 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8049 although define-derived-mode was doing this anyway. (Bug#14583)
8050
8051 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8052
8053 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8054 Fix make-variable-buffer-local call to refer to the correct variable.
8055
8056 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8057
8058 * eshell/em-term.el (eshell-visual-commands)
8059 (eshell-visual-subcommands, eshell-visual-options):
8060 Add summary line to docstrings. Add cross-references.
8061
8062 2013-06-10 Glenn Morris <rgm@gnu.org>
8063
8064 * epa.el (epa-read-file-name): New function. (Bug#14510)
8065 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8066
8067 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8068
8069 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8070 output redirection to be ignored with visual commands.
8071
8072 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8073
8074 * eshell/em-term.el (eshell-visual-command-p): New function.
8075 (eshell-term-initialize): Move long lambda to separate function
8076 eshell-visual-command-p.
8077 * eshell/em-dirs.el (eshell-dirs-initialise):
8078 * eshell/em-script.el (eshell-script-initialize):
8079 Add missing #' to lambda.
8080
8081 2013-06-08 Leo Liu <sdl.web@gmail.com>
8082
8083 * progmodes/octave.el (octave-add-log-current-defun): New function.
8084 (octave-mode): Set add-log-current-defun-function.
8085 (octave-goto-function-definition): Do not move point if not found.
8086 (octave-find-definition): Enhance to try subfunctions first.
8087
8088 2013-06-08 Glenn Morris <rgm@gnu.org>
8089
8090 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8091 (byte-compile-backward-char, byte-compile-backward-word):
8092 Improve previous change, to handle non-explicit nil.
8093
8094 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8097 (smie--opener/closer-at-point): New function.
8098 (smie--matching-block-data): Use it. Don't match from right after an
8099 opener or right before a closer. Obey smie-blink-matching-inners.
8100 Don't signal a mismatch for repeated inners like "switch..case..case".
8101
8102 2013-06-07 Leo Liu <sdl.web@gmail.com>
8103
8104 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8105 to t. (Bug#14303)
8106 (octave-function-header-regexp): Fix. (Bug#14570)
8107 (octave-help-mode-finish-hook, octave-help-mode-finish):
8108 Remove. Just use temp-buffer-show-hook.
8109
8110 * newcomment.el (comment-search-backward): Revert last change.
8111 (Bug#14434)
8112
8113 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8114
8115 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8116
8117 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8118 through xargs, to avoid failure due to MS-Windows limitations on
8119 command-line length.
8120
8121 2013-06-06 Glenn Morris <rgm@gnu.org>
8122
8123 * font-lock.el (lisp-font-lock-keywords-2):
8124 Treat user-error like error.
8125
8126 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8127 (byte-compile-backward-char, byte-compile-backward-word):
8128 Handle explicit nil arguments. (Bug#14565)
8129
8130 2013-06-05 Alan Mackenzie <acm@muc.de>
8131
8132 * isearch.el (isearch-allow-prefix): New user option.
8133 (isearch-other-meta-char): Don't exit isearch when a prefix
8134 argument is typed whilst `isearch-allow-prefix' is non-nil.
8135 (Bug#9706)
8136
8137 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 * autorevert.el (auto-revert-notify-handler): Use memq.
8140 Hide assertion failure.
8141
8142 * skeleton.el: Use cl-lib.
8143 (skeleton-further-elements): Use defvar-local.
8144 (skeleton-insert): Use cl-progv.
8145
8146 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8147
8148 * progmodes/prog-mode.el (prog-prettify-symbols)
8149 (prog-prettify-install): Update docstrings.
8150
8151 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * simple.el: Move all the prog-mode code to prog-mode.el.
8154 * progmodes/prog-mode.el: New file.
8155 * loadup.el: Add prog-mode.el.
8156
8157 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8158
8159 * simple.el (prog-prettify-symbols): Add version.
8160 (prog-prettify-install): Add convenience function to prettify symbols.
8161
8162 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8163 (perl--augmented-font-lock-keywords-1)
8164 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8165 variables and use it.
8166
8167 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8168 (cfengine3-mode): Remove unneeded variable and use it.
8169
8170 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8171 (lisp--augmented-font-lock-keywords-1)
8172 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8173 Remove unneeded variables and use it.
8174
8175 2013-06-05 João Távora <joaotavora@gmail.com>
8176
8177 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8178 to point when opening the connection. (Bug#14380)
8179
8180 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8181
8182 * subr.el (load-history-regexp, load-history-filename-element)
8183 (eval-after-load, after-load-functions, do-after-load-evaluation)
8184 (eval-next-after-load, display-delayed-warnings)
8185 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8186 definition of save-match-data.
8187 (overriding-local-map): Remove accidental obsolescence declaration.
8188
8189 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8190
8191 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8192
8193 Generalize symbol prettify support to prog-mode and implement it
8194 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8195 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8196 (prog--prettify-font-lock-compose-symbol)
8197 (prog-prettify-font-lock-symbols-keywords): New variables and
8198 functions to support symbol prettification.
8199 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8200 (lisp--augmented-font-lock-keywords-1)
8201 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8202 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8203 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8204 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8205 Implement prettify of -> => :: strings.
8206 * progmodes/perl-mode.el (perl-prettify-symbols)
8207 (perl--font-lock-compose-symbol)
8208 (perl--font-lock-symbols-keywords): Move to prog-mode.
8209 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8210 (perl-font-lock-keywords-1)
8211 (perl-font-lock-keywords-2): Remove explicit prettify support.
8212 (perl--augmented-font-lock-keywords)
8213 (perl--augmented-font-lock-keywords-1)
8214 (perl--augmented-font-lock-keywords-2, perl-mode):
8215 Implement prettify support.
8216
8217 2013-06-05 Leo Liu <sdl.web@gmail.com>
8218
8219 Re-implement smie matching block highlight using
8220 show-paren-data-function. (Bug#14395)
8221 * emacs-lisp/smie.el (smie-matching-block-highlight)
8222 (smie--highlight-matching-block-overlay)
8223 (smie--highlight-matching-block-lastpos)
8224 (smie-highlight-matching-block)
8225 (smie-highlight-matching-block-mode): Remove.
8226 (smie--matching-block-data-cache): New variable.
8227 (smie--matching-block-data): New function.
8228 (smie-setup): Use smie--matching-block-data for
8229 show-paren-data-function.
8230
8231 * progmodes/octave.el (octave-mode-menu): Fix.
8232 (octave-find-definition): Skip garbage lines.
8233
8234 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 Fix compilation error with simultaneous dynamic+lexical scoping.
8237 Add warning when a defvar appears after the first let-binding.
8238 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8239 (byte-compile-close-variables): Initialize it.
8240 (byte-compile--declare-var): New function.
8241 (byte-compile-file-form-defvar)
8242 (byte-compile-file-form-define-abbrev-table)
8243 (byte-compile-file-form-custom-declare-variable): Use it.
8244 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8245 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8246 (byte-compile-bind): Handle dynamic bindings that shadow
8247 lexical bindings.
8248 (byte-compile-unbind): Make arg non-optional.
8249 (byte-compile-let): Simplify.
8250 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8251 (cconv--analyse-function, cconv-analyse-form): Populate it.
8252 Protect byte-compile-bound-variables to limit the scope of defvars.
8253 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8254 Remove unneeded rule for `declare'.
8255
8256 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8257 so as to avoid depending on cl-adjoin at run-time.
8258 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8259
8260 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8261 (macroexp--warn-and-return): Use it.
8262
8263 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8264
8265 * lisp/subr.el: Convert to lexical binding.
8266 (overriding-local-map): Make obsolete.
8267 (add-to-list): Doc fix. Add compiler macro.
8268 (read-key): Swap values of local maps.
8269
8270 2013-06-05 Leo Liu <sdl.web@gmail.com>
8271
8272 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8273
8274 2013-06-04 Leo Liu <sdl.web@gmail.com>
8275
8276 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8277 (compilation-auto-jump): Suppress the "Mark set" message to give
8278 way to exit message.
8279
8280 2013-06-04 Alan Mackenzie <acm@muc.de>
8281
8282 Remove faulty optimisation from indentation calculation.
8283 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8284 search limit based on 2000 characters back from indent-point.
8285
8286 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8287
8288 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8289
8290 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * emacs-lisp/lisp.el: Use lexical-binding.
8293 (lisp--local-variables-1, lisp--local-variables): New functions.
8294 (lisp--local-variables-completion-table): New var.
8295 (lisp-completion-at-point): Use it complete let-bound vars.
8296
8297 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8298 eagerly (bug#14422).
8299
8300 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8301
8302 * autorevert.el (auto-revert-notify-enabled)
8303 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8304 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8305 (auto-revert-notify-handler): Handle also gfilenotify.
8306
8307 * subr.el (file-notify-handle-event): New defun. Replacing ...
8308 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8309 Remove.
8310
8311 2013-06-03 Juri Linkov <juri@jurta.org>
8312
8313 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8314 `M-s h .'. (Bug#14427)
8315
8316 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8317 command `hi-lock-face-symbol-at-point'.
8318 (hi-lock-face-symbol-at-point): New command.
8319 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8320 (hi-lock-menu): Add `highlight-symbol-at-point'.
8321 (hi-lock-mode): Doc fix.
8322
8323 * isearch.el (isearch-forward-symbol-at-point): New command.
8324 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8325 (isearch-highlight-regexp): Add a regexp which matches
8326 words/symbols for word/symbol mode.
8327
8328 * subr.el (find-tag-default-bounds): New function with the body
8329 mostly moved from `find-tag-default'.
8330 (find-tag-default): Move most code to `find-tag-default-bounds',
8331 call it and apply `buffer-substring-no-properties' afterwards.
8332
8333 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8334
8335 * eshell/em-term.el (eshell-term-initialize):
8336 Use `cl-intersection' rather than `intersection'.
8337
8338 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8339
8340 * vc/log-view.el: Doc fix.
8341 (log-view-mode-map): Copy keymap from `special-mode-map'.
8342
8343 2013-06-02 Eric Ludlam <zappo@gnu.org>
8344
8345 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8346 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8347 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8348 (eieio-unbound, eieio-default-superclass)
8349 (eieio--define-field-accessors, method-static, method-before)
8350 (method-primary, method-after, method-num-lists)
8351 (method-generic-before, method-generic-primary)
8352 (method-generic-after, method-num-slots)
8353 (eieio-specialized-key-to-generic-key)
8354 (eieio--check-type, class-v, class-p)
8355 (eieio-class-name, define-obsolete-function-alias)
8356 (eieio-class-parents-fast, eieio-class-children-fast)
8357 (same-class-fast-p, class-constructor, generic-p)
8358 (generic-primary-only-p, generic-primary-only-one-p)
8359 (class-option-assoc, class-option, eieio-object-p)
8360 (class-abstract-p, class-method-invocation-order)
8361 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8362 (eieio-class-un-autoload, eieio-defclass)
8363 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8364 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8365 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8366 (eieio-defgeneric-reset-generic-form)
8367 (eieio-defgeneric-form-primary-only)
8368 (eieio-defgeneric-reset-generic-form-primary-only)
8369 (eieio-defgeneric-form-primary-only-one)
8370 (eieio-defgeneric-reset-generic-form-primary-only-one)
8371 (eieio-unbind-method-implementations)
8372 (eieio--defmethod, eieio--typep)
8373 (eieio-perform-slot-validation, eieio-validate-slot-value)
8374 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8375 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8376 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8377 (eieio-slot-name-index, eieio-class-slot-name-index)
8378 (eieio-set-defaults, eieio-initarg-to-attribute)
8379 (eieio-attribute-to-initarg, eieio-c3-candidate)
8380 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8381 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8382 (eieio-class-precedence-list, eieio-generic-call-methodname)
8383 (eieio-generic-call-arglst, eieio-generic-call-key)
8384 (eieio-generic-call-next-method-list)
8385 (eieio-pre-method-execution-functions, eieio-generic-call)
8386 (eieio-generic-call-primary-only, eieiomt-method-list)
8387 (eieiomt-optimizing-obarray, eieiomt-install)
8388 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8389 (eieio-generic-form, eieio-defmethod, make-obsolete)
8390 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8391 (defclass): Remove `eval-and-compile' from macro.
8392 (call-next-method, shared-initialize): Instead of using
8393 `scoped-class' variable, use new eieio--scoped-class, and
8394 eieio--with-scoped-class.
8395 (initialize-instance): Rename local variable 'scoped-class' to
8396 'this-class' to remove ambiguitity from old global.
8397
8398 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8399 eieio.el.
8400 (eieio--scoped-class-stack): New variable.
8401 (eieio--scoped-class): New fcn.
8402 (eieio--with-scoped-class): New scoping macro.
8403 (eieio-defclass): Use pushnew instead of add-to-list.
8404 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8405 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8406 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8407 `scoped-class' variable, use new eieio--scoped-class, and
8408 eieio--with-scoped-class.
8409
8410 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8411
8412 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8413
8414 * eshell/esh-ext.el (eshell-external-command): Pass args to
8415 `eshell-find-interpreter'.
8416 (eshell-find-interpreter): Add new second parameter ARGS.
8417
8418 * eshell/em-script.el (eshell-script-initialize): Add second arg
8419 to the function added as MATCH to `eshell-interpreter-alist'.
8420
8421 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8422 the function added as MATCH to `eshell-interpreter-alist'.
8423
8424 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8425 (eshell-visual-options): New defcustom.
8426 (eshell-escape-control-x): Adapt docstring.
8427 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8428 `eshell-visual-options' in addition to `eshell-visual-commands'.
8429 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8430
8431 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8432
8433 * progmodes/python.el (python-indent-block-enders): Add break,
8434 continue and raise keywords.
8435
8436 2013-06-01 Glenn Morris <rgm@gnu.org>
8437
8438 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8439
8440 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8441 * progmodes/cc-cmds.el (delete-forward-p):
8442 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8443 * progmodes/cc-engine.el (buffer-syntactic-context):
8444 * progmodes/cc-fonts.el (face-property-instance):
8445 * progmodes/cc-mode.el (set-keymap-parents):
8446 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8447 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8448 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8449 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8450 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8451
8452 * progmodes/cc-vars.el (other): Emacs has this widget since
8453 at least 21.1, so don't (re)define it.
8454
8455 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8456 Replace the obsolete alias pcomplete-arg-quote-list.
8457
8458 2013-06-01 Leo Liu <sdl.web@gmail.com>
8459
8460 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8461 punctuation syntax.
8462 (inferior-octave-minimal-columns)
8463 (inferior-octave-last-column-width): New variables.
8464 (inferior-octave-track-window-width-change): New function.
8465 (inferior-octave-mode): Adjust column width so that Octave output,
8466 for example from 'ls', can fit into the window nicely.
8467
8468 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8469
8470 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8471 Highlight expansions inside regexp literals.
8472
8473 2013-05-31 Glenn Morris <rgm@gnu.org>
8474
8475 * obsolete/sym-comp.el (symbol-complete):
8476 Replace obsolete completion-annotate-function.
8477
8478 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8479
8480 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8481
8482 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8483 New function, checks if point is inside a literal that allows
8484 expression expansion.
8485 (ruby-syntax-propertize-expansion): Use it.
8486 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8487 around the body.
8488
8489 2013-05-30 Juri Linkov <juri@jurta.org>
8490
8491 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8492 to "\M-si".
8493 (isearch-invisible): New variable.
8494 (isearch-forward): Doc fix.
8495 (isearch-mode): Set `isearch-invisible'
8496 to the value of `search-invisible'.
8497 (isearch-toggle-case-fold): Doc fix.
8498 (isearch-toggle-invisible): New command.
8499 (isearch-query-replace): Let-bind `search-invisible'
8500 to the value of `isearch-invisible'.
8501 (isearch-search): Use `isearch-invisible' instead of
8502 `search-invisible'. Let-bind `search-invisible'
8503 to the value of `isearch-invisible'. (Bug#11378)
8504
8505 2013-05-30 Juri Linkov <juri@jurta.org>
8506
8507 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8508 call when `query-flag' is nil and `search-invisible' is non-nil.
8509 (Bug#11746)
8510
8511 2013-05-30 Glenn Morris <rgm@gnu.org>
8512
8513 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8514
8515 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8516 (cc-require): Suppress spurious "noruntime" warnings.
8517 (cc-require-when-compile): Use fboundp, for sake of compiler.
8518
8519 * progmodes/cc-mode.el: Move load of cc-vars before that of
8520 cc-langs (which in turn loads cc-vars), to quieten compiler.
8521
8522 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * paren.el: Simplify the code.
8525 (show-paren-mode): Always start the timer.
8526 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8527 (show-paren--overlay, show-paren--overlay-1): Rename from
8528 show-paren-overlay and show-paren-overlay-1, and initialize to an
8529 overlay rather than to nil.
8530 (show-paren-function): Misc cleanup and simplifications.
8531
8532 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * paren.el (show-paren-data-function): New hook.
8535 (show-paren--default): New function, extracted from show-paren-function.
8536 (show-paren-function): Use show-paren-data-function.
8537
8538 2013-05-30 Glenn Morris <rgm@gnu.org>
8539
8540 * ielm.el (ielm-map, ielm-complete-symbol):
8541 Use completion-at-point rather than obsolete functions.
8542 (inferior-emacs-lisp-mode): Doc fix.
8543 Set completion-at-point-functions, rather than
8544 comint-dynamic-complete-functions.
8545
8546 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8547 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8548 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8549
8550 * image.el (image-animated-p): Tweak definition.
8551
8552 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8553 (rlogin-process-connection-type): Tweak default. Add set-after.
8554 (rlogin-host): Doc fix.
8555 (rlogin): Tweak prompt.
8556 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8557
8558 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8559 * progmodes/tcl.el (inferior-tcl-mode-map):
8560 Use completion-at-point rather than obsolete alias.
8561
8562 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8563
8564 * minibuffer.el (read-file-name-completion-ignore-case):
8565 Move before completion--in-region, for eager macro expansion.
8566
8567 2013-05-29 Juri Linkov <juri@jurta.org>
8568
8569 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8570 for total count of matching lines. Add `global-matches' for total
8571 count of matches. Rename `matches' to `lines' for count of
8572 matching lines. Add `matches' for count of matches.
8573 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8574 to `prev-line' for line number of prev match endpt.
8575 Increment `matches' for every match. Print the number of
8576 matching lines in the header.
8577 (occur-context-lines): Rename `lines' to `curr-line'.
8578 Rename `prev-lines' to `prev-line'. (Bug#14017)
8579
8580 2013-05-29 Juri Linkov <juri@jurta.org>
8581
8582 * replace.el (perform-replace): Add `skip-read-only-count',
8583 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8584 Increment them for corresponding conditions and report the number
8585 of skipped occurrences in the final message. (Bug#11746)
8586 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8587 (replace-string, replace-regexp): Doc fix.
8588
8589 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8592
8593 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8594 prog-mode-map (bug#14504).
8595
8596 2013-05-29 Leo Liu <sdl.web@gmail.com>
8597
8598 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8599 (octave-help): Small simplification.
8600
8601 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8602 off the highlight first.
8603
8604 2013-05-29 Glenn Morris <rgm@gnu.org>
8605
8606 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8607 Handle idlwave-last-system-routine-info-cons-cell being nil.
8608
8609 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8610 (idlwave-write-paths): Simplify via with-temp-buffer.
8611
8612 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8613 * emulation/cua-rect.el: Also load cua-base at run time.
8614
8615 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8616 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8617 (cperl-imenu-on-info): Require imenu.
8618
8619 2013-05-28 Alan Mackenzie <acm@muc.de>
8620
8621 Handle "capitalised keywords" correctly.
8622 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8623
8624 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8625
8626 * eshell/em-unix.el: Add -r option to cp.
8627
8628 2013-05-28 Glenn Morris <rgm@gnu.org>
8629
8630 * vc/vc-arch.el (vc-exec-after): Declare.
8631 (vc-switches): Autoload.
8632 * vc/vc-bzr.el: No need to require vc when compiling.
8633 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8634 (vc-resynch-buffer, vc-dir-refresh): Declare.
8635 (vc-setup-buffer, vc-switches): Autoload.
8636 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8637 (vc-resynch-buffer): Declare.
8638 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8639 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8640 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8641 (grep-read-regexp, grep-read-files, grep-expand-template)
8642 (vc-dir-refresh): Declare.
8643 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8644 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8645 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8646 * vc/vc-mtn.el (vc-exec-after): Declare.
8647 (vc-switches): Autoload.
8648 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8649 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8650 (vc-file-tree-walk): Declare.
8651 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8652 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8653 (vc-tag-precondition, vc-rename-master): Autoload.
8654 * vc/vc-svn.el (vc-exec-after): Declare.
8655 (vc-switches, vc-setup-buffer): Autoload.
8656 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8657 Autoload.
8658 (vc-resynch-buffer): Declare.
8659
8660 * obsolete/fast-lock.el (byte-compile-warnings):
8661 Don't warn about obsolete features in this obsolete file.
8662
8663 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8664 Move definition before use.
8665
8666 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8667 (dun-unix-verbs): Remove dun-zippy.
8668 (dun-zippy): Remove function.
8669
8670 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8671
8672 2013-05-27 Juri Linkov <juri@jurta.org>
8673
8674 * replace.el (replace-search): New function with code moved out
8675 from `perform-replace'.
8676 (replace-highlight, replace-dehighlight): Move function definitions
8677 up closer to `replace-search'. (Bug#11746)
8678
8679 2013-05-27 Juri Linkov <juri@jurta.org>
8680
8681 * replace.el (perform-replace): Ignore invisible matches.
8682 In addition to checking `query-replace-skip-read-only', also
8683 filter out matches by calling `run-hook-with-args-until-failure'
8684 on `isearch-filter-predicates', and also check `search-invisible'
8685 for t or call `isearch-range-invisible'.
8686 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8687
8688 2013-05-27 Juri Linkov <juri@jurta.org>
8689
8690 * isearch.el (isearch-filter-predicates): Rename from
8691 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8692 (isearch-message-prefix): Display text from the property
8693 `isearch-message-prefix' of the currently active filters.
8694 (isearch-search): Don't compare `isearch-filter-predicate' with
8695 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8696 on `isearch-filter-predicates'. Also check `search-invisible' for t
8697 or call `isearch-range-invisible'.
8698 (isearch-filter-visible): Make obsolete.
8699 (isearch-lazy-highlight-search):
8700 Call `run-hook-with-args-until-failure' on
8701 `isearch-filter-predicates' and use `isearch-range-invisible'.
8702
8703 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8704 `isearch-filter-predicates' instead of `funcall'ing
8705 `isearch-filter-predicate'.
8706 (Info-mode): Set `Info-isearch-filter' to
8707 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8708
8709 * dired-aux.el (dired-isearch-filter-predicate-orig):
8710 Remove variable.
8711 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8712 (dired-isearch-filenames-end): Add and remove
8713 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8714 instead of changing the value of `isearch-filter-predicate'.
8715 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8716 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8717 Put property `isearch-message-prefix' to "filename " on
8718 `dired-isearch-filter-filenames'.
8719
8720 * wdired.el (wdired-change-to-wdired-mode):
8721 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8722 locally instead of changing `isearch-filter-predicate'.
8723 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8724
8725 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8726
8727 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8728 return the commit hash (Bug#14459). Also set the
8729 `vc-git-detached' property.
8730 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8731 (vc-git-mode-line-string): Use the same help-echo format whether
8732 in detached mode or not, because we know the actual revision now.
8733 When in detached mode, shorten the revision to 7 chars.
8734
8735 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * emacs-lisp/easy-mmode.el (define-minor-mode):
8738 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8739 mode hook and provide a docstring.
8740
8741 2013-05-27 Alan Mackenzie <acm@muc.de>
8742
8743 Remove spurious syntax-table text properties inserted by C-y.
8744 * progmodes/cc-mode.el (c-after-change): Also clear hard
8745 syntax-table property with value nil.
8746
8747 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8748
8749 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8750 when reading the events; the buffer layout shall not be changed.
8751
8752 2013-05-27 Leo Liu <sdl.web@gmail.com>
8753
8754 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8755 New variable.
8756 (inferior-octave-directory-tracker): Automatically re-sync
8757 default-directory.
8758 (octave-help): Improve handling of 'See also'.
8759
8760 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8761
8762 * doc-view.el: Minor naming convention tweaks.
8763 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8764
8765 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8766 even if there's no `display' property yet (bug#14435).
8767
8768 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8769
8770 * subr.el (unmsys--file-name): Rename from reveal-filename.
8771
8772 * Makefile.in (custom-deps, finder-data, autoloads)
8773 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8774 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8775 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8776
8777 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8780 error-completion on the first 2 args of condition-case (bug#14446).
8781 Don't burp at EOB.
8782
8783 2013-05-25 Leo Liu <sdl.web@gmail.com>
8784
8785 * comint.el (comint-previous-matching-input): Do not flood the
8786 *Messages* buffer with trivial messages.
8787
8788 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8789
8790 * progmodes/flymake.el (flymake-nop): Don't return a string.
8791 (flymake-set-at): Fix typo.
8792
8793 * simple.el (read--expression): New function, extracted from
8794 eval-expression. Set completion-at-point-functions (bug#14465).
8795 (eval-expression, eval-minibuffer): Use it.
8796
8797 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8798
8799 * progmodes/flymake.el (flymake-save-buffer-in-file)
8800 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8801 (flymake-selected-frame, flymake-log, flymake-ins-after)
8802 (flymake-set-at, flymake-get-buildfile-from-cache)
8803 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8804 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8805 Refine the doc string.
8806 (flymake-get-file-name-mode-and-masks): Reformat.
8807 (flymake-get-real-file-name-function): Fix a minor bug.
8808
8809 2013-05-24 Juri Linkov <juri@jurta.org>
8810
8811 * progmodes/grep.el (grep-mode-font-lock-keywords):
8812 Support =linenumber= format used by git-grep for lines with
8813 function names. (Bug#13549)
8814
8815 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8818 0 after a semi-colon; it works better for smie-auto-fill.
8819 (octave--indent-new-comment-line): New function.
8820 (octave-indent-new-comment-line): Use it (indirectly).
8821 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8822 modify comment-line-break-function.
8823
8824 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8825 (smie-setup): Use add-function to set it.
8826
8827 2013-05-24 Sam Steingold <sds@gnu.org>
8828
8829 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8830 argument (before the `interactive' argument).
8831
8832 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 * image-mode.el (image-mode-winprops): Add winprops to
8835 image-mode-winprops-alist before running
8836 image-mode-new-window-functions.
8837 * doc-view.el (doc-view-new-window-function): Don't delay
8838 doc-view-goto-page via timers (bug#14435).
8839
8840 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8841
8842 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8843 (doc-view-desktop-save-buffer): New function.
8844 (doc-view-restore-desktop-buffer): New function.
8845 (desktop-buffer-mode-handlers):
8846 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8847 handler.
8848 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8849 `desktop-save-buffer' function.
8850
8851 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8852
8853 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8854 (tramp-gvfs-file-name-handler): Raise a user error when
8855 `tramp-gvfs-enabled' is nil.
8856 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8857 Do not raise a user error when loading package. (Bug#14447)
8858
8859 * net/xesam.el: Move to obsolete/.
8860
8861 2013-05-24 Glenn Morris <rgm@gnu.org>
8862
8863 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8864
8865 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8866
8867 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8868 (Info-find-node, Man-getpage-in-background): Declare.
8869
8870 * mail/unrmail.el (unrmail):
8871 Replace obsolete detect-coding-with-priority.
8872
8873 * net/socks.el (socks-split-string): Use this rather than split-string.
8874 (socks-nslookup-host): Update for above change.
8875 (dynamic-choice, s5-dynamic-choice-match)
8876 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8877 Comment out unused code.
8878
8879 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8880 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8881 (gud-tooltip-echo-area): Make obsolete.
8882 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8883
8884 * progmodes/js.el (js--optimize-arglist): Declare.
8885
8886 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8887
8888 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8889 (ediff-window-C): Declare.
8890
8891 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8892 Tweak requires to silence compiler.
8893
8894 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8895 (he-search-string, he-tried-table, he-expand-list)
8896 (he-init-string, he-string-member, he-substitute-string)
8897 (he-reset-string): Declare.
8898
8899 * obsolete/options.el (list-options): Use custom-variable-p,
8900 rather than obsolete alias.
8901
8902 2013-05-23 Sam Steingold <sds@gnu.org>
8903
8904 * simple.el (shell-command-on-region): Pass the `replace' argument
8905 down to `call-process-region' to comply with the doc as reported on
8906 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8907
8908 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * emacs-lisp/smie.el (smie-indent-forward-token)
8911 (smie-indent-backward-token): Handle string tokens (bug#14381).
8912
8913 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8914
8915 * ielm.el (ielm-menu): New menu.
8916 (inferior-emacs-lisp-mode): Set comment-start.
8917
8918 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8919
8920 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8921 Fix deactivate action.
8922
8923 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8924 Add cleveref macros.
8925
8926 * lisp/textmodes/reftex-parse.el
8927 (reftex-locate-bibliography-files): Accept options for
8928 bibliography commands.
8929 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8930 Add addbibresource. Basic Biblatex support.
8931
8932 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8933
8934 * net/tramp-gvfs.el (top):
8935 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8936 when loading package. (Bug#14447)
8937
8938 2013-05-23 Glenn Morris <rgm@gnu.org>
8939
8940 * progmodes/js.el: No need to load comint when compiling.
8941 (ring-insert, comint-send-string, comint-send-input)
8942 (comint-last-input-end, ido-chop): Declare.
8943
8944 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8945 * vc/ediff-mult.el: Adjust requires.
8946 (ediff-directories-internal, ediff-directory-revisions-internal)
8947 (ediff-patch-file-internal): Declare.
8948 * vc/ediff-ptch.el: Adjust requires.
8949 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8950 (ediff-find-file): Autoload.
8951 * vc/ediff-util.el: No need to load ediff when compiling.
8952 (ediff-regions-internal): Declare.
8953 * vc/ediff-wind.el: Adjust requires.
8954 (ediff-compute-toolbar-width): Define when compiling.
8955 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8956 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8957 (dired-get-filename, dired-get-marked-files)
8958 (ediff-last-dir-patch, ediff-patch-default-directory)
8959 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8960 (ediff-patch-buffer-internal): Declare.
8961
8962 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8963 (ispell-process, ispell-buffer-local-words, lm-summary)
8964 (lm-section-start, lm-section-end): Declare.
8965 (checkdoc-ispell-init): Simplify.
8966
8967 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8968 (he-string-member, he-reset-string, he-substitute-string): Declare.
8969
8970 * eshell/em-ls.el: Adjust requires.
8971 (eshell-glob-regexp): Declare.
8972 * eshell/em-tramp.el: Adjust requires.
8973 (eshell-parse-command): Autoload.
8974 * eshell/em-xtra.el: Adjust requires.
8975 (eshell-parse-command): Autoload.
8976 * eshell/esh-ext.el: Adjust requires.
8977 (eshell-parse-command, eshell-close-handles): Autoload.
8978 * eshell/esh-io.el: Adjust requires.
8979 (eshell-output-filter): Autoload.
8980 * eshell/esh-util.el: No need to load tramp when compiling.
8981 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8982 Declare.
8983 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8984 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8985 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8986 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8987 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8988 * eshell/esh-opt.el, eshell/esh-proc.el:
8989 * eshell/esh-var.el: Adjust requires.
8990 * eshell/eshell.el: Do not require esh-util twice.
8991 (eshell-add-input-to-history): Declare.
8992 (eshell-command): Check history module is active before using it.
8993
8994 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8995
8996 2013-05-22 Leo Liu <sdl.web@gmail.com>
8997
8998 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8999
9000 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9001
9002 * autorevert.el (auto-revert-notify-add-watch)
9003 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9004 it indicates changes in file modification time.
9005
9006 2013-05-22 Glenn Morris <rgm@gnu.org>
9007
9008 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9009 Always delete the autoloaded function from the noruntime and
9010 unresolved functions lists.
9011
9012 * allout.el: No need to load epa, epg, overlay when compiling.
9013 (epg-context-set-passphrase-callback, epg-list-keys)
9014 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9015 (epg-key-user-id-list): Declare.
9016
9017 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9018 (viper-set-parsing-style-toggling-macro)
9019 (viper-set-emacs-state-searchstyle-macros):
9020 Use called-interactively-p on Emacs.
9021 (viper-looking-back): Make it an obsolete alias. Update callers.
9022 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9023 Use looking-back rather than viper-looking-back.
9024 (viper-tmp-insert-at-eob, viper-enlarge-region)
9025 (viper-read-string-with-history, viper-register-to-point)
9026 (viper-append-to-register, viper-change-state-to-vi)
9027 (viper-backward-char-carefully, viper-forward-char-carefully)
9028 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9029 (viper-change-state-to-emacs): Declare.
9030 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9031 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9032 * emulation/viper-mous.el: Do not load viper-cmd.
9033 (viper-backward-char-carefully, viper-forward-char-carefully)
9034 (viper-forward-word, viper-adjust-window): Declare.
9035
9036 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9037
9038 * progmodes/idlw-help.el (idlwave-help-fontify):
9039 Use called-interactively-p.
9040
9041 * term/w32console.el (w32-get-console-codepage)
9042 (w32-get-console-output-codepage): Declare.
9043
9044 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9045 Remove unnecessary declarations.
9046 (dframe-message): Doc fix.
9047
9048 * info.el (dframe-select-attached-frame, dframe-current-frame):
9049 Declare.
9050
9051 * speedbar.el (speedbar-message): Make it an obsolete alias.
9052 Update all callers.
9053 (speedbar-with-attached-buffer)
9054 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9055 (speedbar-with-writable): Use backquote.
9056 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9057 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9058 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9059 rather than speedbar- aliases.
9060 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9061 (speedbar-make-specialized-keymap, speedbar-insert-button)
9062 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9063 (speedbar-do-function-pointer): Declare.
9064 (rmail-speedbar-button, rmail-speedbar-find-file)
9065 (rmail-speedbar-move-message):
9066 Use dframe-with-attached-buffer rather than speedbar- alias.
9067 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9068 (dframe-message, speedbar-make-specialized-keymap)
9069 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9070 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9071 (speedbar-insert-button, dframe-select-attached-frame)
9072 (dframe-maybee-jump-to-attached-frame)
9073 (speedbar-change-initial-expansion-list)
9074 (speedbar-previously-used-expansion-list-name): Declare.
9075 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9076 Use dframe-message, dframe-with-attached-buffer rather than
9077 speedbar- aliases.
9078 (gud-sentinel): Silence compiler.
9079 * progmodes/vhdl-mode.el (speedbar-refresh)
9080 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9081 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9082 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9083 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9084 (speedbar-file-lists, speedbar-make-tag-line)
9085 (speedbar-line-directory, speedbar-goto-this-file)
9086 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9087 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9088 (speedbar-make-button, speedbar-reset-scanners)
9089 (speedbar-files-item-info, speedbar-line-text)
9090 (speedbar-find-file-in-frame, speedbar-set-timer)
9091 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9092 (speedbar-with-writable): Do not (re)define it.
9093 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9094 rather than speedbar- alias.
9095
9096 2013-05-21 Leo Liu <sdl.web@gmail.com>
9097
9098 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9099 menu items.
9100 (octave-mode): Tweak fill-nobreak-predicate.
9101 (inferior-octave-startup): Check process to avoid infinite loop.
9102 (inferior-octave): Pop to buffer first to show abornmal process
9103 exit information.
9104
9105 2013-05-21 Glenn Morris <rgm@gnu.org>
9106
9107 * printing.el (pr-menu-bar): Define when compiling.
9108
9109 2013-05-21 Leo Liu <sdl.web@gmail.com>
9110
9111 * progmodes/octave.el (octave-auto-fill): Remove.
9112 (octave-indent-new-comment-line): Improve.
9113 (octave-mode): Use auto fill mode through
9114 comment-line-break-function and fill-nobreak-predicate.
9115 (octave-goto-function-definition): Support DEFUN_DLD.
9116 (octave-beginning-of-defun): Small tweak.
9117 (octave-help): Show parent directory.
9118
9119 2013-05-21 Glenn Morris <rgm@gnu.org>
9120
9121 * files.el (dired-unmark):
9122 * progmodes/gud.el (gdb-input): Update declarations.
9123
9124 * calculator.el (electric, ehelp): No need to load when compiling.
9125 (Electric-command-loop, electric-describe-mode): Declare.
9126
9127 * doc-view.el (doc-view-current-converter-processes): Move before use.
9128
9129 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9130 Move MODE-set-explicitly definition before use.
9131
9132 * international/mule-diag.el (mule-diag):
9133 Don't use obsolete window-system-version.
9134
9135 * mail/feedmail.el (smtpmail): No need to load when compiling.
9136 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9137
9138 * mail/mail-utils.el (rfc822): No need to load when compiling.
9139 (rfc822-addresses): Autoload it.
9140 (mail-strip-quoted-names): Trivial simplification.
9141
9142 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9143 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9144
9145 * net/snmp-mode.el (tempo): Don't duplicate requires.
9146
9147 * progmodes/prolog.el (info): No need to load when compiling.
9148 (comint): Require before shell requires it.
9149 (Info-goto-node): Autoload it.
9150 (Info-follow-nearest-node): Declare.
9151 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9152
9153 * textmodes/artist.el (picture-mode-exit): Declare.
9154
9155 * textmodes/reftex-parse.el (reftex-parse-from-file):
9156 Trivial rewrite so the compiler can parse it better.
9157
9158 2013-05-20 Leo Liu <sdl.web@gmail.com>
9159
9160 * progmodes/octave.el (octave-help-mode-map)
9161 (octave-help-mode-finish-hook): New variables.
9162 (octave-help-mode, octave-help-mode-finish): New functions.
9163 (octave-help): Use octave-help-mode.
9164
9165 2013-05-20 Glenn Morris <rgm@gnu.org>
9166
9167 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9168
9169 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9170
9171 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9172 start at point, so that expansion starting right after opening
9173 slash in a regexp is recognized.
9174 (ruby-syntax-before-regexp-re): New defvar, extracted from
9175 ruby-syntax-propertize-function. Since the value of this regexp
9176 is looked up at runtime now, we should be able to turn
9177 `ruby-syntax-methods-before-regexp' into a defcustom later.
9178 (ruby-syntax-propertize-function): Split regexp matching into two
9179 parts, for opening and closing slashes. That allows us to skip
9180 over string interpolations and support multiline regexps.
9181 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9182 for them, which calls `ruby-syntax-propertize-expansion'.
9183 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9184 call to `ruby-syntax-propertize-function'.
9185 (ruby-syntax-propertize-expansion): Extracted from
9186 `ruby-syntax-propertize-expansions'. Handles one expansion.
9187 (ruby-syntax-propertize-percent-literal): Leave point right after
9188 the percent symbol, so that the expression expansion rule can
9189 propertize the contents.
9190 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9191 heredoc openers.
9192 (ruby-syntax-propertize-expansions): Remove.
9193
9194 2013-05-18 Juri Linkov <juri@jurta.org>
9195
9196 * man.el (Man-default-man-entry): Remove `-' from the end
9197 of the default value. (Bug#14400)
9198
9199 2013-05-18 Glenn Morris <rgm@gnu.org>
9200
9201 * comint.el (comint-password-prompt-regexp):
9202 Allow "password for XXX" where XXX contains colons (eg https://...).
9203
9204 2013-05-18 Leo Liu <sdl.web@gmail.com>
9205
9206 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9207 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9208 (octave-source-directories): Don't check process.
9209 (octave-source-directories, octave-find-definition): Doc fix.
9210
9211 2013-05-18 Glenn Morris <rgm@gnu.org>
9212
9213 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9214 Remove backspace/delete bindings. (Bug#14392)
9215
9216 * cus-dep.el (custom-make-dependencies): Sort the output.
9217 (custom-versions-load-alist): Convert comment to doc.
9218
9219 2013-05-17 Leo Liu <sdl.web@gmail.com>
9220
9221 * newcomment.el (comment-search-backward): Stricter in finding
9222 comment start. (Bug#14303)
9223
9224 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9225 (octave-comment-start-skip): Properly anchored.
9226
9227 2013-05-17 Leo Liu <sdl.web@gmail.com>
9228
9229 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9230 Clean up when turned off. (Bug#14395)
9231 (smie--highlight-matching-block-overlay): No longer buffer-local.
9232 (smie-highlight-matching-block): Adjust.
9233
9234 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9235
9236 Doc string fix for "nanoseconds" (Bug#14406).
9237 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9238 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9239
9240 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9241
9242 * calc/calc-units.el (math-extract-units): Preserve powers
9243 of units.
9244
9245 2013-05-17 Leo Liu <sdl.web@gmail.com>
9246
9247 * subr.el (delete-consecutive-dups): New function.
9248 * ido.el (ido-set-matches-1): Use it.
9249 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9250 * ido.el (ido-remove-consecutive-dups): Remove.
9251
9252 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9253
9254 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9255 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9256 regexp-opt's `words'.
9257
9258 2013-05-16 Leo Liu <sdl.web@gmail.com>
9259
9260 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9261 (smie--highlight-matching-block-overlay)
9262 (smie--highlight-matching-block-lastpos)
9263 (smie--highlight-matching-block-timer): New variables.
9264 (smie-highlight-matching-block): New function.
9265 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9266 (smie-setup): Conditionally enable smie-blink-matching-open.
9267
9268 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9269
9270 Sync with upstream verilog-mode r840.
9271 * progmodes/verilog-mode.el (verilog-mode-version)
9272 (verilog-mode-release-date): Update.
9273 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9274 (verilog-sig-tieoff): Fix string error on
9275 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9276 (verilog-read-decls): Fix parameters confusing
9277 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9278
9279 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9280
9281 * subr.el (reveal-filename): New function.
9282
9283 * loadup.el: Compute Emacs executable versions on MS-Windows,
9284 where executables have the .exe extension. Add a hard link
9285 emacs-XX.YY.ZZ.exe on MS-Windows.
9286
9287 * Makefile.in (XARGS_LIMIT): New variable.
9288 (custom-deps, finder-data, autoloads)
9289 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9290 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9291 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9292 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9293
9294 2013-05-16 Leo Liu <sdl.web@gmail.com>
9295
9296 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9297 (octave-mode-menu, octave-mode-map): Remove its uses.
9298
9299 2013-05-16 Reto Zimmermann <reto@gnu.org>
9300
9301 Sync with upstream vhdl mode v3.34.2.
9302 * progmodes/vhdl-mode.el: Use `push' throughout.
9303 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9304 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9305 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9306 (vhdl-actual-generic-name): New option to derive actual generic name.
9307 (vhdl-port-paste-signals): Replace formal by actual generics.
9308 (vhdl-beautify): New name for old group vhdl-align. Update users.
9309 (vhdl-beautify-options): New option.
9310 (vhdl-last-input-event): New compat alias. Use throughout.
9311 (vhdl-goto-line): Replace user level function `goto-line'.
9312 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9313 vhdl-fix-statement-buffer.
9314 (vhdl-create-mode-menu): Add some entries.
9315 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9316 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9317 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9318 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9319 to force statements on one line.
9320 (vhdl-remove-trailing-spaces-region):
9321 New, split from vhdl-remove-trailing-spaces.
9322 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9323 Respect vhdl-beautify-options.
9324 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9325 (vhdl-update-sensitivity-list): Not add with index if exists without.
9326 Not include array index with signal. Ignore keywords in comments.
9327 (vhdl-get-visible-signals): Regexp tweaks.
9328 (vhdl-template-component-inst): Handle empty library.
9329 (vhdl-template-type): Add template for 'enum' type.
9330 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9331 Use vhdl-replace-string.
9332 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9333 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9334 (vhdl-speedbar-initialize): Update for above name change.
9335 (vhdl-compose-wire-components): Fix in handling of constants.
9336 (vhdl-error-regexp-emacs-alist): New variable.
9337 (vhdl-error-regexp-add-emacs): New function;
9338 adds support for new compile.el (Emacs 22+)
9339 (vhdl-generate-makefile-1): Change target order for single lib. units.
9340 Allow use of absolute file names.
9341
9342 2013-05-16 Leo Liu <sdl.web@gmail.com>
9343
9344 * simple.el (prog-indent-sexp): Indent enclosing defun.
9345
9346 2013-05-15 Glenn Morris <rgm@gnu.org>
9347
9348 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9349 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9350 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9351 (whitespace-highlight): Move to whitespace group.
9352
9353 * comint.el (comint-source):
9354 * pcmpl-linux.el (pcmpl-linux):
9355 * shell.el (shell-faces):
9356 * eshell/esh-opt.el (eshell-opt):
9357 * international/ccl.el (ccl): Remove empty custom groups.
9358
9359 * completion.el (dynamic-completion-mode):
9360 * jit-lock.el (jit-lock-debug-mode):
9361 * minibuffer.el (completion-in-region-mode):
9362 * type-break.el (type-break-mode-line-message-mode)
9363 (type-break-query-mode):
9364 * emulation/tpu-edt.el (tpu-edt-mode):
9365 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9366 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9367 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9368
9369 * term/xterm.el (xterm): Change parent group to terminals.
9370
9371 * master.el (master): Remove empty custom group.
9372 (master-mode): Remove unused :group argument.
9373 * textmodes/refill.el (refill): Remove empty custom group.
9374 (refill-mode): Remove unused :group argument.
9375
9376 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9377
9378 * cus-dep.el: Provide a feature.
9379 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9380 Don't mistakenly ignore files whose basenames match a basename
9381 from preloaded-file-list (eg cedet/ede/simple.el).
9382 Add a fallback method for getting :group.
9383
9384 2013-05-15 Juri Linkov <juri@jurta.org>
9385
9386 * isearch.el (isearch-char-by-name): Rename from
9387 `isearch-insert-char-by-name'. Doc fix.
9388 (isearch-forward): Mention `isearch-char-by-name' in
9389 the docstring. (Bug#13348)
9390
9391 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9392 `exit-minibuffer' instead of
9393 `isearch-nonincremental-exit-minibuffer'.
9394 (isearch-edit-string): Remove mention of
9395 `isearch-nonincremental-exit-minibuffer' from docstring.
9396 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9397 (isearch-forward-exit-minibuffer)
9398 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9399
9400 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9401
9402 * loadup.el: Just use unversioned DOC.
9403
9404 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9405 literals as extending to EOB.
9406 (nxml-last-fontify-end): Remove unused variable.
9407 (nxml-after-change1): Use with-silent-modifications.
9408 (nxml-extend-after-change-region): Simplify.
9409 (nxml-extend-after-change-region1): Remove function.
9410 (nxml-after-change1): Don't adjust for dependent regions.
9411 (nxml-fontify-matcher): Simplify.
9412 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9413 (xmltok-add-dependent): Remove function.
9414 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9415 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9416 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9417 unclosed <[[, <?, comment, and other literals as extending to EOB.
9418 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9419 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9420 Remove functions.
9421 (rng-do-some-validation-1): Don't mark dependent regions.
9422 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9423 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9424 (nxml-clear-dependent-regions): Remove functions.
9425 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9426 (nxml-ensure-scan-up-to-date):
9427 Don't clear&mark dependent regions.
9428
9429 2013-05-15 Leo Liu <sdl.web@gmail.com>
9430
9431 * progmodes/octave.el (octave-goto-function-definition):
9432 Improve and fix callers.
9433
9434 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9435
9436 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9437 the setter (bug#14387).
9438
9439 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9440 surrounding group (bug#14402).
9441
9442 2013-05-14 Juri Linkov <juri@jurta.org>
9443
9444 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9445 (Bug#14390)
9446
9447 2013-05-14 Glenn Morris <rgm@gnu.org>
9448
9449 * progmodes/f90.el (f90-imenu-generic-expression):
9450 Fix typo in 2013-05-08 change. (Bug#14402)
9451
9452 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9453
9454 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9455 Remove signals for which replies are never received.
9456
9457 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9458
9459 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9460 (gdb-handler-alist, gdb-handler-number): Remove variables.
9461 (gdb-handler-list): New variable.
9462 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9463 (gdb-pending-handler-p, gdb-handle-reply)
9464 (gdb-remove-all-pending-triggers): New functions.
9465 (gdb-discard-unordered-replies): New defcustom.
9466 (gdb-handler): New defstruct.
9467 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9468 instead of gdb-pending-triggers. Update docstring.
9469 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9470 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9471 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9472 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9473 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9474 (gdb-frame-handler): Pending triggers are now automatically managed.
9475 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9476 Remove argument.
9477 (gdb-input): Automatically handles pending triggers. Update docstring.
9478 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9479 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9480 Update comments.
9481 (gdb-done-or-error): Now use gdb-handle-reply.
9482
9483 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9484
9485 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9486 gdb-debug-log.
9487
9488 2013-05-14 Glenn Morris <rgm@gnu.org>
9489
9490 * subr.el (user-emacs-directory-warning): New option.
9491 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9492
9493 2013-05-14 Leo Liu <sdl.web@gmail.com>
9494
9495 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9496 during redisplay.
9497 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9498 (octave-font-lock-texinfo-comment): Fix invalid search bound
9499 error: wrong side of point.
9500
9501 2013-05-14 Glenn Morris <rgm@gnu.org>
9502
9503 * progmodes/flymake.el (flymake-xml-program): New option.
9504 (flymake-xml-init): Use it.
9505
9506 * term/xterm.el: Provide a feature.
9507
9508 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9509
9510 2013-05-13 Glenn Morris <rgm@gnu.org>
9511
9512 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9513 Add compat aliases as a hack workaround. (Bug#14384)
9514
9515 2013-05-13 Leo Liu <sdl.web@gmail.com>
9516
9517 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9518 ###, and %!.
9519 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9520 C-M-q.
9521 (octave-comment-start-skip): Include %!.
9522 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9523
9524 2013-05-12 Leo Liu <sdl.web@gmail.com>
9525
9526 * progmodes/octave.el (inferior-octave-startup): Store the value
9527 of __octave_srcdir__ for octave-source-directories.
9528 (inferior-octave-check-process): New function refactored out of
9529 inferior-octave-send-list-and-digest.
9530 (octave-source-directories)
9531 (octave-find-definition-filename-function): New variables.
9532 (octave-source-directories)
9533 (octave-find-definition-default-filename): New functions.
9534 (octave-find-definition): Improve to find functions implemented in C++.
9535
9536 2013-05-12 Glenn Morris <rgm@gnu.org>
9537
9538 * calendar/diary-lib.el (diary-outlook-format-1):
9539 Don't include dayname in the output. (Bug#14349)
9540
9541 2013-05-11 Glenn Morris <rgm@gnu.org>
9542
9543 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9544
9545 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9546 Treat cc-provide like provide.
9547
9548 2013-05-11 Kevin Ryde <user42@zip.com.au>
9549
9550 * cus-dep.el (custom-make-dependencies):
9551 Use generated-autoload-load-name for the sake of files such
9552 such cedet/semantic/bovine/c.el, where the base file name
9553 is not in load-path. (Bug#5277)
9554
9555 2013-05-11 Glenn Morris <rgm@gnu.org>
9556
9557 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9558 Provide features.
9559
9560 2013-05-11 Leo Liu <sdl.web@gmail.com>
9561
9562 * progmodes/octave.el (octave-indent-comment): Improve.
9563 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9564 (octave-eldoc-function-signatures, octave-eldoc-function):
9565 New functions.
9566 (octave-mode, inferior-octave-mode): Add eldoc support.
9567
9568 2013-05-11 Richard Stallman <rms@gnu.org>
9569
9570 * epa.el (epa-decrypt-file): Take output file name as argument
9571 and read it using `interactive'.
9572
9573 2013-05-11 Leo Liu <sdl.web@gmail.com>
9574
9575 * progmodes/octave.el (octave-beginning-of-line)
9576 (octave-end-of-line): Check before using up-list because it jumps
9577 out of more syntactic contructs since moving to smie.
9578 (octave-indent-comment): New function.
9579 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9580 (octave-begin-keywords, octave-end-keywords)
9581 (octave-reserved-words, octave-smie-bnf-table)
9582 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9583
9584 2013-05-11 Glenn Morris <rgm@gnu.org>
9585
9586 * faces.el (internal-face-x-get-resource):
9587 * frame.el (ns-display-monitor-attributes-list):
9588 * calc/calc-aent.el (math-to-radians-2):
9589 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9590 Fix declarations.
9591
9592 * calc/calc-menu.el: Make it loadable in isolation.
9593
9594 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9595 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9596 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9597 (eudc-bbdb-query-internal): Require 'bbdb.
9598
9599 * lpr.el (lpr-headers-switches):
9600 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9601
9602 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9603
9604 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9605
9606 * term.el (term-set-escape-char): Make it idempotent.
9607
9608 2013-05-10 Leo Liu <sdl.web@gmail.com>
9609
9610 * progmodes/octave.el (inferior-octave-completion-table):
9611 No longer a function and all uses changed. Use cache to speed up
9612 completion due to bug#11906.
9613 (octave-beginning-of-defun): Re-write to be more general.
9614
9615 2013-05-10 Glenn Morris <rgm@gnu.org>
9616
9617 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9618
9619 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9620
9621 * comint.el (comint-redirect-send-command-to-process): Use :around
9622 rather than :override for comint-redirect-filter.
9623 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9624 Call it instead of comint-redirect-original-filter-function (which
9625 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9626
9627 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9628
9629 * frame.el (display-monitor-attributes-list): Add NS case.
9630 (ns-display-monitor-attributes-list): Declare.
9631
9632 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9633
9634 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9635
9636 2013-05-09 Glenn Morris <rgm@gnu.org>
9637
9638 * international/fontset.el (vertical-centering-font-regexp):
9639 Set standard-value.
9640
9641 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9642
9643 * bookmark.el (bookmark-search-delay):
9644 * cus-start.el (vertical-centering-font-regexp):
9645 * ps-mule.el (ps-mule-font-info-database-default):
9646 * ps-print.el (ps-default-fg, ps-default-bg):
9647 * type-break.el (type-break-good-break-interval):
9648 * whitespace.el (whitespace-indentation-regexp)
9649 (whitespace-space-after-tab-regexp):
9650 * emacs-lisp/testcover.el (testcover-1value-functions)
9651 (testcover-noreturn-functions, testcover-progn-functions)
9652 (testcover-prog1-functions):
9653 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9654 * eshell/em-glob.el (eshell-glob-translate-alist):
9655 * play/tetris.el (tetris-tty-colors):
9656 * progmodes/cpp.el (cpp-face-default-list):
9657 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9658 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9659 (idlwave-help-browser-generic-args):
9660 * progmodes/make-mode.el (makefile-special-targets-list):
9661 * progmodes/python.el (python-shell-virtualenv-path):
9662 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9663 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9664 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9665 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9666 * textmodes/reftex-vars.el (reftex-format-label-function):
9667 * textmodes/remember.el (remember-diary-file): Fix custom types.
9668
9669 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9670 Add :version.
9671
9672 2013-05-09 Leo Liu <sdl.web@gmail.com>
9673
9674 * progmodes/octave.el (inferior-octave-completion-at-point):
9675 Restore file completion. (Bug#14300)
9676 (inferior-octave-startup): Fix incorrect highlighting for the
9677 first prompt.
9678
9679 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * progmodes/ruby-mode.el: First cut at SMIE support.
9682 (ruby-use-smie): New var.
9683 (ruby-smie-grammar): New constant.
9684 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9685 (ruby-smie--forward-token, ruby-smie--backward-token)
9686 (ruby-smie-rules): New functions.
9687 (ruby-mode-variables): Setup SMIE if applicable.
9688
9689 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9690
9691 * simple.el (line-move-visual): Signal beginning/end of buffer
9692 only if vertical-motion moved less than it was requested. Avoids
9693 silly incorrect error messages when there are display strings with
9694 multiple newlines at EOL.
9695
9696 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9697
9698 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9699 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9700 (prolog-char-quote-workaround):
9701 * progmodes/cperl-mode.el (cperl-under-as-char):
9702 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9703 Mark as obsolete.
9704 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9705 their declaration.
9706 (vhdl-mode-syntax-table-init): Remove.
9707
9708 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9709 last change.
9710
9711 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9712 syntax for "_".
9713 (ld-script-font-lock-keywords):
9714 Change regexps to use things like \_< and \_>.
9715
9716 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9717 Change all regexps to use things like \_< and \_>.
9718
9719 * progmodes/autoconf.el (autoconf-definition-regexp)
9720 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9721 Handle a _ with symbol syntax.
9722 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9723
9724 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9725 Consolidate declaration.
9726 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9727 the declaration.
9728 (ada-create-syntax-table): Remove.
9729 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9730 already has the right syntax nowadays.
9731 (ada-goto-next-word): Don't change the syntax of "_".
9732
9733 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9734 with-wrapper-hook.
9735
9736 2013-05-08 Sam Steingold <sds@gnu.org>
9737
9738 * thingatpt.el (thing-at-point): Accept optional second argument
9739 NO-PROPERTIES to strip the text properties from the return value.
9740 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9741 to `thing-at-point' instead of stripping the properties ourselves.
9742 Also, when `thing-at-point' fails to find a url, prepend "http://"
9743 to the filename at point on the assumption that the user is
9744 pointing at something like gnu.org/gnu.
9745
9746 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9747
9748 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9749 * faces.el (crm-separator):
9750 Silence byte-compiler.
9751
9752 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9753 (tool-bar-map): Remove unneeded defvars.
9754
9755 2013-05-08 Leo Liu <sdl.web@gmail.com>
9756
9757 Re-work a fix for bug#10994 based on Le Wang's patch.
9758 * ido.el (ido-remove-consecutive-dups): New helper.
9759 (ido-completing-read): Use it.
9760 (ido-chop): Revert fix for bug#10994.
9761
9762 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9763
9764 * cus-edit.el (custom-save-variables):
9765 Pretty-print long values. (Bug#14187)
9766
9767 2013-05-08 Glenn Morris <rgm@gnu.org>
9768
9769 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9770 (m4-mode-syntax-table): Init in the defvar.
9771 (m4-mode-abbrev-table): Let define-derived-mode define it.
9772
9773 2013-05-08 Tom Tromey <tromey@redhat.com>
9774
9775 * progmodes/m4-mode.el (m4-mode-syntax-table):
9776 Do not treat "_" as word constituent. (Bug#14167)
9777
9778 2013-05-07 Glenn Morris <rgm@gnu.org>
9779
9780 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9781 Remove explicit eshell-isearch-cancel-map.
9782
9783 * progmodes/f90.el (f90-smart-end-names): New option.
9784 (f90-smart-end): Doc fix.
9785 (f90-end-block-optional-name): New constant.
9786 (f90-block-match): Respect f90-smart-end-names.
9787
9788 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9791 about implicit semi-colons (bug#14218).
9792
9793 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9794
9795 * frame.el (display-monitor-attributes-list)
9796 (frame-monitor-attributes): New functions.
9797
9798 2013-05-06 Leo Liu <sdl.web@gmail.com>
9799
9800 * progmodes/octave.el (octave-syntax-propertize-function): Change
9801 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9802 (octave-font-lock-keywords): Use octave-operator-regexp.
9803 (octave-completion-at-point): Rename from
9804 octave-completion-at-point-function.
9805 (inferior-octave-directory-tracker): Robustify.
9806 (octave-text-functions): Remove and fix its uses. No such things
9807 any more.
9808
9809 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * emacs-lisp/trace.el (trace--display-buffer): New function.
9812 (trace-make-advice): Use it.
9813
9814 2013-05-06 Juri Linkov <juri@jurta.org>
9815
9816 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9817 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9818 Doc fix.
9819 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9820 in the help string. (Bug#12985)
9821
9822 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9823
9824 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9825
9826 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9827
9828 * progmodes/perl-mode.el: Add support for here documents.
9829 (perl-syntax-propertize-function): Match here-doc markers.
9830 (perl-syntax-propertize-special-constructs): Find their end.
9831 (perl-imenu-generic-expression): Use [:alnum:].
9832
9833 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9834 (advice--add-function): Refresh the advice if already present
9835 (bug#14317).
9836
9837 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9838
9839 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9840
9841 2013-05-06 Glenn Morris <rgm@gnu.org>
9842
9843 * w32-fns.el (w32-charset-info-alist): Declare.
9844
9845 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9846 of its defcustom properties.
9847 (eshell-cmpl-initialize): No need to load pcomplete.
9848
9849 * generic-x.el: No need to require comint when compiling.
9850
9851 * net/eudc-export.el: Make it loadable without bbdb.
9852 (top-level): Use require rather than load-library.
9853 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9854 (eudc-batch-export-records-to-bbdb)
9855 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9856 Require bbdb.
9857
9858 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9859
9860 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9861 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9862 some tweaks, instead.
9863
9864 2013-05-05 Leo Liu <sdl.web@gmail.com>
9865
9866 * progmodes/octave.el (octave-font-lock-keywords)
9867 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9868 (inferior-octave-send-list-and-digest): Improve error message.
9869 (octave-mode, inferior-octave-mode): Use setq-local.
9870 (octave-help): Set info-lookup-mode.
9871
9872 2013-05-05 Richard Stallman <rms@gnu.org>
9873
9874 * vc/compare-w.el (compare-windows-whitespace):
9875 Treat no-break space as whitespace.
9876
9877 * mail/rmailsum.el (rmail-summary-rmail-update):
9878 Detect empty summary and don't change selected message.
9879 (rmail-summary-goto-msg): Likewise.
9880
9881 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9882 Doc fixes, rename args.
9883
9884 2013-05-05 Alan Mackenzie <acm@muc.de>
9885
9886 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9887
9888 2013-05-05 Juri Linkov <juri@jurta.org>
9889
9890 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9891 to not add the length of the summary segment to the return value.
9892 (Bug#14125)
9893
9894 2013-05-05 Leo Liu <sdl.web@gmail.com>
9895
9896 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9897 (inferior-octave-output-filter): Remove.
9898 (octave-send-region, inferior-octave-startup): Fix callers.
9899 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9900 (octave-binary-file-extensions): New user variable.
9901 (octave-find-definition): Confirm if opening binary files.
9902 (octave-help-file): Use octave-find-definition to get the binary
9903 confirmation.
9904 (octave-help): Adjust for octave-help-file change.
9905
9906 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9909 Merge the two entries that handle function definitions.
9910 (pascal--syntax-propertize): New const.
9911 (pascal-mode): Use it. Use setq-local.
9912
9913 2013-05-04 Glenn Morris <rgm@gnu.org>
9914
9915 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9916 (diary-from-outlook): Respect diary-from-outlook-function.
9917
9918 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9921 Move the declaration from C.
9922 (read-minibuffer, eval-minibuffer): Move from C.
9923 (completion-setup-function): Avoid minibuffer-completion-contents.
9924
9925 2013-05-03 Leo Liu <sdl.web@gmail.com>
9926
9927 * progmodes/octave.el (octave-font-lock-keywords): Do not
9928 dehighlight 'end' in comments or strings.
9929 (octave-completing-read, octave-goto-function-definition):
9930 New helpers.
9931 (octave-help-buffer): New user variable.
9932 (octave-help-file, octave-help-function): New button types.
9933 (octave-help): New command and bind it to C-h ;.
9934 (octave-find-definition): New command and bind it to M-.
9935 (user-error): Alias to error if not defined.
9936
9937 2013-05-02 Leo Liu <sdl.web@gmail.com>
9938
9939 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9940 for \. (bug#14332)
9941 (octave-font-lock-keywords): Include [ and {.
9942
9943 2013-05-02 Leo Liu <sdl.web@gmail.com>
9944
9945 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9946 (inferior-octave): Remove calling comint-mode and return the buffer.
9947 (inferior-octave-startup): Cosmetic changes.
9948
9949 2013-05-02 Leo Liu <sdl.web@gmail.com>
9950
9951 * progmodes/octave.el (octave-syntax-propertize-function):
9952 Include the case when ' is at line beginning. (Bug#14336)
9953
9954 2013-05-02 Glenn Morris <rgm@gnu.org>
9955
9956 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9957 * desktop.el (vc-dir-mode): Just autoload it here.
9958
9959 2013-05-02 Alan Mackenzie <acm@muc.de>
9960
9961 Eliminate variable c-standard-font-lock-fontify-region-function.
9962 * progmodes/cc-mode.el
9963 (c-standard-font-lock-fontify-region-function): Remove.
9964 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9965
9966 2013-05-01 Leo Liu <sdl.web@gmail.com>
9967
9968 * progmodes/octave.el: Compatible with older emacs-24 releases.
9969 (inferior-octave-has-built-in-variables): Remove. Built-in
9970 variables were removed from Octave in 2007.
9971 (inferior-octave-startup): Fix uses.
9972 (comint-line-beginning-position): Remove compatibility code for
9973 emacs 21.
9974
9975 2013-05-01 Juri Linkov <juri@jurta.org>
9976
9977 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9978
9979 2013-05-01 Juri Linkov <juri@jurta.org>
9980
9981 * comint.el (comint-previous-matching-input): Don't print message
9982 "History item: %d" when `isearch-mode' is active.
9983 (comint-history-isearch-message): Print message "History item: %d"
9984 when `comint-input-ring-index' is not empty and this function is
9985 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9986
9987 2013-05-01 Leo Liu <sdl.web@gmail.com>
9988
9989 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9990 definitions. Use completion-at-point to insert keywords.
9991 (octave-abbrev-start): Remove.
9992 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9993
9994 2013-04-30 Leo Liu <sdl.web@gmail.com>
9995
9996 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9997 change.
9998
9999 2013-04-30 Alan Mackenzie <acm@muc.de>
10000
10001 Handle arbitrarily long C++ member initialisation lists.
10002 * progmodes/cc-engine.el (c-back-over-member-initializers):
10003 new function.
10004 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10005 (most) member init lists.
10006
10007 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10008
10009 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10010 variable.
10011
10012 2013-04-30 Leo Liu <sdl.web@gmail.com>
10013
10014 * progmodes/octave.el (octave-variables): Remove. No builtin
10015 variables any more. All converted to functions.
10016 (octave-font-lock-keywords, octave-completion-at-point-function):
10017 Fix uses.
10018 (octave-font-lock-texinfo-comment): New user variable.
10019 (octave-texinfo-font-lock-keywords): New variable for texinfo
10020 comment block.
10021 (octave-function-comment-block): New face.
10022 (octave-font-lock-texinfo-comment): New function.
10023 (octave-mode): Font lock texinfo comment block.
10024
10025 2013-04-29 Leo Liu <sdl.web@gmail.com>
10026
10027 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10028 indexing expression.
10029 (octave-continuation-string): Do not use \.
10030 (inferior-octave-complete-impossible): Remove.
10031 (inferior-octave-completion-table)
10032 (inferior-octave-completion-at-point): Remove its uses.
10033 (inferior-octave-startup): completion_matches was introduced to
10034 Octave in 1996 so safe to assume it.
10035 (octave-function-file-comment): Improve to follow how Octave does it.
10036 (octave-update-function-file-comment): Tweak.
10037
10038 2013-04-29 Leo Liu <sdl.web@gmail.com>
10039
10040 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10041 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10042 (octave-function-file-comment): Fix typo.
10043 (octave-sync-function-file-names): Use read-char-choice.
10044
10045 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10046
10047 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10048 to t for the less important warnings.
10049
10050 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10051
10052 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10053
10054 2013-04-27 Glenn Morris <rgm@gnu.org>
10055
10056 * vc/log-view.el (log-view-current-entry):
10057 Treat "---" separator lines as part of the following rev. (Bug#14169)
10058
10059 2013-04-27 Juri Linkov <juri@jurta.org>
10060
10061 * subr.el (read-number): Doc fix about using it by interactive
10062 code letter `n'. (Bug#14254)
10063
10064 2013-04-27 Juri Linkov <juri@jurta.org>
10065
10066 * desktop.el (desktop-auto-save-timeout): New option.
10067 (desktop-file-checksum): New variable.
10068 (desktop-save): Add optional arg `auto-save' and don't auto-save
10069 if nothing changed.
10070 (desktop-auto-save-timer): New variable.
10071 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10072 (after-init-hook): Call `desktop-auto-save-set-timer'.
10073 Suggested by Reuben Thomas <rrt@sc3d.org> in
10074 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10075
10076 2013-04-27 Leo Liu <sdl.web@gmail.com>
10077
10078 * progmodes/octave.el (octave-function-file-p)
10079 (octave-skip-comment-forward, octave-function-file-comment)
10080 (octave-update-function-file-comment): New functions.
10081 (octave-mode-map): Bind C-c ; to
10082 octave-update-function-file-comment.
10083 (octave-mode-menu): Add octave-update-function-file-comment.
10084 (octave-mode, inferior-octave-mode): Fix doc-string.
10085 (octave-insert-defun): Conform to Octave's coding convention.
10086 (Bug#14285)
10087
10088 * files.el (basic-save-buffer): Don't let errors in
10089 before-save-hook prevent saving buffer.
10090
10091 2013-04-20 Roland Winkler <winkler@gnu.org>
10092
10093 * faces.el (read-face-name): Use completing-read if arg multiple
10094 is nil.
10095
10096 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10097
10098 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10099 displayed, move point to after the totals line.
10100 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10101 for the details.
10102
10103 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10104
10105 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10106 Add current dir to the load-path.
10107 (package-generate-autoloads): Don't rely on
10108 autoload-ensure-default-file.
10109
10110 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10111
10112 * textmodes/remember.el (remember-store-in-files): Document that
10113 the file name format is passed to `format-time-string'.
10114
10115 2013-04-26 Leo Liu <sdl.web@gmail.com>
10116
10117 * progmodes/octave.el (octave-sync-function-file-names): New function.
10118 (octave-mode): Use it in before-save-hook.
10119
10120 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10121
10122 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10123 (bug#14274).
10124
10125 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10126 \n and comment, even if it's not an implicit ; (bug#14218).
10127
10128 2013-04-26 Glenn Morris <rgm@gnu.org>
10129
10130 * subr.el (read-number): Once more use `read' rather than
10131 `string-to-number', to trap non-numeric input. (Bug#14254)
10132
10133 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10134
10135 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10136 Use `syntax-multiline' text property consistently instead of
10137 `font-lock-multiline'. (Bug#14237)
10138
10139 2013-04-26 Glenn Morris <rgm@gnu.org>
10140
10141 * emacs-lisp/shadow.el (list-load-path-shadows):
10142 No longer necessary to check for duplicate simple.el, since
10143 2012-07-07 change to init_lread to not include installation lisp
10144 directories in load-path when running uninstalled. (Bug#14270)
10145
10146 2013-04-26 Leo Liu <sdl.web@gmail.com>
10147
10148 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10149 (octave-mode, inferior-octave-mode): Use setq-local.
10150 (octave-not-in-string-or-comment-p): Rename to
10151 octave-in-string-or-comment-p.
10152 (octave-in-comment-p, octave-in-string-p)
10153 (octave-in-string-or-comment-p): Replace defsubst with defun.
10154
10155 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10156
10157 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10158
10159 2013-04-25 Bastien Guerry <bzg@gnu.org>
10160
10161 * textmodes/remember.el (remember-data-directory)
10162 (remember-directory-file-name-format): Fix custom types.
10163
10164 2013-04-25 Leo Liu <sdl.web@gmail.com>
10165
10166 * progmodes/octave.el (octave-completion-at-point-function):
10167 Make use of inferior octave process.
10168 (octave-initialize-completions): Remove.
10169 (inferior-octave-completion-table): New function.
10170 (inferior-octave-completion-at-point): Use it.
10171 (octave-completion-alist): Remove.
10172
10173 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10176 (opascal-mode-syntax-table): New var.
10177 (opascal-literal-kind, opascal-is-literal-end)
10178 (opascal-literal-token-at): Rewrite.
10179 (opascal--literal-start-re, opascal-font-lock-keywords)
10180 (opascal--syntax-propertize): New constants.
10181 (opascal-font-lock-defaults): Adjust.
10182 (opascal-mode): Use them. Set comment-<foo> variables as well.
10183 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10184 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10185 (delphi-other-face, opascal-other-face): Remove face variables.
10186 (opascal-save-state): Remove macro.
10187 (opascal-fontifying-progress-step): Remove constant.
10188 (opascal--ignore-changes): Remove var.
10189 (opascal-set-token-property, opascal-parse-next-literal)
10190 (opascal-is-stable-literal, opascal-complete-literal)
10191 (opascal-is-literal-start, opascal-face-of)
10192 (opascal-parse-region, opascal-parse-region-until-stable)
10193 (opascal-fontify-region, opascal-after-change)
10194 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10195 (opascal-debug-parse-region, opascal-debug-parse-window)
10196 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10197 (opascal-debug-fontify-buffer): Remove.
10198 (opascal-debug-mode-map): Adjust accordingly.
10199
10200 2013-04-25 Leo Liu <sdl.web@gmail.com>
10201
10202 Merge octave-mod.el and octave-inf.el into octave.el with some
10203 cleanups.
10204 * progmodes/octave.el: New file renamed from octave-mod.el.
10205 * progmodes/octave-inf.el: Merged into octave.el.
10206 * progmodes/octave-mod.el: Renamed to octave.el.
10207
10208 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10209
10210 * textmodes/reftex-vars.el
10211 (reftex-label-ignored-macros-and-environments): New defcustom.
10212
10213 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10214
10215 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10216
10217 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10218 (smie-indent-keyword): Improve the check to ensure that the next
10219 comment is really on the same line.
10220 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10221
10222 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10223 semi-colons if the line is not otherwise empty (bug#14218).
10224
10225 2013-04-25 Glenn Morris <rgm@gnu.org>
10226
10227 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10228
10229 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * progmodes/opascal.el (opascal-set-token-property): Rename from
10232 opascal-set-text-properties and only set `token' (bug#14134).
10233 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10234 (opascal-literal-text-properties): Remove.
10235 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10236 Adjust callers.
10237
10238 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10239
10240 * textmodes/remember.el (remember-handler-functions): Add an
10241 option for a new handler `remember-store-in-files'.
10242 (remember-data-directory, remember-directory-file-name-format):
10243 New options.
10244 (remember-store-in-files): New function to store remember notes
10245 as separate files within a directory.
10246
10247 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10248
10249 * progmodes/compile.el (compilation-next-error-function):
10250 Pass "formats" to compilation-find-file (bug#11777).
10251
10252 2013-04-24 Glenn Morris <rgm@gnu.org>
10253
10254 * vc/vc-bzr.el (vc-bzr-print-log):
10255 * vc/vc-hg.el (vc-hg-print-log):
10256 * vc/vc-svn.el (vc-svn-print-log):
10257 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10258
10259 * vc/vc-bzr.el (vc-bzr-print-log):
10260 * vc/vc-cvs.el (vc-cvs-print-log):
10261 * vc/vc-git.el (vc-git-print-log):
10262 * vc/vc-hg.el (vc-hg-print-log):
10263 * vc/vc-mtn.el (vc-mtn-print-log):
10264 * vc/vc-rcs.el (vc-rcs-print-log):
10265 * vc/vc-sccs.el (vc-sccs-print-log):
10266 * vc/vc-svn.el (vc-svn-print-log):
10267 * vc/vc.el (vc-print-log-internal): Doc fixes.
10268
10269 2013-04-23 Glenn Morris <rgm@gnu.org>
10270
10271 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10272 Remove venerable code attempting to avoid substitute-command-keys.
10273
10274 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10275
10276 * textmodes/reftex-vars.el (reftex-label-regexps):
10277 Call `reftex-compile-variables' after changes to this variable.
10278
10279 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10282 Use lexical-binding.
10283 (jit-lock-force-redisplay): Use markers, check buffer's continued
10284 existence and beware narrowed buffers.
10285 (jit-lock-fontify-now): Adjust call accordingly.
10286
10287 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10290 to avoid misleading the user.
10291
10292 2013-04-22 Leo Liu <sdl.web@gmail.com>
10293
10294 * info-look.el: Prefer latex2e.info. (Bug#14240)
10295
10296 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10297
10298 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10299
10300 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10301 * net/tramp.el (tramp-call-process): ... here.
10302 (tramp-set-completion-function, tramp-parse-putty):
10303 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10304 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10305 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10306 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10307 (tramp-call-local-coding-command): Use `tramp-call-process'
10308 instead of `tramp-compat-call-process'.
10309
10310 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10311 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10312 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10313 (tramp-find-inline-compress): Improve traces.
10314 (tramp-maybe-send-script): Check for Perl binary.
10315 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10316
10317 2013-04-22 Daiki Ueno <ueno@gnu.org>
10318
10319 * epg.el (epg-context-pinentry-mode): New function.
10320 (epg-context-set-pinentry-mode): New function.
10321 (epg--start): Pass --pinentry-mode option to gpg command.
10322
10323 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10324
10325 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10326 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10327 `completion-at-point'. (Bug#13774)
10328
10329 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10330 default key binding for `describe-distribution' has been moved to
10331 `C-h C-o'. (Bug#13970)
10332
10333 2013-04-21 Glenn Morris <rgm@gnu.org>
10334
10335 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10336 Add doc strings.
10337 (vc-print-log): Clarify interactive prompt.
10338
10339 2013-04-20 Glenn Morris <rgm@gnu.org>
10340
10341 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10342 No longer include timestamp etc information.
10343
10344 2013-04-20 Roland Winkler <winkler@gnu.org>
10345
10346 * faces.el (read-face-name): Bug fix, return just one face if arg
10347 multiple is nil. (Bug#14209)
10348
10349 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10350
10351 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10352 (remove-function): Autoload.
10353
10354 * comint.el (comint-redirect-original-filter-function): Remove.
10355 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10356 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10357 (vc-cvs-annotate-command):
10358 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10359 * progmodes/prolog.el (prolog-consult-compile):
10360 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10361 Use add/remove-function instead.
10362 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10363 (gud-tooltip-process-output, gud-tooltip-tips):
10364 Use add/remove-function instead.
10365 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10366 (scheme-interaction-mode, exit-scheme-interaction-mode):
10367 Use add/remove-function instead.
10368
10369 * vc/vc-dispatcher.el: Use lexical-binding.
10370 (vc--process-sentinel): Rename from vc-process-sentinel.
10371 Change last arg to be the code to run. Don't use vc-previous-sentinel
10372 and vc-sentinel-commands any more.
10373 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10374 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10375
10376 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10377
10378 * progmodes/sh-script.el (sh-imenu-generic-expression):
10379 Handle function names with a single character. (Bug#14111)
10380
10381 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10382
10383 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10384 for subroutines defined in an eval (bug#14182).
10385
10386 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10387
10388 * bookmark.el (bookmark-completing-read): Improve handling of empty
10389 string (bug#14176).
10390
10391 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10394
10395 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10396
10397 New faster Imenu implementation (bug#14058).
10398 * progmodes/python.el:
10399 (python-imenu-prev-index-position):
10400 (python-imenu-format-item-label-function)
10401 (python-imenu-format-parent-item-label-function)
10402 (python-imenu-format-parent-item-jump-label-function):
10403 New vars.
10404 (python-imenu-format-item-label)
10405 (python-imenu-format-parent-item-label)
10406 (python-imenu-format-parent-item-jump-label)
10407 (python-imenu--put-parent, python-imenu--build-tree)
10408 (python-imenu-create-index, python-imenu-create-flat-index)
10409 (python-util-popn): New functions.
10410 (python-mode): Set imenu-create-index-function to
10411 python-imenu-create-index.
10412
10413 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * winner.el (winner-active-region): Use region-active-p, activate-mark
10416 and deactivate-mark (bug#14225).
10417
10418 * simple.el (deactivate-mark): Don't inline it.
10419
10420 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10421
10422 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10423
10424 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10425
10426 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10427 file extensions from the archive-mode entry in order to prefer
10428 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10429
10430 2013-04-18 Leo Liu <sdl.web@gmail.com>
10431
10432 * bindings.el (help-event-list): Add ?\?.
10433
10434 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * subr.el (with-wrapper-hook): Declare obsolete.
10437 * simple.el (filter-buffer-substring-function): New hook.
10438 (filter-buffer-substring): Use it.
10439 (filter-buffer-substring-functions): Mark obsolete.
10440 * minibuffer.el (completion-in-region-function): New hook.
10441 (completion-in-region): Use it.
10442 (completion-in-region-functions): Mark obsolete.
10443 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10444 * abbrev.el (abbrev-expand-function): New hook.
10445 (expand-abbrev): Use it.
10446 (abbrev-expand-functions): Mark obsolete.
10447 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10448 and :filter-return.
10449
10450 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10451
10452 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10453 and do not care about match data.
10454
10455 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10456
10457 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10458 completion tables when completing error conditions and
10459 `declare' arguments.
10460 (lisp-complete-symbol, field-complete): Mark as obsolete.
10461 (check-parens): Unmatched parens are user errors.
10462 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10463
10464 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10465
10466 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10467 command changed buffer (ie. `flyspell-pre-buffer' is not current
10468 buffer), which prevents making decisions based on invalid value of
10469 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10470 cause an error when `flyspell-pre-point' was nil after switching
10471 buffers.
10472 (flyspell-post-command-hook): No longer needs to change buffers when
10473 checking pre-word. While at it remove unnecessary progn.
10474
10475 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10476
10477 * textmodes/ispell.el (ispell-add-per-file-word-list):
10478 Fix `flyspell-correct-word-before-point' error when accepting
10479 words and `coment-padding' is an integer by using
10480 `comment-normalize-vars' (Bug #14214).
10481
10482 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10483
10484 New defun movement commands.
10485 * progmodes/python.el (python-nav--syntactically)
10486 (python-nav--forward-defun, python-nav-backward-defun)
10487 (python-nav-forward-defun): New functions.
10488
10489 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10490
10491 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10492 (python-syntax-context): Use named compiler-macro for backwards
10493 compatibility with Emacs 24.x.
10494
10495 2013-04-17 Leo Liu <sdl.web@gmail.com>
10496
10497 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10498 octave-hide-process-buffer.
10499
10500 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10501
10502 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10503 (bug#14216).
10504
10505 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10506
10507 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10508 Fix adjustment of offset when receiving incomplete responses from GDB
10509 (bug#14129).
10510
10511 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10514 python-mode-abbrev-table.
10515 (python-skeleton-define): Adjust accordingly.
10516 (python-mode-abbrev-table): New table that inherits from it so that
10517 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10518
10519 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10520 (abbrev-symbol): Use it.
10521 (abbrev--before-point): Use it since we already handle inheritance.
10522
10523 2013-04-16 Leo Liu <sdl.web@gmail.com>
10524
10525 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10526 binding to info-lookup-symbol.
10527
10528 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10529
10530 * minibuffer.el (completion--twq-all):
10531 * term/ns-win.el (ns-initialize-window-system):
10532 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10533
10534 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10537 global bindings.
10538
10539 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10540
10541 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10542
10543 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10544 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10545 to nil.
10546 (ruby-end-of-defun): Remove the unused arg, change the docstring
10547 to reflect that this function is only used as the value of
10548 `end-of-defun-function'.
10549 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10550 to reflect an earlier change that beginning/end-of-defun functions
10551 jump between methods in a class definition, as well as top-level
10552 functions.
10553
10554 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * minibuffer.el (minibuffer-complete): Don't just scroll
10557 a *Completions* that's been iconified.
10558 (minibuffer-force-complete): Make sure repetitions do cycle when going
10559 through completion-in-region -> minibuffer-complete.
10560
10561 2013-04-15 Alan Mackenzie <acm@muc.de>
10562
10563 Correct the placement of c-cpp-delimiters when there're #s not at
10564 col 0.
10565
10566 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10567 place a submatch around the #.
10568 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10569 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10570 on the #, not BOL.
10571
10572 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10575 (advice--member-p): New arg `name'.
10576 (advice--add-function, advice-member-p): Use it (bug#14202).
10577
10578 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10579
10580 Reformulate java imenu-generic-expression.
10581 The old expression contained ill formed regexps.
10582
10583 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10584 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10585 (cc-imenu-java-method-arg-regexp): New defconsts.
10586 (cc-imenu-java-build-type-args-regex): New defun.
10587 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10588 handling of spaces in the regexp.
10589
10590 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10591
10592 * textmodes/ispell.el (ispell-command-loop): Remove
10593 flyspell highlight of a word when ispell accepts it (bug #14178).
10594
10595 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10596
10597 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10598 uses code from the previous `ange-ftp-run-real-handler'.
10599 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10600 only in case that function exist. This is needed for proper
10601 unloading of Tramp.
10602
10603 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10604
10605 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10606
10607 * textmodes/reftex.el (reftex-compile-variables): Use it.
10608
10609 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 * files.el (normal-mode): Only use default major-mode if no other mode
10612 was specified.
10613
10614 * emacs-lisp/trace.el (trace-values): New function.
10615
10616 * files.el: Allow : in local variables (bug#14089).
10617 (hack-local-variable-regexp): New var.
10618 (hack-local-variables-prop-line, hack-local-variables): Use it.
10619
10620 2013-04-13 Roland Winkler <winkler@gnu.org>
10621
10622 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10623 data before it gets modified by bibtex-beginning-of-entry.
10624
10625 2013-04-13 Roland Winkler <winkler@gnu.org>
10626
10627 * textmodes/bibtex.el (bibtex-url): Doc fix.
10628
10629 2013-04-13 Roland Winkler <winkler@gnu.org>
10630
10631 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10632 does not visit a BibTeX file, exclude it from the list of buffers
10633 returned by bibtex-initialize.
10634
10635 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10636
10637 * window.el (split-window): Remove interactive form, since as a
10638 command this function is a special case of split-window-below.
10639 Correct doc string.
10640
10641 2013-04-12 Roland Winkler <winkler@gnu.org>
10642
10643 * faces.el (read-face-name): Do not override value of arg default.
10644 Allow single faces and strings as default values. Remove those
10645 elements from return value that are not faces.
10646 (describe-face): Simplify.
10647 (face-at-point): New optional args thing and multiple so that this
10648 function can provide the same functionality previously provided by
10649 read-face-name.
10650 (make-face-bold, make-face-unbold, make-face-italic)
10651 (make-face-unitalic, make-face-bold-italic, invert-face)
10652 (modify-face, read-face-and-attribute): Use face-at-point.
10653
10654 * cus-edit.el (customize-face, customize-face-other-window)
10655 * cus-theme.el (custom-theme-add-face)
10656 * face-remap.el (buffer-face-set)
10657 * facemenu.el (facemenu-set-face): Use face-at-point.
10658
10659 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10660
10661 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10662
10663 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10664
10665 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10666 off leading { and trailing } from field values.
10667
10668 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10669
10670 * emacs-lisp/timer.el (timer--check): New function.
10671 (timer--time, timer-set-function, timer-event-handler): Use it.
10672 (timer-set-idle-time): Simplify.
10673 (timer--activate): CSE.
10674 (timer-event-handler): Give more info in error message.
10675 (internal-timer-start-idle): New function, moved from C.
10676
10677 * mpc.el (mpc-proc): Add `restart' argument.
10678 (mpc-proc-cmd): Use it.
10679 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10680 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10681 less often.
10682
10683 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10684
10685 * progmodes/sh-script.el: Implement `sh-mode' own
10686 `add-log-current-defun-function' (bug#14112).
10687 (sh-current-defun-name): New function.
10688 (sh-mode): Use the function.
10689
10690 2013-04-09 Bastien Guerry <bzg@gnu.org>
10691
10692 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10693
10694 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10697
10698 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10699 timer (bug#14156).
10700
10701 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10702
10703 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10704 declaration.
10705
10706 2013-04-07 Leo Liu <sdl.web@gmail.com>
10707
10708 * pcmpl-x.el: New file.
10709
10710 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10711
10712 Do not set x-display-name until X connection is established.
10713 This is needed to prevent from weird situation described at
10714 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10715 * frame.el (make-frame): Set x-display-name after call to
10716 window system initialization function, not before.
10717 * term/x-win.el (x-initialize-window-system): Add optional
10718 display argument and use it.
10719 * term/w32-win.el (w32-initialize-window-system):
10720 * term/ns-win.el (ns-initialize-window-system):
10721 * term/pc-win.el (msdos-initialize-window-system):
10722 Add compatible optional display argument.
10723
10724 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10725
10726 * files.el (normal-backup-enable-predicate): On MS-Windows and
10727 MS-DOS compare truenames of temporary-file-directory and of the
10728 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10729 don't fail comparison by compare-strings. Also, compare file
10730 names case-insensitively on MS-Windows and MS-DOS.
10731
10732 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10733
10734 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10735 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10736
10737 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10738
10739 * whitespace.el (whitespace-color-on, whitespace-color-off):
10740 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10741
10742 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10743
10744 * ispell.el (ispell-set-spellchecker-params):
10745 Really set `ispell-args' for all equivs.
10746
10747 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10748
10749 * ido.el (ido-completions): Use extra elements of ido-decorations
10750 (bug#14143).
10751 (ido-decorations): Update docstring.
10752
10753 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10754
10755 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10756 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10757 nil during initialization, in order not to miss changes since the
10758 file was opened. (Bug#14140)
10759
10760 2013-04-05 Leo Liu <sdl.web@gmail.com>
10761
10762 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10763
10764 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10765
10766 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10767
10768 2013-04-04 Glenn Morris <rgm@gnu.org>
10769
10770 * electric.el (electric-pair-inhibit-predicate): Add :version.
10771
10772 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10773
10774 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10775 when a package is required several times (bug#14082).
10776
10777 2013-04-04 Roland Winkler <winkler@gnu.org>
10778
10779 * faces.el (read-face-name): Behave as promised by the docstring.
10780 Assume that arg default is a list of faces.
10781 (describe-face): Call read-face-name with list of default faces.
10782
10783 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10784
10785 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10786 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10787 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10788 the header.
10789 (bookmark-exit-hook-internal): Save even if list is empty.
10790
10791 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10792
10793 * emacs-lisp/package.el (package-pinned-packages): New var.
10794 (package--add-to-archive-contents): Obey it (bug#14118).
10795
10796 2013-04-03 Alan Mackenzie <acm@muc.de>
10797
10798 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10799 Also adapt to the new values of element 7 of a parse state.
10800
10801 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10802 parameter `not-in-delimiter'. Handle being inside comment opener.
10803 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10804 character in case we're typing a '*' after a '/'.
10805 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10806 instead by passing the parameter to c-state-pp-to-literal.
10807
10808 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10809 for elt. 7 of a parse state.
10810
10811 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10812
10813 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10814 * international/latin1-disp.el, international/mule-util.el:
10815 * language/cyril-util.el, language/european.el, language/ind-util.el:
10816 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10817 * language/tibetan.el, language/viet-util.el:
10818 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10819
10820 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10821
10822 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10823 (electric-pair-post-self-insert-function): Use it.
10824 (electric-pair-default-inhibit): New function, extracted from
10825 electric-pair-post-self-insert-function.
10826
10827 2013-03-31 Roland Winkler <winkler@gnu.org>
10828
10829 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10830
10831 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10834
10835 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10836
10837 Un-indent after "pass" and "return" statements (Bug#13888)
10838 * progmodes/python.el (python-indent-block-enders): New var.
10839 (python-indent-calculate-indentation): Use it.
10840
10841 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10842
10843 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10844 defun. Defining it as defalias could introduce too eager
10845 byte-compiler optimization. (Bug#14030)
10846
10847 2013-03-30 Chong Yidong <cyd@gnu.org>
10848
10849 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10850
10851 2013-03-30 Leo Liu <sdl.web@gmail.com>
10852
10853 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10854 (kmacro-execute-from-register): Pass the keyboard macro to
10855 kmacro-call-macro or repeating won't work correctly.
10856
10857 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10858
10859 * progmodes/subword.el: Back to using `forward-symbol'.
10860
10861 * subr.el (forward-whitespace, forward-symbol)
10862 (forward-same-syntax): Move from thingatpt.el.
10863
10864 2013-03-29 Leo Liu <sdl.web@gmail.com>
10865
10866 * kmacro.el (kmacro-to-register): New command.
10867 (kmacro-execute-from-register): New function.
10868 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10869
10870 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * mpc.el: Use defvar-local and setq-local.
10873 (mpc--proc-connect): Connection failures are not bugs.
10874 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10875 (mpc-volume-map): Bind to the up-events.
10876
10877 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10878
10879 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10880 instead of `forward-symbol'.
10881
10882 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10885 (edebug--recursive-edit): Use it.
10886 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10887 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10888
10889 2013-03-28 Leo Liu <sdl.web@gmail.com>
10890
10891 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10892
10893 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10894
10895 * facemenu.el (list-colors-callback): New defvar.
10896 (list-colors-redisplay): New function.
10897 (list-colors-display): Install list-colors-redisplay as the
10898 revert-buffer-function. (Bug#14063)
10899
10900 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10901
10902 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10903 and suffixes don't overlap (bug#14061).
10904
10905 * case-table.el: Use lexical-binding.
10906 (case-table-get-table): New function.
10907 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10908
10909 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10910
10911 * progmodes/subword.el: Add `superword-mode' to do word motion
10912 over symbol_words (parallels and leverages `subword-mode' which
10913 does word motion inside MixedCaseWords).
10914
10915 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10916
10917 * eshell/em-unix.el: Move su and sudo to...
10918 * eshell/em-tramp.el: ...Eshell tramp module.
10919
10920 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10921
10922 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10923 Change return value to be a sexp. Delay `get-buffer' to after
10924 restoring the desktop (bug#13951).
10925
10926 2013-03-26 Leo Liu <sdl.web@gmail.com>
10927
10928 * register.el: Move semantic tag handling back to
10929 cedet/semantic/senator.el. (Bug#14052)
10930
10931 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10932
10933 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10934 into the prompt either (bug#13963).
10935
10936 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10939 part of "(error-foo)".
10940
10941 2013-03-24 Juri Linkov <juri@jurta.org>
10942
10943 * replace.el (list-matching-lines-prefix-face): New defcustom.
10944 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10945 `occur-engine' if `face-differs-from-default-p' returns t.
10946 (occur-engine): Add `,' inside backquote construct to evaluate
10947 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10948 Pass `prefix-face' to the functions `occur-context-lines' and
10949 `occur-engine-add-prefix'.
10950 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10951 `prefix-face' and propertize the prefix with `prefix-face'.
10952 (Bug#14017)
10953
10954 2013-03-24 Leo Liu <sdl.web@gmail.com>
10955
10956 * nxml/rng-valid.el (rng-validate-while-idle)
10957 (rng-validate-quick-while-idle): Guard against deleted buffer.
10958 (Bug#13999)
10959
10960 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10961 is the last entry in kill-buffer-hook.
10962
10963 * files.el (kill-buffer-hook): Doc fix.
10964
10965 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10966
10967 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10968 Make it safe-local.
10969
10970 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10971
10972 2013-03-23 Leo Liu <sdl.web@gmail.com>
10973
10974 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10975 Remove.
10976
10977 * nxml/rng-valid.el (rng-validate-mode)
10978 (rng-after-change-function, rng-do-some-validation):
10979 * nxml/rng-maint.el (rng-validate-buffer):
10980 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10981 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10982 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10983 (nxml-extend-after-change-region): Use with-silent-modifications.
10984
10985 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10986 timer-idle-list.
10987
10988 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10989 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10990 timer-idle-list. (Bug#13999)
10991
10992 2013-03-23 Juri Linkov <juri@jurta.org>
10993
10994 * info.el (info-index-match): New face.
10995 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10996 main pattern and add text properties with the new face to matches
10997 in index entries relative to the beginning of the index entry.
10998 (Bug#14015)
10999
11000 2013-03-21 Eric Ludlam <zappo@gnu.org>
11001
11002 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11003 Inhibit read only while inserting objects.
11004
11005 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11006
11007 * progmodes/cfengine.el: Update docs to mention
11008 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11009 symbol motion. Remove "_" from the word syntax.
11010
11011 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11012
11013 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11014 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11015
11016 2013-03-20 Juri Linkov <juri@jurta.org>
11017
11018 * info.el (Info-next-reference-or-link)
11019 (Info-prev-reference-or-link): New functions.
11020 (Info-next-reference, Info-prev-reference): Use them.
11021 (Info-try-follow-nearest-node): Handle footnote navigation.
11022 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11023
11024 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11025
11026 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11027 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11028
11029 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11030
11031 Suppress unnecessary non-ASCII chatter during build process.
11032 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11033 (batch-skkdic-convert): Suppress most of the chatter.
11034 It's not needed so much now that machines are faster,
11035 and its non-ASCII component was confusing; see Dmitry Gutov in
11036 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11037
11038 2013-03-20 Leo Liu <sdl.web@gmail.com>
11039
11040 * ido.el (ido-chop): Fix bug#10994.
11041
11042 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11043
11044 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11045 Remove vars.
11046 (whitespace-color-on, whitespace-color-off):
11047 Use `font-lock-fontify-buffer' (Bug#13817).
11048
11049 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11050
11051 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11052 remapping in mode-line.
11053 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11054
11055 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11056
11057 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11058 value for `whitespace-line' face (Bug#13875).
11059 (whitespace-font-lock-keywords): Change description.
11060 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11061 the constructed keywords instead.
11062 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11063
11064 2013-03-19 Leo Liu <sdl.web@gmail.com>
11065
11066 * progmodes/compile.el (compilation-display-error): New command.
11067 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11068 C-o. (Bug#13992)
11069
11070 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11071
11072 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11073
11074 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11075
11076 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11077
11078 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11079
11080 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11081
11082 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11083 * net/tramp-gvfs.el (top):
11084 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11085 (tramp-handle-shell-command): Use it.
11086 (tramp-dissect-file-name): Raise an error when hostname is a
11087 method name, and neither method nor user is specified.
11088
11089 * net/trampver.el: Update release number.
11090
11091 2013-03-18 Leo Liu <sdl.web@gmail.com>
11092
11093 Make sure eldoc can be turned off properly.
11094 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11095 eldoc-mode.
11096 (eldoc-display-message-p): Revert last change.
11097 (eldoc-display-message-no-interference-p)
11098 (eldoc-print-current-symbol-info): Tweak.
11099
11100 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11101
11102 * doc-view.el (doc-view-new-window-function): Check the new window
11103 overlay's display property instead the char property of the
11104 buffer's first char. Use `with-selected-window' instead of
11105 `save-window-excursion' with `select-window'.
11106 (doc-view-document->bitmap): Check the current doc-view overlay's
11107 display property instead the char property of the buffer's first char.
11108
11109 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11110
11111 Automate the build of ja-dic.el (Bug#13984).
11112 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11113 from the input, rather than assume that it's been done for us by the
11114 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11115 the current date into a ja-dic.el comment, as that complicates
11116 regression testing.
11117
11118 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11119
11120 * whitespace.el: Fix double evaluation.
11121 (whitespace-space, whitespace-hspace, whitespace-tab)
11122 (whitespace-newline, whitespace-trailing, whitespace-line)
11123 (whitespace-space-before-tab, whitespace-indentation)
11124 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11125 obsolete defvars.
11126 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11127 (whitespace-color-on): Use a single font-lock-add-keywords call.
11128 Fix double-evaluation of face variables.
11129
11130 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11131
11132 * net/tramp-adb.el (tramp-adb-parse-device-names):
11133 Use `start-process' instead of `call-process'. Otherwise, the
11134 function might be blocked under MS Windows. (Bug#13299)
11135
11136 2013-03-17 Leo Liu <sdl.web@gmail.com>
11137
11138 Extend eldoc to display info in the mode-line. (Bug#13978)
11139 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11140 (eldoc-mode-line-string): New variable.
11141 (eldoc-minibuffer-message): New function.
11142 (eldoc-message-function): New variable.
11143 (eldoc-message): Use it.
11144 (eldoc-display-message-p)
11145 (eldoc-display-message-no-interference-p):
11146 Support eldoc-post-insert-mode.
11147
11148 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11149 (eval-expression): Run it.
11150
11151 2013-03-17 Roland Winkler <winkler@gnu.org>
11152
11153 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11154 strings in the list of return values.
11155
11156 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11157
11158 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11159 radix before checking for HMS forms.
11160
11161 2013-03-16 Leo Liu <sdl.web@gmail.com>
11162
11163 * progmodes/scheme.el: Add indentation and font-locking for λ.
11164 (Bug#13975)
11165
11166 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11169 token before point (bug#13942).
11170
11171 2013-03-16 Leo Liu <sdl.web@gmail.com>
11172
11173 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11174
11175 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11176
11177 * startup.el (command-line-normalize-file-name): Fix handling of
11178 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11179 <xfq.free@gmail.com> in
11180 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11181
11182 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11183
11184 Sync with Tramp 2.2.7.
11185
11186 * net/trampver.el: Update release number.
11187
11188 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11189
11190 * doc-view.el: Fix bug#13887.
11191 (doc-view-insert-image): Don't modify overlay associated to
11192 non-live windows, and implement horizontal centering of image in
11193 case it's smaller than the window.
11194 (doc-view-new-window-function): Force redisplay of new windows on
11195 doc-view buffers.
11196
11197 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11198
11199 * saveplace.el (save-place-alist-to-file): Don't sort
11200 `save-place-alist', just pretty-print it (bug#13882).
11201
11202 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11203
11204 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11205 Check whether `default-file-name-coding-system' is bound.
11206 It isn't in XEmacs.
11207
11208 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11211 backquotes for `obsolete' (bug#13929).
11212
11213 * international/mule.el (find-auto-coding): Include file name in
11214 obsolescence warning (bug#13922).
11215
11216 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11217
11218 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11219 for CFEngine 3-specific indentation.
11220 (cfengine3-indent-line): Use it. Fix up category regex.
11221 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11222
11223 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * type-break.el (type-break-file-name):
11226 * textmodes/remember.el (remember-data-file):
11227 * strokes.el (strokes-file):
11228 * shadowfile.el (shadow-initialize):
11229 * saveplace.el (save-place-file):
11230 * ps-bdf.el (bdf-cache-file):
11231 * progmodes/idlwave.el (idlwave-config-directory):
11232 * net/quickurl.el (quickurl-url-file):
11233 * international/kkc.el (kkc-init-file-name):
11234 * ido.el (ido-save-directory-list-file):
11235 * emulation/viper.el (viper-custom-file-name):
11236 * emulation/vip.el (vip-startup-file):
11237 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11238 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11239
11240 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11241
11242 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11243 * language/thai-word.el: Switch to UTF-8.
11244
11245 See ChangeLog.16 for earlier changes.
11246
11247 ;; Local Variables:
11248 ;; coding: utf-8
11249 ;; End:
11250
11251 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11252
11253 This file is part of GNU Emacs.
11254
11255 GNU Emacs is free software: you can redistribute it and/or modify
11256 it under the terms of the GNU General Public License as published by
11257 the Free Software Foundation, either version 3 of the License, or
11258 (at your option) any later version.
11259
11260 GNU Emacs is distributed in the hope that it will be useful,
11261 but WITHOUT ANY WARRANTY; without even the implied warranty of
11262 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11263 GNU General Public License for more details.
11264
11265 You should have received a copy of the GNU General Public License
11266 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.