* lisp/vc/log-edit.el (log-edit-insert-filenames-without-changelog): New function.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-19 Juri Linkov <juri@jurta.org>
2
3 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4 New function.
5 (log-edit-hook): Add it to :options. (Bug#16170)
6
7 2013-12-19 Juri Linkov <juri@jurta.org>
8
9 * simple.el (eval-expression-print-format): Don't check for
10 command names and the last command. Always display additional
11 formats of the integer result in the echo area, and insert them
12 to the current buffer only with a zero prefix arg.
13 Display character when char-displayable-p is non-nil.
14 (eval-expression): With a zero prefix arg, set `print-length' and
15 `print-level' to nil, and insert the integer values from
16 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
17
18 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
19 `eval-last-sexp-arg-internal'. Doc fix.
20 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
21 `eval-last-sexp-print-value'. Doc fix.
22 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
23 Set `print-length' and `print-level' to nil when arg is zero.
24 (eval-last-sexp): Doc fix.
25 (eval-defun-2): Print the integer values from
26 `eval-expression-print-format' at the end.
27
28 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
29 values from `eval-expression-print-format' at the end.
30
31 * ielm.el (ielm-eval-input): Print the integer
32 values from `eval-expression-print-format' at the end.
33
34 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
35
36 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
37 2013-12-11T19:01:44Z!tzz@lifelogs.com.
38
39 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
42 (hl-line-highlight, global-hl-line-highlight): Use it.
43 (hl-line-overlay): Use defvar-local.
44
45 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
46
47 * term/ns-win.el: Require dnd.
48 (global-map): Remove drag items.
49 (ns-insert-text, ns-set-foreground-at-mouse)
50 (ns-set-background-at-mouse):
51 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
52 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
53 New functions.
54
55 2013-12-19 Glenn Morris <rgm@gnu.org>
56
57 * emacs-lisp/ert.el (ert-select-tests):
58 Fix string/symbol mixup. (Bug#16121)
59
60 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
61
62 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
63 keywords to their parent.
64
65 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
66
67 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
68 first arg to be a string (fixed dead code), or an operator symbol.
69 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
70 operator symbols.
71 (ruby-smie-rules): Remove parent token check in the `.' clause, it
72 did nothing. Don't respond to `(:after ".")', it will be called
73 with :before anyway. Remove the ` @ ' rule, it didn't seem to
74 change anything. Only return indentation for binary operators
75 when they are hanging. De-dent opening paren when its parent is
76 `.', otherwise it looks bad when the dot is not at bol or eol
77 (bug#16182).
78
79 2013-12-19 Juri Linkov <juri@jurta.org>
80
81 * replace.el (query-replace-read-args): Split a non-negative arg
82 and a negative arg into separate elements.
83 (query-replace, query-replace-regexp, replace-string)
84 (replace-regexp): Add arg `backward'. Doc fix.
85 (replace-match-maybe-edit): When new arg `backward' is non-nil,
86 move point to the beginning of the match.
87 (replace-search, replace-highlight): Use new arg `backward'
88 to set the value of `isearch-forward'.
89 (perform-replace): Add arg `backward' and use it to perform
90 replacement backward. (Bug#14979)
91
92 * isearch.el (isearch-query-replace): Use a negative prefix arg
93 to call `perform-replace' with a non-nil arg `backward'.
94
95 2013-12-18 Juri Linkov <juri@jurta.org>
96
97 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
98 to the default list. Move `log-edit-show-files' to the end.
99 Add more available functions to options.
100 (log-edit): Move default specific settings to
101 `log-edit-insert-message-template'. Don't move point.
102 (log-edit-insert-message-template): New function.
103 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
104 (Bug#16170)
105
106 2013-12-18 Juri Linkov <juri@jurta.org>
107
108 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
109 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
110
111 2013-12-18 Leo Liu <sdl.web@gmail.com>
112
113 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
114
115 2013-12-18 Eli Zaretskii <eliz@gnu.org>
116
117 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
118 formats for displaying file sizes when the -s switch is given.
119 Instead, compute a separate format for displaying the size in
120 blocks, which is displayed in addition to the "regular" size.
121 When -h is given in addition to -s, produce size in blocks in
122 human-readable form as well. (Bug#16179)
123
124 2013-12-18 Tassilo Horn <tsdh@gnu.org>
125
126 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
127 Reference tables with ~\ref{...} instead of only \ref{...}.
128
129 2013-12-18 Chong Yidong <cyd@gnu.org>
130
131 * cus-edit.el (custom-magic-alist): Fix "themed" description
132 (Bug#14348).
133
134 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
135 is non-nil, do not create a new entry in the symbol's theme-value
136 or theme-face property; update theme-settings only (Bug#14664).
137 (custom-available-themes): Doc fix.
138
139 * cus-theme.el (custom-new-theme-mode-map): Add bindings
140 (Bug#15674).
141
142 * replace.el (occur-engine): Avoid infloop (Bug#7593).
143
144 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
145
146 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
147 (Bug#13914).
148
149 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
150
151 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
152
153 2013-12-18 Glenn Morris <rgm@gnu.org>
154
155 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
156 * cus-start.el (load-prefer-newer): New option.
157
158 2013-12-18 Le Wang <l26wang@gmail.com>
159
160 * comint.el (comint-previous-matching-input-from-input):
161 Retain point (Bug#13404).
162
163 2013-12-18 Chong Yidong <cyd@gnu.org>
164
165 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
166
167 2013-12-18 Glenn Morris <rgm@gnu.org>
168
169 * mail/emacsbug.el (report-emacs-bug):
170 Only mention enable-multibyte-characters if non-standard.
171
172 2013-12-17 Juri Linkov <juri@jurta.org>
173
174 * arc-mode.el (archive-extract-by-file): Check if directory exists
175 before deletion to not show irrelevant errors if it doesn't exist.
176
177 2013-12-17 Juri Linkov <juri@jurta.org>
178
179 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
180 (Bug#14751)
181
182 * net/eww.el (browse-web): Add alias to `eww'.
183 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
184 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
185
186 * net/browse-url.el (browse-url-browser-function): Move `eww'
187 closer to similar functions.
188
189 * startup.el (fancy-startup-screen, fancy-about-screen):
190 Set browse-url-browser-function to eww-browse-url locally.
191 (Bug#14751)
192
193 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * window.el (window--pixel-to-total): Remove unused `mini' var.
196 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
197 (split-window): Remove unused `new' var.
198 (window--display-buffer): Remove unused `frame' and `delta' vars.
199 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
200 and display-width'.
201
202 2013-12-17 Martin Rudalics <rudalics@gmx.at>
203
204 * dired.el (dired-mark-pop-up):
205 * register.el (register-preview): Don't bind
206 split-height-threshold here since it's now done in
207 display-buffer-below-selected.
208
209 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
210
211 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
212 xterm-rgb-convert-to-16bit.
213 (rxvt-register-default-colors): Standardize with
214 xterm-register-default-colors (Bug#14078).
215
216 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
217
218 * simple.el (kill-region): Pass mark first, then point, so that
219 kill-append works right (Bug#12819).
220 (copy-region-as-kill, kill-ring-save): Likewise.
221
222 2013-12-17 Leo Liu <sdl.web@gmail.com>
223
224 * net/rcirc.el (rcirc-add-face):
225 * eshell/em-prompt.el (eshell-emit-prompt):
226 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
227 (Bug#16167)
228
229 2013-12-17 Chong Yidong <cyd@gnu.org>
230
231 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
232 Suggested by Xue Fuqiao.
233
234 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
235
236 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
237
238 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
239
240 * net/shr.el (shr-insert-document): Remove unused var
241 `shr-preliminary-table-render'.
242 (shr-rescale-image): Remove unused arg `force'.
243 (shr-put-image): Update calls accordingly.
244 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
245
246 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
247
248 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
249 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
250 :close-all, to see which indentation method to use (Bug#16116).
251 (smie-rules-function): Document the method :close-all.
252
253 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
254
255 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
256
257 * net/eww.el (eww-display-html): If we can't find the anchor we're
258 looking for, then go to point-min.
259
260 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
261
262 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
263 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
264 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
265 Expand dir too, in case it's relative.
266
267 2013-12-16 Juri Linkov <juri@jurta.org>
268
269 * desktop.el (desktop-auto-save-timeout): Change default to
270 `auto-save-timeout'. Doc fix.
271 (desktop-save): Skip the timestamp in desktop-saved-frameset
272 when checking for auto-save changes.
273 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
274 `desktop-auto-save' is called repeatedly by the idle timer.
275 (desktop-auto-save-set-timer): Replace `run-with-timer' with
276 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
277 (Bug#15331)
278
279 2013-12-16 Juri Linkov <juri@jurta.org>
280
281 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
282 (Bug#16035)
283 (isearch-pre-command-hook): Check `this-command' for symbolp.
284
285 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
288
289 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
290
291 * progmodes/cfengine.el (cfengine3--current-word): Remove.
292 (cfengine3--current-function): Bring in the current-function
293 functionality from `cfengine3--current-word'.
294 (cfengine3-completion-function): Bring in the
295 bounds-of-current-word functionality from
296 `cfengine3--current-word'.
297
298 2013-12-16 Martin Rudalics <rudalics@gmx.at>
299
300 * window.el (display-buffer-below-selected):
301 Bind split-height-threshold to 0 as suggested by Juri Linkov.
302
303 2013-12-16 Leo Liu <sdl.web@gmail.com>
304
305 * progmodes/compile.el (compile-goto-error): Do not push-mark.
306 Remove NOMSG arg and all uses changed.
307
308 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
311 (cua--deactivate-rectangle): Don't deactivate the mark.
312 (cua-set-rectangle-mark): Don't set mark-active since
313 cua--activate-rectangle already does it for us.
314 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
315 non-rectangular region.
316
317 * emulation/cua-base.el (cua-repeat-replace-region):
318 Use with-current-buffer.
319
320 * net/gnutls.el: Use cl-lib.
321 (gnutls-negotiate): `mapcan' -> cl-mapcan.
322
323 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
324
325 * emacs-lisp/package.el (package-built-in-p): Support both
326 built-in and the package.el converted package descriptions.
327 (package-show-package-list): Allow keywords.
328 (package-keyword-button-action): Use it instead of
329 `finder-list-matches'.
330 (package-menu-filter-interactive): Interactive filtering (by
331 keyword) function.
332 (package-menu--generate): Support keywords and change keymappings
333 and headers when they are given.
334 (package--has-keyword-p): Helper function.
335 (package-menu--refresh): Use it.
336 (package--mapc): Helper function.
337 (package-all-keywords): Use it.
338 (package-menu-mode-map): Set up menu items and keybindings to
339 provide a filtering UI.
340
341 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
342
343 * net/gnutls.el (gnutls-verify-error): New defcustom to control
344 the behavior when a certificate fails validation. Defaults to
345 old behavior: never abort, just warn.
346 (gnutls-negotiate): Use it.
347
348 2013-12-14 Martin Rudalics <rudalics@gmx.at>
349
350 * window.el (display-buffer-below-selected): Never split window
351 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
352
353 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
354
355 * emacs-lisp/package.el (package--prepare-dependencies): New function.
356 (package-buffer-info): Use it (bug#15108).
357
358 * icomplete.el (icomplete-completions): Make sure the prefix is already
359 displayed elsewhere before hiding it.
360
361 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
362
363 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
364 open-paren tokens when preceded by a open-paren, too.
365 (ruby-smie-rules): Handle virtual indentation after open-paren
366 tokens specially. If there is code between it and eol, return the
367 column where is starts (Bug#16118).
368
369 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
370
371 * progmodes/cfengine.el: Fix `add-hook' doc.
372 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
373 (cfengine3--current-word): Fix parameters.
374 (cfengine3-make-syntax-cache): Simplify further.
375 (cfengine3-completion-function, cfengine3--current-function):
376 Use `assq' for symbols.
377 (cfengine3--current-function): Fix `cfengine3--current-word' call.
378
379 2013-12-13 Glenn Morris <rgm@gnu.org>
380
381 * loadup.el (load-path): Warn if site-load or site-init changes it.
382 No more need to reset it when bootstrapping.
383
384 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
385
386 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
387 locations for cf-promises.
388 (cfengine-mode-syntax-functions-regex): New caching variable.
389 (cfengine3-fallback-syntax): Fallback syntax for cases where
390 cf-promises doesn't run.
391 (cfengine3--current-word): Reimplement using
392 `cfengine-mode-syntax-functions-regex'.
393 (cfengine3-completion-function, cfengine3--current-function):
394 Use `cfengine3-make-syntax-cache' directly.
395 (cfengine3-clear-syntax-cache): New function.
396 (cfengine3-make-syntax-cache): Simplify and create
397 `cfengine-mode-syntax-functions-regex' on demand.
398 (cfengine3-format-function-docstring): Don't call
399 `cfengine3-make-syntax-cache' explicitly.
400
401 2013-12-13 Martin Rudalics <rudalics@gmx.at>
402
403 Fix windmove-find-other-window broken after pixelwise resizing
404 (Bug#16017).
405 * windmove.el (windmove-other-window-loc): Revert change from
406 2013-12-04.
407 (windmove-find-other-window): Call window-in-direction.
408 * window.el (window-in-direction): New arguments SIGN, WRAP and
409 MINI to emulate original windmove-find-other-window behavior.
410
411 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
412
413 * simple.el (blink-matching--overlay): New variable.
414 (blink-matching-open): Instead of moving point, highlight the
415 matching paren with an overlay
416 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
417
418 * faces.el (paren-showing-faces, show-paren-match)
419 (show-paren-mismatch): Move from paren.el.
420
421 2013-12-13 Leo Liu <sdl.web@gmail.com>
422
423 * indent.el (indent-region): Disable progress reporter in
424 minibuffer. (Bug#16108)
425
426 * bindings.el (visual-order-cursor-movement): Fix version.
427
428 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
429
430 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
431 Also match after beginning of line.
432 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
433 files. Thanks to Russell Sim. (Bug#15378)
434
435 2013-12-13 Juri Linkov <juri@jurta.org>
436
437 * simple.el <Keypad support>: Remove key bindings duplicated
438 with bindings.el. (Bug#14397)
439
440 2013-12-13 Juri Linkov <juri@jurta.org>
441
442 * comint.el (comint-mode-map): Replace `delete-char' with
443 `delete-forward-char'. (Bug#16109)
444
445 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
446
447 * progmodes/python.el (python-indent-calculate-indentation):
448 Fix de-denters cornercase. (Bug#15731)
449
450 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
451
452 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
453 (advice--make): Pay attention to `depth'.
454 (advice--make-1): Don't autoload commands eagerly.
455 * emacs-lisp/elp.el (elp-instrument-function):
456 * emacs-lisp/trace.el (trace-function-internal):
457 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
458
459 * iswitchb.el (iswitchb-mode): Don't belittle ido.
460
461 2013-12-12 Eli Zaretskii <eliz@gnu.org>
462
463 * term/w32-win.el (w32-handle-dropped-file):
464 * startup.el (normal-top-level):
465 * net/browse-url.el (browse-url-file-url):
466 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
467 decode file names using 'utf-8' rather than
468 file-name-coding-system.
469
470 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
471
472 * progmodes/python.el (python-indent-context)
473 (python-indent-calculate-indentation): Fix auto-identation
474 behavior for comment blocks. (Bug#15916)
475
476 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
477
478 * progmodes/python.el (python-indent-calculate-indentation):
479 When determining indentation, don't treat "return", "pass", etc., as
480 operators when they are just string constituents. (Bug#15812)
481
482 2013-12-12 Juri Linkov <juri@jurta.org>
483
484 * uniquify.el (uniquify-buffer-name-style): Change default to
485 `post-forward-angle-brackets'.
486
487 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
488 `uniquify'. Change default to `post-forward-angle-brackets'.
489
490 2013-12-11 Glenn Morris <rgm@gnu.org>
491
492 * emacs-lisp/package.el (finder-list-matches):
493 Autoload rather than falsely declaring.
494
495 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
496
497 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
498 (eww-mode-map): Use them.
499
500 2013-12-11 Martin Rudalics <rudalics@gmx.at>
501
502 * window.el (display-buffer-in-side-window): Fix doc-string
503 (Bug#16115).
504
505 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
506
507 * vc/vc-git.el: Silence byte-compiler warnings.
508 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
509 (log-edit-set-header): Declare.
510
511 2013-12-11 Eli Zaretskii <eliz@gnu.org>
512
513 * Makefile.in (custom-deps, finder-data): Run output file names
514 through unmsys--file-name. (Bug#16099)
515
516 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
519 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
520
521 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
522 instead of deleting the selection "by hand" (bug#16098).
523 Rely on insert-for-yank to yank rectangles.
524 (cua-highlight-region-shift-only): Mark obsolete.
525 (cua-mode): Don't enable/disable transient-mark-mode,
526 shift-select-mode (cua-mode works both with and without them), and
527 pc-selection-mode (obsolete).
528 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
529 (cua--deactivate-rectangle): Deactivate it.
530
531 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
532 (delete-selection-helper): Make sure yank starts at the top of the
533 deleted region.
534 (minibuffer-keyboard-quit): Use region-active-p.
535
536 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
537
538 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
539 to `delete' (bug#16109).
540
541 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
542
543 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
544 info manual and show keybindings and set `:group' keyword.
545
546 2013-12-11 Juri Linkov <juri@jurta.org>
547
548 * delsel.el (delete-active-region): Let-bind `this-command'
549 to prevent `kill-region' from changing its original value.
550 (delete-selection-helper): Handle `overwrite-mode' for the type
551 `kill' exactly the same way as for the type `t'.
552 (insert-char, quoted-insert, reindent-then-newline-and-indent):
553 Support more commands. (Bug#13312)
554
555 2013-12-11 Juri Linkov <juri@jurta.org>
556
557 * bindings.el: Map kp keys to non-kp keys systematically
558 with basic modifiers control, meta and shift. (Bug#14397)
559
560 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
561
562 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
563 "Close browser" menu items. Fix wrong function of "List
564 bookmarks".
565
566 2013-12-11 Juri Linkov <juri@jurta.org>
567
568 * misearch.el (multi-isearch-buffers): Set the value of
569 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
570 arg of isearch-forward to t.
571 (multi-isearch-buffers-regexp): Set the value of
572 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
573 arg of isearch-forward-regexp to t.
574 (multi-isearch-files): Set the value of
575 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
576 arg of isearch-forward to t.
577 (multi-isearch-files-regexp): Set the value of
578 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
579 arg of isearch-forward-regexp to t. (Bug#16035)
580
581 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
582 arg of isearch-forward to t.
583 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
584 arg of isearch-forward-regexp to t.
585 (dired-isearch-filter-filenames): Remove unnecessary check for
586 `dired-isearch-filenames'.
587
588 * comint.el (comint-history-isearch-backward):
589 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
590 (comint-history-isearch-backward-regexp):
591 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
592
593 2013-12-10 Eli Zaretskii <eliz@gnu.org>
594
595 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
596 unmsys--file-name. (Bug#16099)
597
598 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
599
600 * emacs-lisp/package.el (package-keyword-button-action):
601 Remove finder.el require dependency.
602
603 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
604
605 * emacs-lisp/package.el: Require finder.el.
606 (describe-package-1): Add keyword buttons.
607 (package-make-button): New convenience function.
608 (package-keyword-button-action): Keyword button action using
609 `finder-list-matches'
610
611 2013-12-09 Eli Zaretskii <eliz@gnu.org>
612
613 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
614 last commit.
615
616 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
617
618 * autorevert.el (auto-revert-notify-add-watch): Do not handle
619 symlinked files.
620
621 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
622
623 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
624 after the end of a percent literal.
625
626 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
627
628 * progmodes/ruby-mode.el (ruby-forward-string): Document.
629 Handle caret-delimited strings (Bug#16079).
630
631 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
632
633 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
634 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
635 `ruby-parse-partial' (Bug#16078).
636
637 2013-12-09 Leo Liu <sdl.web@gmail.com>
638
639 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
640
641 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
642
643 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
644 (js-switch-indent-offset): New option.
645 (js--proper-indentation): Use it. And handle the case when
646 "default" is actually a key in an object literal.
647 (js--same-line): New function.
648 (js--multi-line-declaration-indentation): Use it.
649 (js--indent-in-array-comp, js--array-comp-indentation):
650 New functions.
651 (js--proper-indentation): Use them, to handle array comprehension
652 continuations.
653
654 2013-12-08 Leo Liu <sdl.web@gmail.com>
655
656 * progmodes/flymake.el (flymake-highlight-line): Re-write.
657 (flymake-make-overlay): Remove arg MOUSE-FACE.
658 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
659
660 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
663 New function.
664 (redisplay-highlight-region-function): Use it.
665
666 * emulation/cua-base.el (cua--explicit-region-start)
667 (cua--last-region-shifted): Remove.
668 (cua--deactivate): Use deactivate-mark.
669 (cua--pre-command-handler-1): Don't handle shift-selection.
670 (cua--post-command-handler-1): Don't change transient-mark-mode.
671 (cua--select-keymaps): Use region-active-p rather than
672 cua--explicit-region-start or cua--last-region-shifted.
673 (cua-mode): Enable shift-select-mode.
674
675 2013-12-08 Leo Liu <sdl.web@gmail.com>
676
677 * progmodes/flymake.el (flymake-popup-current-error-menu):
678 Rename from flymake-display-err-menu-for-current-line. Reimplement.
679 (flymake-posn-at-point-as-event, flymake-popup-menu)
680 (flymake-make-emacs-menu): Remove. (Bug#16077)
681
682 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * rect.el (rectangle-mark-mode): Activate mark even if
685 transient-mark-mode is off (bug#16066).
686 (rectangle--highlight-for-redisplay): Fix boundary condition when point
687 is > mark and at bolp.
688
689 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
690 (region-extract-function): Use it.
691 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
692 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
693 Delete functions.
694 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
695 kill-ring-save, kill-region, delete-char, delete-forward-char.
696 Ignore self-insert-iso.
697
698 * emulation/cua-gmrk.el (cua--init-global-mark):
699 Ignore `self-insert-iso'.
700
701 * emulation/cua-base.el (cua--prefix-copy-handler)
702 (cua--prefix-cut-handler): Rely on region-extract-function rather than
703 checking cua--rectangle.
704 (cua-delete-region): Use region-extract-function.
705 (cua-replace-region): Delete function.
706 (cua-copy-region, cua-cut-region): Obey region-extract-function.
707 (cua--pre-command-handler-1): Don't do the delete-selection thing.
708 (cua--self-insert-char-p): Ignore `self-insert-iso'.
709 (cua--init-keymaps): Don't remap delete-selection commands.
710 (cua-mode): Use delete-selection-mode instead of rolling our own
711 (bug#16085).
712
713 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
714 Obey region-extract-function.
715
716 Make registers and delete-selection-mode work on rectangles.
717 * register.el (describe-register-1): Don't modify the register's value.
718 (copy-to-register): Obey region-extract-function.
719 * delsel.el (delete-active-region): Obey region-extract-function.
720
721 2013-12-08 Leo Liu <sdl.web@gmail.com>
722
723 * progmodes/flymake.el (flymake, flymake-error-bitmap)
724 (flymake-warning-bitmap, flymake-fringe-indicator-position)
725 (flymake-compilation-prevents-syntax-check)
726 (flymake-start-syntax-check-on-newline)
727 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
728 (flymake-start-syntax-check-on-find-file, flymake-log-level)
729 (flymake-xml-program, flymake-master-file-dirs)
730 (flymake-master-file-count-limit)
731 (flymake-allowed-file-name-masks): Relocate.
732 (flymake-makehash, flymake-float-time)
733 (flymake-replace-regexp-in-string, flymake-split-string)
734 (flymake-get-temp-dir): Remove.
735 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
736 (flymake-current-row, flymake-selected-frame)
737 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
738 related functions. (Bug#16077)
739
740 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
741
742 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
743
744 2013-12-07 Tassilo Horn <tsdh@gnu.org>
745
746 * help-fns.el (describe-function-1): Use new advice-* functions
747 rather than old ad-* functions. Fix function type description and
748 source links for advised functions and subrs.
749
750 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
751
752 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
753
754 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
755
756 * progmodes/compile.el (compilation-start):
757 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
758
759 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
760 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
761
762 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
763
764 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
765 Touch up the last change.
766
767 2013-12-06 Leo Liu <sdl.web@gmail.com>
768
769 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
770 (inferior-octave-startup): Always use "octave> " for prompt.
771 (octave-goto-function-definition)
772 (octave-sync-function-file-names)
773 (octave-find-definition-default-filename): Remove redundant backquotes.
774
775 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
776
777 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
778 syntax for `?'.
779 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
780 where appropriate already.
781 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
782 end of method names (Bug#15874).
783
784 2013-12-06 Juri Linkov <juri@jurta.org>
785
786 * isearch.el (isearch--saved-overriding-local-map):
787 New internal variable.
788 (isearch-mode): Set it to the initial value of
789 `overriding-terminal-local-map'.
790 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
791 with `isearch--saved-overriding-local-map'. (Bug#16035)
792
793 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
794
795 * progmodes/octave.el (inferior-octave-completion-table):
796 Turn back into function, use `completion-table-with-cache'
797 (Bug#11906). Update all references.
798
799 * minibuffer.el (completion-table-with-cache): New function.
800
801 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
802
803 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
804
805 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
806
807 * net/eww.el (eww-current-source): New variable to store page
808 source.
809 (eww-display-html, eww-mode, eww-save-history)
810 (eww-restore-history): Use it.
811 (eww-view-source): New command to view page source.
812 Opportunistically uses `html-mode' to highlight the buffer.
813 (eww-mode-map): Install it.
814
815 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
816
817 * net/dbus.el (dbus-unregister-service)
818 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
819 Fix docstring.
820 (dbus-unregister-service): Skip :serial entries in
821 `dbus-registered-objects-table'.
822 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
823
824 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
825
826 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
827 around keywords with extra `split-string' argument.
828
829 2013-12-04 Martin Rudalics <rudalics@gmx.at>
830
831 * windmove.el (windmove-other-window-loc): Handle navigation
832 between windows (excluding the minibuffer window - Bug#16017).
833
834 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
835
836 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
837 in D-Bus type syntax.
838 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
839 preserve unibyte strings. (Bug#16048)
840
841 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
844 Call force-mode-line-update is the proper buffer (bug#16042).
845
846 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
847
848 * vc/log-edit.el (log-edit-add-new-comment): Rename to
849 `log-edit-remember-comment', make argument optional. Adjust all
850 callers.
851 (log-edit-mode): Add `log-edit-remember-comment' to
852 `kill-buffer-hook' locally.
853 (log-edit-kill-buffer): Don't remember comment explicitly since
854 the buffer is killed anyway.
855
856 2013-12-04 Juri Linkov <juri@jurta.org>
857
858 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
859 add-hook and remove-hook for multi-buffer search. (Bug#16035)
860
861 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
862
863 * notifications.el (notifications-close-notification): Call the
864 D-Bus method with ID being a `:uint32'. (Bug#16030)
865
866 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
867
868 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
869
870 2013-12-03 Juri Linkov <juri@jurta.org>
871
872 * progmodes/compile.el (compilation-start): Rename window alist
873 entry `no-display-ok' to `allow-no-window'.
874
875 * simple.el (shell-command): Add window alist entry
876 `allow-no-window' to `display-buffer'.
877 (async-shell-command): Doc fix.
878
879 * window.el (display-buffer-no-window): New action function.
880 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
881
882 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
883
884 * vc/log-edit.el (log-edit-set-header): Extract from
885 `log-edit-toggle-header'.
886 (log-edit-extract-headers): Separate the summary, when extracted
887 from header, from the rest of the message with an empty line.
888
889 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
890 line, if present, to the Summary header.
891
892 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
895 in current-buffer (bug#16029).
896
897 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
898
899 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
900 (debugger-mode-map): Bind it.
901 (debugger--backtrace-base): New function.
902 (debugger-eval-expression): Use it.
903 (debugger-frame-number): Skip local vars when present.
904 (debugger--locals-visible-p, debugger--insert-locals)
905 (debugger--show-locals, debugger--hide-locals): New functions.
906
907 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
908
909 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
910 "LC_ALL".
911 (tramp-get-remote-locale): New defun.
912 (tramp-open-connection-setup-interactive-shell): Use it.
913
914 2013-12-02 Leo Liu <sdl.web@gmail.com>
915
916 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
917
918 * progmodes/sh-script.el (sh-shell-process):
919 * progmodes/octave.el (inferior-octave-process-live-p):
920 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
921 (gdb-inferior-io-sentinel):
922 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
923
924 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
925
926 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
927 `save-selected-window' to `log-edit-hide-buf'. This makes
928 `log-edit-show-files' idempotent.
929 (log-edit-show-files): Mark the new window as dedicated.
930
931 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
932
933 * vc/log-edit.el (log-edit-mode-map): Add binding for
934 `log-edit-kill-biffer'.
935 (log-edit-hide-buf): Add a FIXME comment.
936 (log-edit-add-new-comment): New function, extracted from
937 `log-edit-done'.
938 (log-edit-done, log-edit-add-to-changelog): Use it.
939 (log-edit-kill-buffer): New command.
940
941 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
942
943 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
944 instead of killing the buffer.
945
946 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
949
950 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
951
952 * net/eww.el (eww-form-checkbox-selected-symbol)
953 (eww-form-checkbox-symbol): New customizable variable.
954 (eww-form-checkbox, eww-toggle-checkbox):
955 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
956
957 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
958 (shr--get-media-pref, shr--extract-best-source): New function.
959 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
960 no :src tag was specified.
961
962 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
963 (eww-render): Handle `eww-use-external-browser-for-content-type'.
964 Use \\` to match beginning of string instead of ^.
965 (eww-browse-with-external-browser): Provide optional URL parameter.
966 (eww-render): Set `eww-current-title' back to "".
967
968 * net/shr.el (shr-tag-video): Display content for video if no
969 poster is available.
970 (shr-tag-audio): Add support for <audio> tag.
971
972 * net/eww.el (eww-text-input-types): : New const.
973 (eww-process-text-input): Treat input types in
974 `eww-text-input-types' as text.
975
976 * net/shr.el (shr-tag-table): Fix comment typo.
977
978 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
979
980 * net/eww.el (eww-follow-link): New command to avoid reloading
981 pages when we follow #target links (bug#15243).
982 (eww-quit): Special mode buffers shouldn't query before exiting.
983
984 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
985
986 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
987 forms.
988
989 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
990
991 * net/eww.el (eww-restore-history): Update the window title after
992 moving in the history.
993 (eww-current-dom): New variable used to save the current DOM.
994
995 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
996
997 * vc/log-edit.el (log-edit-mode-map): Add binding for
998 `log-edit-beginning-of-line'.
999 (log-edit-setup-add-author): New user option.
1000 (log-edit-beginning-of-line): New command.
1001 (log-edit): Move major mode call above the contents setup so that
1002 the local variable values are already applied.
1003 (log-edit): Only insert "Author: " when
1004 `log-edit-setup-add-author' is non-nil.
1005 (log-edit): When SETUP is non-nil, position point after ": "
1006 instead of point-min.
1007
1008 2013-12-01 Glenn Morris <rgm@gnu.org>
1009
1010 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1011
1012 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1013
1014 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1015 redisplay to make sure the initial frame gets a chance to become
1016 visible. (Bug#16014)
1017
1018 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1019
1020 Support resizing frames and windows pixelwise.
1021 * cus-start.el (frame-resize-pixelwise)
1022 (window-resize-pixelwise): New entries.
1023 * emacs-lisp/debug.el (debug): Use window-total-height instead
1024 of window-total-size.
1025 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1026 * help.el (describe-bindings-internal): Call help-buffer
1027 (temp-buffer-max-width): New option.
1028 (resize-temp-buffer-window, help-window-setup)
1029 (with-help-window): Rewrite.
1030 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1031 dragging dividers.
1032 * window.el (frame-char-size, window-min-pixel-height)
1033 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1034 (window-min-pixel-width, window-safe-min-pixel-size)
1035 (window-combination-p, window-safe-min-size)
1036 (window-resizable-p, window--size-to-pixel)
1037 (window--pixel-to-size, window--resize-apply-p): New functions.
1038 (window-safe-min-height): Fix doc-string.
1039 (window-size, window-min-size, window--min-size-1)
1040 (window-sizable, window-sizable-p, window--min-delta-1)
1041 (window-min-delta, window--max-delta-1, window-max-delta)
1042 (window--resizable, window--resizable-p, window-resizable)
1043 (window-full-height-p, window-full-width-p, window-at-side-p)
1044 (window--in-direction-2, window-in-direction)
1045 (window--resize-reset-1, window--resize-mini-window)
1046 (window-resize, window-resize-no-error)
1047 (window--resize-child-windows-normal)
1048 (window--resize-child-windows, window--resize-siblings)
1049 (window--resize-this-window, window--resize-root-window)
1050 (window--resize-root-window-vertically)
1051 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1052 (maximize-window, minimize-window, delete-window)
1053 (quit-restore-window, window-split-min-size, split-window)
1054 (balance-windows-2, balance-windows)
1055 (balance-windows-area-adjust, balance-windows-area)
1056 (window--state-get-1, window-state-get, window--state-put-1)
1057 (window--state-put-2, window-state-put)
1058 (display-buffer-record-window, window--display-buffer):
1059 Make functions handle pixelwise sizing of windows.
1060 (display-buffer--action-function-custom-type)
1061 (display-buffer-fallback-action):
1062 Add display-buffer-in-previous-window.
1063 (display-buffer-use-some-window): Resize window to height it had
1064 before.
1065 (fit-window-to-buffer-horizontally): New option.
1066 (fit-frame-to-buffer): Describe new values.
1067 (fit-frame-to-buffer-bottom-margin): Replace with
1068 fit-frame-to-buffer-margins.
1069 (window--sanitize-margin): New function.
1070 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1071 using window-text-pixel-size.
1072
1073 2013-11-30 Glenn Morris <rgm@gnu.org>
1074
1075 * emacs-lisp/bytecomp.el (byte-compile-form):
1076 Make the `interactive-only' warning like the `obsolete' one.
1077 * comint.el (comint-run):
1078 * files.el (insert-file-literally, insert-file):
1079 * replace.el (replace-string, replace-regexp):
1080 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1081 (goto-line, insert-buffer, next-line, previous-line):
1082 Tweak `interactive-only' spec.
1083
1084 Stop keeping (most) generated cedet grammar files in the repository.
1085 * Makefile.in (semantic): New.
1086 (compile-main): Depend on semantic.
1087
1088 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1089
1090 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1091 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1092
1093 * uniquify.el (uniquify-buffer-name-style): Change default.
1094
1095 * loadup.el: Preload "uniquify".
1096
1097 * time.el (display-time-update): Update all mode lines (bug#15999).
1098
1099 * electric.el (electric-indent-mode): Enable by default.
1100 * loadup.el: Preload "electric".
1101
1102 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1103
1104 * emacs-lisp/helpers.el (string-empty-p): New function.
1105 (string-blank-p): New function.
1106
1107 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1108
1109 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1110 (Bug#14029).
1111
1112 2013-11-29 Andreas Politz <politza@fh-trier.de>
1113 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1114 allow non-lambda lists as functions.
1115 (imenu--in-alist): Don't recurse into non-subalists.
1116 (imenu): Don't pass function itself as an argument (Bug#14029).
1117
1118 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1119
1120 * progmodes/python.el (python-mode-map): Remove binding for ":".
1121 (python-indent-electric-colon): Remove command.
1122 (python-indent-post-self-insert-function): Integrate the previous code
1123 of python-indent-electric-colon. Make it conditional on
1124 electric-indent-mode.
1125 (python-mode): Add ?: to electric-indent-chars.
1126 Move python-indent-post-self-insert-function to the end of
1127 post-self-insert-hook.
1128
1129 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * doc-view.el (doc-view-goto-page): Update mode-line.
1132
1133 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1134
1135 2013-11-27 Glenn Morris <rgm@gnu.org>
1136
1137 * international/charprop.el, international/uni-bidi.el:
1138 * international/uni-category.el, international/uni-combining.el:
1139 * international/uni-comment.el, international/uni-decimal.el:
1140 * international/uni-decomposition.el, international/uni-digit.el:
1141 * international/uni-lowercase.el, international/uni-mirrored.el:
1142 * international/uni-name.el, international/uni-numeric.el:
1143 * international/uni-old-name.el, international/uni-titlecase.el:
1144 * international/uni-uppercase.el:
1145 Remove generated files from VCS repository.
1146
1147 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1148
1149 * filenotify.el (file-notify-add-watch): Don't special-case
1150 w32notify when computing the directory to watch.
1151
1152 2013-11-27 Glenn Morris <rgm@gnu.org>
1153
1154 Make bootstrap without generated uni-*.el files possible again.
1155 * loadup.el: Update command-line-args checking for unidata-gen.
1156 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1157 * composite.el, international/characters.el:
1158 Handle unicode tables being undefined.
1159
1160 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1161 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1162 (compile-main): Depend on leim rule.
1163 (leim): New rule.
1164 * loadup.el: Move leim-list.el to leim/ subdirectory.
1165 * startup.el (normal-top-level): No more leim directory.
1166 * international/ja-dic-cnv.el (skkdic-convert):
1167 Disable version-control and autoloads in output files.
1168 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1169 Disable version-control and autoloads in output files.
1170 * leim/quail: Move here from ../leim.
1171 * leim/quail/hangul.el (hangul-input-method-activate):
1172 Add autoload cookie.
1173 (generated-autoload-load-name): Set file-local value.
1174 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1175 (generated-autoload-load-name): Set file-local value.
1176
1177 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1178
1179 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1180 (eww-add-bookmark): ask confirmation when add to bookmarks
1181 (eww-quit): ask confirmation before quitting eww
1182
1183 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1184
1185 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1186 reading output from Diff on MS-Windows and MS-DOS.
1187
1188 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1189
1190 * emacs-lisp/helpers.el (string-reverse): New function.
1191
1192 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1193
1194 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1195 names on MS Windows, like "/[::1]:".
1196
1197 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1198 SWITCHES.
1199
1200 2013-11-26 Glenn Morris <rgm@gnu.org>
1201
1202 * progmodes/python.el (python-indent-guess-indent-offset):
1203 Avoid corner-case error. (Bug#15975)
1204
1205 Preload leim-list.el. (Bug#4789)
1206 * loadup.el: Load leim-list.el when found.
1207 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1208
1209 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1210
1211 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1212
1213 * emacs-lisp/helpers.el (string-join): New function.
1214
1215 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1216
1217 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1218 Mark as obsolete and replace it with a symbol property.
1219 (byte-compile-form): Use new 'interactive-only property.
1220 * comint.el, files.el, replace.el, simple.el:
1221 Apply new 'interactive-only properly.
1222
1223 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1224
1225 * window.el (display-buffer-at-bottom): Make sure that
1226 split-window-sensibly creates the new window on bottom
1227 (Bug#15961).
1228
1229 2013-11-23 David Kastrup <dak@gnu.org>
1230
1231 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1232 on the conflict markers when available.
1233 (smerge--get-marker): New function.
1234 (smerge-end-re, smerge-base-re): Add subgroup.
1235
1236 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * frame.el (handle-focus-in, handle-focus-out): Add missing
1239 interactive spec.
1240
1241 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1242
1243 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1244 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1245
1246 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1249 (gomoku--last-pos): New var.
1250 (gomoku--intangible-chars): New const.
1251 (gomoku--intangible): New function.
1252 (gomoku-mode): Use it. Derive from special-mode.
1253 (gomoku-move-up): Adjust line count.
1254 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1255 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1256 Simplify accordingly.
1257
1258 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1259 Remove blink-cursor code.
1260 (blink-cursor-timer-function, blink-cursor-suspend):
1261 Don't special-case GUIs.
1262 (blink-cursor-mode): Use focus-in/out-hook.
1263
1264 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1265
1266 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1267 work when annotation is invisible (Bug#13886).
1268
1269 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1270
1271 * json.el (json-alist-p): Only return non-nil if the alist has
1272 simple keys (Bug#13518).
1273
1274 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1275
1276 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1277 when control-statement is the first statement in a buffer (Bug#15956).
1278
1279 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1280
1281 * imenu.el (imenu-generic-skip-comments-and-strings):
1282 New option (Bug#15560).
1283 (imenu--generic-function): Use it.
1284
1285 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1286
1287 * minibuffer.el (completion--in-region-1): Scroll the correct
1288 window. (Bug#13898)
1289
1290 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1291
1292 * emacs-lisp/helpers.el: Add some string helpers.
1293 (string-trim-left): Removes leading whitespace.
1294 (string-trim-right): Removes trailing whitespace.
1295 (string-trim): Removes leading and trailing whitespace.
1296
1297 * subr.el (string-suffix-p): New function.
1298
1299 2013-11-23 Glenn Morris <rgm@gnu.org>
1300
1301 * progmodes/python.el (python-shell-send-file):
1302 Add option to delete file when done. (Bug#15647)
1303 (python-shell-send-string, python-shell-send-region): Use it.
1304
1305 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1306
1307 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1308 to set buffer-read-only to t, never to nil. (Bug#15938)
1309
1310 * textmodes/tex-mode.el (latex-noindent-environments):
1311 Add safe-local-variable property. (Bug#15936)
1312
1313 2013-11-23 Glenn Morris <rgm@gnu.org>
1314
1315 * textmodes/enriched.el (enriched-mode): Doc fix.
1316 * emacs-lisp/authors.el (authors-renamed-files-alist):
1317 Add enriched.doc -> enriched.txt.
1318
1319 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1320
1321 2013-11-22 Leo Liu <sdl.web@gmail.com>
1322
1323 * progmodes/octave.el (inferior-octave-startup): Spit out error
1324 message.
1325
1326 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1327
1328 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1329 Improve docstring.
1330 Add :version.
1331 (ruby-encoding-magic-comment-style): Add :version.
1332
1333 2013-11-22 Leo Liu <sdl.web@gmail.com>
1334
1335 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1336 (Bug#15076)
1337 (octave-help-mode): Adapt to change to help-mode-finish to use
1338 derived-mode-p on 2013-09-17.
1339 (inferior-octave-prompt): Also match octave-gui.
1340 (octave-kill-process): Don't ask twice. (Bug#10564)
1341
1342 2013-11-22 Leo Liu <sdl.web@gmail.com>
1343
1344 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1345 (inferior-octave-startup, inferior-octave-check-process)
1346 (inferior-octave-track-window-width-change)
1347 (octave-completion-at-point, octave-eldoc-function): Use it.
1348 (octave-kill-process): Provide confirmation. (Bug#10564)
1349
1350 2013-11-21 Leo Liu <sdl.web@gmail.com>
1351
1352 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1353 Fix obsolete variable comment-use-global-state.
1354
1355 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1356
1357 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1358 Add `octave-source-file'.
1359 (octave-source-file): New function. (Bug#15935)
1360
1361 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1362
1363 * net/eww.el (eww-local-regex): New variable.
1364 (eww): Use it to detect localhost and similar.
1365
1366 2013-11-21 Leo Liu <sdl.web@gmail.com>
1367
1368 Add completion for command `ag'.
1369 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1370 (pcomplete/ag): New function.
1371 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1372
1373 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1374
1375 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1376 (bug#14646).
1377 (make-obsolete): Remove interactive spec.
1378
1379 2013-11-21 Glenn Morris <rgm@gnu.org>
1380
1381 * startup.el (command-line-1): Use path-separator with -L.
1382
1383 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1384
1385 * emacs-lisp/package.el (describe-package-1): Add package archive
1386 to shown fields.
1387
1388 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1389
1390 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1391 Change default to "# encoding: %s" to differentiate it from the
1392 default Ruby encoding comment template.
1393
1394 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1395
1396 * ses.el (ses-mode): Doc fix. (Bug#14748)
1397
1398 2013-11-20 Leo Liu <sdl.web@gmail.com>
1399
1400 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1401
1402 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1403
1404 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1405 when rebase or bisect are in progress.
1406
1407 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1408
1409 * filenotify.el (file-notify-add-watch): Doc fix.
1410
1411 2013-11-19 Leo Liu <sdl.web@gmail.com>
1412
1413 * obsolete/rcompile.el: Mark obsolete.
1414
1415 * progmodes/compile.el (compilation-start)
1416 (compilation-goto-locus, compilation-find-file):
1417 Pass no-display-ok and handle nil value from display-buffer.
1418 (Bug#13594)
1419
1420 * window.el (display-buffer-alist, display-buffer): Document the
1421 new parameter no-display-ok. Return either a window or nil
1422 but never a non-window value.
1423
1424 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * electric.el (electric-indent-mode-map): Remove.
1427 (electric-indent-mode): Change the global-map instead (bug#15915).
1428
1429 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1430 Use add-function.
1431
1432 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * emacs-lisp/nadvice.el (remove-function): Align with
1435 add-function's behavior.
1436
1437 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1438 (gdb--string-regexp): New constant.
1439 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1440 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1441 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1442 submatch 1.
1443 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1444 Adjust use accordingly.
1445 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1446
1447 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1448
1449 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1450 interpolation curlies (Bug#15914).
1451
1452 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1453
1454 * calc/calc.el (calc-context-sensitive-enter): New variable.
1455 (calc-enter): Use `calc-context-sensitive-enter'.
1456
1457 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1458
1459 * progmodes/cfengine.el: Version bump.
1460 (cfengine-cf-promises): New defcustom to locate cf-promises.
1461 (cfengine3-vartypes): Add new "data" type.
1462 (cfengine3--current-word): New function to get current name-like
1463 word or its bounds.
1464 (cfengine3--current-function): New function to look up a CFEngine
1465 function's definition.
1466 (cfengine3-format-function-docstring): New function.
1467 (cfengine3-make-syntax-cache): New function.
1468 (cfengine3-documentation-function): New function: ElDoc glue.
1469 (cfengine3-completion-function): New function: completion glue.
1470 (cfengine3-mode): Set `compile-command',
1471 `eldoc-documentation-function', and add to
1472 `completion-at-point-functions'.
1473
1474 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1475
1476 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1477 `tramp-current-connection'.
1478
1479 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1480
1481 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1482 nil/self/true/false with "end of symbol".
1483
1484 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1485
1486 * subr.el (version-regexp-alist): Fix a typo.
1487
1488 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1489
1490 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1491 "en_US.utf8" and "LC_CTYPE" to "".
1492 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1493 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1494
1495 2013-11-15 Leo Liu <sdl.web@gmail.com>
1496
1497 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1498
1499 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * progmodes/gud.el (ctl-x-map):
1502 Remove C-x SPC binding. (Bug#12342)
1503 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1504
1505 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1506
1507 * subr.el (version-regexp-alist):
1508 Recognize hg, svn and darcs versions as snapshot versions.
1509
1510 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1511 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1512 (ruby--encoding-comment-required-p): Extract from
1513 `ruby-mode-set-encoding'.
1514 (ruby-mode-set-encoding): Add the ability to always insert an
1515 utf-8 encoding comment. Fix and simplify coding comment update
1516 logic.
1517
1518 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1519
1520 * net/tramp-gvfs.el (top): Run init code only when
1521 `tramp-gvfs-enabled' is not nil.
1522 (tramp-gvfs-enabled): Check also :system bus.
1523
1524 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 Sync with upstream verilog-mode revision 78e66ba.
1527 * progmodes/verilog-mode.el (verilog-end-of-defun)
1528 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1529 (verilog-get-end-of-defun): Remove unused argument.
1530 (verilog-comment-depth): Remove unused local `e'.
1531 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1532 Don't pass arg to verilog-get-end-of-defun.
1533
1534 2013-11-14 Glenn Morris <rgm@gnu.org>
1535
1536 * obsolete/assoc.el (aget): Prefix dynamic variable.
1537
1538 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1539
1540 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1541
1542 * widget.el, hfy-cmap.el: Remove bogus package version number.
1543
1544 2013-11-13 Glenn Morris <rgm@gnu.org>
1545
1546 * replace.el (replace-eval-replacement):
1547 Try to give more helpful error message. (Bug#15836)
1548
1549 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1550 (archive-7z-update): Avoid custom type mismatches.
1551
1552 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1553
1554 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1555
1556 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1557 address can be empty.
1558
1559 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1560 Accept nil SWITCHES.
1561 (tramp-gvfs-handle-write-region): Implement APPEND.
1562
1563 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1564
1565 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1566 binary "|" operator and closing block args delimiter.
1567 Remove FIXME comment referring to Ruby 1.8-only syntax.
1568 (ruby-smie--implicit-semi-p): Not after "|" operator.
1569 (ruby-smie--closing-pipe-p): New function.
1570 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1571 (ruby-smie-rules): Indent after "|".
1572
1573 2013-11-12 Glenn Morris <rgm@gnu.org>
1574
1575 * ps-print.el (ps-face-attribute-list):
1576 Handle anonymous faces. (Bug#15827)
1577
1578 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1579
1580 * window.el (display-buffer-other-frame): Fix doc-string.
1581 (Bug#15868)
1582
1583 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1584
1585 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1586
1587 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1588
1589 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1590 (tramp-sh-handle-file-local-copy): Don't write a message when
1591 saving temporary files.
1592
1593 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1594 both directories are remote.
1595 (tramp-smb-handle-directory-files): Do not return double entries.
1596 Do not expand full file names.
1597 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1598 (tramp-smb-handle-write-region): Implement APPEND.
1599 (tramp-smb-get-stat-capability): Fix a stupid bug.
1600
1601 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1604
1605 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1606
1607 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1608 throwing error over malformed let/let* (bug#15814).
1609
1610 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * iswitchb.el (iswitchb-mode): Mark obsolete.
1613
1614 2013-11-11 Glenn Morris <rgm@gnu.org>
1615
1616 * international/uni-bidi.el, international/uni-category.el:
1617 * international/uni-name.el, international/uni-numeric.el:
1618 Regenerate for Unicode 6.3.0.
1619
1620 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1621
1622 * net/tramp.el (tramp-methods):
1623 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1624 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1625
1626 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1627
1628 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1629 Force highlighting text after Summary keyword in doc face for rpm.
1630
1631 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1632
1633 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1634 available and the word has no wildcards, append one to the grep pattern.
1635 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1636 (ispell-complete-word): Call `ispell-lookup-words' with the value
1637 independent of `ispell-look-p'.
1638
1639 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1640
1641 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1642 Not after "||".
1643 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1644 their parent.
1645
1646 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1649 (ruby-font-lock-keywords): Use backquote.
1650
1651 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1652
1653 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1654 (ruby-smie--backward-token): Only consider full-string matches.
1655
1656 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1657
1658 * faces.el (describe-face): Add distant-foreground.
1659
1660 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1661
1662 * progmodes/ruby-mode.el: Improve encoding comment handling.
1663 (ruby-encoding-magic-comment-style): New option.
1664 (ruby-custom-encoding-magic-comment-template): New option.
1665 (ruby--insert-coding-comment, ruby--detect-encoding):
1666 New functions extracted from `ruby-mode-set-encoding'.
1667 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1668 to control the style of the auto-inserted encoding comment.
1669
1670 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1671
1672 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1673 Use `smie-backward-sexp' with token argument.
1674
1675 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1676
1677 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1678 Remove instrumentation code.
1679
1680 2013-11-08 Glenn Morris <rgm@gnu.org>
1681
1682 * progmodes/autoconf.el (autoconf-mode):
1683 Tweak comment-start-skip. (Bug#15822)
1684
1685 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1688 at bobp (bug#15826).
1689 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1690
1691 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1692
1693 * man.el (Man-start-calling): New macro, extracted from
1694 Man-getpage-in-background.
1695 (Man-getpage-in-background): Use it.
1696 (Man-update-manpage): New command.
1697 (Man-mode-map): Bind it.
1698
1699 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1700
1701 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1702 of "and", "or", "&&" and "||".
1703 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1704 argument. Prohibit opening curly brace because it could only be a
1705 block opener in that position.
1706 (ruby-smie--forward-token, ruby-smie--backward-token):
1707 Separate "|" from "&" or "*" going after it. That can happen in block
1708 arguments.
1709 (ruby-smie--indent-to-stmt): New function, seeks the end of
1710 previous statement or beginning of buffer.
1711 (ruby-smie-rules): Use it.
1712 (ruby-smie-rules): Check if there's a ":" before a curly block
1713 opener candidate; if there is, it's a hash.
1714
1715 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1718 (cl--block-wrapper): Fix last accidental change.
1719
1720 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1721
1722 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1723 Instrument, in order to hunt failure on hydra.
1724
1725 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1726
1727 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1728 malformed bindings form (bug#15814).
1729
1730 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1731
1732 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1733 "." compared to " @ ". This incidentally fixes some indentation
1734 examples with "do".
1735 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1736 (ruby-smie-grammar): New tokens: "and" and "or".
1737 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1738 Exclude "and" and "or". Remove "do" in order to work around token
1739 priorities.
1740 (ruby-smie-rules): Add all infix tokens. Handle the case of
1741 beginning-of-buffer.
1742
1743 2013-11-06 Glenn Morris <rgm@gnu.org>
1744
1745 * Makefile.in (setwins_almost, setwins_for_subdirs):
1746 Avoid accidental matches.
1747
1748 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * menu-bar.el (popup-menu): Use key-binding.
1751
1752 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1753
1754 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1755 menus, support also the menus produced by minor modes.
1756 (Bug#15817)
1757
1758 2013-11-06 Leo Liu <sdl.web@gmail.com>
1759
1760 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1761 DISTANCE to bound the search. All uses changed. (Bug#15808)
1762
1763 2013-11-06 Glenn Morris <rgm@gnu.org>
1764
1765 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1766 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1767 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1768
1769 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1770
1771 * electric.el (electric-indent-just-newline): New command.
1772 (electric-indent-mode-map): New keymap.
1773 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1774 Re-add :group which weren't redundant.
1775
1776 * electric.el (electric-indent-local-mode): New minor mode.
1777 (electric-indent-functions-without-reindent): New var.
1778 (electric-indent-post-self-insert-function): Use it.
1779 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1780
1781 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1782
1783 * international/quail.el (quail-help): Be more explicit about the
1784 meaning of the labels shown on the keys. (Bug#15800)
1785
1786 * startup.el (normal-top-level): Load the subdirs.el files before
1787 setting the locale environment. (Bug#15805)
1788
1789 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1792 via arguments so as to get the right ones (bug#15418).
1793
1794 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1795
1796 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1797
1798 Fix problems found while writing a test suite.
1799
1800 * net/tramp-compat.el (tramp-compat-load): New defun.
1801 * net/tramp.el (tramp-handle-load): Use it.
1802
1803 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1804 "(numberp ok-if-already-exists)" correctly.
1805
1806 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1807
1808 * international/characters.el (glyphless-char-display-control):
1809 Add usage note.
1810
1811 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1812
1813 * progmodes/python.el (python-mode):
1814 * progmodes/scheme.el (scheme-mode):
1815 * progmodes/prolog.el (prolog-mode):
1816 * progmodes/ruby-mode.el (ruby-mode):
1817 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1818 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1819
1820 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * rect.el (rectangle--highlight-for-redisplay):
1823 * emacs-lisp/smie.el (smie--next-indent-change):
1824 Use buffer-chars-modified-tick.
1825
1826 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1827
1828 * electric.el (electric-indent-post-self-insert-function):
1829 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1830
1831 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1832
1833 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1834
1835 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1836
1837 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1838 (bug#15786).
1839
1840 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1843
1844 * progmodes/python.el: Fix up last change.
1845 (python-shell--save-temp-file): New function.
1846 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1847 `string' comes from the current buffer.
1848 (python-shell-send-string-no-output): Remove `msg' arg.
1849 (python--use-fake-loc): New var.
1850 (python-shell-buffer-substring): Obey it. Try to compensate for the
1851 extra coding line added by python-shell--save-temp-file.
1852 (python-shell-send-region): Use python-shell--save-temp-file and
1853 python-shell-send-file directly. Add `nomain' argument.
1854 (python-shell-send-buffer): Use python-shell-send-region.
1855 (python-electric-pair-string-delimiter): New function.
1856 (python-mode): Use it.
1857
1858 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1859
1860 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1861 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1862 environment and decoding all of the default-directory's to here
1863 from command-line.
1864 (command-line): Decode also argv[0].
1865
1866 * loadup.el: Error out if default-directory is a multibyte string
1867 when we are dumping.
1868
1869 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1870
1871 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1872
1873 * emacs-lisp/package.el (package-menu-mode)
1874 (package-menu--print-info, package-menu--archive-predicate):
1875 Add Archive column to package list.
1876
1877 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1878
1879 Fix problems found while writing a test suite.
1880
1881 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1882 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1883 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1884 to nil when running original file name handler. Otherwise,
1885 there are problems with constructs like "$$FOO".
1886
1887 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1888 for `localname'.
1889
1890 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1891
1892 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1893
1894 * subr.el (version<, version<=, version=):
1895 Update docstrings with information for snapshot versions.
1896
1897 * helpers.el: New library for misc helper functions.
1898 (hash-table-keys): New function returning a list of hash keys.
1899 (hash-table-values): New function returning a list of hash values.
1900
1901 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1902
1903 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1904 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1905
1906 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1907
1908 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1909 checking whether point is after a 1-letter word.
1910
1911 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1912
1913 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1914 Don't infloop when expanding region over `multiline' syntax-type that
1915 begins a line (bug#15778).
1916
1917 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1920 Make it into a proper minor mode.
1921 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1922 (rectangle-mark-mode-map): New keymap.
1923 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1924
1925 2013-11-04 Glenn Morris <rgm@gnu.org>
1926
1927 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1928
1929 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1932 (ruby-smie-rules): Use smie-rule-parent instead.
1933
1934 * emacs-lisp/smie.el (smie-rule-parent): Always call
1935 smie-indent-virtual rather than only for hanging tokens.
1936 (smie--next-indent-change): New helper command.
1937
1938 2013-11-03 Glenn Morris <rgm@gnu.org>
1939
1940 * Makefile.in (abs_srcdir): Remove.
1941 (emacs): Unset EMACSLOADPATH.
1942
1943 2013-11-02 Glenn Morris <rgm@gnu.org>
1944
1945 * Makefile.in (EMACS): Use a relative filename.
1946 (abs_top_builddir): Remove.
1947 (custom-deps, finder-data, autoloads): Use --chdir.
1948
1949 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1950
1951 Use relative filenames in TAGS files.
1952 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1953 (lisptagsfiles4, TAGS): Use relative file names.
1954 (TAGS-LISP): Remove.
1955 (maintainer-clean): No more TAGS-LISP file.
1956
1957 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1958 (lisptagsfiles4): Use absolute filenames again.
1959 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1960 Remove all *loaddefs files, not just the first. Remove esh-groups.
1961 (maintainer-clean): Delete TAGS, TAGS-LISP.
1962
1963 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1964
1965 * emacs-lisp/package.el (package-version-join):
1966 Recognize snapshot versions.
1967
1968 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1969
1970 * subr.el (version-regexp-alist): Add support for snapshot versions.
1971
1972 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1973
1974 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1975 New function, replacement for `smie-rule-parent' for when we want to
1976 skip over our direct parent if it's an assignment token..
1977 (ruby-smie-rules): Use it.
1978
1979 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1980
1981 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1982 unconditionally. Remove now unnecessary forward declarations.
1983 Remove XEmacs-specific setup.
1984 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1985 (ruby-font-lock-syntactic-keywords)
1986 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1987 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1988 (ruby-here-doc-end-syntax): Remove.
1989 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1990 defined as function.
1991
1992 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1993
1994 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1995
1996 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1997
1998 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1999 table and abbrev table, `define-derived-mode' does that for us
2000 anyway.
2001
2002 2013-11-01 Glenn Morris <rgm@gnu.org>
2003
2004 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2005 files is atomic for some time, so no parallel compilation issues).
2006
2007 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2008
2009 * faces.el (face-x-resources): Add :distant-foreground.
2010 (region): Use :distant-foreground for gtk and ns.
2011
2012 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2013
2014 Allow multiple bibliographies when BibLaTeX is used rather than
2015 BibTeX.
2016 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2017 (reftex-locate-bibliography-files): Us it.
2018
2019 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2020
2021 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2022 allow comments in pbm files.
2023
2024 * term/w32-win.el (dynamic-library-alist): Support newer versions
2025 of libjpeg starting with v7: look only for the DLL from the
2026 version against which Emacs was built.
2027 Support versions of libpng beyond 1.4.x.
2028 Support libtiff v4.x.
2029
2030 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2031
2032 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2033 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2034 Add property :safe.
2035 (ruby-deep-arglist): Add property :type.
2036
2037 2013-10-31 Glenn Morris <rgm@gnu.org>
2038
2039 * Makefile.in (custom-deps, finder-data): No need to setq the target
2040 variables, we are in the right directory and the defaults work fine.
2041
2042 2013-10-30 Glenn Morris <rgm@gnu.org>
2043
2044 * Makefile.in (autoloads): Do not use abs_lisp.
2045
2046 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2047 `newline' does not respect `standard-output', so use `princ'.
2048
2049 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2050
2051 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2052 * buff-menu.el (Buffer-menu--unmark): New function.
2053 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2054
2055 2013-10-30 Glenn Morris <rgm@gnu.org>
2056
2057 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2058
2059 * emacs-lisp/package.el (lm-homepage): Declare.
2060
2061 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2062 Fix doc typos.
2063
2064 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2065
2066 * Makefile.in (finder-data, autoloads, update-subdirs)
2067 (compile-main, compile-clean, compile-always, bootstrap-clean):
2068 Check return value of cd.
2069 (compile-calc): Remove.
2070
2071 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2074
2075 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2076 (byte-compile-and-folded): New function.
2077 (=, <, >, <=, >=): Use it.
2078
2079 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2080 (path-separator, null-device, buffer-file-coding-system)
2081 (lpr-headers-switches): Check system-type before modifying them.
2082 (find-buffer-file-type-coding-system): Mark obsolete.
2083 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2084 find-file-not-found-set-buffer-file-coding-system.
2085 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2086 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2087 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2088 (w32-direct-print-region-helper, w32-direct-print-region-function)
2089 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2090 * startup.el (normal-top-level-add-subdirs-to-load-path):
2091 * ps-print.el (ps-print-region-function):
2092 * lpr.el (print-region-function): Use new name.
2093
2094 * subr.el (custom-declare-variable-early): Remove function.
2095 (custom-declare-variable-list): Remove var.
2096 (error, user-error): Remove `while' loop.
2097 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2098 (user-emacs-directory-warning, locate-user-emacs-file):
2099 Move to files.el.
2100 * simple.el (read-quoted-char-radix, read-quoted-char):
2101 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2102 Move from subr.el.
2103 * custom.el (custom-declare-variable-list): Don't process
2104 custom-declare-variable-list.
2105
2106 * progmodes/python.el (python-shell-get-buffer): New function.
2107 (python-shell-get-process): Use it.
2108 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2109 Python which encoding was used. Don't split-string since we only care
2110 about the first line. Return the temp-file, if applicable.
2111 (python-shell-send-region): Tell compile.el how to turn locations in
2112 the temp-file into locations in the source buffer.
2113
2114 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * subr.el (undefined): Add missing behavior from the C code for
2117 unbound keys.
2118
2119 * rect.el: Use lexical-binding. Add new rectangular region support.
2120 (rectangle-mark): New command.
2121 (rectangle--region): New var.
2122 (deactivate-mark-hook): Reset rectangle--region.
2123 (rectangle--extract-region, rectangle--insert-for-yank)
2124 (rectangle--highlight-for-redisplay)
2125 (rectangle--unhighlight-for-redisplay): New functions.
2126 (region-extract-function, redisplay-unhighlight-region-function)
2127 (redisplay-highlight-region-function): Use them to handle
2128 rectangular region.
2129 * simple.el (region-extract-function): New var.
2130 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2131 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2132 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2133 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2134 (redisplay-unhighlight-region-function)
2135 (redisplay-highlight-region-function): New vars.
2136 (redisplay--update-region-highlight): New function.
2137 (pre-redisplay-function): Use it.
2138 (exchange-point-and-mark): Don't deactivate the mark before
2139 reactivate-it anyway.
2140 * comint.el (comint-kill-region): Remove yank-handler argument.
2141 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2142 (delete-char): Remove property, since it's now part of their
2143 default behavior.
2144 (self-insert-iso): Remove property since this command doesn't exist.
2145
2146 * emacs-lisp/package.el (package--download-one-archive)
2147 (describe-package-1): Don't query the user about final newline.
2148
2149 2013-10-29 Daniel Colascione <dancol@dancol.org>
2150
2151 * net/tramp.el (tramp-methods): Document new functionality.
2152 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2153 tramp-hostname-checker if method provides one instead of scanning
2154 argument list for "%h" to decide hostname acceptability.
2155
2156 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2157
2158 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2159 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2160 Handle COPY-CONTENTS. (Bug#15737)
2161
2162 2013-10-28 Daiki Ueno <ueno@gnu.org>
2163
2164 * epa-file.el
2165 (epa-file-cache-passphrase-for-symmetric-encryption):
2166 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2167
2168 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2169
2170 * image.el (defimage):
2171 (image-load-path): Doc fixes.
2172
2173 2013-10-27 Alan Mackenzie <acm@muc.de>
2174
2175 Indent statements in macros following "##" correctly.
2176 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2177 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2178
2179 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2180
2181 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2182
2183 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2184
2185 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2186 after `=' is probably a new expression.
2187
2188 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2189
2190 * man.el (man-imenu-title): New option.
2191 (Man-mode-map): Add menu. (Bug#15722)
2192 (Man-mode): Add imenu to menu.
2193
2194 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2195
2196 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2197 specific in what the first arg can be: a non-keyword word,
2198 string/regexp/percent literal opener, opening paren, or unary
2199 operator followed directly by word.
2200
2201 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2204 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2205 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2206 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2207 Remove vars, they do not apply any more.
2208 (prolog-mode-abbrev-table): Remove redundant declaration.
2209 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2210 (prolog-use-smie): Remove.
2211 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2212 supported by prolog-electric-if-then-else-flag.
2213 (prolog-mode-variables, prolog-menu): Use setq-local.
2214 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2215 Remove binding to `Backspace' since this key doesn't exist anyway.
2216 Remove bindings for electric self-inserting keys.
2217 (prog-mode): Assume it's defined.
2218 (prolog-post-self-insert): New function.
2219 (prolog-mode): Use it.
2220 (prolog-indent-line, prolog-indent-level)
2221 (prolog-find-indent-of-matching-paren)
2222 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2223 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2224 (prolog-goto-next-paren, prolog-in-string-or-comment)
2225 (prolog-tokenize, prolog-inside-mline-comment)
2226 (prolog-find-start-of-mline-comment): Remove functions.
2227 (prolog-find-unmatched-paren, prolog-clause-end)
2228 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2229 (prolog-electric--if-then-else): Rename from
2230 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2231 (prolog-tokenize-searchkey): Remove const.
2232 (prolog-clause-info): Use forward-sexp.
2233 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2234 (prolog-electric-if-then-else): Remove commands.
2235 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2236 for use in post-self-insert-hook.
2237 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2238 for use in post-self-insert-hook.
2239 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2240 for use in post-self-insert-hook.
2241 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2242 adapt it for use in post-self-insert-hook.
2243
2244 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2245
2246 * emacs-lisp/ert.el (ert-run-tests-interactively):
2247 Use `completing-read'. (Bug#9756)
2248
2249 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2250
2251 * simple.el (line-move): Call line-move-1 instead of
2252 line-move-visual when the current window hscroll is zero, but
2253 temporary-goal-column indicates we will need to hscroll as result
2254 of the movement. (Bug#15712)
2255
2256 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2257
2258 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2259 capitalization. Use :visible instead of :active.
2260 Fix `ruby-indent-exp' reference. Add menu items for the generic
2261 commands that are used with SMIE.
2262 (ruby-do-end-to-brace): Insert space after `{'.
2263
2264 2013-10-25 John Anthony <john@jo.hnanthony.com>
2265
2266 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2267
2268 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2269
2270 2013-10-25 Glenn Morris <rgm@gnu.org>
2271
2272 * vc/vc.el (vc-print-log): Don't use a working revision unless
2273 one was explicitly specified. (Bug#15322)
2274
2275 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * subr.el (add-to-list): Preserve return value in compiler-macro
2278 (bug#15692).
2279
2280 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2281
2282 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2283 result. Ask user to retry using '-all' flag. (Bug#15701)
2284
2285 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * emacs-lisp/smie.el: New smie-config system.
2288 (smie-config): New defcustom.
2289 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2290 (smie-config-guess, smie-config-save): New commands.
2291 (smie-config--mode-local, smie-config--buffer-local)
2292 (smie-config--trace, smie-config--modefuns): New vars.
2293 (smie-config--advice, smie-config--mode-hook)
2294 (smie-config--setter, smie-config-local, smie-config--get-trace)
2295 (smie-config--guess-value, smie-config--guess): New functions.
2296 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2297 text properties. Treat "string fence" syntax like string syntax.
2298
2299 * progmodes/sh-script.el (sh-use-smie): Change default.
2300 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2301 (sh-var-value): Simplify by CSE.
2302 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2303 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2304 is used.
2305 (sh-guess-basic-offset): Use cl-incf.
2306 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2307
2308 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2309
2310 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2311 (bug#15699).
2312
2313 2013-10-24 Glenn Morris <rgm@gnu.org>
2314
2315 * Makefile.in (abs_top_srcdir): Remove.
2316 (update-subdirs): Use relative path to update-subdirs.
2317
2318 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2319
2320 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2321 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2322 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2323 Call unmsys--file-name before expand-file-name, not after it.
2324
2325 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2326
2327 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2328 (ert-test-skipped): New error.
2329 (ert-skip, ert-stats-skipped): New defuns.
2330 (ert--skip-unless): New macro.
2331 (ert-test-skipped): New struct.
2332 (ert--run-test-debugger, ert-test-result-type-p)
2333 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2334 (ert--stats-set-test-and-result, ert-char-for-test-result)
2335 (ert-string-for-test-result, ert-run-tests-batch)
2336 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2337 Handle skipped tests. (Bug#9803)
2338
2339 2013-10-24 Glenn Morris <rgm@gnu.org>
2340
2341 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2342
2343 * Makefile.in (abs_top_srcdir): New, set by configure.
2344 (update-subdirs): Correct build-aux location.
2345
2346 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2347
2348 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2349 value, whether we could auto-deduce `backend', or not.
2350
2351 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2352 with parameters" example. Simplify the "is it block or is it
2353 hash" check, but also make it more thorough.
2354
2355 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2356
2357 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2358
2359 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2362 { if it is hanging.
2363
2364 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2365 :before ";".
2366
2367 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2368
2369 * progmodes/compile.el (compilation-directory-matcher)
2370 (compilation-page-delimiter):
2371 Support GNU Make-4.0 directory quoting. (Bug#15678)
2372
2373 2013-10-23 Leo Liu <sdl.web@gmail.com>
2374
2375 * ido.el (ido-tidy): Handle read-only text.
2376
2377 2013-10-23 Glenn Morris <rgm@gnu.org>
2378
2379 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2380 (emacs, compile, compile-always):
2381 Quote entities that might contain whitespace.
2382 (custom-deps, finder-data, autoloads): Use abs_lisp.
2383 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2384 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2385 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2386
2387 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2388
2389 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2390 Use `following-char'.
2391
2392 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2395 * progmodes/ruby-mode.el (ruby-smie-rules):
2396 Remove corresponding workaround. Fix indentation rule of ";" so it
2397 also applies when ";" is the parent.
2398
2399 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2400
2401 * frame.el (display-screens, display-pixel-height)
2402 (display-pixel-width, display-mm-width, display-backing-store)
2403 (display-save-under, display-planes, display-color-cells)
2404 (display-visual-class, display-monitor-attributes-list):
2405 Mention the optional ‘display’ argument in doc strings.
2406
2407 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2408
2409 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2410 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2411
2412 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2413
2414 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2415 TODO. Add "." after " @ ".
2416 (ruby-smie--at-dot-call): New function. Checks if point at method
2417 call with explicit target.
2418 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2419 to the method name tokens when it precedes them.
2420 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2421 (ruby-smie-rules): Add rule for indentation before and after "."
2422 token.
2423
2424 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * textmodes/remember.el (remember-diary-extract-entries):
2427 Avoid add-to-list.
2428
2429 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2430 an instruction.
2431
2432 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2433
2434 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2435 (ruby-smie--implicit-semi-p): Add new operator chars.
2436
2437 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2438 `smie-down-list'.
2439 (ruby-smie--args-separator-p): Check that there's no newline
2440 between method call and its arguments.
2441
2442 2013-10-20 Alan Mackenzie <acm@muc.de>
2443
2444 Allow comma separated lists after Java "implements".
2445
2446 * progmodes/cc-engine.el (c-backward-over-enum-header):
2447 Parse commas.
2448 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2449 from a "disallowed" list in enum fontification.
2450
2451 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2452
2453 * startup.el (default-frame-background-mode): Remove unused defvar.
2454
2455 * progmodes/verilog-mode.el (verilog-mode): Don't set
2456 comment-indent-function globally.
2457
2458 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2459
2460 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2461 Move Info menu item creation to ns-win.el.
2462
2463 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2464 in menu bar.
2465
2466 * menu-bar.el: Move GNUStep specific menus...
2467
2468 * term/ns-win.el (ns-initialize-window-system): ... to here.
2469
2470 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2471
2472 * simple.el (newline): Only run post-self-insert-hook when
2473 called interactively.
2474
2475 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2476
2477 * icomplete.el (icomplete-with-completion-tables): Add :version.
2478
2479 2013-10-19 Alan Mackenzie <acm@muc.de>
2480
2481 Fix fontification bugs with constructors and const.
2482
2483 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2484 CASE 2) Remove the check for the absence of a suffix construct
2485 after a function declaration with only types (no identifiers) in
2486 the parentheses. Also, accept a function declaration with just a
2487 type inside the parentheses, if this type can be positively
2488 recognised as such, or if a prefix keyword like "explicit" nails
2489 down the construct as a declaration.
2490
2491 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2492
2493 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2494 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2495 the problem whereby selecting a menu item that leads to a
2496 minibuffer prompt moves the cursor out of the minibuffer window,
2497 making it hard to type at the prompt. Suggested by Stefan Monnier
2498 <monnier@iro.umontreal.ca>.
2499
2500 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2501
2502 * menu-bar.el: Don't make Services menu.
2503
2504 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2505
2506 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2507 (ffap-alist): Use ffap-c++-mode for c++-mode.
2508 (ffap-c++-path): New variable.
2509 (ffap-c++-mode): New function.
2510
2511 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2512
2513 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2514
2515 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2516
2517 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2518 introduced on 2013-09-08, which results in an infinite loop
2519 requesting a password.
2520
2521 2013-10-18 Glenn Morris <rgm@gnu.org>
2522
2523 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2524
2525 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2526
2527 Sync with upstream verilog-mode revision 1a6ecec7.
2528 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2529 (verilog-mode-release-date): Remove.
2530 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2531 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2532 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2533 (verilog-auto-tieoff-ignore-regexp)
2534 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2535 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2536 (verilog-signals-with, verilog-dir-cache-preserving)
2537 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2538 Doc fixes.
2539 (verilog-case-fold): New option, to control case folding in
2540 regexp searches, bug597.
2541 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2542 (verilog-string-match-fold, verilog-in-paren-count)
2543 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2544 (verilog-at-close-struct-p): New functions.
2545 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2546 (verilog-forward-sexp, verilog-set-auto-endcomments):
2547 (verilog-leap-to-case-head): Handle "unique0" case.
2548 (verilog-in-constraint-re): New constant.
2549 (verilog-keywords, verilog-type-font-keywords):
2550 Add some SystemVerilog 1800-2012 keywords.
2551 (verilog-label-be): Remove unimplemented argument, bug669.
2552 (verilog-batch-execute-func): When batch expanding clear
2553 create-lockfiles to prevent spurious user locks when a file ends
2554 up not changing.
2555 (verilog-calculate-indent, verilog-calc-1)
2556 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2557 (verilog-do-indent): Fix indentation of nested constraints
2558 and structures.
2559 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2560 (verilog-auto-inst-param): Use verilog-string-match-fold.
2561 (verilog-read-inst-module-matcher):
2562 Fix AUTOINST on gate primitives with #1.
2563 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2564 Reads all user-defined typed variables.
2565 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2566 (verilog-signals-matching-regexp)
2567 (verilog-signals-not-matching-regexp, verilog-auto):
2568 Respect verilog-case-fold.
2569 (verilog-diff-report): Fix line count.
2570 (verilog-auto-assign-modport): Remove unused local `modi'.
2571 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2572 better handle multidimensional arrays.
2573 Fix packed array ports misadding bit index in AUTOINST, bug637.
2574 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2575 to not double-declare existing outputs and inputs, respectively.
2576 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2577 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2578 (verilog-sk-uvm-component): New skeleton.
2579 (verilog-submit-bug-report): Add verilog-case-fold,
2580 remove verilog-mode-release-date.
2581
2582 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2583
2584 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2585 as before.
2586
2587 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2588
2589 * textmodes/remember.el (remember): set buffer-offer-save in
2590 remember buffers (bug#13566).
2591
2592 2013-10-18 Daniel Colascione <dancol@dancol.org>
2593
2594 When evaluating forms in ielm, direct standard output to ielm
2595 buffer. Add new ielm-return-for-effect command. Remove trailing
2596 whitespace throughout.
2597
2598 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2599 (ielm-return-for-effect): New command.
2600 (ielm-send-input): Accept optional `for-effect' parameter.
2601 (ielm-eval-input): Accept optional `for-effect' parameter.
2602 Bind `standard-output' to stream we create using
2603 `ielm-standard-output-impl'. Suppress printing result when
2604 `for-effect'.
2605 (ielm-standard-output-impl): New function.
2606 (inferior-emacs-lisp-mode): Explain new features in documentation.
2607
2608 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2609
2610 Code cleanup.
2611
2612 * net/tramp.el (tramp-debug-message): Do not check for connection
2613 buffer.
2614 (tramp-message): Use "vector" connection property.
2615
2616 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2617 (tramp-equal-remote, tramp-eshell-directory-change)
2618 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2619 (tramp-adb-handle-rename-file)
2620 * net/tramp-cmds.el (tramp-list-remote-buffers)
2621 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2622 * net/tramp-compat.el (tramp-compat-process-running-p)
2623 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2624 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2625 (tramp-gvfs-handle-rename-file)
2626 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2627 (tramp-set-file-uid-gid)
2628 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2629 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2630 of `file-remote-p'.
2631
2632 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2633 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2634 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2635 (tramp-gw-open-network-stream): Suppress unrelated traces.
2636
2637 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2638 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2639 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2640 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2641 connection property.
2642
2643 * net/tramp-cache.el (top): Suppress traces when reading
2644 persistency file.
2645
2646 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2647 Refactor common code. Improve debug message.
2648 (tramp-maybe-open-connection)
2649 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2650 connection buffer too early.
2651
2652 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2653 from `tramp-smb-actions-with-acl'.
2654 (tramp-smb-actions-set-acl): New defconst.
2655 (tramp-smb-handle-copy-directory)
2656 (tramp-smb-action-get-acl): New defun, renamed from
2657 `tramp-smb-action-with-acl'.
2658 (tramp-smb-action-set-acl): New defun.
2659 (tramp-smb-handle-set-file-acl): Rewrite.
2660
2661 2013-10-17 Glenn Morris <rgm@gnu.org>
2662
2663 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2664
2665 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2666
2667 * skeleton.el (skeleton-newline): Remove.
2668 (skeleton-internal-1): Use (insert "\n") instead.
2669
2670 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2671 let-bindings.
2672
2673 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2674 forward-sexp-function while we redo its job (bug#15613).
2675
2676 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2677
2678 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2679 represented by lists.
2680
2681 2013-10-16 Glenn Morris <rgm@gnu.org>
2682
2683 * tmm.el (tmm--history): New dynamic variable.
2684 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2685
2686 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2687
2688 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2689 (tramp-smb-errors): Add error messages.
2690 (tramp-smb-actions-with-acl): New defconst.
2691 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2692 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2693 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2694 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2695 (tramp-smb-get-stat-capability): Fix tests.
2696
2697 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2698
2699 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2700 (bug#15580).
2701
2702 2013-10-16 Glenn Morris <rgm@gnu.org>
2703
2704 * ansi-color.el (ansi-color-drop-regexp):
2705 Add 1J, 1K, 2K. (Bug#15617)
2706
2707 * files.el (hack-local-variables--warned-lexical): New.
2708 (hack-local-variables):
2709 Warn about misplaced lexical-binding. (Bug#15616)
2710
2711 * net/eww.el (eww-render): Always set eww-current-url,
2712 and update header line. (Bug#15622)
2713 (eww-display-html): ... Rather than just doing it here.
2714
2715 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2716
2717 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2718 menu navigations commands.
2719
2720 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2721
2722 * progmodes/subword.el (subword-capitalize): Be careful when
2723 the search for [[:alpha:]] fails (bug#15580).
2724
2725 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2726
2727 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2728 to commands that scroll the menu.
2729
2730 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2731
2732 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2733 Handle methods ending with `?' and `!'.
2734
2735 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2736
2737 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2738 `japanese-cp932' to `cp932' to fix the problem where saving a
2739 source file written in Shift_JIS twice would end up having
2740 `coding: japanese-cp932' which Ruby could not recognize.
2741 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2742 in `ruby-encoding-map'.
2743 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2744 doesn't need to be explicitly declared in magic comment.
2745 (ruby-encoding-map): Add type declaration for better customize UI.
2746
2747 2013-10-13 Glenn Morris <rgm@gnu.org>
2748
2749 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2750 Occur buffers are read-only. http://bugs.debian.org/720775
2751
2752 * emacs-lisp/authors.el (authors-fixed-entries):
2753 Comment out old alpha stuff.
2754
2755 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2756
2757 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2758 to `after-save-hook' instead of `before-save-hook'.
2759 (ruby-mode-set-encoding): Use the value of coding system used to
2760 write the file. Call `basic-save-buffer-1' after modifying the
2761 buffer.
2762
2763 2013-10-13 Alan Mackenzie <acm@muc.de>
2764
2765 Fix indentation/fontification of Java enum with
2766 "implements"/generic.
2767
2768 * progmodes/cc-engine.el (c-backward-over-enum-header):
2769 Extracted from the three other places and enhanced to handle generics.
2770 (c-inside-bracelist-p): Uses new function above.
2771 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2772 function above.
2773 (c-font-lock-enum-tail): Uses new function above.
2774
2775 2013-10-13 Kenichi Handa <handa@gnu.org>
2776
2777 * international/mule-cmds.el (select-safe-coding-system): Remove a
2778 superfluous condition in chekcing whether a coding system is safe
2779 or not.
2780
2781 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2782
2783 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2784
2785 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2786
2787 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2788
2789 2013-10-13 Glenn Morris <rgm@gnu.org>
2790
2791 * menu-bar.el (menu-bar-update-buffers):
2792 Unify Buffers menu prompt string. (Bug#15576)
2793
2794 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2795
2796 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2797 Add some entries.
2798 (authors-fixed-entries): Use accented form of name.
2799
2800 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2801
2802 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2803 method calls (bug#15594).
2804 (ruby-smie--args-separator-p): New function.
2805 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2806 recognize paren-free method calls.
2807
2808 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2809 internals of universal-argument.
2810
2811 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2812
2813 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2814 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2815 dropped menu on second mouse click on the menu bar.
2816
2817 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2820 (explicit-shell-file-name): Declare.
2821 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2822 (sh-completion-at-point-function): New function.
2823 (sh-mode): Use it.
2824 (sh-smie--keyword-p): Remove unused argument.
2825 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2826 vars.
2827 (sh-set-shell): Always setup SMIE, even if we use the
2828 old indentation code.
2829
2830 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2831
2832 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2833 cases of ? and =.
2834 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2835 predicate would return nil are almost non-existent.
2836 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2837
2838 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2839 cache also after commands that modify the buffer but don't move
2840 point.
2841
2842 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2843
2844 * env.el (substitute-env-in-file-name): New function.
2845 (substitute-env-vars): Extend the meaning of the optional arg.
2846
2847 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2848
2849 * term/w32-win.el (dynamic-library-alist): Define separate lists
2850 of GIF DLLs for versions before and after 5.0.0 of giflib.
2851 (Bug#15531)
2852
2853 2013-10-10 João Távora <joaotavora@gmail.com>
2854
2855 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2856 not locked, use last revision and current source as
2857 defaults. (Bug#15569)
2858
2859 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2860
2861 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2862 menu-bar is hidden.
2863
2864 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2865
2866 * window.el (pop-to-buffer-same-window): Fix doc-string.
2867 (Bug#15492)
2868
2869 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2872
2873 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2874
2875 * calendar/icalendar.el (icalendar-import-file):
2876 Fix interactive spec. (Bug#15482)
2877
2878 2013-10-10 Glenn Morris <rgm@gnu.org>
2879
2880 * desktop.el (desktop-save): Default to saving in .emacs.d,
2881 since PWD is no longer in desktop-path by default. (Bug#15319)
2882
2883 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2884 now that text mode has a menu with the same entry.
2885 (menu-bar-text-mode-auto-fill): Remove now unused func.
2886 * textmodes/text-mode.el (text-mode-map):
2887 Use auto-fill help text from menu-bar.el.
2888
2889 2013-10-10 John Anthony <john@jo.hnanthony.com>
2890
2891 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2892
2893 2013-10-09 Juri Linkov <juri@jurta.org>
2894
2895 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2896 instead of this-command-keys. Add universal-argument-more and
2897 universal-argument-minus to the list of prefix commands. (Bug#15568)
2898
2899 2013-10-09 Glenn Morris <rgm@gnu.org>
2900
2901 * vc/vc-svn.el (vc-svn-create-repo):
2902 Expand paths in file://... url. (Bug#15446)
2903
2904 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2905 Add some entries.
2906 (authors): Remove unused local variables.
2907
2908 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * profiler.el: Create a more coherent calltree from partial backtraces.
2911 (profiler-format): Hide the tail with `invisible' so that C-s can still
2912 find the hidden elements.
2913 (profiler-calltree-depth): Don't recurse so enthusiastically.
2914 (profiler-function-equal): New hash-table-test.
2915 (profiler-calltree-build-unified): New function.
2916 (profiler-calltree-build): Use it.
2917 (profiler-report-make-name-part): Indent the calltree less.
2918 (profiler-report-mode): Add visibility specs for profiler-format.
2919 (profiler-report-expand-entry, profiler-report-toggle-entry):
2920 Expand the whole subtree when provided with a prefix arg.
2921
2922 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2923
2924 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2925 iuwu-mod token.
2926 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2927 hanging iuwu-mod token.
2928 (ruby-smie--forward-token): Do not include a dot after a token in
2929 that token.
2930 (ruby-smie--backward-token): Likewise.
2931
2932 2013-10-08 Juri Linkov <juri@jurta.org>
2933
2934 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2935 to isearch-other-control-char.
2936 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2937 and isearch-post-command-hook to post-command-hook.
2938 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2939 and isearch-post-command-hook from post-command-hook.
2940 (isearch-unread-key-sequence)
2941 (isearch-reread-key-sequence-naturally)
2942 (isearch-lookup-scroll-key, isearch-other-control-char)
2943 (isearch-other-meta-char): Remove functions.
2944 (isearch-pre-command-hook, isearch-post-command-hook):
2945 New functions based on isearch-other-meta-char rewritten
2946 relying on the new behavior of overriding-terminal-local-map
2947 that does not replace the local keymaps any more. (Bug#15200)
2948
2949 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2950
2951 Support menus on text-mode terminals.
2952 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2953 functionality.
2954
2955 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2956
2957 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2958 Move here from mouse.el.
2959 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2960 and arrow keys.
2961 (tty-menu-navigation-map): New map for TTY menu navigation.
2962
2963 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2964
2965 * frame.el (display-mouse-p): Report text-mode mouse as available
2966 on w32.
2967 (display-popup-menus-p): Report availability if mouse is
2968 available; don't condition on window-system.
2969
2970 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2971 (tty-menu-selected-face): New faces.
2972
2973 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2976 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2977 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2978 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2979 New constants.
2980 (lisp-mode-variables): New `elisp' argument.
2981 (emacs-lisp-mode): Use it.
2982 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2983 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2984
2985 * indent.el: Use lexical-binding.
2986 (indent-region): Add progress reporter.
2987 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2988 last step.
2989 (indent--next-tab-stop): New function to implement this behavior.
2990 (tab-to-tab-stop, move-to-tab-stop): Use it.
2991
2992 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2993
2994 * indent.el (indent-rigidly--current-indentation): New function.
2995 (indent-rigidly-map): New var.
2996 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2997
2998 2013-10-08 Bastien Guerry <bzg@gnu.org>
2999
3000 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3001
3002 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3003
3004 * progmodes/perl-mode.el: Use lexical-binding.
3005 Remove redundant :group args.
3006 (perl-nochange): Change default to be closer to other major modes's
3007 standard behavior.
3008 (perl-indent-line): Don't consider text on current line as a
3009 valid beginning of function from which to indent.
3010
3011 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3012 with more than one argument (bug#15538).
3013
3014 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3015
3016 * vc/pcvs.el: Use lexical-binding.
3017 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3018 environment of `eval'.
3019 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3020 than a list of expressions. Adjust callers.
3021 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3022
3023 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3024
3025 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3026 case of the dot in a chained method call being on the following line.
3027
3028 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * electric.el (electric-indent-inhibit): New var.
3031 (electric-indent-post-self-insert-function): Use it.
3032 * progmodes/python.el (python-mode): Set it.
3033
3034 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3035 open braces.
3036
3037 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3038
3039 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3040 (css-mode): Use electric-indent-chars.
3041
3042 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3043 (font-lock-beg, font-lock-end): Move before first use.
3044 (nxml-mode): Use syntax-propertize-function.
3045 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3046 (nxml-extend-after-change-region): Remove.
3047 * nxml/xmltok.el: Use lexical-binding.
3048 (xmltok-save): Use `declare'.
3049 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3050 * nxml/nxml-util.el: Use lexical-binding.
3051 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3052 Use `declare'.
3053 * nxml/nxml-ns.el: Use lexical-binding.
3054 (nxml-ns-save): Use `declare'.
3055 (nxml-ns-prefixes-for): Avoid add-to-list.
3056 * nxml/rng-match.el: Use lexical-binding.
3057 (rng--ipattern): Use cl-defstruct.
3058 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3059 (rng-cons-group-after, rng-subst-group-after)
3060 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3061 Use closures instead of `(lambda...).
3062
3063 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3064
3065 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3066 of BEG and END.
3067
3068 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3069 Use `tramp-handle-insert-file-contents'.
3070 (tramp-gvfs-handle-insert-file-contents): Remove function.
3071
3072 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3073 Use `save-restriction' in order to keep markers.
3074
3075 * net/trampver.el: Update release number.
3076
3077 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3078
3079 * progmodes/compile.el (compilation-parse-errors):
3080 Use compilation--put-prop.
3081 (compilation--ensure-parse): Check compilation-multiline.
3082
3083 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3084
3085 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3086 lexical-binding.
3087
3088 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3089
3090 * progmodes/ruby-mode.el: Fix recently added tests.
3091 (ruby-smie-grammar): Add - and +.
3092 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3093 (ruby-smie--backward-id): New functions.
3094 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3095 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3096 any more.
3097
3098 2013-10-07 Leo Liu <sdl.web@gmail.com>
3099
3100 * register.el (register-preview-delay)
3101 (register-preview-functions): New variables.
3102 (register-read-with-preview, register-preview)
3103 (register-describe-oneline): New functions.
3104 (point-to-register, window-configuration-to-register)
3105 (frame-configuration-to-register, jump-to-register)
3106 (number-to-register, view-register, insert-register)
3107 (copy-to-register, append-to-register, prepend-to-register)
3108 (copy-rectangle-to-register): Use register-read-with-preview to
3109 read register. (Bug#15525)
3110
3111 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3112
3113 * net/network-stream.el (network-stream-open-starttls): Don't add
3114 --insecure if it's already present, because that gnutls-cli
3115 rejects getting that parameter twice.
3116
3117 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3118
3119 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3120 keyword, too.
3121
3122 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3123
3124 * newcomment.el (comment-use-global-state): Change default value
3125 to t, mark obsolete (Bug#15251).
3126 (comment-beginning): In addition to `comment-to-syntax', check the
3127 value of `comment-use-global-state'.
3128
3129 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3132 (ruby-comment-column): Follow the global default, by default.
3133 (ruby-smie-grammar): Add assignment syntax.
3134 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3135 open-paren, a comma, or a \.
3136 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3137 and line continuations.
3138 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3139 followed by implicit semi-colons. Add rule for string concatenation
3140 and for indentation at BOB.
3141 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3142
3143 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3144 calling next-sexp, since next-token may have skipped chars which
3145 next-sexp doesn't know should be skipped!
3146
3147 2013-10-05 Leo Liu <sdl.web@gmail.com>
3148
3149 * progmodes/octave.el (octave-send-region):
3150 Call compilation-forget-errors.
3151
3152 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3153
3154 * vc/vc-svn.el (vc-svn-find-admin-dir):
3155 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3156 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3157 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3158 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3159
3160 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3161
3162 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3163
3164 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3165
3166 * subr.el (read-passwd): Hide chars even when called within a context
3167 where after-change-functions is disabled (bug#15501).
3168 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3169 until we removed ourself from overriding-terminal-local-map.
3170
3171 2013-10-04 Leo Liu <sdl.web@gmail.com>
3172
3173 * progmodes/octave.el (inferior-octave-mode):
3174 Call compilation-forget-errors.
3175
3176 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3177
3178 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3179
3180 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3181
3182 * net/secrets.el (secrets-create-collection): Add optional
3183 argument ALIAS. Use proper Label keyword. Append ALIAS as
3184 dbus-call-method argument. (Bug#15516)
3185
3186 2013-10-04 Leo Liu <sdl.web@gmail.com>
3187
3188 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3189 (inferior-octave-compilation-font-lock-keywords): New variables.
3190 (compilation-error-regexp-alist)
3191 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3192 (inferior-octave-mode): Use compilation-shell-minor-mode.
3193
3194 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3195
3196 * minibuffer.el (completion--replace): Be careful that `end' might be
3197 a marker.
3198
3199 2013-10-03 Daiki Ueno <ueno@gnu.org>
3200
3201 Add support for package signature checking.
3202 * emacs-lisp/package.el (url-http-file-exists-p)
3203 (epg-make-context, epg-context-set-home-directory)
3204 (epg-verify-string, epg-context-result-for)
3205 (epg-signature-status, epg-signature-to-string)
3206 (epg-check-configuration, epg-configuration)
3207 (epg-import-keys-from-file): Declare.
3208 (package-check-signature): New user option.
3209 (package-unsigned-archives): New user option.
3210 (package-desc): Add `signed' field.
3211 (package-load-descriptor): Set `signed' field if .signed file exists.
3212 (package--archive-file-exists-p): New function.
3213 (package--check-signature): New function.
3214 (package-install-from-archive): Check package signature.
3215 (package--download-one-archive): Check archive signature.
3216 (package-delete): Remove .signed file.
3217 (package-import-keyring): New command.
3218 (package-refresh-contents): Import default keyring.
3219 (package-desc-status): Add "unsigned" status.
3220 (describe-package-1, package-menu--print-info)
3221 (package-menu-mark-delete, package-menu--find-upgrades)
3222 (package-menu--status-predicate): Support "unsigned" status.
3223
3224 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3227 the new compilation scheme using the new byte-codes.
3228
3229 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3230 (byte-pophandler): New byte codes.
3231 (byte-goto-ops): Adjust accordingly.
3232 (byte-compile--use-old-handlers): New var.
3233 (byte-compile-catch): Use new byte codes depending on
3234 byte-compile--use-old-handlers.
3235 (byte-compile-condition-case--old): Rename from
3236 byte-compile-condition-case.
3237 (byte-compile-condition-case--new): New function.
3238 (byte-compile-condition-case): New function that dispatches depending
3239 on byte-compile--use-old-handlers.
3240 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3241 when we can.
3242
3243 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3244 Optimize under `condition-case' and `catch' if
3245 byte-compile--use-old-handlers is nil.
3246 (disassemble-offset): Handle new bytecodes.
3247
3248 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * subr.el (error): Use `declare'.
3251 (decode-char, encode-char): Use advertised-calling-convention instead
3252 of the docstring to discourage use of the `restriction' arg.
3253
3254 2013-10-03 Daiki Ueno <ueno@gnu.org>
3255
3256 * epg.el (epg-verify-file): Add a comment saying that it does not
3257 notify verification error as a return value nor a signal.
3258 (epg-verify-string): Ditto.
3259
3260 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3261
3262 * progmodes/compile.el (compilation-start): Try globbing the arg to
3263 `cd' (bug#15417).
3264
3265 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3266
3267 Sync with Tramp 2.2.8.
3268
3269 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3270 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3271 * net/trampver.el: Update release number.
3272
3273 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3274
3275 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3276 and default-process-coding-system for darwin only.
3277
3278 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3281
3282 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3283
3284 * vc/vc-git.el (vc-git-grep): Disable pager.
3285
3286 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3287
3288 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3289 Use :url instead of :homepage, as per
3290 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3291
3292 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3293 non-nil, use `syntax-ppss' (Bug#15251).
3294
3295 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3296
3297 * progmodes/octave.el (inferior-octave-startup-file):
3298 Prefer ~/.emacs.d/init_octave.m.
3299
3300 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3301
3302 * emacs-lisp/package.el (package-desc-from-define):
3303 Accept additional arguments as plist, convert them to an alist and store
3304 them in the `extras' slot.
3305 (package-generate-description-file): Convert extras alist back to
3306 plist and append to the `define-package' form arguments.
3307 (package--alist-to-plist): New function.
3308 (package--ac-desc): Add `extras' slot.
3309 (package--add-to-archive-contents): Check if the archive-contents
3310 vector is long enough, and if it is, pass its `extras' slot value
3311 to `package-desc-create'.
3312 (package-buffer-info): Call `lm-homepage', pass the returned value
3313 to `package-desc-from-define'.
3314 (describe-package-1): Render the homepage button (Bug#13291).
3315
3316 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3317 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3318
3319 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3320
3321 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3322 and default-process-coding-system to utf-8-unix (Bug#15402).
3323
3324 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3325
3326 * subr.el (looking-back): Do not recommend using looking-back.
3327
3328 2013-09-28 Alan Mackenzie <acm@muc.de>
3329
3330 Fix indentation/fontification of Java enum with "implements".
3331
3332 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3333 regexp which matches "implements", etc., in Java.
3334 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3335 specifier clauses coming after "enum".
3336 * progmodes/cc-fonts.el (c-font-lock-declarations)
3337 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3338 after "enum".
3339
3340 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3341
3342 * faces.el (region): Change ns_selection_color to
3343 ns_selection_fg_color, add ns_selection_bg_color.
3344
3345 2013-09-28 Leo Liu <sdl.web@gmail.com>
3346
3347 * progmodes/octave.el (inferior-octave-completion-table)
3348 (inferior-octave-completion-at-point): Minor tweaks.
3349
3350 * textmodes/ispell.el (ispell-lookup-words): Rename from
3351 lookup-words. (Bug#15460)
3352 (lookup-words): Obsolete.
3353 (ispell-complete-word, ispell-command-loop): All uses changed.
3354
3355 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3356
3357 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3358 (octave-mode-menu): Add octave-send-buffer.
3359 (octave-send-buffer): New function.
3360
3361 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3362
3363 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3364 octave-lookfor.
3365 (octave-mode-menu): Add octave-lookfor.
3366 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3367 octave-lookfor.
3368 (octave-lookfor): New function.
3369
3370 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 * emacs-lisp/cl-macs.el:
3373 (cl--loop-destr-temps): Remove.
3374 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3375 its convention.
3376 (cl--loop-set-iterator-function): New function.
3377 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3378 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3379 Bind `it' with `let' instead of substituting it with `cl-subst'.
3380 (cl--unused-var-p): New function.
3381 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3382 Eliminate some unused variable warnings (bug#15326).
3383
3384 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3385
3386 * doc-view.el (doc-view-scale-reset): Rename from
3387 `doc-view-reset-zoom-level'.
3388 (doc-view-scale-adjust): New command.
3389 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3390 `doc-view-scale-adjust'.
3391
3392 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3393
3394 * doc-view.el (doc-view-reset-zoom-level): New command.
3395 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3396 zoom commands (bug#15466).
3397
3398 2013-09-26 Kenichi Handa <handa@gnu.org>
3399
3400 * international/quail.el (quail-help): Make it not a command.
3401
3402 2013-09-26 Leo Liu <sdl.web@gmail.com>
3403
3404 * minibuffer.el (completion-all-sorted-completions): Make args
3405 optional as they are.
3406
3407 2013-09-25 Daniel Colascione <dancol@dancol.org>
3408
3409 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3410 specs are and that they're not evaluated.
3411
3412 2013-09-24 Sam Steingold <sds@gnu.org>
3413
3414 * midnight.el (clean-buffer-list-kill-regexps)
3415 (clean-buffer-list-kill-buffer-names): Update for the new Man
3416 buffer naming which includes the object name.
3417
3418 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3421 (eshell-parse-command, eshell-parse-pipeline): Use it since
3422 eshell-separate-commands requires a dynamic scoped var.
3423 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3424
3425 2013-09-23 Leo Liu <sdl.web@gmail.com>
3426
3427 * autoinsert.el (auto-insert-alist): Make the value of
3428 lexical-binding match its file setting.
3429
3430 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3431
3432 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3433
3434 * autoarg.el (autoarg-kp-digit-argument):
3435 * electric.el (Electric-command-loop):
3436 * kmacro.el (kmacro-step-edit-insert):
3437 Do not set universal-argument-num-events.
3438
3439 2013-09-22 Leo Liu <sdl.web@gmail.com>
3440
3441 * files.el (interpreter-mode-alist): Add octave.
3442
3443 2013-09-21 Alan Mackenzie <acm@muc.de>
3444
3445 C++: fontify identifier in declaration following "public:" correctly.
3446 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3447 to match "public", etc.
3448 (c-decl-prefix-re): Add ":" into the C++ value.
3449 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3450 bit. Add a check for a ":" preceded by "public", etc.
3451
3452 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3453
3454 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3455 recognized by GDB 7.5 and later.
3456
3457 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3458
3459 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3460
3461 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3462
3463 * subr.el (internal--call-interactively): New const.
3464 (called-interactively-p): Use it (bug#3984).
3465
3466 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3467
3468 * vc/pcvs.el (cvs-mode-ignore):
3469 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3470 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3471
3472 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3474 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3475 (eshell-ls-orig-insert-directory): Remove.
3476 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3477 (eshell-ls-use-in-dired): Use advice-add/remove.
3478 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3479 Add `orig-fun' arg for use in :around advice.
3480 Make it check (redundantly) eshell-ls-use-in-dired.
3481
3482 2013-09-19 Glenn Morris <rgm@gnu.org>
3483
3484 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3485
3486 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3487
3488 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3489
3490 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3491
3492 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3493 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3494 (tramp-get-remote-python): New defuns.
3495 (tramp-get-remote-uid-with-perl)
3496 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3497 contributed by yary <not.com@gmail.com> (tiny change).
3498 (tramp-get-remote-uid-with-python)
3499 (tramp-get-remote-gid-with-python): New defuns. Python code
3500 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3501 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3502
3503 2013-09-19 Glenn Morris <rgm@gnu.org>
3504
3505 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3506
3507 * eshell/em-unix.el (eshell-remove-entries):
3508 Rename argument to avoid name-clash with global `top-level'.
3509
3510 * eshell/esh-proc.el (eshell-kill-process-function):
3511 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3512 (eshell-reset-after-proc): Remove unused arg `proc'.
3513
3514 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3515 (directory-files-and-attributes): Mark unused arg.
3516
3517 * eshell/em-unix.el (eshell-remove-entries):
3518 Remove unused arg `path'. Update callers.
3519
3520 * eshell/em-hist.el (eshell-hist-parse-arguments):
3521 Remove unused arg `silent'. Update callers.
3522
3523 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3524 Fix (f)boundp mix-up.
3525
3526 * eshell/em-smart.el (eshell-smart-scroll-window)
3527 (eshell-disable-after-change):
3528 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3529
3530 2013-09-18 Alan Mackenzie <acm@muc.de>
3531
3532 Fix fontification of type when followed by "const".
3533 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3534 "known" types from fontification.
3535
3536 2013-09-18 Glenn Morris <rgm@gnu.org>
3537
3538 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3539 (chart-face-list): Drop Emacsen without display-color-p.
3540
3541 * net/eww.el (libxml-parse-html-region): Declare.
3542 (eww-display-html): Explicit error if no libxml2 support.
3543
3544 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3545
3546 * image.el (image-type-from-buffer, image-multi-frame-p):
3547 Remove --without-x warning/error.
3548
3549 * mouse.el (mouse-yank-primary):
3550 * term.el (term-mouse-paste):
3551 Reorder to silence --without-x compilation.
3552
3553 * mpc.el (doc-view-mode): Silence --without-x compilation.
3554
3555 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3556 Silence --without-x compilation.
3557
3558 * progmodes/gud.el (gud-find-file, gud-mode):
3559 Silence --without-x compilation.
3560 (tooltip-mode): Declare.
3561
3562 * wdired.el (dired-backup-overwrite): Remove declaration.
3563 (wdired-mode-map): Add doc string.
3564
3565 * custom.el (x-get-resource): Declare.
3566
3567 * eshell/em-glob.el (ange-cache):
3568 * eshell/em-unix.el (ange-cache): Declare.
3569
3570 * faces.el (x-display-list, x-open-connection, x-get-resource):
3571 Declare.
3572
3573 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3574 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3575 Declare.
3576
3577 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3578
3579 * net/gnutls.el (gnutls-log-level): Declare.
3580
3581 * net/shr.el (image-size, image-animate): Declare.
3582
3583 * simple.el (font-info): Declare.
3584
3585 * subr.el (x-popup-dialog): Declare.
3586
3587 * term/common-win.el (x-select-enable-primary)
3588 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3589 Declare.
3590
3591 * term/ns-win.el (x-handle-args): Declare.
3592
3593 * term/x-win.el (x-select-enable-clipboard): Declare.
3594
3595 * term/w32-win.el (create-default-fontset): Declare.
3596
3597 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3598 Declare.
3599
3600 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3601 (fit-frame-to-buffer): Explicit error if --without-x.
3602 (mouse-autoselect-window-select): Silence compiler.
3603
3604 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3605
3606 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3607 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3608 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3609 * eshell/esh-util.el (eshell-sublist):
3610 Remove unused local variables.
3611
3612 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3613
3614 * textmodes/two-column.el: Make 2C-split work for --without-x.
3615 (scroll-bar-columns): Autoload.
3616 (top-level): Require fringe when compiling.
3617
3618 2013-09-18 Leo Liu <sdl.web@gmail.com>
3619
3620 * subr.el (add-hook): Robustify to handle closure as well.
3621
3622 2013-09-17 Glenn Morris <rgm@gnu.org>
3623
3624 * simple.el (messages-buffer-mode-map): Unbind "g".
3625
3626 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3627
3628 * help-mode.el (help-mode-finish): Use derived-mode-p.
3629 Remove obsolete highlighting.
3630
3631 * play/life.el (life-mode): Use define-derived-mode. Derive from
3632 special-mode.
3633 (life): Let-bind inhibit-read-only.
3634 (life-setup): Avoid `setq'. Use `life-mode'.
3635
3636 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3637 which should not be needed any more.
3638 (package-menu-refresh, package-menu-describe-package): Use user-error.
3639
3640 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3641 (eshell-post-rewrite-command-hook): Make obsolete.
3642 (eshell-parse-command): Simplify.
3643 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3644 (eshell--cmd): Declare.
3645 (eshell-parse-pipeline): Remove unused var `final-p'.
3646 Pass a dynvar to eshell-post-rewrite-command-hook.
3647 Implement the new eshell-post-rewrite-command-function.
3648 (eshell-invoke-directly): Remove unused arg `input'.
3649 * eshell/esh-io.el (eshell-io-initialize):
3650 Use eshell-post-rewrite-command-function (bug#15399).
3651 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3652 adjust to new calling convention.
3653 (eshell-create-handles): Rename args to avoid clashing with dynvar
3654 `standard-output'.
3655
3656 2013-09-17 Glenn Morris <rgm@gnu.org>
3657
3658 * simple.el (messages-buffer-mode): New major mode.
3659 (messages-buffer): New function.
3660 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3661 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3662 (ert-run-test): Use `messages-buffer' function.
3663 (ert--force-message-log-buffer-truncation): Ignore read-only.
3664 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3665 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3666
3667 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3668
3669 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3670
3671 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3672
3673 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * icomplete.el (icomplete-in-buffer): New var.
3676 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3677 vars and replace them with functions.
3678 (icomplete-minibuffer-setup): Adjust accordingly.
3679 (icomplete--completion-table, icomplete--completion-predicate)
3680 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3681 New functions.
3682 (icomplete-forward-completions, icomplete-backward-completions)
3683 (icomplete-simple-completing-p, icomplete-exhibit)
3684 (icomplete-completions): Use them.
3685 (icomplete--in-region-buffer): New var.
3686 (icomplete--in-region-setup): New function.
3687 (icomplete-mode): Use it.
3688
3689 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3690 (bug#15379).
3691 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3692 return args and options.
3693 (eshell-eval-using-options): Use the new return value of
3694 eshell--do-opts to set the options's vars in their scope.
3695 (eshell--set-option): Rename from eshell-set-option.
3696 Add arg `opt-vals'.
3697 (eshell--process-option): Rename from eshell-process-option.
3698 Add arg `opt-vals'.
3699 (eshell--process-args): Use an `opt-vals' alist to store the options's
3700 values during their processing and return them additionally to the
3701 remaining args.
3702
3703 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3704
3705 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3706 continuation character an operator, as far as indentation is
3707 concerned (Bug#15369).
3708
3709 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3710
3711 * window.el (window--state-put-2): Don't process buffer state
3712 when buffer doesn't exist any more (Bug#15382).
3713
3714 2013-09-15 Glenn Morris <rgm@gnu.org>
3715
3716 * eshell/em-unix.el (eshell/rm):
3717 Make -f ignore missing files. (Bug#15373)
3718
3719 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3720 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3721 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3722
3723 2013-09-14 Glenn Morris <rgm@gnu.org>
3724
3725 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3726
3727 2013-09-13 Glenn Morris <rgm@gnu.org>
3728
3729 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3730 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3731
3732 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3733
3734 * frame.el (x-focus-frame): Mark as declared in frame.c.
3735
3736 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3737
3738 * ls-lisp.el: Use advice-add.
3739 (original-insert-directory): Remove.
3740 (ls-lisp--insert-directory): Rename from insert-directory; add
3741 `orig-fun' argument.
3742 (insert-directory): Advise.
3743
3744 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3745
3746 * term.el (term-emulate-terminal): Decode the command string
3747 before passing it to term-command-hook. (Bug#15337)
3748
3749 2013-09-13 Glenn Morris <rgm@gnu.org>
3750
3751 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3752
3753 * eshell/esh-ext.el (eshell-search-path): Declare.
3754
3755 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3756 Otherwise an error occurs if eshell-dirs module not loaded.
3757
3758 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3759
3760 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3761
3762 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3763 `tramp-check-proper-host'. Check for a valid method name.
3764
3765 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3766 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3767 * net/tramp-sh.el (tramp-maybe-open-connection):
3768 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3769
3770 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3771 also for hash values.
3772
3773 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3774
3775 * term/ns-win.el (parameters): Don't declare as dynamic.
3776 (before-make-frame-hook): Don't add ineffective function.
3777
3778 * eshell/*.el: Use lexical-binding (bug#15231).
3779
3780 2013-09-12 Kenichi Handa <handa@gnu.org>
3781
3782 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3783
3784 2013-09-12 Glenn Morris <rgm@gnu.org>
3785
3786 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3787 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3788
3789 * subr.el (do-after-load-evaluation): Also give compiler warnings
3790 when obsolete files are used (except by obsolete files).
3791
3792 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3793 in the status output, assume `filename' is the first. (Bug#15322)
3794
3795 * vc/vc.el (vc-deduce-fileset): Doc fix.
3796
3797 * calc/calc-help.el (Info-goto-node):
3798 * progmodes/cperl-mode.el (Info-find-node):
3799 * vc/ediff.el (Info-goto-node): Update declarations.
3800
3801 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3802
3803 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3804 (vc-bzr-pull): Require vc-dispatcher.
3805 * vc/vc-git.el (vc-compilation-mode): Declare.
3806 (vc-git-pull): Require vc-dispatcher.
3807
3808 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3809
3810 * progmodes/octave.el (help-button-action): Declare.
3811
3812 * shell.el (shell-directory-tracker): Output error as a message
3813 rather than just returning it as a string.
3814 (shell-process-pushd): Remove useless use of message.
3815
3816 * dframe.el (dframe-timer-fn):
3817 * files.el (dir-locals-read-from-file):
3818 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3819 (mpc-format):
3820 * reveal.el (reveal-post-command):
3821 * saveplace.el (load-save-place-alist-from-file):
3822 * shell.el (shell-resync-dirs):
3823 * w32-common-fns.el (x-get-selection-value):
3824 * emacs-lisp/copyright.el (copyright-find-copyright):
3825 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3826 * emulation/tpu-edt.el (tpu-copy-keyfile):
3827 * play/bubbles.el (bubbles--mark-neighbourhood):
3828 * progmodes/executable.el
3829 (executable-make-buffer-file-executable-if-script-p):
3830 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3831
3832 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3834 Cleanup Eshell to rely less on dynamic scoping.
3835 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3836 last-value, and ext-command here. Bind `args' closer to `body'.
3837 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3838 (eshell--args): Declare new dynamic var.
3839 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3840 last-value, and ext-command. Pass `args' to `body'.
3841 (eshell-process-args): Bind eshell--args.
3842 (eshell-set-option): Use eshell--args.
3843 * eshell/eshell.el (eshell): Use derived-mode-p.
3844 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3845 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3846 (eshell-glob-function): Declare.
3847 * eshell/esh-util.el: Require cl-lib.
3848 (eshell-read-hosts-file): Avoid add-to-list.
3849 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3850 `err'.
3851 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3852 Declare.
3853 (eshell/diff): Remove unused var `err'.
3854 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3855 `killflag'.
3856 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3857 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3858 first use.
3859 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3860 Move declaration before first use.
3861 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3862 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3863 rely on cl-return.
3864
3865 2013-09-12 Glenn Morris <rgm@gnu.org>
3866
3867 * term/ns-win.el (global-map): Remove binding for ispell-next,
3868 deleted 1999-05-29. (Bug#15357)
3869
3870 2013-09-11 Glenn Morris <rgm@gnu.org>
3871
3872 * echistory.el (electric-command-history): Remove call to deleted func.
3873
3874 * play/landmark.el (landmark-mode): Fix typos.
3875
3876 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3877 Check cvs-sort-ignore-file is bound.
3878
3879 * savehist.el: No need for cl when compiling on Emacs.
3880
3881 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3884 (bug#15338).
3885 (eshell-self-insert-command, eshell-send-invisible):
3886 Remove unused argument.
3887 (eshell-handle-control-codes): Remove unused var `orig'.
3888 Avoid delete-backward-char.
3889
3890 * files.el (set-auto-mode): Simplify a bit further.
3891
3892 2013-09-11 Glenn Morris <rgm@gnu.org>
3893
3894 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3895 (set-auto-mode): Don't regexp-quote elements.
3896 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3897 * progmodes/cc-mode.el (interpreter-mode-alist):
3898 * progmodes/ruby-mode.el (interpreter-mode-alist):
3899 Revert previous change.
3900
3901 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * play/snake.el (snake-mode):
3904 * play/mpuz.el (mpuz-mode):
3905 * play/landmark.el (lm-mode):
3906 * play/blackbox.el (blackbox-mode):
3907 * play/5x5.el (5x5-mode):
3908 * obsolete/options.el (Edit-options-mode):
3909 * net/quickurl.el (quickurl-list-mode):
3910 * net/newst-treeview.el (newsticker-treeview-mode):
3911 * mail/rmailsum.el (rmail-summary-mode):
3912 * mail/mspools.el (mspools-mode):
3913 * locate.el (locate-mode):
3914 * ibuffer.el (ibuffer-mode):
3915 * emulation/ws-mode.el (wordstar-mode):
3916 * emacs-lisp/debug.el (debugger-mode):
3917 * array.el (array-mode):
3918 * net/eudc.el (eudc-mode): Use define-derived-mode.
3919 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3920 Move initialization into declaration.
3921 (mairix-searches-mode): Use define-derived-mode.
3922 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3923 (eudc-edit-hotlist): Use dolist.
3924 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3925 (Man-mode): Use define-derived-mode.
3926 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3927 (Info-edit-mode): Use define-derived-mode.
3928 (Info-cease-edit): Use Info-mode.
3929 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3930 into declaration.
3931 (eshell-mode): Use define-derived-mode.
3932 * chistory.el (command-history-mode-map): Rename from
3933 command-history-map.
3934 (command-history-mode): Use define-derived-mode.
3935 (Command-history-setup): Remove function.
3936 * calc/calc.el (calc-trail-mode-map): New var.
3937 (calc-trail-mode): Use define-derived-mode.
3938 (calc-trail-buffer): Set calc-main-buffer manually.
3939 * bookmark.el (bookmark-insert-annotation): New function.
3940 (bookmark-edit-annotation): Use it.
3941 (bookmark-edit-annotation-mode): Make it a proper major mode.
3942 (bookmark-send-edited-annotation): Use derived-mode-p.
3943 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3944 closer to its ideal place. Use \' to match EOS.
3945
3946 * profiler.el (profiler-calltree-find): Use function-equal.
3947
3948 2013-09-10 Glenn Morris <rgm@gnu.org>
3949
3950 * files.el (interpreter-mode-alist): Convert to regexps.
3951 (set-auto-mode): Adapt for this. (Bug#15306)
3952 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3953 Comment out unused variable.
3954 * progmodes/cc-mode.el (interpreter-mode-alist):
3955 * progmodes/python.el (interpreter-mode-alist):
3956 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3957 * progmodes/sh-script.el (sh-set-shell):
3958 No longer use interpreter-mode-alist to get list of shells.
3959
3960 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3961
3962 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * simple.el: Use set-temporary-overlay-map for universal-argument.
3965 (universal-argument-map): Don't use default-bindings (bug#15317).
3966 Bind switch-frame explicitly. Replace universal-argument-minus with
3967 a conditional binding.
3968 (universal-argument-num-events, saved-overriding-map): Remove.
3969 (restore-overriding-map): Remove.
3970 (universal-argument--mode): Rename from save&set-overriding-map,
3971 and rewrite.
3972 (universal-argument, universal-argument-more, negative-argument)
3973 (digit-argument): Adjust accordingly.
3974 (universal-argument-minus): Remove.
3975 (universal-argument-other-key): Remove.
3976
3977 * subr.el (with-demoted-errors): Add `format' argument.
3978
3979 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3980
3981 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3982 `tramp-cleanup-connection'.
3983
3984 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3985 parameters KEEP-DEBUG and KEEP-PASSWORD.
3986
3987 * net/tramp.el (tramp-file-name-handler):
3988 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3989 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3990 (tramp-maybe-open-connection):
3991 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3992 Use `tramp-cleanup-connection'.
3993
3994 * net/tramp-sh.el (tramp-maybe-open-connection):
3995 Catch 'uname-changed inside the progress reporter.
3996
3997 2013-09-10 Glenn Morris <rgm@gnu.org>
3998
3999 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4000
4001 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4002 returns "alternate access method" in mode (eg "-rw-r--r--.").
4003
4004 2013-09-08 Glenn Morris <rgm@gnu.org>
4005
4006 * saveplace.el (load-save-place-alist-from-file):
4007 Demote errors. (Bug#15305)
4008
4009 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4010
4011 Improve compatibility with older Emacsen, and XEmacs.
4012
4013 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4014 only if it is bound. It isn't for XEmacs.
4015 (with-tramp-progress-reporter): Do not let-bind `result'.
4016 This yields to scoping errors in XEmacs.
4017 (tramp-handle-make-auto-save-file-name): New function, moved from
4018 tramp-sh.el.
4019
4020 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4021 for `make-auto-save-file-name'.
4022 (tramp-adb--gnu-switches-to-ash):
4023 Use `tramp-compat-replace-regexp-in-string'.
4024
4025 * net/tramp-cache.el (tramp-cache-print): Call
4026 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4027
4028 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4029 bound. It isn't for XEmacs.
4030
4031 * net/tramp-compat.el (tramp-compat-copy-file):
4032 Catch `wrong-number-of-arguments' error.
4033 (tramp-compat-replace-regexp-in-string): New defun.
4034
4035 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4036 for `make-auto-save-file-name'.
4037 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4038 `copy-file'.
4039 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4040 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4041 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4042
4043 * net/tramp-gw.el (tramp-gw-open-network-stream):
4044 Use `tramp-compat-replace-regexp-in-string'.
4045
4046 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4047 Call `tramp-handle-make-auto-save-file-name'.
4048 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4049 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4050 (tramp-sh-file-inotifywait-process-filter):
4051 Use `tramp-compat-replace-regexp-in-string'.
4052 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4053
4054 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4055 for `make-auto-save-file-name'.
4056 (tramp-smb-handle-copy-directory):
4057 Call `tramp-compat-replace-regexp-in-string'.
4058 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4059 (tramp-smb-handle-copy-file): Improve error message.
4060 (tramp-smb-handle-rename-file): Rename directly only in case
4061 `newname' does not exist yet. This is a restriction of smbclient.
4062 (tramp-smb-maybe-open-connection): Rerun the function only when
4063 `auth-sources' is non-nil.
4064
4065 2013-09-08 Kenichi Handa <handa@gnu.org>
4066
4067 * international/characters.el: Set category "^" (Combining) for
4068 more characters.
4069
4070 2013-09-07 Alan Mackenzie <acm@muc.de>
4071
4072 Correctly fontify Java class constructors.
4073 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4074 in Java Mode.
4075 (c-recognize-typeless-decls): Set the Java value to t.
4076 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4077 While handling a "(", add a check for, effectively, Java, and handle a
4078 "typeless" declaration there.
4079
4080 2013-09-07 Roland Winkler <winkler@gnu.org>
4081
4082 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4083 field subtitle for entry type book.
4084
4085 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4086
4087 * minibuffer.el: Make minibuffer-complete call completion-in-region
4088 rather than other way around.
4089 (completion--some, completion-pcm--find-all-completions):
4090 Don't delay signals when debugging.
4091 (minibuffer-completion-contents): Beware fields within the
4092 minibuffer contents.
4093 (completion-all-sorted-completions): Use defvar-local.
4094 (completion--do-completion, completion--cache-all-sorted-completions)
4095 (completion-all-sorted-completions, minibuffer-force-complete):
4096 Add args `beg' and `end'.
4097 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4098 (minibuffer-complete): Use completion-in-region.
4099 (completion-complete-and-exit): New fun, extracted from
4100 minibuffer-complete-and-exit.
4101 (minibuffer-complete-and-exit): Use it.
4102 (completion--complete-and-exit): Rename from
4103 minibuffer--complete-and-exit.
4104 (completion-in-region--single-word): New function, extracted from
4105 minibuffer-complete-word.
4106 (minibuffer-complete-word): Use it.
4107 (display-completion-list): Make `common-substring' argument obsolete.
4108 (completion--in-region): Call completion--in-region-1 instead of
4109 minibuffer-complete.
4110 (completion-help-at-point): Pass boundaries to
4111 minibuffer-completion-help as args rather than via an overlay.
4112 (completion-pcm--string->pattern): Use `any-delim'.
4113 (completion-pcm--optimize-pattern): New function.
4114 (completion-pcm--pattern->regex): Handle `any-delim'.
4115 * icomplete.el (icomplete-forward-completions)
4116 (icomplete-backward-completions, icomplete-completions):
4117 Adjust calls to completion-all-sorted-completions and
4118 completion--cache-all-sorted-completions.
4119 (icomplete-with-completion-tables): Default to t.
4120 * emacs-lisp/crm.el (crm--current-element): Rename from
4121 crm--select-current-element. Don't put an overlay but return the
4122 boundaries instead.
4123 (crm--completion-command): Take two new args to bind to the boundaries.
4124 (crm-completion-help): Adjust accordingly.
4125 (crm-complete): Use completion-in-region.
4126 (crm-complete-word): Use completion-in-region--single-word.
4127 (crm-complete-and-exit): Use completion-complete-and-exit.
4128
4129 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4132 than dynamically.
4133
4134 2013-09-06 Juri Linkov <juri@jurta.org>
4135
4136 * info.el (Info-display-images-node): When image file doesn't exist
4137 display text version of the image if it's provided in the Info file.
4138 Otherwise, display the location of missing image from SRC attribute.
4139 Add help-echo text property from ALT attribute. (Bug#15279)
4140
4141 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4144 (edit-abbrevs-mode): Use define-derived-mode.
4145
4146 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4147 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4148 that it's defined.
4149 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4150 Use define-derived-mode.
4151
4152 * epg.el (epg-start-encrypt): Minor CSE simplification.
4153
4154 2013-09-06 William Xu <william.xwl@gmail.com>
4155
4156 * arc-mode.el: Add support for 7za (bug#15264).
4157 (archive-7z-program): New var.
4158 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4159 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4160 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4161
4162 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4163
4164 Remove URL syntax.
4165
4166 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4167 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4168 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4169 (tramp-postfix-host-format, tramp-file-name-regexp)
4170 (tramp-completion-file-name-regexp)
4171 (tramp-completion-dissect-file-name)
4172 (tramp-handle-substitute-in-file-name): Remove 'url case.
4173 (tramp-file-name-regexp-url)
4174 (tramp-completion-file-name-regexp-url): Remove constants.
4175
4176 2013-09-06 Glenn Morris <rgm@gnu.org>
4177
4178 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4179
4180 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4181
4182 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4183 keywords" below "here-doc beginnings" (Bug#15270).
4184
4185 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4186
4187 * subr.el (pop): Use `car-safe'.
4188 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4189 to detect unused `pop' return value.
4190
4191 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4192 var `block-regexp'.
4193 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4194 (python-fill-string): Remove unused var `marker'.
4195 (python-skeleton-add-menu-items): Remove unused var `items'.
4196
4197 * international/mule-cmds.el: Require CL.
4198 (find-coding-systems-for-charsets): Avoid add-to-list.
4199 (sanitize-coding-system-list): New function, extracted from
4200 select-safe-coding-system-interactively.
4201 (select-safe-coding-system-interactively): Use it.
4202 (read-input-method-name): Accept symbols for `default'.
4203
4204 * emacs-lisp/advice.el (defadvice): Add indent rule.
4205
4206 2013-09-05 Daniel Hackney <dan@haxney.org>
4207
4208 * dired-x.el:
4209 * net/ange-ftp.el:
4210 * net/browse-url.el:
4211 * net/dbus.el:
4212 * net/eudc.el:
4213 * net/eudcb-ldap.el:
4214 * net/eww.el:
4215 * net/imap.el:
4216 * printing.el:
4217 * vc/ediff-diff.el:
4218 * vc/ediff-init.el:
4219 * vc/ediff-merg.el:
4220 * vc/ediff-mult.el:
4221 * vc/ediff-util.el:
4222 * vc/ediff-wind.el:
4223 * vc/ediff.el:
4224 * vc/emerge.el:
4225 * vc/pcvs.el:
4226 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4227 byte compiler. Remove some unused let-bound variables.
4228
4229 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4232 a "ref-cell", since it gets better optimized (bug#14883).
4233
4234 2013-09-05 Glenn Morris <rgm@gnu.org>
4235
4236 * progmodes/cc-awk.el (c-forward-sws): Declare.
4237
4238 2013-09-04 Glenn Morris <rgm@gnu.org>
4239
4240 * generic-x.el [rul-generic-mode]: Require cc-mode.
4241 (c++-mode-syntax-table): Declare.
4242 (rul-generic-mode-syntax-table): Init in the defvar.
4243
4244 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4245
4246 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4247 (vc-do-command, vc-set-async-update):
4248 * vc/vc-mtn.el (vc-mtn-dir-status):
4249 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4250 (vc-hg-pull, vc-hg-merge-branch):
4251 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4252 (vc-git-merge-branch):
4253 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4254 (vc-cvs-dir-status-files):
4255 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4256 (vc-bzr-dir-status-files):
4257 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4258 * vc/vc-annotate.el: Use lexical-binding.
4259 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4260 (vc-sentinel-movepoint): Declare.
4261 (vc-annotate): Don't use `goto-line'.
4262 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4263 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4264 (vc-sentinel-movepoint): Declare.
4265 * vc/vc-svn.el: Use lexical-binding.
4266 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4267 * vc/vc-sccs.el:
4268 * vc/vc-rcs.el: Use lexical-binding.
4269
4270 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4271 `deleted'. Don't drop errors silently.
4272
4273 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4274
4275 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4276
4277 * vc/vc.el (vc-ignore): Rewrite.
4278 (vc-default-ignore): New function.
4279 (vc-default-ignore-completion-table): Use find-ignore-file.
4280
4281 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4282 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4283 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4284 Remove. Most code moved to vc.el.
4285
4286 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4289 * net/tramp-smb.el (tramp-smb-get-file-entries):
4290 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4291 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4292
4293 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4294 Update call to it.
4295 (eww-change-select): Remove unused var `properties'.
4296 (eww-make-unique-file-name): Remove unused var `base'.
4297
4298 * finder.el (finder-compile-keywords): Don't mess with windows.
4299
4300 * calculator.el (calculator-funcall): Fix typo in last change.
4301
4302 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4303
4304 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4305 <pkg>-autoloads.el file stop us.
4306
4307 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4308 warnings, and factor out common code.
4309
4310 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4311
4312 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4313 two-character operators and whether the character preceding them
4314 changes their meaning (Bug#15208).
4315
4316 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4317
4318 Format code sent to Python shell for robustness.
4319 * progmodes/python.el (python-shell-buffer-substring):
4320 New function.
4321 (python-shell-send-region, python-shell-send-buffer): Use it.
4322
4323 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4324
4325 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4326 * net/tramp.el (tramp-user-error): ... here.
4327 (tramp-find-method, tramp-check-proper-host)
4328 (tramp-dissect-file-name, tramp-debug-message)
4329 (tramp-handle-shell-command):
4330 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4331 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4332
4333 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4334
4335 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4336
4337 * avoid.el (mouse-avoidance-point-position)
4338 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4339 returns nil.
4340
4341 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4342
4343 * progmodes/python.el (python-shell-completion-get-completions):
4344 Drop use of deleted `comint-last-prompt-overlay'.
4345 (python-nav-if-name-main): New command.
4346
4347 2013-09-01 Glenn Morris <rgm@gnu.org>
4348
4349 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4350 Avoid leading space in $wins. Otherwise the sed command used by
4351 eg compile-main ends up containing "/*.el". (Bug#15170)
4352
4353 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4354
4355 2013-08-30 Glenn Morris <rgm@gnu.org>
4356
4357 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4358 Fix is-this-a-directory logic. (Bug#15220)
4359
4360 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * textmodes/css-mode.el: Use SMIE.
4363 (css-smie-grammar): New var.
4364 (css-smie--forward-token, css-smie--backward-token)
4365 (css-smie-rules): New functions.
4366 (css-mode): Use them.
4367 (css-navigation-syntax-table): Remove var.
4368 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4369 (css-indent-calculate, css-indent-line): Remove functions.
4370
4371 Misc changes to reduce use of `(lambda...); and other cleanups.
4372 * cus-edit.el: Use lexical-binding.
4373 (customize-push-and-save, customize-apropos)
4374 (custom-buffer-create-internal): Use closures.
4375 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4376 * progmodes/ada-xref.el: Use setq.
4377 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4378 * dframe.el: Use lexical-binding.
4379 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4380 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4381 * descr-text.el: Use lexical-binding.
4382 (describe-text-widget, describe-text-sexp, describe-property-list):
4383 Use closures.
4384 * comint.el (comint-history-isearch-push-state): Use a closure.
4385 * calculator.el: Use lexical-binding.
4386 (calculator-number-to-string): Make it work with lexical-binding.
4387 (calculator-funcall): Same and use cl-letf.
4388
4389 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4390 (lisp--company-doc-string, lisp--company-location): New functions.
4391 (lisp-completion-at-point): Use them to improve Company support.
4392
4393 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4394 params of lambda expressions.
4395 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4396 (ruby-smie--opening-pipe-p): New function.
4397 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4398 symbols and matched |...| for formal params.
4399 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4400 from being treated as hanging. Handle "rescue".
4401
4402 2013-08-29 Glenn Morris <rgm@gnu.org>
4403
4404 * progmodes/cc-engine.el (c-pull-open-brace):
4405 Move definition before use.
4406
4407 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4410 are immutable. Don't use `unsafe' any more.
4411 (cl--defsubst-expand): Don't substitute at the same time as keeping
4412 a residual unused let-binding. Don't use `unsafe' any more.
4413
4414 2013-08-29 Glenn Morris <rgm@gnu.org>
4415
4416 * calendar/cal-china.el (calendar-chinese-year-cache):
4417 Recenter on 2015.
4418
4419 * nxml/nxml-util.el (nxml-debug-clear-inside):
4420 Use cl-loop rather than loop.
4421
4422 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4423
4424 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4425
4426 2013-08-28 Glenn Morris <rgm@gnu.org>
4427
4428 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4429
4430 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4431
4432 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4433
4434 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * simple.el (repeat-complex-command--called-interactively-skip):
4437 New function.
4438 (repeat-complex-command): Use it (bug#14136).
4439
4440 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4441 (c-define-abbrev-table): Add `doc' argument.
4442 (c-mode-abbrev-table, c++-mode-abbrev-table)
4443 (objc-mode-abbrev-table, java-mode-abbrev-table)
4444 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4445 (awk-mode-abbrev-table): Use it.
4446 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4447 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4448 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4449 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4450 Move initialization into the declaration; and remove any
4451 autoload cookie.
4452
4453 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4454 and dynamic let binding.
4455
4456 * vc/smerge-mode.el: Remove redundant :group args.
4457
4458 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4459 to load-path.
4460
4461 2013-08-28 Juri Linkov <juri@jurta.org>
4462
4463 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4464 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4465 (isearch-other-meta-char): Handle an undefined shifted printing
4466 character by downshifting it. (Bug#15200)
4467
4468 2013-08-28 Juri Linkov <juri@jurta.org>
4469
4470 * isearch.el (isearch-search): Change regexp error message for
4471 non-regexp searches. (Bug#15166)
4472
4473 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4474
4475 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4476 for portability to hosts where /bin/sh has problems.
4477
4478 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4481
4482 2013-08-27 Juri Linkov <juri@jurta.org>
4483
4484 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4485 in the keyboard macro. (Bug#15126)
4486
4487 2013-08-27 Juri Linkov <juri@jurta.org>
4488
4489 * isearch.el (isearch-quote-char): Comment out converting unibyte
4490 to multibyte, thus syncing with its `quoted-insert' counterpart.
4491 (Bug#15166)
4492
4493 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4494
4495 * window.el (display-buffer-use-some-window): Add missing
4496 argument in call of get-largest-window (Bug#15185).
4497 Reported by Stephen Leake.
4498
4499 2013-08-27 Glenn Morris <rgm@gnu.org>
4500
4501 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4502
4503 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4506 from a matcher-function unless there's no more matches (bug#15161).
4507
4508 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4509
4510 * minibuffer.el: Revert change from 2013-08-20.
4511
4512 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4513 with text property `tramp-default', if appropriate.
4514 (tramp-check-proper-host): New defun.
4515 (tramp-dissect-file-name): Do not check hostname. Revert change
4516 of 2013-03-18.
4517 (tramp-backtrace): Make VEC-OR-PROC optional.
4518
4519 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4520 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4521 * net/tramp-sh.el (tramp-maybe-open-connection):
4522 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4523 Apply `tramp-check-proper-host'.
4524
4525 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4526
4527 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4528 lambda expression in order to have `describe-variable' display it.
4529
4530 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4531
4532 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4533 BUF can be optional. (Bug#15186)
4534
4535 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4536
4537 * progmodes/flymake.el (flymake-get-real-file-name-function):
4538 Fix broken customization. (Bug#15184)
4539
4540 2013-08-25 Alan Mackenzie <acm@muc.de>
4541
4542 Improve indentation of bracelists defined by macros (without "=").
4543
4544 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4545 expansion begins with "{", regard it as bracelist when it doesn't
4546 contain a ";".
4547
4548 Parse C++ inher-intro when there's a template split over 2 lines.
4549
4550 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4551 rigorously the search for "class" etc. followed by ":".
4552
4553 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4554 random languages a regexp which never matches rather than nil.
4555
4556 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4557
4558 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4559 (c-awk-regexp-one-line-possibly-open-char-list-re)
4560 (c-awk-one-line-possibly-open-regexp-re)
4561 (c-awk-one-line-non-syn-ws*-re): Remove.
4562 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4563 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4564 (c-awk-space*-unclosed-regexp-/-re): New constants.
4565 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4566 aren't regexp delimiters.
4567
4568 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4569 handling for a rare situation in AWK Mode involving unterminated
4570 strings/regexps.
4571
4572 2013-08-23 Glenn Morris <rgm@gnu.org>
4573
4574 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4575
4576 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4577
4578 * files.el (create-file-buffer): If the result would begin with
4579 spaces, prepend a "|" instead of removing them. (Bug#15162)
4580
4581 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4582
4583 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4584 text-properties (bug#15155).
4585
4586 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4587 exist any more.
4588 (calc-keypad-redraw): Remove unused var `pad'.
4589 (calc-keypad-press): Remove unused var `menu'.
4590
4591 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4592
4593 * window.el (display-buffer-pop-up-frame):
4594 Call pop-up-frame-function with BUFFER current so `make-frame' will
4595 use it as the new frame's buffer (Bug#15133).
4596
4597 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * calendar/timeclock.el: Minor cleanups.
4600 (timeclock-ask-before-exiting, timeclock-use-display-time):
4601 Use `symbol'.
4602 (timeclock-modeline-display): Define as alias before the
4603 actual definition.
4604 (timeclock-mode-line-display): Use define-minor-mode.
4605 (timeclock-day-list-template): Make it a function, add an argument.
4606 (timeclock-day-list-required, timeclock-day-list-length)
4607 (timeclock-day-list-debt, timeclock-day-list-span)
4608 (timeclock-day-list-break): Adjust calls accordingly.
4609
4610 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4613 Use read--expression so that completion works again.
4614
4615 2013-08-21 Sam Steingold <sds@gnu.org>
4616
4617 Add rudimentary inferior shell interaction
4618 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4619 (sh-set-shell): Reset it.
4620 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4621 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4622
4623 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * align.el: Use lexical-binding.
4626 (align-region): Simplify accordingly.
4627
4628 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4629
4630 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4631
4632 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4633 `non-essential' up.
4634
4635 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4636
4637 * net/tramp.el:
4638 * net/tramp-adb.el:
4639 * net/tramp-cmds.el:
4640 * net/tramp-ftp.el:
4641 * net/tramp-gvfs.el:
4642 * net/tramp-gw.el:
4643 * net/tramp-sh.el: Don't wrap external variable declarations by
4644 `eval-when-compile'.
4645
4646 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4647
4648 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4649 now that Emacs supports ImageMagick animations.
4650
4651 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4652
4653 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4654 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4655
4656 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4657
4658 * window.el (mouse-autoselect-window-select): Do autoselect when
4659 mouse pointer is on margin.
4660
4661 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4662
4663 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4664
4665 2013-08-16 Glenn Morris <rgm@gnu.org>
4666
4667 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4668 Handle "Remote Directory" response of some clients. (Bug#15058)
4669
4670 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4671 Tweak warning. (Bug#14926)
4672
4673 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4674 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4675
4676 * image-mode.el (image-mode-map): Add menu items to reverse,
4677 increase, decrease, reset animation speed.
4678 (image--set-speed, image-increase-speed, image-decrease-speed)
4679 (image-reverse-speed, image-reset-speed): New functions.
4680 (image-mode-map): Add bindings for speed commands.
4681
4682 * image.el (image-animate-get-speed, image-animate-set-speed):
4683 New functions.
4684 (image-animate-timeout): Respect image :speed property.
4685
4686 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4687
4688 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4689 previous line (bug#15101).
4690 (debugger-eval-expression, debugger-record-expression):
4691 Use read--expression (bug#15102).
4692
4693 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4694
4695 Remove byte compiler warnings, visible when compiling with
4696 `byte-compile-force-lexical-warnings' set to t.
4697
4698 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4699 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4700 (tramp-handle-unhandled-file-name-directory)
4701 (tramp-handle-file-notify-add-watch, tramp-action-login)
4702 (tramp-action-succeed, tramp-action-permission-denied)
4703 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4704 arguments with "_".
4705
4706 * net/tramp-adb.el (tramp-adb-parse-device-names)
4707 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4708 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4709 (tramp-adb-handle-file-truename): Remove unused arguments.
4710
4711 * net/tramp-cache.el (tramp-flush-directory-property)
4712 (tramp-flush-connection-property, tramp-list-connections)
4713 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4714
4715 * net/tramp-compat.el (tramp-compat-make-temp-file):
4716 Rename FILENAME to F.
4717
4718 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4719 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4720 (tramp-zeroconf-parse-workstation-device-names)
4721 (tramp-zeroconf-parse-webdav-device-names)
4722 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4723
4724 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4725 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4726
4727 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4728 arguments.
4729 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4730 (tramp-sh-handle-insert-file-contents-literally)
4731 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4732 with "_".
4733 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4734 Remove unused variables.
4735
4736 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4737 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4738 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4739
4740 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4741 Make them a defconst.
4742 (tramp-uuencode-region): Remove unused variable.
4743
4744 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4745
4746 * frameset.el (frameset--prop-setter): New function.
4747 (frameset-prop): Add gv-setter declaration.
4748 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4749 parameter was already set in FILTERED. Doc fix.
4750 (frameset--record-minibuffer-relationships): Allow saving a
4751 minibufferless frame without its corresponding minibuffer frame.
4752 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4753 frame, if the frame id matches.
4754 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4755 frames before orphaned ones.
4756 (frameset-restore): Warn about orphaned windows, instead of error out.
4757
4758 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4759
4760 * window.el (window-make-atom): Don't overwrite parameter
4761 already present.
4762 (display-buffer-in-atom-window): Handle special case where we
4763 split an already atomic window.
4764 (window--major-non-side-window, display-buffer-in-side-window)
4765 (window--side-check): Ignore minibuffer window when walking
4766 window tree.
4767 (window-deletable-p): Return 'frame only if no other frame uses
4768 our minibuffer window.
4769 (record-window-buffer): Run buffer-list-update-hook.
4770 (split-window): Make sure window--check-frame won't destroy an
4771 existing atomic window in case the new window gets nested
4772 inside.
4773 (display-buffer-at-bottom): Ignore minibuffer window when
4774 walking window tree. Don't split a side window.
4775 (pop-to-buffer): Don't set-buffer here, the select-window call
4776 should do that.
4777 (mouse-autoselect-window-select): Autoselect only if we are in the
4778 text portion of the window.
4779
4780 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4781
4782 * net/shr.el (shr-parse-image-data): New function to grab both the
4783 data itself and the Content-Type.
4784 (shr-put-image): Use it.
4785
4786 * net/eww.el (eww-display-image): Ditto.
4787
4788 * image.el (image-content-type-suffixes): New variable.
4789
4790 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4791
4792 * progmodes/python.el (python-imenu--build-tree)
4793 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4794
4795 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4796
4797 * simple.el (backward-word): Mention the optional argument.
4798
4799 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4800
4801 * frameset.el (frameset--make): Rename constructor from make-frameset.
4802 (frameset-p, frameset-valid-p): Don't autoload.
4803 (frameset-valid-p): Use normal accessors.
4804
4805 2013-08-13 Glenn Morris <rgm@gnu.org>
4806
4807 * progmodes/compile.el (compile-command): Tweak example in doc.
4808 * obsolete/scribe.el (scribe-mode):
4809 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4810
4811 * mail/feedmail.el (feedmail-confirm-outgoing)
4812 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4813
4814 * cus-start.el (truncate-partial-width-windows): Fix type.
4815
4816 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4817
4818 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4819
4820 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * emacs-lisp/timer.el (timer--time-setter): New function.
4823 (timer--time): Use it as gv-setter.
4824
4825 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4826 setter is not a symbol.
4827
4828 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4829
4830 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4831 if sending fails. This makes debugging easier.
4832
4833 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4834
4835 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4836 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4837 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4838
4839 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4840
4841 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4842
4843 2013-08-12 Glenn Morris <rgm@gnu.org>
4844
4845 * format.el (format-annotate-function):
4846 Handle read-only text properties in the source. (Bug#14887)
4847
4848 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4849
4850 * net/eww.el (eww-display-html): Ignore coding system errors.
4851 One web site uses "utf-8lias" as the coding system.
4852
4853 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4854
4855 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4856
4857 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4858
4859 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4860 (tutorial--detailed-help): Remove unused local variables.
4861 (tutorial--save-tutorial-to): Use ignore-errors.
4862 (help-with-tutorial): Use looking-at-p.
4863
4864 * view.el (view-buffer-other-window, view-buffer-other-frame):
4865 Mark unused arguments.
4866
4867 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4868 (woman-select-symbol-fonts, woman, woman-find-file)
4869 (woman-insert-file-contents, woman-non-underline-faces):
4870 Use string-match-p.
4871 (woman1-unquote): Move declaration.
4872
4873 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4874 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4875 argument. Remove unused local variable.
4876 (xml-parse-elem-type): Use string-match-p.
4877 (xml-substitute-numeric-entities): Use ignore-errors.
4878
4879 * calculator.el (calculator): Mark unused argument.
4880 (calculator-paste, calculator-quit, calculator-integer-p):
4881 Use ignore-errors.
4882 (calculator-string-to-number, calculator-decimal, calculator-exp)
4883 (calculator-op-or-exp): Use string-match-p.
4884
4885 * dired.el (dired-buffer-more-recently-used-p): Declare.
4886 (dired-insert-set-properties, dired-insert-old-subdirs):
4887 Use ignore-errors.
4888
4889 * dired-aux.el (dired-compress): Use ignore-errors.
4890 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4891 (dired-do-async-shell-command, dired-do-shell-command)
4892 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4893 (dired-insert-subdir-validate): Use string-match-p.
4894 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4895 (dired-add-entry): Use string-match-p, looking-at-p.
4896 (dired-insert-subdir-newpos): Remove unused local variable.
4897
4898 * filenotify.el (file-notify-callback): Remove unused local variable.
4899
4900 * filesets.el (filesets-error): Mark unused argument.
4901 (filesets-which-command-p, filesets-filter-dir-names)
4902 (filesets-directory-files, filesets-get-external-viewer)
4903 (filesets-ingroup-get-data): Use string-match-p.
4904
4905 * find-file.el (ff-other-file-name, ff-other-file-name)
4906 (ff-find-the-other-file, ff-cc-hh-converter):
4907 Remove unused local variables.
4908 (ff-get-file-name): Use string-match-p.
4909 (ff-all-dirs-under): Use ignore-errors.
4910
4911 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4912 (follow-select-if-visible): Remove unused local variable.
4913
4914 * forms.el (read-file-filter): Move declaration.
4915 (forms--make-format, forms--make-parser, forms-insert-record):
4916 Quote function with #'.
4917 (forms--update): Use string-match-p. Quote function with #'.
4918
4919 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4920 (help-make-xrefs): Use looking-at-p.
4921 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4922
4923 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4924 (ibuffer-confirm-operation-on): Use string-match-p.
4925
4926 * msb.el (msb-item-handler, msb-dired-item-handler):
4927 Mark unused arguments.
4928
4929 * ses.el (ses-decode-cell-symbol)
4930 (ses-kill-override): Remove unused local variable.
4931 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4932 (ses-load): Use ignore-errors, looking-at-p.
4933 (ses-jump-safe): Use ignore-errors.
4934 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4935
4936 * tabify.el (untabify, tabify): Mark unused arguments.
4937
4938 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4939 Mark unused argument.
4940 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4941 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4942
4943 * emacs-lisp/timer.el (timer--time): Define setter with
4944 gv-define-setter to avoid deprecation warning.
4945
4946 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4947 (*record-cmpl-statistics-p*): Remove (was commented out).
4948 (cmpl-statistics-block): Remove (body was commented out).
4949 All callers changed.
4950 (add-completions-from-buffer, load-completions-from-file):
4951 Remove unused variables.
4952
4953 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4954
4955 * filecache.el (file-cache-delete-file-list):
4956 Print message only when told so.
4957 (file-cache-files-matching): Use #' in mapconcat argument.
4958
4959 * ffap.el (ffap-url-at-point): Fix reference to variable
4960 thing-at-point-default-mail-uri-scheme.
4961
4962 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * subr.el (define-error): New function.
4965 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4966 error-file-not-found and define with define-error.
4967 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4968 and define with define-error.
4969 * userlock.el (file-locked, file-supersession):
4970 * simple.el (mark-inactive):
4971 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4972 * progmodes/ada-mode.el (ada-mode-errors):
4973 * play/life.el (life-extinct):
4974 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4975 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4976 * nxml/rng-util.el (rng-error):
4977 * nxml/rng-uri.el (rng-uri-error):
4978 * nxml/rng-match.el (rng-compile-error):
4979 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4980 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4981 * nxml/nxml-rap.el (nxml-scan-error):
4982 * nxml/nxml-outln.el (nxml-outline-error):
4983 * net/soap-client.el (soap-error):
4984 * net/gnutls.el (gnutls-error):
4985 * net/ange-ftp.el (ftp-error):
4986 * mpc.el (mpc-proc-error):
4987 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4988 (json-number-format, json-string-escape, json-string-format)
4989 (json-key-format, json-object-format):
4990 * jka-compr.el (compression-error):
4991 * international/quail.el (quail-error):
4992 * international/kkc.el (kkc-error):
4993 * emacs-lisp/ert.el (ert-test-failed):
4994 * calc/calc.el (calc-error, inexact-result, math-overflow)
4995 (math-underflow):
4996 * bookmark.el (bookmark-error-no-filename):
4997 * epg.el (epg-error): Define with define-error.
4998
4999 * time.el (display-time-event-handler)
5000 (display-time-next-load-average): Don't call sit-for since it seems
5001 unnecessary (bug#15045).
5002
5003 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5004 Use #' instead of ' to quote functions.
5005 (checkdoc-output-mode): Use setq-local.
5006 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5007 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5008 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5009 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5010 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5011 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5012 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5013 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5014
5015 * ido.el (ido-completion-help): Fix up compiler warning.
5016
5017 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5018
5019 * frameset.el (frameset-p): Add autoload cookie.
5020 (frameset--jump-to-register): New function, based on code moved from
5021 register.el.
5022 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5023
5024 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5025 (frameset-restore, frameset-save, frameset-session-filter-alist):
5026 Remove declarations.
5027 (register-alist): Doc fix.
5028 (frameset-to-register): Move to frameset.el.
5029 (jump-to-register, describe-register-1): Remove frameset-specific code.
5030
5031 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5032
5033 * allout-widgets.el (allout-widgets-pre-command-business)
5034 (allout-widgets-post-command-business)
5035 (allout-widgets-after-change-handler)
5036 (allout-decorate-item-and-context, allout-set-boundary-marker)
5037 (allout-body-modification-handler)
5038 (allout-graphics-modification-handler): Mark ignored arguments.
5039 (allout-widgets-post-command-business)
5040 (allout-widgets-exposure-change-processor)
5041 (allout-widgets-exposure-undo-processor)
5042 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5043 (allout-parse-item-at-point, allout-decorate-item-guides)
5044 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5045 * allout.el (epa-passphrase-callback-function): Declare.
5046 (allout-overlay-insert-in-front-handler)
5047 (allout-overlay-interior-modification-handler)
5048 (allout-isearch-end-handler, allout-chart-siblings)
5049 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5050 (allout-yank-processing, allout-process-exposed)
5051 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5052 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5053 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5054 (lisp-indent-defform): Mark ignored arguments.
5055 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5056 (calculate-lisp-indent): Remove unused variables.
5057 * international/characters.el (indian-2-column, arabic-2-column)
5058 (tibetan): Mark ignored arguments.
5059 (use-cjk-char-width-table): Mark ignored arguments.
5060 Remove unused variables.
5061 * international/fontset.el (build-default-fontset-data)
5062 (x-compose-font-name, create-fontset-from-fontset-spec):
5063 Mark ignored arguments.
5064 (fontset-plain-name): Remove unused variables.
5065 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5066 (keyboard-coding-system): Mark ignored arguments.
5067 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5068 * help.el (resize-temp-buffer-window):
5069 * window.el (display-buffer-in-major-side-window)
5070 (display-buffer-in-side-window, display-buffer-in-previous-window):
5071 Remove unused variables.
5072 * isearch.el (isearch-forward-symbol):
5073 * version.el (emacs-bzr-version-bzr):
5074 * international/mule-cmds.el (current-language-environment):
5075 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5076 (x-handle-display):
5077 * term/pc-win.el (x-list-fonts, x-display-planes)
5078 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5079 (x-server-version, x-display-screens, x-display-mm-height)
5080 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5081 (x-selection-owner-p, x-own-selection-internal)
5082 (x-disown-selection-internal, x-get-selection-internal)
5083 (msdos-initialize-window-system):
5084 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5085 * term/x-win.el (x-handle-no-bitmap-icon):
5086 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5087 (vc-default-find-file-hook, vc-default-extra-menu):
5088 Mark ignored arguments.
5089
5090 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5093 break-condition in the context of the debugged code (bug#12685).
5094
5095 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5096
5097 * comint.el:
5098 Do not use an overlay to highlight the last prompt. (Bug#14744)
5099 (comint-mode): Make comint-last-prompt buffer local.
5100 (comint-last-prompt): New variable.
5101 (comint-last-prompt-overlay): Remove. Superseded by
5102 comint-last-prompt.
5103 (comint-snapshot-last-prompt, comint-output-filter):
5104 Use comint-last-prompt.
5105
5106 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5107
5108 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5109 (frameset-save): Check validity of the resulting frameset.
5110
5111 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5112
5113 * ido.el (ido-record-command): Add doc string.
5114
5115 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5116
5117 * frameset.el (frameset): Do not disable creation of the default
5118 frameset-p predicate. Doc fix.
5119 (frameset-valid-p): New function, copied from the old predicate-p.
5120 Add additional checks.
5121 (frameset-restore): Check with frameset-valid-p.
5122 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5123 (frameset-name, frameset-description, frameset-properties)
5124 (frameset-states): Add docstring.
5125 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5126 (frameset-filter-alist): Doc fixes.
5127
5128 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5129
5130 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5131
5132 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5134 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5135 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5136 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5137 (byte-compile-normal-call): Remove obsolescence check.
5138
5139 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5140
5141 * frameset.el (frameset-restore): Doc fix.
5142
5143 * register.el (frameset-frame-id, frameset-frame-with-id)
5144 (frameset-p, frameset-restore, frameset-save): Declare.
5145 (register-alist): Document framesets.
5146 (frameset-session-filter-alist): Declare.
5147 (frameset-to-register): New function.
5148 (jump-to-register): Implement jumping to framesets. Doc fix.
5149 (describe-register-1): Describe framesets.
5150
5151 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5152
5153 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5154
5155 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5156 Use lexical-binding.
5157
5158 * frameset.el (frameset): Use type vector, not list (incompatible
5159 change). Do not declare a new constructor, use the default one.
5160 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5161 `name' and `description', respectively, and add read-only slot
5162 `timestamp'. Doc fixes.
5163 (frameset-copy, frameset-persistent-filter-alist)
5164 (frameset-filter-alist, frameset-switch-to-gui-p)
5165 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5166 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5167 (frameset-filter-iconified, frameset-keep-original-display-p):
5168 Doc fixes.
5169 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5170 Rename from frameset-filter-(save|restore)-param. All callers changed.
5171 Doc fix.
5172 (frameset-p): Adapt to change to vector and be more thorough.
5173 Change arg name to OBJECT. Doc fix.
5174 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5175 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5176 All callers changed.
5177 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5178 All callers changed.
5179 (frameset--record-minibuffer-relationships): Rename from
5180 frameset--process-minibuffer-frames. All callers changed.
5181 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5182 Use new default constructor (again). Doc fix.
5183 (frameset--find-frame-if): Rename from `frameset--find-frame.
5184 All callers changed.
5185 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5186 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5187 Doc fix.
5188 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5189 PARAMETERS and WINDOW-STATE, respectively.
5190 (frameset-restore): Add new keyword argument PREDICATE.
5191 Reset frameset--target-display to nil. Doc fix.
5192
5193 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5196 (bat-mode): Use it.
5197 (bat-mode-syntax-table): Mark \n as end-of-comment.
5198 (bat-font-lock-keywords): Remove comment rule.
5199
5200 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5201 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5202
5203 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5204 (byte-compile-callargs-warn): Use `push'.
5205 (byte-compile-arglist-warn): Ignore higher-order "calls".
5206 (byte-compile-file-form-autoload): Use `pcase'.
5207 (byte-compile-function-form): If quoting a symbol, check that it exists.
5208
5209 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5210
5211 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5212 and add a few popular commands found in batch files.
5213 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5214 (dos-mode): Doc fixes.
5215
5216 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5217
5218 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5219 (dos-mode): Use setq-local. Add space after "rem".
5220 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5221 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5222
5223 2013-08-07 Arni Magnusson <arnima@hafro.is>
5224
5225 * progmodes/dos.el: New file.
5226 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5227 dos-mode.
5228
5229 2013-08-06 Glenn Morris <rgm@gnu.org>
5230
5231 * calendar/calendar.el: Add new faces, and day-header-array.
5232 (calendar-weekday-header, calendar-weekend-header)
5233 (calendar-month-header): New faces.
5234 (calendar-day-header-construct): New function.
5235 (calendar-day-header-width): Also :set calendar-day-header-array.
5236 (calendar-american-month-header, calendar-european-month-header)
5237 (calendar-iso-month-header): Use calendar- faces.
5238 (calendar-generate-month):
5239 Use calendar-day-header-array for day headers; apply faces to them.
5240 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5241 (calendar-abbrev-construct): Add optional maxlen argument.
5242 (calendar-day-name-array): Doc fix.
5243 (calendar-day-name-array, calendar-abbrev-length)
5244 (calendar-day-abbrev-array):
5245 Also :set calendar-day-header-array, and maybe redraw.
5246 (calendar-day-header-array): New option. (Bug#15007)
5247 (calendar-font-lock-keywords): Set to nil and make obsolete.
5248 (calendar-day-name): Add option to use header array.
5249
5250 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5251
5252 * net/shr.el (shr-render-td): Remove debugging.
5253 (shr-render-td): Make width computation consistent by defaulting
5254 all zero-width columns to 10 characters. This may not be optimal,
5255 but it's at least consistent.
5256 (shr-make-table-1): Redo last change to fix the real problem in
5257 colspan handling.
5258
5259 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5260
5261 * files.el (cache-long-line-scans):
5262 Make obsolete alias to `cache-long-scans'.
5263
5264 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5265
5266 * frameset.el (frameset, frameset-filter-alist)
5267 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5268 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5269 (frameset-compute-pos): Rename from frameset--compute-pos,
5270 and add docstring.
5271 (frameset-move-onscreen): Use frameset-compute-pos.
5272 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5273
5274 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5275 Fix typos in docstrings.
5276
5277 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5278
5279 * frame.el (get-other-frame): Tiny cleanup.
5280
5281 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5282
5283 * vc/vc.el (vc-default-ignore-completion-table):
5284 Silence byte-compiler warning.
5285
5286 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5287 slot , which can indeed be nil.
5288 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5289 Move entry for `left' from persistent to live filter alist.
5290 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5291 Doc fixes.
5292 (frameset-filter-params): When restoring a frame, copy items added to
5293 `filtered', to avoid unwittingly modifying the original parameters.
5294 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5295 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5296
5297 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5298 to use looking-at-p instead of looking-at. (Bug#15028)
5299
5300 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5301
5302 Revert introduction of isearch-filter-predicates (bug#14714).
5303 Rely on add-function instead.
5304 * isearch.el (isearch-filter-predicates): Rename it back to
5305 isearch-filter-predicate.
5306 (isearch-message-prefix): Use advice-function-mapc and advice
5307 properties to get the isearch-message-prefix.
5308 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5309 instead of run-hook-with-args-until-failure.
5310 (isearch-filter-visible): Not obsolete any more.
5311 * loadup.el: Preload nadvice.
5312 * replace.el (perform-replace): Revert to funcall
5313 instead of run-hook-with-args-until-failure.
5314 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5315 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5316 dired-isearch-filenames-toggle; make it into a proper minor mode.
5317 Use add/remove-function.
5318 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5319 Call the minor-mode rather than add/remove-hook.
5320 (dired-isearch-filter-filenames):
5321 Remove isearch-message-prefix property.
5322 * info.el (Info--search-loop): New function, extracted from Info-search.
5323 Funcall isearch-filter-predicate instead of
5324 run-hook-with-args-until-failure isearch-filter-predicates.
5325 (Info-search): Use it.
5326 (Info-mode): Use isearch-filter-predicate instead of
5327 isearch-filter-predicates.
5328
5329 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5330
5331 Do not call to `selected-window' where it is assumed by default.
5332 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5333 `window-hscroll', `window-width', `window-height', `window-buffer',
5334 `window-frame', `window-start', `window-point', `next-window'
5335 and `window-display-table'.
5336 * abbrev.el (abbrev--default-expand):
5337 * bs.el (bs--show-with-configuration):
5338 * buff-menu.el (Buffer-menu-mouse-select):
5339 * calc/calc.el (calc):
5340 * calendar/calendar.el (calendar-generate-window):
5341 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5342 (diary-make-entry):
5343 * comint.el (send-invisible, comint-dynamic-complete-filename)
5344 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5345 * completion.el (complete):
5346 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5347 * disp-table.el (describe-current-display-table):
5348 * doc-view.el (doc-view-insert-image):
5349 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5350 * ehelp.el (with-electric-help):
5351 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5352 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5353 * emacs-lisp/helper.el (Helper-help-scroller):
5354 * emulation/cua-base.el (cua--post-command-handler-1):
5355 * eshell/esh-mode.el (eshell-output-filter):
5356 * ffap.el (ffap-gnus-wrapper):
5357 * help-macro.el (make-help-screen):
5358 * hilit-chg.el (highlight-compare-buffers):
5359 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5360 * hl-line.el (global-hl-line-highlight):
5361 * icomplete.el (icomplete-simple-completing-p):
5362 * isearch.el (isearch-done):
5363 * jit-lock.el (jit-lock-stealth-fontify):
5364 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5365 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5366 * mpc.el (mpc-tagbrowser, mpc):
5367 * net/rcirc.el (rcirc-any-buffer):
5368 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5369 * play/landmark.el (landmark-max-width, landmark-max-height):
5370 * play/zone.el (zone):
5371 * progmodes/compile.el (compilation-goto-locus):
5372 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5373 * progmodes/etags.el (find-tag-other-window):
5374 * progmodes/fortran.el (fortran-column-ruler):
5375 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5376 * progmodes/verilog-mode.el (verilog-point-text):
5377 * reposition.el (reposition-window):
5378 * rot13.el (toggle-rot13-mode):
5379 * server.el (server-switch-buffer):
5380 * shell.el (shell-dynamic-complete-command)
5381 (shell-dynamic-complete-environment-variable):
5382 * simple.el (insert-buffer, set-selective-display)
5383 (delete-completion-window):
5384 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5385 (speedbar-recenter):
5386 * startup.el (fancy-splash-head):
5387 * textmodes/ispell.el (ispell-command-loop):
5388 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5389 * tutorial.el (help-with-tutorial):
5390 * vc/add-log.el (add-change-log-entry):
5391 * vc/compare-w.el (compare-windows):
5392 * vc/ediff-help.el (ediff-indent-help-message):
5393 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5394 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5395 (ediff-setup-control-frame):
5396 * vc/emerge.el (emerge-position-region):
5397 * vc/pcvs-util.el (cvs-bury-buffer):
5398 * window.el (walk-windows, mouse-autoselect-window-select):
5399 * winner.el (winner-set-conf, winner-undo): Related users changed.
5400
5401 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5402
5403 * frameset.el (frameset--set-id): Doc fix.
5404 (frameset-frame-id, frameset-frame-id-equal-p)
5405 (frameset-locate-frame-id): New functions.
5406 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5407 (frameset-restore): Use them.
5408
5409 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5410
5411 Do not call to `selected-frame' where it is assumed by default.
5412 Affected functions are `raise-frame', `redraw-frame',
5413 `frame-first-window', `frame-terminal' and `delete-frame'.
5414 * calendar/appt.el (appt-disp-window):
5415 * epg.el (epg-wait-for-completion):
5416 * follow.el (follow-delete-other-windows-and-split)
5417 (follow-avoid-tail-recenter):
5418 * international/mule.el (set-terminal-coding-system):
5419 * mail/rmail.el (rmail-mail-return):
5420 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5421 * progmodes/f90.el (f90-add-imenu-menu):
5422 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5423 * server.el (server-switch-buffer):
5424 * simple.el (delete-completion-window):
5425 * talk.el (talk):
5426 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5427 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5428 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5429 * vc/ediff.el (ediff-documentation): Related users changed.
5430 * frame.el (selected-terminal): Remove the leftover.
5431
5432 2013-08-05 Glenn Morris <rgm@gnu.org>
5433
5434 * calendar/calendar.el (calendar-generate-month):
5435 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5436 (calendar-generate-month, calendar-font-lock-keywords):
5437 Fix for calendar-day-header-width > length of any day name.
5438
5439 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5440
5441 * desktop.el (desktop-clear): Use new name of sort predicate.
5442
5443 * frameset.el (frameset): Add docstring. Move :version property to its
5444 own `version' slot.
5445 (frameset-copy): Rename from copy-frameset.
5446 (frameset-p): Check more thoroughly.
5447 (frameset-prop): Do not check for :version, which is no longer a prop.
5448 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5449 Use new :never value instead of t.
5450 (frameset-filter-alist): Expand and clarify docstring.
5451 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5452 (frameset-filter-minibuffer, frameset-filter-save-param)
5453 (frameset-filter-restore-param, frameset-filter-iconified):
5454 Add pointer to docstring of frameset-filter-alist.
5455 (frameset-filter-params): Rename filter values to be more meaningful:
5456 :never instead of t, and reverse the meanings of :save and :restore.
5457 (frameset--process-minibuffer-frames): Clarify error message.
5458 (frameset-save): Avoid unnecessary and confusing call to framep.
5459 Use new BOA constructor for framesets.
5460 (frameset--reuse-list): Doc fix.
5461 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5462 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5463 (frameset-minibufferless-first-p): Doc fix.
5464 Rename from frameset-sort-frames-for-deletion.
5465 (frameset-restore): Doc fixes. Use new function names.
5466 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5467
5468 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5469
5470 * desktop.el (desktop-restore-forces-onscreen)
5471 (desktop-restore-reuses-frames): Document :keyword constant values.
5472 (desktop-filter-parameters-alist): Remove, now identical to
5473 frameset-filter-alist.
5474 (desktop--filter-tty*): Remove, moved to frameset.el.
5475 (desktop-save-frameset, desktop-restore-frameset):
5476 Do not pass :filters argument.
5477
5478 * frameset.el (frameset-live-filter-alist)
5479 (frameset-persistent-filter-alist): New variables.
5480 (frameset-filter-alist): Use them. Add autoload cookie.
5481 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5482 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5483 `frameset--id' (it's supposed to be internal to frameset.el).
5484 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5485 (frameset--initial-params): New function.
5486 (frameset--get-frame): Use it. Doc fix.
5487 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5488 Accept :all, not 'all.
5489 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5490 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5491 with fbound symbols. Fix frame id matching, and remove matching ids if
5492 the frame being restored is deleted. Obey :delete.
5493
5494 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5495
5496 * subr.el (macrop): New function.
5497 (text-clone--maintaining): New var.
5498 (text-clone--maintain): Rename from text-clone-maintain. Use it
5499 instead of inhibit-modification-hooks.
5500
5501 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5502 a proxy, so as handle autoloads and redefinitions of the target.
5503 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5504
5505 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5506 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5507 (pcase--mutually-exclusive-p): New function.
5508 (pcase--split-consp): Use it.
5509 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5510 mutually exclusive with the current predicate.
5511
5512 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5513 (edebug-macrop): Remove. Use `macrop' instead.
5514 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5515 (ad-macro-p):
5516 * eshell/esh-cmd.el (eshell-macrop):
5517 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5518
5519 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5522 (advice-mapc): New function, using it.
5523 (advice-function-member-p): New function.
5524 (advice--normalize): Store the cdr in advice--saved-rewrite since
5525 that's the part that will be changed.
5526 (advice--symbol-function): New function.
5527 (advice-remove): Handle removal before the function is defined.
5528 Adjust to new advice--saved-rewrite.
5529 (advice-member-p): Use advice-function-member-p and
5530 advice--symbol-function.
5531
5532 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5533
5534 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5535 (frameset-filter-minibuffer): Doc fix.
5536 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5537 (frameset--set-id, frameset--process-minibuffer-frames)
5538 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5539 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5540
5541 * desktop.el (desktop-clear): Only delete frames when called
5542 interactively and desktop-restore-frames is non-nil. Doc fix.
5543 (desktop-read): Set desktop-saved-frameset to nil.
5544
5545 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5546
5547 * vc/vc.el (vc-ignore): Rewrite.
5548 (vc-default-ignore-completion-table):
5549 (vc--read-lines):
5550 (vc--add-line, vc--remove-regexp): New functions.
5551
5552 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5553 (vc-svn-ignore-completion-table): New function.
5554
5555 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5556 (vc-hg-ignore-completion-table):
5557 (vc-hg-find-ignore-file): New functions.
5558
5559 * vc/vc-git.el (vc-git-ignore): Rewrite.
5560 (vc-git-ignore-completion-table):
5561 (vc-git-find-ignore-file): New functions.
5562
5563 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5564
5565 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5566 (vc-bzr-ignore-completion-table):
5567 (vc-bzr-find-ignore-file): New functions.
5568
5569 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5570
5571 * frameset.el (frameset-prop): New function and setter.
5572 (frameset-save): Do not modify frame list passed by the caller.
5573
5574 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5577
5578 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5581 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5582
5583 * custom.el (custom-initialize-default, custom-initialize-set)
5584 (custom-initialize-reset, custom-initialize-changed): Affect the
5585 toplevel-default-value (bug#6275, bug#14586).
5586 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5587 for bug#6275.
5588
5589 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5590
5591 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5592 Add cl-def* expressions.
5593
5594 * frameset.el (frameset-filter-params): Fix order of arguments.
5595
5596 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5597
5598 Move code related to saving frames to frameset.el.
5599 * desktop.el: Require frameset.
5600 (desktop-restore-frames): Doc fix.
5601 (desktop-restore-reuses-frames): Rename from
5602 desktop-restoring-reuses-frames.
5603 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5604 (desktop-clear): Clear frames too.
5605 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5606 (desktop--filter-tty*, desktop-save, desktop-read):
5607 Use frameset functions.
5608 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5609 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5610 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5611 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5612 (desktop--process-minibuffer-frames, desktop-save-frames)
5613 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5614 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5615 (desktop--sort-states, desktop-restoring-frames-p)
5616 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5617 (desktop-restoring-frameset-p, desktop-restore-frameset)
5618 (desktop--check-dont-save, desktop-save-frameset): New functions.
5619 (desktop--app-id): New constant.
5620 (desktop-first-buffer, desktop-buffer-ok-count)
5621 (desktop-buffer-fail-count): Move before first use.
5622 * frameset.el: New file.
5623
5624 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * files.el: Use lexical-binding.
5627 (dir-locals-read-from-file): Remove unused `err' variable.
5628 (hack-dir-local-variables--warned-coding): New var.
5629 (hack-dir-local-variables): Use it to avoid repeated warnings.
5630 (make-backup-file-name--default-function): New function.
5631 (make-backup-file-name-function): Use it as default.
5632 (buffer-stale--default-function): New function.
5633 (buffer-stale-function): Use it as default.
5634 (revert-buffer-insert-file-contents--default-function): New function.
5635 (revert-buffer-insert-file-contents-function): Use it as default.
5636 (insert-directory): Avoid add-to-list.
5637
5638 * autorevert.el (auto-revert-handler): Simplify.
5639 Use buffer-stale--default-function.
5640
5641 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5642
5643 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5644
5645 * whitespace.el (whitespace-ensure-local-variables): New function.
5646 (whitespace-cleanup-region): Call it.
5647 (whitespace-turn-on): Call it.
5648
5649 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5650
5651 Complete file name handlers.
5652
5653 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5654 (tramp-handle-verify-visited-file-modtime)
5655 (tramp-handle-file-notify-rm-watch): New functions.
5656 (tramp-call-process): Do not bind `default-directory'.
5657
5658 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5659 Order alphabetically.
5660 [access-file, add-name-to-file, dired-call-process]:
5661 [dired-compress-file, file-acl, file-notify-rm-watch]:
5662 [file-ownership-preserved-p, file-selinux-context]:
5663 [make-directory-internal, make-symbolic-link, set-file-acl]:
5664 [set-file-selinux-context, set-visited-file-modtime]:
5665 [verify-visited-file-modtime]: Add handler.
5666 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5667
5668 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5669 [file-notify-add-watch, file-notify-rm-watch]:
5670 [set-file-times, set-visited-file-modtime]:
5671 [verify-visited-file-modtime]: Add handler.
5672 (with-tramp-gvfs-error-message)
5673 (tramp-gvfs-handle-set-visited-file-modtime)
5674 (tramp-gvfs-fuse-file-name): Remove.
5675 (tramp-gvfs-handle-file-notify-add-watch)
5676 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5677 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5678
5679 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5680 Order alphabetically.
5681 [file-notify-rm-watch ]: Use default Tramp handler.
5682 [executable-find]: Remove private handler.
5683 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5684 `default-directory'.
5685 (tramp-sh-handle-executable-find)
5686 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5687 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5688 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5689 Do not use `format' in `tramp-message'.
5690
5691 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5692 [file-notify-rm-watch, set-visited-file-modtime]:
5693 [verify-visited-file-modtime]: Add handler.
5694 (tramp-smb-call-winexe): Do not bind `default-directory'.
5695
5696 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5697
5698 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5699
5700 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5701
5702 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5703 use it.
5704 (log-view-diff-changeset): Same.
5705 (log-view-diff-common): Call backend command `previous-revision'
5706 to find out the previous revision, in both cases. Swap the
5707 variables `to' and `fr', so that `fr' usually refers to the
5708 earlier revision (Bug#14989).
5709
5710 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5711
5712 * ibuf-ext.el (ibuffer-filter-by-filename):
5713 Make it work with dired buffers too.
5714
5715 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5716
5717 * emacs-lisp/re-builder.el (reb-color-display-p):
5718 * files.el (save-buffers-kill-terminal):
5719 * net/browse-url.el (browse-url):
5720 * server.el (server-save-buffers-kill-terminal):
5721 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5722 Prefer nil to selected-frame for the first arg of frame-parameter.
5723
5724 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5725
5726 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5727
5728 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5729
5730 * minibuffer.el (completion--twq-all): Try and preserve each
5731 completion's case choice (bug#14907).
5732
5733 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5734
5735 * net/network-stream.el (open-network-stream): Mention the new
5736 :nogreeting parameter.
5737 (network-stream-open-starttls): Use the :nogreeting parameter
5738 (bug#14938).
5739
5740 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5741
5742 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5743 more natural than popping.
5744
5745 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5746 (shr-urlify): Highlight under mouse.
5747
5748 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5749
5750 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5751
5752 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5753
5754 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5755 buffer for output.
5756
5757 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5758 point-min==1. Fix search string. Fix parentheses missing.
5759
5760 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5761 assume point-min==1. Fix search string. Fix parentheses missing.
5762
5763 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5764
5765 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5766 buffer for output.
5767
5768 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5769
5770 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5771 initial frame is minibuffer-less. (Bug#14841)
5772
5773 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5774
5775 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5776 option.
5777
5778 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5779 (tramp-maybe-open-connection): Use it.
5780
5781 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5782
5783 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5784 minimal set of parameters passed when creating a frame, because
5785 the minibuffer status of a frame cannot be changed later.
5786
5787 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5788
5789 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5790 replace-regexp-in-string and inadvertent omissions in previous change.
5791 (todo-filter-items): Ensure only file names are comma-separated in
5792 name of filtered items buffer.
5793
5794 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5795
5796 * desktop.el: Optionally force offscreen frames back onscreen.
5797 (desktop-restoring-reuses-frames): New option.
5798 (desktop--compute-pos, desktop--move-onscreen): New functions.
5799 (desktop--make-frame): Use desktop--move-onscreen.
5800
5801 2013-07-27 Alan Mackenzie <acm@muc.de>
5802
5803 Fontify a Java generic method as a function.
5804 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5805 value to t.
5806
5807 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5808
5809 * calendar/todo-mode.el: Add command to rename todo files.
5810 (todo-rename-file): New command.
5811 (todo-key-bindings-t): Add key binding for it. Change the
5812 bindings of todo-filter-regexp-items(-multifile) to use `x'
5813 instead of `r', since the latter is better suited to the new
5814 renaming command.
5815
5816 2013-07-27 Alan Mackenzie <acm@muc.de>
5817
5818 Make Java try-with-resources statement parse properly.
5819 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5820 (c-block-stmt-1-2-key): New language constants/variables.
5821 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5822 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5823 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5824 with c-block-stmt-1-2-key.
5825
5826 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5827
5828 * desktop.el (desktop--make-frame): Apply most frame parameters after
5829 creating the frame to force (partially or totally) offscreen frames to
5830 be restored as such.
5831
5832 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5833
5834 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5835 (Bug#14948)
5836
5837 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5840 `base' arg of backtrace-frame.
5841
5842 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5843
5844 * simple.el (list-processes): Doc fix.
5845
5846 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5847
5848 * desktop.el (desktop--select-frame):
5849 Try harder to reuse existing frames.
5850
5851 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5852
5853 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5854 (edebug-eval): Use backtrace-eval.
5855 (edebug--display, edebug--recursive-edit): Don't let-bind the
5856 edebug-outer-* vars that keep track of variables we locally let-bind.
5857 (edebug-outside-excursion): Don't restore outside values of locally
5858 let-bound vars.
5859 (edebug--display): Use user-error.
5860 (cl-lexical-debug, cl-debug-env): Remove.
5861
5862 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5863
5864 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5865 are restored to be sure that they are visible before deleting any
5866 remaining ones.
5867
5868 2013-07-26 Matthias Meulien <orontee@gmail.com>
5869
5870 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5871 vc-print-root-log. (Bug#14948)
5872
5873 2013-07-26 Richard Stallman <rms@gnu.org>
5874
5875 Add aliases for encrypting mail.
5876 * epa.el (epa-mail-aliases): New option.
5877 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5878 Bind inhibit-read-only so read-only text doesn't ruin everything.
5879 (epa-mail-default-recipients): New subroutine broken out.
5880 Handle epa-mail-aliases.
5881
5882 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 Add support for lexical variables to the debugger's `e' command.
5885 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5886 vars, except for debugger-outer-match-data.
5887 (debugger-frame-number): Move check for "on a function call" from
5888 callers into it. Add `skip-base' argument.
5889 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5890 (debugger-env-macro): Only reset the state stored in non-variables,
5891 i.e. current-buffer and match-data.
5892 (debugger-eval-expression): Rewrite using backtrace-eval.
5893 * subr.el (internal--called-interactively-p--get-frame): Remove.
5894 (called-interactively-p):
5895 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5896 `base' arg of backtrace-frame instead.
5897
5898 2013-07-26 Glenn Morris <rgm@gnu.org>
5899
5900 * align.el (align-regexp): Doc fix. (Bug#14857)
5901 (align-region): Explicit error if subexpression missing/does not match.
5902
5903 * simple.el (global-visual-line-mode):
5904 Do not duplicate the mode lighter. (Bug#14858)
5905
5906 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5907
5908 * window.el (display-buffer): In display-buffer bind
5909 split-window-keep-point to t, bug#14829.
5910
5911 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5912
5913 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5914 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5915 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5916 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5917 Change accordingly.
5918 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5919 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5920
5921 2013-07-25 Glenn Morris <rgm@gnu.org>
5922
5923 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5924
5925 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5926
5927 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5928 parameter to modify-frame-parameters if the value has not changed;
5929 this is a workaround for bug#14949.
5930 (desktop--make-frame): On cl-delete-if call, check parameter name,
5931 not full parameter.
5932
5933 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5934
5935 * vc/vc.el (vc-ignore): New function.
5936
5937 * vc/vc-svn.el (vc-svn-ignore): New function.
5938
5939 * vc/vc-hg.el (vc-hg-ignore): New function.
5940
5941 * vc/vc-git.el (vc-git-ignore): New function.
5942
5943 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5944 (vc-dir-ignore): New function.
5945
5946 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5947 (cvs-append-to-ignore): Move here from pcvs.el.
5948
5949 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5950
5951 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5952
5953 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5954
5955 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5956 (desktop-restore-frames): Warn when deleting an existing frame failed.
5957
5958 2013-07-24 Glenn Morris <rgm@gnu.org>
5959
5960 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5961
5962 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5963
5964 * filenotify.el (file-notify-supported-p):
5965 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5966 Remove functions.
5967
5968 * autorevert.el (auto-revert-use-notify):
5969 (auto-revert-notify-add-watch):
5970 * net/tramp.el (tramp-file-name-for-operation):
5971 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5972 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5973 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5974 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5975 Remove `file-notify-supported-p' entry.
5976
5977 2013-07-24 Glenn Morris <rgm@gnu.org>
5978
5979 * printing.el: Replace all uses of deleted ps-windows-system,
5980 ps-lp-system, ps-flatten-list with lpr- versions.
5981
5982 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5985 checked with memq (bug#14935).
5986
5987 * files.el (revert-buffer-function): Use a non-nil default.
5988 (revert-buffer-preserve-modes): Declare var to
5989 provide access to the `preserve-modes' argument.
5990 (revert-buffer): Let-bind it.
5991 (revert-buffer--default): New function, extracted from revert-buffer.
5992
5993 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 * lpr.el: Signal print errors more prominently.
5996 (print-region-function): Don't default to nil.
5997 (lpr-print-region): New function, extracted from print-region-1.
5998 Check lpr's return value and signal an error in case of problem.
5999 (print-region-1): Use it.
6000 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6001 versions instead.
6002 (ps-printer-name): Default to nil.
6003 (ps-printer-name-option): Default to lpr-printer-switch.
6004 (ps-print-region-function): Don't default to nil.
6005 (ps-postscript-code-directory): Simplify default.
6006 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6007 (ps-string-list, ps-eval-switch, ps-flatten-list)
6008 (ps-flatten-list-1): Remove.
6009 (ps-multibyte-buffer): Avoid setq.
6010 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6011 (print-region-function, ps-print-region-function): Don't set them here.
6012
6013 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6014
6015 * ido.el (ido-fractionp):
6016 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6017 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6018 (ido-max-directory-size, ido-max-dir-file-cache)
6019 (ido-decorations): Doc fix.
6020
6021 * ansi-color.el: Fix old URL.
6022
6023 2013-07-23 Michael R. Mauger <michael@mauger.com>
6024
6025 * progmodes/sql.el: Version 3.3
6026 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6027 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6028 (sql-interactive-remove-continuation-prompt): Rewrite, use
6029 functions above. Fix continuation prompt and complete output line
6030 handling.
6031 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6032 redirected output buffer.
6033 (sql-mode): Restore deleted code (Bug#13591).
6034
6035 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6036
6037 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6038
6039 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6040
6041 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6042
6043 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6044 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6045 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6046
6047 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6048
6049 * desktop.el (desktop-clear): Simplify; remove useless checks
6050 against invalid buffer names.
6051 (desktop-list*): Use cl-list*.
6052 (desktop-buffer-info, desktop-create-buffer): Simplify.
6053
6054 2013-07-23 Leo Liu <sdl.web@gmail.com>
6055
6056 * bookmark.el (bookmark-make-record): Restore NAME as a default
6057 value. (Bug#14933)
6058
6059 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6062 extracted from autoload--insert-text.
6063 (autoload--insert-text): Remove.
6064 (autoload--print-cookie-text): New function, extracted from
6065 autoload--insert-cookie-text.
6066 (autoload--insert-cookie-text): Remove.
6067 (autoload-generate-file-autoloads): Adjust calls accordingly.
6068
6069 * winner.el (winner-hook-installed-p): Remove.
6070 (winner-mode): Simplify accordingly.
6071
6072 * subr.el (add-to-list): Fix compiler-macro when `append' is
6073 not constant. Don't use `cl-member' for the base case.
6074
6075 * progmodes/subword.el: Fix boundary case (bug#13758).
6076 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6077 own group.
6078 (subword-backward-regexp): Make it a constant.
6079 (subword-forward-internal): Don't treat a trailing capital as the
6080 beginning of a word.
6081
6082 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6083
6084 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6085 global value of tabulated-list-revert-hook (bug#14930).
6086
6087 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6088
6089 * desktop.el: Require 'cl-lib.
6090 (desktop-before-saving-frames-functions): New hook.
6091 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6092 for frames being saved. Rename from desktop--save-minibuffer-frames.
6093 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6094 Do not save frames with non-nil `desktop-dont-save' parameter.
6095 Filter out deleted frames.
6096 (desktop--find-frame): Use cl-find-if.
6097 (desktop--select-frame): Use cl-(first|second|third) to access values
6098 of desktop-mini.
6099 (desktop--make-frame): Use cl-delete-if.
6100 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6101 (desktop-restore-frames): Use cl-(first|second|third) to access values
6102 of desktop-mini. Look for visible frame at the end, not while
6103 restoring frames.
6104
6105 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6106 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6107 Use string-match-p, looking-at-p (bug#14927).
6108
6109 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * desktop.el (desktop-saved-frame-states):
6112 Rename from desktop--saved-states; all users changed.
6113 (desktop-save-frames): Rename from desktop--save-frames.
6114 Do not save state to desktop file.
6115 (desktop-save): Save desktop-saved-frame-states to desktop file
6116 and reset to nil.
6117 (desktop-restoring-frames-p): New function.
6118 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6119 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6120 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6121
6122 * desktop.el: Correctly restore iconified frames.
6123 (desktop--filter-iconified-position): New function.
6124 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6125
6126 2013-07-20 Glenn Morris <rgm@gnu.org>
6127
6128 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6129 Let `message' do the formatting.
6130 (def-gdb-preempt-display-buffer): Add explicit format.
6131
6132 * image-dired.el (image-dired-track-original-file):
6133 Use with-current-buffer.
6134 (image-dired-track-thumbnail): Use with-current-buffer.
6135 Avoid changing point of wrong window.
6136
6137 * image-dired.el (image-dired-track-original-file):
6138 Avoid changing point of wrong window. (Bug#14909)
6139
6140 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6141
6142 * progmodes/gdb-mi.el (gdb-done-or-error):
6143 Guard against "%" in gdb output. (Bug#14127)
6144
6145 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6146
6147 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6148 (Bug#14826)
6149
6150 * international/mule.el (coding-system-iso-2022-flags): Fix last
6151 change.
6152
6153 2013-07-20 Kenichi Handa <handa@gnu.org>
6154
6155 * international/mule.el (coding-system-iso-2022-flags):
6156 Add `8-bit-level-4'. (Bug#8522)
6157
6158 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6159
6160 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6161 (bug#14815).
6162
6163 * net/eww.el (eww-process-text-input): Allow inputting when the
6164 point is at the start of the line, as the properties aren't
6165 front-sticky.
6166
6167 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6168 degenerate widths.
6169
6170 2013-07-19 Richard Stallman <rms@gnu.org>
6171
6172 * epa.el (epa-popup-info-window): Doc fix.
6173
6174 * subr.el (split-string): New arg TRIM.
6175
6176 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6177
6178 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6179 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6180
6181 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6182
6183 * filenotify.el (file-notify--library): Rename from
6184 `file-notify-support'. Do not autoload. Adapt all uses.
6185 (file-notify-supported-p): New defun.
6186
6187 * autorevert.el (auto-revert-use-notify):
6188 Use `file-notify-supported-p' instead of `file-notify-support'.
6189 Adapt docstring.
6190 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6191
6192 * net/tramp.el (tramp-file-name-for-operation):
6193 Add `file-notify-supported-p'.
6194
6195 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6196 New defun.
6197 (tramp-sh-file-name-handler-alist): Add it as handler for
6198 `file-notify-supported-p '.
6199
6200 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6201 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6202 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6203 Add `ignore' as handler for `file-notify-*' functions.
6204
6205 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6206
6207 * simple.el (line-move-partial, line-move): Don't start vscroll or
6208 scroll-up if the current line is not taller than the window.
6209 (Bug#14881)
6210
6211 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6212
6213 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6214 highlight question marks in the method names as strings.
6215 (ruby-block-beg-keywords): Inline.
6216 (ruby-font-lock-keyword-beg-re): Extract from
6217 `ruby-font-lock-keywords'.
6218
6219 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6220
6221 * frame.el (blink-cursor-blinks): New defcustom.
6222 (blink-cursor-blinks-done): New defvar.
6223 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6224 (blink-cursor-timer-function): Check if number of blinks has been
6225 done on X and NS.
6226 (blink-cursor-suspend, blink-cursor-check): New defuns.
6227
6228 2013-07-15 Glenn Morris <rgm@gnu.org>
6229
6230 * edmacro.el (edmacro-format-keys): Fix previous change.
6231
6232 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6233
6234 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6235 The hack didn't work outside English locales anyway.
6236
6237 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6238
6239 * simple.el (define-alternatives): Rename from alternatives-define,
6240 per RMS' suggestion.
6241
6242 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6243
6244 * desktop.el (desktop-restore-frames): Change default to t.
6245 (desktop-restore-in-current-display): Now offer more options.
6246 (desktop-restoring-reuses-frames): New customization option.
6247 (desktop--saved-states): Doc fix.
6248 (desktop-filter-parameters-alist): New variable, renamed and expanded
6249 from desktop--excluded-frame-parameters.
6250 (desktop--target-display): New variable.
6251 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6252 (desktop--filter-tty*, desktop--filter-*-color)
6253 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6254 (desktop--filter-save-desktop-parm)
6255 (desktop-restore-in-original-display-p): New functions.
6256 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6257 (desktop--save-minibuffer-frames): New function, inspired by a similar
6258 function from Martin Rudalics.
6259 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6260 (desktop--restore-in-this-display-p): Remove.
6261 (desktop--find-frame): Rename from desktop--find-frame-in-display
6262 and add predicate argument.
6263 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6264 (desktop--reuse-list): New variable.
6265 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6266 New functions.
6267 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6268
6269 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6270
6271 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6272
6273 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6274
6275 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6276 Highlight conversion methods on Kernel.
6277
6278 2013-07-13 Alan Mackenzie <acm@muc.de>
6279
6280 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6281 and comment it out. This out-commenting enables certain C++
6282 declarations to be parsed correctly.
6283
6284 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6285
6286 * international/mule.el (define-coding-system): Doc fix.
6287
6288 * simple.el (default-font-height): Don't call font-info if the
6289 frame's default font didn't change since the frame was created.
6290 (Bug#14838)
6291
6292 2013-07-13 Leo Liu <sdl.web@gmail.com>
6293
6294 * ido.el (ido-read-file-name): Guard against non-symbol value.
6295
6296 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6297
6298 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6299 in nested defuns.
6300
6301 2013-07-13 Leo Liu <sdl.web@gmail.com>
6302
6303 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6304 ido-set-matches call. (Bug#6852)
6305
6306 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6307
6308 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6309 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6310 Ruby 2.0.
6311 (ruby-font-lock-keywords): Distinguish calls to functions with
6312 module-like names from module references. Highlight character
6313 literals.
6314
6315 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6316
6317 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6318 (gdb-send): Handle continued commands. (Bug#14847)
6319
6320 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6321
6322 * desktop.el (desktop--v2s): Remove unused local variable.
6323 (desktop-save-buffer): Make defvar-local; adjust docstring.
6324 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6325 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6326
6327 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6328
6329 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6330
6331 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6332
6333 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6334 (Bug#14842)
6335
6336 2013-07-12 Glenn Morris <rgm@gnu.org>
6337
6338 * doc-view.el: Require cl-lib at runtime too.
6339 (doc-view-remove-if): Remove.
6340 (doc-view-search-next-match, doc-view-search-previous-match):
6341 Use cl-remove-if.
6342
6343 * edmacro.el: Require cl-lib at runtime too.
6344 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6345 (edmacro-mismatch, edmacro-subseq): Remove.
6346
6347 * shadowfile.el: Require cl-lib.
6348 (shadow-remove-if): Remove.
6349 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6350 Use cl-remove-if.
6351
6352 * wid-edit.el: Require cl-lib.
6353 (widget-choose): Use cl-remove-if.
6354 (widget-remove-if): Remove.
6355
6356 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6357 (ebrowse-delete-if-not): Remove.
6358 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6359 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6360 Use cl-delete-if-not.
6361
6362 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6363
6364 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6365 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6366
6367 2013-07-12 Leo Liu <sdl.web@gmail.com>
6368
6369 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6370
6371 2013-07-11 Glenn Morris <rgm@gnu.org>
6372
6373 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6374 (edebug-gensym-index, edebug-gensym):
6375 Remove reimplementation of cl-gensym.
6376 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6377
6378 * thumbs.el: Require cl-lib at run-time too.
6379 (thumbs-gensym-counter, thumbs-gensym):
6380 Remove reimplementation of cl-gensym.
6381 (thumbs-temp-file): Use cl-gensym.
6382
6383 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6384 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6385 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6386 (ert--union, ert--gensym-counter, ert--gensym-counter)
6387 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6388 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6389 (ert-make-test-unbound, ert--expand-should-1)
6390 (ert--expand-should, ert--should-error-handle-error)
6391 (should-error, ert--explain-equal-rec)
6392 (ert--plist-difference-explanation, ert-select-tests)
6393 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6394 Use cl-lib functions rather than reimplementations.
6395
6396 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6397
6398 * net/tramp.el (tramp-methods): Extend docstring.
6399 (tramp-connection-timeout): New defcustom.
6400 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6401 (with-tramp-progress-reporter): Simplify.
6402 (tramp-process-actions): Improve messages.
6403
6404 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6405 * net/tramp-sh.el (tramp-maybe-open-connection):
6406 Use `tramp-connection-timeout'.
6407 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6408 (Bug#14808)
6409
6410 2013-07-11 Leo Liu <sdl.web@gmail.com>
6411
6412 * ido.el (ido-read-file-name): Conform to the requirements of
6413 read-file-name. (Bug#11861)
6414 (ido-read-directory-name): Conform to the requirements of
6415 read-directory-name.
6416
6417 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6418
6419 * subr.el (delay-warning): New function.
6420
6421 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6422
6423 * simple.el (default-line-height): New function.
6424 (line-move-partial, line-move): Use it instead of computing the
6425 line height inline.
6426 (line-move-partial): Always compute ROWH. If the last line is
6427 partially-visible, but its text is completely visible, allow
6428 cursor to enter such a partially-visible line.
6429
6430 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6431
6432 Improve error messages. (Bug#14808)
6433
6434 * net/tramp.el (tramp-current-connection): New defvar, moved from
6435 tramp-sh.el.
6436 (tramp-message-show-progress-reporter-message): Remove, not
6437 needed anymore.
6438 (tramp-error-with-buffer): Show message in minibuffer.
6439 Discard input before waiting. Reset connection timestamp.
6440 (with-tramp-progress-reporter): Improve messages.
6441 (tramp-process-actions): Use progress reporter. Delete process in
6442 case of error. Improve messages.
6443
6444 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6445 Call `tramp-error-with-buffer' with vector and buffer.
6446 (tramp-current-connection): Remove.
6447 (tramp-maybe-open-connection): The car of
6448 `tramp-current-connection' are the first 3 slots of the vector.
6449
6450 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6451
6452 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6453 inside continued strings.
6454
6455 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6456
6457 Timestamp fixes for undo (Bug#14824).
6458 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6459
6460 2013-07-10 Leo Liu <sdl.web@gmail.com>
6461
6462 * files.el (require-final-newline): Allow safe local value.
6463 (Bug#14834)
6464
6465 2013-07-09 Leo Liu <sdl.web@gmail.com>
6466
6467 * ido.el (ido-read-directory-name): Handle fallback.
6468 (ido-read-file-name): Update DIR to ido-current-directory.
6469 (Bug#1516)
6470 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6471
6472 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6473
6474 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6475 "autoload". Remove "warn lower camel case" section, previously
6476 commented out. Highlight negation char. Do not highlight the
6477 target in singleton method definitions.
6478
6479 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6480
6481 * faces.el (tty-setup-hook): Declare the hook.
6482
6483 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6484 and detect when a guard/pred depends on local vars (bug#14773).
6485 (pcase--u1): Adjust caller.
6486
6487 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6488
6489 * simple.el (line-move-partial, line-move): Account for
6490 line-spacing.
6491 (line-move-partial): Avoid setting vscroll when the last
6492 partially-visible line in window is of default height.
6493
6494 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6495
6496 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6497 been used a while.
6498
6499 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6500
6501 * subr.el (read-quoted-char): Remove unused local variable `char'.
6502
6503 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6504
6505 * ediff.el (ediff-version): Version update.
6506 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6507 (ediff-merge-with-ancestor-command, ediff-directories-command)
6508 (ediff-directories3-command, ediff-merge-directories-command)
6509 (ediff-merge-directories-with-ancestor-command): New functions.
6510 All are command-line interfaces to ediff: to facilitate calling
6511 Emacs with the appropriate ediff functions invoked.
6512
6513 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6514 (viper-save-kill-buffer): Check if buffer is modified.
6515
6516 * viper.el (viper-version): Version update.
6517 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6518
6519 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6522 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6523 (viper-intercept-ESC-key): Simplify.
6524 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6525 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6526 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6527 (viper-setup-ESC-to-escape): New functions.
6528 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6529 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6530
6531 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6532
6533 * simple.el (default-font-height, window-screen-lines):
6534 New functions.
6535 (line-move, line-move-partial): Use them instead of
6536 frame-char-height and window-text-height. This makes scrolling
6537 text smoother when the buffer's default face uses a font that is
6538 different from the frame's default font.
6539
6540 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6541
6542 * files.el (write-file): Do not display confirm dialog for NS,
6543 it does its own dialog, which can't be cancelled (Bug#14578).
6544
6545 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6546
6547 * simple.el (line-move-partial): Adjust the row returned by
6548 posn-at-point for the current window-vscroll. (Bug#14567)
6549
6550 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6551
6552 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6553 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6554 spaces.
6555
6556 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6557
6558 * window.el (window-state-put-stale-windows): New variable.
6559 (window--state-put-2): Save list of windows without matching buffer.
6560 (window-state-put): Remove "bufferless" windows if possible.
6561
6562 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6563
6564 * simple.el (alternatives-define): Remove leftover :group keyword.
6565 Tweak docstring.
6566
6567 2013-07-06 Leo Liu <sdl.web@gmail.com>
6568
6569 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6570 (ido-enable-virtual-buffers): New variable.
6571 (ido-buffer-internal, ido-toggle-virtual-buffers)
6572 (ido-make-buffer-list): Use it.
6573 (ido-exhibit): Support turning on and off virtual buffers
6574 automatically.
6575
6576 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6577
6578 * simple.el (alternatives-define): New macro.
6579
6580 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * subr.el (read-quoted-char): Use read-key.
6583 (sit-for): Let read-event decode tty input (bug#14782).
6584
6585 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6586
6587 * calendar/todo-mode.el: Add handling of file deletion, both by
6588 mode command and externally. Fix various related bugs.
6589 Clarify Commentary and improve some documentation strings and code.
6590 (todo-delete-file): New command.
6591 (todo-check-file): New function.
6592 (todo-show): Handle external deletion of the file we're trying to
6593 show (bug#14688). Replace called-interactively-p by an optional
6594 prefix argument to avoid problematic interaction with catch form
6595 when byte compiled (bug#14702).
6596 (todo-quit): Handle external deletion of the archive's todo file.
6597 Make sure the buffer that was visiting the archive file is still
6598 live before trying to bury it.
6599 (todo-category-completions): Handle external deletion of any
6600 category completion files.
6601 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6602 of todo files, in case of external deletion.
6603 (todo-add-file): Replace unnecessary setq by let-binding.
6604 (todo-find-archive): Check whether there are any archives.
6605 Replace unnecessary setq by let-binding.
6606 (todo-archive-done-item): Use find-file-noselect to get the
6607 archive buffer whether or not the archive already exists.
6608 Remove superfluous code. Use file size instead of buffer-file-name to
6609 check if the archive is new; if it is, update list of archives.
6610 (todo-default-todo-file): Allow nil to be a valid value for when
6611 there are no todo files.
6612 (todo-reevaluate-default-file-defcustom): Use corrected definition
6613 of todo-default-todo-file.
6614 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6615 (todo-delete-category, todo-show-categories-table)
6616 (todo-category-number): Clarify comment.
6617 (todo-filter-items): Clarify documentation string.
6618 (todo-show-current-file, todo-display-as-todo-file)
6619 (todo-reset-and-enable-done-separator): Tweak documentation string.
6620 (todo-done-separator): Make separator length window-width, since
6621 bug#2749 is now fixed.
6622
6623 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6624
6625 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6626 Support both "gvfs-monitor-dir" and "inotifywait".
6627 (tramp-sh-file-inotifywait-process-filter): Rename from
6628 `tramp-sh-file-notify-process-filter'.
6629 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6630 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6631
6632 2013-07-05 Leo Liu <sdl.web@gmail.com>
6633
6634 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6635
6636 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6637
6638 * frame.el (display-pixel-height, display-pixel-width)
6639 (display-mm-height, display-mm-width): Mention behavior on
6640 multi-monitor setups in docstrings.
6641 (w32-display-monitor-attributes-list): Declare function.
6642 (display-monitor-attributes-list): Use it.
6643
6644 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6645
6646 * filenotify.el: New package.
6647
6648 * autorevert.el (top): Require filenotify.el.
6649 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6650 instead.
6651 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6652 (auto-revert-notify-handler): Use `file-notify-*' functions.
6653
6654 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6655
6656 * net/tramp.el (tramp-file-name-for-operation):
6657 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6658
6659 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6660 for `file-notify-add-watch' and `file-notify-rm-watch'.
6661 (tramp-process-sentinel): Improve trace.
6662 (tramp-sh-handle-file-notify-add-watch)
6663 (tramp-sh-file-notify-process-filter)
6664 (tramp-sh-handle-file-notify-rm-watch)
6665 (tramp-get-remote-inotifywait): New defuns.
6666
6667 2013-07-03 Juri Linkov <juri@jurta.org>
6668
6669 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6670 call of `occur-read-primary-args' to interactive spec.
6671
6672 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6673 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6674
6675 2013-07-03 Matthias Meulien <orontee@gmail.com>
6676
6677 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6678 `Buffer-menu-multi-occur'. Add it to the menu.
6679 (Buffer-menu-mode): Document it in docstring.
6680 (Buffer-menu-multi-occur): New command. (Bug#14673)
6681
6682 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6683
6684 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6685 keywords and built-ins.
6686
6687 2013-07-03 Glenn Morris <rgm@gnu.org>
6688
6689 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6690
6691 Make info-xref checks case-sensitive by default
6692 * info.el (Info-find-node, Info-find-in-tag-table)
6693 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6694 Add option for exact case matching of nodes.
6695 * info-xref.el (info-xref): New custom group.
6696 (info-xref-case-fold): New option.
6697 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6698
6699 2013-07-03 Leo Liu <sdl.web@gmail.com>
6700
6701 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6702
6703 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6704
6705 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6706 middle of block statement initially, lower the depth. Remove
6707 FIXME comment, not longer valid. Remove middle of block statement
6708 detection, no need to do that anymore since we've been using
6709 `ruby-parse-region' here.
6710
6711 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6712
6713 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6714
6715 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6716
6717 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6718
6719 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6720
6721 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6722 (desktop-restore-in-current-display): New customization option.
6723 (desktop--excluded-frame-parameters): Add `font'.
6724 (desktop--save-frames): Rename from desktop--save-windows.
6725 (desktop--restore-in-this-display-p): New function.
6726 (desktop--make-full-frame): Remove unwanted width/height from
6727 full(width|height) frames.
6728 (desktop--restore-frames): Rename from desktop--restore-windows.
6729 Obey desktop-restore-current-display. Do not delete old frames or
6730 select a new frame unless we were able to restore at least one frame.
6731
6732 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6733
6734 * files.el (find-file-noselect): Simplify conditional expression.
6735
6736 * remember.el (remember-append-to-file):
6737 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6738
6739 Add `remember-notes' function to store random notes across Emacs
6740 restarts.
6741 * remember.el (remember-data-file): Add :set callback to affect
6742 notes buffer (if any).
6743 (remember-notes): New command.
6744 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6745 New defcustoms for the `remember-notes' function.
6746 (remember-notes-save-and-bury-buffer): New command.
6747 (remember-notes-mode-map): New variable.
6748 (remember-mode): New minor mode.
6749 (remember-notes--kill-buffer-query): New function.
6750 * startup.el (initial-buffer-choice): Add notes to custom type.
6751
6752 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6753
6754 * bindings.el (right-char, left-char): Don't call sit-for, this is
6755 no longer needed. Use arithmetic comparison only for numerical
6756 arguments.
6757
6758 * international/mule-cmds.el (select-safe-coding-system):
6759 Handle the case of FROM being a string correctly. (Bug#14755)
6760
6761 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6762
6763 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6764 progression on degenerate tables.
6765 (shr-rescale-image): ImageMagick animated images currently don't work.
6766
6767 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6768
6769 Some fixes and improvements for desktop frame restoration.
6770 It is still experimental and disabled by default.
6771 * desktop.el (desktop--save-windows): Put the selected frame at
6772 the head of the list.
6773 (desktop--make-full-frame): New function.
6774 (desktop--restore-windows): Try to re-select the frame that was
6775 selected upon saving. Do not abort if some frames fail to restore,
6776 just show an error message and continue. Set up maximized frames
6777 so they have default non-maximized dimensions.
6778
6779 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6780
6781 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6782 Don't start heredoc inside a string or comment.
6783
6784 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6785
6786 * bindings.el (visual-order-cursor-movement): New defcustom.
6787 (right-char, left-char): Provide visual-order cursor motion by
6788 calling move-point-visually. Update the doc strings.
6789
6790 2013-06-28 Kenichi Handa <handa@gnu.org>
6791
6792 * international/mule.el (define-coding-system): New coding system
6793 properties :inhibit-null-byte-detection,
6794 :inhibit-iso-escape-detection, and :prefer-utf-8.
6795 (set-buffer-file-coding-system): If :charset-list property of
6796 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6797 appropriate for setting.
6798
6799 * international/mule-cmds.el (select-safe-coding-system):
6800 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6801 multibyte characters, return utf-8 (or one of its siblings).
6802
6803 * international/mule-conf.el (prefer-utf-8): New coding system.
6804 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6805 files.
6806
6807 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6808
6809 * net/shr.el (shr-render-region): New function.
6810
6811 * net/eww.el: Autoload `eww-browse-url'.
6812
6813 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6814
6815 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6816 Adapt to `package-desc-version' being a list.
6817 Use `package--ac-desc-version' to retrieve version from a package
6818 archive element.
6819
6820 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6821
6822 New experimental feature to save&restore window and frame setup.
6823 * desktop.el (desktop-save-windows): New defcustom.
6824 (desktop--saved-states): New var.
6825 (desktop--excluded-frame-parameters): New defconst.
6826 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6827 (desktop--restore-windows, desktop--save-windows): New functions.
6828 (desktop-save): Call `desktop--save-windows'.
6829 (desktop-read): Call `desktop--restore-windows'.
6830
6831 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6832
6833 * net/shr.el (add-face-text-property): Remove compat definition.
6834
6835 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6836
6837 * info.el (Info-try-follow-nearest-node): Move search for footnote
6838 above search for node name to prevent missing a footnote (bug#14717).
6839
6840 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6841
6842 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6843
6844 2013-06-27 Leo Liu <sdl.web@gmail.com>
6845
6846 * net/eww.el (eww-read-bookmarks): Check file size.
6847
6848 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6851 advice--pending if newdef is nil or an autoload (bug#13820).
6852 (advice-mapc): New function.
6853
6854 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6855
6856 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6857 probably.
6858 (eww-mode-map): Add a menu bar.
6859 (eww-add-bookmark): New command.
6860 (eww-bookmark-mode): New mode and commands.
6861 (eww-add-bookmark): Remove newlines from the title.
6862 (eww-bookmark-browse): Don't bug out if it's the only window.
6863
6864 2013-06-26 Glenn Morris <rgm@gnu.org>
6865
6866 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6867 (hfy-size): Handle ttys. (Bug#14668)
6868
6869 * info-xref.el: Update for Texinfo 5 change in *note format.
6870 (info-xref-node-re, info-xref-note-re): New constants.
6871 (info-xref-check-buffer): Use info-xref-note-re.
6872
6873 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6874
6875 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6876
6877 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6878 nil terminate the loop (bug#14718).
6879
6880 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6881
6882 * net/eww.el: Rework history traversal. When going forward/back,
6883 put these actions into the history, too, so that they can be
6884 replayed.
6885 (eww-render): Move the history reset to the correct buffer.
6886
6887 2013-06-25 Juri Linkov <juri@jurta.org>
6888
6889 * files-x.el (modify-dir-local-variable): Change the header comment
6890 in the file with directory local variables. (Bug#14692)
6891
6892 * files-x.el (read-file-local-variable-value): Add `default'.
6893 (Bug#14710)
6894
6895 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6896
6897 * net/eww.el (eww-make-unique-file-name): Create a unique file
6898 name before saving to entering `y' accidentally asynchronously.
6899
6900 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6901
6902 * net/eww.el (eww-download): New command and keystroke.
6903
6904 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6905
6906 * net/eww.el (eww-copy-page-url): Change name of command.
6907
6908 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6909 be more consistent with Info and dired.
6910
6911 * net/eww.el (eww-mode-map): Ditto.
6912
6913 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6916 packages from archives.
6917 (package-archive-contents): Change format; include obsolete packages.
6918 (package-desc): Use `dir' to mark builtin packages.
6919 (package--from-builtin): Set the `dir' field to `builtin'.
6920 (generated-autoload-file, version-control): Declare.
6921 (package-compute-transaction): Change first arg and return value to be
6922 lists of package-descs. Adjust to new package-archive-contents format.
6923 (package--add-to-archive-contents): Adjust to new
6924 package-archive-contents format.
6925 (package-download-transaction): Arg is now a list of package-descs.
6926 (package-install): If `pkg' is a package name, pass it as
6927 a requirement, so it is subject to the usual (e.g. disabled) checks.
6928 (describe-package): Accept package-desc as well.
6929 (describe-package-1): Describe a specific package-desc. Add links to
6930 other package-descs for the same package name.
6931 (package-menu-describe-package): Pass the actual package-desc.
6932 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6933 works correctly.
6934 (package-desc-status): New function.
6935 (package-menu--refresh): New function, extracted
6936 from package-menu--generate.
6937 (package-menu--generate): Use it.
6938 (package-delete): Update package-alist.
6939 (package-menu-execute): Don't call package-initialize.
6940
6941 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6942 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6943 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6944 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6945 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6946 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6947
6948 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6949
6950 * window.el (window--state-get-1): Workaround for bug#14527.
6951 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6952
6953 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6954
6955 * net/eww.el (eww-back-url): Implement the history by stashing all
6956 the data into a list.
6957 (eww-forward-url): Allow going forward in the history, too.
6958
6959 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6962 for values and use read--expression for expressions (bug#14710).
6963 (read-file-local-variable): Avoid setq.
6964 (read-file-local-variable-mode): Use minor-mode-list.
6965
6966 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6967
6968 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6969 for DOI URLs.
6970
6971 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6972
6973 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6974 Update imenu-support when dialect changes.
6975
6976 2013-06-25 Leo Liu <sdl.web@gmail.com>
6977
6978 * ido.el (ido-read-internal): Allow forward slash on windows.
6979
6980 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6981
6982 * net/eww.el (eww): Start of strings is \\`, not ^.
6983
6984 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6985
6986 * net/shr.el (shr-browse-url): Fix interactive spec.
6987
6988 * net/eww.el (eww): Add a trailing slash to domain names.
6989
6990 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6991
6992 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6993
6994 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6995
6996 * net/shr.el (shr-browse-url): Use an external browser if given a
6997 prefix.
6998
6999 * net/eww.el (eww-external-browser): Move to shr.
7000
7001 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7002
7003 * net/eww.el (eww): Work more correctly for file: URLs.
7004 (eww-detect-charset): Allow quoted charsets.
7005 (eww-yank-page-url): New command and keystroke.
7006
7007 2013-06-24 Daiki Ueno <ueno@gnu.org>
7008
7009 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7010 file name of gpg executable.
7011 (epg-context-program): New function.
7012 (epg-context-home-directory): New function.
7013 (epg-context-set-program): New function.
7014 (epg-context-set-home-directory): New function.
7015 (epg--start): Use `epg-context-program' instead of
7016 'epg-gpg-program'.
7017 (epg--list-keys-1): Likewise.
7018
7019 2013-06-24 Leo Liu <sdl.web@gmail.com>
7020
7021 * ido.el (ido-read-internal): Fix bug#14620.
7022
7023 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7024
7025 * faces.el (face-documentation): Simplify.
7026 (read-face-attribute, tty-find-type, x-resolve-font-name):
7027 Use `string-match-p'.
7028 (list-faces-display): Use `string-match-p'. Simplify.
7029 (face-spec-recalc): Check face to avoid face alias loops.
7030 (read-color): Use `string-match-p' and non-capturing parenthesis.
7031
7032 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7033
7034 * net/shr.el (shr-rescale-image): Use the new
7035 :max-width/:max-height functionality.
7036
7037 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7038
7039 * net/eww.el (eww-search-prefix): New variable.
7040 (eww): Use it.
7041 (eww-external-browser): New variable.
7042 (eww-mode-map): New keystroke.
7043 (eww-browse-with-external-browser): New command.
7044
7045 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7046
7047 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7048
7049 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7050 Don't skip aligning the next header field when padding is 0;
7051 otherwise, field width is not respected unless the title is as
7052 wide as the field.
7053
7054 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * emacs-lisp/package.el (package-el-version): Remove.
7057 (package-process-define-package): Fix inf-loop.
7058 (package-install): Allow symbols as arguments again.
7059
7060 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7061
7062 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7063 add some more keyword-like methods.
7064 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7065
7066 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7067
7068 * bs.el (bs-buffer-show-mark): Make defvar-local.
7069 (bs-mode): Use setq-local.
7070
7071 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7072 (emacs-lock--try-unlocking): Make defvar-local.
7073
7074 2013-06-22 Glenn Morris <rgm@gnu.org>
7075
7076 * play/cookie1.el (cookie-apropos): Minor simplification.
7077
7078 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7079
7080 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7081
7082 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7083 `regexp-opt', it breaks the build during dumping.
7084
7085 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7086
7087 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7088 Highlight keyword-like methods on Kernel and Module with
7089 font-lock-builtin-face.
7090 (auto-mode-alist): Consolidate different entries into one regexp
7091 and add more *file-s.
7092
7093 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7094
7095 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7096
7097 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7098 (diary-entry): Use it in the action of this button type instead of
7099 diary-goto-entry.
7100
7101 * calendar/todo-mode.el: New version.
7102 (todo-add-category): Append new category to end of file and give
7103 it the highest number, instead of putting it at the beginning and
7104 giving it 0. Incorporate noninteractive functionality.
7105 (todo-forward-category): Adapt to 1-based category numbering.
7106 Allow skipping over archived categories.
7107 (todo-backward-category): Derive from todo-forward-category.
7108 (todo-backward-item, todo-forward-item): Make noninteractive and
7109 delegate interactive part to new commands. Make sensitive to done items.
7110 (todo-categories): Make value an alist of category names and
7111 vectors of item counts.
7112 (todo-category-beg): Make a defconst.
7113 (todo-category-number): Use 1 instead of 0 as initial value.
7114 (todo-category-select): Make sensitive to overlays, optional item
7115 highlighting and done items.
7116 (todo-delete-item): Make sensitive to overlays and marked and done items.
7117 (todo-edit-item): Make sensitive to overlays and editing of
7118 date/time header optional. Add format checks.
7119 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7120 no-op if point is not on an item. Advertise using todo-edit-quit.
7121 (todo-edit-mode): Make sensitive to new format, font-locking, and
7122 multiple todo files.
7123 (todo-insert-item, todo-insert-item-here): Derive from
7124 todo-basic-insert-item and extend functionality.
7125 (todo-item-end, todo-item-start): Make sensitive to done items.
7126 (todo-item-string): Don't return text properties. Restore point.
7127 (todo-jump-to-category): Make sensitive to multiple todo files and
7128 todo archives. Use extended category completion.
7129 (todo-lower-item, todo-raise-item): Rename to *-priority and
7130 derive from todo-set-item-priority.
7131 (todo-mode): Derive from special-mode. Make sensitive to new
7132 format, font-locking and multiple todo files. Make read-only.
7133 (todo-mode-map): Don't suppress digit keys, so they can supply
7134 prefix arguments. Add many new key bindings.
7135 (todo-prefix): Insert as an overlay instead of file text.
7136 Change semantics from diary date expression to purely visual mark.
7137 (todo-print): Rename to todo-print-buffer. Make buffer display
7138 features printable. Remove option to restrict number of items
7139 printed. Add option to print to file.
7140 (todo-print-function): Rename to todo-print-buffer-function.
7141 (todo-quit): Extend to handle exiting new todo modes.
7142 (todo-remove-item): Make sensitive to overlays.
7143 (todo-save): Extend to buffers of filtered items.
7144 (todo-show): Make sensitive to done items, multiple todo files and
7145 new todo modes. Offer to convert legacy todo file before creating
7146 first new todo file.
7147 (todo-show-priorities): Rename to todo-top-priorities.
7148 Change semantics of value 0.
7149 (todo-top-priorities): Rename to todo-filter-top-priorities,
7150 derive from todo-filter-items and extend functionality.
7151 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7152 and extend functionality to other types of filtered items.
7153 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7154 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7155 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7156 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7157 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7158 (todo-edit-mode-hook, todo-entry-prefix-function)
7159 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7160 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7161 (todo-initials, todo-insert-threshold, todo-item-string-start)
7162 (todo-line-string, todo-menu, todo-mode-hook)
7163 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7164 (todo-print-priorities, todo-remove-separator)
7165 (todo-save-top-priorities-too, todo-string-count-lines)
7166 (todo-string-multiline-p, todo-time-string-format)
7167 (todo-tmp-buffer-name): Remove.
7168 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7169 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7170 (todo-edit-category-diary-inclusion)
7171 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7172 (todo-edit-file, todo-edit-item-date-day)
7173 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7174 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7175 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7176 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7177 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7178 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7179 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7180 (todo-filter-top-priorities-multifile, todo-find-archive)
7181 (todo-find-filtered-items-file, todo-go-to-source-item)
7182 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7183 (todo-jump-to-archive-category, todo-lower-category)
7184 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7185 (todo-move-category, todo-move-item, todo-next-button)
7186 (todo-next-item, todo-padded-string, todo-powerset)
7187 (todo-previous-button, todo-previous-item)
7188 (todo-print-buffer-to-file, todo-raise-category)
7189 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7190 (todo-set-category-number, todo-set-item-priority)
7191 (todo-set-top-priorities-in-category)
7192 (todo-set-top-priorities-in-file, todo-show-categories-table)
7193 (todo-sort-categories-alphabetically-or-numerically)
7194 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7195 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7196 (todo-toggle-item-header, todo-toggle-item-highlighting)
7197 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7198 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7199 (todo-unarchive-items, todo-unmark-category): New commands.
7200 (todo-absolute-file-name, todo-add-to-buffer-list)
7201 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7202 (todo-basic-insert-item, todo-category-completions)
7203 (todo-category-number, todo-category-string-matcher-1)
7204 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7205 (todo-check-format, todo-clear-matches)
7206 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7207 (todo-current-category, todo-date-string-matcher)
7208 (todo-define-insertion-command, todo-diary-expired-matcher)
7209 (todo-diary-goto-entry, todo-diary-item-p)
7210 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7211 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7212 (todo-done-item-section-p, todo-done-separator)
7213 (todo-done-string-matcher, todo-files, todo-filter-items)
7214 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7215 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7216 (todo-insert-category-line, todo-insert-item-from-calendar)
7217 (todo-insert-sort-button, todo-insert-with-overlays)
7218 (todo-insertion-command-name, todo-insertion-key-bindings)
7219 (todo-label-to-key, todo-longest-category-name-length)
7220 (todo-make-categories-list, todo-mode-external-set)
7221 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7222 (todo-modes-set-3, todo-multiple-filter-files)
7223 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7224 (todo-read-category, todo-read-date, todo-read-dayname)
7225 (todo-read-file-name, todo-read-time)
7226 (todo-reevaluate-category-completions-files-defcustom)
7227 (todo-reevaluate-default-file-defcustom)
7228 (todo-reevaluate-filelist-defcustoms)
7229 (todo-reevaluate-filter-files-defcustom)
7230 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7231 (todo-reset-done-separator, todo-reset-done-separator-string)
7232 (todo-reset-done-string, todo-reset-global-current-todo-file)
7233 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7234 (todo-reset-prefix, todo-set-categories)
7235 (todo-set-date-from-calendar, todo-set-show-current-file)
7236 (todo-set-top-priorities, todo-short-file-name)
7237 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7238 (todo-total-item-counts, todo-update-buffer-list)
7239 (todo-update-categories-display, todo-update-categories-sexp)
7240 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7241 New functions.
7242 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7243 New major modes.
7244 (todo-categories, todo-display, todo-edit, todo-faces)
7245 (todo-filtered): New defgroups.
7246 (todo-archived-only, todo-button, todo-category-string, todo-date)
7247 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7248 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7249 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7250 (todo-add-item-if-new-category, todo-always-add-time-string)
7251 (todo-categories-align, todo-categories-archived-label)
7252 (todo-categories-category-label, todo-categories-diary-label)
7253 (todo-categories-done-label, todo-categories-number-separator)
7254 (todo-categories-todo-label, todo-categories-totals-label)
7255 (todo-category-completions-files, todo-completion-ignore-case)
7256 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7257 (todo-done-separator-string, todo-done-string)
7258 (todo-files-function, todo-filter-done-items, todo-filter-files)
7259 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7260 (todo-initial-category, todo-initial-file, todo-item-mark)
7261 (todo-legacy-date-time-regexp, todo-mode-line-function)
7262 (todo-nondiary-marker, todo-number-prefix)
7263 (todo-print-buffer-function, todo-show-current-file)
7264 (todo-show-done-only, todo-show-first, todo-show-with-done)
7265 (todo-skip-archived-categories, todo-top-priorities-overrides)
7266 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7267 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7268 New defcustoms.
7269 (todo-category-done, todo-date-pattern, todo-date-string-start)
7270 (todo-diary-items-buffer, todo-done-string-start)
7271 (todo-filtered-items-buffer, todo-item-start)
7272 (todo-month-abbrev-array, todo-month-name-array)
7273 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7274 (todo-top-priorities-buffer): New defconsts.
7275 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7276 (todo-categories-with-marks, todo-category-string-face)
7277 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7278 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7279 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7280 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7281 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7282 (todo-font-lock-keywords, todo-global-current-todo-file)
7283 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7284 (todo-insertion-commands-args)
7285 (todo-insertion-commands-args-genlist)
7286 (todo-insertion-commands-names, todo-insertion-map)
7287 (todo-key-bindings-t, todo-key-bindings-t+a)
7288 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7289 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7290 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7291 (todo-visited): New variables.
7292
7293 2013-06-21 Glenn Morris <rgm@gnu.org>
7294
7295 * play/cookie1.el (cookie-apropos): Add optional display argument.
7296 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7297 (psychoanalyze-pinhead): Use cookie-doctor.
7298
7299 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7300
7301 * emacs-lisp/package.el (tar-get-file-descriptor)
7302 (tar--extract): Declare.
7303
7304 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7305
7306 Extend flymake's warning predicate to be a function (bug#14217).
7307 * progmodes/flymake.el (flymake-warning-predicate): New.
7308 (flymake-parse-line): Use it.
7309 (flymake-warning-re): Make obsolete alias to
7310 `flymake-warning-predicate'.
7311
7312 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7313
7314 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7315 (package-obsolete-list): Remove.
7316 (package-activate): Remove min-version argument. Add `force' argument.
7317 Adjust to new package-alist format.
7318 (package-mark-obsolete): Remove.
7319 (package-unpack): Force reload of the package's autoloads.
7320 (package-installed-p): Check builtins if the installed package is not
7321 recent enough.
7322 (package-initialize): Don't reset package-obsolete-list.
7323 Don't specify which package version to activate.
7324 (package-process-define-package, describe-package-1)
7325 (package-menu--generate): Adjust to new package-alist format.
7326
7327 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7328
7329 * allout-widgets.el (allout-widgets-mode-off)
7330 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7331 (allout-widgets-post-command-business)
7332 (allout-widgets-after-copy-or-kill-function)
7333 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7334 (allout-decorate-item-and-context)
7335 (allout-graphics-modification-handler): Fix typos in docstrings.
7336 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7337
7338 * cmuscheme.el (scheme-start-file): Doc fix.
7339 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7340 (scheme-input-filter): Use `string-match-p'.
7341
7342 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7343
7344 * dired-x.el: Use Dired consistently in docstrings.
7345
7346 * dired.el: Use Dired consistently in docstrings.
7347 (dired-readin, dired-mode): Use `setq-local'.
7348 (dired-switches-alist): Make defvar-local.
7349 (dired-buffers-for-dir): Use `zerop'.
7350 (dired-safe-switches-p, dired-switches-escape-p)
7351 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7352 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7353 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7354 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7355 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7356 (dired-toggle-marks, dired-mark-files-containing-regexp)
7357 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7358 (dired-flag-auto-save-files, dired-flag-backup-files):
7359 Use `looking-at-p'.
7360 (dired-mark-files-regexp, dired-build-subdir-alist):
7361 Use `string-match-p', `looking-at-p'.
7362
7363 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7364 (direct-print-region-helper): Use `string-match-p'.
7365
7366 2013-06-21 Leo Liu <sdl.web@gmail.com>
7367
7368 * comint.el (comint-redirect-results-list-from-process):
7369 Fix infinite loop.
7370
7371 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7372
7373 * net/eww.el (eww-update-header-line-format): Quote % characters.
7374
7375 2013-06-21 Glenn Morris <rgm@gnu.org>
7376
7377 * play/cookie1.el (cookie): New custom group.
7378 (cookie-file): New option.
7379 (cookie-check-file): New function.
7380 (cookie): Make it interactive. Make start and end messages optional.
7381 Interactively, display the result. Default to cookie-file.
7382 (cookie-insert): Default to cookie-file.
7383 (cookie-snarf): Make start and end messages optional.
7384 Default to cookie-file. Use with-temp-buffer.
7385 (cookie-read): Rename from read-cookie.
7386 Make start and end messages optional. Default to cookie-file.
7387 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7388 Do not autoload it.
7389 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7390 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7391
7392 2013-06-21 Leo Liu <sdl.web@gmail.com>
7393
7394 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7395
7396 2013-06-21 Glenn Morris <rgm@gnu.org>
7397
7398 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7399
7400 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7401 Daniel Hackney <dan@haxney.org>
7402
7403 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7404 Consolidate the single-file vs tarball code.
7405 (package-desc-suffix): New function.
7406 (package-desc-full-name): Don't bother inlining it.
7407 (package-load-descriptor): Return the new package-desc.
7408 (package-mark-obsolete): Remove unused arg `package'.
7409 (package-unpack): Make it work for single files as well.
7410 Make it update package-alist.
7411 (package--make-autoloads-and-stuff): Rename from
7412 package--make-autoloads-and-compile. Don't compile any more.
7413 (package--compile): New function.
7414 (package-generate-description-file): New function, extracted from
7415 package-unpack-single.
7416 (package-unpack-single): Remove.
7417 (package--with-work-buffer): Add indentation and debugging info.
7418 (package-download-single): Remove.
7419 (package-install-from-archive): Rename from package-download-tar, make
7420 it take a pkg-desc, and make it work for single files as well.
7421 (package-download-transaction): Simplify.
7422 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7423 external tar program.
7424 (package-install-from-buffer): Remove `pkg-desc' argument.
7425 Use package-tar-file-info for tar-mode buffers.
7426 (package-install-file): Simplify accordingly.
7427 (package-archive-base): Change to take a pkg-desc.
7428 * tar-mode.el (tar--check-descriptor): New function, extracted from
7429 tar-get-descriptor.
7430 (tar-get-descriptor): Use it.
7431 (tar-get-file-descriptor): New function.
7432 (tar--extract): New function, extracted from tar-extract.
7433 (tar--extract): Use it.
7434 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7435 case the summary uses non-ascii. Adjust to new calling convention of
7436 package-tar-file-info.
7437
7438 2013-06-21 Leo Liu <sdl.web@gmail.com>
7439
7440 * comint.el (comint-redirect-results-list-from-process):
7441 Fix random delay. (Bug#14681)
7442
7443 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7444
7445 * profiler.el (profiler-format-number): Use log, not log10.
7446
7447 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7448
7449 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7450
7451 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7454 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7455 yet available.
7456 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7457 (AUTOGENEL): ... here.
7458 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7459 (cl--defsubst-expand): Use it.
7460
7461 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7462
7463 * subr.el (log10): Move here from C code, and declare as obsolete.
7464 All uses of (log10 X) replaced with (log X 10).
7465
7466 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7467
7468 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7469 Declare with `defvar-local'.
7470 (tabulated-list-use-header-line, tabulated-list-entries)
7471 (tabulated-list-padding, tabulated-list-printer)
7472 (tabulated-list-sort-key): Declare with `defvar-local'.
7473 (tabulated-list-init-header, tabulated-list-print-fake-header):
7474 Use `setq-local'.
7475
7476 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7477
7478 * arc-mode.el (archive-mode): Add `archive-write-file' to
7479 `write-contents-functions' also for remote files. (Bug#14652)
7480
7481 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7482
7483 * cus-edit.el (custom-commands): Fix typos.
7484 (custom-display): Fix tooltip text.
7485 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7486 Fix typos in docstrings.
7487 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7488 (custom-unlispify-menu-entry, custom-magic-value-create)
7489 (custom-add-see-also, custom-group-value-create): Use ?\s.
7490 (custom-guess-type, customize-apropos, editable-field)
7491 (custom-face-value-create): Use `string-match-p'.
7492 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7493
7494 * custom.el (custom-load-symbol): Use `string-match-p'.
7495
7496 * ansi-color.el: Convert to lexical binding.
7497 (ansi-colors): Fix URL.
7498 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7499 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7500 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7501
7502 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7503
7504 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7505
7506 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7507
7508 2013-06-19 Tom Tromey <tromey@redhat.com>
7509
7510 * net/eww.el (eww-top-url): Remove.
7511 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7512 (eww-render): Set new variables. Don't set eww-top-url.
7513 (eww-handle-link): Handle "prev", "home", and "contents".
7514 Downcase the rel text.
7515 (eww-top-url): Choose best top URL.
7516
7517 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7518
7519 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7520 relying in widget.el. Using widget.el leads to too many
7521 user interface inconsistencies.
7522 (eww-self-insert): Implement entering commands in text fields.
7523 (eww-process-text-input): New function to make text input field editing
7524 work.
7525 (eww-submit): Rewrite to use the new-style form methods.
7526 (eww-select-display): Display the correct selected item.
7527 (eww-change-select): Implement changing the select value.
7528 (eww-toggle-checkbox): Implement radio/checkboxes.
7529 (eww-update-field): Fix compilation error.
7530 (eww-tag-textarea): Implement <textarea>.
7531
7532 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7533 we don't shadow mode-specific bindings.
7534
7535 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7536 nothing to push.
7537
7538 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7539
7540 2013-06-19 Glenn Morris <rgm@gnu.org>
7541
7542 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7543
7544 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7545
7546 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7547 not needed.
7548
7549 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7550
7551 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7552
7553 * net/browse-url.el (browse-url-browser-function):
7554 `eww-browse-url' has the right calling signature, `eww' does not.
7555
7556 2013-06-19 Glenn Morris <rgm@gnu.org>
7557
7558 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7559 Only eval autoloaded macros.
7560 (byte-compile-autoload): Only give the macro warning for macros.
7561
7562 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7563 (ps-underlined-faces): Declare.
7564
7565 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7566 (speedbar-add-supported-extension): Declare.
7567
7568 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7569 Don't include a date stamp in the header of the generated file;
7570 it leads to needless differences between output files.
7571
7572 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7573
7574 * net/secrets.el (secrets-struct-secret-content-type):
7575 Replace check of introspection data by a test call of "CreateItem".
7576 Some servers do not offer introspection.
7577
7578 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * electric.el (electric-pair-mode): Improve interaction with
7581 electric-layout-mode.
7582 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7583 (electric-pair-syntax): Use text-mode-syntax-table in comments
7584 and strings.
7585 (electric-pair--insert): New function.
7586 (electric-pair-post-self-insert-function): Use it and
7587 electric--after-char-pos.
7588
7589 2013-06-19 Leo Liu <sdl.web@gmail.com>
7590
7591 * progmodes/octave.el (octave-help): Fix regexp.
7592
7593 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7594
7595 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7596 (shr-table-horizontal-line): Allow nil as a value, and change the
7597 default.
7598 (shr-insert-table-ruler): Respect the nil value.
7599
7600 2013-06-18 Tom Tromey <tromey@barimba>
7601
7602 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7603 New defvars.
7604 (eww-open-file): New defun.
7605 (eww-render): Initialize new variables.
7606 (eww-display-html): Handle "link" and "a".
7607 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7608 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7609 (eww-back-url): Rename from eww-previous-url.
7610 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7611 New defuns.
7612
7613 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7614
7615 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7616 Distinguish ternary operator tokens from slash symbol and slash
7617 char literal.
7618
7619 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7620
7621 Convert symbol prettification into minor mode and global minor mode.
7622
7623 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7624 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7625 (prettify-symbols--keywords): Rename from
7626 `prog-prettify-symbols-alist' and make a local defvar.
7627 (prettify-symbols--compose-symbol): Rename from
7628 `prog--prettify-font-lock-compose-symbol'.
7629 (prettify-symbols--make-keywords): Rename from
7630 `prog-prettify-font-lock-symbols-keywords' and simplify.
7631 (prog-prettify-install): Remove.
7632 (prettify-symbols-mode): New minor mode, based on
7633 `prog-prettify-install'.
7634 (turn-on-prettify-symbols-mode): New function.
7635 (global-prettify-symbols-mode): New globalized minor mode.
7636
7637 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7638 * progmodes/cfengine.el (cfengine3-mode):
7639 * progmodes/perl-mode.el (perl-mode): Don't call
7640 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7641
7642 2013-06-18 Juri Linkov <juri@jurta.org>
7643
7644 * files-x.el (modify-file-local-variable-message): New function.
7645 (modify-file-local-variable)
7646 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7647 and call `modify-file-local-variable-message' when it's non-nil.
7648 (add-file-local-variable, delete-file-local-variable)
7649 (add-file-local-variable-prop-line)
7650 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7651 and use it. (Bug#9820)
7652
7653 2013-06-18 Juri Linkov <juri@jurta.org>
7654
7655 * emulation/vi.el (vi-shell-op):
7656 * emulation/vip.el (vip-execute-com, ex-command):
7657 * emulation/viper-cmd.el (viper-exec-bang):
7658 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7659 the call of `shell-command-on-region'. (Bug#14637)
7660
7661 * simple.el (shell-command-on-region): Doc fix.
7662
7663 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7666 (bug#14633).
7667
7668 2013-06-18 Glenn Morris <rgm@gnu.org>
7669
7670 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7671
7672 * newcomment.el (comment-search-forward, comment-search-backward):
7673 Doc fix. (Bug#14376)
7674
7675 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7676
7677 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7678 (buffer-face-mode-invoke): Doc fix.
7679
7680 2013-06-18 Matthias Meulien <orontee@gmail.com>
7681
7682 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7683 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7684
7685 2013-06-18 Glenn Morris <rgm@gnu.org>
7686
7687 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7688 Replace obsolete function generic-make-keywords with its expansion.
7689
7690 * progmodes/python.el (ffap-alist): Declare.
7691
7692 * textmodes/reftex.el (bibtex-mode-map): Declare.
7693
7694 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7697 (package-unpack, package-unpack-single): Return the pkg-dir.
7698 (package-download-transaction): Use it to update package-alist.
7699
7700 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7701
7702 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7703 possible choice.
7704
7705 2013-06-17 Juri Linkov <juri@jurta.org>
7706
7707 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7708
7709 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7710
7711 * emacs-lisp/package.el (package-load-descriptor):
7712 Remove `with-syntax-table' call, `read' doesn't need it.
7713 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7714
7715 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7716
7717 * startup.el (command-line): Expand package name returned by
7718 `package--description-file' (bug#14639).
7719
7720 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7721
7722 * emacs-lisp/package.el (package-load-descriptor): Do not call
7723 `emacs-lisp-mode', just use its syntax table.
7724
7725 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7726
7727 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7728 `font-lock-extra-managed-props' if any prettifying keyword is added.
7729 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7730 (prog-mode): Use `setq-local'.
7731
7732 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * international/characters.el (standard-case-table): Set syntax of ?»
7735 and ?« to punctuation.
7736
7737 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7738
7739 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7740 Save relevant match data before calling `syntax-ppss' (bug#14595).
7741
7742 2013-06-15 Juri Linkov <juri@jurta.org>
7743
7744 * files-x.el (modify-file-local-variable-prop-line): Add local
7745 variables to the end of the existing comment on the first line.
7746 Use `file-auto-mode-skip' to skip interpreter magic line,
7747 and also skip XML declaration.
7748
7749 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * startup.el (package--builtin-versions): New var.
7752 (package-subdirectory-regexp): Remove.
7753 (package--description-file): Hard code its value instead.
7754
7755 * emacs-lisp/package.el: Don't activate packages older than builtin.
7756 (package-obsolete-list): Rename from package-obsolete-alist, and make
7757 it into a simple list of package-desc.
7758 (package-strip-version): Remove.
7759 (package-built-in-p): Use package--builtin-versions.
7760 (package-mark-obsolete): Simplify.
7761 (package-process-define-package): Mark it obsolete if older than the
7762 builtin version.
7763 (package-handle-response): Use line-end-position.
7764 (package-read-archive-contents, package--download-one-archive):
7765 Simplify.
7766 (package--add-to-archive-contents): Skip if older than the builtin or
7767 installed version.
7768 (package-menu-describe-package): Fix last change.
7769 (package-list-unversioned): New var.
7770 (package-menu--generate): Use it.
7771
7772 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7773 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7774 (autoload-builtin-package-versions): New variable.
7775 (autoload-generate-file-autoloads): Use them.
7776 Remove the list of autoloaded functions/macros from the
7777 (autoload...) comments.
7778
7779 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7780
7781 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7782
7783 * simple.el (line-move-partial): Don't jump to the next screen
7784 line as soon as it becomes visible. Instead, continue enlarging
7785 the vscroll until the portion of a tall screen line that's left on
7786 display is about the height of the frame's default font.
7787 (Bug#14567)
7788
7789 2013-06-15 Glenn Morris <rgm@gnu.org>
7790
7791 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7792 compilation-error-regexp-alist void, or local while let-bound.
7793
7794 * progmodes/make-mode.el (makefile-mode-syntax-table):
7795 Treat "=" as punctuation. (Bug#14614)
7796
7797 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7798
7799 * help-fns.el (describe-variable):
7800 Add extra line for permanent-local variables.
7801
7802 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7803
7804 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7805 Add export, import, library. (Bug#9164)
7806 (library): Set indent function.
7807
7808 2013-06-14 Glenn Morris <rgm@gnu.org>
7809
7810 * term/xterm.el (xterm--query):
7811 Stop after first matching handler. (Bug#14615)
7812
7813 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7814
7815 Add support for dired in saveplace.
7816 * dired.el (dired-initial-position-hook): New variable.
7817 (dired-initial-position): Call hook to place cursor position.
7818 * saveplace.el (save-place-to-alist): Add dired position.
7819 (save-place-dired-hook): New function.
7820
7821 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7822
7823 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7824 through a symbol rather than letrec.
7825
7826 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7827 (package-desc): Add `dir' field.
7828 (package-desc-full-name): New function.
7829 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7830 (package-maybe-load-descriptor): Remove.
7831 (package-load-all-descriptors): Just call package-load-descriptor.
7832 (package--disabled-p): New function.
7833 (package-desc-vers, package-desc-doc): Remove aliases.
7834 (package--dir): Remove function.
7835 (package-activate): Check if a package is disabled.
7836 (package-process-define-package): New function, extracted from
7837 define-package.
7838 (define-package): Turn into a place holder.
7839 (package-unpack-single, package-tar-file-info):
7840 Use package--description-file.
7841 (package-compute-transaction): Use package--disabled-p.
7842 (package-download-transaction): Don't call
7843 package-maybe-load-descriptor since they're all loaded anyway.
7844 (package-install): Change argument to be a pkg-desc.
7845 (package-delete): Use a single pkg-desc argument.
7846 (describe-package-1): Use package-desc-dir instead of package--dir.
7847 Use package-desc property instead of package-symbol.
7848 (package-install-button-action): Adjust accordingly.
7849 (package--push): Rewrite.
7850 (package-menu--print-info): Adjust accordingly. Change the ID format
7851 to be a pkg-desc.
7852 (package-menu-describe-package, package-menu-get-status)
7853 (package-menu--find-upgrades, package-menu-mark-upgrades)
7854 (package-menu-execute, package-menu--name-predicate):
7855 Adjust accordingly.
7856 * startup.el (package--description-file): New function.
7857 (command-line): Use it.
7858 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7859 Use package-desc-version.
7860
7861 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7862 (byte-compile-preprocess): Use it.
7863 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7864 can't quite recognize.
7865 (byte-compile-add-to-list): Remove.
7866 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7867 (cconv-closure-convert): Add assertion.
7868
7869 * emacs-lisp/map-ynp.el: Use lexical-binding.
7870 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7871 Factor out some repeated code.
7872
7873 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7874
7875 * subr.el (with-eval-after-load): New macro.
7876 (eval-after-load): Allow form to be a function.
7877 take advantage of lexical-binding.
7878 (do-after-load-evaluation): Use dolist and adjust to new format.
7879 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7880
7881 2013-06-13 Juri Linkov <juri@jurta.org>
7882
7883 * replace.el (perform-replace): Display "symbol " and other search
7884 modes from `isearch-message-prefix' in the *Help* buffer.
7885
7886 * isearch.el (isearch-query-replace): Add " symbol" and other
7887 possible search modes from `isearch-message-prefix' to the prompt.
7888 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7889 when reading a regexp to collect.
7890
7891 2013-06-13 Juri Linkov <juri@jurta.org>
7892
7893 * isearch.el (word-search-regexp): Match whitespace if the search
7894 string begins or ends in whitespace. The LAX arg is applied to
7895 both ends of the search string. Use `regexp-quote' and explicit
7896 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7897 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7898 boundaries are replaced with symbol boundaries, and characters
7899 between symbols match non-word non-symbol syntax. (Bug#14602)
7900
7901 2013-06-13 Juri Linkov <juri@jurta.org>
7902
7903 * isearch.el (isearch-del-char): Don't exceed the length of
7904 `isearch-string' by the prefix arg. (Bug#14563)
7905
7906 2013-06-13 Juri Linkov <juri@jurta.org>
7907
7908 * isearch.el (isearch-yank-word, isearch-yank-line)
7909 (isearch-char-by-name, isearch-quote-char)
7910 (isearch-printing-char, isearch-process-search-char):
7911 Add optional count prefix arg. (Bug#14563)
7912
7913 * international/isearch-x.el
7914 (isearch-process-search-multibyte-characters):
7915 Add optional count prefix arg.
7916
7917 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7920 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7921 lexical-binding.
7922
7923 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7924
7925 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7926
7927 2013-06-13 Glenn Morris <rgm@gnu.org>
7928
7929 * startup.el (tty-handle-args):
7930 Don't just discard "--" and anything after. (Bug#14608)
7931
7932 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7933
7934 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7935
7936 Implement changes in Secret Service API. Make it backward compatible.
7937 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7938 (secrets-create-item): Use it. Prefix properties with interface.
7939
7940 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7941
7942 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7943 (term-emulate-terminal): Respect term-suppress-hard-newline.
7944
7945 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7946
7947 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7948 Only remove a `thumb-file' overlay. (Bug#14548)
7949
7950 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7951
7952 * mail/reporter.el (reporter-submit-bug-report):
7953 Handle missing package-name. (Bug#14600)
7954
7955 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7956
7957 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7958 (reftex-citation-prompt, reftex-default-bibliography)
7959 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7960 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7961 (reftex-bib-sort-author, reftex-bib-sort-year)
7962 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7963 (reftex-extract-bib-entries-from-thebibliography)
7964 (reftex-get-bibkey-default, reftex-get-bib-names)
7965 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7966 (reftex-format-bib-entry, reftex-parse-bibitem)
7967 (reftex-format-bibitem, reftex-do-citation)
7968 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7969 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7970 (reftex-insert-bib-matches, reftex-format-citation)
7971 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7972 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7973 existing comments into docstrings.
7974
7975 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7976
7977 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7978
7979 2013-06-12 Andreas Schwab <schwab@suse.de>
7980
7981 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7982 for auto-save files.
7983
7984 2013-06-12 Glenn Morris <rgm@gnu.org>
7985
7986 * ido.el (ido-delete-ignored-files): Remove.
7987 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7988 Go back to calling ido-ignore-item-p directly.
7989
7990 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7991
7992 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7993
7994 * ido.el (ido-delete-ignored-files): New function,
7995 split from ido-make-file-list-1.
7996 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7997 (ido-make-file-list-1): Use ido-delete-ignored-files.
7998
7999 2013-06-12 Leo Liu <sdl.web@gmail.com>
8000
8001 * progmodes/octave.el (inferior-octave-startup)
8002 (inferior-octave-completion-table)
8003 (inferior-octave-track-window-width-change)
8004 (octave-eldoc-function-signatures, octave-help)
8005 (octave-find-definition): Use single quoted strings.
8006 (inferior-octave-startup-args): Change default value.
8007 (inferior-octave-startup): Do not hard code "-i" and
8008 "--no-line-editing".
8009 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8010 (inferior-octave-directory-tracker): Use it.
8011 (octave-goto-function-definition): Robustify.
8012 (octave-help): Support highlighting operators in 'See also'.
8013 (octave-find-definition): Find subfunctions only in Octave mode.
8014
8015 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * help-fns.el (help-fns--compiler-macro): If the handler function is
8018 named, then put a link to it.
8019 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8020 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8021 (cl-typep): Use it.
8022 (cl-eval-when): Simplify debug spec.
8023 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8024 compiler-macro function instead of setting `compiler-macro-file'.
8025
8026 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8027
8028 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8029 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8030
8031 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8032 Daniel Hackney <dan@haxney.org>
8033
8034 First part of Daniel Hackney's patch to package.el.
8035 * emacs-lisp/package.el: Use defstruct.
8036 (package-desc): New, main struct.
8037 (package--bi-desc, package--ac-desc): New structs, used to describe the
8038 format in external files.
8039 (package-desc-vers): Replace with package-desc-version accessor.
8040 (package-desc-doc): Replace with package-desc-summary accessor.
8041 (package-activate-1): Remove `package' arg since the pkg-vec now
8042 includes the name.
8043 (define-package): Use package-desc-from-define.
8044 (package-unpack-single): Change file-name arg to be a symbol.
8045 (package--add-to-archive-contents): Use package-desc-create and new
8046 accessor functions to package--ac-desc.
8047 (package-buffer-info, package-tar-file-info): Return a package-desc.
8048 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8049 arg to be a package-desc.
8050 (package-install-file): Adjust accordingly. Use \' to match EOS.
8051 (package--from-builtin): New function.
8052 (describe-package-1, package-menu--generate): Use it.
8053 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8054 (package-generate-autoloads): Idem and return the name of the file.
8055 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8056 Change pkg-info arg to be a package-desc.
8057 Use package-make-ac-desc.
8058 (package-upload-file): Use \' to match EOS.
8059 * finder.el (finder-compile-keywords): Use package-make-builtin.
8060
8061 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8062
8063 * vc/vc.el (vc-deduce-fileset): Change error message.
8064 (vc-read-backend): New function.
8065 (vc-next-action): Use it.
8066
8067 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8068
8069 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8070 (prolog-font-lock-keywords): Use regexp-opt instead.
8071 Don't manually highlight strings.
8072 (prolog-mode-variables): Simplify comment-start-skip.
8073 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8074
8075 * emacs-lisp/generic.el (generic--normalise-comments)
8076 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8077 (generic-mode-set-comments): Use them.
8078 (generic-bracket-support): Use setq-local.
8079 (generic-make-keywords-list): Declare obsolete.
8080
8081 2013-06-11 Glenn Morris <rgm@gnu.org>
8082
8083 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8084 Prettify after setting font-lock-defaults. (Bug#14574)
8085
8086 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * replace.el (query-replace, occur-read-regexp-defaults-function)
8089 (replace-search):
8090 * subr.el (declare-function, number-sequence, local-set-key)
8091 (substitute-key-definition, locate-user-emacs-file)
8092 (with-silent-modifications, split-string, eval-after-load):
8093 Fix typos, remove unneeded backslashes and reflow some docstrings.
8094
8095 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8098 default for Elisp files.
8099
8100 2013-06-11 Glenn Morris <rgm@gnu.org>
8101
8102 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8103 although define-derived-mode was doing this anyway. (Bug#14583)
8104
8105 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8106
8107 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8108 Fix make-variable-buffer-local call to refer to the correct variable.
8109
8110 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8111
8112 * eshell/em-term.el (eshell-visual-commands)
8113 (eshell-visual-subcommands, eshell-visual-options):
8114 Add summary line to docstrings. Add cross-references.
8115
8116 2013-06-10 Glenn Morris <rgm@gnu.org>
8117
8118 * epa.el (epa-read-file-name): New function. (Bug#14510)
8119 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8120
8121 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8122
8123 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8124 output redirection to be ignored with visual commands.
8125
8126 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8127
8128 * eshell/em-term.el (eshell-visual-command-p): New function.
8129 (eshell-term-initialize): Move long lambda to separate function
8130 eshell-visual-command-p.
8131 * eshell/em-dirs.el (eshell-dirs-initialise):
8132 * eshell/em-script.el (eshell-script-initialize):
8133 Add missing #' to lambda.
8134
8135 2013-06-08 Leo Liu <sdl.web@gmail.com>
8136
8137 * progmodes/octave.el (octave-add-log-current-defun): New function.
8138 (octave-mode): Set add-log-current-defun-function.
8139 (octave-goto-function-definition): Do not move point if not found.
8140 (octave-find-definition): Enhance to try subfunctions first.
8141
8142 2013-06-08 Glenn Morris <rgm@gnu.org>
8143
8144 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8145 (byte-compile-backward-char, byte-compile-backward-word):
8146 Improve previous change, to handle non-explicit nil.
8147
8148 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8149
8150 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8151 (smie--opener/closer-at-point): New function.
8152 (smie--matching-block-data): Use it. Don't match from right after an
8153 opener or right before a closer. Obey smie-blink-matching-inners.
8154 Don't signal a mismatch for repeated inners like "switch..case..case".
8155
8156 2013-06-07 Leo Liu <sdl.web@gmail.com>
8157
8158 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8159 to t. (Bug#14303)
8160 (octave-function-header-regexp): Fix. (Bug#14570)
8161 (octave-help-mode-finish-hook, octave-help-mode-finish):
8162 Remove. Just use temp-buffer-show-hook.
8163
8164 * newcomment.el (comment-search-backward): Revert last change.
8165 (Bug#14434)
8166
8167 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8168
8169 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8170
8171 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8172 through xargs, to avoid failure due to MS-Windows limitations on
8173 command-line length.
8174
8175 2013-06-06 Glenn Morris <rgm@gnu.org>
8176
8177 * font-lock.el (lisp-font-lock-keywords-2):
8178 Treat user-error like error.
8179
8180 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8181 (byte-compile-backward-char, byte-compile-backward-word):
8182 Handle explicit nil arguments. (Bug#14565)
8183
8184 2013-06-05 Alan Mackenzie <acm@muc.de>
8185
8186 * isearch.el (isearch-allow-prefix): New user option.
8187 (isearch-other-meta-char): Don't exit isearch when a prefix
8188 argument is typed whilst `isearch-allow-prefix' is non-nil.
8189 (Bug#9706)
8190
8191 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * autorevert.el (auto-revert-notify-handler): Use memq.
8194 Hide assertion failure.
8195
8196 * skeleton.el: Use cl-lib.
8197 (skeleton-further-elements): Use defvar-local.
8198 (skeleton-insert): Use cl-progv.
8199
8200 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8201
8202 * progmodes/prog-mode.el (prog-prettify-symbols)
8203 (prog-prettify-install): Update docstrings.
8204
8205 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * simple.el: Move all the prog-mode code to prog-mode.el.
8208 * progmodes/prog-mode.el: New file.
8209 * loadup.el: Add prog-mode.el.
8210
8211 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8212
8213 * simple.el (prog-prettify-symbols): Add version.
8214 (prog-prettify-install): Add convenience function to prettify symbols.
8215
8216 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8217 (perl--augmented-font-lock-keywords-1)
8218 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8219 variables and use it.
8220
8221 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8222 (cfengine3-mode): Remove unneeded variable and use it.
8223
8224 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8225 (lisp--augmented-font-lock-keywords-1)
8226 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8227 Remove unneeded variables and use it.
8228
8229 2013-06-05 João Távora <joaotavora@gmail.com>
8230
8231 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8232 to point when opening the connection. (Bug#14380)
8233
8234 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * subr.el (load-history-regexp, load-history-filename-element)
8237 (eval-after-load, after-load-functions, do-after-load-evaluation)
8238 (eval-next-after-load, display-delayed-warnings)
8239 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8240 definition of save-match-data.
8241 (overriding-local-map): Remove accidental obsolescence declaration.
8242
8243 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8244
8245 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8246
8247 Generalize symbol prettify support to prog-mode and implement it
8248 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8249 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8250 (prog--prettify-font-lock-compose-symbol)
8251 (prog-prettify-font-lock-symbols-keywords): New variables and
8252 functions to support symbol prettification.
8253 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8254 (lisp--augmented-font-lock-keywords-1)
8255 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8256 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8257 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8258 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8259 Implement prettify of -> => :: strings.
8260 * progmodes/perl-mode.el (perl-prettify-symbols)
8261 (perl--font-lock-compose-symbol)
8262 (perl--font-lock-symbols-keywords): Move to prog-mode.
8263 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8264 (perl-font-lock-keywords-1)
8265 (perl-font-lock-keywords-2): Remove explicit prettify support.
8266 (perl--augmented-font-lock-keywords)
8267 (perl--augmented-font-lock-keywords-1)
8268 (perl--augmented-font-lock-keywords-2, perl-mode):
8269 Implement prettify support.
8270
8271 2013-06-05 Leo Liu <sdl.web@gmail.com>
8272
8273 Re-implement smie matching block highlight using
8274 show-paren-data-function. (Bug#14395)
8275 * emacs-lisp/smie.el (smie-matching-block-highlight)
8276 (smie--highlight-matching-block-overlay)
8277 (smie--highlight-matching-block-lastpos)
8278 (smie-highlight-matching-block)
8279 (smie-highlight-matching-block-mode): Remove.
8280 (smie--matching-block-data-cache): New variable.
8281 (smie--matching-block-data): New function.
8282 (smie-setup): Use smie--matching-block-data for
8283 show-paren-data-function.
8284
8285 * progmodes/octave.el (octave-mode-menu): Fix.
8286 (octave-find-definition): Skip garbage lines.
8287
8288 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 Fix compilation error with simultaneous dynamic+lexical scoping.
8291 Add warning when a defvar appears after the first let-binding.
8292 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8293 (byte-compile-close-variables): Initialize it.
8294 (byte-compile--declare-var): New function.
8295 (byte-compile-file-form-defvar)
8296 (byte-compile-file-form-define-abbrev-table)
8297 (byte-compile-file-form-custom-declare-variable): Use it.
8298 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8299 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8300 (byte-compile-bind): Handle dynamic bindings that shadow
8301 lexical bindings.
8302 (byte-compile-unbind): Make arg non-optional.
8303 (byte-compile-let): Simplify.
8304 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8305 (cconv--analyse-function, cconv-analyse-form): Populate it.
8306 Protect byte-compile-bound-variables to limit the scope of defvars.
8307 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8308 Remove unneeded rule for `declare'.
8309
8310 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8311 so as to avoid depending on cl-adjoin at run-time.
8312 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8313
8314 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8315 (macroexp--warn-and-return): Use it.
8316
8317 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * lisp/subr.el: Convert to lexical binding.
8320 (overriding-local-map): Make obsolete.
8321 (add-to-list): Doc fix. Add compiler macro.
8322 (read-key): Swap values of local maps.
8323
8324 2013-06-05 Leo Liu <sdl.web@gmail.com>
8325
8326 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8327
8328 2013-06-04 Leo Liu <sdl.web@gmail.com>
8329
8330 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8331 (compilation-auto-jump): Suppress the "Mark set" message to give
8332 way to exit message.
8333
8334 2013-06-04 Alan Mackenzie <acm@muc.de>
8335
8336 Remove faulty optimisation from indentation calculation.
8337 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8338 search limit based on 2000 characters back from indent-point.
8339
8340 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8341
8342 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8343
8344 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * emacs-lisp/lisp.el: Use lexical-binding.
8347 (lisp--local-variables-1, lisp--local-variables): New functions.
8348 (lisp--local-variables-completion-table): New var.
8349 (lisp-completion-at-point): Use it complete let-bound vars.
8350
8351 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8352 eagerly (bug#14422).
8353
8354 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8355
8356 * autorevert.el (auto-revert-notify-enabled)
8357 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8358 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8359 (auto-revert-notify-handler): Handle also gfilenotify.
8360
8361 * subr.el (file-notify-handle-event): New defun. Replacing ...
8362 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8363 Remove.
8364
8365 2013-06-03 Juri Linkov <juri@jurta.org>
8366
8367 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8368 `M-s h .'. (Bug#14427)
8369
8370 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8371 command `hi-lock-face-symbol-at-point'.
8372 (hi-lock-face-symbol-at-point): New command.
8373 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8374 (hi-lock-menu): Add `highlight-symbol-at-point'.
8375 (hi-lock-mode): Doc fix.
8376
8377 * isearch.el (isearch-forward-symbol-at-point): New command.
8378 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8379 (isearch-highlight-regexp): Add a regexp which matches
8380 words/symbols for word/symbol mode.
8381
8382 * subr.el (find-tag-default-bounds): New function with the body
8383 mostly moved from `find-tag-default'.
8384 (find-tag-default): Move most code to `find-tag-default-bounds',
8385 call it and apply `buffer-substring-no-properties' afterwards.
8386
8387 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8388
8389 * eshell/em-term.el (eshell-term-initialize):
8390 Use `cl-intersection' rather than `intersection'.
8391
8392 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8393
8394 * vc/log-view.el: Doc fix.
8395 (log-view-mode-map): Copy keymap from `special-mode-map'.
8396
8397 2013-06-02 Eric Ludlam <zappo@gnu.org>
8398
8399 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8400 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8401 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8402 (eieio-unbound, eieio-default-superclass)
8403 (eieio--define-field-accessors, method-static, method-before)
8404 (method-primary, method-after, method-num-lists)
8405 (method-generic-before, method-generic-primary)
8406 (method-generic-after, method-num-slots)
8407 (eieio-specialized-key-to-generic-key)
8408 (eieio--check-type, class-v, class-p)
8409 (eieio-class-name, define-obsolete-function-alias)
8410 (eieio-class-parents-fast, eieio-class-children-fast)
8411 (same-class-fast-p, class-constructor, generic-p)
8412 (generic-primary-only-p, generic-primary-only-one-p)
8413 (class-option-assoc, class-option, eieio-object-p)
8414 (class-abstract-p, class-method-invocation-order)
8415 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8416 (eieio-class-un-autoload, eieio-defclass)
8417 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8418 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8419 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8420 (eieio-defgeneric-reset-generic-form)
8421 (eieio-defgeneric-form-primary-only)
8422 (eieio-defgeneric-reset-generic-form-primary-only)
8423 (eieio-defgeneric-form-primary-only-one)
8424 (eieio-defgeneric-reset-generic-form-primary-only-one)
8425 (eieio-unbind-method-implementations)
8426 (eieio--defmethod, eieio--typep)
8427 (eieio-perform-slot-validation, eieio-validate-slot-value)
8428 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8429 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8430 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8431 (eieio-slot-name-index, eieio-class-slot-name-index)
8432 (eieio-set-defaults, eieio-initarg-to-attribute)
8433 (eieio-attribute-to-initarg, eieio-c3-candidate)
8434 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8435 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8436 (eieio-class-precedence-list, eieio-generic-call-methodname)
8437 (eieio-generic-call-arglst, eieio-generic-call-key)
8438 (eieio-generic-call-next-method-list)
8439 (eieio-pre-method-execution-functions, eieio-generic-call)
8440 (eieio-generic-call-primary-only, eieiomt-method-list)
8441 (eieiomt-optimizing-obarray, eieiomt-install)
8442 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8443 (eieio-generic-form, eieio-defmethod, make-obsolete)
8444 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8445 (defclass): Remove `eval-and-compile' from macro.
8446 (call-next-method, shared-initialize): Instead of using
8447 `scoped-class' variable, use new eieio--scoped-class, and
8448 eieio--with-scoped-class.
8449 (initialize-instance): Rename local variable 'scoped-class' to
8450 'this-class' to remove ambiguitity from old global.
8451
8452 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8453 eieio.el.
8454 (eieio--scoped-class-stack): New variable.
8455 (eieio--scoped-class): New fcn.
8456 (eieio--with-scoped-class): New scoping macro.
8457 (eieio-defclass): Use pushnew instead of add-to-list.
8458 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8459 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8460 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8461 `scoped-class' variable, use new eieio--scoped-class, and
8462 eieio--with-scoped-class.
8463
8464 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8465
8466 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8467
8468 * eshell/esh-ext.el (eshell-external-command): Pass args to
8469 `eshell-find-interpreter'.
8470 (eshell-find-interpreter): Add new second parameter ARGS.
8471
8472 * eshell/em-script.el (eshell-script-initialize): Add second arg
8473 to the function added as MATCH to `eshell-interpreter-alist'.
8474
8475 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8476 the function added as MATCH to `eshell-interpreter-alist'.
8477
8478 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8479 (eshell-visual-options): New defcustom.
8480 (eshell-escape-control-x): Adapt docstring.
8481 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8482 `eshell-visual-options' in addition to `eshell-visual-commands'.
8483 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8484
8485 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8486
8487 * progmodes/python.el (python-indent-block-enders): Add break,
8488 continue and raise keywords.
8489
8490 2013-06-01 Glenn Morris <rgm@gnu.org>
8491
8492 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8493
8494 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8495 * progmodes/cc-cmds.el (delete-forward-p):
8496 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8497 * progmodes/cc-engine.el (buffer-syntactic-context):
8498 * progmodes/cc-fonts.el (face-property-instance):
8499 * progmodes/cc-mode.el (set-keymap-parents):
8500 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8501 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8502 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8503 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8504 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8505
8506 * progmodes/cc-vars.el (other): Emacs has this widget since
8507 at least 21.1, so don't (re)define it.
8508
8509 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8510 Replace the obsolete alias pcomplete-arg-quote-list.
8511
8512 2013-06-01 Leo Liu <sdl.web@gmail.com>
8513
8514 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8515 punctuation syntax.
8516 (inferior-octave-minimal-columns)
8517 (inferior-octave-last-column-width): New variables.
8518 (inferior-octave-track-window-width-change): New function.
8519 (inferior-octave-mode): Adjust column width so that Octave output,
8520 for example from 'ls', can fit into the window nicely.
8521
8522 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8523
8524 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8525 Highlight expansions inside regexp literals.
8526
8527 2013-05-31 Glenn Morris <rgm@gnu.org>
8528
8529 * obsolete/sym-comp.el (symbol-complete):
8530 Replace obsolete completion-annotate-function.
8531
8532 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8533
8534 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8535
8536 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8537 New function, checks if point is inside a literal that allows
8538 expression expansion.
8539 (ruby-syntax-propertize-expansion): Use it.
8540 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8541 around the body.
8542
8543 2013-05-30 Juri Linkov <juri@jurta.org>
8544
8545 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8546 to "\M-si".
8547 (isearch-invisible): New variable.
8548 (isearch-forward): Doc fix.
8549 (isearch-mode): Set `isearch-invisible'
8550 to the value of `search-invisible'.
8551 (isearch-toggle-case-fold): Doc fix.
8552 (isearch-toggle-invisible): New command.
8553 (isearch-query-replace): Let-bind `search-invisible'
8554 to the value of `isearch-invisible'.
8555 (isearch-search): Use `isearch-invisible' instead of
8556 `search-invisible'. Let-bind `search-invisible'
8557 to the value of `isearch-invisible'. (Bug#11378)
8558
8559 2013-05-30 Juri Linkov <juri@jurta.org>
8560
8561 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8562 call when `query-flag' is nil and `search-invisible' is non-nil.
8563 (Bug#11746)
8564
8565 2013-05-30 Glenn Morris <rgm@gnu.org>
8566
8567 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8568
8569 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8570 (cc-require): Suppress spurious "noruntime" warnings.
8571 (cc-require-when-compile): Use fboundp, for sake of compiler.
8572
8573 * progmodes/cc-mode.el: Move load of cc-vars before that of
8574 cc-langs (which in turn loads cc-vars), to quieten compiler.
8575
8576 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * paren.el: Simplify the code.
8579 (show-paren-mode): Always start the timer.
8580 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8581 (show-paren--overlay, show-paren--overlay-1): Rename from
8582 show-paren-overlay and show-paren-overlay-1, and initialize to an
8583 overlay rather than to nil.
8584 (show-paren-function): Misc cleanup and simplifications.
8585
8586 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * paren.el (show-paren-data-function): New hook.
8589 (show-paren--default): New function, extracted from show-paren-function.
8590 (show-paren-function): Use show-paren-data-function.
8591
8592 2013-05-30 Glenn Morris <rgm@gnu.org>
8593
8594 * ielm.el (ielm-map, ielm-complete-symbol):
8595 Use completion-at-point rather than obsolete functions.
8596 (inferior-emacs-lisp-mode): Doc fix.
8597 Set completion-at-point-functions, rather than
8598 comint-dynamic-complete-functions.
8599
8600 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8601 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8602 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8603
8604 * image.el (image-animated-p): Tweak definition.
8605
8606 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8607 (rlogin-process-connection-type): Tweak default. Add set-after.
8608 (rlogin-host): Doc fix.
8609 (rlogin): Tweak prompt.
8610 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8611
8612 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8613 * progmodes/tcl.el (inferior-tcl-mode-map):
8614 Use completion-at-point rather than obsolete alias.
8615
8616 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8617
8618 * minibuffer.el (read-file-name-completion-ignore-case):
8619 Move before completion--in-region, for eager macro expansion.
8620
8621 2013-05-29 Juri Linkov <juri@jurta.org>
8622
8623 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8624 for total count of matching lines. Add `global-matches' for total
8625 count of matches. Rename `matches' to `lines' for count of
8626 matching lines. Add `matches' for count of matches.
8627 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8628 to `prev-line' for line number of prev match endpt.
8629 Increment `matches' for every match. Print the number of
8630 matching lines in the header.
8631 (occur-context-lines): Rename `lines' to `curr-line'.
8632 Rename `prev-lines' to `prev-line'. (Bug#14017)
8633
8634 2013-05-29 Juri Linkov <juri@jurta.org>
8635
8636 * replace.el (perform-replace): Add `skip-read-only-count',
8637 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8638 Increment them for corresponding conditions and report the number
8639 of skipped occurrences in the final message. (Bug#11746)
8640 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8641 (replace-string, replace-regexp): Doc fix.
8642
8643 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8646
8647 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8648 prog-mode-map (bug#14504).
8649
8650 2013-05-29 Leo Liu <sdl.web@gmail.com>
8651
8652 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8653 (octave-help): Small simplification.
8654
8655 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8656 off the highlight first.
8657
8658 2013-05-29 Glenn Morris <rgm@gnu.org>
8659
8660 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8661 Handle idlwave-last-system-routine-info-cons-cell being nil.
8662
8663 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8664 (idlwave-write-paths): Simplify via with-temp-buffer.
8665
8666 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8667 * emulation/cua-rect.el: Also load cua-base at run time.
8668
8669 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8670 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8671 (cperl-imenu-on-info): Require imenu.
8672
8673 2013-05-28 Alan Mackenzie <acm@muc.de>
8674
8675 Handle "capitalised keywords" correctly.
8676 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8677
8678 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8679
8680 * eshell/em-unix.el: Add -r option to cp.
8681
8682 2013-05-28 Glenn Morris <rgm@gnu.org>
8683
8684 * vc/vc-arch.el (vc-exec-after): Declare.
8685 (vc-switches): Autoload.
8686 * vc/vc-bzr.el: No need to require vc when compiling.
8687 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8688 (vc-resynch-buffer, vc-dir-refresh): Declare.
8689 (vc-setup-buffer, vc-switches): Autoload.
8690 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8691 (vc-resynch-buffer): Declare.
8692 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8693 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8694 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8695 (grep-read-regexp, grep-read-files, grep-expand-template)
8696 (vc-dir-refresh): Declare.
8697 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8698 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8699 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8700 * vc/vc-mtn.el (vc-exec-after): Declare.
8701 (vc-switches): Autoload.
8702 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8703 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8704 (vc-file-tree-walk): Declare.
8705 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8706 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8707 (vc-tag-precondition, vc-rename-master): Autoload.
8708 * vc/vc-svn.el (vc-exec-after): Declare.
8709 (vc-switches, vc-setup-buffer): Autoload.
8710 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8711 Autoload.
8712 (vc-resynch-buffer): Declare.
8713
8714 * obsolete/fast-lock.el (byte-compile-warnings):
8715 Don't warn about obsolete features in this obsolete file.
8716
8717 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8718 Move definition before use.
8719
8720 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8721 (dun-unix-verbs): Remove dun-zippy.
8722 (dun-zippy): Remove function.
8723
8724 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8725
8726 2013-05-27 Juri Linkov <juri@jurta.org>
8727
8728 * replace.el (replace-search): New function with code moved out
8729 from `perform-replace'.
8730 (replace-highlight, replace-dehighlight): Move function definitions
8731 up closer to `replace-search'. (Bug#11746)
8732
8733 2013-05-27 Juri Linkov <juri@jurta.org>
8734
8735 * replace.el (perform-replace): Ignore invisible matches.
8736 In addition to checking `query-replace-skip-read-only', also
8737 filter out matches by calling `run-hook-with-args-until-failure'
8738 on `isearch-filter-predicates', and also check `search-invisible'
8739 for t or call `isearch-range-invisible'.
8740 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8741
8742 2013-05-27 Juri Linkov <juri@jurta.org>
8743
8744 * isearch.el (isearch-filter-predicates): Rename from
8745 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8746 (isearch-message-prefix): Display text from the property
8747 `isearch-message-prefix' of the currently active filters.
8748 (isearch-search): Don't compare `isearch-filter-predicate' with
8749 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8750 on `isearch-filter-predicates'. Also check `search-invisible' for t
8751 or call `isearch-range-invisible'.
8752 (isearch-filter-visible): Make obsolete.
8753 (isearch-lazy-highlight-search):
8754 Call `run-hook-with-args-until-failure' on
8755 `isearch-filter-predicates' and use `isearch-range-invisible'.
8756
8757 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8758 `isearch-filter-predicates' instead of `funcall'ing
8759 `isearch-filter-predicate'.
8760 (Info-mode): Set `Info-isearch-filter' to
8761 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8762
8763 * dired-aux.el (dired-isearch-filter-predicate-orig):
8764 Remove variable.
8765 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8766 (dired-isearch-filenames-end): Add and remove
8767 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8768 instead of changing the value of `isearch-filter-predicate'.
8769 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8770 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8771 Put property `isearch-message-prefix' to "filename " on
8772 `dired-isearch-filter-filenames'.
8773
8774 * wdired.el (wdired-change-to-wdired-mode):
8775 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8776 locally instead of changing `isearch-filter-predicate'.
8777 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8778
8779 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8780
8781 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8782 return the commit hash (Bug#14459). Also set the
8783 `vc-git-detached' property.
8784 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8785 (vc-git-mode-line-string): Use the same help-echo format whether
8786 in detached mode or not, because we know the actual revision now.
8787 When in detached mode, shorten the revision to 7 chars.
8788
8789 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * emacs-lisp/easy-mmode.el (define-minor-mode):
8792 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8793 mode hook and provide a docstring.
8794
8795 2013-05-27 Alan Mackenzie <acm@muc.de>
8796
8797 Remove spurious syntax-table text properties inserted by C-y.
8798 * progmodes/cc-mode.el (c-after-change): Also clear hard
8799 syntax-table property with value nil.
8800
8801 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8802
8803 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8804 when reading the events; the buffer layout shall not be changed.
8805
8806 2013-05-27 Leo Liu <sdl.web@gmail.com>
8807
8808 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8809 New variable.
8810 (inferior-octave-directory-tracker): Automatically re-sync
8811 default-directory.
8812 (octave-help): Improve handling of 'See also'.
8813
8814 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8815
8816 * doc-view.el: Minor naming convention tweaks.
8817 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8818
8819 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8820 even if there's no `display' property yet (bug#14435).
8821
8822 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8823
8824 * subr.el (unmsys--file-name): Rename from reveal-filename.
8825
8826 * Makefile.in (custom-deps, finder-data, autoloads)
8827 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8828 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8829 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8830
8831 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8832
8833 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8834 error-completion on the first 2 args of condition-case (bug#14446).
8835 Don't burp at EOB.
8836
8837 2013-05-25 Leo Liu <sdl.web@gmail.com>
8838
8839 * comint.el (comint-previous-matching-input): Do not flood the
8840 *Messages* buffer with trivial messages.
8841
8842 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * progmodes/flymake.el (flymake-nop): Don't return a string.
8845 (flymake-set-at): Fix typo.
8846
8847 * simple.el (read--expression): New function, extracted from
8848 eval-expression. Set completion-at-point-functions (bug#14465).
8849 (eval-expression, eval-minibuffer): Use it.
8850
8851 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8852
8853 * progmodes/flymake.el (flymake-save-buffer-in-file)
8854 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8855 (flymake-selected-frame, flymake-log, flymake-ins-after)
8856 (flymake-set-at, flymake-get-buildfile-from-cache)
8857 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8858 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8859 Refine the doc string.
8860 (flymake-get-file-name-mode-and-masks): Reformat.
8861 (flymake-get-real-file-name-function): Fix a minor bug.
8862
8863 2013-05-24 Juri Linkov <juri@jurta.org>
8864
8865 * progmodes/grep.el (grep-mode-font-lock-keywords):
8866 Support =linenumber= format used by git-grep for lines with
8867 function names. (Bug#13549)
8868
8869 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8870
8871 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8872 0 after a semi-colon; it works better for smie-auto-fill.
8873 (octave--indent-new-comment-line): New function.
8874 (octave-indent-new-comment-line): Use it (indirectly).
8875 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8876 modify comment-line-break-function.
8877
8878 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8879 (smie-setup): Use add-function to set it.
8880
8881 2013-05-24 Sam Steingold <sds@gnu.org>
8882
8883 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8884 argument (before the `interactive' argument).
8885
8886 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 * image-mode.el (image-mode-winprops): Add winprops to
8889 image-mode-winprops-alist before running
8890 image-mode-new-window-functions.
8891 * doc-view.el (doc-view-new-window-function): Don't delay
8892 doc-view-goto-page via timers (bug#14435).
8893
8894 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8895
8896 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8897 (doc-view-desktop-save-buffer): New function.
8898 (doc-view-restore-desktop-buffer): New function.
8899 (desktop-buffer-mode-handlers):
8900 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8901 handler.
8902 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8903 `desktop-save-buffer' function.
8904
8905 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8906
8907 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8908 (tramp-gvfs-file-name-handler): Raise a user error when
8909 `tramp-gvfs-enabled' is nil.
8910 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8911 Do not raise a user error when loading package. (Bug#14447)
8912
8913 * net/xesam.el: Move to obsolete/.
8914
8915 2013-05-24 Glenn Morris <rgm@gnu.org>
8916
8917 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8918
8919 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8920
8921 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8922 (Info-find-node, Man-getpage-in-background): Declare.
8923
8924 * mail/unrmail.el (unrmail):
8925 Replace obsolete detect-coding-with-priority.
8926
8927 * net/socks.el (socks-split-string): Use this rather than split-string.
8928 (socks-nslookup-host): Update for above change.
8929 (dynamic-choice, s5-dynamic-choice-match)
8930 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8931 Comment out unused code.
8932
8933 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8934 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8935 (gud-tooltip-echo-area): Make obsolete.
8936 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8937
8938 * progmodes/js.el (js--optimize-arglist): Declare.
8939
8940 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8941
8942 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8943 (ediff-window-C): Declare.
8944
8945 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8946 Tweak requires to silence compiler.
8947
8948 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8949 (he-search-string, he-tried-table, he-expand-list)
8950 (he-init-string, he-string-member, he-substitute-string)
8951 (he-reset-string): Declare.
8952
8953 * obsolete/options.el (list-options): Use custom-variable-p,
8954 rather than obsolete alias.
8955
8956 2013-05-23 Sam Steingold <sds@gnu.org>
8957
8958 * simple.el (shell-command-on-region): Pass the `replace' argument
8959 down to `call-process-region' to comply with the doc as reported on
8960 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8961
8962 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * emacs-lisp/smie.el (smie-indent-forward-token)
8965 (smie-indent-backward-token): Handle string tokens (bug#14381).
8966
8967 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8968
8969 * ielm.el (ielm-menu): New menu.
8970 (inferior-emacs-lisp-mode): Set comment-start.
8971
8972 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8973
8974 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8975 Fix deactivate action.
8976
8977 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8978 Add cleveref macros.
8979
8980 * lisp/textmodes/reftex-parse.el
8981 (reftex-locate-bibliography-files): Accept options for
8982 bibliography commands.
8983 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8984 Add addbibresource. Basic Biblatex support.
8985
8986 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8987
8988 * net/tramp-gvfs.el (top):
8989 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8990 when loading package. (Bug#14447)
8991
8992 2013-05-23 Glenn Morris <rgm@gnu.org>
8993
8994 * progmodes/js.el: No need to load comint when compiling.
8995 (ring-insert, comint-send-string, comint-send-input)
8996 (comint-last-input-end, ido-chop): Declare.
8997
8998 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8999 * vc/ediff-mult.el: Adjust requires.
9000 (ediff-directories-internal, ediff-directory-revisions-internal)
9001 (ediff-patch-file-internal): Declare.
9002 * vc/ediff-ptch.el: Adjust requires.
9003 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9004 (ediff-find-file): Autoload.
9005 * vc/ediff-util.el: No need to load ediff when compiling.
9006 (ediff-regions-internal): Declare.
9007 * vc/ediff-wind.el: Adjust requires.
9008 (ediff-compute-toolbar-width): Define when compiling.
9009 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9010 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9011 (dired-get-filename, dired-get-marked-files)
9012 (ediff-last-dir-patch, ediff-patch-default-directory)
9013 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9014 (ediff-patch-buffer-internal): Declare.
9015
9016 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9017 (ispell-process, ispell-buffer-local-words, lm-summary)
9018 (lm-section-start, lm-section-end): Declare.
9019 (checkdoc-ispell-init): Simplify.
9020
9021 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9022 (he-string-member, he-reset-string, he-substitute-string): Declare.
9023
9024 * eshell/em-ls.el: Adjust requires.
9025 (eshell-glob-regexp): Declare.
9026 * eshell/em-tramp.el: Adjust requires.
9027 (eshell-parse-command): Autoload.
9028 * eshell/em-xtra.el: Adjust requires.
9029 (eshell-parse-command): Autoload.
9030 * eshell/esh-ext.el: Adjust requires.
9031 (eshell-parse-command, eshell-close-handles): Autoload.
9032 * eshell/esh-io.el: Adjust requires.
9033 (eshell-output-filter): Autoload.
9034 * eshell/esh-util.el: No need to load tramp when compiling.
9035 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9036 Declare.
9037 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9038 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9039 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9040 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9041 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9042 * eshell/esh-opt.el, eshell/esh-proc.el:
9043 * eshell/esh-var.el: Adjust requires.
9044 * eshell/eshell.el: Do not require esh-util twice.
9045 (eshell-add-input-to-history): Declare.
9046 (eshell-command): Check history module is active before using it.
9047
9048 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9049
9050 2013-05-22 Leo Liu <sdl.web@gmail.com>
9051
9052 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9053
9054 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9055
9056 * autorevert.el (auto-revert-notify-add-watch)
9057 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9058 it indicates changes in file modification time.
9059
9060 2013-05-22 Glenn Morris <rgm@gnu.org>
9061
9062 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9063 Always delete the autoloaded function from the noruntime and
9064 unresolved functions lists.
9065
9066 * allout.el: No need to load epa, epg, overlay when compiling.
9067 (epg-context-set-passphrase-callback, epg-list-keys)
9068 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9069 (epg-key-user-id-list): Declare.
9070
9071 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9072 (viper-set-parsing-style-toggling-macro)
9073 (viper-set-emacs-state-searchstyle-macros):
9074 Use called-interactively-p on Emacs.
9075 (viper-looking-back): Make it an obsolete alias. Update callers.
9076 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9077 Use looking-back rather than viper-looking-back.
9078 (viper-tmp-insert-at-eob, viper-enlarge-region)
9079 (viper-read-string-with-history, viper-register-to-point)
9080 (viper-append-to-register, viper-change-state-to-vi)
9081 (viper-backward-char-carefully, viper-forward-char-carefully)
9082 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9083 (viper-change-state-to-emacs): Declare.
9084 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9085 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9086 * emulation/viper-mous.el: Do not load viper-cmd.
9087 (viper-backward-char-carefully, viper-forward-char-carefully)
9088 (viper-forward-word, viper-adjust-window): Declare.
9089
9090 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9091
9092 * progmodes/idlw-help.el (idlwave-help-fontify):
9093 Use called-interactively-p.
9094
9095 * term/w32console.el (w32-get-console-codepage)
9096 (w32-get-console-output-codepage): Declare.
9097
9098 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9099 Remove unnecessary declarations.
9100 (dframe-message): Doc fix.
9101
9102 * info.el (dframe-select-attached-frame, dframe-current-frame):
9103 Declare.
9104
9105 * speedbar.el (speedbar-message): Make it an obsolete alias.
9106 Update all callers.
9107 (speedbar-with-attached-buffer)
9108 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9109 (speedbar-with-writable): Use backquote.
9110 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9111 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9112 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9113 rather than speedbar- aliases.
9114 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9115 (speedbar-make-specialized-keymap, speedbar-insert-button)
9116 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9117 (speedbar-do-function-pointer): Declare.
9118 (rmail-speedbar-button, rmail-speedbar-find-file)
9119 (rmail-speedbar-move-message):
9120 Use dframe-with-attached-buffer rather than speedbar- alias.
9121 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9122 (dframe-message, speedbar-make-specialized-keymap)
9123 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9124 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9125 (speedbar-insert-button, dframe-select-attached-frame)
9126 (dframe-maybee-jump-to-attached-frame)
9127 (speedbar-change-initial-expansion-list)
9128 (speedbar-previously-used-expansion-list-name): Declare.
9129 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9130 Use dframe-message, dframe-with-attached-buffer rather than
9131 speedbar- aliases.
9132 (gud-sentinel): Silence compiler.
9133 * progmodes/vhdl-mode.el (speedbar-refresh)
9134 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9135 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9136 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9137 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9138 (speedbar-file-lists, speedbar-make-tag-line)
9139 (speedbar-line-directory, speedbar-goto-this-file)
9140 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9141 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9142 (speedbar-make-button, speedbar-reset-scanners)
9143 (speedbar-files-item-info, speedbar-line-text)
9144 (speedbar-find-file-in-frame, speedbar-set-timer)
9145 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9146 (speedbar-with-writable): Do not (re)define it.
9147 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9148 rather than speedbar- alias.
9149
9150 2013-05-21 Leo Liu <sdl.web@gmail.com>
9151
9152 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9153 menu items.
9154 (octave-mode): Tweak fill-nobreak-predicate.
9155 (inferior-octave-startup): Check process to avoid infinite loop.
9156 (inferior-octave): Pop to buffer first to show abornmal process
9157 exit information.
9158
9159 2013-05-21 Glenn Morris <rgm@gnu.org>
9160
9161 * printing.el (pr-menu-bar): Define when compiling.
9162
9163 2013-05-21 Leo Liu <sdl.web@gmail.com>
9164
9165 * progmodes/octave.el (octave-auto-fill): Remove.
9166 (octave-indent-new-comment-line): Improve.
9167 (octave-mode): Use auto fill mode through
9168 comment-line-break-function and fill-nobreak-predicate.
9169 (octave-goto-function-definition): Support DEFUN_DLD.
9170 (octave-beginning-of-defun): Small tweak.
9171 (octave-help): Show parent directory.
9172
9173 2013-05-21 Glenn Morris <rgm@gnu.org>
9174
9175 * files.el (dired-unmark):
9176 * progmodes/gud.el (gdb-input): Update declarations.
9177
9178 * calculator.el (electric, ehelp): No need to load when compiling.
9179 (Electric-command-loop, electric-describe-mode): Declare.
9180
9181 * doc-view.el (doc-view-current-converter-processes): Move before use.
9182
9183 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9184 Move MODE-set-explicitly definition before use.
9185
9186 * international/mule-diag.el (mule-diag):
9187 Don't use obsolete window-system-version.
9188
9189 * mail/feedmail.el (smtpmail): No need to load when compiling.
9190 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9191
9192 * mail/mail-utils.el (rfc822): No need to load when compiling.
9193 (rfc822-addresses): Autoload it.
9194 (mail-strip-quoted-names): Trivial simplification.
9195
9196 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9197 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9198
9199 * net/snmp-mode.el (tempo): Don't duplicate requires.
9200
9201 * progmodes/prolog.el (info): No need to load when compiling.
9202 (comint): Require before shell requires it.
9203 (Info-goto-node): Autoload it.
9204 (Info-follow-nearest-node): Declare.
9205 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9206
9207 * textmodes/artist.el (picture-mode-exit): Declare.
9208
9209 * textmodes/reftex-parse.el (reftex-parse-from-file):
9210 Trivial rewrite so the compiler can parse it better.
9211
9212 2013-05-20 Leo Liu <sdl.web@gmail.com>
9213
9214 * progmodes/octave.el (octave-help-mode-map)
9215 (octave-help-mode-finish-hook): New variables.
9216 (octave-help-mode, octave-help-mode-finish): New functions.
9217 (octave-help): Use octave-help-mode.
9218
9219 2013-05-20 Glenn Morris <rgm@gnu.org>
9220
9221 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9222
9223 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9224
9225 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9226 start at point, so that expansion starting right after opening
9227 slash in a regexp is recognized.
9228 (ruby-syntax-before-regexp-re): New defvar, extracted from
9229 ruby-syntax-propertize-function. Since the value of this regexp
9230 is looked up at runtime now, we should be able to turn
9231 `ruby-syntax-methods-before-regexp' into a defcustom later.
9232 (ruby-syntax-propertize-function): Split regexp matching into two
9233 parts, for opening and closing slashes. That allows us to skip
9234 over string interpolations and support multiline regexps.
9235 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9236 for them, which calls `ruby-syntax-propertize-expansion'.
9237 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9238 call to `ruby-syntax-propertize-function'.
9239 (ruby-syntax-propertize-expansion): Extracted from
9240 `ruby-syntax-propertize-expansions'. Handles one expansion.
9241 (ruby-syntax-propertize-percent-literal): Leave point right after
9242 the percent symbol, so that the expression expansion rule can
9243 propertize the contents.
9244 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9245 heredoc openers.
9246 (ruby-syntax-propertize-expansions): Remove.
9247
9248 2013-05-18 Juri Linkov <juri@jurta.org>
9249
9250 * man.el (Man-default-man-entry): Remove `-' from the end
9251 of the default value. (Bug#14400)
9252
9253 2013-05-18 Glenn Morris <rgm@gnu.org>
9254
9255 * comint.el (comint-password-prompt-regexp):
9256 Allow "password for XXX" where XXX contains colons (eg https://...).
9257
9258 2013-05-18 Leo Liu <sdl.web@gmail.com>
9259
9260 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9261 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9262 (octave-source-directories): Don't check process.
9263 (octave-source-directories, octave-find-definition): Doc fix.
9264
9265 2013-05-18 Glenn Morris <rgm@gnu.org>
9266
9267 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9268 Remove backspace/delete bindings. (Bug#14392)
9269
9270 * cus-dep.el (custom-make-dependencies): Sort the output.
9271 (custom-versions-load-alist): Convert comment to doc.
9272
9273 2013-05-17 Leo Liu <sdl.web@gmail.com>
9274
9275 * newcomment.el (comment-search-backward): Stricter in finding
9276 comment start. (Bug#14303)
9277
9278 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9279 (octave-comment-start-skip): Properly anchored.
9280
9281 2013-05-17 Leo Liu <sdl.web@gmail.com>
9282
9283 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9284 Clean up when turned off. (Bug#14395)
9285 (smie--highlight-matching-block-overlay): No longer buffer-local.
9286 (smie-highlight-matching-block): Adjust.
9287
9288 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9289
9290 Doc string fix for "nanoseconds" (Bug#14406).
9291 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9292 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9293
9294 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9295
9296 * calc/calc-units.el (math-extract-units): Preserve powers
9297 of units.
9298
9299 2013-05-17 Leo Liu <sdl.web@gmail.com>
9300
9301 * subr.el (delete-consecutive-dups): New function.
9302 * ido.el (ido-set-matches-1): Use it.
9303 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9304 * ido.el (ido-remove-consecutive-dups): Remove.
9305
9306 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9309 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9310 regexp-opt's `words'.
9311
9312 2013-05-16 Leo Liu <sdl.web@gmail.com>
9313
9314 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9315 (smie--highlight-matching-block-overlay)
9316 (smie--highlight-matching-block-lastpos)
9317 (smie--highlight-matching-block-timer): New variables.
9318 (smie-highlight-matching-block): New function.
9319 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9320 (smie-setup): Conditionally enable smie-blink-matching-open.
9321
9322 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9323
9324 Sync with upstream verilog-mode r840.
9325 * progmodes/verilog-mode.el (verilog-mode-version)
9326 (verilog-mode-release-date): Update.
9327 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9328 (verilog-sig-tieoff): Fix string error on
9329 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9330 (verilog-read-decls): Fix parameters confusing
9331 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9332
9333 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9334
9335 * subr.el (reveal-filename): New function.
9336
9337 * loadup.el: Compute Emacs executable versions on MS-Windows,
9338 where executables have the .exe extension. Add a hard link
9339 emacs-XX.YY.ZZ.exe on MS-Windows.
9340
9341 * Makefile.in (XARGS_LIMIT): New variable.
9342 (custom-deps, finder-data, autoloads)
9343 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9344 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9345 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9346 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9347
9348 2013-05-16 Leo Liu <sdl.web@gmail.com>
9349
9350 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9351 (octave-mode-menu, octave-mode-map): Remove its uses.
9352
9353 2013-05-16 Reto Zimmermann <reto@gnu.org>
9354
9355 Sync with upstream vhdl mode v3.34.2.
9356 * progmodes/vhdl-mode.el: Use `push' throughout.
9357 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9358 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9359 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9360 (vhdl-actual-generic-name): New option to derive actual generic name.
9361 (vhdl-port-paste-signals): Replace formal by actual generics.
9362 (vhdl-beautify): New name for old group vhdl-align. Update users.
9363 (vhdl-beautify-options): New option.
9364 (vhdl-last-input-event): New compat alias. Use throughout.
9365 (vhdl-goto-line): Replace user level function `goto-line'.
9366 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9367 vhdl-fix-statement-buffer.
9368 (vhdl-create-mode-menu): Add some entries.
9369 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9370 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9371 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9372 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9373 to force statements on one line.
9374 (vhdl-remove-trailing-spaces-region):
9375 New, split from vhdl-remove-trailing-spaces.
9376 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9377 Respect vhdl-beautify-options.
9378 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9379 (vhdl-update-sensitivity-list): Not add with index if exists without.
9380 Not include array index with signal. Ignore keywords in comments.
9381 (vhdl-get-visible-signals): Regexp tweaks.
9382 (vhdl-template-component-inst): Handle empty library.
9383 (vhdl-template-type): Add template for 'enum' type.
9384 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9385 Use vhdl-replace-string.
9386 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9387 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9388 (vhdl-speedbar-initialize): Update for above name change.
9389 (vhdl-compose-wire-components): Fix in handling of constants.
9390 (vhdl-error-regexp-emacs-alist): New variable.
9391 (vhdl-error-regexp-add-emacs): New function;
9392 adds support for new compile.el (Emacs 22+)
9393 (vhdl-generate-makefile-1): Change target order for single lib. units.
9394 Allow use of absolute file names.
9395
9396 2013-05-16 Leo Liu <sdl.web@gmail.com>
9397
9398 * simple.el (prog-indent-sexp): Indent enclosing defun.
9399
9400 2013-05-15 Glenn Morris <rgm@gnu.org>
9401
9402 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9403 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9404 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9405 (whitespace-highlight): Move to whitespace group.
9406
9407 * comint.el (comint-source):
9408 * pcmpl-linux.el (pcmpl-linux):
9409 * shell.el (shell-faces):
9410 * eshell/esh-opt.el (eshell-opt):
9411 * international/ccl.el (ccl): Remove empty custom groups.
9412
9413 * completion.el (dynamic-completion-mode):
9414 * jit-lock.el (jit-lock-debug-mode):
9415 * minibuffer.el (completion-in-region-mode):
9416 * type-break.el (type-break-mode-line-message-mode)
9417 (type-break-query-mode):
9418 * emulation/tpu-edt.el (tpu-edt-mode):
9419 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9420 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9421 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9422
9423 * term/xterm.el (xterm): Change parent group to terminals.
9424
9425 * master.el (master): Remove empty custom group.
9426 (master-mode): Remove unused :group argument.
9427 * textmodes/refill.el (refill): Remove empty custom group.
9428 (refill-mode): Remove unused :group argument.
9429
9430 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9431
9432 * cus-dep.el: Provide a feature.
9433 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9434 Don't mistakenly ignore files whose basenames match a basename
9435 from preloaded-file-list (eg cedet/ede/simple.el).
9436 Add a fallback method for getting :group.
9437
9438 2013-05-15 Juri Linkov <juri@jurta.org>
9439
9440 * isearch.el (isearch-char-by-name): Rename from
9441 `isearch-insert-char-by-name'. Doc fix.
9442 (isearch-forward): Mention `isearch-char-by-name' in
9443 the docstring. (Bug#13348)
9444
9445 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9446 `exit-minibuffer' instead of
9447 `isearch-nonincremental-exit-minibuffer'.
9448 (isearch-edit-string): Remove mention of
9449 `isearch-nonincremental-exit-minibuffer' from docstring.
9450 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9451 (isearch-forward-exit-minibuffer)
9452 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9453
9454 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9455
9456 * loadup.el: Just use unversioned DOC.
9457
9458 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9459 literals as extending to EOB.
9460 (nxml-last-fontify-end): Remove unused variable.
9461 (nxml-after-change1): Use with-silent-modifications.
9462 (nxml-extend-after-change-region): Simplify.
9463 (nxml-extend-after-change-region1): Remove function.
9464 (nxml-after-change1): Don't adjust for dependent regions.
9465 (nxml-fontify-matcher): Simplify.
9466 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9467 (xmltok-add-dependent): Remove function.
9468 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9469 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9470 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9471 unclosed <[[, <?, comment, and other literals as extending to EOB.
9472 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9473 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9474 Remove functions.
9475 (rng-do-some-validation-1): Don't mark dependent regions.
9476 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9477 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9478 (nxml-clear-dependent-regions): Remove functions.
9479 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9480 (nxml-ensure-scan-up-to-date):
9481 Don't clear&mark dependent regions.
9482
9483 2013-05-15 Leo Liu <sdl.web@gmail.com>
9484
9485 * progmodes/octave.el (octave-goto-function-definition):
9486 Improve and fix callers.
9487
9488 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9491 the setter (bug#14387).
9492
9493 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9494 surrounding group (bug#14402).
9495
9496 2013-05-14 Juri Linkov <juri@jurta.org>
9497
9498 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9499 (Bug#14390)
9500
9501 2013-05-14 Glenn Morris <rgm@gnu.org>
9502
9503 * progmodes/f90.el (f90-imenu-generic-expression):
9504 Fix typo in 2013-05-08 change. (Bug#14402)
9505
9506 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9507
9508 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9509 Remove signals for which replies are never received.
9510
9511 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9512
9513 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9514 (gdb-handler-alist, gdb-handler-number): Remove variables.
9515 (gdb-handler-list): New variable.
9516 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9517 (gdb-pending-handler-p, gdb-handle-reply)
9518 (gdb-remove-all-pending-triggers): New functions.
9519 (gdb-discard-unordered-replies): New defcustom.
9520 (gdb-handler): New defstruct.
9521 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9522 instead of gdb-pending-triggers. Update docstring.
9523 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9524 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9525 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9526 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9527 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9528 (gdb-frame-handler): Pending triggers are now automatically managed.
9529 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9530 Remove argument.
9531 (gdb-input): Automatically handles pending triggers. Update docstring.
9532 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9533 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9534 Update comments.
9535 (gdb-done-or-error): Now use gdb-handle-reply.
9536
9537 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9538
9539 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9540 gdb-debug-log.
9541
9542 2013-05-14 Glenn Morris <rgm@gnu.org>
9543
9544 * subr.el (user-emacs-directory-warning): New option.
9545 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9546
9547 2013-05-14 Leo Liu <sdl.web@gmail.com>
9548
9549 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9550 during redisplay.
9551 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9552 (octave-font-lock-texinfo-comment): Fix invalid search bound
9553 error: wrong side of point.
9554
9555 2013-05-14 Glenn Morris <rgm@gnu.org>
9556
9557 * progmodes/flymake.el (flymake-xml-program): New option.
9558 (flymake-xml-init): Use it.
9559
9560 * term/xterm.el: Provide a feature.
9561
9562 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9563
9564 2013-05-13 Glenn Morris <rgm@gnu.org>
9565
9566 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9567 Add compat aliases as a hack workaround. (Bug#14384)
9568
9569 2013-05-13 Leo Liu <sdl.web@gmail.com>
9570
9571 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9572 ###, and %!.
9573 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9574 C-M-q.
9575 (octave-comment-start-skip): Include %!.
9576 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9577
9578 2013-05-12 Leo Liu <sdl.web@gmail.com>
9579
9580 * progmodes/octave.el (inferior-octave-startup): Store the value
9581 of __octave_srcdir__ for octave-source-directories.
9582 (inferior-octave-check-process): New function refactored out of
9583 inferior-octave-send-list-and-digest.
9584 (octave-source-directories)
9585 (octave-find-definition-filename-function): New variables.
9586 (octave-source-directories)
9587 (octave-find-definition-default-filename): New functions.
9588 (octave-find-definition): Improve to find functions implemented in C++.
9589
9590 2013-05-12 Glenn Morris <rgm@gnu.org>
9591
9592 * calendar/diary-lib.el (diary-outlook-format-1):
9593 Don't include dayname in the output. (Bug#14349)
9594
9595 2013-05-11 Glenn Morris <rgm@gnu.org>
9596
9597 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9598
9599 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9600 Treat cc-provide like provide.
9601
9602 2013-05-11 Kevin Ryde <user42@zip.com.au>
9603
9604 * cus-dep.el (custom-make-dependencies):
9605 Use generated-autoload-load-name for the sake of files such
9606 such cedet/semantic/bovine/c.el, where the base file name
9607 is not in load-path. (Bug#5277)
9608
9609 2013-05-11 Glenn Morris <rgm@gnu.org>
9610
9611 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9612 Provide features.
9613
9614 2013-05-11 Leo Liu <sdl.web@gmail.com>
9615
9616 * progmodes/octave.el (octave-indent-comment): Improve.
9617 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9618 (octave-eldoc-function-signatures, octave-eldoc-function):
9619 New functions.
9620 (octave-mode, inferior-octave-mode): Add eldoc support.
9621
9622 2013-05-11 Richard Stallman <rms@gnu.org>
9623
9624 * epa.el (epa-decrypt-file): Take output file name as argument
9625 and read it using `interactive'.
9626
9627 2013-05-11 Leo Liu <sdl.web@gmail.com>
9628
9629 * progmodes/octave.el (octave-beginning-of-line)
9630 (octave-end-of-line): Check before using up-list because it jumps
9631 out of more syntactic contructs since moving to smie.
9632 (octave-indent-comment): New function.
9633 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9634 (octave-begin-keywords, octave-end-keywords)
9635 (octave-reserved-words, octave-smie-bnf-table)
9636 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9637
9638 2013-05-11 Glenn Morris <rgm@gnu.org>
9639
9640 * faces.el (internal-face-x-get-resource):
9641 * frame.el (ns-display-monitor-attributes-list):
9642 * calc/calc-aent.el (math-to-radians-2):
9643 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9644 Fix declarations.
9645
9646 * calc/calc-menu.el: Make it loadable in isolation.
9647
9648 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9649 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9650 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9651 (eudc-bbdb-query-internal): Require 'bbdb.
9652
9653 * lpr.el (lpr-headers-switches):
9654 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9655
9656 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9657
9658 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9659
9660 * term.el (term-set-escape-char): Make it idempotent.
9661
9662 2013-05-10 Leo Liu <sdl.web@gmail.com>
9663
9664 * progmodes/octave.el (inferior-octave-completion-table):
9665 No longer a function and all uses changed. Use cache to speed up
9666 completion due to bug#11906.
9667 (octave-beginning-of-defun): Re-write to be more general.
9668
9669 2013-05-10 Glenn Morris <rgm@gnu.org>
9670
9671 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9672
9673 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9674
9675 * comint.el (comint-redirect-send-command-to-process): Use :around
9676 rather than :override for comint-redirect-filter.
9677 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9678 Call it instead of comint-redirect-original-filter-function (which
9679 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9680
9681 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9682
9683 * frame.el (display-monitor-attributes-list): Add NS case.
9684 (ns-display-monitor-attributes-list): Declare.
9685
9686 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9687
9688 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9689
9690 2013-05-09 Glenn Morris <rgm@gnu.org>
9691
9692 * international/fontset.el (vertical-centering-font-regexp):
9693 Set standard-value.
9694
9695 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9696
9697 * bookmark.el (bookmark-search-delay):
9698 * cus-start.el (vertical-centering-font-regexp):
9699 * ps-mule.el (ps-mule-font-info-database-default):
9700 * ps-print.el (ps-default-fg, ps-default-bg):
9701 * type-break.el (type-break-good-break-interval):
9702 * whitespace.el (whitespace-indentation-regexp)
9703 (whitespace-space-after-tab-regexp):
9704 * emacs-lisp/testcover.el (testcover-1value-functions)
9705 (testcover-noreturn-functions, testcover-progn-functions)
9706 (testcover-prog1-functions):
9707 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9708 * eshell/em-glob.el (eshell-glob-translate-alist):
9709 * play/tetris.el (tetris-tty-colors):
9710 * progmodes/cpp.el (cpp-face-default-list):
9711 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9712 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9713 (idlwave-help-browser-generic-args):
9714 * progmodes/make-mode.el (makefile-special-targets-list):
9715 * progmodes/python.el (python-shell-virtualenv-path):
9716 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9717 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9718 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9719 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9720 * textmodes/reftex-vars.el (reftex-format-label-function):
9721 * textmodes/remember.el (remember-diary-file): Fix custom types.
9722
9723 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9724 Add :version.
9725
9726 2013-05-09 Leo Liu <sdl.web@gmail.com>
9727
9728 * progmodes/octave.el (inferior-octave-completion-at-point):
9729 Restore file completion. (Bug#14300)
9730 (inferior-octave-startup): Fix incorrect highlighting for the
9731 first prompt.
9732
9733 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * progmodes/ruby-mode.el: First cut at SMIE support.
9736 (ruby-use-smie): New var.
9737 (ruby-smie-grammar): New constant.
9738 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9739 (ruby-smie--forward-token, ruby-smie--backward-token)
9740 (ruby-smie-rules): New functions.
9741 (ruby-mode-variables): Setup SMIE if applicable.
9742
9743 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9744
9745 * simple.el (line-move-visual): Signal beginning/end of buffer
9746 only if vertical-motion moved less than it was requested. Avoids
9747 silly incorrect error messages when there are display strings with
9748 multiple newlines at EOL.
9749
9750 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9751
9752 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9753 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9754 (prolog-char-quote-workaround):
9755 * progmodes/cperl-mode.el (cperl-under-as-char):
9756 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9757 Mark as obsolete.
9758 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9759 their declaration.
9760 (vhdl-mode-syntax-table-init): Remove.
9761
9762 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9763 last change.
9764
9765 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9766 syntax for "_".
9767 (ld-script-font-lock-keywords):
9768 Change regexps to use things like \_< and \_>.
9769
9770 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9771 Change all regexps to use things like \_< and \_>.
9772
9773 * progmodes/autoconf.el (autoconf-definition-regexp)
9774 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9775 Handle a _ with symbol syntax.
9776 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9777
9778 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9779 Consolidate declaration.
9780 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9781 the declaration.
9782 (ada-create-syntax-table): Remove.
9783 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9784 already has the right syntax nowadays.
9785 (ada-goto-next-word): Don't change the syntax of "_".
9786
9787 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9788 with-wrapper-hook.
9789
9790 2013-05-08 Sam Steingold <sds@gnu.org>
9791
9792 * thingatpt.el (thing-at-point): Accept optional second argument
9793 NO-PROPERTIES to strip the text properties from the return value.
9794 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9795 to `thing-at-point' instead of stripping the properties ourselves.
9796 Also, when `thing-at-point' fails to find a url, prepend "http://"
9797 to the filename at point on the assumption that the user is
9798 pointing at something like gnu.org/gnu.
9799
9800 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9801
9802 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9803 * faces.el (crm-separator):
9804 Silence byte-compiler.
9805
9806 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9807 (tool-bar-map): Remove unneeded defvars.
9808
9809 2013-05-08 Leo Liu <sdl.web@gmail.com>
9810
9811 Re-work a fix for bug#10994 based on Le Wang's patch.
9812 * ido.el (ido-remove-consecutive-dups): New helper.
9813 (ido-completing-read): Use it.
9814 (ido-chop): Revert fix for bug#10994.
9815
9816 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9817
9818 * cus-edit.el (custom-save-variables):
9819 Pretty-print long values. (Bug#14187)
9820
9821 2013-05-08 Glenn Morris <rgm@gnu.org>
9822
9823 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9824 (m4-mode-syntax-table): Init in the defvar.
9825 (m4-mode-abbrev-table): Let define-derived-mode define it.
9826
9827 2013-05-08 Tom Tromey <tromey@redhat.com>
9828
9829 * progmodes/m4-mode.el (m4-mode-syntax-table):
9830 Do not treat "_" as word constituent. (Bug#14167)
9831
9832 2013-05-07 Glenn Morris <rgm@gnu.org>
9833
9834 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9835 Remove explicit eshell-isearch-cancel-map.
9836
9837 * progmodes/f90.el (f90-smart-end-names): New option.
9838 (f90-smart-end): Doc fix.
9839 (f90-end-block-optional-name): New constant.
9840 (f90-block-match): Respect f90-smart-end-names.
9841
9842 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9845 about implicit semi-colons (bug#14218).
9846
9847 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9848
9849 * frame.el (display-monitor-attributes-list)
9850 (frame-monitor-attributes): New functions.
9851
9852 2013-05-06 Leo Liu <sdl.web@gmail.com>
9853
9854 * progmodes/octave.el (octave-syntax-propertize-function): Change
9855 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9856 (octave-font-lock-keywords): Use octave-operator-regexp.
9857 (octave-completion-at-point): Rename from
9858 octave-completion-at-point-function.
9859 (inferior-octave-directory-tracker): Robustify.
9860 (octave-text-functions): Remove and fix its uses. No such things
9861 any more.
9862
9863 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * emacs-lisp/trace.el (trace--display-buffer): New function.
9866 (trace-make-advice): Use it.
9867
9868 2013-05-06 Juri Linkov <juri@jurta.org>
9869
9870 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9871 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9872 Doc fix.
9873 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9874 in the help string. (Bug#12985)
9875
9876 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9877
9878 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9879
9880 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * progmodes/perl-mode.el: Add support for here documents.
9883 (perl-syntax-propertize-function): Match here-doc markers.
9884 (perl-syntax-propertize-special-constructs): Find their end.
9885 (perl-imenu-generic-expression): Use [:alnum:].
9886
9887 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9888 (advice--add-function): Refresh the advice if already present
9889 (bug#14317).
9890
9891 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9892
9893 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9894
9895 2013-05-06 Glenn Morris <rgm@gnu.org>
9896
9897 * w32-fns.el (w32-charset-info-alist): Declare.
9898
9899 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9900 of its defcustom properties.
9901 (eshell-cmpl-initialize): No need to load pcomplete.
9902
9903 * generic-x.el: No need to require comint when compiling.
9904
9905 * net/eudc-export.el: Make it loadable without bbdb.
9906 (top-level): Use require rather than load-library.
9907 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9908 (eudc-batch-export-records-to-bbdb)
9909 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9910 Require bbdb.
9911
9912 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9915 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9916 some tweaks, instead.
9917
9918 2013-05-05 Leo Liu <sdl.web@gmail.com>
9919
9920 * progmodes/octave.el (octave-font-lock-keywords)
9921 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9922 (inferior-octave-send-list-and-digest): Improve error message.
9923 (octave-mode, inferior-octave-mode): Use setq-local.
9924 (octave-help): Set info-lookup-mode.
9925
9926 2013-05-05 Richard Stallman <rms@gnu.org>
9927
9928 * vc/compare-w.el (compare-windows-whitespace):
9929 Treat no-break space as whitespace.
9930
9931 * mail/rmailsum.el (rmail-summary-rmail-update):
9932 Detect empty summary and don't change selected message.
9933 (rmail-summary-goto-msg): Likewise.
9934
9935 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9936 Doc fixes, rename args.
9937
9938 2013-05-05 Alan Mackenzie <acm@muc.de>
9939
9940 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9941
9942 2013-05-05 Juri Linkov <juri@jurta.org>
9943
9944 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9945 to not add the length of the summary segment to the return value.
9946 (Bug#14125)
9947
9948 2013-05-05 Leo Liu <sdl.web@gmail.com>
9949
9950 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9951 (inferior-octave-output-filter): Remove.
9952 (octave-send-region, inferior-octave-startup): Fix callers.
9953 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9954 (octave-binary-file-extensions): New user variable.
9955 (octave-find-definition): Confirm if opening binary files.
9956 (octave-help-file): Use octave-find-definition to get the binary
9957 confirmation.
9958 (octave-help): Adjust for octave-help-file change.
9959
9960 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9963 Merge the two entries that handle function definitions.
9964 (pascal--syntax-propertize): New const.
9965 (pascal-mode): Use it. Use setq-local.
9966
9967 2013-05-04 Glenn Morris <rgm@gnu.org>
9968
9969 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9970 (diary-from-outlook): Respect diary-from-outlook-function.
9971
9972 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9973
9974 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9975 Move the declaration from C.
9976 (read-minibuffer, eval-minibuffer): Move from C.
9977 (completion-setup-function): Avoid minibuffer-completion-contents.
9978
9979 2013-05-03 Leo Liu <sdl.web@gmail.com>
9980
9981 * progmodes/octave.el (octave-font-lock-keywords): Do not
9982 dehighlight 'end' in comments or strings.
9983 (octave-completing-read, octave-goto-function-definition):
9984 New helpers.
9985 (octave-help-buffer): New user variable.
9986 (octave-help-file, octave-help-function): New button types.
9987 (octave-help): New command and bind it to C-h ;.
9988 (octave-find-definition): New command and bind it to M-.
9989 (user-error): Alias to error if not defined.
9990
9991 2013-05-02 Leo Liu <sdl.web@gmail.com>
9992
9993 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9994 for \. (bug#14332)
9995 (octave-font-lock-keywords): Include [ and {.
9996
9997 2013-05-02 Leo Liu <sdl.web@gmail.com>
9998
9999 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10000 (inferior-octave): Remove calling comint-mode and return the buffer.
10001 (inferior-octave-startup): Cosmetic changes.
10002
10003 2013-05-02 Leo Liu <sdl.web@gmail.com>
10004
10005 * progmodes/octave.el (octave-syntax-propertize-function):
10006 Include the case when ' is at line beginning. (Bug#14336)
10007
10008 2013-05-02 Glenn Morris <rgm@gnu.org>
10009
10010 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10011 * desktop.el (vc-dir-mode): Just autoload it here.
10012
10013 2013-05-02 Alan Mackenzie <acm@muc.de>
10014
10015 Eliminate variable c-standard-font-lock-fontify-region-function.
10016 * progmodes/cc-mode.el
10017 (c-standard-font-lock-fontify-region-function): Remove.
10018 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10019
10020 2013-05-01 Leo Liu <sdl.web@gmail.com>
10021
10022 * progmodes/octave.el: Compatible with older emacs-24 releases.
10023 (inferior-octave-has-built-in-variables): Remove. Built-in
10024 variables were removed from Octave in 2007.
10025 (inferior-octave-startup): Fix uses.
10026 (comint-line-beginning-position): Remove compatibility code for
10027 emacs 21.
10028
10029 2013-05-01 Juri Linkov <juri@jurta.org>
10030
10031 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10032
10033 2013-05-01 Juri Linkov <juri@jurta.org>
10034
10035 * comint.el (comint-previous-matching-input): Don't print message
10036 "History item: %d" when `isearch-mode' is active.
10037 (comint-history-isearch-message): Print message "History item: %d"
10038 when `comint-input-ring-index' is not empty and this function is
10039 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10040
10041 2013-05-01 Leo Liu <sdl.web@gmail.com>
10042
10043 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10044 definitions. Use completion-at-point to insert keywords.
10045 (octave-abbrev-start): Remove.
10046 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10047
10048 2013-04-30 Leo Liu <sdl.web@gmail.com>
10049
10050 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10051 change.
10052
10053 2013-04-30 Alan Mackenzie <acm@muc.de>
10054
10055 Handle arbitrarily long C++ member initialisation lists.
10056 * progmodes/cc-engine.el (c-back-over-member-initializers):
10057 new function.
10058 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10059 (most) member init lists.
10060
10061 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10062
10063 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10064 variable.
10065
10066 2013-04-30 Leo Liu <sdl.web@gmail.com>
10067
10068 * progmodes/octave.el (octave-variables): Remove. No builtin
10069 variables any more. All converted to functions.
10070 (octave-font-lock-keywords, octave-completion-at-point-function):
10071 Fix uses.
10072 (octave-font-lock-texinfo-comment): New user variable.
10073 (octave-texinfo-font-lock-keywords): New variable for texinfo
10074 comment block.
10075 (octave-function-comment-block): New face.
10076 (octave-font-lock-texinfo-comment): New function.
10077 (octave-mode): Font lock texinfo comment block.
10078
10079 2013-04-29 Leo Liu <sdl.web@gmail.com>
10080
10081 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10082 indexing expression.
10083 (octave-continuation-string): Do not use \.
10084 (inferior-octave-complete-impossible): Remove.
10085 (inferior-octave-completion-table)
10086 (inferior-octave-completion-at-point): Remove its uses.
10087 (inferior-octave-startup): completion_matches was introduced to
10088 Octave in 1996 so safe to assume it.
10089 (octave-function-file-comment): Improve to follow how Octave does it.
10090 (octave-update-function-file-comment): Tweak.
10091
10092 2013-04-29 Leo Liu <sdl.web@gmail.com>
10093
10094 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10095 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10096 (octave-function-file-comment): Fix typo.
10097 (octave-sync-function-file-names): Use read-char-choice.
10098
10099 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10100
10101 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10102 to t for the less important warnings.
10103
10104 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10105
10106 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10107
10108 2013-04-27 Glenn Morris <rgm@gnu.org>
10109
10110 * vc/log-view.el (log-view-current-entry):
10111 Treat "---" separator lines as part of the following rev. (Bug#14169)
10112
10113 2013-04-27 Juri Linkov <juri@jurta.org>
10114
10115 * subr.el (read-number): Doc fix about using it by interactive
10116 code letter `n'. (Bug#14254)
10117
10118 2013-04-27 Juri Linkov <juri@jurta.org>
10119
10120 * desktop.el (desktop-auto-save-timeout): New option.
10121 (desktop-file-checksum): New variable.
10122 (desktop-save): Add optional arg `auto-save' and don't auto-save
10123 if nothing changed.
10124 (desktop-auto-save-timer): New variable.
10125 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10126 (after-init-hook): Call `desktop-auto-save-set-timer'.
10127 Suggested by Reuben Thomas <rrt@sc3d.org> in
10128 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10129
10130 2013-04-27 Leo Liu <sdl.web@gmail.com>
10131
10132 * progmodes/octave.el (octave-function-file-p)
10133 (octave-skip-comment-forward, octave-function-file-comment)
10134 (octave-update-function-file-comment): New functions.
10135 (octave-mode-map): Bind C-c ; to
10136 octave-update-function-file-comment.
10137 (octave-mode-menu): Add octave-update-function-file-comment.
10138 (octave-mode, inferior-octave-mode): Fix doc-string.
10139 (octave-insert-defun): Conform to Octave's coding convention.
10140 (Bug#14285)
10141
10142 * files.el (basic-save-buffer): Don't let errors in
10143 before-save-hook prevent saving buffer.
10144
10145 2013-04-20 Roland Winkler <winkler@gnu.org>
10146
10147 * faces.el (read-face-name): Use completing-read if arg multiple
10148 is nil.
10149
10150 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10151
10152 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10153 displayed, move point to after the totals line.
10154 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10155 for the details.
10156
10157 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10160 Add current dir to the load-path.
10161 (package-generate-autoloads): Don't rely on
10162 autoload-ensure-default-file.
10163
10164 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10165
10166 * textmodes/remember.el (remember-store-in-files): Document that
10167 the file name format is passed to `format-time-string'.
10168
10169 2013-04-26 Leo Liu <sdl.web@gmail.com>
10170
10171 * progmodes/octave.el (octave-sync-function-file-names): New function.
10172 (octave-mode): Use it in before-save-hook.
10173
10174 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10175
10176 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10177 (bug#14274).
10178
10179 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10180 \n and comment, even if it's not an implicit ; (bug#14218).
10181
10182 2013-04-26 Glenn Morris <rgm@gnu.org>
10183
10184 * subr.el (read-number): Once more use `read' rather than
10185 `string-to-number', to trap non-numeric input. (Bug#14254)
10186
10187 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10188
10189 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10190 Use `syntax-multiline' text property consistently instead of
10191 `font-lock-multiline'. (Bug#14237)
10192
10193 2013-04-26 Glenn Morris <rgm@gnu.org>
10194
10195 * emacs-lisp/shadow.el (list-load-path-shadows):
10196 No longer necessary to check for duplicate simple.el, since
10197 2012-07-07 change to init_lread to not include installation lisp
10198 directories in load-path when running uninstalled. (Bug#14270)
10199
10200 2013-04-26 Leo Liu <sdl.web@gmail.com>
10201
10202 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10203 (octave-mode, inferior-octave-mode): Use setq-local.
10204 (octave-not-in-string-or-comment-p): Rename to
10205 octave-in-string-or-comment-p.
10206 (octave-in-comment-p, octave-in-string-p)
10207 (octave-in-string-or-comment-p): Replace defsubst with defun.
10208
10209 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10210
10211 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10212
10213 2013-04-25 Bastien Guerry <bzg@gnu.org>
10214
10215 * textmodes/remember.el (remember-data-directory)
10216 (remember-directory-file-name-format): Fix custom types.
10217
10218 2013-04-25 Leo Liu <sdl.web@gmail.com>
10219
10220 * progmodes/octave.el (octave-completion-at-point-function):
10221 Make use of inferior octave process.
10222 (octave-initialize-completions): Remove.
10223 (inferior-octave-completion-table): New function.
10224 (inferior-octave-completion-at-point): Use it.
10225 (octave-completion-alist): Remove.
10226
10227 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10228
10229 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10230 (opascal-mode-syntax-table): New var.
10231 (opascal-literal-kind, opascal-is-literal-end)
10232 (opascal-literal-token-at): Rewrite.
10233 (opascal--literal-start-re, opascal-font-lock-keywords)
10234 (opascal--syntax-propertize): New constants.
10235 (opascal-font-lock-defaults): Adjust.
10236 (opascal-mode): Use them. Set comment-<foo> variables as well.
10237 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10238 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10239 (delphi-other-face, opascal-other-face): Remove face variables.
10240 (opascal-save-state): Remove macro.
10241 (opascal-fontifying-progress-step): Remove constant.
10242 (opascal--ignore-changes): Remove var.
10243 (opascal-set-token-property, opascal-parse-next-literal)
10244 (opascal-is-stable-literal, opascal-complete-literal)
10245 (opascal-is-literal-start, opascal-face-of)
10246 (opascal-parse-region, opascal-parse-region-until-stable)
10247 (opascal-fontify-region, opascal-after-change)
10248 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10249 (opascal-debug-parse-region, opascal-debug-parse-window)
10250 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10251 (opascal-debug-fontify-buffer): Remove.
10252 (opascal-debug-mode-map): Adjust accordingly.
10253
10254 2013-04-25 Leo Liu <sdl.web@gmail.com>
10255
10256 Merge octave-mod.el and octave-inf.el into octave.el with some
10257 cleanups.
10258 * progmodes/octave.el: New file renamed from octave-mod.el.
10259 * progmodes/octave-inf.el: Merged into octave.el.
10260 * progmodes/octave-mod.el: Renamed to octave.el.
10261
10262 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10263
10264 * textmodes/reftex-vars.el
10265 (reftex-label-ignored-macros-and-environments): New defcustom.
10266
10267 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10268
10269 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10270
10271 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10272 (smie-indent-keyword): Improve the check to ensure that the next
10273 comment is really on the same line.
10274 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10275
10276 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10277 semi-colons if the line is not otherwise empty (bug#14218).
10278
10279 2013-04-25 Glenn Morris <rgm@gnu.org>
10280
10281 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10282
10283 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * progmodes/opascal.el (opascal-set-token-property): Rename from
10286 opascal-set-text-properties and only set `token' (bug#14134).
10287 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10288 (opascal-literal-text-properties): Remove.
10289 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10290 Adjust callers.
10291
10292 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10293
10294 * textmodes/remember.el (remember-handler-functions): Add an
10295 option for a new handler `remember-store-in-files'.
10296 (remember-data-directory, remember-directory-file-name-format):
10297 New options.
10298 (remember-store-in-files): New function to store remember notes
10299 as separate files within a directory.
10300
10301 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10302
10303 * progmodes/compile.el (compilation-next-error-function):
10304 Pass "formats" to compilation-find-file (bug#11777).
10305
10306 2013-04-24 Glenn Morris <rgm@gnu.org>
10307
10308 * vc/vc-bzr.el (vc-bzr-print-log):
10309 * vc/vc-hg.el (vc-hg-print-log):
10310 * vc/vc-svn.el (vc-svn-print-log):
10311 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10312
10313 * vc/vc-bzr.el (vc-bzr-print-log):
10314 * vc/vc-cvs.el (vc-cvs-print-log):
10315 * vc/vc-git.el (vc-git-print-log):
10316 * vc/vc-hg.el (vc-hg-print-log):
10317 * vc/vc-mtn.el (vc-mtn-print-log):
10318 * vc/vc-rcs.el (vc-rcs-print-log):
10319 * vc/vc-sccs.el (vc-sccs-print-log):
10320 * vc/vc-svn.el (vc-svn-print-log):
10321 * vc/vc.el (vc-print-log-internal): Doc fixes.
10322
10323 2013-04-23 Glenn Morris <rgm@gnu.org>
10324
10325 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10326 Remove venerable code attempting to avoid substitute-command-keys.
10327
10328 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10329
10330 * textmodes/reftex-vars.el (reftex-label-regexps):
10331 Call `reftex-compile-variables' after changes to this variable.
10332
10333 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10334
10335 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10336 Use lexical-binding.
10337 (jit-lock-force-redisplay): Use markers, check buffer's continued
10338 existence and beware narrowed buffers.
10339 (jit-lock-fontify-now): Adjust call accordingly.
10340
10341 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10344 to avoid misleading the user.
10345
10346 2013-04-22 Leo Liu <sdl.web@gmail.com>
10347
10348 * info-look.el: Prefer latex2e.info. (Bug#14240)
10349
10350 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10351
10352 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10353
10354 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10355 * net/tramp.el (tramp-call-process): ... here.
10356 (tramp-set-completion-function, tramp-parse-putty):
10357 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10358 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10359 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10360 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10361 (tramp-call-local-coding-command): Use `tramp-call-process'
10362 instead of `tramp-compat-call-process'.
10363
10364 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10365 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10366 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10367 (tramp-find-inline-compress): Improve traces.
10368 (tramp-maybe-send-script): Check for Perl binary.
10369 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10370
10371 2013-04-22 Daiki Ueno <ueno@gnu.org>
10372
10373 * epg.el (epg-context-pinentry-mode): New function.
10374 (epg-context-set-pinentry-mode): New function.
10375 (epg--start): Pass --pinentry-mode option to gpg command.
10376
10377 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10378
10379 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10380 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10381 `completion-at-point'. (Bug#13774)
10382
10383 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10384 default key binding for `describe-distribution' has been moved to
10385 `C-h C-o'. (Bug#13970)
10386
10387 2013-04-21 Glenn Morris <rgm@gnu.org>
10388
10389 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10390 Add doc strings.
10391 (vc-print-log): Clarify interactive prompt.
10392
10393 2013-04-20 Glenn Morris <rgm@gnu.org>
10394
10395 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10396 No longer include timestamp etc information.
10397
10398 2013-04-20 Roland Winkler <winkler@gnu.org>
10399
10400 * faces.el (read-face-name): Bug fix, return just one face if arg
10401 multiple is nil. (Bug#14209)
10402
10403 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10406 (remove-function): Autoload.
10407
10408 * comint.el (comint-redirect-original-filter-function): Remove.
10409 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10410 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10411 (vc-cvs-annotate-command):
10412 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10413 * progmodes/prolog.el (prolog-consult-compile):
10414 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10415 Use add/remove-function instead.
10416 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10417 (gud-tooltip-process-output, gud-tooltip-tips):
10418 Use add/remove-function instead.
10419 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10420 (scheme-interaction-mode, exit-scheme-interaction-mode):
10421 Use add/remove-function instead.
10422
10423 * vc/vc-dispatcher.el: Use lexical-binding.
10424 (vc--process-sentinel): Rename from vc-process-sentinel.
10425 Change last arg to be the code to run. Don't use vc-previous-sentinel
10426 and vc-sentinel-commands any more.
10427 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10428 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10429
10430 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10431
10432 * progmodes/sh-script.el (sh-imenu-generic-expression):
10433 Handle function names with a single character. (Bug#14111)
10434
10435 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10436
10437 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10438 for subroutines defined in an eval (bug#14182).
10439
10440 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10441
10442 * bookmark.el (bookmark-completing-read): Improve handling of empty
10443 string (bug#14176).
10444
10445 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10448
10449 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10450
10451 New faster Imenu implementation (bug#14058).
10452 * progmodes/python.el:
10453 (python-imenu-prev-index-position):
10454 (python-imenu-format-item-label-function)
10455 (python-imenu-format-parent-item-label-function)
10456 (python-imenu-format-parent-item-jump-label-function):
10457 New vars.
10458 (python-imenu-format-item-label)
10459 (python-imenu-format-parent-item-label)
10460 (python-imenu-format-parent-item-jump-label)
10461 (python-imenu--put-parent, python-imenu--build-tree)
10462 (python-imenu-create-index, python-imenu-create-flat-index)
10463 (python-util-popn): New functions.
10464 (python-mode): Set imenu-create-index-function to
10465 python-imenu-create-index.
10466
10467 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * winner.el (winner-active-region): Use region-active-p, activate-mark
10470 and deactivate-mark (bug#14225).
10471
10472 * simple.el (deactivate-mark): Don't inline it.
10473
10474 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10475
10476 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10477
10478 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10479
10480 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10481 file extensions from the archive-mode entry in order to prefer
10482 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10483
10484 2013-04-18 Leo Liu <sdl.web@gmail.com>
10485
10486 * bindings.el (help-event-list): Add ?\?.
10487
10488 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10489
10490 * subr.el (with-wrapper-hook): Declare obsolete.
10491 * simple.el (filter-buffer-substring-function): New hook.
10492 (filter-buffer-substring): Use it.
10493 (filter-buffer-substring-functions): Mark obsolete.
10494 * minibuffer.el (completion-in-region-function): New hook.
10495 (completion-in-region): Use it.
10496 (completion-in-region-functions): Mark obsolete.
10497 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10498 * abbrev.el (abbrev-expand-function): New hook.
10499 (expand-abbrev): Use it.
10500 (abbrev-expand-functions): Mark obsolete.
10501 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10502 and :filter-return.
10503
10504 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10505
10506 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10507 and do not care about match data.
10508
10509 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10510
10511 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10512 completion tables when completing error conditions and
10513 `declare' arguments.
10514 (lisp-complete-symbol, field-complete): Mark as obsolete.
10515 (check-parens): Unmatched parens are user errors.
10516 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10517
10518 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10519
10520 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10521 command changed buffer (ie. `flyspell-pre-buffer' is not current
10522 buffer), which prevents making decisions based on invalid value of
10523 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10524 cause an error when `flyspell-pre-point' was nil after switching
10525 buffers.
10526 (flyspell-post-command-hook): No longer needs to change buffers when
10527 checking pre-word. While at it remove unnecessary progn.
10528
10529 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10530
10531 * textmodes/ispell.el (ispell-add-per-file-word-list):
10532 Fix `flyspell-correct-word-before-point' error when accepting
10533 words and `coment-padding' is an integer by using
10534 `comment-normalize-vars' (Bug #14214).
10535
10536 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10537
10538 New defun movement commands.
10539 * progmodes/python.el (python-nav--syntactically)
10540 (python-nav--forward-defun, python-nav-backward-defun)
10541 (python-nav-forward-defun): New functions.
10542
10543 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10544
10545 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10546 (python-syntax-context): Use named compiler-macro for backwards
10547 compatibility with Emacs 24.x.
10548
10549 2013-04-17 Leo Liu <sdl.web@gmail.com>
10550
10551 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10552 octave-hide-process-buffer.
10553
10554 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10557 (bug#14216).
10558
10559 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10560
10561 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10562 Fix adjustment of offset when receiving incomplete responses from GDB
10563 (bug#14129).
10564
10565 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10566
10567 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10568 python-mode-abbrev-table.
10569 (python-skeleton-define): Adjust accordingly.
10570 (python-mode-abbrev-table): New table that inherits from it so that
10571 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10572
10573 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10574 (abbrev-symbol): Use it.
10575 (abbrev--before-point): Use it since we already handle inheritance.
10576
10577 2013-04-16 Leo Liu <sdl.web@gmail.com>
10578
10579 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10580 binding to info-lookup-symbol.
10581
10582 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10583
10584 * minibuffer.el (completion--twq-all):
10585 * term/ns-win.el (ns-initialize-window-system):
10586 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10587
10588 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10591 global bindings.
10592
10593 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10594
10595 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10596
10597 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10598 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10599 to nil.
10600 (ruby-end-of-defun): Remove the unused arg, change the docstring
10601 to reflect that this function is only used as the value of
10602 `end-of-defun-function'.
10603 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10604 to reflect an earlier change that beginning/end-of-defun functions
10605 jump between methods in a class definition, as well as top-level
10606 functions.
10607
10608 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * minibuffer.el (minibuffer-complete): Don't just scroll
10611 a *Completions* that's been iconified.
10612 (minibuffer-force-complete): Make sure repetitions do cycle when going
10613 through completion-in-region -> minibuffer-complete.
10614
10615 2013-04-15 Alan Mackenzie <acm@muc.de>
10616
10617 Correct the placement of c-cpp-delimiters when there're #s not at
10618 col 0.
10619
10620 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10621 place a submatch around the #.
10622 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10623 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10624 on the #, not BOL.
10625
10626 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10627
10628 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10629 (advice--member-p): New arg `name'.
10630 (advice--add-function, advice-member-p): Use it (bug#14202).
10631
10632 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10633
10634 Reformulate java imenu-generic-expression.
10635 The old expression contained ill formed regexps.
10636
10637 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10638 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10639 (cc-imenu-java-method-arg-regexp): New defconsts.
10640 (cc-imenu-java-build-type-args-regex): New defun.
10641 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10642 handling of spaces in the regexp.
10643
10644 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10645
10646 * textmodes/ispell.el (ispell-command-loop): Remove
10647 flyspell highlight of a word when ispell accepts it (bug #14178).
10648
10649 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10650
10651 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10652 uses code from the previous `ange-ftp-run-real-handler'.
10653 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10654 only in case that function exist. This is needed for proper
10655 unloading of Tramp.
10656
10657 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10658
10659 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10660
10661 * textmodes/reftex.el (reftex-compile-variables): Use it.
10662
10663 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * files.el (normal-mode): Only use default major-mode if no other mode
10666 was specified.
10667
10668 * emacs-lisp/trace.el (trace-values): New function.
10669
10670 * files.el: Allow : in local variables (bug#14089).
10671 (hack-local-variable-regexp): New var.
10672 (hack-local-variables-prop-line, hack-local-variables): Use it.
10673
10674 2013-04-13 Roland Winkler <winkler@gnu.org>
10675
10676 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10677 data before it gets modified by bibtex-beginning-of-entry.
10678
10679 2013-04-13 Roland Winkler <winkler@gnu.org>
10680
10681 * textmodes/bibtex.el (bibtex-url): Doc fix.
10682
10683 2013-04-13 Roland Winkler <winkler@gnu.org>
10684
10685 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10686 does not visit a BibTeX file, exclude it from the list of buffers
10687 returned by bibtex-initialize.
10688
10689 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10690
10691 * window.el (split-window): Remove interactive form, since as a
10692 command this function is a special case of split-window-below.
10693 Correct doc string.
10694
10695 2013-04-12 Roland Winkler <winkler@gnu.org>
10696
10697 * faces.el (read-face-name): Do not override value of arg default.
10698 Allow single faces and strings as default values. Remove those
10699 elements from return value that are not faces.
10700 (describe-face): Simplify.
10701 (face-at-point): New optional args thing and multiple so that this
10702 function can provide the same functionality previously provided by
10703 read-face-name.
10704 (make-face-bold, make-face-unbold, make-face-italic)
10705 (make-face-unitalic, make-face-bold-italic, invert-face)
10706 (modify-face, read-face-and-attribute): Use face-at-point.
10707
10708 * cus-edit.el (customize-face, customize-face-other-window)
10709 * cus-theme.el (custom-theme-add-face)
10710 * face-remap.el (buffer-face-set)
10711 * facemenu.el (facemenu-set-face): Use face-at-point.
10712
10713 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10714
10715 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10716
10717 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10718
10719 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10720 off leading { and trailing } from field values.
10721
10722 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10723
10724 * emacs-lisp/timer.el (timer--check): New function.
10725 (timer--time, timer-set-function, timer-event-handler): Use it.
10726 (timer-set-idle-time): Simplify.
10727 (timer--activate): CSE.
10728 (timer-event-handler): Give more info in error message.
10729 (internal-timer-start-idle): New function, moved from C.
10730
10731 * mpc.el (mpc-proc): Add `restart' argument.
10732 (mpc-proc-cmd): Use it.
10733 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10734 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10735 less often.
10736
10737 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10738
10739 * progmodes/sh-script.el: Implement `sh-mode' own
10740 `add-log-current-defun-function' (bug#14112).
10741 (sh-current-defun-name): New function.
10742 (sh-mode): Use the function.
10743
10744 2013-04-09 Bastien Guerry <bzg@gnu.org>
10745
10746 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10747
10748 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10749
10750 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10751
10752 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10753 timer (bug#14156).
10754
10755 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10756
10757 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10758 declaration.
10759
10760 2013-04-07 Leo Liu <sdl.web@gmail.com>
10761
10762 * pcmpl-x.el: New file.
10763
10764 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10765
10766 Do not set x-display-name until X connection is established.
10767 This is needed to prevent from weird situation described at
10768 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10769 * frame.el (make-frame): Set x-display-name after call to
10770 window system initialization function, not before.
10771 * term/x-win.el (x-initialize-window-system): Add optional
10772 display argument and use it.
10773 * term/w32-win.el (w32-initialize-window-system):
10774 * term/ns-win.el (ns-initialize-window-system):
10775 * term/pc-win.el (msdos-initialize-window-system):
10776 Add compatible optional display argument.
10777
10778 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10779
10780 * files.el (normal-backup-enable-predicate): On MS-Windows and
10781 MS-DOS compare truenames of temporary-file-directory and of the
10782 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10783 don't fail comparison by compare-strings. Also, compare file
10784 names case-insensitively on MS-Windows and MS-DOS.
10785
10786 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10787
10788 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10789 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10790
10791 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10792
10793 * whitespace.el (whitespace-color-on, whitespace-color-off):
10794 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10795
10796 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10797
10798 * ispell.el (ispell-set-spellchecker-params):
10799 Really set `ispell-args' for all equivs.
10800
10801 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10802
10803 * ido.el (ido-completions): Use extra elements of ido-decorations
10804 (bug#14143).
10805 (ido-decorations): Update docstring.
10806
10807 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10808
10809 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10810 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10811 nil during initialization, in order not to miss changes since the
10812 file was opened. (Bug#14140)
10813
10814 2013-04-05 Leo Liu <sdl.web@gmail.com>
10815
10816 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10817
10818 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10819
10820 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10821
10822 2013-04-04 Glenn Morris <rgm@gnu.org>
10823
10824 * electric.el (electric-pair-inhibit-predicate): Add :version.
10825
10826 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10827
10828 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10829 when a package is required several times (bug#14082).
10830
10831 2013-04-04 Roland Winkler <winkler@gnu.org>
10832
10833 * faces.el (read-face-name): Behave as promised by the docstring.
10834 Assume that arg default is a list of faces.
10835 (describe-face): Call read-face-name with list of default faces.
10836
10837 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10838
10839 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10840 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10841 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10842 the header.
10843 (bookmark-exit-hook-internal): Save even if list is empty.
10844
10845 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10846
10847 * emacs-lisp/package.el (package-pinned-packages): New var.
10848 (package--add-to-archive-contents): Obey it (bug#14118).
10849
10850 2013-04-03 Alan Mackenzie <acm@muc.de>
10851
10852 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10853 Also adapt to the new values of element 7 of a parse state.
10854
10855 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10856 parameter `not-in-delimiter'. Handle being inside comment opener.
10857 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10858 character in case we're typing a '*' after a '/'.
10859 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10860 instead by passing the parameter to c-state-pp-to-literal.
10861
10862 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10863 for elt. 7 of a parse state.
10864
10865 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10866
10867 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10868 * international/latin1-disp.el, international/mule-util.el:
10869 * language/cyril-util.el, language/european.el, language/ind-util.el:
10870 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10871 * language/tibetan.el, language/viet-util.el:
10872 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10873
10874 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10877 (electric-pair-post-self-insert-function): Use it.
10878 (electric-pair-default-inhibit): New function, extracted from
10879 electric-pair-post-self-insert-function.
10880
10881 2013-03-31 Roland Winkler <winkler@gnu.org>
10882
10883 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10884
10885 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10886
10887 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10888
10889 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10890
10891 Un-indent after "pass" and "return" statements (Bug#13888)
10892 * progmodes/python.el (python-indent-block-enders): New var.
10893 (python-indent-calculate-indentation): Use it.
10894
10895 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10896
10897 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10898 defun. Defining it as defalias could introduce too eager
10899 byte-compiler optimization. (Bug#14030)
10900
10901 2013-03-30 Chong Yidong <cyd@gnu.org>
10902
10903 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10904
10905 2013-03-30 Leo Liu <sdl.web@gmail.com>
10906
10907 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10908 (kmacro-execute-from-register): Pass the keyboard macro to
10909 kmacro-call-macro or repeating won't work correctly.
10910
10911 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10912
10913 * progmodes/subword.el: Back to using `forward-symbol'.
10914
10915 * subr.el (forward-whitespace, forward-symbol)
10916 (forward-same-syntax): Move from thingatpt.el.
10917
10918 2013-03-29 Leo Liu <sdl.web@gmail.com>
10919
10920 * kmacro.el (kmacro-to-register): New command.
10921 (kmacro-execute-from-register): New function.
10922 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10923
10924 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10925
10926 * mpc.el: Use defvar-local and setq-local.
10927 (mpc--proc-connect): Connection failures are not bugs.
10928 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10929 (mpc-volume-map): Bind to the up-events.
10930
10931 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10932
10933 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10934 instead of `forward-symbol'.
10935
10936 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10939 (edebug--recursive-edit): Use it.
10940 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10941 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10942
10943 2013-03-28 Leo Liu <sdl.web@gmail.com>
10944
10945 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10946
10947 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10948
10949 * facemenu.el (list-colors-callback): New defvar.
10950 (list-colors-redisplay): New function.
10951 (list-colors-display): Install list-colors-redisplay as the
10952 revert-buffer-function. (Bug#14063)
10953
10954 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10957 and suffixes don't overlap (bug#14061).
10958
10959 * case-table.el: Use lexical-binding.
10960 (case-table-get-table): New function.
10961 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10962
10963 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10964
10965 * progmodes/subword.el: Add `superword-mode' to do word motion
10966 over symbol_words (parallels and leverages `subword-mode' which
10967 does word motion inside MixedCaseWords).
10968
10969 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10970
10971 * eshell/em-unix.el: Move su and sudo to...
10972 * eshell/em-tramp.el: ...Eshell tramp module.
10973
10974 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10975
10976 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10977 Change return value to be a sexp. Delay `get-buffer' to after
10978 restoring the desktop (bug#13951).
10979
10980 2013-03-26 Leo Liu <sdl.web@gmail.com>
10981
10982 * register.el: Move semantic tag handling back to
10983 cedet/semantic/senator.el. (Bug#14052)
10984
10985 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10986
10987 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10988 into the prompt either (bug#13963).
10989
10990 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10993 part of "(error-foo)".
10994
10995 2013-03-24 Juri Linkov <juri@jurta.org>
10996
10997 * replace.el (list-matching-lines-prefix-face): New defcustom.
10998 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10999 `occur-engine' if `face-differs-from-default-p' returns t.
11000 (occur-engine): Add `,' inside backquote construct to evaluate
11001 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11002 Pass `prefix-face' to the functions `occur-context-lines' and
11003 `occur-engine-add-prefix'.
11004 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11005 `prefix-face' and propertize the prefix with `prefix-face'.
11006 (Bug#14017)
11007
11008 2013-03-24 Leo Liu <sdl.web@gmail.com>
11009
11010 * nxml/rng-valid.el (rng-validate-while-idle)
11011 (rng-validate-quick-while-idle): Guard against deleted buffer.
11012 (Bug#13999)
11013
11014 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11015 is the last entry in kill-buffer-hook.
11016
11017 * files.el (kill-buffer-hook): Doc fix.
11018
11019 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11020
11021 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11022 Make it safe-local.
11023
11024 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11025
11026 2013-03-23 Leo Liu <sdl.web@gmail.com>
11027
11028 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11029 Remove.
11030
11031 * nxml/rng-valid.el (rng-validate-mode)
11032 (rng-after-change-function, rng-do-some-validation):
11033 * nxml/rng-maint.el (rng-validate-buffer):
11034 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11035 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11036 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11037 (nxml-extend-after-change-region): Use with-silent-modifications.
11038
11039 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11040 timer-idle-list.
11041
11042 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11043 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11044 timer-idle-list. (Bug#13999)
11045
11046 2013-03-23 Juri Linkov <juri@jurta.org>
11047
11048 * info.el (info-index-match): New face.
11049 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11050 main pattern and add text properties with the new face to matches
11051 in index entries relative to the beginning of the index entry.
11052 (Bug#14015)
11053
11054 2013-03-21 Eric Ludlam <zappo@gnu.org>
11055
11056 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11057 Inhibit read only while inserting objects.
11058
11059 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11060
11061 * progmodes/cfengine.el: Update docs to mention
11062 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11063 symbol motion. Remove "_" from the word syntax.
11064
11065 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11066
11067 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11068 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11069
11070 2013-03-20 Juri Linkov <juri@jurta.org>
11071
11072 * info.el (Info-next-reference-or-link)
11073 (Info-prev-reference-or-link): New functions.
11074 (Info-next-reference, Info-prev-reference): Use them.
11075 (Info-try-follow-nearest-node): Handle footnote navigation.
11076 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11077
11078 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11081 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11082
11083 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11084
11085 Suppress unnecessary non-ASCII chatter during build process.
11086 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11087 (batch-skkdic-convert): Suppress most of the chatter.
11088 It's not needed so much now that machines are faster,
11089 and its non-ASCII component was confusing; see Dmitry Gutov in
11090 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11091
11092 2013-03-20 Leo Liu <sdl.web@gmail.com>
11093
11094 * ido.el (ido-chop): Fix bug#10994.
11095
11096 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11097
11098 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11099 Remove vars.
11100 (whitespace-color-on, whitespace-color-off):
11101 Use `font-lock-fontify-buffer' (Bug#13817).
11102
11103 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11104
11105 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11106 remapping in mode-line.
11107 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11108
11109 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11110
11111 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11112 value for `whitespace-line' face (Bug#13875).
11113 (whitespace-font-lock-keywords): Change description.
11114 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11115 the constructed keywords instead.
11116 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11117
11118 2013-03-19 Leo Liu <sdl.web@gmail.com>
11119
11120 * progmodes/compile.el (compilation-display-error): New command.
11121 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11122 C-o. (Bug#13992)
11123
11124 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11125
11126 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11127
11128 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11129
11130 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11131
11132 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11133
11134 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11135
11136 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11137 * net/tramp-gvfs.el (top):
11138 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11139 (tramp-handle-shell-command): Use it.
11140 (tramp-dissect-file-name): Raise an error when hostname is a
11141 method name, and neither method nor user is specified.
11142
11143 * net/trampver.el: Update release number.
11144
11145 2013-03-18 Leo Liu <sdl.web@gmail.com>
11146
11147 Make sure eldoc can be turned off properly.
11148 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11149 eldoc-mode.
11150 (eldoc-display-message-p): Revert last change.
11151 (eldoc-display-message-no-interference-p)
11152 (eldoc-print-current-symbol-info): Tweak.
11153
11154 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11155
11156 * doc-view.el (doc-view-new-window-function): Check the new window
11157 overlay's display property instead the char property of the
11158 buffer's first char. Use `with-selected-window' instead of
11159 `save-window-excursion' with `select-window'.
11160 (doc-view-document->bitmap): Check the current doc-view overlay's
11161 display property instead the char property of the buffer's first char.
11162
11163 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11164
11165 Automate the build of ja-dic.el (Bug#13984).
11166 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11167 from the input, rather than assume that it's been done for us by the
11168 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11169 the current date into a ja-dic.el comment, as that complicates
11170 regression testing.
11171
11172 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11173
11174 * whitespace.el: Fix double evaluation.
11175 (whitespace-space, whitespace-hspace, whitespace-tab)
11176 (whitespace-newline, whitespace-trailing, whitespace-line)
11177 (whitespace-space-before-tab, whitespace-indentation)
11178 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11179 obsolete defvars.
11180 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11181 (whitespace-color-on): Use a single font-lock-add-keywords call.
11182 Fix double-evaluation of face variables.
11183
11184 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11185
11186 * net/tramp-adb.el (tramp-adb-parse-device-names):
11187 Use `start-process' instead of `call-process'. Otherwise, the
11188 function might be blocked under MS Windows. (Bug#13299)
11189
11190 2013-03-17 Leo Liu <sdl.web@gmail.com>
11191
11192 Extend eldoc to display info in the mode-line. (Bug#13978)
11193 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11194 (eldoc-mode-line-string): New variable.
11195 (eldoc-minibuffer-message): New function.
11196 (eldoc-message-function): New variable.
11197 (eldoc-message): Use it.
11198 (eldoc-display-message-p)
11199 (eldoc-display-message-no-interference-p):
11200 Support eldoc-post-insert-mode.
11201
11202 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11203 (eval-expression): Run it.
11204
11205 2013-03-17 Roland Winkler <winkler@gnu.org>
11206
11207 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11208 strings in the list of return values.
11209
11210 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11211
11212 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11213 radix before checking for HMS forms.
11214
11215 2013-03-16 Leo Liu <sdl.web@gmail.com>
11216
11217 * progmodes/scheme.el: Add indentation and font-locking for λ.
11218 (Bug#13975)
11219
11220 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11223 token before point (bug#13942).
11224
11225 2013-03-16 Leo Liu <sdl.web@gmail.com>
11226
11227 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11228
11229 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11230
11231 * startup.el (command-line-normalize-file-name): Fix handling of
11232 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11233 <xfq.free@gmail.com> in
11234 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11235
11236 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11237
11238 Sync with Tramp 2.2.7.
11239
11240 * net/trampver.el: Update release number.
11241
11242 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11243
11244 * doc-view.el: Fix bug#13887.
11245 (doc-view-insert-image): Don't modify overlay associated to
11246 non-live windows, and implement horizontal centering of image in
11247 case it's smaller than the window.
11248 (doc-view-new-window-function): Force redisplay of new windows on
11249 doc-view buffers.
11250
11251 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11252
11253 * saveplace.el (save-place-alist-to-file): Don't sort
11254 `save-place-alist', just pretty-print it (bug#13882).
11255
11256 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11257
11258 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11259 Check whether `default-file-name-coding-system' is bound.
11260 It isn't in XEmacs.
11261
11262 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11265 backquotes for `obsolete' (bug#13929).
11266
11267 * international/mule.el (find-auto-coding): Include file name in
11268 obsolescence warning (bug#13922).
11269
11270 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11271
11272 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11273 for CFEngine 3-specific indentation.
11274 (cfengine3-indent-line): Use it. Fix up category regex.
11275 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11276
11277 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11278
11279 * type-break.el (type-break-file-name):
11280 * textmodes/remember.el (remember-data-file):
11281 * strokes.el (strokes-file):
11282 * shadowfile.el (shadow-initialize):
11283 * saveplace.el (save-place-file):
11284 * ps-bdf.el (bdf-cache-file):
11285 * progmodes/idlwave.el (idlwave-config-directory):
11286 * net/quickurl.el (quickurl-url-file):
11287 * international/kkc.el (kkc-init-file-name):
11288 * ido.el (ido-save-directory-list-file):
11289 * emulation/viper.el (viper-custom-file-name):
11290 * emulation/vip.el (vip-startup-file):
11291 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11292 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11293
11294 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11295
11296 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11297 * language/thai-word.el: Switch to UTF-8.
11298
11299 See ChangeLog.16 for earlier changes.
11300
11301 ;; Local Variables:
11302 ;; coding: utf-8
11303 ;; End:
11304
11305 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11306
11307 This file is part of GNU Emacs.
11308
11309 GNU Emacs is free software: you can redistribute it and/or modify
11310 it under the terms of the GNU General Public License as published by
11311 the Free Software Foundation, either version 3 of the License, or
11312 (at your option) any later version.
11313
11314 GNU Emacs is distributed in the hope that it will be useful,
11315 but WITHOUT ANY WARRANTY; without even the implied warranty of
11316 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11317 GNU General Public License for more details.
11318
11319 You should have received a copy of the GNU General Public License
11320 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.