* lisp/isearch.el (isearch-mode-map): Remove [escape] key bindinds.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-16 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4 (Bug#16035)
5 (isearch-pre-command-hook): Check `this-command' for symbolp.
6
7 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
10
11 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
12
13 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14 (cfengine3--current-function): Bring in the current-function
15 functionality from `cfengine3--current-word'.
16 (cfengine3-completion-function): Bring in the
17 bounds-of-current-word functionality from
18 `cfengine3--current-word'.
19
20 2013-12-16 Martin Rudalics <rudalics@gmx.at>
21
22 * window.el (display-buffer-below-selected):
23 Bind split-height-threshold to 0 as suggested by Juri Linkov.
24
25 2013-12-16 Leo Liu <sdl.web@gmail.com>
26
27 * progmodes/compile.el (compile-goto-error): Do not push-mark.
28 Remove NOMSG arg and all uses changed.
29
30 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
33 (cua--deactivate-rectangle): Don't deactivate the mark.
34 (cua-set-rectangle-mark): Don't set mark-active since
35 cua--activate-rectangle already does it for us.
36 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
37 non-rectangular region.
38
39 * emulation/cua-base.el (cua-repeat-replace-region):
40 Use with-current-buffer.
41
42 * net/gnutls.el: Use cl-lib.
43 (gnutls-negotiate): `mapcan' -> cl-mapcan.
44
45 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
46
47 * emacs-lisp/package.el (package-built-in-p): Support both
48 built-in and the package.el converted package descriptions.
49 (package-show-package-list): Allow keywords.
50 (package-keyword-button-action): Use it instead of
51 `finder-list-matches'.
52 (package-menu-filter-interactive): Interactive filtering (by
53 keyword) function.
54 (package-menu--generate): Support keywords and change keymappings
55 and headers when they are given.
56 (package--has-keyword-p): Helper function.
57 (package-menu--refresh): Use it.
58 (package--mapc): Helper function.
59 (package-all-keywords): Use it.
60 (package-menu-mode-map): Set up menu items and keybindings to
61 provide a filtering UI.
62
63 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
64
65 * net/gnutls.el (gnutls-verify-error): New defcustom to control
66 the behavior when a certificate fails validation. Defaults to
67 old behavior: never abort, just warn.
68 (gnutls-negotiate): Use it.
69
70 2013-12-14 Martin Rudalics <rudalics@gmx.at>
71
72 * window.el (display-buffer-below-selected): Never split window
73 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
74
75 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
76
77 * emacs-lisp/package.el (package--prepare-dependencies): New function.
78 (package-buffer-info): Use it (bug#15108).
79
80 * icomplete.el (icomplete-completions): Make sure the prefix is already
81 displayed elsewhere before hiding it.
82
83 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
84
85 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
86 open-paren tokens when preceded by a open-paren, too.
87 (ruby-smie-rules): Handle virtual indentation after open-paren
88 tokens specially. If there is code between it and eol, return the
89 column where is starts (Bug#16118).
90
91 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
92
93 * progmodes/cfengine.el: Fix `add-hook' doc.
94 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
95 (cfengine3--current-word): Fix parameters.
96 (cfengine3-make-syntax-cache): Simplify further.
97 (cfengine3-completion-function, cfengine3--current-function):
98 Use `assq' for symbols.
99 (cfengine3--current-function): Fix `cfengine3--current-word' call.
100
101 2013-12-13 Glenn Morris <rgm@gnu.org>
102
103 * loadup.el (load-path): Warn if site-load or site-init changes it.
104 No more need to reset it when bootstrapping.
105
106 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
107
108 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
109 locations for cf-promises.
110 (cfengine-mode-syntax-functions-regex): New caching variable.
111 (cfengine3-fallback-syntax): Fallback syntax for cases where
112 cf-promises doesn't run.
113 (cfengine3--current-word): Reimplement using
114 `cfengine-mode-syntax-functions-regex'.
115 (cfengine3-completion-function, cfengine3--current-function):
116 Use `cfengine3-make-syntax-cache' directly.
117 (cfengine3-clear-syntax-cache): New function.
118 (cfengine3-make-syntax-cache): Simplify and create
119 `cfengine-mode-syntax-functions-regex' on demand.
120 (cfengine3-format-function-docstring): Don't call
121 `cfengine3-make-syntax-cache' explicitly.
122
123 2013-12-13 Martin Rudalics <rudalics@gmx.at>
124
125 Fix windmove-find-other-window broken after pixelwise resizing
126 (Bug#16017).
127 * windmove.el (windmove-other-window-loc): Revert change from
128 2013-12-04.
129 (windmove-find-other-window): Call window-in-direction.
130 * window.el (window-in-direction): New arguments SIGN, WRAP and
131 MINI to emulate original windmove-find-other-window behavior.
132
133 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
134
135 * simple.el (blink-matching--overlay): New variable.
136 (blink-matching-open): Instead of moving point, highlight the
137 matching paren with an overlay
138 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
139
140 * faces.el (paren-showing-faces, show-paren-match)
141 (show-paren-mismatch): Move from paren.el.
142
143 2013-12-13 Leo Liu <sdl.web@gmail.com>
144
145 * indent.el (indent-region): Disable progress reporter in
146 minibuffer. (Bug#16108)
147
148 * bindings.el (visual-order-cursor-movement): Fix version.
149
150 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
151
152 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
153 Also match after beginning of line.
154 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
155 files. Thanks to Russell Sim. (Bug#15378)
156
157 2013-12-13 Juri Linkov <juri@jurta.org>
158
159 * simple.el <Keypad support>: Remove key bindings duplicated
160 with bindings.el. (Bug#14397)
161
162 2013-12-13 Juri Linkov <juri@jurta.org>
163
164 * comint.el (comint-mode-map): Replace `delete-char' with
165 `delete-forward-char'. (Bug#16109)
166
167 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
168
169 * progmodes/python.el (python-indent-calculate-indentation):
170 Fix de-denters cornercase. (Bug#15731)
171
172 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
173
174 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
175 (advice--make): Pay attention to `depth'.
176 (advice--make-1): Don't autoload commands eagerly.
177 * emacs-lisp/elp.el (elp-instrument-function):
178 * emacs-lisp/trace.el (trace-function-internal):
179 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
180
181 * iswitchb.el (iswitchb-mode): Don't belittle ido.
182
183 2013-12-12 Eli Zaretskii <eliz@gnu.org>
184
185 * term/w32-win.el (w32-handle-dropped-file):
186 * startup.el (normal-top-level):
187 * net/browse-url.el (browse-url-file-url):
188 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
189 decode file names using 'utf-8' rather than
190 file-name-coding-system.
191
192 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
193
194 * progmodes/python.el (python-indent-context)
195 (python-indent-calculate-indentation): Fix auto-identation
196 behavior for comment blocks. (Bug#15916)
197
198 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
199
200 * progmodes/python.el (python-indent-calculate-indentation):
201 When determining indentation, don't treat "return", "pass", etc., as
202 operators when they are just string constituents. (Bug#15812)
203
204 2013-12-12 Juri Linkov <juri@jurta.org>
205
206 * uniquify.el (uniquify-buffer-name-style): Change default to
207 `post-forward-angle-brackets'.
208
209 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
210 `uniquify'. Change default to `post-forward-angle-brackets'.
211
212 2013-12-11 Glenn Morris <rgm@gnu.org>
213
214 * emacs-lisp/package.el (finder-list-matches):
215 Autoload rather than falsely declaring.
216
217 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
218
219 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
220 (eww-mode-map): Use them.
221
222 2013-12-11 Martin Rudalics <rudalics@gmx.at>
223
224 * window.el (display-buffer-in-side-window): Fix doc-string
225 (Bug#16115).
226
227 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
228
229 * vc/vc-git.el: Silence byte-compiler warnings.
230 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
231 (log-edit-set-header): Declare.
232
233 2013-12-11 Eli Zaretskii <eliz@gnu.org>
234
235 * Makefile.in (custom-deps, finder-data): Run output file names
236 through unmsys--file-name. (Bug#16099)
237
238 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
239
240 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
241 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
242
243 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
244 instead of deleting the selection "by hand" (bug#16098).
245 Rely on insert-for-yank to yank rectangles.
246 (cua-highlight-region-shift-only): Mark obsolete.
247 (cua-mode): Don't enable/disable transient-mark-mode,
248 shift-select-mode (cua-mode works both with and without them), and
249 pc-selection-mode (obsolete).
250 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
251 (cua--deactivate-rectangle): Deactivate it.
252
253 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
254 (delete-selection-helper): Make sure yank starts at the top of the
255 deleted region.
256 (minibuffer-keyboard-quit): Use region-active-p.
257
258 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
259
260 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
261 to `delete' (bug#16109).
262
263 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
264
265 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
266 info manual and show keybindings and set `:group' keyword.
267
268 2013-12-11 Juri Linkov <juri@jurta.org>
269
270 * delsel.el (delete-active-region): Let-bind `this-command'
271 to prevent `kill-region' from changing its original value.
272 (delete-selection-helper): Handle `overwrite-mode' for the type
273 `kill' exactly the same way as for the type `t'.
274 (insert-char, quoted-insert, reindent-then-newline-and-indent):
275 Support more commands. (Bug#13312)
276
277 2013-12-11 Juri Linkov <juri@jurta.org>
278
279 * bindings.el: Map kp keys to non-kp keys systematically
280 with basic modifiers control, meta and shift. (Bug#14397)
281
282 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
283
284 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
285 "Close browser" menu items. Fix wrong function of "List
286 bookmarks".
287
288 2013-12-11 Juri Linkov <juri@jurta.org>
289
290 * misearch.el (multi-isearch-buffers): Set the value of
291 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
292 arg of isearch-forward to t.
293 (multi-isearch-buffers-regexp): Set the value of
294 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
295 arg of isearch-forward-regexp to t.
296 (multi-isearch-files): Set the value of
297 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
298 arg of isearch-forward to t.
299 (multi-isearch-files-regexp): Set the value of
300 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
301 arg of isearch-forward-regexp to t. (Bug#16035)
302
303 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
304 arg of isearch-forward to t.
305 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
306 arg of isearch-forward-regexp to t.
307 (dired-isearch-filter-filenames): Remove unnecessary check for
308 `dired-isearch-filenames'.
309
310 * comint.el (comint-history-isearch-backward):
311 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
312 (comint-history-isearch-backward-regexp):
313 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
314
315 2013-12-10 Eli Zaretskii <eliz@gnu.org>
316
317 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
318 unmsys--file-name. (Bug#16099)
319
320 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
321
322 * emacs-lisp/package.el (package-keyword-button-action):
323 Remove finder.el require dependency.
324
325 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
326
327 * emacs-lisp/package.el: Require finder.el.
328 (describe-package-1): Add keyword buttons.
329 (package-make-button): New convenience function.
330 (package-keyword-button-action): Keyword button action using
331 `finder-list-matches'
332
333 2013-12-09 Eli Zaretskii <eliz@gnu.org>
334
335 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
336 last commit.
337
338 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
339
340 * autorevert.el (auto-revert-notify-add-watch): Do not handle
341 symlinked files.
342
343 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
344
345 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
346 after the end of a percent literal.
347
348 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
349
350 * progmodes/ruby-mode.el (ruby-forward-string): Document.
351 Handle caret-delimited strings (Bug#16079).
352
353 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
354
355 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
356 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
357 `ruby-parse-partial' (Bug#16078).
358
359 2013-12-09 Leo Liu <sdl.web@gmail.com>
360
361 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
362
363 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
364
365 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
366 (js-switch-indent-offset): New option.
367 (js--proper-indentation): Use it. And handle the case when
368 "default" is actually a key in an object literal.
369 (js--same-line): New function.
370 (js--multi-line-declaration-indentation): Use it.
371 (js--indent-in-array-comp, js--array-comp-indentation):
372 New functions.
373 (js--proper-indentation): Use them, to handle array comprehension
374 continuations.
375
376 2013-12-08 Leo Liu <sdl.web@gmail.com>
377
378 * progmodes/flymake.el (flymake-highlight-line): Re-write.
379 (flymake-make-overlay): Remove arg MOUSE-FACE.
380 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
381
382 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
385 New function.
386 (redisplay-highlight-region-function): Use it.
387
388 * emulation/cua-base.el (cua--explicit-region-start)
389 (cua--last-region-shifted): Remove.
390 (cua--deactivate): Use deactivate-mark.
391 (cua--pre-command-handler-1): Don't handle shift-selection.
392 (cua--post-command-handler-1): Don't change transient-mark-mode.
393 (cua--select-keymaps): Use region-active-p rather than
394 cua--explicit-region-start or cua--last-region-shifted.
395 (cua-mode): Enable shift-select-mode.
396
397 2013-12-08 Leo Liu <sdl.web@gmail.com>
398
399 * progmodes/flymake.el (flymake-popup-current-error-menu):
400 Rename from flymake-display-err-menu-for-current-line. Reimplement.
401 (flymake-posn-at-point-as-event, flymake-popup-menu)
402 (flymake-make-emacs-menu): Remove. (Bug#16077)
403
404 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
405
406 * rect.el (rectangle-mark-mode): Activate mark even if
407 transient-mark-mode is off (bug#16066).
408 (rectangle--highlight-for-redisplay): Fix boundary condition when point
409 is > mark and at bolp.
410
411 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
412 (region-extract-function): Use it.
413 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
414 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
415 Delete functions.
416 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
417 kill-ring-save, kill-region, delete-char, delete-forward-char.
418 Ignore self-insert-iso.
419
420 * emulation/cua-gmrk.el (cua--init-global-mark):
421 Ignore `self-insert-iso'.
422
423 * emulation/cua-base.el (cua--prefix-copy-handler)
424 (cua--prefix-cut-handler): Rely on region-extract-function rather than
425 checking cua--rectangle.
426 (cua-delete-region): Use region-extract-function.
427 (cua-replace-region): Delete function.
428 (cua-copy-region, cua-cut-region): Obey region-extract-function.
429 (cua--pre-command-handler-1): Don't do the delete-selection thing.
430 (cua--self-insert-char-p): Ignore `self-insert-iso'.
431 (cua--init-keymaps): Don't remap delete-selection commands.
432 (cua-mode): Use delete-selection-mode instead of rolling our own
433 (bug#16085).
434
435 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
436 Obey region-extract-function.
437
438 Make registers and delete-selection-mode work on rectangles.
439 * register.el (describe-register-1): Don't modify the register's value.
440 (copy-to-register): Obey region-extract-function.
441 * delsel.el (delete-active-region): Obey region-extract-function.
442
443 2013-12-08 Leo Liu <sdl.web@gmail.com>
444
445 * progmodes/flymake.el (flymake, flymake-error-bitmap)
446 (flymake-warning-bitmap, flymake-fringe-indicator-position)
447 (flymake-compilation-prevents-syntax-check)
448 (flymake-start-syntax-check-on-newline)
449 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
450 (flymake-start-syntax-check-on-find-file, flymake-log-level)
451 (flymake-xml-program, flymake-master-file-dirs)
452 (flymake-master-file-count-limit)
453 (flymake-allowed-file-name-masks): Relocate.
454 (flymake-makehash, flymake-float-time)
455 (flymake-replace-regexp-in-string, flymake-split-string)
456 (flymake-get-temp-dir): Remove.
457 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
458 (flymake-current-row, flymake-selected-frame)
459 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
460 related functions. (Bug#16077)
461
462 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
463
464 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
465
466 2013-12-07 Tassilo Horn <tsdh@gnu.org>
467
468 * help-fns.el (describe-function-1): Use new advice-* functions
469 rather than old ad-* functions. Fix function type description and
470 source links for advised functions and subrs.
471
472 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
473
474 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
475
476 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
477
478 * progmodes/compile.el (compilation-start):
479 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
480
481 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
482 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
483
484 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
485
486 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
487 Touch up the last change.
488
489 2013-12-06 Leo Liu <sdl.web@gmail.com>
490
491 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
492 (inferior-octave-startup): Always use "octave> " for prompt.
493 (octave-goto-function-definition)
494 (octave-sync-function-file-names)
495 (octave-find-definition-default-filename): Remove redundant backquotes.
496
497 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
498
499 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
500 syntax for `?'.
501 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
502 where appropriate already.
503 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
504 end of method names (Bug#15874).
505
506 2013-12-06 Juri Linkov <juri@jurta.org>
507
508 * isearch.el (isearch--saved-overriding-local-map):
509 New internal variable.
510 (isearch-mode): Set it to the initial value of
511 `overriding-terminal-local-map'.
512 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
513 with `isearch--saved-overriding-local-map'. (Bug#16035)
514
515 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
516
517 * progmodes/octave.el (inferior-octave-completion-table):
518 Turn back into function, use `completion-table-with-cache'
519 (Bug#11906). Update all references.
520
521 * minibuffer.el (completion-table-with-cache): New function.
522
523 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
524
525 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
526
527 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
528
529 * net/eww.el (eww-current-source): New variable to store page
530 source.
531 (eww-display-html, eww-mode, eww-save-history)
532 (eww-restore-history): Use it.
533 (eww-view-source): New command to view page source.
534 Opportunistically uses `html-mode' to highlight the buffer.
535 (eww-mode-map): Install it.
536
537 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
538
539 * net/dbus.el (dbus-unregister-service)
540 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
541 Fix docstring.
542 (dbus-unregister-service): Skip :serial entries in
543 `dbus-registered-objects-table'.
544 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
545
546 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
547
548 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
549 around keywords with extra `split-string' argument.
550
551 2013-12-04 Martin Rudalics <rudalics@gmx.at>
552
553 * windmove.el (windmove-other-window-loc): Handle navigation
554 between windows (excluding the minibuffer window - Bug#16017).
555
556 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
557
558 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
559 in D-Bus type syntax.
560 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
561 preserve unibyte strings. (Bug#16048)
562
563 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
566 Call force-mode-line-update is the proper buffer (bug#16042).
567
568 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
569
570 * vc/log-edit.el (log-edit-add-new-comment): Rename to
571 `log-edit-remember-comment', make argument optional. Adjust all
572 callers.
573 (log-edit-mode): Add `log-edit-remember-comment' to
574 `kill-buffer-hook' locally.
575 (log-edit-kill-buffer): Don't remember comment explicitly since
576 the buffer is killed anyway.
577
578 2013-12-04 Juri Linkov <juri@jurta.org>
579
580 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
581 add-hook and remove-hook for multi-buffer search. (Bug#16035)
582
583 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
584
585 * notifications.el (notifications-close-notification): Call the
586 D-Bus method with ID being a `:uint32'. (Bug#16030)
587
588 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
589
590 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
591
592 2013-12-03 Juri Linkov <juri@jurta.org>
593
594 * progmodes/compile.el (compilation-start): Rename window alist
595 entry `no-display-ok' to `allow-no-window'.
596
597 * simple.el (shell-command): Add window alist entry
598 `allow-no-window' to `display-buffer'.
599 (async-shell-command): Doc fix.
600
601 * window.el (display-buffer-no-window): New action function.
602 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
603
604 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
605
606 * vc/log-edit.el (log-edit-set-header): Extract from
607 `log-edit-toggle-header'.
608 (log-edit-extract-headers): Separate the summary, when extracted
609 from header, from the rest of the message with an empty line.
610
611 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
612 line, if present, to the Summary header.
613
614 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
617 in current-buffer (bug#16029).
618
619 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
620
621 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
622 (debugger-mode-map): Bind it.
623 (debugger--backtrace-base): New function.
624 (debugger-eval-expression): Use it.
625 (debugger-frame-number): Skip local vars when present.
626 (debugger--locals-visible-p, debugger--insert-locals)
627 (debugger--show-locals, debugger--hide-locals): New functions.
628
629 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
630
631 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
632 "LC_ALL".
633 (tramp-get-remote-locale): New defun.
634 (tramp-open-connection-setup-interactive-shell): Use it.
635
636 2013-12-02 Leo Liu <sdl.web@gmail.com>
637
638 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
639
640 * progmodes/sh-script.el (sh-shell-process):
641 * progmodes/octave.el (inferior-octave-process-live-p):
642 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
643 (gdb-inferior-io-sentinel):
644 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
645
646 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
647
648 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
649 `save-selected-window' to `log-edit-hide-buf'. This makes
650 `log-edit-show-files' idempotent.
651 (log-edit-show-files): Mark the new window as dedicated.
652
653 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
654
655 * vc/log-edit.el (log-edit-mode-map): Add binding for
656 `log-edit-kill-biffer'.
657 (log-edit-hide-buf): Add a FIXME comment.
658 (log-edit-add-new-comment): New function, extracted from
659 `log-edit-done'.
660 (log-edit-done, log-edit-add-to-changelog): Use it.
661 (log-edit-kill-buffer): New command.
662
663 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
664
665 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
666 instead of killing the buffer.
667
668 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
671
672 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
673
674 * net/eww.el (eww-form-checkbox-selected-symbol)
675 (eww-form-checkbox-symbol): New customizable variable.
676 (eww-form-checkbox, eww-toggle-checkbox):
677 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
678
679 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
680 (shr--get-media-pref, shr--extract-best-source): New function.
681 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
682 no :src tag was specified.
683
684 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
685 (eww-render): Handle `eww-use-external-browser-for-content-type'.
686 Use \\` to match beginning of string instead of ^.
687 (eww-browse-with-external-browser): Provide optional URL parameter.
688 (eww-render): Set `eww-current-title' back to "".
689
690 * net/shr.el (shr-tag-video): Display content for video if no
691 poster is available.
692 (shr-tag-audio): Add support for <audio> tag.
693
694 * net/eww.el (eww-text-input-types): : New const.
695 (eww-process-text-input): Treat input types in
696 `eww-text-input-types' as text.
697
698 * net/shr.el (shr-tag-table): Fix comment typo.
699
700 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
701
702 * net/eww.el (eww-follow-link): New command to avoid reloading
703 pages when we follow #target links (bug#15243).
704 (eww-quit): Special mode buffers shouldn't query before exiting.
705
706 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
707
708 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
709 forms.
710
711 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
712
713 * net/eww.el (eww-restore-history): Update the window title after
714 moving in the history.
715 (eww-current-dom): New variable used to save the current DOM.
716
717 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
718
719 * vc/log-edit.el (log-edit-mode-map): Add binding for
720 `log-edit-beginning-of-line'.
721 (log-edit-setup-add-author): New user option.
722 (log-edit-beginning-of-line): New command.
723 (log-edit): Move major mode call above the contents setup so that
724 the local variable values are already applied.
725 (log-edit): Only insert "Author: " when
726 `log-edit-setup-add-author' is non-nil.
727 (log-edit): When SETUP is non-nil, position point after ": "
728 instead of point-min.
729
730 2013-12-01 Glenn Morris <rgm@gnu.org>
731
732 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
733
734 2013-11-30 Eli Zaretskii <eliz@gnu.org>
735
736 * startup.el (fancy-splash-frame): On MS-Windows, trigger
737 redisplay to make sure the initial frame gets a chance to become
738 visible. (Bug#16014)
739
740 2013-11-30 Martin Rudalics <rudalics@gmx.at>
741
742 Support resizing frames and windows pixelwise.
743 * cus-start.el (frame-resize-pixelwise)
744 (window-resize-pixelwise): New entries.
745 * emacs-lisp/debug.el (debug): Use window-total-height instead
746 of window-total-size.
747 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
748 * help.el (describe-bindings-internal): Call help-buffer
749 (temp-buffer-max-width): New option.
750 (resize-temp-buffer-window, help-window-setup)
751 (with-help-window): Rewrite.
752 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
753 dragging dividers.
754 * window.el (frame-char-size, window-min-pixel-height)
755 (window-safe-min-pixel-height, window-safe-min-pixel-width)
756 (window-min-pixel-width, window-safe-min-pixel-size)
757 (window-combination-p, window-safe-min-size)
758 (window-resizable-p, window--size-to-pixel)
759 (window--pixel-to-size, window--resize-apply-p): New functions.
760 (window-safe-min-height): Fix doc-string.
761 (window-size, window-min-size, window--min-size-1)
762 (window-sizable, window-sizable-p, window--min-delta-1)
763 (window-min-delta, window--max-delta-1, window-max-delta)
764 (window--resizable, window--resizable-p, window-resizable)
765 (window-full-height-p, window-full-width-p, window-at-side-p)
766 (window--in-direction-2, window-in-direction)
767 (window--resize-reset-1, window--resize-mini-window)
768 (window-resize, window-resize-no-error)
769 (window--resize-child-windows-normal)
770 (window--resize-child-windows, window--resize-siblings)
771 (window--resize-this-window, window--resize-root-window)
772 (window--resize-root-window-vertically)
773 (adjust-window-trailing-edge, enlarge-window, shrink-window)
774 (maximize-window, minimize-window, delete-window)
775 (quit-restore-window, window-split-min-size, split-window)
776 (balance-windows-2, balance-windows)
777 (balance-windows-area-adjust, balance-windows-area)
778 (window--state-get-1, window-state-get, window--state-put-1)
779 (window--state-put-2, window-state-put)
780 (display-buffer-record-window, window--display-buffer):
781 Make functions handle pixelwise sizing of windows.
782 (display-buffer--action-function-custom-type)
783 (display-buffer-fallback-action):
784 Add display-buffer-in-previous-window.
785 (display-buffer-use-some-window): Resize window to height it had
786 before.
787 (fit-window-to-buffer-horizontally): New option.
788 (fit-frame-to-buffer): Describe new values.
789 (fit-frame-to-buffer-bottom-margin): Replace with
790 fit-frame-to-buffer-margins.
791 (window--sanitize-margin): New function.
792 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
793 using window-text-pixel-size.
794
795 2013-11-30 Glenn Morris <rgm@gnu.org>
796
797 * emacs-lisp/bytecomp.el (byte-compile-form):
798 Make the `interactive-only' warning like the `obsolete' one.
799 * comint.el (comint-run):
800 * files.el (insert-file-literally, insert-file):
801 * replace.el (replace-string, replace-regexp):
802 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
803 (goto-line, insert-buffer, next-line, previous-line):
804 Tweak `interactive-only' spec.
805
806 Stop keeping (most) generated cedet grammar files in the repository.
807 * Makefile.in (semantic): New.
808 (compile-main): Depend on semantic.
809
810 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
813 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
814
815 * uniquify.el (uniquify-buffer-name-style): Change default.
816
817 * loadup.el: Preload "uniquify".
818
819 * time.el (display-time-update): Update all mode lines (bug#15999).
820
821 * electric.el (electric-indent-mode): Enable by default.
822 * loadup.el: Preload "electric".
823
824 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
825
826 * emacs-lisp/helpers.el (string-empty-p): New function.
827 (string-blank-p): New function.
828
829 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
830
831 * imenu.el (imenu--index-alist): Add missing dot to the docstring
832 (Bug#14029).
833
834 2013-11-29 Andreas Politz <politza@fh-trier.de>
835 * imenu.el (imenu--subalist-p): Don't error on non-conses and
836 allow non-lambda lists as functions.
837 (imenu--in-alist): Don't recurse into non-subalists.
838 (imenu): Don't pass function itself as an argument (Bug#14029).
839
840 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
841
842 * progmodes/python.el (python-mode-map): Remove binding for ":".
843 (python-indent-electric-colon): Remove command.
844 (python-indent-post-self-insert-function): Integrate the previous code
845 of python-indent-electric-colon. Make it conditional on
846 electric-indent-mode.
847 (python-mode): Add ?: to electric-indent-chars.
848 Move python-indent-post-self-insert-function to the end of
849 post-self-insert-hook.
850
851 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * doc-view.el (doc-view-goto-page): Update mode-line.
854
855 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
856
857 2013-11-27 Glenn Morris <rgm@gnu.org>
858
859 * international/charprop.el, international/uni-bidi.el:
860 * international/uni-category.el, international/uni-combining.el:
861 * international/uni-comment.el, international/uni-decimal.el:
862 * international/uni-decomposition.el, international/uni-digit.el:
863 * international/uni-lowercase.el, international/uni-mirrored.el:
864 * international/uni-name.el, international/uni-numeric.el:
865 * international/uni-old-name.el, international/uni-titlecase.el:
866 * international/uni-uppercase.el:
867 Remove generated files from VCS repository.
868
869 2013-11-27 Eli Zaretskii <eliz@gnu.org>
870
871 * filenotify.el (file-notify-add-watch): Don't special-case
872 w32notify when computing the directory to watch.
873
874 2013-11-27 Glenn Morris <rgm@gnu.org>
875
876 Make bootstrap without generated uni-*.el files possible again.
877 * loadup.el: Update command-line-args checking for unidata-gen.
878 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
879 * composite.el, international/characters.el:
880 Handle unicode tables being undefined.
881
882 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
883 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
884 (compile-main): Depend on leim rule.
885 (leim): New rule.
886 * loadup.el: Move leim-list.el to leim/ subdirectory.
887 * startup.el (normal-top-level): No more leim directory.
888 * international/ja-dic-cnv.el (skkdic-convert):
889 Disable version-control and autoloads in output files.
890 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
891 Disable version-control and autoloads in output files.
892 * leim/quail: Move here from ../leim.
893 * leim/quail/hangul.el (hangul-input-method-activate):
894 Add autoload cookie.
895 (generated-autoload-load-name): Set file-local value.
896 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
897 (generated-autoload-load-name): Set file-local value.
898
899 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
900
901 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
902 (eww-add-bookmark): ask confirmation when add to bookmarks
903 (eww-quit): ask confirmation before quitting eww
904
905 2013-11-26 Eli Zaretskii <eliz@gnu.org>
906
907 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
908 reading output from Diff on MS-Windows and MS-DOS.
909
910 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
911
912 * emacs-lisp/helpers.el (string-reverse): New function.
913
914 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
915
916 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
917 names on MS Windows, like "/[::1]:".
918
919 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
920 SWITCHES.
921
922 2013-11-26 Glenn Morris <rgm@gnu.org>
923
924 * progmodes/python.el (python-indent-guess-indent-offset):
925 Avoid corner-case error. (Bug#15975)
926
927 Preload leim-list.el. (Bug#4789)
928 * loadup.el: Load leim-list.el when found.
929 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
930
931 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
932
933 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
934
935 * emacs-lisp/helpers.el (string-join): New function.
936
937 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
938
939 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
940 Mark as obsolete and replace it with a symbol property.
941 (byte-compile-form): Use new 'interactive-only property.
942 * comint.el, files.el, replace.el, simple.el:
943 Apply new 'interactive-only properly.
944
945 2013-11-25 Martin Rudalics <rudalics@gmx.at>
946
947 * window.el (display-buffer-at-bottom): Make sure that
948 split-window-sensibly creates the new window on bottom
949 (Bug#15961).
950
951 2013-11-23 David Kastrup <dak@gnu.org>
952
953 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
954 on the conflict markers when available.
955 (smerge--get-marker): New function.
956 (smerge-end-re, smerge-base-re): Add subgroup.
957
958 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
959
960 * frame.el (handle-focus-in, handle-focus-out): Add missing
961 interactive spec.
962
963 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
964
965 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
966 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
967
968 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
969
970 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
971 (gomoku--last-pos): New var.
972 (gomoku--intangible-chars): New const.
973 (gomoku--intangible): New function.
974 (gomoku-mode): Use it. Derive from special-mode.
975 (gomoku-move-up): Adjust line count.
976 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
977 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
978 Simplify accordingly.
979
980 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
981 Remove blink-cursor code.
982 (blink-cursor-timer-function, blink-cursor-suspend):
983 Don't special-case GUIs.
984 (blink-cursor-mode): Use focus-in/out-hook.
985
986 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
987
988 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
989 work when annotation is invisible (Bug#13886).
990
991 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
992
993 * json.el (json-alist-p): Only return non-nil if the alist has
994 simple keys (Bug#13518).
995
996 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
997
998 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
999 when control-statement is the first statement in a buffer (Bug#15956).
1000
1001 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1002
1003 * imenu.el (imenu-generic-skip-comments-and-strings):
1004 New option (Bug#15560).
1005 (imenu--generic-function): Use it.
1006
1007 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1008
1009 * minibuffer.el (completion--in-region-1): Scroll the correct
1010 window. (Bug#13898)
1011
1012 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1013
1014 * emacs-lisp/helpers.el: Add some string helpers.
1015 (string-trim-left): Removes leading whitespace.
1016 (string-trim-right): Removes trailing whitespace.
1017 (string-trim): Removes leading and trailing whitespace.
1018
1019 * subr.el (string-suffix-p): New function.
1020
1021 2013-11-23 Glenn Morris <rgm@gnu.org>
1022
1023 * progmodes/python.el (python-shell-send-file):
1024 Add option to delete file when done. (Bug#15647)
1025 (python-shell-send-string, python-shell-send-region): Use it.
1026
1027 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1028
1029 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1030 to set buffer-read-only to t, never to nil. (Bug#15938)
1031
1032 * textmodes/tex-mode.el (latex-noindent-environments):
1033 Add safe-local-variable property. (Bug#15936)
1034
1035 2013-11-23 Glenn Morris <rgm@gnu.org>
1036
1037 * textmodes/enriched.el (enriched-mode): Doc fix.
1038 * emacs-lisp/authors.el (authors-renamed-files-alist):
1039 Add enriched.doc -> enriched.txt.
1040
1041 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1042
1043 2013-11-22 Leo Liu <sdl.web@gmail.com>
1044
1045 * progmodes/octave.el (inferior-octave-startup): Spit out error
1046 message.
1047
1048 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1049
1050 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1051 Improve docstring.
1052 Add :version.
1053 (ruby-encoding-magic-comment-style): Add :version.
1054
1055 2013-11-22 Leo Liu <sdl.web@gmail.com>
1056
1057 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1058 (Bug#15076)
1059 (octave-help-mode): Adapt to change to help-mode-finish to use
1060 derived-mode-p on 2013-09-17.
1061 (inferior-octave-prompt): Also match octave-gui.
1062 (octave-kill-process): Don't ask twice. (Bug#10564)
1063
1064 2013-11-22 Leo Liu <sdl.web@gmail.com>
1065
1066 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1067 (inferior-octave-startup, inferior-octave-check-process)
1068 (inferior-octave-track-window-width-change)
1069 (octave-completion-at-point, octave-eldoc-function): Use it.
1070 (octave-kill-process): Provide confirmation. (Bug#10564)
1071
1072 2013-11-21 Leo Liu <sdl.web@gmail.com>
1073
1074 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1075 Fix obsolete variable comment-use-global-state.
1076
1077 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1078
1079 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1080 Add `octave-source-file'.
1081 (octave-source-file): New function. (Bug#15935)
1082
1083 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1084
1085 * net/eww.el (eww-local-regex): New variable.
1086 (eww): Use it to detect localhost and similar.
1087
1088 2013-11-21 Leo Liu <sdl.web@gmail.com>
1089
1090 Add completion for command `ag'.
1091 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1092 (pcomplete/ag): New function.
1093 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1094
1095 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1098 (bug#14646).
1099 (make-obsolete): Remove interactive spec.
1100
1101 2013-11-21 Glenn Morris <rgm@gnu.org>
1102
1103 * startup.el (command-line-1): Use path-separator with -L.
1104
1105 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1106
1107 * emacs-lisp/package.el (describe-package-1): Add package archive
1108 to shown fields.
1109
1110 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1111
1112 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1113 Change default to "# encoding: %s" to differentiate it from the
1114 default Ruby encoding comment template.
1115
1116 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1117
1118 * ses.el (ses-mode): Doc fix. (Bug#14748)
1119
1120 2013-11-20 Leo Liu <sdl.web@gmail.com>
1121
1122 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1123
1124 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1125
1126 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1127 when rebase or bisect are in progress.
1128
1129 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1130
1131 * filenotify.el (file-notify-add-watch): Doc fix.
1132
1133 2013-11-19 Leo Liu <sdl.web@gmail.com>
1134
1135 * obsolete/rcompile.el: Mark obsolete.
1136
1137 * progmodes/compile.el (compilation-start)
1138 (compilation-goto-locus, compilation-find-file):
1139 Pass no-display-ok and handle nil value from display-buffer.
1140 (Bug#13594)
1141
1142 * window.el (display-buffer-alist, display-buffer): Document the
1143 new parameter no-display-ok. Return either a window or nil
1144 but never a non-window value.
1145
1146 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1147
1148 * electric.el (electric-indent-mode-map): Remove.
1149 (electric-indent-mode): Change the global-map instead (bug#15915).
1150
1151 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1152 Use add-function.
1153
1154 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * emacs-lisp/nadvice.el (remove-function): Align with
1157 add-function's behavior.
1158
1159 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1160 (gdb--string-regexp): New constant.
1161 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1162 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1163 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1164 submatch 1.
1165 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1166 Adjust use accordingly.
1167 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1168
1169 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1170
1171 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1172 interpolation curlies (Bug#15914).
1173
1174 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1175
1176 * calc/calc.el (calc-context-sensitive-enter): New variable.
1177 (calc-enter): Use `calc-context-sensitive-enter'.
1178
1179 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1180
1181 * progmodes/cfengine.el: Version bump.
1182 (cfengine-cf-promises): New defcustom to locate cf-promises.
1183 (cfengine3-vartypes): Add new "data" type.
1184 (cfengine3--current-word): New function to get current name-like
1185 word or its bounds.
1186 (cfengine3--current-function): New function to look up a CFEngine
1187 function's definition.
1188 (cfengine3-format-function-docstring): New function.
1189 (cfengine3-make-syntax-cache): New function.
1190 (cfengine3-documentation-function): New function: ElDoc glue.
1191 (cfengine3-completion-function): New function: completion glue.
1192 (cfengine3-mode): Set `compile-command',
1193 `eldoc-documentation-function', and add to
1194 `completion-at-point-functions'.
1195
1196 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1197
1198 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1199 `tramp-current-connection'.
1200
1201 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1202
1203 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1204 nil/self/true/false with "end of symbol".
1205
1206 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1207
1208 * subr.el (version-regexp-alist): Fix a typo.
1209
1210 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1211
1212 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1213 "en_US.utf8" and "LC_CTYPE" to "".
1214 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1215 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1216
1217 2013-11-15 Leo Liu <sdl.web@gmail.com>
1218
1219 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1220
1221 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * progmodes/gud.el (ctl-x-map):
1224 Remove C-x SPC binding. (Bug#12342)
1225 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1226
1227 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1228
1229 * subr.el (version-regexp-alist):
1230 Recognize hg, svn and darcs versions as snapshot versions.
1231
1232 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1233 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1234 (ruby--encoding-comment-required-p): Extract from
1235 `ruby-mode-set-encoding'.
1236 (ruby-mode-set-encoding): Add the ability to always insert an
1237 utf-8 encoding comment. Fix and simplify coding comment update
1238 logic.
1239
1240 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1241
1242 * net/tramp-gvfs.el (top): Run init code only when
1243 `tramp-gvfs-enabled' is not nil.
1244 (tramp-gvfs-enabled): Check also :system bus.
1245
1246 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 Sync with upstream verilog-mode revision 78e66ba.
1249 * progmodes/verilog-mode.el (verilog-end-of-defun)
1250 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1251 (verilog-get-end-of-defun): Remove unused argument.
1252 (verilog-comment-depth): Remove unused local `e'.
1253 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1254 Don't pass arg to verilog-get-end-of-defun.
1255
1256 2013-11-14 Glenn Morris <rgm@gnu.org>
1257
1258 * obsolete/assoc.el (aget): Prefix dynamic variable.
1259
1260 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1261
1262 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1263
1264 * widget.el, hfy-cmap.el: Remove bogus package version number.
1265
1266 2013-11-13 Glenn Morris <rgm@gnu.org>
1267
1268 * replace.el (replace-eval-replacement):
1269 Try to give more helpful error message. (Bug#15836)
1270
1271 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1272 (archive-7z-update): Avoid custom type mismatches.
1273
1274 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1275
1276 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1277
1278 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1279 address can be empty.
1280
1281 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1282 Accept nil SWITCHES.
1283 (tramp-gvfs-handle-write-region): Implement APPEND.
1284
1285 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1286
1287 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1288 binary "|" operator and closing block args delimiter.
1289 Remove FIXME comment referring to Ruby 1.8-only syntax.
1290 (ruby-smie--implicit-semi-p): Not after "|" operator.
1291 (ruby-smie--closing-pipe-p): New function.
1292 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1293 (ruby-smie-rules): Indent after "|".
1294
1295 2013-11-12 Glenn Morris <rgm@gnu.org>
1296
1297 * ps-print.el (ps-face-attribute-list):
1298 Handle anonymous faces. (Bug#15827)
1299
1300 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1301
1302 * window.el (display-buffer-other-frame): Fix doc-string.
1303 (Bug#15868)
1304
1305 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1308
1309 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1310
1311 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1312 (tramp-sh-handle-file-local-copy): Don't write a message when
1313 saving temporary files.
1314
1315 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1316 both directories are remote.
1317 (tramp-smb-handle-directory-files): Do not return double entries.
1318 Do not expand full file names.
1319 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1320 (tramp-smb-handle-write-region): Implement APPEND.
1321 (tramp-smb-get-stat-capability): Fix a stupid bug.
1322
1323 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1326
1327 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1328
1329 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1330 throwing error over malformed let/let* (bug#15814).
1331
1332 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * iswitchb.el (iswitchb-mode): Mark obsolete.
1335
1336 2013-11-11 Glenn Morris <rgm@gnu.org>
1337
1338 * international/uni-bidi.el, international/uni-category.el:
1339 * international/uni-name.el, international/uni-numeric.el:
1340 Regenerate for Unicode 6.3.0.
1341
1342 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/tramp.el (tramp-methods):
1345 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1346 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1347
1348 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1349
1350 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1351 Force highlighting text after Summary keyword in doc face for rpm.
1352
1353 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1354
1355 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1356 available and the word has no wildcards, append one to the grep pattern.
1357 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1358 (ispell-complete-word): Call `ispell-lookup-words' with the value
1359 independent of `ispell-look-p'.
1360
1361 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1362
1363 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1364 Not after "||".
1365 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1366 their parent.
1367
1368 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1369
1370 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1371 (ruby-font-lock-keywords): Use backquote.
1372
1373 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1374
1375 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1376 (ruby-smie--backward-token): Only consider full-string matches.
1377
1378 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1379
1380 * faces.el (describe-face): Add distant-foreground.
1381
1382 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1383
1384 * progmodes/ruby-mode.el: Improve encoding comment handling.
1385 (ruby-encoding-magic-comment-style): New option.
1386 (ruby-custom-encoding-magic-comment-template): New option.
1387 (ruby--insert-coding-comment, ruby--detect-encoding):
1388 New functions extracted from `ruby-mode-set-encoding'.
1389 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1390 to control the style of the auto-inserted encoding comment.
1391
1392 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1393
1394 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1395 Use `smie-backward-sexp' with token argument.
1396
1397 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1398
1399 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1400 Remove instrumentation code.
1401
1402 2013-11-08 Glenn Morris <rgm@gnu.org>
1403
1404 * progmodes/autoconf.el (autoconf-mode):
1405 Tweak comment-start-skip. (Bug#15822)
1406
1407 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1410 at bobp (bug#15826).
1411 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1412
1413 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1414
1415 * man.el (Man-start-calling): New macro, extracted from
1416 Man-getpage-in-background.
1417 (Man-getpage-in-background): Use it.
1418 (Man-update-manpage): New command.
1419 (Man-mode-map): Bind it.
1420
1421 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1422
1423 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1424 of "and", "or", "&&" and "||".
1425 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1426 argument. Prohibit opening curly brace because it could only be a
1427 block opener in that position.
1428 (ruby-smie--forward-token, ruby-smie--backward-token):
1429 Separate "|" from "&" or "*" going after it. That can happen in block
1430 arguments.
1431 (ruby-smie--indent-to-stmt): New function, seeks the end of
1432 previous statement or beginning of buffer.
1433 (ruby-smie-rules): Use it.
1434 (ruby-smie-rules): Check if there's a ":" before a curly block
1435 opener candidate; if there is, it's a hash.
1436
1437 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1440 (cl--block-wrapper): Fix last accidental change.
1441
1442 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1443
1444 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1445 Instrument, in order to hunt failure on hydra.
1446
1447 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1448
1449 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1450 malformed bindings form (bug#15814).
1451
1452 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1453
1454 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1455 "." compared to " @ ". This incidentally fixes some indentation
1456 examples with "do".
1457 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1458 (ruby-smie-grammar): New tokens: "and" and "or".
1459 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1460 Exclude "and" and "or". Remove "do" in order to work around token
1461 priorities.
1462 (ruby-smie-rules): Add all infix tokens. Handle the case of
1463 beginning-of-buffer.
1464
1465 2013-11-06 Glenn Morris <rgm@gnu.org>
1466
1467 * Makefile.in (setwins_almost, setwins_for_subdirs):
1468 Avoid accidental matches.
1469
1470 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * menu-bar.el (popup-menu): Use key-binding.
1473
1474 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1475
1476 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1477 menus, support also the menus produced by minor modes.
1478 (Bug#15817)
1479
1480 2013-11-06 Leo Liu <sdl.web@gmail.com>
1481
1482 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1483 DISTANCE to bound the search. All uses changed. (Bug#15808)
1484
1485 2013-11-06 Glenn Morris <rgm@gnu.org>
1486
1487 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1488 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1489 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1490
1491 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * electric.el (electric-indent-just-newline): New command.
1494 (electric-indent-mode-map): New keymap.
1495 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1496 Re-add :group which weren't redundant.
1497
1498 * electric.el (electric-indent-local-mode): New minor mode.
1499 (electric-indent-functions-without-reindent): New var.
1500 (electric-indent-post-self-insert-function): Use it.
1501 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1502
1503 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1504
1505 * international/quail.el (quail-help): Be more explicit about the
1506 meaning of the labels shown on the keys. (Bug#15800)
1507
1508 * startup.el (normal-top-level): Load the subdirs.el files before
1509 setting the locale environment. (Bug#15805)
1510
1511 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1512
1513 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1514 via arguments so as to get the right ones (bug#15418).
1515
1516 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1517
1518 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1519
1520 Fix problems found while writing a test suite.
1521
1522 * net/tramp-compat.el (tramp-compat-load): New defun.
1523 * net/tramp.el (tramp-handle-load): Use it.
1524
1525 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1526 "(numberp ok-if-already-exists)" correctly.
1527
1528 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1529
1530 * international/characters.el (glyphless-char-display-control):
1531 Add usage note.
1532
1533 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1534
1535 * progmodes/python.el (python-mode):
1536 * progmodes/scheme.el (scheme-mode):
1537 * progmodes/prolog.el (prolog-mode):
1538 * progmodes/ruby-mode.el (ruby-mode):
1539 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1540 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1541
1542 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * rect.el (rectangle--highlight-for-redisplay):
1545 * emacs-lisp/smie.el (smie--next-indent-change):
1546 Use buffer-chars-modified-tick.
1547
1548 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1549
1550 * electric.el (electric-indent-post-self-insert-function):
1551 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1552
1553 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1554
1555 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1556
1557 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1558
1559 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1560 (bug#15786).
1561
1562 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1565
1566 * progmodes/python.el: Fix up last change.
1567 (python-shell--save-temp-file): New function.
1568 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1569 `string' comes from the current buffer.
1570 (python-shell-send-string-no-output): Remove `msg' arg.
1571 (python--use-fake-loc): New var.
1572 (python-shell-buffer-substring): Obey it. Try to compensate for the
1573 extra coding line added by python-shell--save-temp-file.
1574 (python-shell-send-region): Use python-shell--save-temp-file and
1575 python-shell-send-file directly. Add `nomain' argument.
1576 (python-shell-send-buffer): Use python-shell-send-region.
1577 (python-electric-pair-string-delimiter): New function.
1578 (python-mode): Use it.
1579
1580 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1581
1582 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1583 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1584 environment and decoding all of the default-directory's to here
1585 from command-line.
1586 (command-line): Decode also argv[0].
1587
1588 * loadup.el: Error out if default-directory is a multibyte string
1589 when we are dumping.
1590
1591 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1592
1593 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1594
1595 * emacs-lisp/package.el (package-menu-mode)
1596 (package-menu--print-info, package-menu--archive-predicate):
1597 Add Archive column to package list.
1598
1599 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1600
1601 Fix problems found while writing a test suite.
1602
1603 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1604 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1605 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1606 to nil when running original file name handler. Otherwise,
1607 there are problems with constructs like "$$FOO".
1608
1609 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1610 for `localname'.
1611
1612 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1613
1614 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1615
1616 * subr.el (version<, version<=, version=):
1617 Update docstrings with information for snapshot versions.
1618
1619 * helpers.el: New library for misc helper functions.
1620 (hash-table-keys): New function returning a list of hash keys.
1621 (hash-table-values): New function returning a list of hash values.
1622
1623 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1624
1625 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1626 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1627
1628 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1629
1630 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1631 checking whether point is after a 1-letter word.
1632
1633 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1634
1635 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1636 Don't infloop when expanding region over `multiline' syntax-type that
1637 begins a line (bug#15778).
1638
1639 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1640
1641 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1642 Make it into a proper minor mode.
1643 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1644 (rectangle-mark-mode-map): New keymap.
1645 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1646
1647 2013-11-04 Glenn Morris <rgm@gnu.org>
1648
1649 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1650
1651 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1654 (ruby-smie-rules): Use smie-rule-parent instead.
1655
1656 * emacs-lisp/smie.el (smie-rule-parent): Always call
1657 smie-indent-virtual rather than only for hanging tokens.
1658 (smie--next-indent-change): New helper command.
1659
1660 2013-11-03 Glenn Morris <rgm@gnu.org>
1661
1662 * Makefile.in (abs_srcdir): Remove.
1663 (emacs): Unset EMACSLOADPATH.
1664
1665 2013-11-02 Glenn Morris <rgm@gnu.org>
1666
1667 * Makefile.in (EMACS): Use a relative filename.
1668 (abs_top_builddir): Remove.
1669 (custom-deps, finder-data, autoloads): Use --chdir.
1670
1671 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1672
1673 Use relative filenames in TAGS files.
1674 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1675 (lisptagsfiles4, TAGS): Use relative file names.
1676 (TAGS-LISP): Remove.
1677 (maintainer-clean): No more TAGS-LISP file.
1678
1679 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1680 (lisptagsfiles4): Use absolute filenames again.
1681 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1682 Remove all *loaddefs files, not just the first. Remove esh-groups.
1683 (maintainer-clean): Delete TAGS, TAGS-LISP.
1684
1685 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1686
1687 * emacs-lisp/package.el (package-version-join):
1688 Recognize snapshot versions.
1689
1690 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1691
1692 * subr.el (version-regexp-alist): Add support for snapshot versions.
1693
1694 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1695
1696 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1697 New function, replacement for `smie-rule-parent' for when we want to
1698 skip over our direct parent if it's an assignment token..
1699 (ruby-smie-rules): Use it.
1700
1701 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1702
1703 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1704 unconditionally. Remove now unnecessary forward declarations.
1705 Remove XEmacs-specific setup.
1706 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1707 (ruby-font-lock-syntactic-keywords)
1708 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1709 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1710 (ruby-here-doc-end-syntax): Remove.
1711 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1712 defined as function.
1713
1714 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1715
1716 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1717
1718 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1719
1720 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1721 table and abbrev table, `define-derived-mode' does that for us
1722 anyway.
1723
1724 2013-11-01 Glenn Morris <rgm@gnu.org>
1725
1726 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1727 files is atomic for some time, so no parallel compilation issues).
1728
1729 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1730
1731 * faces.el (face-x-resources): Add :distant-foreground.
1732 (region): Use :distant-foreground for gtk and ns.
1733
1734 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1735
1736 Allow multiple bibliographies when BibLaTeX is used rather than
1737 BibTeX.
1738 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1739 (reftex-locate-bibliography-files): Us it.
1740
1741 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1742
1743 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1744 allow comments in pbm files.
1745
1746 * term/w32-win.el (dynamic-library-alist): Support newer versions
1747 of libjpeg starting with v7: look only for the DLL from the
1748 version against which Emacs was built.
1749 Support versions of libpng beyond 1.4.x.
1750 Support libtiff v4.x.
1751
1752 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1753
1754 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1755 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1756 Add property :safe.
1757 (ruby-deep-arglist): Add property :type.
1758
1759 2013-10-31 Glenn Morris <rgm@gnu.org>
1760
1761 * Makefile.in (custom-deps, finder-data): No need to setq the target
1762 variables, we are in the right directory and the defaults work fine.
1763
1764 2013-10-30 Glenn Morris <rgm@gnu.org>
1765
1766 * Makefile.in (autoloads): Do not use abs_lisp.
1767
1768 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1769 `newline' does not respect `standard-output', so use `princ'.
1770
1771 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1772
1773 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1774 * buff-menu.el (Buffer-menu--unmark): New function.
1775 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1776
1777 2013-10-30 Glenn Morris <rgm@gnu.org>
1778
1779 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1780
1781 * emacs-lisp/package.el (lm-homepage): Declare.
1782
1783 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1784 Fix doc typos.
1785
1786 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1787
1788 * Makefile.in (finder-data, autoloads, update-subdirs)
1789 (compile-main, compile-clean, compile-always, bootstrap-clean):
1790 Check return value of cd.
1791 (compile-calc): Remove.
1792
1793 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1796
1797 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1798 (byte-compile-and-folded): New function.
1799 (=, <, >, <=, >=): Use it.
1800
1801 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1802 (path-separator, null-device, buffer-file-coding-system)
1803 (lpr-headers-switches): Check system-type before modifying them.
1804 (find-buffer-file-type-coding-system): Mark obsolete.
1805 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1806 find-file-not-found-set-buffer-file-coding-system.
1807 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1808 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1809 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1810 (w32-direct-print-region-helper, w32-direct-print-region-function)
1811 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1812 * startup.el (normal-top-level-add-subdirs-to-load-path):
1813 * ps-print.el (ps-print-region-function):
1814 * lpr.el (print-region-function): Use new name.
1815
1816 * subr.el (custom-declare-variable-early): Remove function.
1817 (custom-declare-variable-list): Remove var.
1818 (error, user-error): Remove `while' loop.
1819 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1820 (user-emacs-directory-warning, locate-user-emacs-file):
1821 Move to files.el.
1822 * simple.el (read-quoted-char-radix, read-quoted-char):
1823 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1824 Move from subr.el.
1825 * custom.el (custom-declare-variable-list): Don't process
1826 custom-declare-variable-list.
1827
1828 * progmodes/python.el (python-shell-get-buffer): New function.
1829 (python-shell-get-process): Use it.
1830 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1831 Python which encoding was used. Don't split-string since we only care
1832 about the first line. Return the temp-file, if applicable.
1833 (python-shell-send-region): Tell compile.el how to turn locations in
1834 the temp-file into locations in the source buffer.
1835
1836 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * subr.el (undefined): Add missing behavior from the C code for
1839 unbound keys.
1840
1841 * rect.el: Use lexical-binding. Add new rectangular region support.
1842 (rectangle-mark): New command.
1843 (rectangle--region): New var.
1844 (deactivate-mark-hook): Reset rectangle--region.
1845 (rectangle--extract-region, rectangle--insert-for-yank)
1846 (rectangle--highlight-for-redisplay)
1847 (rectangle--unhighlight-for-redisplay): New functions.
1848 (region-extract-function, redisplay-unhighlight-region-function)
1849 (redisplay-highlight-region-function): Use them to handle
1850 rectangular region.
1851 * simple.el (region-extract-function): New var.
1852 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1853 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1854 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1855 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1856 (redisplay-unhighlight-region-function)
1857 (redisplay-highlight-region-function): New vars.
1858 (redisplay--update-region-highlight): New function.
1859 (pre-redisplay-function): Use it.
1860 (exchange-point-and-mark): Don't deactivate the mark before
1861 reactivate-it anyway.
1862 * comint.el (comint-kill-region): Remove yank-handler argument.
1863 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1864 (delete-char): Remove property, since it's now part of their
1865 default behavior.
1866 (self-insert-iso): Remove property since this command doesn't exist.
1867
1868 * emacs-lisp/package.el (package--download-one-archive)
1869 (describe-package-1): Don't query the user about final newline.
1870
1871 2013-10-29 Daniel Colascione <dancol@dancol.org>
1872
1873 * net/tramp.el (tramp-methods): Document new functionality.
1874 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1875 tramp-hostname-checker if method provides one instead of scanning
1876 argument list for "%h" to decide hostname acceptability.
1877
1878 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1879
1880 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1881 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1882 Handle COPY-CONTENTS. (Bug#15737)
1883
1884 2013-10-28 Daiki Ueno <ueno@gnu.org>
1885
1886 * epa-file.el
1887 (epa-file-cache-passphrase-for-symmetric-encryption):
1888 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1889
1890 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1891
1892 * image.el (defimage):
1893 (image-load-path): Doc fixes.
1894
1895 2013-10-27 Alan Mackenzie <acm@muc.de>
1896
1897 Indent statements in macros following "##" correctly.
1898 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1899 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1900
1901 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1902
1903 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1904
1905 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1906
1907 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1908 after `=' is probably a new expression.
1909
1910 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1911
1912 * man.el (man-imenu-title): New option.
1913 (Man-mode-map): Add menu. (Bug#15722)
1914 (Man-mode): Add imenu to menu.
1915
1916 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1917
1918 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1919 specific in what the first arg can be: a non-keyword word,
1920 string/regexp/percent literal opener, opening paren, or unary
1921 operator followed directly by word.
1922
1923 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1926 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1927 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1928 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1929 Remove vars, they do not apply any more.
1930 (prolog-mode-abbrev-table): Remove redundant declaration.
1931 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1932 (prolog-use-smie): Remove.
1933 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1934 supported by prolog-electric-if-then-else-flag.
1935 (prolog-mode-variables, prolog-menu): Use setq-local.
1936 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1937 Remove binding to `Backspace' since this key doesn't exist anyway.
1938 Remove bindings for electric self-inserting keys.
1939 (prog-mode): Assume it's defined.
1940 (prolog-post-self-insert): New function.
1941 (prolog-mode): Use it.
1942 (prolog-indent-line, prolog-indent-level)
1943 (prolog-find-indent-of-matching-paren)
1944 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1945 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1946 (prolog-goto-next-paren, prolog-in-string-or-comment)
1947 (prolog-tokenize, prolog-inside-mline-comment)
1948 (prolog-find-start-of-mline-comment): Remove functions.
1949 (prolog-find-unmatched-paren, prolog-clause-end)
1950 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1951 (prolog-electric--if-then-else): Rename from
1952 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1953 (prolog-tokenize-searchkey): Remove const.
1954 (prolog-clause-info): Use forward-sexp.
1955 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1956 (prolog-electric-if-then-else): Remove commands.
1957 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1958 for use in post-self-insert-hook.
1959 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1960 for use in post-self-insert-hook.
1961 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1962 for use in post-self-insert-hook.
1963 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1964 adapt it for use in post-self-insert-hook.
1965
1966 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1967
1968 * emacs-lisp/ert.el (ert-run-tests-interactively):
1969 Use `completing-read'. (Bug#9756)
1970
1971 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1972
1973 * simple.el (line-move): Call line-move-1 instead of
1974 line-move-visual when the current window hscroll is zero, but
1975 temporary-goal-column indicates we will need to hscroll as result
1976 of the movement. (Bug#15712)
1977
1978 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1979
1980 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1981 capitalization. Use :visible instead of :active.
1982 Fix `ruby-indent-exp' reference. Add menu items for the generic
1983 commands that are used with SMIE.
1984 (ruby-do-end-to-brace): Insert space after `{'.
1985
1986 2013-10-25 John Anthony <john@jo.hnanthony.com>
1987
1988 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1989
1990 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1991
1992 2013-10-25 Glenn Morris <rgm@gnu.org>
1993
1994 * vc/vc.el (vc-print-log): Don't use a working revision unless
1995 one was explicitly specified. (Bug#15322)
1996
1997 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1998
1999 * subr.el (add-to-list): Preserve return value in compiler-macro
2000 (bug#15692).
2001
2002 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2003
2004 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2005 result. Ask user to retry using '-all' flag. (Bug#15701)
2006
2007 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * emacs-lisp/smie.el: New smie-config system.
2010 (smie-config): New defcustom.
2011 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2012 (smie-config-guess, smie-config-save): New commands.
2013 (smie-config--mode-local, smie-config--buffer-local)
2014 (smie-config--trace, smie-config--modefuns): New vars.
2015 (smie-config--advice, smie-config--mode-hook)
2016 (smie-config--setter, smie-config-local, smie-config--get-trace)
2017 (smie-config--guess-value, smie-config--guess): New functions.
2018 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2019 text properties. Treat "string fence" syntax like string syntax.
2020
2021 * progmodes/sh-script.el (sh-use-smie): Change default.
2022 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2023 (sh-var-value): Simplify by CSE.
2024 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2025 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2026 is used.
2027 (sh-guess-basic-offset): Use cl-incf.
2028 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2029
2030 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2031
2032 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2033 (bug#15699).
2034
2035 2013-10-24 Glenn Morris <rgm@gnu.org>
2036
2037 * Makefile.in (abs_top_srcdir): Remove.
2038 (update-subdirs): Use relative path to update-subdirs.
2039
2040 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2041
2042 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2043 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2044 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2045 Call unmsys--file-name before expand-file-name, not after it.
2046
2047 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2048
2049 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2050 (ert-test-skipped): New error.
2051 (ert-skip, ert-stats-skipped): New defuns.
2052 (ert--skip-unless): New macro.
2053 (ert-test-skipped): New struct.
2054 (ert--run-test-debugger, ert-test-result-type-p)
2055 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2056 (ert--stats-set-test-and-result, ert-char-for-test-result)
2057 (ert-string-for-test-result, ert-run-tests-batch)
2058 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2059 Handle skipped tests. (Bug#9803)
2060
2061 2013-10-24 Glenn Morris <rgm@gnu.org>
2062
2063 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2064
2065 * Makefile.in (abs_top_srcdir): New, set by configure.
2066 (update-subdirs): Correct build-aux location.
2067
2068 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2069
2070 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2071 value, whether we could auto-deduce `backend', or not.
2072
2073 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2074 with parameters" example. Simplify the "is it block or is it
2075 hash" check, but also make it more thorough.
2076
2077 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2078
2079 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2080
2081 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2082
2083 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2084 { if it is hanging.
2085
2086 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2087 :before ";".
2088
2089 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2090
2091 * progmodes/compile.el (compilation-directory-matcher)
2092 (compilation-page-delimiter):
2093 Support GNU Make-4.0 directory quoting. (Bug#15678)
2094
2095 2013-10-23 Leo Liu <sdl.web@gmail.com>
2096
2097 * ido.el (ido-tidy): Handle read-only text.
2098
2099 2013-10-23 Glenn Morris <rgm@gnu.org>
2100
2101 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2102 (emacs, compile, compile-always):
2103 Quote entities that might contain whitespace.
2104 (custom-deps, finder-data, autoloads): Use abs_lisp.
2105 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2106 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2107 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2108
2109 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2110
2111 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2112 Use `following-char'.
2113
2114 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2117 * progmodes/ruby-mode.el (ruby-smie-rules):
2118 Remove corresponding workaround. Fix indentation rule of ";" so it
2119 also applies when ";" is the parent.
2120
2121 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2122
2123 * frame.el (display-screens, display-pixel-height)
2124 (display-pixel-width, display-mm-width, display-backing-store)
2125 (display-save-under, display-planes, display-color-cells)
2126 (display-visual-class, display-monitor-attributes-list):
2127 Mention the optional ‘display’ argument in doc strings.
2128
2129 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2130
2131 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2132 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2133
2134 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2135
2136 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2137 TODO. Add "." after " @ ".
2138 (ruby-smie--at-dot-call): New function. Checks if point at method
2139 call with explicit target.
2140 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2141 to the method name tokens when it precedes them.
2142 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2143 (ruby-smie-rules): Add rule for indentation before and after "."
2144 token.
2145
2146 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2147
2148 * textmodes/remember.el (remember-diary-extract-entries):
2149 Avoid add-to-list.
2150
2151 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2152 an instruction.
2153
2154 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2155
2156 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2157 (ruby-smie--implicit-semi-p): Add new operator chars.
2158
2159 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2160 `smie-down-list'.
2161 (ruby-smie--args-separator-p): Check that there's no newline
2162 between method call and its arguments.
2163
2164 2013-10-20 Alan Mackenzie <acm@muc.de>
2165
2166 Allow comma separated lists after Java "implements".
2167
2168 * progmodes/cc-engine.el (c-backward-over-enum-header):
2169 Parse commas.
2170 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2171 from a "disallowed" list in enum fontification.
2172
2173 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2174
2175 * startup.el (default-frame-background-mode): Remove unused defvar.
2176
2177 * progmodes/verilog-mode.el (verilog-mode): Don't set
2178 comment-indent-function globally.
2179
2180 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2181
2182 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2183 Move Info menu item creation to ns-win.el.
2184
2185 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2186 in menu bar.
2187
2188 * menu-bar.el: Move GNUStep specific menus...
2189
2190 * term/ns-win.el (ns-initialize-window-system): ... to here.
2191
2192 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * simple.el (newline): Only run post-self-insert-hook when
2195 called interactively.
2196
2197 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2198
2199 * icomplete.el (icomplete-with-completion-tables): Add :version.
2200
2201 2013-10-19 Alan Mackenzie <acm@muc.de>
2202
2203 Fix fontification bugs with constructors and const.
2204
2205 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2206 CASE 2) Remove the check for the absence of a suffix construct
2207 after a function declaration with only types (no identifiers) in
2208 the parentheses. Also, accept a function declaration with just a
2209 type inside the parentheses, if this type can be positively
2210 recognised as such, or if a prefix keyword like "explicit" nails
2211 down the construct as a declaration.
2212
2213 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2214
2215 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2216 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2217 the problem whereby selecting a menu item that leads to a
2218 minibuffer prompt moves the cursor out of the minibuffer window,
2219 making it hard to type at the prompt. Suggested by Stefan Monnier
2220 <monnier@iro.umontreal.ca>.
2221
2222 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2223
2224 * menu-bar.el: Don't make Services menu.
2225
2226 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2227
2228 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2229 (ffap-alist): Use ffap-c++-mode for c++-mode.
2230 (ffap-c++-path): New variable.
2231 (ffap-c++-mode): New function.
2232
2233 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2234
2235 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2236
2237 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2238
2239 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2240 introduced on 2013-09-08, which results in an infinite loop
2241 requesting a password.
2242
2243 2013-10-18 Glenn Morris <rgm@gnu.org>
2244
2245 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2246
2247 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2248
2249 Sync with upstream verilog-mode revision 1a6ecec7.
2250 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2251 (verilog-mode-release-date): Remove.
2252 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2253 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2254 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2255 (verilog-auto-tieoff-ignore-regexp)
2256 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2257 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2258 (verilog-signals-with, verilog-dir-cache-preserving)
2259 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2260 Doc fixes.
2261 (verilog-case-fold): New option, to control case folding in
2262 regexp searches, bug597.
2263 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2264 (verilog-string-match-fold, verilog-in-paren-count)
2265 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2266 (verilog-at-close-struct-p): New functions.
2267 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2268 (verilog-forward-sexp, verilog-set-auto-endcomments):
2269 (verilog-leap-to-case-head): Handle "unique0" case.
2270 (verilog-in-constraint-re): New constant.
2271 (verilog-keywords, verilog-type-font-keywords):
2272 Add some SystemVerilog 1800-2012 keywords.
2273 (verilog-label-be): Remove unimplemented argument, bug669.
2274 (verilog-batch-execute-func): When batch expanding clear
2275 create-lockfiles to prevent spurious user locks when a file ends
2276 up not changing.
2277 (verilog-calculate-indent, verilog-calc-1)
2278 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2279 (verilog-do-indent): Fix indentation of nested constraints
2280 and structures.
2281 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2282 (verilog-auto-inst-param): Use verilog-string-match-fold.
2283 (verilog-read-inst-module-matcher):
2284 Fix AUTOINST on gate primitives with #1.
2285 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2286 Reads all user-defined typed variables.
2287 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2288 (verilog-signals-matching-regexp)
2289 (verilog-signals-not-matching-regexp, verilog-auto):
2290 Respect verilog-case-fold.
2291 (verilog-diff-report): Fix line count.
2292 (verilog-auto-assign-modport): Remove unused local `modi'.
2293 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2294 better handle multidimensional arrays.
2295 Fix packed array ports misadding bit index in AUTOINST, bug637.
2296 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2297 to not double-declare existing outputs and inputs, respectively.
2298 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2299 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2300 (verilog-sk-uvm-component): New skeleton.
2301 (verilog-submit-bug-report): Add verilog-case-fold,
2302 remove verilog-mode-release-date.
2303
2304 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2305
2306 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2307 as before.
2308
2309 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2310
2311 * textmodes/remember.el (remember): set buffer-offer-save in
2312 remember buffers (bug#13566).
2313
2314 2013-10-18 Daniel Colascione <dancol@dancol.org>
2315
2316 When evaluating forms in ielm, direct standard output to ielm
2317 buffer. Add new ielm-return-for-effect command. Remove trailing
2318 whitespace throughout.
2319
2320 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2321 (ielm-return-for-effect): New command.
2322 (ielm-send-input): Accept optional `for-effect' parameter.
2323 (ielm-eval-input): Accept optional `for-effect' parameter.
2324 Bind `standard-output' to stream we create using
2325 `ielm-standard-output-impl'. Suppress printing result when
2326 `for-effect'.
2327 (ielm-standard-output-impl): New function.
2328 (inferior-emacs-lisp-mode): Explain new features in documentation.
2329
2330 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2331
2332 Code cleanup.
2333
2334 * net/tramp.el (tramp-debug-message): Do not check for connection
2335 buffer.
2336 (tramp-message): Use "vector" connection property.
2337
2338 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2339 (tramp-equal-remote, tramp-eshell-directory-change)
2340 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2341 (tramp-adb-handle-rename-file)
2342 * net/tramp-cmds.el (tramp-list-remote-buffers)
2343 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2344 * net/tramp-compat.el (tramp-compat-process-running-p)
2345 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2346 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2347 (tramp-gvfs-handle-rename-file)
2348 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2349 (tramp-set-file-uid-gid)
2350 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2351 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2352 of `file-remote-p'.
2353
2354 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2355 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2356 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2357 (tramp-gw-open-network-stream): Suppress unrelated traces.
2358
2359 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2360 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2361 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2362 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2363 connection property.
2364
2365 * net/tramp-cache.el (top): Suppress traces when reading
2366 persistency file.
2367
2368 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2369 Refactor common code. Improve debug message.
2370 (tramp-maybe-open-connection)
2371 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2372 connection buffer too early.
2373
2374 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2375 from `tramp-smb-actions-with-acl'.
2376 (tramp-smb-actions-set-acl): New defconst.
2377 (tramp-smb-handle-copy-directory)
2378 (tramp-smb-action-get-acl): New defun, renamed from
2379 `tramp-smb-action-with-acl'.
2380 (tramp-smb-action-set-acl): New defun.
2381 (tramp-smb-handle-set-file-acl): Rewrite.
2382
2383 2013-10-17 Glenn Morris <rgm@gnu.org>
2384
2385 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2386
2387 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * skeleton.el (skeleton-newline): Remove.
2390 (skeleton-internal-1): Use (insert "\n") instead.
2391
2392 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2393 let-bindings.
2394
2395 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2396 forward-sexp-function while we redo its job (bug#15613).
2397
2398 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2399
2400 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2401 represented by lists.
2402
2403 2013-10-16 Glenn Morris <rgm@gnu.org>
2404
2405 * tmm.el (tmm--history): New dynamic variable.
2406 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2407
2408 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2409
2410 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2411 (tramp-smb-errors): Add error messages.
2412 (tramp-smb-actions-with-acl): New defconst.
2413 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2414 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2415 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2416 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2417 (tramp-smb-get-stat-capability): Fix tests.
2418
2419 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2420
2421 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2422 (bug#15580).
2423
2424 2013-10-16 Glenn Morris <rgm@gnu.org>
2425
2426 * ansi-color.el (ansi-color-drop-regexp):
2427 Add 1J, 1K, 2K. (Bug#15617)
2428
2429 * files.el (hack-local-variables--warned-lexical): New.
2430 (hack-local-variables):
2431 Warn about misplaced lexical-binding. (Bug#15616)
2432
2433 * net/eww.el (eww-render): Always set eww-current-url,
2434 and update header line. (Bug#15622)
2435 (eww-display-html): ... Rather than just doing it here.
2436
2437 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2438
2439 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2440 menu navigations commands.
2441
2442 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2443
2444 * progmodes/subword.el (subword-capitalize): Be careful when
2445 the search for [[:alpha:]] fails (bug#15580).
2446
2447 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2448
2449 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2450 to commands that scroll the menu.
2451
2452 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2453
2454 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2455 Handle methods ending with `?' and `!'.
2456
2457 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2458
2459 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2460 `japanese-cp932' to `cp932' to fix the problem where saving a
2461 source file written in Shift_JIS twice would end up having
2462 `coding: japanese-cp932' which Ruby could not recognize.
2463 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2464 in `ruby-encoding-map'.
2465 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2466 doesn't need to be explicitly declared in magic comment.
2467 (ruby-encoding-map): Add type declaration for better customize UI.
2468
2469 2013-10-13 Glenn Morris <rgm@gnu.org>
2470
2471 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2472 Occur buffers are read-only. http://bugs.debian.org/720775
2473
2474 * emacs-lisp/authors.el (authors-fixed-entries):
2475 Comment out old alpha stuff.
2476
2477 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2478
2479 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2480 to `after-save-hook' instead of `before-save-hook'.
2481 (ruby-mode-set-encoding): Use the value of coding system used to
2482 write the file. Call `basic-save-buffer-1' after modifying the
2483 buffer.
2484
2485 2013-10-13 Alan Mackenzie <acm@muc.de>
2486
2487 Fix indentation/fontification of Java enum with
2488 "implements"/generic.
2489
2490 * progmodes/cc-engine.el (c-backward-over-enum-header):
2491 Extracted from the three other places and enhanced to handle generics.
2492 (c-inside-bracelist-p): Uses new function above.
2493 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2494 function above.
2495 (c-font-lock-enum-tail): Uses new function above.
2496
2497 2013-10-13 Kenichi Handa <handa@gnu.org>
2498
2499 * international/mule-cmds.el (select-safe-coding-system): Remove a
2500 superfluous condition in chekcing whether a coding system is safe
2501 or not.
2502
2503 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2504
2505 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2506
2507 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2508
2509 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2510
2511 2013-10-13 Glenn Morris <rgm@gnu.org>
2512
2513 * menu-bar.el (menu-bar-update-buffers):
2514 Unify Buffers menu prompt string. (Bug#15576)
2515
2516 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2517
2518 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2519 Add some entries.
2520 (authors-fixed-entries): Use accented form of name.
2521
2522 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2525 method calls (bug#15594).
2526 (ruby-smie--args-separator-p): New function.
2527 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2528 recognize paren-free method calls.
2529
2530 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2531 internals of universal-argument.
2532
2533 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2534
2535 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2536 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2537 dropped menu on second mouse click on the menu bar.
2538
2539 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2542 (explicit-shell-file-name): Declare.
2543 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2544 (sh-completion-at-point-function): New function.
2545 (sh-mode): Use it.
2546 (sh-smie--keyword-p): Remove unused argument.
2547 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2548 vars.
2549 (sh-set-shell): Always setup SMIE, even if we use the
2550 old indentation code.
2551
2552 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2553
2554 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2555 cases of ? and =.
2556 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2557 predicate would return nil are almost non-existent.
2558 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2559
2560 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2561 cache also after commands that modify the buffer but don't move
2562 point.
2563
2564 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * env.el (substitute-env-in-file-name): New function.
2567 (substitute-env-vars): Extend the meaning of the optional arg.
2568
2569 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2570
2571 * term/w32-win.el (dynamic-library-alist): Define separate lists
2572 of GIF DLLs for versions before and after 5.0.0 of giflib.
2573 (Bug#15531)
2574
2575 2013-10-10 João Távora <joaotavora@gmail.com>
2576
2577 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2578 not locked, use last revision and current source as
2579 defaults. (Bug#15569)
2580
2581 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2582
2583 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2584 menu-bar is hidden.
2585
2586 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2587
2588 * window.el (pop-to-buffer-same-window): Fix doc-string.
2589 (Bug#15492)
2590
2591 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2594
2595 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2596
2597 * calendar/icalendar.el (icalendar-import-file):
2598 Fix interactive spec. (Bug#15482)
2599
2600 2013-10-10 Glenn Morris <rgm@gnu.org>
2601
2602 * desktop.el (desktop-save): Default to saving in .emacs.d,
2603 since PWD is no longer in desktop-path by default. (Bug#15319)
2604
2605 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2606 now that text mode has a menu with the same entry.
2607 (menu-bar-text-mode-auto-fill): Remove now unused func.
2608 * textmodes/text-mode.el (text-mode-map):
2609 Use auto-fill help text from menu-bar.el.
2610
2611 2013-10-10 John Anthony <john@jo.hnanthony.com>
2612
2613 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2614
2615 2013-10-09 Juri Linkov <juri@jurta.org>
2616
2617 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2618 instead of this-command-keys. Add universal-argument-more and
2619 universal-argument-minus to the list of prefix commands. (Bug#15568)
2620
2621 2013-10-09 Glenn Morris <rgm@gnu.org>
2622
2623 * vc/vc-svn.el (vc-svn-create-repo):
2624 Expand paths in file://... url. (Bug#15446)
2625
2626 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2627 Add some entries.
2628 (authors): Remove unused local variables.
2629
2630 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 * profiler.el: Create a more coherent calltree from partial backtraces.
2633 (profiler-format): Hide the tail with `invisible' so that C-s can still
2634 find the hidden elements.
2635 (profiler-calltree-depth): Don't recurse so enthusiastically.
2636 (profiler-function-equal): New hash-table-test.
2637 (profiler-calltree-build-unified): New function.
2638 (profiler-calltree-build): Use it.
2639 (profiler-report-make-name-part): Indent the calltree less.
2640 (profiler-report-mode): Add visibility specs for profiler-format.
2641 (profiler-report-expand-entry, profiler-report-toggle-entry):
2642 Expand the whole subtree when provided with a prefix arg.
2643
2644 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2645
2646 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2647 iuwu-mod token.
2648 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2649 hanging iuwu-mod token.
2650 (ruby-smie--forward-token): Do not include a dot after a token in
2651 that token.
2652 (ruby-smie--backward-token): Likewise.
2653
2654 2013-10-08 Juri Linkov <juri@jurta.org>
2655
2656 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2657 to isearch-other-control-char.
2658 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2659 and isearch-post-command-hook to post-command-hook.
2660 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2661 and isearch-post-command-hook from post-command-hook.
2662 (isearch-unread-key-sequence)
2663 (isearch-reread-key-sequence-naturally)
2664 (isearch-lookup-scroll-key, isearch-other-control-char)
2665 (isearch-other-meta-char): Remove functions.
2666 (isearch-pre-command-hook, isearch-post-command-hook):
2667 New functions based on isearch-other-meta-char rewritten
2668 relying on the new behavior of overriding-terminal-local-map
2669 that does not replace the local keymaps any more. (Bug#15200)
2670
2671 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2672
2673 Support menus on text-mode terminals.
2674 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2675 functionality.
2676
2677 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2678
2679 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2680 Move here from mouse.el.
2681 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2682 and arrow keys.
2683 (tty-menu-navigation-map): New map for TTY menu navigation.
2684
2685 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2686
2687 * frame.el (display-mouse-p): Report text-mode mouse as available
2688 on w32.
2689 (display-popup-menus-p): Report availability if mouse is
2690 available; don't condition on window-system.
2691
2692 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2693 (tty-menu-selected-face): New faces.
2694
2695 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2696
2697 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2698 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2699 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2700 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2701 New constants.
2702 (lisp-mode-variables): New `elisp' argument.
2703 (emacs-lisp-mode): Use it.
2704 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2705 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2706
2707 * indent.el: Use lexical-binding.
2708 (indent-region): Add progress reporter.
2709 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2710 last step.
2711 (indent--next-tab-stop): New function to implement this behavior.
2712 (tab-to-tab-stop, move-to-tab-stop): Use it.
2713
2714 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2715
2716 * indent.el (indent-rigidly--current-indentation): New function.
2717 (indent-rigidly-map): New var.
2718 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2719
2720 2013-10-08 Bastien Guerry <bzg@gnu.org>
2721
2722 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2723
2724 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2725
2726 * progmodes/perl-mode.el: Use lexical-binding.
2727 Remove redundant :group args.
2728 (perl-nochange): Change default to be closer to other major modes's
2729 standard behavior.
2730 (perl-indent-line): Don't consider text on current line as a
2731 valid beginning of function from which to indent.
2732
2733 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2734 with more than one argument (bug#15538).
2735
2736 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2737
2738 * vc/pcvs.el: Use lexical-binding.
2739 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2740 environment of `eval'.
2741 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2742 than a list of expressions. Adjust callers.
2743 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2744
2745 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2746
2747 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2748 case of the dot in a chained method call being on the following line.
2749
2750 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2751
2752 * electric.el (electric-indent-inhibit): New var.
2753 (electric-indent-post-self-insert-function): Use it.
2754 * progmodes/python.el (python-mode): Set it.
2755
2756 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2757 open braces.
2758
2759 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2760
2761 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2762 (css-mode): Use electric-indent-chars.
2763
2764 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2765 (font-lock-beg, font-lock-end): Move before first use.
2766 (nxml-mode): Use syntax-propertize-function.
2767 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2768 (nxml-extend-after-change-region): Remove.
2769 * nxml/xmltok.el: Use lexical-binding.
2770 (xmltok-save): Use `declare'.
2771 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2772 * nxml/nxml-util.el: Use lexical-binding.
2773 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2774 Use `declare'.
2775 * nxml/nxml-ns.el: Use lexical-binding.
2776 (nxml-ns-save): Use `declare'.
2777 (nxml-ns-prefixes-for): Avoid add-to-list.
2778 * nxml/rng-match.el: Use lexical-binding.
2779 (rng--ipattern): Use cl-defstruct.
2780 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2781 (rng-cons-group-after, rng-subst-group-after)
2782 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2783 Use closures instead of `(lambda...).
2784
2785 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2786
2787 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2788 of BEG and END.
2789
2790 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2791 Use `tramp-handle-insert-file-contents'.
2792 (tramp-gvfs-handle-insert-file-contents): Remove function.
2793
2794 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2795 Use `save-restriction' in order to keep markers.
2796
2797 * net/trampver.el: Update release number.
2798
2799 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 * progmodes/compile.el (compilation-parse-errors):
2802 Use compilation--put-prop.
2803 (compilation--ensure-parse): Check compilation-multiline.
2804
2805 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2806
2807 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2808 lexical-binding.
2809
2810 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2811
2812 * progmodes/ruby-mode.el: Fix recently added tests.
2813 (ruby-smie-grammar): Add - and +.
2814 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2815 (ruby-smie--backward-id): New functions.
2816 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2817 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2818 any more.
2819
2820 2013-10-07 Leo Liu <sdl.web@gmail.com>
2821
2822 * register.el (register-preview-delay)
2823 (register-preview-functions): New variables.
2824 (register-read-with-preview, register-preview)
2825 (register-describe-oneline): New functions.
2826 (point-to-register, window-configuration-to-register)
2827 (frame-configuration-to-register, jump-to-register)
2828 (number-to-register, view-register, insert-register)
2829 (copy-to-register, append-to-register, prepend-to-register)
2830 (copy-rectangle-to-register): Use register-read-with-preview to
2831 read register. (Bug#15525)
2832
2833 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2834
2835 * net/network-stream.el (network-stream-open-starttls): Don't add
2836 --insecure if it's already present, because that gnutls-cli
2837 rejects getting that parameter twice.
2838
2839 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2840
2841 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2842 keyword, too.
2843
2844 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2845
2846 * newcomment.el (comment-use-global-state): Change default value
2847 to t, mark obsolete (Bug#15251).
2848 (comment-beginning): In addition to `comment-to-syntax', check the
2849 value of `comment-use-global-state'.
2850
2851 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2854 (ruby-comment-column): Follow the global default, by default.
2855 (ruby-smie-grammar): Add assignment syntax.
2856 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2857 open-paren, a comma, or a \.
2858 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2859 and line continuations.
2860 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2861 followed by implicit semi-colons. Add rule for string concatenation
2862 and for indentation at BOB.
2863 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2864
2865 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2866 calling next-sexp, since next-token may have skipped chars which
2867 next-sexp doesn't know should be skipped!
2868
2869 2013-10-05 Leo Liu <sdl.web@gmail.com>
2870
2871 * progmodes/octave.el (octave-send-region):
2872 Call compilation-forget-errors.
2873
2874 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2875
2876 * vc/vc-svn.el (vc-svn-find-admin-dir):
2877 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2878 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2879 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2880 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2881
2882 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2885
2886 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * subr.el (read-passwd): Hide chars even when called within a context
2889 where after-change-functions is disabled (bug#15501).
2890 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2891 until we removed ourself from overriding-terminal-local-map.
2892
2893 2013-10-04 Leo Liu <sdl.web@gmail.com>
2894
2895 * progmodes/octave.el (inferior-octave-mode):
2896 Call compilation-forget-errors.
2897
2898 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2899
2900 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2901
2902 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2903
2904 * net/secrets.el (secrets-create-collection): Add optional
2905 argument ALIAS. Use proper Label keyword. Append ALIAS as
2906 dbus-call-method argument. (Bug#15516)
2907
2908 2013-10-04 Leo Liu <sdl.web@gmail.com>
2909
2910 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2911 (inferior-octave-compilation-font-lock-keywords): New variables.
2912 (compilation-error-regexp-alist)
2913 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2914 (inferior-octave-mode): Use compilation-shell-minor-mode.
2915
2916 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2917
2918 * minibuffer.el (completion--replace): Be careful that `end' might be
2919 a marker.
2920
2921 2013-10-03 Daiki Ueno <ueno@gnu.org>
2922
2923 Add support for package signature checking.
2924 * emacs-lisp/package.el (url-http-file-exists-p)
2925 (epg-make-context, epg-context-set-home-directory)
2926 (epg-verify-string, epg-context-result-for)
2927 (epg-signature-status, epg-signature-to-string)
2928 (epg-check-configuration, epg-configuration)
2929 (epg-import-keys-from-file): Declare.
2930 (package-check-signature): New user option.
2931 (package-unsigned-archives): New user option.
2932 (package-desc): Add `signed' field.
2933 (package-load-descriptor): Set `signed' field if .signed file exists.
2934 (package--archive-file-exists-p): New function.
2935 (package--check-signature): New function.
2936 (package-install-from-archive): Check package signature.
2937 (package--download-one-archive): Check archive signature.
2938 (package-delete): Remove .signed file.
2939 (package-import-keyring): New command.
2940 (package-refresh-contents): Import default keyring.
2941 (package-desc-status): Add "unsigned" status.
2942 (describe-package-1, package-menu--print-info)
2943 (package-menu-mark-delete, package-menu--find-upgrades)
2944 (package-menu--status-predicate): Support "unsigned" status.
2945
2946 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2949 the new compilation scheme using the new byte-codes.
2950
2951 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2952 (byte-pophandler): New byte codes.
2953 (byte-goto-ops): Adjust accordingly.
2954 (byte-compile--use-old-handlers): New var.
2955 (byte-compile-catch): Use new byte codes depending on
2956 byte-compile--use-old-handlers.
2957 (byte-compile-condition-case--old): Rename from
2958 byte-compile-condition-case.
2959 (byte-compile-condition-case--new): New function.
2960 (byte-compile-condition-case): New function that dispatches depending
2961 on byte-compile--use-old-handlers.
2962 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2963 when we can.
2964
2965 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2966 Optimize under `condition-case' and `catch' if
2967 byte-compile--use-old-handlers is nil.
2968 (disassemble-offset): Handle new bytecodes.
2969
2970 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2971
2972 * subr.el (error): Use `declare'.
2973 (decode-char, encode-char): Use advertised-calling-convention instead
2974 of the docstring to discourage use of the `restriction' arg.
2975
2976 2013-10-03 Daiki Ueno <ueno@gnu.org>
2977
2978 * epg.el (epg-verify-file): Add a comment saying that it does not
2979 notify verification error as a return value nor a signal.
2980 (epg-verify-string): Ditto.
2981
2982 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2983
2984 * progmodes/compile.el (compilation-start): Try globbing the arg to
2985 `cd' (bug#15417).
2986
2987 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2988
2989 Sync with Tramp 2.2.8.
2990
2991 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2992 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2993 * net/trampver.el: Update release number.
2994
2995 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2996
2997 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2998 and default-process-coding-system for darwin only.
2999
3000 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3001
3002 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3003
3004 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3005
3006 * vc/vc-git.el (vc-git-grep): Disable pager.
3007
3008 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3009
3010 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3011 Use :url instead of :homepage, as per
3012 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3013
3014 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3015 non-nil, use `syntax-ppss' (Bug#15251).
3016
3017 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3018
3019 * progmodes/octave.el (inferior-octave-startup-file):
3020 Prefer ~/.emacs.d/init_octave.m.
3021
3022 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3023
3024 * emacs-lisp/package.el (package-desc-from-define):
3025 Accept additional arguments as plist, convert them to an alist and store
3026 them in the `extras' slot.
3027 (package-generate-description-file): Convert extras alist back to
3028 plist and append to the `define-package' form arguments.
3029 (package--alist-to-plist): New function.
3030 (package--ac-desc): Add `extras' slot.
3031 (package--add-to-archive-contents): Check if the archive-contents
3032 vector is long enough, and if it is, pass its `extras' slot value
3033 to `package-desc-create'.
3034 (package-buffer-info): Call `lm-homepage', pass the returned value
3035 to `package-desc-from-define'.
3036 (describe-package-1): Render the homepage button (Bug#13291).
3037
3038 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3039 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3040
3041 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3042
3043 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3044 and default-process-coding-system to utf-8-unix (Bug#15402).
3045
3046 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3047
3048 * subr.el (looking-back): Do not recommend using looking-back.
3049
3050 2013-09-28 Alan Mackenzie <acm@muc.de>
3051
3052 Fix indentation/fontification of Java enum with "implements".
3053
3054 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3055 regexp which matches "implements", etc., in Java.
3056 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3057 specifier clauses coming after "enum".
3058 * progmodes/cc-fonts.el (c-font-lock-declarations)
3059 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3060 after "enum".
3061
3062 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3063
3064 * faces.el (region): Change ns_selection_color to
3065 ns_selection_fg_color, add ns_selection_bg_color.
3066
3067 2013-09-28 Leo Liu <sdl.web@gmail.com>
3068
3069 * progmodes/octave.el (inferior-octave-completion-table)
3070 (inferior-octave-completion-at-point): Minor tweaks.
3071
3072 * textmodes/ispell.el (ispell-lookup-words): Rename from
3073 lookup-words. (Bug#15460)
3074 (lookup-words): Obsolete.
3075 (ispell-complete-word, ispell-command-loop): All uses changed.
3076
3077 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3078
3079 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3080 (octave-mode-menu): Add octave-send-buffer.
3081 (octave-send-buffer): New function.
3082
3083 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3084
3085 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3086 octave-lookfor.
3087 (octave-mode-menu): Add octave-lookfor.
3088 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3089 octave-lookfor.
3090 (octave-lookfor): New function.
3091
3092 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3093
3094 * emacs-lisp/cl-macs.el:
3095 (cl--loop-destr-temps): Remove.
3096 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3097 its convention.
3098 (cl--loop-set-iterator-function): New function.
3099 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3100 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3101 Bind `it' with `let' instead of substituting it with `cl-subst'.
3102 (cl--unused-var-p): New function.
3103 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3104 Eliminate some unused variable warnings (bug#15326).
3105
3106 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3107
3108 * doc-view.el (doc-view-scale-reset): Rename from
3109 `doc-view-reset-zoom-level'.
3110 (doc-view-scale-adjust): New command.
3111 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3112 `doc-view-scale-adjust'.
3113
3114 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3115
3116 * doc-view.el (doc-view-reset-zoom-level): New command.
3117 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3118 zoom commands (bug#15466).
3119
3120 2013-09-26 Kenichi Handa <handa@gnu.org>
3121
3122 * international/quail.el (quail-help): Make it not a command.
3123
3124 2013-09-26 Leo Liu <sdl.web@gmail.com>
3125
3126 * minibuffer.el (completion-all-sorted-completions): Make args
3127 optional as they are.
3128
3129 2013-09-25 Daniel Colascione <dancol@dancol.org>
3130
3131 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3132 specs are and that they're not evaluated.
3133
3134 2013-09-24 Sam Steingold <sds@gnu.org>
3135
3136 * midnight.el (clean-buffer-list-kill-regexps)
3137 (clean-buffer-list-kill-buffer-names): Update for the new Man
3138 buffer naming which includes the object name.
3139
3140 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3143 (eshell-parse-command, eshell-parse-pipeline): Use it since
3144 eshell-separate-commands requires a dynamic scoped var.
3145 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3146
3147 2013-09-23 Leo Liu <sdl.web@gmail.com>
3148
3149 * autoinsert.el (auto-insert-alist): Make the value of
3150 lexical-binding match its file setting.
3151
3152 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3153
3154 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3155
3156 * autoarg.el (autoarg-kp-digit-argument):
3157 * electric.el (Electric-command-loop):
3158 * kmacro.el (kmacro-step-edit-insert):
3159 Do not set universal-argument-num-events.
3160
3161 2013-09-22 Leo Liu <sdl.web@gmail.com>
3162
3163 * files.el (interpreter-mode-alist): Add octave.
3164
3165 2013-09-21 Alan Mackenzie <acm@muc.de>
3166
3167 C++: fontify identifier in declaration following "public:" correctly.
3168 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3169 to match "public", etc.
3170 (c-decl-prefix-re): Add ":" into the C++ value.
3171 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3172 bit. Add a check for a ":" preceded by "public", etc.
3173
3174 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3175
3176 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3177 recognized by GDB 7.5 and later.
3178
3179 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3180
3181 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3182
3183 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * subr.el (internal--call-interactively): New const.
3186 (called-interactively-p): Use it (bug#3984).
3187
3188 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3189
3190 * vc/pcvs.el (cvs-mode-ignore):
3191 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3192 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3193
3194 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3197 (eshell-ls-orig-insert-directory): Remove.
3198 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3199 (eshell-ls-use-in-dired): Use advice-add/remove.
3200 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3201 Add `orig-fun' arg for use in :around advice.
3202 Make it check (redundantly) eshell-ls-use-in-dired.
3203
3204 2013-09-19 Glenn Morris <rgm@gnu.org>
3205
3206 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3207
3208 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3209
3210 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3211
3212 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3213
3214 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3215 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3216 (tramp-get-remote-python): New defuns.
3217 (tramp-get-remote-uid-with-perl)
3218 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3219 contributed by yary <not.com@gmail.com> (tiny change).
3220 (tramp-get-remote-uid-with-python)
3221 (tramp-get-remote-gid-with-python): New defuns. Python code
3222 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3223 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3224
3225 2013-09-19 Glenn Morris <rgm@gnu.org>
3226
3227 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3228
3229 * eshell/em-unix.el (eshell-remove-entries):
3230 Rename argument to avoid name-clash with global `top-level'.
3231
3232 * eshell/esh-proc.el (eshell-kill-process-function):
3233 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3234 (eshell-reset-after-proc): Remove unused arg `proc'.
3235
3236 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3237 (directory-files-and-attributes): Mark unused arg.
3238
3239 * eshell/em-unix.el (eshell-remove-entries):
3240 Remove unused arg `path'. Update callers.
3241
3242 * eshell/em-hist.el (eshell-hist-parse-arguments):
3243 Remove unused arg `silent'. Update callers.
3244
3245 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3246 Fix (f)boundp mix-up.
3247
3248 * eshell/em-smart.el (eshell-smart-scroll-window)
3249 (eshell-disable-after-change):
3250 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3251
3252 2013-09-18 Alan Mackenzie <acm@muc.de>
3253
3254 Fix fontification of type when followed by "const".
3255 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3256 "known" types from fontification.
3257
3258 2013-09-18 Glenn Morris <rgm@gnu.org>
3259
3260 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3261 (chart-face-list): Drop Emacsen without display-color-p.
3262
3263 * net/eww.el (libxml-parse-html-region): Declare.
3264 (eww-display-html): Explicit error if no libxml2 support.
3265
3266 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3267
3268 * image.el (image-type-from-buffer, image-multi-frame-p):
3269 Remove --without-x warning/error.
3270
3271 * mouse.el (mouse-yank-primary):
3272 * term.el (term-mouse-paste):
3273 Reorder to silence --without-x compilation.
3274
3275 * mpc.el (doc-view-mode): Silence --without-x compilation.
3276
3277 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3278 Silence --without-x compilation.
3279
3280 * progmodes/gud.el (gud-find-file, gud-mode):
3281 Silence --without-x compilation.
3282 (tooltip-mode): Declare.
3283
3284 * wdired.el (dired-backup-overwrite): Remove declaration.
3285 (wdired-mode-map): Add doc string.
3286
3287 * custom.el (x-get-resource): Declare.
3288
3289 * eshell/em-glob.el (ange-cache):
3290 * eshell/em-unix.el (ange-cache): Declare.
3291
3292 * faces.el (x-display-list, x-open-connection, x-get-resource):
3293 Declare.
3294
3295 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3296 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3297 Declare.
3298
3299 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3300
3301 * net/gnutls.el (gnutls-log-level): Declare.
3302
3303 * net/shr.el (image-size, image-animate): Declare.
3304
3305 * simple.el (font-info): Declare.
3306
3307 * subr.el (x-popup-dialog): Declare.
3308
3309 * term/common-win.el (x-select-enable-primary)
3310 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3311 Declare.
3312
3313 * term/ns-win.el (x-handle-args): Declare.
3314
3315 * term/x-win.el (x-select-enable-clipboard): Declare.
3316
3317 * term/w32-win.el (create-default-fontset): Declare.
3318
3319 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3320 Declare.
3321
3322 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3323 (fit-frame-to-buffer): Explicit error if --without-x.
3324 (mouse-autoselect-window-select): Silence compiler.
3325
3326 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3327
3328 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3329 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3330 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3331 * eshell/esh-util.el (eshell-sublist):
3332 Remove unused local variables.
3333
3334 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3335
3336 * textmodes/two-column.el: Make 2C-split work for --without-x.
3337 (scroll-bar-columns): Autoload.
3338 (top-level): Require fringe when compiling.
3339
3340 2013-09-18 Leo Liu <sdl.web@gmail.com>
3341
3342 * subr.el (add-hook): Robustify to handle closure as well.
3343
3344 2013-09-17 Glenn Morris <rgm@gnu.org>
3345
3346 * simple.el (messages-buffer-mode-map): Unbind "g".
3347
3348 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * help-mode.el (help-mode-finish): Use derived-mode-p.
3351 Remove obsolete highlighting.
3352
3353 * play/life.el (life-mode): Use define-derived-mode. Derive from
3354 special-mode.
3355 (life): Let-bind inhibit-read-only.
3356 (life-setup): Avoid `setq'. Use `life-mode'.
3357
3358 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3359 which should not be needed any more.
3360 (package-menu-refresh, package-menu-describe-package): Use user-error.
3361
3362 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3363 (eshell-post-rewrite-command-hook): Make obsolete.
3364 (eshell-parse-command): Simplify.
3365 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3366 (eshell--cmd): Declare.
3367 (eshell-parse-pipeline): Remove unused var `final-p'.
3368 Pass a dynvar to eshell-post-rewrite-command-hook.
3369 Implement the new eshell-post-rewrite-command-function.
3370 (eshell-invoke-directly): Remove unused arg `input'.
3371 * eshell/esh-io.el (eshell-io-initialize):
3372 Use eshell-post-rewrite-command-function (bug#15399).
3373 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3374 adjust to new calling convention.
3375 (eshell-create-handles): Rename args to avoid clashing with dynvar
3376 `standard-output'.
3377
3378 2013-09-17 Glenn Morris <rgm@gnu.org>
3379
3380 * simple.el (messages-buffer-mode): New major mode.
3381 (messages-buffer): New function.
3382 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3383 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3384 (ert-run-test): Use `messages-buffer' function.
3385 (ert--force-message-log-buffer-truncation): Ignore read-only.
3386 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3387 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3388
3389 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3392
3393 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3394
3395 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * icomplete.el (icomplete-in-buffer): New var.
3398 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3399 vars and replace them with functions.
3400 (icomplete-minibuffer-setup): Adjust accordingly.
3401 (icomplete--completion-table, icomplete--completion-predicate)
3402 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3403 New functions.
3404 (icomplete-forward-completions, icomplete-backward-completions)
3405 (icomplete-simple-completing-p, icomplete-exhibit)
3406 (icomplete-completions): Use them.
3407 (icomplete--in-region-buffer): New var.
3408 (icomplete--in-region-setup): New function.
3409 (icomplete-mode): Use it.
3410
3411 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3412 (bug#15379).
3413 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3414 return args and options.
3415 (eshell-eval-using-options): Use the new return value of
3416 eshell--do-opts to set the options's vars in their scope.
3417 (eshell--set-option): Rename from eshell-set-option.
3418 Add arg `opt-vals'.
3419 (eshell--process-option): Rename from eshell-process-option.
3420 Add arg `opt-vals'.
3421 (eshell--process-args): Use an `opt-vals' alist to store the options's
3422 values during their processing and return them additionally to the
3423 remaining args.
3424
3425 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3426
3427 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3428 continuation character an operator, as far as indentation is
3429 concerned (Bug#15369).
3430
3431 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3432
3433 * window.el (window--state-put-2): Don't process buffer state
3434 when buffer doesn't exist any more (Bug#15382).
3435
3436 2013-09-15 Glenn Morris <rgm@gnu.org>
3437
3438 * eshell/em-unix.el (eshell/rm):
3439 Make -f ignore missing files. (Bug#15373)
3440
3441 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3442 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3443 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3444
3445 2013-09-14 Glenn Morris <rgm@gnu.org>
3446
3447 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3448
3449 2013-09-13 Glenn Morris <rgm@gnu.org>
3450
3451 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3452 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3453
3454 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3455
3456 * frame.el (x-focus-frame): Mark as declared in frame.c.
3457
3458 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * ls-lisp.el: Use advice-add.
3461 (original-insert-directory): Remove.
3462 (ls-lisp--insert-directory): Rename from insert-directory; add
3463 `orig-fun' argument.
3464 (insert-directory): Advise.
3465
3466 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3467
3468 * term.el (term-emulate-terminal): Decode the command string
3469 before passing it to term-command-hook. (Bug#15337)
3470
3471 2013-09-13 Glenn Morris <rgm@gnu.org>
3472
3473 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3474
3475 * eshell/esh-ext.el (eshell-search-path): Declare.
3476
3477 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3478 Otherwise an error occurs if eshell-dirs module not loaded.
3479
3480 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3481
3482 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3483
3484 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3485 `tramp-check-proper-host'. Check for a valid method name.
3486
3487 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3488 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3489 * net/tramp-sh.el (tramp-maybe-open-connection):
3490 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3491
3492 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3493 also for hash values.
3494
3495 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3496
3497 * term/ns-win.el (parameters): Don't declare as dynamic.
3498 (before-make-frame-hook): Don't add ineffective function.
3499
3500 * eshell/*.el: Use lexical-binding (bug#15231).
3501
3502 2013-09-12 Kenichi Handa <handa@gnu.org>
3503
3504 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3505
3506 2013-09-12 Glenn Morris <rgm@gnu.org>
3507
3508 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3509 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3510
3511 * subr.el (do-after-load-evaluation): Also give compiler warnings
3512 when obsolete files are used (except by obsolete files).
3513
3514 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3515 in the status output, assume `filename' is the first. (Bug#15322)
3516
3517 * vc/vc.el (vc-deduce-fileset): Doc fix.
3518
3519 * calc/calc-help.el (Info-goto-node):
3520 * progmodes/cperl-mode.el (Info-find-node):
3521 * vc/ediff.el (Info-goto-node): Update declarations.
3522
3523 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3524
3525 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3526 (vc-bzr-pull): Require vc-dispatcher.
3527 * vc/vc-git.el (vc-compilation-mode): Declare.
3528 (vc-git-pull): Require vc-dispatcher.
3529
3530 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3531
3532 * progmodes/octave.el (help-button-action): Declare.
3533
3534 * shell.el (shell-directory-tracker): Output error as a message
3535 rather than just returning it as a string.
3536 (shell-process-pushd): Remove useless use of message.
3537
3538 * dframe.el (dframe-timer-fn):
3539 * files.el (dir-locals-read-from-file):
3540 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3541 (mpc-format):
3542 * reveal.el (reveal-post-command):
3543 * saveplace.el (load-save-place-alist-from-file):
3544 * shell.el (shell-resync-dirs):
3545 * w32-common-fns.el (x-get-selection-value):
3546 * emacs-lisp/copyright.el (copyright-find-copyright):
3547 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3548 * emulation/tpu-edt.el (tpu-copy-keyfile):
3549 * play/bubbles.el (bubbles--mark-neighbourhood):
3550 * progmodes/executable.el
3551 (executable-make-buffer-file-executable-if-script-p):
3552 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3553
3554 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 Cleanup Eshell to rely less on dynamic scoping.
3557 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3558 last-value, and ext-command here. Bind `args' closer to `body'.
3559 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3560 (eshell--args): Declare new dynamic var.
3561 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3562 last-value, and ext-command. Pass `args' to `body'.
3563 (eshell-process-args): Bind eshell--args.
3564 (eshell-set-option): Use eshell--args.
3565 * eshell/eshell.el (eshell): Use derived-mode-p.
3566 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3567 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3568 (eshell-glob-function): Declare.
3569 * eshell/esh-util.el: Require cl-lib.
3570 (eshell-read-hosts-file): Avoid add-to-list.
3571 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3572 `err'.
3573 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3574 Declare.
3575 (eshell/diff): Remove unused var `err'.
3576 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3577 `killflag'.
3578 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3579 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3580 first use.
3581 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3582 Move declaration before first use.
3583 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3584 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3585 rely on cl-return.
3586
3587 2013-09-12 Glenn Morris <rgm@gnu.org>
3588
3589 * term/ns-win.el (global-map): Remove binding for ispell-next,
3590 deleted 1999-05-29. (Bug#15357)
3591
3592 2013-09-11 Glenn Morris <rgm@gnu.org>
3593
3594 * echistory.el (electric-command-history): Remove call to deleted func.
3595
3596 * play/landmark.el (landmark-mode): Fix typos.
3597
3598 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3599 Check cvs-sort-ignore-file is bound.
3600
3601 * savehist.el: No need for cl when compiling on Emacs.
3602
3603 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3606 (bug#15338).
3607 (eshell-self-insert-command, eshell-send-invisible):
3608 Remove unused argument.
3609 (eshell-handle-control-codes): Remove unused var `orig'.
3610 Avoid delete-backward-char.
3611
3612 * files.el (set-auto-mode): Simplify a bit further.
3613
3614 2013-09-11 Glenn Morris <rgm@gnu.org>
3615
3616 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3617 (set-auto-mode): Don't regexp-quote elements.
3618 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3619 * progmodes/cc-mode.el (interpreter-mode-alist):
3620 * progmodes/ruby-mode.el (interpreter-mode-alist):
3621 Revert previous change.
3622
3623 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * play/snake.el (snake-mode):
3626 * play/mpuz.el (mpuz-mode):
3627 * play/landmark.el (lm-mode):
3628 * play/blackbox.el (blackbox-mode):
3629 * play/5x5.el (5x5-mode):
3630 * obsolete/options.el (Edit-options-mode):
3631 * net/quickurl.el (quickurl-list-mode):
3632 * net/newst-treeview.el (newsticker-treeview-mode):
3633 * mail/rmailsum.el (rmail-summary-mode):
3634 * mail/mspools.el (mspools-mode):
3635 * locate.el (locate-mode):
3636 * ibuffer.el (ibuffer-mode):
3637 * emulation/ws-mode.el (wordstar-mode):
3638 * emacs-lisp/debug.el (debugger-mode):
3639 * array.el (array-mode):
3640 * net/eudc.el (eudc-mode): Use define-derived-mode.
3641 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3642 Move initialization into declaration.
3643 (mairix-searches-mode): Use define-derived-mode.
3644 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3645 (eudc-edit-hotlist): Use dolist.
3646 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3647 (Man-mode): Use define-derived-mode.
3648 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3649 (Info-edit-mode): Use define-derived-mode.
3650 (Info-cease-edit): Use Info-mode.
3651 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3652 into declaration.
3653 (eshell-mode): Use define-derived-mode.
3654 * chistory.el (command-history-mode-map): Rename from
3655 command-history-map.
3656 (command-history-mode): Use define-derived-mode.
3657 (Command-history-setup): Remove function.
3658 * calc/calc.el (calc-trail-mode-map): New var.
3659 (calc-trail-mode): Use define-derived-mode.
3660 (calc-trail-buffer): Set calc-main-buffer manually.
3661 * bookmark.el (bookmark-insert-annotation): New function.
3662 (bookmark-edit-annotation): Use it.
3663 (bookmark-edit-annotation-mode): Make it a proper major mode.
3664 (bookmark-send-edited-annotation): Use derived-mode-p.
3665 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3666 closer to its ideal place. Use \' to match EOS.
3667
3668 * profiler.el (profiler-calltree-find): Use function-equal.
3669
3670 2013-09-10 Glenn Morris <rgm@gnu.org>
3671
3672 * files.el (interpreter-mode-alist): Convert to regexps.
3673 (set-auto-mode): Adapt for this. (Bug#15306)
3674 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3675 Comment out unused variable.
3676 * progmodes/cc-mode.el (interpreter-mode-alist):
3677 * progmodes/python.el (interpreter-mode-alist):
3678 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3679 * progmodes/sh-script.el (sh-set-shell):
3680 No longer use interpreter-mode-alist to get list of shells.
3681
3682 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3683
3684 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * simple.el: Use set-temporary-overlay-map for universal-argument.
3687 (universal-argument-map): Don't use default-bindings (bug#15317).
3688 Bind switch-frame explicitly. Replace universal-argument-minus with
3689 a conditional binding.
3690 (universal-argument-num-events, saved-overriding-map): Remove.
3691 (restore-overriding-map): Remove.
3692 (universal-argument--mode): Rename from save&set-overriding-map,
3693 and rewrite.
3694 (universal-argument, universal-argument-more, negative-argument)
3695 (digit-argument): Adjust accordingly.
3696 (universal-argument-minus): Remove.
3697 (universal-argument-other-key): Remove.
3698
3699 * subr.el (with-demoted-errors): Add `format' argument.
3700
3701 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3702
3703 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3704 `tramp-cleanup-connection'.
3705
3706 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3707 parameters KEEP-DEBUG and KEEP-PASSWORD.
3708
3709 * net/tramp.el (tramp-file-name-handler):
3710 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3711 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3712 (tramp-maybe-open-connection):
3713 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3714 Use `tramp-cleanup-connection'.
3715
3716 * net/tramp-sh.el (tramp-maybe-open-connection):
3717 Catch 'uname-changed inside the progress reporter.
3718
3719 2013-09-10 Glenn Morris <rgm@gnu.org>
3720
3721 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3722
3723 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3724 returns "alternate access method" in mode (eg "-rw-r--r--.").
3725
3726 2013-09-08 Glenn Morris <rgm@gnu.org>
3727
3728 * saveplace.el (load-save-place-alist-from-file):
3729 Demote errors. (Bug#15305)
3730
3731 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3732
3733 Improve compatibility with older Emacsen, and XEmacs.
3734
3735 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3736 only if it is bound. It isn't for XEmacs.
3737 (with-tramp-progress-reporter): Do not let-bind `result'.
3738 This yields to scoping errors in XEmacs.
3739 (tramp-handle-make-auto-save-file-name): New function, moved from
3740 tramp-sh.el.
3741
3742 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3743 for `make-auto-save-file-name'.
3744 (tramp-adb--gnu-switches-to-ash):
3745 Use `tramp-compat-replace-regexp-in-string'.
3746
3747 * net/tramp-cache.el (tramp-cache-print): Call
3748 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3749
3750 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3751 bound. It isn't for XEmacs.
3752
3753 * net/tramp-compat.el (tramp-compat-copy-file):
3754 Catch `wrong-number-of-arguments' error.
3755 (tramp-compat-replace-regexp-in-string): New defun.
3756
3757 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3758 for `make-auto-save-file-name'.
3759 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3760 `copy-file'.
3761 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3762 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3763 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3764
3765 * net/tramp-gw.el (tramp-gw-open-network-stream):
3766 Use `tramp-compat-replace-regexp-in-string'.
3767
3768 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3769 Call `tramp-handle-make-auto-save-file-name'.
3770 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3771 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3772 (tramp-sh-file-inotifywait-process-filter):
3773 Use `tramp-compat-replace-regexp-in-string'.
3774 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3775
3776 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3777 for `make-auto-save-file-name'.
3778 (tramp-smb-handle-copy-directory):
3779 Call `tramp-compat-replace-regexp-in-string'.
3780 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3781 (tramp-smb-handle-copy-file): Improve error message.
3782 (tramp-smb-handle-rename-file): Rename directly only in case
3783 `newname' does not exist yet. This is a restriction of smbclient.
3784 (tramp-smb-maybe-open-connection): Rerun the function only when
3785 `auth-sources' is non-nil.
3786
3787 2013-09-08 Kenichi Handa <handa@gnu.org>
3788
3789 * international/characters.el: Set category "^" (Combining) for
3790 more characters.
3791
3792 2013-09-07 Alan Mackenzie <acm@muc.de>
3793
3794 Correctly fontify Java class constructors.
3795 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3796 in Java Mode.
3797 (c-recognize-typeless-decls): Set the Java value to t.
3798 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3799 While handling a "(", add a check for, effectively, Java, and handle a
3800 "typeless" declaration there.
3801
3802 2013-09-07 Roland Winkler <winkler@gnu.org>
3803
3804 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3805 field subtitle for entry type book.
3806
3807 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * minibuffer.el: Make minibuffer-complete call completion-in-region
3810 rather than other way around.
3811 (completion--some, completion-pcm--find-all-completions):
3812 Don't delay signals when debugging.
3813 (minibuffer-completion-contents): Beware fields within the
3814 minibuffer contents.
3815 (completion-all-sorted-completions): Use defvar-local.
3816 (completion--do-completion, completion--cache-all-sorted-completions)
3817 (completion-all-sorted-completions, minibuffer-force-complete):
3818 Add args `beg' and `end'.
3819 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3820 (minibuffer-complete): Use completion-in-region.
3821 (completion-complete-and-exit): New fun, extracted from
3822 minibuffer-complete-and-exit.
3823 (minibuffer-complete-and-exit): Use it.
3824 (completion--complete-and-exit): Rename from
3825 minibuffer--complete-and-exit.
3826 (completion-in-region--single-word): New function, extracted from
3827 minibuffer-complete-word.
3828 (minibuffer-complete-word): Use it.
3829 (display-completion-list): Make `common-substring' argument obsolete.
3830 (completion--in-region): Call completion--in-region-1 instead of
3831 minibuffer-complete.
3832 (completion-help-at-point): Pass boundaries to
3833 minibuffer-completion-help as args rather than via an overlay.
3834 (completion-pcm--string->pattern): Use `any-delim'.
3835 (completion-pcm--optimize-pattern): New function.
3836 (completion-pcm--pattern->regex): Handle `any-delim'.
3837 * icomplete.el (icomplete-forward-completions)
3838 (icomplete-backward-completions, icomplete-completions):
3839 Adjust calls to completion-all-sorted-completions and
3840 completion--cache-all-sorted-completions.
3841 (icomplete-with-completion-tables): Default to t.
3842 * emacs-lisp/crm.el (crm--current-element): Rename from
3843 crm--select-current-element. Don't put an overlay but return the
3844 boundaries instead.
3845 (crm--completion-command): Take two new args to bind to the boundaries.
3846 (crm-completion-help): Adjust accordingly.
3847 (crm-complete): Use completion-in-region.
3848 (crm-complete-word): Use completion-in-region--single-word.
3849 (crm-complete-and-exit): Use completion-complete-and-exit.
3850
3851 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3854 than dynamically.
3855
3856 2013-09-06 Juri Linkov <juri@jurta.org>
3857
3858 * info.el (Info-display-images-node): When image file doesn't exist
3859 display text version of the image if it's provided in the Info file.
3860 Otherwise, display the location of missing image from SRC attribute.
3861 Add help-echo text property from ALT attribute. (Bug#15279)
3862
3863 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3866 (edit-abbrevs-mode): Use define-derived-mode.
3867
3868 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3869 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3870 that it's defined.
3871 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3872 Use define-derived-mode.
3873
3874 * epg.el (epg-start-encrypt): Minor CSE simplification.
3875
3876 2013-09-06 William Xu <william.xwl@gmail.com>
3877
3878 * arc-mode.el: Add support for 7za (bug#15264).
3879 (archive-7z-program): New var.
3880 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3881 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3882 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3883
3884 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3885
3886 Remove URL syntax.
3887
3888 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3889 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3890 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3891 (tramp-postfix-host-format, tramp-file-name-regexp)
3892 (tramp-completion-file-name-regexp)
3893 (tramp-completion-dissect-file-name)
3894 (tramp-handle-substitute-in-file-name): Remove 'url case.
3895 (tramp-file-name-regexp-url)
3896 (tramp-completion-file-name-regexp-url): Remove constants.
3897
3898 2013-09-06 Glenn Morris <rgm@gnu.org>
3899
3900 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3901
3902 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3903
3904 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3905 keywords" below "here-doc beginnings" (Bug#15270).
3906
3907 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * subr.el (pop): Use `car-safe'.
3910 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3911 to detect unused `pop' return value.
3912
3913 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3914 var `block-regexp'.
3915 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3916 (python-fill-string): Remove unused var `marker'.
3917 (python-skeleton-add-menu-items): Remove unused var `items'.
3918
3919 * international/mule-cmds.el: Require CL.
3920 (find-coding-systems-for-charsets): Avoid add-to-list.
3921 (sanitize-coding-system-list): New function, extracted from
3922 select-safe-coding-system-interactively.
3923 (select-safe-coding-system-interactively): Use it.
3924 (read-input-method-name): Accept symbols for `default'.
3925
3926 * emacs-lisp/advice.el (defadvice): Add indent rule.
3927
3928 2013-09-05 Daniel Hackney <dan@haxney.org>
3929
3930 * dired-x.el:
3931 * net/ange-ftp.el:
3932 * net/browse-url.el:
3933 * net/dbus.el:
3934 * net/eudc.el:
3935 * net/eudcb-ldap.el:
3936 * net/eww.el:
3937 * net/imap.el:
3938 * printing.el:
3939 * vc/ediff-diff.el:
3940 * vc/ediff-init.el:
3941 * vc/ediff-merg.el:
3942 * vc/ediff-mult.el:
3943 * vc/ediff-util.el:
3944 * vc/ediff-wind.el:
3945 * vc/ediff.el:
3946 * vc/emerge.el:
3947 * vc/pcvs.el:
3948 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3949 byte compiler. Remove some unused let-bound variables.
3950
3951 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3954 a "ref-cell", since it gets better optimized (bug#14883).
3955
3956 2013-09-05 Glenn Morris <rgm@gnu.org>
3957
3958 * progmodes/cc-awk.el (c-forward-sws): Declare.
3959
3960 2013-09-04 Glenn Morris <rgm@gnu.org>
3961
3962 * generic-x.el [rul-generic-mode]: Require cc-mode.
3963 (c++-mode-syntax-table): Declare.
3964 (rul-generic-mode-syntax-table): Init in the defvar.
3965
3966 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3967
3968 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3969 (vc-do-command, vc-set-async-update):
3970 * vc/vc-mtn.el (vc-mtn-dir-status):
3971 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3972 (vc-hg-pull, vc-hg-merge-branch):
3973 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3974 (vc-git-merge-branch):
3975 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3976 (vc-cvs-dir-status-files):
3977 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3978 (vc-bzr-dir-status-files):
3979 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3980 * vc/vc-annotate.el: Use lexical-binding.
3981 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3982 (vc-sentinel-movepoint): Declare.
3983 (vc-annotate): Don't use `goto-line'.
3984 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3985 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3986 (vc-sentinel-movepoint): Declare.
3987 * vc/vc-svn.el: Use lexical-binding.
3988 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3989 * vc/vc-sccs.el:
3990 * vc/vc-rcs.el: Use lexical-binding.
3991
3992 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3993 `deleted'. Don't drop errors silently.
3994
3995 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3996
3997 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3998
3999 * vc/vc.el (vc-ignore): Rewrite.
4000 (vc-default-ignore): New function.
4001 (vc-default-ignore-completion-table): Use find-ignore-file.
4002
4003 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4004 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4005 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4006 Remove. Most code moved to vc.el.
4007
4008 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4011 * net/tramp-smb.el (tramp-smb-get-file-entries):
4012 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4013 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4014
4015 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4016 Update call to it.
4017 (eww-change-select): Remove unused var `properties'.
4018 (eww-make-unique-file-name): Remove unused var `base'.
4019
4020 * finder.el (finder-compile-keywords): Don't mess with windows.
4021
4022 * calculator.el (calculator-funcall): Fix typo in last change.
4023
4024 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4025
4026 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4027 <pkg>-autoloads.el file stop us.
4028
4029 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4030 warnings, and factor out common code.
4031
4032 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4033
4034 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4035 two-character operators and whether the character preceding them
4036 changes their meaning (Bug#15208).
4037
4038 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4039
4040 Format code sent to Python shell for robustness.
4041 * progmodes/python.el (python-shell-buffer-substring):
4042 New function.
4043 (python-shell-send-region, python-shell-send-buffer): Use it.
4044
4045 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4046
4047 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4048 * net/tramp.el (tramp-user-error): ... here.
4049 (tramp-find-method, tramp-check-proper-host)
4050 (tramp-dissect-file-name, tramp-debug-message)
4051 (tramp-handle-shell-command):
4052 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4053 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4054
4055 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4056
4057 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4058
4059 * avoid.el (mouse-avoidance-point-position)
4060 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4061 returns nil.
4062
4063 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4064
4065 * progmodes/python.el (python-shell-completion-get-completions):
4066 Drop use of deleted `comint-last-prompt-overlay'.
4067 (python-nav-if-name-main): New command.
4068
4069 2013-09-01 Glenn Morris <rgm@gnu.org>
4070
4071 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4072 Avoid leading space in $wins. Otherwise the sed command used by
4073 eg compile-main ends up containing "/*.el". (Bug#15170)
4074
4075 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4076
4077 2013-08-30 Glenn Morris <rgm@gnu.org>
4078
4079 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4080 Fix is-this-a-directory logic. (Bug#15220)
4081
4082 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 * textmodes/css-mode.el: Use SMIE.
4085 (css-smie-grammar): New var.
4086 (css-smie--forward-token, css-smie--backward-token)
4087 (css-smie-rules): New functions.
4088 (css-mode): Use them.
4089 (css-navigation-syntax-table): Remove var.
4090 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4091 (css-indent-calculate, css-indent-line): Remove functions.
4092
4093 Misc changes to reduce use of `(lambda...); and other cleanups.
4094 * cus-edit.el: Use lexical-binding.
4095 (customize-push-and-save, customize-apropos)
4096 (custom-buffer-create-internal): Use closures.
4097 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4098 * progmodes/ada-xref.el: Use setq.
4099 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4100 * dframe.el: Use lexical-binding.
4101 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4102 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4103 * descr-text.el: Use lexical-binding.
4104 (describe-text-widget, describe-text-sexp, describe-property-list):
4105 Use closures.
4106 * comint.el (comint-history-isearch-push-state): Use a closure.
4107 * calculator.el: Use lexical-binding.
4108 (calculator-number-to-string): Make it work with lexical-binding.
4109 (calculator-funcall): Same and use cl-letf.
4110
4111 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4112 (lisp--company-doc-string, lisp--company-location): New functions.
4113 (lisp-completion-at-point): Use them to improve Company support.
4114
4115 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4116 params of lambda expressions.
4117 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4118 (ruby-smie--opening-pipe-p): New function.
4119 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4120 symbols and matched |...| for formal params.
4121 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4122 from being treated as hanging. Handle "rescue".
4123
4124 2013-08-29 Glenn Morris <rgm@gnu.org>
4125
4126 * progmodes/cc-engine.el (c-pull-open-brace):
4127 Move definition before use.
4128
4129 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4132 are immutable. Don't use `unsafe' any more.
4133 (cl--defsubst-expand): Don't substitute at the same time as keeping
4134 a residual unused let-binding. Don't use `unsafe' any more.
4135
4136 2013-08-29 Glenn Morris <rgm@gnu.org>
4137
4138 * calendar/cal-china.el (calendar-chinese-year-cache):
4139 Recenter on 2015.
4140
4141 * nxml/nxml-util.el (nxml-debug-clear-inside):
4142 Use cl-loop rather than loop.
4143
4144 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4145
4146 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4147
4148 2013-08-28 Glenn Morris <rgm@gnu.org>
4149
4150 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4151
4152 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4153
4154 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4155
4156 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * simple.el (repeat-complex-command--called-interactively-skip):
4159 New function.
4160 (repeat-complex-command): Use it (bug#14136).
4161
4162 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4163 (c-define-abbrev-table): Add `doc' argument.
4164 (c-mode-abbrev-table, c++-mode-abbrev-table)
4165 (objc-mode-abbrev-table, java-mode-abbrev-table)
4166 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4167 (awk-mode-abbrev-table): Use it.
4168 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4169 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4170 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4171 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4172 Move initialization into the declaration; and remove any
4173 autoload cookie.
4174
4175 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4176 and dynamic let binding.
4177
4178 * vc/smerge-mode.el: Remove redundant :group args.
4179
4180 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4181 to load-path.
4182
4183 2013-08-28 Juri Linkov <juri@jurta.org>
4184
4185 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4186 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4187 (isearch-other-meta-char): Handle an undefined shifted printing
4188 character by downshifting it. (Bug#15200)
4189
4190 2013-08-28 Juri Linkov <juri@jurta.org>
4191
4192 * isearch.el (isearch-search): Change regexp error message for
4193 non-regexp searches. (Bug#15166)
4194
4195 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4196
4197 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4198 for portability to hosts where /bin/sh has problems.
4199
4200 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4203
4204 2013-08-27 Juri Linkov <juri@jurta.org>
4205
4206 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4207 in the keyboard macro. (Bug#15126)
4208
4209 2013-08-27 Juri Linkov <juri@jurta.org>
4210
4211 * isearch.el (isearch-quote-char): Comment out converting unibyte
4212 to multibyte, thus syncing with its `quoted-insert' counterpart.
4213 (Bug#15166)
4214
4215 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4216
4217 * window.el (display-buffer-use-some-window): Add missing
4218 argument in call of get-largest-window (Bug#15185).
4219 Reported by Stephen Leake.
4220
4221 2013-08-27 Glenn Morris <rgm@gnu.org>
4222
4223 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4224
4225 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4226
4227 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4228 from a matcher-function unless there's no more matches (bug#15161).
4229
4230 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4231
4232 * minibuffer.el: Revert change from 2013-08-20.
4233
4234 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4235 with text property `tramp-default', if appropriate.
4236 (tramp-check-proper-host): New defun.
4237 (tramp-dissect-file-name): Do not check hostname. Revert change
4238 of 2013-03-18.
4239 (tramp-backtrace): Make VEC-OR-PROC optional.
4240
4241 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4242 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4243 * net/tramp-sh.el (tramp-maybe-open-connection):
4244 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4245 Apply `tramp-check-proper-host'.
4246
4247 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4248
4249 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4250 lambda expression in order to have `describe-variable' display it.
4251
4252 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4253
4254 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4255 BUF can be optional. (Bug#15186)
4256
4257 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4258
4259 * progmodes/flymake.el (flymake-get-real-file-name-function):
4260 Fix broken customization. (Bug#15184)
4261
4262 2013-08-25 Alan Mackenzie <acm@muc.de>
4263
4264 Improve indentation of bracelists defined by macros (without "=").
4265
4266 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4267 expansion begins with "{", regard it as bracelist when it doesn't
4268 contain a ";".
4269
4270 Parse C++ inher-intro when there's a template split over 2 lines.
4271
4272 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4273 rigorously the search for "class" etc. followed by ":".
4274
4275 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4276 random languages a regexp which never matches rather than nil.
4277
4278 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4279
4280 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4281 (c-awk-regexp-one-line-possibly-open-char-list-re)
4282 (c-awk-one-line-possibly-open-regexp-re)
4283 (c-awk-one-line-non-syn-ws*-re): Remove.
4284 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4285 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4286 (c-awk-space*-unclosed-regexp-/-re): New constants.
4287 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4288 aren't regexp delimiters.
4289
4290 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4291 handling for a rare situation in AWK Mode involving unterminated
4292 strings/regexps.
4293
4294 2013-08-23 Glenn Morris <rgm@gnu.org>
4295
4296 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4297
4298 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4299
4300 * files.el (create-file-buffer): If the result would begin with
4301 spaces, prepend a "|" instead of removing them. (Bug#15162)
4302
4303 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4306 text-properties (bug#15155).
4307
4308 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4309 exist any more.
4310 (calc-keypad-redraw): Remove unused var `pad'.
4311 (calc-keypad-press): Remove unused var `menu'.
4312
4313 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4314
4315 * window.el (display-buffer-pop-up-frame):
4316 Call pop-up-frame-function with BUFFER current so `make-frame' will
4317 use it as the new frame's buffer (Bug#15133).
4318
4319 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * calendar/timeclock.el: Minor cleanups.
4322 (timeclock-ask-before-exiting, timeclock-use-display-time):
4323 Use `symbol'.
4324 (timeclock-modeline-display): Define as alias before the
4325 actual definition.
4326 (timeclock-mode-line-display): Use define-minor-mode.
4327 (timeclock-day-list-template): Make it a function, add an argument.
4328 (timeclock-day-list-required, timeclock-day-list-length)
4329 (timeclock-day-list-debt, timeclock-day-list-span)
4330 (timeclock-day-list-break): Adjust calls accordingly.
4331
4332 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4333
4334 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4335 Use read--expression so that completion works again.
4336
4337 2013-08-21 Sam Steingold <sds@gnu.org>
4338
4339 Add rudimentary inferior shell interaction
4340 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4341 (sh-set-shell): Reset it.
4342 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4343 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4344
4345 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * align.el: Use lexical-binding.
4348 (align-region): Simplify accordingly.
4349
4350 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4351
4352 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4353
4354 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4355 `non-essential' up.
4356
4357 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4358
4359 * net/tramp.el:
4360 * net/tramp-adb.el:
4361 * net/tramp-cmds.el:
4362 * net/tramp-ftp.el:
4363 * net/tramp-gvfs.el:
4364 * net/tramp-gw.el:
4365 * net/tramp-sh.el: Don't wrap external variable declarations by
4366 `eval-when-compile'.
4367
4368 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4369
4370 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4371 now that Emacs supports ImageMagick animations.
4372
4373 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4374
4375 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4376 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4377
4378 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4379
4380 * window.el (mouse-autoselect-window-select): Do autoselect when
4381 mouse pointer is on margin.
4382
4383 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4384
4385 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4386
4387 2013-08-16 Glenn Morris <rgm@gnu.org>
4388
4389 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4390 Handle "Remote Directory" response of some clients. (Bug#15058)
4391
4392 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4393 Tweak warning. (Bug#14926)
4394
4395 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4396 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4397
4398 * image-mode.el (image-mode-map): Add menu items to reverse,
4399 increase, decrease, reset animation speed.
4400 (image--set-speed, image-increase-speed, image-decrease-speed)
4401 (image-reverse-speed, image-reset-speed): New functions.
4402 (image-mode-map): Add bindings for speed commands.
4403
4404 * image.el (image-animate-get-speed, image-animate-set-speed):
4405 New functions.
4406 (image-animate-timeout): Respect image :speed property.
4407
4408 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4411 previous line (bug#15101).
4412 (debugger-eval-expression, debugger-record-expression):
4413 Use read--expression (bug#15102).
4414
4415 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4416
4417 Remove byte compiler warnings, visible when compiling with
4418 `byte-compile-force-lexical-warnings' set to t.
4419
4420 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4421 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4422 (tramp-handle-unhandled-file-name-directory)
4423 (tramp-handle-file-notify-add-watch, tramp-action-login)
4424 (tramp-action-succeed, tramp-action-permission-denied)
4425 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4426 arguments with "_".
4427
4428 * net/tramp-adb.el (tramp-adb-parse-device-names)
4429 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4430 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4431 (tramp-adb-handle-file-truename): Remove unused arguments.
4432
4433 * net/tramp-cache.el (tramp-flush-directory-property)
4434 (tramp-flush-connection-property, tramp-list-connections)
4435 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4436
4437 * net/tramp-compat.el (tramp-compat-make-temp-file):
4438 Rename FILENAME to F.
4439
4440 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4441 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4442 (tramp-zeroconf-parse-workstation-device-names)
4443 (tramp-zeroconf-parse-webdav-device-names)
4444 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4445
4446 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4447 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4448
4449 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4450 arguments.
4451 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4452 (tramp-sh-handle-insert-file-contents-literally)
4453 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4454 with "_".
4455 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4456 Remove unused variables.
4457
4458 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4459 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4460 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4461
4462 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4463 Make them a defconst.
4464 (tramp-uuencode-region): Remove unused variable.
4465
4466 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4467
4468 * frameset.el (frameset--prop-setter): New function.
4469 (frameset-prop): Add gv-setter declaration.
4470 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4471 parameter was already set in FILTERED. Doc fix.
4472 (frameset--record-minibuffer-relationships): Allow saving a
4473 minibufferless frame without its corresponding minibuffer frame.
4474 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4475 frame, if the frame id matches.
4476 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4477 frames before orphaned ones.
4478 (frameset-restore): Warn about orphaned windows, instead of error out.
4479
4480 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4481
4482 * window.el (window-make-atom): Don't overwrite parameter
4483 already present.
4484 (display-buffer-in-atom-window): Handle special case where we
4485 split an already atomic window.
4486 (window--major-non-side-window, display-buffer-in-side-window)
4487 (window--side-check): Ignore minibuffer window when walking
4488 window tree.
4489 (window-deletable-p): Return 'frame only if no other frame uses
4490 our minibuffer window.
4491 (record-window-buffer): Run buffer-list-update-hook.
4492 (split-window): Make sure window--check-frame won't destroy an
4493 existing atomic window in case the new window gets nested
4494 inside.
4495 (display-buffer-at-bottom): Ignore minibuffer window when
4496 walking window tree. Don't split a side window.
4497 (pop-to-buffer): Don't set-buffer here, the select-window call
4498 should do that.
4499 (mouse-autoselect-window-select): Autoselect only if we are in the
4500 text portion of the window.
4501
4502 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4503
4504 * net/shr.el (shr-parse-image-data): New function to grab both the
4505 data itself and the Content-Type.
4506 (shr-put-image): Use it.
4507
4508 * net/eww.el (eww-display-image): Ditto.
4509
4510 * image.el (image-content-type-suffixes): New variable.
4511
4512 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4513
4514 * progmodes/python.el (python-imenu--build-tree)
4515 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4516
4517 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4518
4519 * simple.el (backward-word): Mention the optional argument.
4520
4521 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * frameset.el (frameset--make): Rename constructor from make-frameset.
4524 (frameset-p, frameset-valid-p): Don't autoload.
4525 (frameset-valid-p): Use normal accessors.
4526
4527 2013-08-13 Glenn Morris <rgm@gnu.org>
4528
4529 * progmodes/compile.el (compile-command): Tweak example in doc.
4530 * obsolete/scribe.el (scribe-mode):
4531 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4532
4533 * mail/feedmail.el (feedmail-confirm-outgoing)
4534 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4535
4536 * cus-start.el (truncate-partial-width-windows): Fix type.
4537
4538 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4539
4540 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4541
4542 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * emacs-lisp/timer.el (timer--time-setter): New function.
4545 (timer--time): Use it as gv-setter.
4546
4547 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4548 setter is not a symbol.
4549
4550 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4551
4552 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4553 if sending fails. This makes debugging easier.
4554
4555 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4556
4557 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4558 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4559 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4560
4561 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4562
4563 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4564
4565 2013-08-12 Glenn Morris <rgm@gnu.org>
4566
4567 * format.el (format-annotate-function):
4568 Handle read-only text properties in the source. (Bug#14887)
4569
4570 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4571
4572 * net/eww.el (eww-display-html): Ignore coding system errors.
4573 One web site uses "utf-8lias" as the coding system.
4574
4575 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4576
4577 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4578
4579 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4580
4581 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4582 (tutorial--detailed-help): Remove unused local variables.
4583 (tutorial--save-tutorial-to): Use ignore-errors.
4584 (help-with-tutorial): Use looking-at-p.
4585
4586 * view.el (view-buffer-other-window, view-buffer-other-frame):
4587 Mark unused arguments.
4588
4589 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4590 (woman-select-symbol-fonts, woman, woman-find-file)
4591 (woman-insert-file-contents, woman-non-underline-faces):
4592 Use string-match-p.
4593 (woman1-unquote): Move declaration.
4594
4595 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4596 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4597 argument. Remove unused local variable.
4598 (xml-parse-elem-type): Use string-match-p.
4599 (xml-substitute-numeric-entities): Use ignore-errors.
4600
4601 * calculator.el (calculator): Mark unused argument.
4602 (calculator-paste, calculator-quit, calculator-integer-p):
4603 Use ignore-errors.
4604 (calculator-string-to-number, calculator-decimal, calculator-exp)
4605 (calculator-op-or-exp): Use string-match-p.
4606
4607 * dired.el (dired-buffer-more-recently-used-p): Declare.
4608 (dired-insert-set-properties, dired-insert-old-subdirs):
4609 Use ignore-errors.
4610
4611 * dired-aux.el (dired-compress): Use ignore-errors.
4612 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4613 (dired-do-async-shell-command, dired-do-shell-command)
4614 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4615 (dired-insert-subdir-validate): Use string-match-p.
4616 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4617 (dired-add-entry): Use string-match-p, looking-at-p.
4618 (dired-insert-subdir-newpos): Remove unused local variable.
4619
4620 * filenotify.el (file-notify-callback): Remove unused local variable.
4621
4622 * filesets.el (filesets-error): Mark unused argument.
4623 (filesets-which-command-p, filesets-filter-dir-names)
4624 (filesets-directory-files, filesets-get-external-viewer)
4625 (filesets-ingroup-get-data): Use string-match-p.
4626
4627 * find-file.el (ff-other-file-name, ff-other-file-name)
4628 (ff-find-the-other-file, ff-cc-hh-converter):
4629 Remove unused local variables.
4630 (ff-get-file-name): Use string-match-p.
4631 (ff-all-dirs-under): Use ignore-errors.
4632
4633 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4634 (follow-select-if-visible): Remove unused local variable.
4635
4636 * forms.el (read-file-filter): Move declaration.
4637 (forms--make-format, forms--make-parser, forms-insert-record):
4638 Quote function with #'.
4639 (forms--update): Use string-match-p. Quote function with #'.
4640
4641 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4642 (help-make-xrefs): Use looking-at-p.
4643 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4644
4645 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4646 (ibuffer-confirm-operation-on): Use string-match-p.
4647
4648 * msb.el (msb-item-handler, msb-dired-item-handler):
4649 Mark unused arguments.
4650
4651 * ses.el (ses-decode-cell-symbol)
4652 (ses-kill-override): Remove unused local variable.
4653 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4654 (ses-load): Use ignore-errors, looking-at-p.
4655 (ses-jump-safe): Use ignore-errors.
4656 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4657
4658 * tabify.el (untabify, tabify): Mark unused arguments.
4659
4660 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4661 Mark unused argument.
4662 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4663 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4664
4665 * emacs-lisp/timer.el (timer--time): Define setter with
4666 gv-define-setter to avoid deprecation warning.
4667
4668 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4669 (*record-cmpl-statistics-p*): Remove (was commented out).
4670 (cmpl-statistics-block): Remove (body was commented out).
4671 All callers changed.
4672 (add-completions-from-buffer, load-completions-from-file):
4673 Remove unused variables.
4674
4675 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4676
4677 * filecache.el (file-cache-delete-file-list):
4678 Print message only when told so.
4679 (file-cache-files-matching): Use #' in mapconcat argument.
4680
4681 * ffap.el (ffap-url-at-point): Fix reference to variable
4682 thing-at-point-default-mail-uri-scheme.
4683
4684 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * subr.el (define-error): New function.
4687 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4688 error-file-not-found and define with define-error.
4689 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4690 and define with define-error.
4691 * userlock.el (file-locked, file-supersession):
4692 * simple.el (mark-inactive):
4693 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4694 * progmodes/ada-mode.el (ada-mode-errors):
4695 * play/life.el (life-extinct):
4696 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4697 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4698 * nxml/rng-util.el (rng-error):
4699 * nxml/rng-uri.el (rng-uri-error):
4700 * nxml/rng-match.el (rng-compile-error):
4701 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4702 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4703 * nxml/nxml-rap.el (nxml-scan-error):
4704 * nxml/nxml-outln.el (nxml-outline-error):
4705 * net/soap-client.el (soap-error):
4706 * net/gnutls.el (gnutls-error):
4707 * net/ange-ftp.el (ftp-error):
4708 * mpc.el (mpc-proc-error):
4709 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4710 (json-number-format, json-string-escape, json-string-format)
4711 (json-key-format, json-object-format):
4712 * jka-compr.el (compression-error):
4713 * international/quail.el (quail-error):
4714 * international/kkc.el (kkc-error):
4715 * emacs-lisp/ert.el (ert-test-failed):
4716 * calc/calc.el (calc-error, inexact-result, math-overflow)
4717 (math-underflow):
4718 * bookmark.el (bookmark-error-no-filename):
4719 * epg.el (epg-error): Define with define-error.
4720
4721 * time.el (display-time-event-handler)
4722 (display-time-next-load-average): Don't call sit-for since it seems
4723 unnecessary (bug#15045).
4724
4725 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4726 Use #' instead of ' to quote functions.
4727 (checkdoc-output-mode): Use setq-local.
4728 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4729 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4730 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4731 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4732 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4733 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4734 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4735 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4736
4737 * ido.el (ido-completion-help): Fix up compiler warning.
4738
4739 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4740
4741 * frameset.el (frameset-p): Add autoload cookie.
4742 (frameset--jump-to-register): New function, based on code moved from
4743 register.el.
4744 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4745
4746 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4747 (frameset-restore, frameset-save, frameset-session-filter-alist):
4748 Remove declarations.
4749 (register-alist): Doc fix.
4750 (frameset-to-register): Move to frameset.el.
4751 (jump-to-register, describe-register-1): Remove frameset-specific code.
4752
4753 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4754
4755 * allout-widgets.el (allout-widgets-pre-command-business)
4756 (allout-widgets-post-command-business)
4757 (allout-widgets-after-change-handler)
4758 (allout-decorate-item-and-context, allout-set-boundary-marker)
4759 (allout-body-modification-handler)
4760 (allout-graphics-modification-handler): Mark ignored arguments.
4761 (allout-widgets-post-command-business)
4762 (allout-widgets-exposure-change-processor)
4763 (allout-widgets-exposure-undo-processor)
4764 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4765 (allout-parse-item-at-point, allout-decorate-item-guides)
4766 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4767 * allout.el (epa-passphrase-callback-function): Declare.
4768 (allout-overlay-insert-in-front-handler)
4769 (allout-overlay-interior-modification-handler)
4770 (allout-isearch-end-handler, allout-chart-siblings)
4771 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4772 (allout-yank-processing, allout-process-exposed)
4773 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4774 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4775 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4776 (lisp-indent-defform): Mark ignored arguments.
4777 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4778 (calculate-lisp-indent): Remove unused variables.
4779 * international/characters.el (indian-2-column, arabic-2-column)
4780 (tibetan): Mark ignored arguments.
4781 (use-cjk-char-width-table): Mark ignored arguments.
4782 Remove unused variables.
4783 * international/fontset.el (build-default-fontset-data)
4784 (x-compose-font-name, create-fontset-from-fontset-spec):
4785 Mark ignored arguments.
4786 (fontset-plain-name): Remove unused variables.
4787 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4788 (keyboard-coding-system): Mark ignored arguments.
4789 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4790 * help.el (resize-temp-buffer-window):
4791 * window.el (display-buffer-in-major-side-window)
4792 (display-buffer-in-side-window, display-buffer-in-previous-window):
4793 Remove unused variables.
4794 * isearch.el (isearch-forward-symbol):
4795 * version.el (emacs-bzr-version-bzr):
4796 * international/mule-cmds.el (current-language-environment):
4797 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4798 (x-handle-display):
4799 * term/pc-win.el (x-list-fonts, x-display-planes)
4800 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4801 (x-server-version, x-display-screens, x-display-mm-height)
4802 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4803 (x-selection-owner-p, x-own-selection-internal)
4804 (x-disown-selection-internal, x-get-selection-internal)
4805 (msdos-initialize-window-system):
4806 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4807 * term/x-win.el (x-handle-no-bitmap-icon):
4808 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4809 (vc-default-find-file-hook, vc-default-extra-menu):
4810 Mark ignored arguments.
4811
4812 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4815 break-condition in the context of the debugged code (bug#12685).
4816
4817 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4818
4819 * comint.el:
4820 Do not use an overlay to highlight the last prompt. (Bug#14744)
4821 (comint-mode): Make comint-last-prompt buffer local.
4822 (comint-last-prompt): New variable.
4823 (comint-last-prompt-overlay): Remove. Superseded by
4824 comint-last-prompt.
4825 (comint-snapshot-last-prompt, comint-output-filter):
4826 Use comint-last-prompt.
4827
4828 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4829
4830 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4831 (frameset-save): Check validity of the resulting frameset.
4832
4833 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4834
4835 * ido.el (ido-record-command): Add doc string.
4836
4837 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4838
4839 * frameset.el (frameset): Do not disable creation of the default
4840 frameset-p predicate. Doc fix.
4841 (frameset-valid-p): New function, copied from the old predicate-p.
4842 Add additional checks.
4843 (frameset-restore): Check with frameset-valid-p.
4844 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4845 (frameset-name, frameset-description, frameset-properties)
4846 (frameset-states): Add docstring.
4847 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4848 (frameset-filter-alist): Doc fixes.
4849
4850 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4851
4852 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4853
4854 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4857 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4858 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4859 (byte-compile-normal-call): Remove obsolescence check.
4860
4861 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4862
4863 * frameset.el (frameset-restore): Doc fix.
4864
4865 * register.el (frameset-frame-id, frameset-frame-with-id)
4866 (frameset-p, frameset-restore, frameset-save): Declare.
4867 (register-alist): Document framesets.
4868 (frameset-session-filter-alist): Declare.
4869 (frameset-to-register): New function.
4870 (jump-to-register): Implement jumping to framesets. Doc fix.
4871 (describe-register-1): Describe framesets.
4872
4873 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4874
4875 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4876
4877 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4878 Use lexical-binding.
4879
4880 * frameset.el (frameset): Use type vector, not list (incompatible
4881 change). Do not declare a new constructor, use the default one.
4882 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4883 `name' and `description', respectively, and add read-only slot
4884 `timestamp'. Doc fixes.
4885 (frameset-copy, frameset-persistent-filter-alist)
4886 (frameset-filter-alist, frameset-switch-to-gui-p)
4887 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4888 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4889 (frameset-filter-iconified, frameset-keep-original-display-p):
4890 Doc fixes.
4891 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4892 Rename from frameset-filter-(save|restore)-param. All callers changed.
4893 Doc fix.
4894 (frameset-p): Adapt to change to vector and be more thorough.
4895 Change arg name to OBJECT. Doc fix.
4896 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4897 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4898 All callers changed.
4899 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4900 All callers changed.
4901 (frameset--record-minibuffer-relationships): Rename from
4902 frameset--process-minibuffer-frames. All callers changed.
4903 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4904 Use new default constructor (again). Doc fix.
4905 (frameset--find-frame-if): Rename from `frameset--find-frame.
4906 All callers changed.
4907 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4908 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4909 Doc fix.
4910 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4911 PARAMETERS and WINDOW-STATE, respectively.
4912 (frameset-restore): Add new keyword argument PREDICATE.
4913 Reset frameset--target-display to nil. Doc fix.
4914
4915 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4918 (bat-mode): Use it.
4919 (bat-mode-syntax-table): Mark \n as end-of-comment.
4920 (bat-font-lock-keywords): Remove comment rule.
4921
4922 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4923 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4924
4925 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4926 (byte-compile-callargs-warn): Use `push'.
4927 (byte-compile-arglist-warn): Ignore higher-order "calls".
4928 (byte-compile-file-form-autoload): Use `pcase'.
4929 (byte-compile-function-form): If quoting a symbol, check that it exists.
4930
4931 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4932
4933 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4934 and add a few popular commands found in batch files.
4935 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4936 (dos-mode): Doc fixes.
4937
4938 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4941 (dos-mode): Use setq-local. Add space after "rem".
4942 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4943 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4944
4945 2013-08-07 Arni Magnusson <arnima@hafro.is>
4946
4947 * progmodes/dos.el: New file.
4948 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4949 dos-mode.
4950
4951 2013-08-06 Glenn Morris <rgm@gnu.org>
4952
4953 * calendar/calendar.el: Add new faces, and day-header-array.
4954 (calendar-weekday-header, calendar-weekend-header)
4955 (calendar-month-header): New faces.
4956 (calendar-day-header-construct): New function.
4957 (calendar-day-header-width): Also :set calendar-day-header-array.
4958 (calendar-american-month-header, calendar-european-month-header)
4959 (calendar-iso-month-header): Use calendar- faces.
4960 (calendar-generate-month):
4961 Use calendar-day-header-array for day headers; apply faces to them.
4962 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4963 (calendar-abbrev-construct): Add optional maxlen argument.
4964 (calendar-day-name-array): Doc fix.
4965 (calendar-day-name-array, calendar-abbrev-length)
4966 (calendar-day-abbrev-array):
4967 Also :set calendar-day-header-array, and maybe redraw.
4968 (calendar-day-header-array): New option. (Bug#15007)
4969 (calendar-font-lock-keywords): Set to nil and make obsolete.
4970 (calendar-day-name): Add option to use header array.
4971
4972 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4973
4974 * net/shr.el (shr-render-td): Remove debugging.
4975 (shr-render-td): Make width computation consistent by defaulting
4976 all zero-width columns to 10 characters. This may not be optimal,
4977 but it's at least consistent.
4978 (shr-make-table-1): Redo last change to fix the real problem in
4979 colspan handling.
4980
4981 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4982
4983 * files.el (cache-long-line-scans):
4984 Make obsolete alias to `cache-long-scans'.
4985
4986 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4987
4988 * frameset.el (frameset, frameset-filter-alist)
4989 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4990 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4991 (frameset-compute-pos): Rename from frameset--compute-pos,
4992 and add docstring.
4993 (frameset-move-onscreen): Use frameset-compute-pos.
4994 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4995
4996 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4997 Fix typos in docstrings.
4998
4999 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5000
5001 * frame.el (get-other-frame): Tiny cleanup.
5002
5003 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5004
5005 * vc/vc.el (vc-default-ignore-completion-table):
5006 Silence byte-compiler warning.
5007
5008 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5009 slot , which can indeed be nil.
5010 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5011 Move entry for `left' from persistent to live filter alist.
5012 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5013 Doc fixes.
5014 (frameset-filter-params): When restoring a frame, copy items added to
5015 `filtered', to avoid unwittingly modifying the original parameters.
5016 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5017 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5018
5019 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5020 to use looking-at-p instead of looking-at. (Bug#15028)
5021
5022 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 Revert introduction of isearch-filter-predicates (bug#14714).
5025 Rely on add-function instead.
5026 * isearch.el (isearch-filter-predicates): Rename it back to
5027 isearch-filter-predicate.
5028 (isearch-message-prefix): Use advice-function-mapc and advice
5029 properties to get the isearch-message-prefix.
5030 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5031 instead of run-hook-with-args-until-failure.
5032 (isearch-filter-visible): Not obsolete any more.
5033 * loadup.el: Preload nadvice.
5034 * replace.el (perform-replace): Revert to funcall
5035 instead of run-hook-with-args-until-failure.
5036 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5037 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5038 dired-isearch-filenames-toggle; make it into a proper minor mode.
5039 Use add/remove-function.
5040 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5041 Call the minor-mode rather than add/remove-hook.
5042 (dired-isearch-filter-filenames):
5043 Remove isearch-message-prefix property.
5044 * info.el (Info--search-loop): New function, extracted from Info-search.
5045 Funcall isearch-filter-predicate instead of
5046 run-hook-with-args-until-failure isearch-filter-predicates.
5047 (Info-search): Use it.
5048 (Info-mode): Use isearch-filter-predicate instead of
5049 isearch-filter-predicates.
5050
5051 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5052
5053 Do not call to `selected-window' where it is assumed by default.
5054 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5055 `window-hscroll', `window-width', `window-height', `window-buffer',
5056 `window-frame', `window-start', `window-point', `next-window'
5057 and `window-display-table'.
5058 * abbrev.el (abbrev--default-expand):
5059 * bs.el (bs--show-with-configuration):
5060 * buff-menu.el (Buffer-menu-mouse-select):
5061 * calc/calc.el (calc):
5062 * calendar/calendar.el (calendar-generate-window):
5063 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5064 (diary-make-entry):
5065 * comint.el (send-invisible, comint-dynamic-complete-filename)
5066 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5067 * completion.el (complete):
5068 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5069 * disp-table.el (describe-current-display-table):
5070 * doc-view.el (doc-view-insert-image):
5071 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5072 * ehelp.el (with-electric-help):
5073 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5074 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5075 * emacs-lisp/helper.el (Helper-help-scroller):
5076 * emulation/cua-base.el (cua--post-command-handler-1):
5077 * eshell/esh-mode.el (eshell-output-filter):
5078 * ffap.el (ffap-gnus-wrapper):
5079 * help-macro.el (make-help-screen):
5080 * hilit-chg.el (highlight-compare-buffers):
5081 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5082 * hl-line.el (global-hl-line-highlight):
5083 * icomplete.el (icomplete-simple-completing-p):
5084 * isearch.el (isearch-done):
5085 * jit-lock.el (jit-lock-stealth-fontify):
5086 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5087 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5088 * mpc.el (mpc-tagbrowser, mpc):
5089 * net/rcirc.el (rcirc-any-buffer):
5090 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5091 * play/landmark.el (landmark-max-width, landmark-max-height):
5092 * play/zone.el (zone):
5093 * progmodes/compile.el (compilation-goto-locus):
5094 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5095 * progmodes/etags.el (find-tag-other-window):
5096 * progmodes/fortran.el (fortran-column-ruler):
5097 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5098 * progmodes/verilog-mode.el (verilog-point-text):
5099 * reposition.el (reposition-window):
5100 * rot13.el (toggle-rot13-mode):
5101 * server.el (server-switch-buffer):
5102 * shell.el (shell-dynamic-complete-command)
5103 (shell-dynamic-complete-environment-variable):
5104 * simple.el (insert-buffer, set-selective-display)
5105 (delete-completion-window):
5106 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5107 (speedbar-recenter):
5108 * startup.el (fancy-splash-head):
5109 * textmodes/ispell.el (ispell-command-loop):
5110 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5111 * tutorial.el (help-with-tutorial):
5112 * vc/add-log.el (add-change-log-entry):
5113 * vc/compare-w.el (compare-windows):
5114 * vc/ediff-help.el (ediff-indent-help-message):
5115 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5116 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5117 (ediff-setup-control-frame):
5118 * vc/emerge.el (emerge-position-region):
5119 * vc/pcvs-util.el (cvs-bury-buffer):
5120 * window.el (walk-windows, mouse-autoselect-window-select):
5121 * winner.el (winner-set-conf, winner-undo): Related users changed.
5122
5123 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5124
5125 * frameset.el (frameset--set-id): Doc fix.
5126 (frameset-frame-id, frameset-frame-id-equal-p)
5127 (frameset-locate-frame-id): New functions.
5128 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5129 (frameset-restore): Use them.
5130
5131 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5132
5133 Do not call to `selected-frame' where it is assumed by default.
5134 Affected functions are `raise-frame', `redraw-frame',
5135 `frame-first-window', `frame-terminal' and `delete-frame'.
5136 * calendar/appt.el (appt-disp-window):
5137 * epg.el (epg-wait-for-completion):
5138 * follow.el (follow-delete-other-windows-and-split)
5139 (follow-avoid-tail-recenter):
5140 * international/mule.el (set-terminal-coding-system):
5141 * mail/rmail.el (rmail-mail-return):
5142 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5143 * progmodes/f90.el (f90-add-imenu-menu):
5144 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5145 * server.el (server-switch-buffer):
5146 * simple.el (delete-completion-window):
5147 * talk.el (talk):
5148 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5149 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5150 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5151 * vc/ediff.el (ediff-documentation): Related users changed.
5152 * frame.el (selected-terminal): Remove the leftover.
5153
5154 2013-08-05 Glenn Morris <rgm@gnu.org>
5155
5156 * calendar/calendar.el (calendar-generate-month):
5157 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5158 (calendar-generate-month, calendar-font-lock-keywords):
5159 Fix for calendar-day-header-width > length of any day name.
5160
5161 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5162
5163 * desktop.el (desktop-clear): Use new name of sort predicate.
5164
5165 * frameset.el (frameset): Add docstring. Move :version property to its
5166 own `version' slot.
5167 (frameset-copy): Rename from copy-frameset.
5168 (frameset-p): Check more thoroughly.
5169 (frameset-prop): Do not check for :version, which is no longer a prop.
5170 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5171 Use new :never value instead of t.
5172 (frameset-filter-alist): Expand and clarify docstring.
5173 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5174 (frameset-filter-minibuffer, frameset-filter-save-param)
5175 (frameset-filter-restore-param, frameset-filter-iconified):
5176 Add pointer to docstring of frameset-filter-alist.
5177 (frameset-filter-params): Rename filter values to be more meaningful:
5178 :never instead of t, and reverse the meanings of :save and :restore.
5179 (frameset--process-minibuffer-frames): Clarify error message.
5180 (frameset-save): Avoid unnecessary and confusing call to framep.
5181 Use new BOA constructor for framesets.
5182 (frameset--reuse-list): Doc fix.
5183 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5184 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5185 (frameset-minibufferless-first-p): Doc fix.
5186 Rename from frameset-sort-frames-for-deletion.
5187 (frameset-restore): Doc fixes. Use new function names.
5188 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5189
5190 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5191
5192 * desktop.el (desktop-restore-forces-onscreen)
5193 (desktop-restore-reuses-frames): Document :keyword constant values.
5194 (desktop-filter-parameters-alist): Remove, now identical to
5195 frameset-filter-alist.
5196 (desktop--filter-tty*): Remove, moved to frameset.el.
5197 (desktop-save-frameset, desktop-restore-frameset):
5198 Do not pass :filters argument.
5199
5200 * frameset.el (frameset-live-filter-alist)
5201 (frameset-persistent-filter-alist): New variables.
5202 (frameset-filter-alist): Use them. Add autoload cookie.
5203 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5204 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5205 `frameset--id' (it's supposed to be internal to frameset.el).
5206 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5207 (frameset--initial-params): New function.
5208 (frameset--get-frame): Use it. Doc fix.
5209 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5210 Accept :all, not 'all.
5211 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5212 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5213 with fbound symbols. Fix frame id matching, and remove matching ids if
5214 the frame being restored is deleted. Obey :delete.
5215
5216 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5217
5218 * subr.el (macrop): New function.
5219 (text-clone--maintaining): New var.
5220 (text-clone--maintain): Rename from text-clone-maintain. Use it
5221 instead of inhibit-modification-hooks.
5222
5223 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5224 a proxy, so as handle autoloads and redefinitions of the target.
5225 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5226
5227 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5228 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5229 (pcase--mutually-exclusive-p): New function.
5230 (pcase--split-consp): Use it.
5231 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5232 mutually exclusive with the current predicate.
5233
5234 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5235 (edebug-macrop): Remove. Use `macrop' instead.
5236 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5237 (ad-macro-p):
5238 * eshell/esh-cmd.el (eshell-macrop):
5239 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5240
5241 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5244 (advice-mapc): New function, using it.
5245 (advice-function-member-p): New function.
5246 (advice--normalize): Store the cdr in advice--saved-rewrite since
5247 that's the part that will be changed.
5248 (advice--symbol-function): New function.
5249 (advice-remove): Handle removal before the function is defined.
5250 Adjust to new advice--saved-rewrite.
5251 (advice-member-p): Use advice-function-member-p and
5252 advice--symbol-function.
5253
5254 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5255
5256 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5257 (frameset-filter-minibuffer): Doc fix.
5258 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5259 (frameset--set-id, frameset--process-minibuffer-frames)
5260 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5261 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5262
5263 * desktop.el (desktop-clear): Only delete frames when called
5264 interactively and desktop-restore-frames is non-nil. Doc fix.
5265 (desktop-read): Set desktop-saved-frameset to nil.
5266
5267 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5268
5269 * vc/vc.el (vc-ignore): Rewrite.
5270 (vc-default-ignore-completion-table):
5271 (vc--read-lines):
5272 (vc--add-line, vc--remove-regexp): New functions.
5273
5274 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5275 (vc-svn-ignore-completion-table): New function.
5276
5277 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5278 (vc-hg-ignore-completion-table):
5279 (vc-hg-find-ignore-file): New functions.
5280
5281 * vc/vc-git.el (vc-git-ignore): Rewrite.
5282 (vc-git-ignore-completion-table):
5283 (vc-git-find-ignore-file): New functions.
5284
5285 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5286
5287 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5288 (vc-bzr-ignore-completion-table):
5289 (vc-bzr-find-ignore-file): New functions.
5290
5291 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5292
5293 * frameset.el (frameset-prop): New function and setter.
5294 (frameset-save): Do not modify frame list passed by the caller.
5295
5296 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5299
5300 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5301
5302 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5303 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5304
5305 * custom.el (custom-initialize-default, custom-initialize-set)
5306 (custom-initialize-reset, custom-initialize-changed): Affect the
5307 toplevel-default-value (bug#6275, bug#14586).
5308 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5309 for bug#6275.
5310
5311 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5312
5313 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5314 Add cl-def* expressions.
5315
5316 * frameset.el (frameset-filter-params): Fix order of arguments.
5317
5318 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5319
5320 Move code related to saving frames to frameset.el.
5321 * desktop.el: Require frameset.
5322 (desktop-restore-frames): Doc fix.
5323 (desktop-restore-reuses-frames): Rename from
5324 desktop-restoring-reuses-frames.
5325 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5326 (desktop-clear): Clear frames too.
5327 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5328 (desktop--filter-tty*, desktop-save, desktop-read):
5329 Use frameset functions.
5330 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5331 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5332 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5333 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5334 (desktop--process-minibuffer-frames, desktop-save-frames)
5335 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5336 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5337 (desktop--sort-states, desktop-restoring-frames-p)
5338 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5339 (desktop-restoring-frameset-p, desktop-restore-frameset)
5340 (desktop--check-dont-save, desktop-save-frameset): New functions.
5341 (desktop--app-id): New constant.
5342 (desktop-first-buffer, desktop-buffer-ok-count)
5343 (desktop-buffer-fail-count): Move before first use.
5344 * frameset.el: New file.
5345
5346 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5347
5348 * files.el: Use lexical-binding.
5349 (dir-locals-read-from-file): Remove unused `err' variable.
5350 (hack-dir-local-variables--warned-coding): New var.
5351 (hack-dir-local-variables): Use it to avoid repeated warnings.
5352 (make-backup-file-name--default-function): New function.
5353 (make-backup-file-name-function): Use it as default.
5354 (buffer-stale--default-function): New function.
5355 (buffer-stale-function): Use it as default.
5356 (revert-buffer-insert-file-contents--default-function): New function.
5357 (revert-buffer-insert-file-contents-function): Use it as default.
5358 (insert-directory): Avoid add-to-list.
5359
5360 * autorevert.el (auto-revert-handler): Simplify.
5361 Use buffer-stale--default-function.
5362
5363 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5364
5365 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5366
5367 * whitespace.el (whitespace-ensure-local-variables): New function.
5368 (whitespace-cleanup-region): Call it.
5369 (whitespace-turn-on): Call it.
5370
5371 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5372
5373 Complete file name handlers.
5374
5375 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5376 (tramp-handle-verify-visited-file-modtime)
5377 (tramp-handle-file-notify-rm-watch): New functions.
5378 (tramp-call-process): Do not bind `default-directory'.
5379
5380 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5381 Order alphabetically.
5382 [access-file, add-name-to-file, dired-call-process]:
5383 [dired-compress-file, file-acl, file-notify-rm-watch]:
5384 [file-ownership-preserved-p, file-selinux-context]:
5385 [make-directory-internal, make-symbolic-link, set-file-acl]:
5386 [set-file-selinux-context, set-visited-file-modtime]:
5387 [verify-visited-file-modtime]: Add handler.
5388 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5389
5390 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5391 [file-notify-add-watch, file-notify-rm-watch]:
5392 [set-file-times, set-visited-file-modtime]:
5393 [verify-visited-file-modtime]: Add handler.
5394 (with-tramp-gvfs-error-message)
5395 (tramp-gvfs-handle-set-visited-file-modtime)
5396 (tramp-gvfs-fuse-file-name): Remove.
5397 (tramp-gvfs-handle-file-notify-add-watch)
5398 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5399 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5400
5401 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5402 Order alphabetically.
5403 [file-notify-rm-watch ]: Use default Tramp handler.
5404 [executable-find]: Remove private handler.
5405 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5406 `default-directory'.
5407 (tramp-sh-handle-executable-find)
5408 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5409 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5410 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5411 Do not use `format' in `tramp-message'.
5412
5413 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5414 [file-notify-rm-watch, set-visited-file-modtime]:
5415 [verify-visited-file-modtime]: Add handler.
5416 (tramp-smb-call-winexe): Do not bind `default-directory'.
5417
5418 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5419
5420 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5421
5422 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5423
5424 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5425 use it.
5426 (log-view-diff-changeset): Same.
5427 (log-view-diff-common): Call backend command `previous-revision'
5428 to find out the previous revision, in both cases. Swap the
5429 variables `to' and `fr', so that `fr' usually refers to the
5430 earlier revision (Bug#14989).
5431
5432 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5433
5434 * ibuf-ext.el (ibuffer-filter-by-filename):
5435 Make it work with dired buffers too.
5436
5437 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5438
5439 * emacs-lisp/re-builder.el (reb-color-display-p):
5440 * files.el (save-buffers-kill-terminal):
5441 * net/browse-url.el (browse-url):
5442 * server.el (server-save-buffers-kill-terminal):
5443 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5444 Prefer nil to selected-frame for the first arg of frame-parameter.
5445
5446 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5447
5448 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5449
5450 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5451
5452 * minibuffer.el (completion--twq-all): Try and preserve each
5453 completion's case choice (bug#14907).
5454
5455 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5456
5457 * net/network-stream.el (open-network-stream): Mention the new
5458 :nogreeting parameter.
5459 (network-stream-open-starttls): Use the :nogreeting parameter
5460 (bug#14938).
5461
5462 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5463
5464 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5465 more natural than popping.
5466
5467 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5468 (shr-urlify): Highlight under mouse.
5469
5470 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5471
5472 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5473
5474 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5475
5476 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5477 buffer for output.
5478
5479 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5480 point-min==1. Fix search string. Fix parentheses missing.
5481
5482 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5483 assume point-min==1. Fix search string. Fix parentheses missing.
5484
5485 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5486
5487 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5488 buffer for output.
5489
5490 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5491
5492 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5493 initial frame is minibuffer-less. (Bug#14841)
5494
5495 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5496
5497 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5498 option.
5499
5500 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5501 (tramp-maybe-open-connection): Use it.
5502
5503 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5504
5505 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5506 minimal set of parameters passed when creating a frame, because
5507 the minibuffer status of a frame cannot be changed later.
5508
5509 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5510
5511 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5512 replace-regexp-in-string and inadvertent omissions in previous change.
5513 (todo-filter-items): Ensure only file names are comma-separated in
5514 name of filtered items buffer.
5515
5516 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5517
5518 * desktop.el: Optionally force offscreen frames back onscreen.
5519 (desktop-restoring-reuses-frames): New option.
5520 (desktop--compute-pos, desktop--move-onscreen): New functions.
5521 (desktop--make-frame): Use desktop--move-onscreen.
5522
5523 2013-07-27 Alan Mackenzie <acm@muc.de>
5524
5525 Fontify a Java generic method as a function.
5526 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5527 value to t.
5528
5529 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5530
5531 * calendar/todo-mode.el: Add command to rename todo files.
5532 (todo-rename-file): New command.
5533 (todo-key-bindings-t): Add key binding for it. Change the
5534 bindings of todo-filter-regexp-items(-multifile) to use `x'
5535 instead of `r', since the latter is better suited to the new
5536 renaming command.
5537
5538 2013-07-27 Alan Mackenzie <acm@muc.de>
5539
5540 Make Java try-with-resources statement parse properly.
5541 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5542 (c-block-stmt-1-2-key): New language constants/variables.
5543 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5544 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5545 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5546 with c-block-stmt-1-2-key.
5547
5548 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5549
5550 * desktop.el (desktop--make-frame): Apply most frame parameters after
5551 creating the frame to force (partially or totally) offscreen frames to
5552 be restored as such.
5553
5554 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5555
5556 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5557 (Bug#14948)
5558
5559 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5562 `base' arg of backtrace-frame.
5563
5564 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5565
5566 * simple.el (list-processes): Doc fix.
5567
5568 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5569
5570 * desktop.el (desktop--select-frame):
5571 Try harder to reuse existing frames.
5572
5573 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5576 (edebug-eval): Use backtrace-eval.
5577 (edebug--display, edebug--recursive-edit): Don't let-bind the
5578 edebug-outer-* vars that keep track of variables we locally let-bind.
5579 (edebug-outside-excursion): Don't restore outside values of locally
5580 let-bound vars.
5581 (edebug--display): Use user-error.
5582 (cl-lexical-debug, cl-debug-env): Remove.
5583
5584 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5585
5586 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5587 are restored to be sure that they are visible before deleting any
5588 remaining ones.
5589
5590 2013-07-26 Matthias Meulien <orontee@gmail.com>
5591
5592 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5593 vc-print-root-log. (Bug#14948)
5594
5595 2013-07-26 Richard Stallman <rms@gnu.org>
5596
5597 Add aliases for encrypting mail.
5598 * epa.el (epa-mail-aliases): New option.
5599 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5600 Bind inhibit-read-only so read-only text doesn't ruin everything.
5601 (epa-mail-default-recipients): New subroutine broken out.
5602 Handle epa-mail-aliases.
5603
5604 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5605
5606 Add support for lexical variables to the debugger's `e' command.
5607 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5608 vars, except for debugger-outer-match-data.
5609 (debugger-frame-number): Move check for "on a function call" from
5610 callers into it. Add `skip-base' argument.
5611 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5612 (debugger-env-macro): Only reset the state stored in non-variables,
5613 i.e. current-buffer and match-data.
5614 (debugger-eval-expression): Rewrite using backtrace-eval.
5615 * subr.el (internal--called-interactively-p--get-frame): Remove.
5616 (called-interactively-p):
5617 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5618 `base' arg of backtrace-frame instead.
5619
5620 2013-07-26 Glenn Morris <rgm@gnu.org>
5621
5622 * align.el (align-regexp): Doc fix. (Bug#14857)
5623 (align-region): Explicit error if subexpression missing/does not match.
5624
5625 * simple.el (global-visual-line-mode):
5626 Do not duplicate the mode lighter. (Bug#14858)
5627
5628 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5629
5630 * window.el (display-buffer): In display-buffer bind
5631 split-window-keep-point to t, bug#14829.
5632
5633 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5634
5635 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5636 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5637 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5638 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5639 Change accordingly.
5640 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5641 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5642
5643 2013-07-25 Glenn Morris <rgm@gnu.org>
5644
5645 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5646
5647 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5648
5649 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5650 parameter to modify-frame-parameters if the value has not changed;
5651 this is a workaround for bug#14949.
5652 (desktop--make-frame): On cl-delete-if call, check parameter name,
5653 not full parameter.
5654
5655 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5656
5657 * vc/vc.el (vc-ignore): New function.
5658
5659 * vc/vc-svn.el (vc-svn-ignore): New function.
5660
5661 * vc/vc-hg.el (vc-hg-ignore): New function.
5662
5663 * vc/vc-git.el (vc-git-ignore): New function.
5664
5665 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5666 (vc-dir-ignore): New function.
5667
5668 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5669 (cvs-append-to-ignore): Move here from pcvs.el.
5670
5671 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5672
5673 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5674
5675 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5676
5677 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5678 (desktop-restore-frames): Warn when deleting an existing frame failed.
5679
5680 2013-07-24 Glenn Morris <rgm@gnu.org>
5681
5682 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5683
5684 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5685
5686 * filenotify.el (file-notify-supported-p):
5687 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5688 Remove functions.
5689
5690 * autorevert.el (auto-revert-use-notify):
5691 (auto-revert-notify-add-watch):
5692 * net/tramp.el (tramp-file-name-for-operation):
5693 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5694 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5695 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5696 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5697 Remove `file-notify-supported-p' entry.
5698
5699 2013-07-24 Glenn Morris <rgm@gnu.org>
5700
5701 * printing.el: Replace all uses of deleted ps-windows-system,
5702 ps-lp-system, ps-flatten-list with lpr- versions.
5703
5704 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5707 checked with memq (bug#14935).
5708
5709 * files.el (revert-buffer-function): Use a non-nil default.
5710 (revert-buffer-preserve-modes): Declare var to
5711 provide access to the `preserve-modes' argument.
5712 (revert-buffer): Let-bind it.
5713 (revert-buffer--default): New function, extracted from revert-buffer.
5714
5715 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * lpr.el: Signal print errors more prominently.
5718 (print-region-function): Don't default to nil.
5719 (lpr-print-region): New function, extracted from print-region-1.
5720 Check lpr's return value and signal an error in case of problem.
5721 (print-region-1): Use it.
5722 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5723 versions instead.
5724 (ps-printer-name): Default to nil.
5725 (ps-printer-name-option): Default to lpr-printer-switch.
5726 (ps-print-region-function): Don't default to nil.
5727 (ps-postscript-code-directory): Simplify default.
5728 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5729 (ps-string-list, ps-eval-switch, ps-flatten-list)
5730 (ps-flatten-list-1): Remove.
5731 (ps-multibyte-buffer): Avoid setq.
5732 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5733 (print-region-function, ps-print-region-function): Don't set them here.
5734
5735 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5736
5737 * ido.el (ido-fractionp):
5738 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5739 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5740 (ido-max-directory-size, ido-max-dir-file-cache)
5741 (ido-decorations): Doc fix.
5742
5743 * ansi-color.el: Fix old URL.
5744
5745 2013-07-23 Michael R. Mauger <michael@mauger.com>
5746
5747 * progmodes/sql.el: Version 3.3
5748 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5749 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5750 (sql-interactive-remove-continuation-prompt): Rewrite, use
5751 functions above. Fix continuation prompt and complete output line
5752 handling.
5753 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5754 redirected output buffer.
5755 (sql-mode): Restore deleted code (Bug#13591).
5756
5757 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5758
5759 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5760
5761 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5762
5763 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5764
5765 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5766 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5767 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5768
5769 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5770
5771 * desktop.el (desktop-clear): Simplify; remove useless checks
5772 against invalid buffer names.
5773 (desktop-list*): Use cl-list*.
5774 (desktop-buffer-info, desktop-create-buffer): Simplify.
5775
5776 2013-07-23 Leo Liu <sdl.web@gmail.com>
5777
5778 * bookmark.el (bookmark-make-record): Restore NAME as a default
5779 value. (Bug#14933)
5780
5781 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5784 extracted from autoload--insert-text.
5785 (autoload--insert-text): Remove.
5786 (autoload--print-cookie-text): New function, extracted from
5787 autoload--insert-cookie-text.
5788 (autoload--insert-cookie-text): Remove.
5789 (autoload-generate-file-autoloads): Adjust calls accordingly.
5790
5791 * winner.el (winner-hook-installed-p): Remove.
5792 (winner-mode): Simplify accordingly.
5793
5794 * subr.el (add-to-list): Fix compiler-macro when `append' is
5795 not constant. Don't use `cl-member' for the base case.
5796
5797 * progmodes/subword.el: Fix boundary case (bug#13758).
5798 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5799 own group.
5800 (subword-backward-regexp): Make it a constant.
5801 (subword-forward-internal): Don't treat a trailing capital as the
5802 beginning of a word.
5803
5804 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5805
5806 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5807 global value of tabulated-list-revert-hook (bug#14930).
5808
5809 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5810
5811 * desktop.el: Require 'cl-lib.
5812 (desktop-before-saving-frames-functions): New hook.
5813 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5814 for frames being saved. Rename from desktop--save-minibuffer-frames.
5815 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5816 Do not save frames with non-nil `desktop-dont-save' parameter.
5817 Filter out deleted frames.
5818 (desktop--find-frame): Use cl-find-if.
5819 (desktop--select-frame): Use cl-(first|second|third) to access values
5820 of desktop-mini.
5821 (desktop--make-frame): Use cl-delete-if.
5822 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5823 (desktop-restore-frames): Use cl-(first|second|third) to access values
5824 of desktop-mini. Look for visible frame at the end, not while
5825 restoring frames.
5826
5827 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5828 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5829 Use string-match-p, looking-at-p (bug#14927).
5830
5831 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * desktop.el (desktop-saved-frame-states):
5834 Rename from desktop--saved-states; all users changed.
5835 (desktop-save-frames): Rename from desktop--save-frames.
5836 Do not save state to desktop file.
5837 (desktop-save): Save desktop-saved-frame-states to desktop file
5838 and reset to nil.
5839 (desktop-restoring-frames-p): New function.
5840 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5841 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5842 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5843
5844 * desktop.el: Correctly restore iconified frames.
5845 (desktop--filter-iconified-position): New function.
5846 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5847
5848 2013-07-20 Glenn Morris <rgm@gnu.org>
5849
5850 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5851 Let `message' do the formatting.
5852 (def-gdb-preempt-display-buffer): Add explicit format.
5853
5854 * image-dired.el (image-dired-track-original-file):
5855 Use with-current-buffer.
5856 (image-dired-track-thumbnail): Use with-current-buffer.
5857 Avoid changing point of wrong window.
5858
5859 * image-dired.el (image-dired-track-original-file):
5860 Avoid changing point of wrong window. (Bug#14909)
5861
5862 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5863
5864 * progmodes/gdb-mi.el (gdb-done-or-error):
5865 Guard against "%" in gdb output. (Bug#14127)
5866
5867 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5868
5869 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5870 (Bug#14826)
5871
5872 * international/mule.el (coding-system-iso-2022-flags): Fix last
5873 change.
5874
5875 2013-07-20 Kenichi Handa <handa@gnu.org>
5876
5877 * international/mule.el (coding-system-iso-2022-flags):
5878 Add `8-bit-level-4'. (Bug#8522)
5879
5880 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5881
5882 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5883 (bug#14815).
5884
5885 * net/eww.el (eww-process-text-input): Allow inputting when the
5886 point is at the start of the line, as the properties aren't
5887 front-sticky.
5888
5889 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5890 degenerate widths.
5891
5892 2013-07-19 Richard Stallman <rms@gnu.org>
5893
5894 * epa.el (epa-popup-info-window): Doc fix.
5895
5896 * subr.el (split-string): New arg TRIM.
5897
5898 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5899
5900 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5901 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5902
5903 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5904
5905 * filenotify.el (file-notify--library): Rename from
5906 `file-notify-support'. Do not autoload. Adapt all uses.
5907 (file-notify-supported-p): New defun.
5908
5909 * autorevert.el (auto-revert-use-notify):
5910 Use `file-notify-supported-p' instead of `file-notify-support'.
5911 Adapt docstring.
5912 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5913
5914 * net/tramp.el (tramp-file-name-for-operation):
5915 Add `file-notify-supported-p'.
5916
5917 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5918 New defun.
5919 (tramp-sh-file-name-handler-alist): Add it as handler for
5920 `file-notify-supported-p '.
5921
5922 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5923 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5924 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5925 Add `ignore' as handler for `file-notify-*' functions.
5926
5927 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5928
5929 * simple.el (line-move-partial, line-move): Don't start vscroll or
5930 scroll-up if the current line is not taller than the window.
5931 (Bug#14881)
5932
5933 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5934
5935 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5936 highlight question marks in the method names as strings.
5937 (ruby-block-beg-keywords): Inline.
5938 (ruby-font-lock-keyword-beg-re): Extract from
5939 `ruby-font-lock-keywords'.
5940
5941 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5942
5943 * frame.el (blink-cursor-blinks): New defcustom.
5944 (blink-cursor-blinks-done): New defvar.
5945 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5946 (blink-cursor-timer-function): Check if number of blinks has been
5947 done on X and NS.
5948 (blink-cursor-suspend, blink-cursor-check): New defuns.
5949
5950 2013-07-15 Glenn Morris <rgm@gnu.org>
5951
5952 * edmacro.el (edmacro-format-keys): Fix previous change.
5953
5954 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5955
5956 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5957 The hack didn't work outside English locales anyway.
5958
5959 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5960
5961 * simple.el (define-alternatives): Rename from alternatives-define,
5962 per RMS' suggestion.
5963
5964 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5965
5966 * desktop.el (desktop-restore-frames): Change default to t.
5967 (desktop-restore-in-current-display): Now offer more options.
5968 (desktop-restoring-reuses-frames): New customization option.
5969 (desktop--saved-states): Doc fix.
5970 (desktop-filter-parameters-alist): New variable, renamed and expanded
5971 from desktop--excluded-frame-parameters.
5972 (desktop--target-display): New variable.
5973 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5974 (desktop--filter-tty*, desktop--filter-*-color)
5975 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5976 (desktop--filter-save-desktop-parm)
5977 (desktop-restore-in-original-display-p): New functions.
5978 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5979 (desktop--save-minibuffer-frames): New function, inspired by a similar
5980 function from Martin Rudalics.
5981 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5982 (desktop--restore-in-this-display-p): Remove.
5983 (desktop--find-frame): Rename from desktop--find-frame-in-display
5984 and add predicate argument.
5985 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5986 (desktop--reuse-list): New variable.
5987 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5988 New functions.
5989 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5990
5991 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5992
5993 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5994
5995 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5996
5997 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5998 Highlight conversion methods on Kernel.
5999
6000 2013-07-13 Alan Mackenzie <acm@muc.de>
6001
6002 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6003 and comment it out. This out-commenting enables certain C++
6004 declarations to be parsed correctly.
6005
6006 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6007
6008 * international/mule.el (define-coding-system): Doc fix.
6009
6010 * simple.el (default-font-height): Don't call font-info if the
6011 frame's default font didn't change since the frame was created.
6012 (Bug#14838)
6013
6014 2013-07-13 Leo Liu <sdl.web@gmail.com>
6015
6016 * ido.el (ido-read-file-name): Guard against non-symbol value.
6017
6018 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6019
6020 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6021 in nested defuns.
6022
6023 2013-07-13 Leo Liu <sdl.web@gmail.com>
6024
6025 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6026 ido-set-matches call. (Bug#6852)
6027
6028 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6029
6030 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6031 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6032 Ruby 2.0.
6033 (ruby-font-lock-keywords): Distinguish calls to functions with
6034 module-like names from module references. Highlight character
6035 literals.
6036
6037 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6038
6039 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6040 (gdb-send): Handle continued commands. (Bug#14847)
6041
6042 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6043
6044 * desktop.el (desktop--v2s): Remove unused local variable.
6045 (desktop-save-buffer): Make defvar-local; adjust docstring.
6046 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6047 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6048
6049 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6050
6051 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6052
6053 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6054
6055 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6056 (Bug#14842)
6057
6058 2013-07-12 Glenn Morris <rgm@gnu.org>
6059
6060 * doc-view.el: Require cl-lib at runtime too.
6061 (doc-view-remove-if): Remove.
6062 (doc-view-search-next-match, doc-view-search-previous-match):
6063 Use cl-remove-if.
6064
6065 * edmacro.el: Require cl-lib at runtime too.
6066 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6067 (edmacro-mismatch, edmacro-subseq): Remove.
6068
6069 * shadowfile.el: Require cl-lib.
6070 (shadow-remove-if): Remove.
6071 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6072 Use cl-remove-if.
6073
6074 * wid-edit.el: Require cl-lib.
6075 (widget-choose): Use cl-remove-if.
6076 (widget-remove-if): Remove.
6077
6078 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6079 (ebrowse-delete-if-not): Remove.
6080 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6081 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6082 Use cl-delete-if-not.
6083
6084 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6085
6086 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6087 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6088
6089 2013-07-12 Leo Liu <sdl.web@gmail.com>
6090
6091 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6092
6093 2013-07-11 Glenn Morris <rgm@gnu.org>
6094
6095 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6096 (edebug-gensym-index, edebug-gensym):
6097 Remove reimplementation of cl-gensym.
6098 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6099
6100 * thumbs.el: Require cl-lib at run-time too.
6101 (thumbs-gensym-counter, thumbs-gensym):
6102 Remove reimplementation of cl-gensym.
6103 (thumbs-temp-file): Use cl-gensym.
6104
6105 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6106 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6107 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6108 (ert--union, ert--gensym-counter, ert--gensym-counter)
6109 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6110 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6111 (ert-make-test-unbound, ert--expand-should-1)
6112 (ert--expand-should, ert--should-error-handle-error)
6113 (should-error, ert--explain-equal-rec)
6114 (ert--plist-difference-explanation, ert-select-tests)
6115 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6116 Use cl-lib functions rather than reimplementations.
6117
6118 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6119
6120 * net/tramp.el (tramp-methods): Extend docstring.
6121 (tramp-connection-timeout): New defcustom.
6122 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6123 (with-tramp-progress-reporter): Simplify.
6124 (tramp-process-actions): Improve messages.
6125
6126 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6127 * net/tramp-sh.el (tramp-maybe-open-connection):
6128 Use `tramp-connection-timeout'.
6129 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6130 (Bug#14808)
6131
6132 2013-07-11 Leo Liu <sdl.web@gmail.com>
6133
6134 * ido.el (ido-read-file-name): Conform to the requirements of
6135 read-file-name. (Bug#11861)
6136 (ido-read-directory-name): Conform to the requirements of
6137 read-directory-name.
6138
6139 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6140
6141 * subr.el (delay-warning): New function.
6142
6143 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6144
6145 * simple.el (default-line-height): New function.
6146 (line-move-partial, line-move): Use it instead of computing the
6147 line height inline.
6148 (line-move-partial): Always compute ROWH. If the last line is
6149 partially-visible, but its text is completely visible, allow
6150 cursor to enter such a partially-visible line.
6151
6152 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6153
6154 Improve error messages. (Bug#14808)
6155
6156 * net/tramp.el (tramp-current-connection): New defvar, moved from
6157 tramp-sh.el.
6158 (tramp-message-show-progress-reporter-message): Remove, not
6159 needed anymore.
6160 (tramp-error-with-buffer): Show message in minibuffer.
6161 Discard input before waiting. Reset connection timestamp.
6162 (with-tramp-progress-reporter): Improve messages.
6163 (tramp-process-actions): Use progress reporter. Delete process in
6164 case of error. Improve messages.
6165
6166 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6167 Call `tramp-error-with-buffer' with vector and buffer.
6168 (tramp-current-connection): Remove.
6169 (tramp-maybe-open-connection): The car of
6170 `tramp-current-connection' are the first 3 slots of the vector.
6171
6172 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6173
6174 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6175 inside continued strings.
6176
6177 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6178
6179 Timestamp fixes for undo (Bug#14824).
6180 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6181
6182 2013-07-10 Leo Liu <sdl.web@gmail.com>
6183
6184 * files.el (require-final-newline): Allow safe local value.
6185 (Bug#14834)
6186
6187 2013-07-09 Leo Liu <sdl.web@gmail.com>
6188
6189 * ido.el (ido-read-directory-name): Handle fallback.
6190 (ido-read-file-name): Update DIR to ido-current-directory.
6191 (Bug#1516)
6192 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6193
6194 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6195
6196 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6197 "autoload". Remove "warn lower camel case" section, previously
6198 commented out. Highlight negation char. Do not highlight the
6199 target in singleton method definitions.
6200
6201 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * faces.el (tty-setup-hook): Declare the hook.
6204
6205 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6206 and detect when a guard/pred depends on local vars (bug#14773).
6207 (pcase--u1): Adjust caller.
6208
6209 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6210
6211 * simple.el (line-move-partial, line-move): Account for
6212 line-spacing.
6213 (line-move-partial): Avoid setting vscroll when the last
6214 partially-visible line in window is of default height.
6215
6216 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6217
6218 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6219 been used a while.
6220
6221 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6222
6223 * subr.el (read-quoted-char): Remove unused local variable `char'.
6224
6225 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6226
6227 * ediff.el (ediff-version): Version update.
6228 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6229 (ediff-merge-with-ancestor-command, ediff-directories-command)
6230 (ediff-directories3-command, ediff-merge-directories-command)
6231 (ediff-merge-directories-with-ancestor-command): New functions.
6232 All are command-line interfaces to ediff: to facilitate calling
6233 Emacs with the appropriate ediff functions invoked.
6234
6235 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6236 (viper-save-kill-buffer): Check if buffer is modified.
6237
6238 * viper.el (viper-version): Version update.
6239 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6240
6241 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6244 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6245 (viper-intercept-ESC-key): Simplify.
6246 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6247 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6248 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6249 (viper-setup-ESC-to-escape): New functions.
6250 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6251 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6252
6253 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6254
6255 * simple.el (default-font-height, window-screen-lines):
6256 New functions.
6257 (line-move, line-move-partial): Use them instead of
6258 frame-char-height and window-text-height. This makes scrolling
6259 text smoother when the buffer's default face uses a font that is
6260 different from the frame's default font.
6261
6262 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6263
6264 * files.el (write-file): Do not display confirm dialog for NS,
6265 it does its own dialog, which can't be cancelled (Bug#14578).
6266
6267 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6268
6269 * simple.el (line-move-partial): Adjust the row returned by
6270 posn-at-point for the current window-vscroll. (Bug#14567)
6271
6272 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6273
6274 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6275 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6276 spaces.
6277
6278 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6279
6280 * window.el (window-state-put-stale-windows): New variable.
6281 (window--state-put-2): Save list of windows without matching buffer.
6282 (window-state-put): Remove "bufferless" windows if possible.
6283
6284 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6285
6286 * simple.el (alternatives-define): Remove leftover :group keyword.
6287 Tweak docstring.
6288
6289 2013-07-06 Leo Liu <sdl.web@gmail.com>
6290
6291 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6292 (ido-enable-virtual-buffers): New variable.
6293 (ido-buffer-internal, ido-toggle-virtual-buffers)
6294 (ido-make-buffer-list): Use it.
6295 (ido-exhibit): Support turning on and off virtual buffers
6296 automatically.
6297
6298 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6299
6300 * simple.el (alternatives-define): New macro.
6301
6302 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * subr.el (read-quoted-char): Use read-key.
6305 (sit-for): Let read-event decode tty input (bug#14782).
6306
6307 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6308
6309 * calendar/todo-mode.el: Add handling of file deletion, both by
6310 mode command and externally. Fix various related bugs.
6311 Clarify Commentary and improve some documentation strings and code.
6312 (todo-delete-file): New command.
6313 (todo-check-file): New function.
6314 (todo-show): Handle external deletion of the file we're trying to
6315 show (bug#14688). Replace called-interactively-p by an optional
6316 prefix argument to avoid problematic interaction with catch form
6317 when byte compiled (bug#14702).
6318 (todo-quit): Handle external deletion of the archive's todo file.
6319 Make sure the buffer that was visiting the archive file is still
6320 live before trying to bury it.
6321 (todo-category-completions): Handle external deletion of any
6322 category completion files.
6323 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6324 of todo files, in case of external deletion.
6325 (todo-add-file): Replace unnecessary setq by let-binding.
6326 (todo-find-archive): Check whether there are any archives.
6327 Replace unnecessary setq by let-binding.
6328 (todo-archive-done-item): Use find-file-noselect to get the
6329 archive buffer whether or not the archive already exists.
6330 Remove superfluous code. Use file size instead of buffer-file-name to
6331 check if the archive is new; if it is, update list of archives.
6332 (todo-default-todo-file): Allow nil to be a valid value for when
6333 there are no todo files.
6334 (todo-reevaluate-default-file-defcustom): Use corrected definition
6335 of todo-default-todo-file.
6336 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6337 (todo-delete-category, todo-show-categories-table)
6338 (todo-category-number): Clarify comment.
6339 (todo-filter-items): Clarify documentation string.
6340 (todo-show-current-file, todo-display-as-todo-file)
6341 (todo-reset-and-enable-done-separator): Tweak documentation string.
6342 (todo-done-separator): Make separator length window-width, since
6343 bug#2749 is now fixed.
6344
6345 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6346
6347 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6348 Support both "gvfs-monitor-dir" and "inotifywait".
6349 (tramp-sh-file-inotifywait-process-filter): Rename from
6350 `tramp-sh-file-notify-process-filter'.
6351 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6352 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6353
6354 2013-07-05 Leo Liu <sdl.web@gmail.com>
6355
6356 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6357
6358 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6359
6360 * frame.el (display-pixel-height, display-pixel-width)
6361 (display-mm-height, display-mm-width): Mention behavior on
6362 multi-monitor setups in docstrings.
6363 (w32-display-monitor-attributes-list): Declare function.
6364 (display-monitor-attributes-list): Use it.
6365
6366 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6367
6368 * filenotify.el: New package.
6369
6370 * autorevert.el (top): Require filenotify.el.
6371 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6372 instead.
6373 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6374 (auto-revert-notify-handler): Use `file-notify-*' functions.
6375
6376 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6377
6378 * net/tramp.el (tramp-file-name-for-operation):
6379 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6380
6381 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6382 for `file-notify-add-watch' and `file-notify-rm-watch'.
6383 (tramp-process-sentinel): Improve trace.
6384 (tramp-sh-handle-file-notify-add-watch)
6385 (tramp-sh-file-notify-process-filter)
6386 (tramp-sh-handle-file-notify-rm-watch)
6387 (tramp-get-remote-inotifywait): New defuns.
6388
6389 2013-07-03 Juri Linkov <juri@jurta.org>
6390
6391 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6392 call of `occur-read-primary-args' to interactive spec.
6393
6394 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6395 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6396
6397 2013-07-03 Matthias Meulien <orontee@gmail.com>
6398
6399 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6400 `Buffer-menu-multi-occur'. Add it to the menu.
6401 (Buffer-menu-mode): Document it in docstring.
6402 (Buffer-menu-multi-occur): New command. (Bug#14673)
6403
6404 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6405
6406 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6407 keywords and built-ins.
6408
6409 2013-07-03 Glenn Morris <rgm@gnu.org>
6410
6411 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6412
6413 Make info-xref checks case-sensitive by default
6414 * info.el (Info-find-node, Info-find-in-tag-table)
6415 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6416 Add option for exact case matching of nodes.
6417 * info-xref.el (info-xref): New custom group.
6418 (info-xref-case-fold): New option.
6419 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6420
6421 2013-07-03 Leo Liu <sdl.web@gmail.com>
6422
6423 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6424
6425 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6426
6427 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6428 middle of block statement initially, lower the depth. Remove
6429 FIXME comment, not longer valid. Remove middle of block statement
6430 detection, no need to do that anymore since we've been using
6431 `ruby-parse-region' here.
6432
6433 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6434
6435 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6436
6437 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6438
6439 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6440
6441 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6442
6443 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6444 (desktop-restore-in-current-display): New customization option.
6445 (desktop--excluded-frame-parameters): Add `font'.
6446 (desktop--save-frames): Rename from desktop--save-windows.
6447 (desktop--restore-in-this-display-p): New function.
6448 (desktop--make-full-frame): Remove unwanted width/height from
6449 full(width|height) frames.
6450 (desktop--restore-frames): Rename from desktop--restore-windows.
6451 Obey desktop-restore-current-display. Do not delete old frames or
6452 select a new frame unless we were able to restore at least one frame.
6453
6454 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6455
6456 * files.el (find-file-noselect): Simplify conditional expression.
6457
6458 * remember.el (remember-append-to-file):
6459 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6460
6461 Add `remember-notes' function to store random notes across Emacs
6462 restarts.
6463 * remember.el (remember-data-file): Add :set callback to affect
6464 notes buffer (if any).
6465 (remember-notes): New command.
6466 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6467 New defcustoms for the `remember-notes' function.
6468 (remember-notes-save-and-bury-buffer): New command.
6469 (remember-notes-mode-map): New variable.
6470 (remember-mode): New minor mode.
6471 (remember-notes--kill-buffer-query): New function.
6472 * startup.el (initial-buffer-choice): Add notes to custom type.
6473
6474 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6475
6476 * bindings.el (right-char, left-char): Don't call sit-for, this is
6477 no longer needed. Use arithmetic comparison only for numerical
6478 arguments.
6479
6480 * international/mule-cmds.el (select-safe-coding-system):
6481 Handle the case of FROM being a string correctly. (Bug#14755)
6482
6483 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6484
6485 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6486 progression on degenerate tables.
6487 (shr-rescale-image): ImageMagick animated images currently don't work.
6488
6489 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6490
6491 Some fixes and improvements for desktop frame restoration.
6492 It is still experimental and disabled by default.
6493 * desktop.el (desktop--save-windows): Put the selected frame at
6494 the head of the list.
6495 (desktop--make-full-frame): New function.
6496 (desktop--restore-windows): Try to re-select the frame that was
6497 selected upon saving. Do not abort if some frames fail to restore,
6498 just show an error message and continue. Set up maximized frames
6499 so they have default non-maximized dimensions.
6500
6501 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6502
6503 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6504 Don't start heredoc inside a string or comment.
6505
6506 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6507
6508 * bindings.el (visual-order-cursor-movement): New defcustom.
6509 (right-char, left-char): Provide visual-order cursor motion by
6510 calling move-point-visually. Update the doc strings.
6511
6512 2013-06-28 Kenichi Handa <handa@gnu.org>
6513
6514 * international/mule.el (define-coding-system): New coding system
6515 properties :inhibit-null-byte-detection,
6516 :inhibit-iso-escape-detection, and :prefer-utf-8.
6517 (set-buffer-file-coding-system): If :charset-list property of
6518 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6519 appropriate for setting.
6520
6521 * international/mule-cmds.el (select-safe-coding-system):
6522 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6523 multibyte characters, return utf-8 (or one of its siblings).
6524
6525 * international/mule-conf.el (prefer-utf-8): New coding system.
6526 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6527 files.
6528
6529 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6530
6531 * net/shr.el (shr-render-region): New function.
6532
6533 * net/eww.el: Autoload `eww-browse-url'.
6534
6535 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6536
6537 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6538 Adapt to `package-desc-version' being a list.
6539 Use `package--ac-desc-version' to retrieve version from a package
6540 archive element.
6541
6542 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6543
6544 New experimental feature to save&restore window and frame setup.
6545 * desktop.el (desktop-save-windows): New defcustom.
6546 (desktop--saved-states): New var.
6547 (desktop--excluded-frame-parameters): New defconst.
6548 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6549 (desktop--restore-windows, desktop--save-windows): New functions.
6550 (desktop-save): Call `desktop--save-windows'.
6551 (desktop-read): Call `desktop--restore-windows'.
6552
6553 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6554
6555 * net/shr.el (add-face-text-property): Remove compat definition.
6556
6557 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6558
6559 * info.el (Info-try-follow-nearest-node): Move search for footnote
6560 above search for node name to prevent missing a footnote (bug#14717).
6561
6562 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6563
6564 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6565
6566 2013-06-27 Leo Liu <sdl.web@gmail.com>
6567
6568 * net/eww.el (eww-read-bookmarks): Check file size.
6569
6570 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6573 advice--pending if newdef is nil or an autoload (bug#13820).
6574 (advice-mapc): New function.
6575
6576 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6577
6578 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6579 probably.
6580 (eww-mode-map): Add a menu bar.
6581 (eww-add-bookmark): New command.
6582 (eww-bookmark-mode): New mode and commands.
6583 (eww-add-bookmark): Remove newlines from the title.
6584 (eww-bookmark-browse): Don't bug out if it's the only window.
6585
6586 2013-06-26 Glenn Morris <rgm@gnu.org>
6587
6588 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6589 (hfy-size): Handle ttys. (Bug#14668)
6590
6591 * info-xref.el: Update for Texinfo 5 change in *note format.
6592 (info-xref-node-re, info-xref-note-re): New constants.
6593 (info-xref-check-buffer): Use info-xref-note-re.
6594
6595 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6598
6599 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6600 nil terminate the loop (bug#14718).
6601
6602 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6603
6604 * net/eww.el: Rework history traversal. When going forward/back,
6605 put these actions into the history, too, so that they can be
6606 replayed.
6607 (eww-render): Move the history reset to the correct buffer.
6608
6609 2013-06-25 Juri Linkov <juri@jurta.org>
6610
6611 * files-x.el (modify-dir-local-variable): Change the header comment
6612 in the file with directory local variables. (Bug#14692)
6613
6614 * files-x.el (read-file-local-variable-value): Add `default'.
6615 (Bug#14710)
6616
6617 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6618
6619 * net/eww.el (eww-make-unique-file-name): Create a unique file
6620 name before saving to entering `y' accidentally asynchronously.
6621
6622 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6623
6624 * net/eww.el (eww-download): New command and keystroke.
6625
6626 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6627
6628 * net/eww.el (eww-copy-page-url): Change name of command.
6629
6630 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6631 be more consistent with Info and dired.
6632
6633 * net/eww.el (eww-mode-map): Ditto.
6634
6635 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6638 packages from archives.
6639 (package-archive-contents): Change format; include obsolete packages.
6640 (package-desc): Use `dir' to mark builtin packages.
6641 (package--from-builtin): Set the `dir' field to `builtin'.
6642 (generated-autoload-file, version-control): Declare.
6643 (package-compute-transaction): Change first arg and return value to be
6644 lists of package-descs. Adjust to new package-archive-contents format.
6645 (package--add-to-archive-contents): Adjust to new
6646 package-archive-contents format.
6647 (package-download-transaction): Arg is now a list of package-descs.
6648 (package-install): If `pkg' is a package name, pass it as
6649 a requirement, so it is subject to the usual (e.g. disabled) checks.
6650 (describe-package): Accept package-desc as well.
6651 (describe-package-1): Describe a specific package-desc. Add links to
6652 other package-descs for the same package name.
6653 (package-menu-describe-package): Pass the actual package-desc.
6654 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6655 works correctly.
6656 (package-desc-status): New function.
6657 (package-menu--refresh): New function, extracted
6658 from package-menu--generate.
6659 (package-menu--generate): Use it.
6660 (package-delete): Update package-alist.
6661 (package-menu-execute): Don't call package-initialize.
6662
6663 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6664 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6665 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6666 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6667 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6668 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6669
6670 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6671
6672 * window.el (window--state-get-1): Workaround for bug#14527.
6673 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6674
6675 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6676
6677 * net/eww.el (eww-back-url): Implement the history by stashing all
6678 the data into a list.
6679 (eww-forward-url): Allow going forward in the history, too.
6680
6681 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6684 for values and use read--expression for expressions (bug#14710).
6685 (read-file-local-variable): Avoid setq.
6686 (read-file-local-variable-mode): Use minor-mode-list.
6687
6688 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6689
6690 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6691 for DOI URLs.
6692
6693 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6694
6695 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6696 Update imenu-support when dialect changes.
6697
6698 2013-06-25 Leo Liu <sdl.web@gmail.com>
6699
6700 * ido.el (ido-read-internal): Allow forward slash on windows.
6701
6702 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6703
6704 * net/eww.el (eww): Start of strings is \\`, not ^.
6705
6706 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6707
6708 * net/shr.el (shr-browse-url): Fix interactive spec.
6709
6710 * net/eww.el (eww): Add a trailing slash to domain names.
6711
6712 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6713
6714 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6715
6716 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6717
6718 * net/shr.el (shr-browse-url): Use an external browser if given a
6719 prefix.
6720
6721 * net/eww.el (eww-external-browser): Move to shr.
6722
6723 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6724
6725 * net/eww.el (eww): Work more correctly for file: URLs.
6726 (eww-detect-charset): Allow quoted charsets.
6727 (eww-yank-page-url): New command and keystroke.
6728
6729 2013-06-24 Daiki Ueno <ueno@gnu.org>
6730
6731 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6732 file name of gpg executable.
6733 (epg-context-program): New function.
6734 (epg-context-home-directory): New function.
6735 (epg-context-set-program): New function.
6736 (epg-context-set-home-directory): New function.
6737 (epg--start): Use `epg-context-program' instead of
6738 'epg-gpg-program'.
6739 (epg--list-keys-1): Likewise.
6740
6741 2013-06-24 Leo Liu <sdl.web@gmail.com>
6742
6743 * ido.el (ido-read-internal): Fix bug#14620.
6744
6745 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6746
6747 * faces.el (face-documentation): Simplify.
6748 (read-face-attribute, tty-find-type, x-resolve-font-name):
6749 Use `string-match-p'.
6750 (list-faces-display): Use `string-match-p'. Simplify.
6751 (face-spec-recalc): Check face to avoid face alias loops.
6752 (read-color): Use `string-match-p' and non-capturing parenthesis.
6753
6754 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6755
6756 * net/shr.el (shr-rescale-image): Use the new
6757 :max-width/:max-height functionality.
6758
6759 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6760
6761 * net/eww.el (eww-search-prefix): New variable.
6762 (eww): Use it.
6763 (eww-external-browser): New variable.
6764 (eww-mode-map): New keystroke.
6765 (eww-browse-with-external-browser): New command.
6766
6767 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6768
6769 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6770
6771 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6772 Don't skip aligning the next header field when padding is 0;
6773 otherwise, field width is not respected unless the title is as
6774 wide as the field.
6775
6776 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * emacs-lisp/package.el (package-el-version): Remove.
6779 (package-process-define-package): Fix inf-loop.
6780 (package-install): Allow symbols as arguments again.
6781
6782 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6783
6784 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6785 add some more keyword-like methods.
6786 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6787
6788 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6789
6790 * bs.el (bs-buffer-show-mark): Make defvar-local.
6791 (bs-mode): Use setq-local.
6792
6793 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6794 (emacs-lock--try-unlocking): Make defvar-local.
6795
6796 2013-06-22 Glenn Morris <rgm@gnu.org>
6797
6798 * play/cookie1.el (cookie-apropos): Minor simplification.
6799
6800 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6801
6802 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6803
6804 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6805 `regexp-opt', it breaks the build during dumping.
6806
6807 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6808
6809 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6810 Highlight keyword-like methods on Kernel and Module with
6811 font-lock-builtin-face.
6812 (auto-mode-alist): Consolidate different entries into one regexp
6813 and add more *file-s.
6814
6815 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6816
6817 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6818
6819 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6820 (diary-entry): Use it in the action of this button type instead of
6821 diary-goto-entry.
6822
6823 * calendar/todo-mode.el: New version.
6824 (todo-add-category): Append new category to end of file and give
6825 it the highest number, instead of putting it at the beginning and
6826 giving it 0. Incorporate noninteractive functionality.
6827 (todo-forward-category): Adapt to 1-based category numbering.
6828 Allow skipping over archived categories.
6829 (todo-backward-category): Derive from todo-forward-category.
6830 (todo-backward-item, todo-forward-item): Make noninteractive and
6831 delegate interactive part to new commands. Make sensitive to done items.
6832 (todo-categories): Make value an alist of category names and
6833 vectors of item counts.
6834 (todo-category-beg): Make a defconst.
6835 (todo-category-number): Use 1 instead of 0 as initial value.
6836 (todo-category-select): Make sensitive to overlays, optional item
6837 highlighting and done items.
6838 (todo-delete-item): Make sensitive to overlays and marked and done items.
6839 (todo-edit-item): Make sensitive to overlays and editing of
6840 date/time header optional. Add format checks.
6841 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6842 no-op if point is not on an item. Advertise using todo-edit-quit.
6843 (todo-edit-mode): Make sensitive to new format, font-locking, and
6844 multiple todo files.
6845 (todo-insert-item, todo-insert-item-here): Derive from
6846 todo-basic-insert-item and extend functionality.
6847 (todo-item-end, todo-item-start): Make sensitive to done items.
6848 (todo-item-string): Don't return text properties. Restore point.
6849 (todo-jump-to-category): Make sensitive to multiple todo files and
6850 todo archives. Use extended category completion.
6851 (todo-lower-item, todo-raise-item): Rename to *-priority and
6852 derive from todo-set-item-priority.
6853 (todo-mode): Derive from special-mode. Make sensitive to new
6854 format, font-locking and multiple todo files. Make read-only.
6855 (todo-mode-map): Don't suppress digit keys, so they can supply
6856 prefix arguments. Add many new key bindings.
6857 (todo-prefix): Insert as an overlay instead of file text.
6858 Change semantics from diary date expression to purely visual mark.
6859 (todo-print): Rename to todo-print-buffer. Make buffer display
6860 features printable. Remove option to restrict number of items
6861 printed. Add option to print to file.
6862 (todo-print-function): Rename to todo-print-buffer-function.
6863 (todo-quit): Extend to handle exiting new todo modes.
6864 (todo-remove-item): Make sensitive to overlays.
6865 (todo-save): Extend to buffers of filtered items.
6866 (todo-show): Make sensitive to done items, multiple todo files and
6867 new todo modes. Offer to convert legacy todo file before creating
6868 first new todo file.
6869 (todo-show-priorities): Rename to todo-top-priorities.
6870 Change semantics of value 0.
6871 (todo-top-priorities): Rename to todo-filter-top-priorities,
6872 derive from todo-filter-items and extend functionality.
6873 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6874 and extend functionality to other types of filtered items.
6875 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6876 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6877 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6878 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6879 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6880 (todo-edit-mode-hook, todo-entry-prefix-function)
6881 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6882 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6883 (todo-initials, todo-insert-threshold, todo-item-string-start)
6884 (todo-line-string, todo-menu, todo-mode-hook)
6885 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6886 (todo-print-priorities, todo-remove-separator)
6887 (todo-save-top-priorities-too, todo-string-count-lines)
6888 (todo-string-multiline-p, todo-time-string-format)
6889 (todo-tmp-buffer-name): Remove.
6890 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6891 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6892 (todo-edit-category-diary-inclusion)
6893 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6894 (todo-edit-file, todo-edit-item-date-day)
6895 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6896 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6897 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6898 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6899 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6900 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6901 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6902 (todo-filter-top-priorities-multifile, todo-find-archive)
6903 (todo-find-filtered-items-file, todo-go-to-source-item)
6904 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6905 (todo-jump-to-archive-category, todo-lower-category)
6906 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6907 (todo-move-category, todo-move-item, todo-next-button)
6908 (todo-next-item, todo-padded-string, todo-powerset)
6909 (todo-previous-button, todo-previous-item)
6910 (todo-print-buffer-to-file, todo-raise-category)
6911 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6912 (todo-set-category-number, todo-set-item-priority)
6913 (todo-set-top-priorities-in-category)
6914 (todo-set-top-priorities-in-file, todo-show-categories-table)
6915 (todo-sort-categories-alphabetically-or-numerically)
6916 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6917 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6918 (todo-toggle-item-header, todo-toggle-item-highlighting)
6919 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6920 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6921 (todo-unarchive-items, todo-unmark-category): New commands.
6922 (todo-absolute-file-name, todo-add-to-buffer-list)
6923 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6924 (todo-basic-insert-item, todo-category-completions)
6925 (todo-category-number, todo-category-string-matcher-1)
6926 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6927 (todo-check-format, todo-clear-matches)
6928 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6929 (todo-current-category, todo-date-string-matcher)
6930 (todo-define-insertion-command, todo-diary-expired-matcher)
6931 (todo-diary-goto-entry, todo-diary-item-p)
6932 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6933 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6934 (todo-done-item-section-p, todo-done-separator)
6935 (todo-done-string-matcher, todo-files, todo-filter-items)
6936 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6937 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6938 (todo-insert-category-line, todo-insert-item-from-calendar)
6939 (todo-insert-sort-button, todo-insert-with-overlays)
6940 (todo-insertion-command-name, todo-insertion-key-bindings)
6941 (todo-label-to-key, todo-longest-category-name-length)
6942 (todo-make-categories-list, todo-mode-external-set)
6943 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6944 (todo-modes-set-3, todo-multiple-filter-files)
6945 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6946 (todo-read-category, todo-read-date, todo-read-dayname)
6947 (todo-read-file-name, todo-read-time)
6948 (todo-reevaluate-category-completions-files-defcustom)
6949 (todo-reevaluate-default-file-defcustom)
6950 (todo-reevaluate-filelist-defcustoms)
6951 (todo-reevaluate-filter-files-defcustom)
6952 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6953 (todo-reset-done-separator, todo-reset-done-separator-string)
6954 (todo-reset-done-string, todo-reset-global-current-todo-file)
6955 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6956 (todo-reset-prefix, todo-set-categories)
6957 (todo-set-date-from-calendar, todo-set-show-current-file)
6958 (todo-set-top-priorities, todo-short-file-name)
6959 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6960 (todo-total-item-counts, todo-update-buffer-list)
6961 (todo-update-categories-display, todo-update-categories-sexp)
6962 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6963 New functions.
6964 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6965 New major modes.
6966 (todo-categories, todo-display, todo-edit, todo-faces)
6967 (todo-filtered): New defgroups.
6968 (todo-archived-only, todo-button, todo-category-string, todo-date)
6969 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6970 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6971 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6972 (todo-add-item-if-new-category, todo-always-add-time-string)
6973 (todo-categories-align, todo-categories-archived-label)
6974 (todo-categories-category-label, todo-categories-diary-label)
6975 (todo-categories-done-label, todo-categories-number-separator)
6976 (todo-categories-todo-label, todo-categories-totals-label)
6977 (todo-category-completions-files, todo-completion-ignore-case)
6978 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6979 (todo-done-separator-string, todo-done-string)
6980 (todo-files-function, todo-filter-done-items, todo-filter-files)
6981 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6982 (todo-initial-category, todo-initial-file, todo-item-mark)
6983 (todo-legacy-date-time-regexp, todo-mode-line-function)
6984 (todo-nondiary-marker, todo-number-prefix)
6985 (todo-print-buffer-function, todo-show-current-file)
6986 (todo-show-done-only, todo-show-first, todo-show-with-done)
6987 (todo-skip-archived-categories, todo-top-priorities-overrides)
6988 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6989 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6990 New defcustoms.
6991 (todo-category-done, todo-date-pattern, todo-date-string-start)
6992 (todo-diary-items-buffer, todo-done-string-start)
6993 (todo-filtered-items-buffer, todo-item-start)
6994 (todo-month-abbrev-array, todo-month-name-array)
6995 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6996 (todo-top-priorities-buffer): New defconsts.
6997 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6998 (todo-categories-with-marks, todo-category-string-face)
6999 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7000 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7001 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7002 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7003 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7004 (todo-font-lock-keywords, todo-global-current-todo-file)
7005 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7006 (todo-insertion-commands-args)
7007 (todo-insertion-commands-args-genlist)
7008 (todo-insertion-commands-names, todo-insertion-map)
7009 (todo-key-bindings-t, todo-key-bindings-t+a)
7010 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7011 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7012 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7013 (todo-visited): New variables.
7014
7015 2013-06-21 Glenn Morris <rgm@gnu.org>
7016
7017 * play/cookie1.el (cookie-apropos): Add optional display argument.
7018 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7019 (psychoanalyze-pinhead): Use cookie-doctor.
7020
7021 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7022
7023 * emacs-lisp/package.el (tar-get-file-descriptor)
7024 (tar--extract): Declare.
7025
7026 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7027
7028 Extend flymake's warning predicate to be a function (bug#14217).
7029 * progmodes/flymake.el (flymake-warning-predicate): New.
7030 (flymake-parse-line): Use it.
7031 (flymake-warning-re): Make obsolete alias to
7032 `flymake-warning-predicate'.
7033
7034 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7037 (package-obsolete-list): Remove.
7038 (package-activate): Remove min-version argument. Add `force' argument.
7039 Adjust to new package-alist format.
7040 (package-mark-obsolete): Remove.
7041 (package-unpack): Force reload of the package's autoloads.
7042 (package-installed-p): Check builtins if the installed package is not
7043 recent enough.
7044 (package-initialize): Don't reset package-obsolete-list.
7045 Don't specify which package version to activate.
7046 (package-process-define-package, describe-package-1)
7047 (package-menu--generate): Adjust to new package-alist format.
7048
7049 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7050
7051 * allout-widgets.el (allout-widgets-mode-off)
7052 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7053 (allout-widgets-post-command-business)
7054 (allout-widgets-after-copy-or-kill-function)
7055 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7056 (allout-decorate-item-and-context)
7057 (allout-graphics-modification-handler): Fix typos in docstrings.
7058 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7059
7060 * cmuscheme.el (scheme-start-file): Doc fix.
7061 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7062 (scheme-input-filter): Use `string-match-p'.
7063
7064 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7065
7066 * dired-x.el: Use Dired consistently in docstrings.
7067
7068 * dired.el: Use Dired consistently in docstrings.
7069 (dired-readin, dired-mode): Use `setq-local'.
7070 (dired-switches-alist): Make defvar-local.
7071 (dired-buffers-for-dir): Use `zerop'.
7072 (dired-safe-switches-p, dired-switches-escape-p)
7073 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7074 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7075 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7076 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7077 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7078 (dired-toggle-marks, dired-mark-files-containing-regexp)
7079 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7080 (dired-flag-auto-save-files, dired-flag-backup-files):
7081 Use `looking-at-p'.
7082 (dired-mark-files-regexp, dired-build-subdir-alist):
7083 Use `string-match-p', `looking-at-p'.
7084
7085 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7086 (direct-print-region-helper): Use `string-match-p'.
7087
7088 2013-06-21 Leo Liu <sdl.web@gmail.com>
7089
7090 * comint.el (comint-redirect-results-list-from-process):
7091 Fix infinite loop.
7092
7093 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7094
7095 * net/eww.el (eww-update-header-line-format): Quote % characters.
7096
7097 2013-06-21 Glenn Morris <rgm@gnu.org>
7098
7099 * play/cookie1.el (cookie): New custom group.
7100 (cookie-file): New option.
7101 (cookie-check-file): New function.
7102 (cookie): Make it interactive. Make start and end messages optional.
7103 Interactively, display the result. Default to cookie-file.
7104 (cookie-insert): Default to cookie-file.
7105 (cookie-snarf): Make start and end messages optional.
7106 Default to cookie-file. Use with-temp-buffer.
7107 (cookie-read): Rename from read-cookie.
7108 Make start and end messages optional. Default to cookie-file.
7109 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7110 Do not autoload it.
7111 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7112 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7113
7114 2013-06-21 Leo Liu <sdl.web@gmail.com>
7115
7116 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7117
7118 2013-06-21 Glenn Morris <rgm@gnu.org>
7119
7120 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7121
7122 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7123 Daniel Hackney <dan@haxney.org>
7124
7125 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7126 Consolidate the single-file vs tarball code.
7127 (package-desc-suffix): New function.
7128 (package-desc-full-name): Don't bother inlining it.
7129 (package-load-descriptor): Return the new package-desc.
7130 (package-mark-obsolete): Remove unused arg `package'.
7131 (package-unpack): Make it work for single files as well.
7132 Make it update package-alist.
7133 (package--make-autoloads-and-stuff): Rename from
7134 package--make-autoloads-and-compile. Don't compile any more.
7135 (package--compile): New function.
7136 (package-generate-description-file): New function, extracted from
7137 package-unpack-single.
7138 (package-unpack-single): Remove.
7139 (package--with-work-buffer): Add indentation and debugging info.
7140 (package-download-single): Remove.
7141 (package-install-from-archive): Rename from package-download-tar, make
7142 it take a pkg-desc, and make it work for single files as well.
7143 (package-download-transaction): Simplify.
7144 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7145 external tar program.
7146 (package-install-from-buffer): Remove `pkg-desc' argument.
7147 Use package-tar-file-info for tar-mode buffers.
7148 (package-install-file): Simplify accordingly.
7149 (package-archive-base): Change to take a pkg-desc.
7150 * tar-mode.el (tar--check-descriptor): New function, extracted from
7151 tar-get-descriptor.
7152 (tar-get-descriptor): Use it.
7153 (tar-get-file-descriptor): New function.
7154 (tar--extract): New function, extracted from tar-extract.
7155 (tar--extract): Use it.
7156 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7157 case the summary uses non-ascii. Adjust to new calling convention of
7158 package-tar-file-info.
7159
7160 2013-06-21 Leo Liu <sdl.web@gmail.com>
7161
7162 * comint.el (comint-redirect-results-list-from-process):
7163 Fix random delay. (Bug#14681)
7164
7165 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7166
7167 * profiler.el (profiler-format-number): Use log, not log10.
7168
7169 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7170
7171 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7172
7173 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7176 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7177 yet available.
7178 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7179 (AUTOGENEL): ... here.
7180 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7181 (cl--defsubst-expand): Use it.
7182
7183 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7184
7185 * subr.el (log10): Move here from C code, and declare as obsolete.
7186 All uses of (log10 X) replaced with (log X 10).
7187
7188 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7189
7190 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7191 Declare with `defvar-local'.
7192 (tabulated-list-use-header-line, tabulated-list-entries)
7193 (tabulated-list-padding, tabulated-list-printer)
7194 (tabulated-list-sort-key): Declare with `defvar-local'.
7195 (tabulated-list-init-header, tabulated-list-print-fake-header):
7196 Use `setq-local'.
7197
7198 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7199
7200 * arc-mode.el (archive-mode): Add `archive-write-file' to
7201 `write-contents-functions' also for remote files. (Bug#14652)
7202
7203 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7204
7205 * cus-edit.el (custom-commands): Fix typos.
7206 (custom-display): Fix tooltip text.
7207 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7208 Fix typos in docstrings.
7209 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7210 (custom-unlispify-menu-entry, custom-magic-value-create)
7211 (custom-add-see-also, custom-group-value-create): Use ?\s.
7212 (custom-guess-type, customize-apropos, editable-field)
7213 (custom-face-value-create): Use `string-match-p'.
7214 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7215
7216 * custom.el (custom-load-symbol): Use `string-match-p'.
7217
7218 * ansi-color.el: Convert to lexical binding.
7219 (ansi-colors): Fix URL.
7220 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7221 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7222 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7223
7224 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7225
7226 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7227
7228 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7229
7230 2013-06-19 Tom Tromey <tromey@redhat.com>
7231
7232 * net/eww.el (eww-top-url): Remove.
7233 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7234 (eww-render): Set new variables. Don't set eww-top-url.
7235 (eww-handle-link): Handle "prev", "home", and "contents".
7236 Downcase the rel text.
7237 (eww-top-url): Choose best top URL.
7238
7239 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7240
7241 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7242 relying in widget.el. Using widget.el leads to too many
7243 user interface inconsistencies.
7244 (eww-self-insert): Implement entering commands in text fields.
7245 (eww-process-text-input): New function to make text input field editing
7246 work.
7247 (eww-submit): Rewrite to use the new-style form methods.
7248 (eww-select-display): Display the correct selected item.
7249 (eww-change-select): Implement changing the select value.
7250 (eww-toggle-checkbox): Implement radio/checkboxes.
7251 (eww-update-field): Fix compilation error.
7252 (eww-tag-textarea): Implement <textarea>.
7253
7254 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7255 we don't shadow mode-specific bindings.
7256
7257 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7258 nothing to push.
7259
7260 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7261
7262 2013-06-19 Glenn Morris <rgm@gnu.org>
7263
7264 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7265
7266 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7267
7268 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7269 not needed.
7270
7271 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7272
7273 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7274
7275 * net/browse-url.el (browse-url-browser-function):
7276 `eww-browse-url' has the right calling signature, `eww' does not.
7277
7278 2013-06-19 Glenn Morris <rgm@gnu.org>
7279
7280 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7281 Only eval autoloaded macros.
7282 (byte-compile-autoload): Only give the macro warning for macros.
7283
7284 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7285 (ps-underlined-faces): Declare.
7286
7287 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7288 (speedbar-add-supported-extension): Declare.
7289
7290 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7291 Don't include a date stamp in the header of the generated file;
7292 it leads to needless differences between output files.
7293
7294 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7295
7296 * net/secrets.el (secrets-struct-secret-content-type):
7297 Replace check of introspection data by a test call of "CreateItem".
7298 Some servers do not offer introspection.
7299
7300 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * electric.el (electric-pair-mode): Improve interaction with
7303 electric-layout-mode.
7304 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7305 (electric-pair-syntax): Use text-mode-syntax-table in comments
7306 and strings.
7307 (electric-pair--insert): New function.
7308 (electric-pair-post-self-insert-function): Use it and
7309 electric--after-char-pos.
7310
7311 2013-06-19 Leo Liu <sdl.web@gmail.com>
7312
7313 * progmodes/octave.el (octave-help): Fix regexp.
7314
7315 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7316
7317 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7318 (shr-table-horizontal-line): Allow nil as a value, and change the
7319 default.
7320 (shr-insert-table-ruler): Respect the nil value.
7321
7322 2013-06-18 Tom Tromey <tromey@barimba>
7323
7324 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7325 New defvars.
7326 (eww-open-file): New defun.
7327 (eww-render): Initialize new variables.
7328 (eww-display-html): Handle "link" and "a".
7329 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7330 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7331 (eww-back-url): Rename from eww-previous-url.
7332 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7333 New defuns.
7334
7335 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7336
7337 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7338 Distinguish ternary operator tokens from slash symbol and slash
7339 char literal.
7340
7341 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7342
7343 Convert symbol prettification into minor mode and global minor mode.
7344
7345 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7346 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7347 (prettify-symbols--keywords): Rename from
7348 `prog-prettify-symbols-alist' and make a local defvar.
7349 (prettify-symbols--compose-symbol): Rename from
7350 `prog--prettify-font-lock-compose-symbol'.
7351 (prettify-symbols--make-keywords): Rename from
7352 `prog-prettify-font-lock-symbols-keywords' and simplify.
7353 (prog-prettify-install): Remove.
7354 (prettify-symbols-mode): New minor mode, based on
7355 `prog-prettify-install'.
7356 (turn-on-prettify-symbols-mode): New function.
7357 (global-prettify-symbols-mode): New globalized minor mode.
7358
7359 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7360 * progmodes/cfengine.el (cfengine3-mode):
7361 * progmodes/perl-mode.el (perl-mode): Don't call
7362 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7363
7364 2013-06-18 Juri Linkov <juri@jurta.org>
7365
7366 * files-x.el (modify-file-local-variable-message): New function.
7367 (modify-file-local-variable)
7368 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7369 and call `modify-file-local-variable-message' when it's non-nil.
7370 (add-file-local-variable, delete-file-local-variable)
7371 (add-file-local-variable-prop-line)
7372 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7373 and use it. (Bug#9820)
7374
7375 2013-06-18 Juri Linkov <juri@jurta.org>
7376
7377 * emulation/vi.el (vi-shell-op):
7378 * emulation/vip.el (vip-execute-com, ex-command):
7379 * emulation/viper-cmd.el (viper-exec-bang):
7380 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7381 the call of `shell-command-on-region'. (Bug#14637)
7382
7383 * simple.el (shell-command-on-region): Doc fix.
7384
7385 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7388 (bug#14633).
7389
7390 2013-06-18 Glenn Morris <rgm@gnu.org>
7391
7392 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7393
7394 * newcomment.el (comment-search-forward, comment-search-backward):
7395 Doc fix. (Bug#14376)
7396
7397 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7398
7399 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7400 (buffer-face-mode-invoke): Doc fix.
7401
7402 2013-06-18 Matthias Meulien <orontee@gmail.com>
7403
7404 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7405 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7406
7407 2013-06-18 Glenn Morris <rgm@gnu.org>
7408
7409 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7410 Replace obsolete function generic-make-keywords with its expansion.
7411
7412 * progmodes/python.el (ffap-alist): Declare.
7413
7414 * textmodes/reftex.el (bibtex-mode-map): Declare.
7415
7416 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7419 (package-unpack, package-unpack-single): Return the pkg-dir.
7420 (package-download-transaction): Use it to update package-alist.
7421
7422 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7423
7424 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7425 possible choice.
7426
7427 2013-06-17 Juri Linkov <juri@jurta.org>
7428
7429 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7430
7431 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7432
7433 * emacs-lisp/package.el (package-load-descriptor):
7434 Remove `with-syntax-table' call, `read' doesn't need it.
7435 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7436
7437 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7438
7439 * startup.el (command-line): Expand package name returned by
7440 `package--description-file' (bug#14639).
7441
7442 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7443
7444 * emacs-lisp/package.el (package-load-descriptor): Do not call
7445 `emacs-lisp-mode', just use its syntax table.
7446
7447 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7448
7449 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7450 `font-lock-extra-managed-props' if any prettifying keyword is added.
7451 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7452 (prog-mode): Use `setq-local'.
7453
7454 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7455
7456 * international/characters.el (standard-case-table): Set syntax of ?»
7457 and ?« to punctuation.
7458
7459 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7460
7461 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7462 Save relevant match data before calling `syntax-ppss' (bug#14595).
7463
7464 2013-06-15 Juri Linkov <juri@jurta.org>
7465
7466 * files-x.el (modify-file-local-variable-prop-line): Add local
7467 variables to the end of the existing comment on the first line.
7468 Use `file-auto-mode-skip' to skip interpreter magic line,
7469 and also skip XML declaration.
7470
7471 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7472
7473 * startup.el (package--builtin-versions): New var.
7474 (package-subdirectory-regexp): Remove.
7475 (package--description-file): Hard code its value instead.
7476
7477 * emacs-lisp/package.el: Don't activate packages older than builtin.
7478 (package-obsolete-list): Rename from package-obsolete-alist, and make
7479 it into a simple list of package-desc.
7480 (package-strip-version): Remove.
7481 (package-built-in-p): Use package--builtin-versions.
7482 (package-mark-obsolete): Simplify.
7483 (package-process-define-package): Mark it obsolete if older than the
7484 builtin version.
7485 (package-handle-response): Use line-end-position.
7486 (package-read-archive-contents, package--download-one-archive):
7487 Simplify.
7488 (package--add-to-archive-contents): Skip if older than the builtin or
7489 installed version.
7490 (package-menu-describe-package): Fix last change.
7491 (package-list-unversioned): New var.
7492 (package-menu--generate): Use it.
7493
7494 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7495 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7496 (autoload-builtin-package-versions): New variable.
7497 (autoload-generate-file-autoloads): Use them.
7498 Remove the list of autoloaded functions/macros from the
7499 (autoload...) comments.
7500
7501 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7502
7503 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7504
7505 * simple.el (line-move-partial): Don't jump to the next screen
7506 line as soon as it becomes visible. Instead, continue enlarging
7507 the vscroll until the portion of a tall screen line that's left on
7508 display is about the height of the frame's default font.
7509 (Bug#14567)
7510
7511 2013-06-15 Glenn Morris <rgm@gnu.org>
7512
7513 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7514 compilation-error-regexp-alist void, or local while let-bound.
7515
7516 * progmodes/make-mode.el (makefile-mode-syntax-table):
7517 Treat "=" as punctuation. (Bug#14614)
7518
7519 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7520
7521 * help-fns.el (describe-variable):
7522 Add extra line for permanent-local variables.
7523
7524 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7525
7526 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7527 Add export, import, library. (Bug#9164)
7528 (library): Set indent function.
7529
7530 2013-06-14 Glenn Morris <rgm@gnu.org>
7531
7532 * term/xterm.el (xterm--query):
7533 Stop after first matching handler. (Bug#14615)
7534
7535 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7536
7537 Add support for dired in saveplace.
7538 * dired.el (dired-initial-position-hook): New variable.
7539 (dired-initial-position): Call hook to place cursor position.
7540 * saveplace.el (save-place-to-alist): Add dired position.
7541 (save-place-dired-hook): New function.
7542
7543 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7546 through a symbol rather than letrec.
7547
7548 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7549 (package-desc): Add `dir' field.
7550 (package-desc-full-name): New function.
7551 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7552 (package-maybe-load-descriptor): Remove.
7553 (package-load-all-descriptors): Just call package-load-descriptor.
7554 (package--disabled-p): New function.
7555 (package-desc-vers, package-desc-doc): Remove aliases.
7556 (package--dir): Remove function.
7557 (package-activate): Check if a package is disabled.
7558 (package-process-define-package): New function, extracted from
7559 define-package.
7560 (define-package): Turn into a place holder.
7561 (package-unpack-single, package-tar-file-info):
7562 Use package--description-file.
7563 (package-compute-transaction): Use package--disabled-p.
7564 (package-download-transaction): Don't call
7565 package-maybe-load-descriptor since they're all loaded anyway.
7566 (package-install): Change argument to be a pkg-desc.
7567 (package-delete): Use a single pkg-desc argument.
7568 (describe-package-1): Use package-desc-dir instead of package--dir.
7569 Use package-desc property instead of package-symbol.
7570 (package-install-button-action): Adjust accordingly.
7571 (package--push): Rewrite.
7572 (package-menu--print-info): Adjust accordingly. Change the ID format
7573 to be a pkg-desc.
7574 (package-menu-describe-package, package-menu-get-status)
7575 (package-menu--find-upgrades, package-menu-mark-upgrades)
7576 (package-menu-execute, package-menu--name-predicate):
7577 Adjust accordingly.
7578 * startup.el (package--description-file): New function.
7579 (command-line): Use it.
7580 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7581 Use package-desc-version.
7582
7583 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7584 (byte-compile-preprocess): Use it.
7585 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7586 can't quite recognize.
7587 (byte-compile-add-to-list): Remove.
7588 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7589 (cconv-closure-convert): Add assertion.
7590
7591 * emacs-lisp/map-ynp.el: Use lexical-binding.
7592 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7593 Factor out some repeated code.
7594
7595 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * subr.el (with-eval-after-load): New macro.
7598 (eval-after-load): Allow form to be a function.
7599 take advantage of lexical-binding.
7600 (do-after-load-evaluation): Use dolist and adjust to new format.
7601 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7602
7603 2013-06-13 Juri Linkov <juri@jurta.org>
7604
7605 * replace.el (perform-replace): Display "symbol " and other search
7606 modes from `isearch-message-prefix' in the *Help* buffer.
7607
7608 * isearch.el (isearch-query-replace): Add " symbol" and other
7609 possible search modes from `isearch-message-prefix' to the prompt.
7610 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7611 when reading a regexp to collect.
7612
7613 2013-06-13 Juri Linkov <juri@jurta.org>
7614
7615 * isearch.el (word-search-regexp): Match whitespace if the search
7616 string begins or ends in whitespace. The LAX arg is applied to
7617 both ends of the search string. Use `regexp-quote' and explicit
7618 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7619 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7620 boundaries are replaced with symbol boundaries, and characters
7621 between symbols match non-word non-symbol syntax. (Bug#14602)
7622
7623 2013-06-13 Juri Linkov <juri@jurta.org>
7624
7625 * isearch.el (isearch-del-char): Don't exceed the length of
7626 `isearch-string' by the prefix arg. (Bug#14563)
7627
7628 2013-06-13 Juri Linkov <juri@jurta.org>
7629
7630 * isearch.el (isearch-yank-word, isearch-yank-line)
7631 (isearch-char-by-name, isearch-quote-char)
7632 (isearch-printing-char, isearch-process-search-char):
7633 Add optional count prefix arg. (Bug#14563)
7634
7635 * international/isearch-x.el
7636 (isearch-process-search-multibyte-characters):
7637 Add optional count prefix arg.
7638
7639 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7640
7641 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7642 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7643 lexical-binding.
7644
7645 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7646
7647 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7648
7649 2013-06-13 Glenn Morris <rgm@gnu.org>
7650
7651 * startup.el (tty-handle-args):
7652 Don't just discard "--" and anything after. (Bug#14608)
7653
7654 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7655
7656 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7657
7658 Implement changes in Secret Service API. Make it backward compatible.
7659 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7660 (secrets-create-item): Use it. Prefix properties with interface.
7661
7662 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7663
7664 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7665 (term-emulate-terminal): Respect term-suppress-hard-newline.
7666
7667 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7668
7669 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7670 Only remove a `thumb-file' overlay. (Bug#14548)
7671
7672 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7673
7674 * mail/reporter.el (reporter-submit-bug-report):
7675 Handle missing package-name. (Bug#14600)
7676
7677 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7678
7679 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7680 (reftex-citation-prompt, reftex-default-bibliography)
7681 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7682 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7683 (reftex-bib-sort-author, reftex-bib-sort-year)
7684 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7685 (reftex-extract-bib-entries-from-thebibliography)
7686 (reftex-get-bibkey-default, reftex-get-bib-names)
7687 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7688 (reftex-format-bib-entry, reftex-parse-bibitem)
7689 (reftex-format-bibitem, reftex-do-citation)
7690 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7691 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7692 (reftex-insert-bib-matches, reftex-format-citation)
7693 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7694 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7695 existing comments into docstrings.
7696
7697 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7698
7699 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7700
7701 2013-06-12 Andreas Schwab <schwab@suse.de>
7702
7703 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7704 for auto-save files.
7705
7706 2013-06-12 Glenn Morris <rgm@gnu.org>
7707
7708 * ido.el (ido-delete-ignored-files): Remove.
7709 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7710 Go back to calling ido-ignore-item-p directly.
7711
7712 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7713
7714 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7715
7716 * ido.el (ido-delete-ignored-files): New function,
7717 split from ido-make-file-list-1.
7718 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7719 (ido-make-file-list-1): Use ido-delete-ignored-files.
7720
7721 2013-06-12 Leo Liu <sdl.web@gmail.com>
7722
7723 * progmodes/octave.el (inferior-octave-startup)
7724 (inferior-octave-completion-table)
7725 (inferior-octave-track-window-width-change)
7726 (octave-eldoc-function-signatures, octave-help)
7727 (octave-find-definition): Use single quoted strings.
7728 (inferior-octave-startup-args): Change default value.
7729 (inferior-octave-startup): Do not hard code "-i" and
7730 "--no-line-editing".
7731 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7732 (inferior-octave-directory-tracker): Use it.
7733 (octave-goto-function-definition): Robustify.
7734 (octave-help): Support highlighting operators in 'See also'.
7735 (octave-find-definition): Find subfunctions only in Octave mode.
7736
7737 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7738
7739 * help-fns.el (help-fns--compiler-macro): If the handler function is
7740 named, then put a link to it.
7741 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7742 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7743 (cl-typep): Use it.
7744 (cl-eval-when): Simplify debug spec.
7745 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7746 compiler-macro function instead of setting `compiler-macro-file'.
7747
7748 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7749
7750 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7751 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7752
7753 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7754 Daniel Hackney <dan@haxney.org>
7755
7756 First part of Daniel Hackney's patch to package.el.
7757 * emacs-lisp/package.el: Use defstruct.
7758 (package-desc): New, main struct.
7759 (package--bi-desc, package--ac-desc): New structs, used to describe the
7760 format in external files.
7761 (package-desc-vers): Replace with package-desc-version accessor.
7762 (package-desc-doc): Replace with package-desc-summary accessor.
7763 (package-activate-1): Remove `package' arg since the pkg-vec now
7764 includes the name.
7765 (define-package): Use package-desc-from-define.
7766 (package-unpack-single): Change file-name arg to be a symbol.
7767 (package--add-to-archive-contents): Use package-desc-create and new
7768 accessor functions to package--ac-desc.
7769 (package-buffer-info, package-tar-file-info): Return a package-desc.
7770 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7771 arg to be a package-desc.
7772 (package-install-file): Adjust accordingly. Use \' to match EOS.
7773 (package--from-builtin): New function.
7774 (describe-package-1, package-menu--generate): Use it.
7775 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7776 (package-generate-autoloads): Idem and return the name of the file.
7777 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7778 Change pkg-info arg to be a package-desc.
7779 Use package-make-ac-desc.
7780 (package-upload-file): Use \' to match EOS.
7781 * finder.el (finder-compile-keywords): Use package-make-builtin.
7782
7783 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * vc/vc.el (vc-deduce-fileset): Change error message.
7786 (vc-read-backend): New function.
7787 (vc-next-action): Use it.
7788
7789 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7790
7791 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7792 (prolog-font-lock-keywords): Use regexp-opt instead.
7793 Don't manually highlight strings.
7794 (prolog-mode-variables): Simplify comment-start-skip.
7795 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7796
7797 * emacs-lisp/generic.el (generic--normalise-comments)
7798 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7799 (generic-mode-set-comments): Use them.
7800 (generic-bracket-support): Use setq-local.
7801 (generic-make-keywords-list): Declare obsolete.
7802
7803 2013-06-11 Glenn Morris <rgm@gnu.org>
7804
7805 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7806 Prettify after setting font-lock-defaults. (Bug#14574)
7807
7808 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7809
7810 * replace.el (query-replace, occur-read-regexp-defaults-function)
7811 (replace-search):
7812 * subr.el (declare-function, number-sequence, local-set-key)
7813 (substitute-key-definition, locate-user-emacs-file)
7814 (with-silent-modifications, split-string, eval-after-load):
7815 Fix typos, remove unneeded backslashes and reflow some docstrings.
7816
7817 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7818
7819 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7820 default for Elisp files.
7821
7822 2013-06-11 Glenn Morris <rgm@gnu.org>
7823
7824 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7825 although define-derived-mode was doing this anyway. (Bug#14583)
7826
7827 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7828
7829 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7830 Fix make-variable-buffer-local call to refer to the correct variable.
7831
7832 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7833
7834 * eshell/em-term.el (eshell-visual-commands)
7835 (eshell-visual-subcommands, eshell-visual-options):
7836 Add summary line to docstrings. Add cross-references.
7837
7838 2013-06-10 Glenn Morris <rgm@gnu.org>
7839
7840 * epa.el (epa-read-file-name): New function. (Bug#14510)
7841 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7842
7843 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7844
7845 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7846 output redirection to be ignored with visual commands.
7847
7848 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7849
7850 * eshell/em-term.el (eshell-visual-command-p): New function.
7851 (eshell-term-initialize): Move long lambda to separate function
7852 eshell-visual-command-p.
7853 * eshell/em-dirs.el (eshell-dirs-initialise):
7854 * eshell/em-script.el (eshell-script-initialize):
7855 Add missing #' to lambda.
7856
7857 2013-06-08 Leo Liu <sdl.web@gmail.com>
7858
7859 * progmodes/octave.el (octave-add-log-current-defun): New function.
7860 (octave-mode): Set add-log-current-defun-function.
7861 (octave-goto-function-definition): Do not move point if not found.
7862 (octave-find-definition): Enhance to try subfunctions first.
7863
7864 2013-06-08 Glenn Morris <rgm@gnu.org>
7865
7866 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7867 (byte-compile-backward-char, byte-compile-backward-word):
7868 Improve previous change, to handle non-explicit nil.
7869
7870 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7873 (smie--opener/closer-at-point): New function.
7874 (smie--matching-block-data): Use it. Don't match from right after an
7875 opener or right before a closer. Obey smie-blink-matching-inners.
7876 Don't signal a mismatch for repeated inners like "switch..case..case".
7877
7878 2013-06-07 Leo Liu <sdl.web@gmail.com>
7879
7880 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7881 to t. (Bug#14303)
7882 (octave-function-header-regexp): Fix. (Bug#14570)
7883 (octave-help-mode-finish-hook, octave-help-mode-finish):
7884 Remove. Just use temp-buffer-show-hook.
7885
7886 * newcomment.el (comment-search-backward): Revert last change.
7887 (Bug#14434)
7888
7889 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7890
7891 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7892
7893 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7894 through xargs, to avoid failure due to MS-Windows limitations on
7895 command-line length.
7896
7897 2013-06-06 Glenn Morris <rgm@gnu.org>
7898
7899 * font-lock.el (lisp-font-lock-keywords-2):
7900 Treat user-error like error.
7901
7902 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7903 (byte-compile-backward-char, byte-compile-backward-word):
7904 Handle explicit nil arguments. (Bug#14565)
7905
7906 2013-06-05 Alan Mackenzie <acm@muc.de>
7907
7908 * isearch.el (isearch-allow-prefix): New user option.
7909 (isearch-other-meta-char): Don't exit isearch when a prefix
7910 argument is typed whilst `isearch-allow-prefix' is non-nil.
7911 (Bug#9706)
7912
7913 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7914
7915 * autorevert.el (auto-revert-notify-handler): Use memq.
7916 Hide assertion failure.
7917
7918 * skeleton.el: Use cl-lib.
7919 (skeleton-further-elements): Use defvar-local.
7920 (skeleton-insert): Use cl-progv.
7921
7922 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7923
7924 * progmodes/prog-mode.el (prog-prettify-symbols)
7925 (prog-prettify-install): Update docstrings.
7926
7927 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * simple.el: Move all the prog-mode code to prog-mode.el.
7930 * progmodes/prog-mode.el: New file.
7931 * loadup.el: Add prog-mode.el.
7932
7933 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7934
7935 * simple.el (prog-prettify-symbols): Add version.
7936 (prog-prettify-install): Add convenience function to prettify symbols.
7937
7938 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7939 (perl--augmented-font-lock-keywords-1)
7940 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7941 variables and use it.
7942
7943 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7944 (cfengine3-mode): Remove unneeded variable and use it.
7945
7946 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7947 (lisp--augmented-font-lock-keywords-1)
7948 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7949 Remove unneeded variables and use it.
7950
7951 2013-06-05 João Távora <joaotavora@gmail.com>
7952
7953 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7954 to point when opening the connection. (Bug#14380)
7955
7956 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * subr.el (load-history-regexp, load-history-filename-element)
7959 (eval-after-load, after-load-functions, do-after-load-evaluation)
7960 (eval-next-after-load, display-delayed-warnings)
7961 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7962 definition of save-match-data.
7963 (overriding-local-map): Remove accidental obsolescence declaration.
7964
7965 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7966
7967 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7968
7969 Generalize symbol prettify support to prog-mode and implement it
7970 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7971 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7972 (prog--prettify-font-lock-compose-symbol)
7973 (prog-prettify-font-lock-symbols-keywords): New variables and
7974 functions to support symbol prettification.
7975 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7976 (lisp--augmented-font-lock-keywords-1)
7977 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7978 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7979 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7980 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7981 Implement prettify of -> => :: strings.
7982 * progmodes/perl-mode.el (perl-prettify-symbols)
7983 (perl--font-lock-compose-symbol)
7984 (perl--font-lock-symbols-keywords): Move to prog-mode.
7985 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7986 (perl-font-lock-keywords-1)
7987 (perl-font-lock-keywords-2): Remove explicit prettify support.
7988 (perl--augmented-font-lock-keywords)
7989 (perl--augmented-font-lock-keywords-1)
7990 (perl--augmented-font-lock-keywords-2, perl-mode):
7991 Implement prettify support.
7992
7993 2013-06-05 Leo Liu <sdl.web@gmail.com>
7994
7995 Re-implement smie matching block highlight using
7996 show-paren-data-function. (Bug#14395)
7997 * emacs-lisp/smie.el (smie-matching-block-highlight)
7998 (smie--highlight-matching-block-overlay)
7999 (smie--highlight-matching-block-lastpos)
8000 (smie-highlight-matching-block)
8001 (smie-highlight-matching-block-mode): Remove.
8002 (smie--matching-block-data-cache): New variable.
8003 (smie--matching-block-data): New function.
8004 (smie-setup): Use smie--matching-block-data for
8005 show-paren-data-function.
8006
8007 * progmodes/octave.el (octave-mode-menu): Fix.
8008 (octave-find-definition): Skip garbage lines.
8009
8010 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 Fix compilation error with simultaneous dynamic+lexical scoping.
8013 Add warning when a defvar appears after the first let-binding.
8014 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8015 (byte-compile-close-variables): Initialize it.
8016 (byte-compile--declare-var): New function.
8017 (byte-compile-file-form-defvar)
8018 (byte-compile-file-form-define-abbrev-table)
8019 (byte-compile-file-form-custom-declare-variable): Use it.
8020 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8021 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8022 (byte-compile-bind): Handle dynamic bindings that shadow
8023 lexical bindings.
8024 (byte-compile-unbind): Make arg non-optional.
8025 (byte-compile-let): Simplify.
8026 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8027 (cconv--analyse-function, cconv-analyse-form): Populate it.
8028 Protect byte-compile-bound-variables to limit the scope of defvars.
8029 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8030 Remove unneeded rule for `declare'.
8031
8032 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8033 so as to avoid depending on cl-adjoin at run-time.
8034 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8035
8036 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8037 (macroexp--warn-and-return): Use it.
8038
8039 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * lisp/subr.el: Convert to lexical binding.
8042 (overriding-local-map): Make obsolete.
8043 (add-to-list): Doc fix. Add compiler macro.
8044 (read-key): Swap values of local maps.
8045
8046 2013-06-05 Leo Liu <sdl.web@gmail.com>
8047
8048 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8049
8050 2013-06-04 Leo Liu <sdl.web@gmail.com>
8051
8052 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8053 (compilation-auto-jump): Suppress the "Mark set" message to give
8054 way to exit message.
8055
8056 2013-06-04 Alan Mackenzie <acm@muc.de>
8057
8058 Remove faulty optimisation from indentation calculation.
8059 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8060 search limit based on 2000 characters back from indent-point.
8061
8062 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8063
8064 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8065
8066 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8067
8068 * emacs-lisp/lisp.el: Use lexical-binding.
8069 (lisp--local-variables-1, lisp--local-variables): New functions.
8070 (lisp--local-variables-completion-table): New var.
8071 (lisp-completion-at-point): Use it complete let-bound vars.
8072
8073 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8074 eagerly (bug#14422).
8075
8076 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8077
8078 * autorevert.el (auto-revert-notify-enabled)
8079 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8080 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8081 (auto-revert-notify-handler): Handle also gfilenotify.
8082
8083 * subr.el (file-notify-handle-event): New defun. Replacing ...
8084 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8085 Remove.
8086
8087 2013-06-03 Juri Linkov <juri@jurta.org>
8088
8089 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8090 `M-s h .'. (Bug#14427)
8091
8092 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8093 command `hi-lock-face-symbol-at-point'.
8094 (hi-lock-face-symbol-at-point): New command.
8095 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8096 (hi-lock-menu): Add `highlight-symbol-at-point'.
8097 (hi-lock-mode): Doc fix.
8098
8099 * isearch.el (isearch-forward-symbol-at-point): New command.
8100 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8101 (isearch-highlight-regexp): Add a regexp which matches
8102 words/symbols for word/symbol mode.
8103
8104 * subr.el (find-tag-default-bounds): New function with the body
8105 mostly moved from `find-tag-default'.
8106 (find-tag-default): Move most code to `find-tag-default-bounds',
8107 call it and apply `buffer-substring-no-properties' afterwards.
8108
8109 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8110
8111 * eshell/em-term.el (eshell-term-initialize):
8112 Use `cl-intersection' rather than `intersection'.
8113
8114 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8115
8116 * vc/log-view.el: Doc fix.
8117 (log-view-mode-map): Copy keymap from `special-mode-map'.
8118
8119 2013-06-02 Eric Ludlam <zappo@gnu.org>
8120
8121 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8122 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8123 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8124 (eieio-unbound, eieio-default-superclass)
8125 (eieio--define-field-accessors, method-static, method-before)
8126 (method-primary, method-after, method-num-lists)
8127 (method-generic-before, method-generic-primary)
8128 (method-generic-after, method-num-slots)
8129 (eieio-specialized-key-to-generic-key)
8130 (eieio--check-type, class-v, class-p)
8131 (eieio-class-name, define-obsolete-function-alias)
8132 (eieio-class-parents-fast, eieio-class-children-fast)
8133 (same-class-fast-p, class-constructor, generic-p)
8134 (generic-primary-only-p, generic-primary-only-one-p)
8135 (class-option-assoc, class-option, eieio-object-p)
8136 (class-abstract-p, class-method-invocation-order)
8137 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8138 (eieio-class-un-autoload, eieio-defclass)
8139 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8140 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8141 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8142 (eieio-defgeneric-reset-generic-form)
8143 (eieio-defgeneric-form-primary-only)
8144 (eieio-defgeneric-reset-generic-form-primary-only)
8145 (eieio-defgeneric-form-primary-only-one)
8146 (eieio-defgeneric-reset-generic-form-primary-only-one)
8147 (eieio-unbind-method-implementations)
8148 (eieio--defmethod, eieio--typep)
8149 (eieio-perform-slot-validation, eieio-validate-slot-value)
8150 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8151 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8152 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8153 (eieio-slot-name-index, eieio-class-slot-name-index)
8154 (eieio-set-defaults, eieio-initarg-to-attribute)
8155 (eieio-attribute-to-initarg, eieio-c3-candidate)
8156 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8157 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8158 (eieio-class-precedence-list, eieio-generic-call-methodname)
8159 (eieio-generic-call-arglst, eieio-generic-call-key)
8160 (eieio-generic-call-next-method-list)
8161 (eieio-pre-method-execution-functions, eieio-generic-call)
8162 (eieio-generic-call-primary-only, eieiomt-method-list)
8163 (eieiomt-optimizing-obarray, eieiomt-install)
8164 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8165 (eieio-generic-form, eieio-defmethod, make-obsolete)
8166 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8167 (defclass): Remove `eval-and-compile' from macro.
8168 (call-next-method, shared-initialize): Instead of using
8169 `scoped-class' variable, use new eieio--scoped-class, and
8170 eieio--with-scoped-class.
8171 (initialize-instance): Rename local variable 'scoped-class' to
8172 'this-class' to remove ambiguitity from old global.
8173
8174 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8175 eieio.el.
8176 (eieio--scoped-class-stack): New variable.
8177 (eieio--scoped-class): New fcn.
8178 (eieio--with-scoped-class): New scoping macro.
8179 (eieio-defclass): Use pushnew instead of add-to-list.
8180 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8181 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8182 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8183 `scoped-class' variable, use new eieio--scoped-class, and
8184 eieio--with-scoped-class.
8185
8186 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8187
8188 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8189
8190 * eshell/esh-ext.el (eshell-external-command): Pass args to
8191 `eshell-find-interpreter'.
8192 (eshell-find-interpreter): Add new second parameter ARGS.
8193
8194 * eshell/em-script.el (eshell-script-initialize): Add second arg
8195 to the function added as MATCH to `eshell-interpreter-alist'.
8196
8197 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8198 the function added as MATCH to `eshell-interpreter-alist'.
8199
8200 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8201 (eshell-visual-options): New defcustom.
8202 (eshell-escape-control-x): Adapt docstring.
8203 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8204 `eshell-visual-options' in addition to `eshell-visual-commands'.
8205 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8206
8207 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8208
8209 * progmodes/python.el (python-indent-block-enders): Add break,
8210 continue and raise keywords.
8211
8212 2013-06-01 Glenn Morris <rgm@gnu.org>
8213
8214 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8215
8216 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8217 * progmodes/cc-cmds.el (delete-forward-p):
8218 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8219 * progmodes/cc-engine.el (buffer-syntactic-context):
8220 * progmodes/cc-fonts.el (face-property-instance):
8221 * progmodes/cc-mode.el (set-keymap-parents):
8222 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8223 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8224 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8225 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8226 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8227
8228 * progmodes/cc-vars.el (other): Emacs has this widget since
8229 at least 21.1, so don't (re)define it.
8230
8231 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8232 Replace the obsolete alias pcomplete-arg-quote-list.
8233
8234 2013-06-01 Leo Liu <sdl.web@gmail.com>
8235
8236 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8237 punctuation syntax.
8238 (inferior-octave-minimal-columns)
8239 (inferior-octave-last-column-width): New variables.
8240 (inferior-octave-track-window-width-change): New function.
8241 (inferior-octave-mode): Adjust column width so that Octave output,
8242 for example from 'ls', can fit into the window nicely.
8243
8244 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8245
8246 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8247 Highlight expansions inside regexp literals.
8248
8249 2013-05-31 Glenn Morris <rgm@gnu.org>
8250
8251 * obsolete/sym-comp.el (symbol-complete):
8252 Replace obsolete completion-annotate-function.
8253
8254 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8255
8256 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8257
8258 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8259 New function, checks if point is inside a literal that allows
8260 expression expansion.
8261 (ruby-syntax-propertize-expansion): Use it.
8262 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8263 around the body.
8264
8265 2013-05-30 Juri Linkov <juri@jurta.org>
8266
8267 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8268 to "\M-si".
8269 (isearch-invisible): New variable.
8270 (isearch-forward): Doc fix.
8271 (isearch-mode): Set `isearch-invisible'
8272 to the value of `search-invisible'.
8273 (isearch-toggle-case-fold): Doc fix.
8274 (isearch-toggle-invisible): New command.
8275 (isearch-query-replace): Let-bind `search-invisible'
8276 to the value of `isearch-invisible'.
8277 (isearch-search): Use `isearch-invisible' instead of
8278 `search-invisible'. Let-bind `search-invisible'
8279 to the value of `isearch-invisible'. (Bug#11378)
8280
8281 2013-05-30 Juri Linkov <juri@jurta.org>
8282
8283 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8284 call when `query-flag' is nil and `search-invisible' is non-nil.
8285 (Bug#11746)
8286
8287 2013-05-30 Glenn Morris <rgm@gnu.org>
8288
8289 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8290
8291 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8292 (cc-require): Suppress spurious "noruntime" warnings.
8293 (cc-require-when-compile): Use fboundp, for sake of compiler.
8294
8295 * progmodes/cc-mode.el: Move load of cc-vars before that of
8296 cc-langs (which in turn loads cc-vars), to quieten compiler.
8297
8298 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * paren.el: Simplify the code.
8301 (show-paren-mode): Always start the timer.
8302 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8303 (show-paren--overlay, show-paren--overlay-1): Rename from
8304 show-paren-overlay and show-paren-overlay-1, and initialize to an
8305 overlay rather than to nil.
8306 (show-paren-function): Misc cleanup and simplifications.
8307
8308 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * paren.el (show-paren-data-function): New hook.
8311 (show-paren--default): New function, extracted from show-paren-function.
8312 (show-paren-function): Use show-paren-data-function.
8313
8314 2013-05-30 Glenn Morris <rgm@gnu.org>
8315
8316 * ielm.el (ielm-map, ielm-complete-symbol):
8317 Use completion-at-point rather than obsolete functions.
8318 (inferior-emacs-lisp-mode): Doc fix.
8319 Set completion-at-point-functions, rather than
8320 comint-dynamic-complete-functions.
8321
8322 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8323 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8324 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8325
8326 * image.el (image-animated-p): Tweak definition.
8327
8328 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8329 (rlogin-process-connection-type): Tweak default. Add set-after.
8330 (rlogin-host): Doc fix.
8331 (rlogin): Tweak prompt.
8332 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8333
8334 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8335 * progmodes/tcl.el (inferior-tcl-mode-map):
8336 Use completion-at-point rather than obsolete alias.
8337
8338 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8339
8340 * minibuffer.el (read-file-name-completion-ignore-case):
8341 Move before completion--in-region, for eager macro expansion.
8342
8343 2013-05-29 Juri Linkov <juri@jurta.org>
8344
8345 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8346 for total count of matching lines. Add `global-matches' for total
8347 count of matches. Rename `matches' to `lines' for count of
8348 matching lines. Add `matches' for count of matches.
8349 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8350 to `prev-line' for line number of prev match endpt.
8351 Increment `matches' for every match. Print the number of
8352 matching lines in the header.
8353 (occur-context-lines): Rename `lines' to `curr-line'.
8354 Rename `prev-lines' to `prev-line'. (Bug#14017)
8355
8356 2013-05-29 Juri Linkov <juri@jurta.org>
8357
8358 * replace.el (perform-replace): Add `skip-read-only-count',
8359 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8360 Increment them for corresponding conditions and report the number
8361 of skipped occurrences in the final message. (Bug#11746)
8362 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8363 (replace-string, replace-regexp): Doc fix.
8364
8365 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8366
8367 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8368
8369 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8370 prog-mode-map (bug#14504).
8371
8372 2013-05-29 Leo Liu <sdl.web@gmail.com>
8373
8374 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8375 (octave-help): Small simplification.
8376
8377 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8378 off the highlight first.
8379
8380 2013-05-29 Glenn Morris <rgm@gnu.org>
8381
8382 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8383 Handle idlwave-last-system-routine-info-cons-cell being nil.
8384
8385 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8386 (idlwave-write-paths): Simplify via with-temp-buffer.
8387
8388 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8389 * emulation/cua-rect.el: Also load cua-base at run time.
8390
8391 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8392 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8393 (cperl-imenu-on-info): Require imenu.
8394
8395 2013-05-28 Alan Mackenzie <acm@muc.de>
8396
8397 Handle "capitalised keywords" correctly.
8398 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8399
8400 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8401
8402 * eshell/em-unix.el: Add -r option to cp.
8403
8404 2013-05-28 Glenn Morris <rgm@gnu.org>
8405
8406 * vc/vc-arch.el (vc-exec-after): Declare.
8407 (vc-switches): Autoload.
8408 * vc/vc-bzr.el: No need to require vc when compiling.
8409 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8410 (vc-resynch-buffer, vc-dir-refresh): Declare.
8411 (vc-setup-buffer, vc-switches): Autoload.
8412 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8413 (vc-resynch-buffer): Declare.
8414 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8415 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8416 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8417 (grep-read-regexp, grep-read-files, grep-expand-template)
8418 (vc-dir-refresh): Declare.
8419 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8420 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8421 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8422 * vc/vc-mtn.el (vc-exec-after): Declare.
8423 (vc-switches): Autoload.
8424 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8425 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8426 (vc-file-tree-walk): Declare.
8427 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8428 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8429 (vc-tag-precondition, vc-rename-master): Autoload.
8430 * vc/vc-svn.el (vc-exec-after): Declare.
8431 (vc-switches, vc-setup-buffer): Autoload.
8432 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8433 Autoload.
8434 (vc-resynch-buffer): Declare.
8435
8436 * obsolete/fast-lock.el (byte-compile-warnings):
8437 Don't warn about obsolete features in this obsolete file.
8438
8439 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8440 Move definition before use.
8441
8442 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8443 (dun-unix-verbs): Remove dun-zippy.
8444 (dun-zippy): Remove function.
8445
8446 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8447
8448 2013-05-27 Juri Linkov <juri@jurta.org>
8449
8450 * replace.el (replace-search): New function with code moved out
8451 from `perform-replace'.
8452 (replace-highlight, replace-dehighlight): Move function definitions
8453 up closer to `replace-search'. (Bug#11746)
8454
8455 2013-05-27 Juri Linkov <juri@jurta.org>
8456
8457 * replace.el (perform-replace): Ignore invisible matches.
8458 In addition to checking `query-replace-skip-read-only', also
8459 filter out matches by calling `run-hook-with-args-until-failure'
8460 on `isearch-filter-predicates', and also check `search-invisible'
8461 for t or call `isearch-range-invisible'.
8462 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8463
8464 2013-05-27 Juri Linkov <juri@jurta.org>
8465
8466 * isearch.el (isearch-filter-predicates): Rename from
8467 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8468 (isearch-message-prefix): Display text from the property
8469 `isearch-message-prefix' of the currently active filters.
8470 (isearch-search): Don't compare `isearch-filter-predicate' with
8471 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8472 on `isearch-filter-predicates'. Also check `search-invisible' for t
8473 or call `isearch-range-invisible'.
8474 (isearch-filter-visible): Make obsolete.
8475 (isearch-lazy-highlight-search):
8476 Call `run-hook-with-args-until-failure' on
8477 `isearch-filter-predicates' and use `isearch-range-invisible'.
8478
8479 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8480 `isearch-filter-predicates' instead of `funcall'ing
8481 `isearch-filter-predicate'.
8482 (Info-mode): Set `Info-isearch-filter' to
8483 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8484
8485 * dired-aux.el (dired-isearch-filter-predicate-orig):
8486 Remove variable.
8487 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8488 (dired-isearch-filenames-end): Add and remove
8489 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8490 instead of changing the value of `isearch-filter-predicate'.
8491 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8492 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8493 Put property `isearch-message-prefix' to "filename " on
8494 `dired-isearch-filter-filenames'.
8495
8496 * wdired.el (wdired-change-to-wdired-mode):
8497 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8498 locally instead of changing `isearch-filter-predicate'.
8499 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8500
8501 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8502
8503 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8504 return the commit hash (Bug#14459). Also set the
8505 `vc-git-detached' property.
8506 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8507 (vc-git-mode-line-string): Use the same help-echo format whether
8508 in detached mode or not, because we know the actual revision now.
8509 When in detached mode, shorten the revision to 7 chars.
8510
8511 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * emacs-lisp/easy-mmode.el (define-minor-mode):
8514 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8515 mode hook and provide a docstring.
8516
8517 2013-05-27 Alan Mackenzie <acm@muc.de>
8518
8519 Remove spurious syntax-table text properties inserted by C-y.
8520 * progmodes/cc-mode.el (c-after-change): Also clear hard
8521 syntax-table property with value nil.
8522
8523 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8524
8525 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8526 when reading the events; the buffer layout shall not be changed.
8527
8528 2013-05-27 Leo Liu <sdl.web@gmail.com>
8529
8530 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8531 New variable.
8532 (inferior-octave-directory-tracker): Automatically re-sync
8533 default-directory.
8534 (octave-help): Improve handling of 'See also'.
8535
8536 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * doc-view.el: Minor naming convention tweaks.
8539 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8540
8541 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8542 even if there's no `display' property yet (bug#14435).
8543
8544 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8545
8546 * subr.el (unmsys--file-name): Rename from reveal-filename.
8547
8548 * Makefile.in (custom-deps, finder-data, autoloads)
8549 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8550 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8551 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8552
8553 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8556 error-completion on the first 2 args of condition-case (bug#14446).
8557 Don't burp at EOB.
8558
8559 2013-05-25 Leo Liu <sdl.web@gmail.com>
8560
8561 * comint.el (comint-previous-matching-input): Do not flood the
8562 *Messages* buffer with trivial messages.
8563
8564 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * progmodes/flymake.el (flymake-nop): Don't return a string.
8567 (flymake-set-at): Fix typo.
8568
8569 * simple.el (read--expression): New function, extracted from
8570 eval-expression. Set completion-at-point-functions (bug#14465).
8571 (eval-expression, eval-minibuffer): Use it.
8572
8573 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8574
8575 * progmodes/flymake.el (flymake-save-buffer-in-file)
8576 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8577 (flymake-selected-frame, flymake-log, flymake-ins-after)
8578 (flymake-set-at, flymake-get-buildfile-from-cache)
8579 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8580 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8581 Refine the doc string.
8582 (flymake-get-file-name-mode-and-masks): Reformat.
8583 (flymake-get-real-file-name-function): Fix a minor bug.
8584
8585 2013-05-24 Juri Linkov <juri@jurta.org>
8586
8587 * progmodes/grep.el (grep-mode-font-lock-keywords):
8588 Support =linenumber= format used by git-grep for lines with
8589 function names. (Bug#13549)
8590
8591 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8594 0 after a semi-colon; it works better for smie-auto-fill.
8595 (octave--indent-new-comment-line): New function.
8596 (octave-indent-new-comment-line): Use it (indirectly).
8597 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8598 modify comment-line-break-function.
8599
8600 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8601 (smie-setup): Use add-function to set it.
8602
8603 2013-05-24 Sam Steingold <sds@gnu.org>
8604
8605 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8606 argument (before the `interactive' argument).
8607
8608 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * image-mode.el (image-mode-winprops): Add winprops to
8611 image-mode-winprops-alist before running
8612 image-mode-new-window-functions.
8613 * doc-view.el (doc-view-new-window-function): Don't delay
8614 doc-view-goto-page via timers (bug#14435).
8615
8616 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8617
8618 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8619 (doc-view-desktop-save-buffer): New function.
8620 (doc-view-restore-desktop-buffer): New function.
8621 (desktop-buffer-mode-handlers):
8622 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8623 handler.
8624 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8625 `desktop-save-buffer' function.
8626
8627 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8628
8629 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8630 (tramp-gvfs-file-name-handler): Raise a user error when
8631 `tramp-gvfs-enabled' is nil.
8632 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8633 Do not raise a user error when loading package. (Bug#14447)
8634
8635 * net/xesam.el: Move to obsolete/.
8636
8637 2013-05-24 Glenn Morris <rgm@gnu.org>
8638
8639 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8640
8641 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8642
8643 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8644 (Info-find-node, Man-getpage-in-background): Declare.
8645
8646 * mail/unrmail.el (unrmail):
8647 Replace obsolete detect-coding-with-priority.
8648
8649 * net/socks.el (socks-split-string): Use this rather than split-string.
8650 (socks-nslookup-host): Update for above change.
8651 (dynamic-choice, s5-dynamic-choice-match)
8652 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8653 Comment out unused code.
8654
8655 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8656 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8657 (gud-tooltip-echo-area): Make obsolete.
8658 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8659
8660 * progmodes/js.el (js--optimize-arglist): Declare.
8661
8662 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8663
8664 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8665 (ediff-window-C): Declare.
8666
8667 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8668 Tweak requires to silence compiler.
8669
8670 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8671 (he-search-string, he-tried-table, he-expand-list)
8672 (he-init-string, he-string-member, he-substitute-string)
8673 (he-reset-string): Declare.
8674
8675 * obsolete/options.el (list-options): Use custom-variable-p,
8676 rather than obsolete alias.
8677
8678 2013-05-23 Sam Steingold <sds@gnu.org>
8679
8680 * simple.el (shell-command-on-region): Pass the `replace' argument
8681 down to `call-process-region' to comply with the doc as reported on
8682 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8683
8684 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * emacs-lisp/smie.el (smie-indent-forward-token)
8687 (smie-indent-backward-token): Handle string tokens (bug#14381).
8688
8689 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8690
8691 * ielm.el (ielm-menu): New menu.
8692 (inferior-emacs-lisp-mode): Set comment-start.
8693
8694 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8695
8696 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8697 Fix deactivate action.
8698
8699 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8700 Add cleveref macros.
8701
8702 * lisp/textmodes/reftex-parse.el
8703 (reftex-locate-bibliography-files): Accept options for
8704 bibliography commands.
8705 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8706 Add addbibresource. Basic Biblatex support.
8707
8708 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8709
8710 * net/tramp-gvfs.el (top):
8711 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8712 when loading package. (Bug#14447)
8713
8714 2013-05-23 Glenn Morris <rgm@gnu.org>
8715
8716 * progmodes/js.el: No need to load comint when compiling.
8717 (ring-insert, comint-send-string, comint-send-input)
8718 (comint-last-input-end, ido-chop): Declare.
8719
8720 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8721 * vc/ediff-mult.el: Adjust requires.
8722 (ediff-directories-internal, ediff-directory-revisions-internal)
8723 (ediff-patch-file-internal): Declare.
8724 * vc/ediff-ptch.el: Adjust requires.
8725 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8726 (ediff-find-file): Autoload.
8727 * vc/ediff-util.el: No need to load ediff when compiling.
8728 (ediff-regions-internal): Declare.
8729 * vc/ediff-wind.el: Adjust requires.
8730 (ediff-compute-toolbar-width): Define when compiling.
8731 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8732 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8733 (dired-get-filename, dired-get-marked-files)
8734 (ediff-last-dir-patch, ediff-patch-default-directory)
8735 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8736 (ediff-patch-buffer-internal): Declare.
8737
8738 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8739 (ispell-process, ispell-buffer-local-words, lm-summary)
8740 (lm-section-start, lm-section-end): Declare.
8741 (checkdoc-ispell-init): Simplify.
8742
8743 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8744 (he-string-member, he-reset-string, he-substitute-string): Declare.
8745
8746 * eshell/em-ls.el: Adjust requires.
8747 (eshell-glob-regexp): Declare.
8748 * eshell/em-tramp.el: Adjust requires.
8749 (eshell-parse-command): Autoload.
8750 * eshell/em-xtra.el: Adjust requires.
8751 (eshell-parse-command): Autoload.
8752 * eshell/esh-ext.el: Adjust requires.
8753 (eshell-parse-command, eshell-close-handles): Autoload.
8754 * eshell/esh-io.el: Adjust requires.
8755 (eshell-output-filter): Autoload.
8756 * eshell/esh-util.el: No need to load tramp when compiling.
8757 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8758 Declare.
8759 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8760 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8761 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8762 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8763 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8764 * eshell/esh-opt.el, eshell/esh-proc.el:
8765 * eshell/esh-var.el: Adjust requires.
8766 * eshell/eshell.el: Do not require esh-util twice.
8767 (eshell-add-input-to-history): Declare.
8768 (eshell-command): Check history module is active before using it.
8769
8770 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8771
8772 2013-05-22 Leo Liu <sdl.web@gmail.com>
8773
8774 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8775
8776 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8777
8778 * autorevert.el (auto-revert-notify-add-watch)
8779 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8780 it indicates changes in file modification time.
8781
8782 2013-05-22 Glenn Morris <rgm@gnu.org>
8783
8784 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8785 Always delete the autoloaded function from the noruntime and
8786 unresolved functions lists.
8787
8788 * allout.el: No need to load epa, epg, overlay when compiling.
8789 (epg-context-set-passphrase-callback, epg-list-keys)
8790 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8791 (epg-key-user-id-list): Declare.
8792
8793 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8794 (viper-set-parsing-style-toggling-macro)
8795 (viper-set-emacs-state-searchstyle-macros):
8796 Use called-interactively-p on Emacs.
8797 (viper-looking-back): Make it an obsolete alias. Update callers.
8798 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8799 Use looking-back rather than viper-looking-back.
8800 (viper-tmp-insert-at-eob, viper-enlarge-region)
8801 (viper-read-string-with-history, viper-register-to-point)
8802 (viper-append-to-register, viper-change-state-to-vi)
8803 (viper-backward-char-carefully, viper-forward-char-carefully)
8804 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8805 (viper-change-state-to-emacs): Declare.
8806 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8807 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8808 * emulation/viper-mous.el: Do not load viper-cmd.
8809 (viper-backward-char-carefully, viper-forward-char-carefully)
8810 (viper-forward-word, viper-adjust-window): Declare.
8811
8812 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8813
8814 * progmodes/idlw-help.el (idlwave-help-fontify):
8815 Use called-interactively-p.
8816
8817 * term/w32console.el (w32-get-console-codepage)
8818 (w32-get-console-output-codepage): Declare.
8819
8820 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8821 Remove unnecessary declarations.
8822 (dframe-message): Doc fix.
8823
8824 * info.el (dframe-select-attached-frame, dframe-current-frame):
8825 Declare.
8826
8827 * speedbar.el (speedbar-message): Make it an obsolete alias.
8828 Update all callers.
8829 (speedbar-with-attached-buffer)
8830 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8831 (speedbar-with-writable): Use backquote.
8832 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8833 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8834 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8835 rather than speedbar- aliases.
8836 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8837 (speedbar-make-specialized-keymap, speedbar-insert-button)
8838 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8839 (speedbar-do-function-pointer): Declare.
8840 (rmail-speedbar-button, rmail-speedbar-find-file)
8841 (rmail-speedbar-move-message):
8842 Use dframe-with-attached-buffer rather than speedbar- alias.
8843 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8844 (dframe-message, speedbar-make-specialized-keymap)
8845 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8846 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8847 (speedbar-insert-button, dframe-select-attached-frame)
8848 (dframe-maybee-jump-to-attached-frame)
8849 (speedbar-change-initial-expansion-list)
8850 (speedbar-previously-used-expansion-list-name): Declare.
8851 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8852 Use dframe-message, dframe-with-attached-buffer rather than
8853 speedbar- aliases.
8854 (gud-sentinel): Silence compiler.
8855 * progmodes/vhdl-mode.el (speedbar-refresh)
8856 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8857 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8858 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8859 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8860 (speedbar-file-lists, speedbar-make-tag-line)
8861 (speedbar-line-directory, speedbar-goto-this-file)
8862 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8863 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8864 (speedbar-make-button, speedbar-reset-scanners)
8865 (speedbar-files-item-info, speedbar-line-text)
8866 (speedbar-find-file-in-frame, speedbar-set-timer)
8867 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8868 (speedbar-with-writable): Do not (re)define it.
8869 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8870 rather than speedbar- alias.
8871
8872 2013-05-21 Leo Liu <sdl.web@gmail.com>
8873
8874 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8875 menu items.
8876 (octave-mode): Tweak fill-nobreak-predicate.
8877 (inferior-octave-startup): Check process to avoid infinite loop.
8878 (inferior-octave): Pop to buffer first to show abornmal process
8879 exit information.
8880
8881 2013-05-21 Glenn Morris <rgm@gnu.org>
8882
8883 * printing.el (pr-menu-bar): Define when compiling.
8884
8885 2013-05-21 Leo Liu <sdl.web@gmail.com>
8886
8887 * progmodes/octave.el (octave-auto-fill): Remove.
8888 (octave-indent-new-comment-line): Improve.
8889 (octave-mode): Use auto fill mode through
8890 comment-line-break-function and fill-nobreak-predicate.
8891 (octave-goto-function-definition): Support DEFUN_DLD.
8892 (octave-beginning-of-defun): Small tweak.
8893 (octave-help): Show parent directory.
8894
8895 2013-05-21 Glenn Morris <rgm@gnu.org>
8896
8897 * files.el (dired-unmark):
8898 * progmodes/gud.el (gdb-input): Update declarations.
8899
8900 * calculator.el (electric, ehelp): No need to load when compiling.
8901 (Electric-command-loop, electric-describe-mode): Declare.
8902
8903 * doc-view.el (doc-view-current-converter-processes): Move before use.
8904
8905 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8906 Move MODE-set-explicitly definition before use.
8907
8908 * international/mule-diag.el (mule-diag):
8909 Don't use obsolete window-system-version.
8910
8911 * mail/feedmail.el (smtpmail): No need to load when compiling.
8912 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8913
8914 * mail/mail-utils.el (rfc822): No need to load when compiling.
8915 (rfc822-addresses): Autoload it.
8916 (mail-strip-quoted-names): Trivial simplification.
8917
8918 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8919 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8920
8921 * net/snmp-mode.el (tempo): Don't duplicate requires.
8922
8923 * progmodes/prolog.el (info): No need to load when compiling.
8924 (comint): Require before shell requires it.
8925 (Info-goto-node): Autoload it.
8926 (Info-follow-nearest-node): Declare.
8927 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8928
8929 * textmodes/artist.el (picture-mode-exit): Declare.
8930
8931 * textmodes/reftex-parse.el (reftex-parse-from-file):
8932 Trivial rewrite so the compiler can parse it better.
8933
8934 2013-05-20 Leo Liu <sdl.web@gmail.com>
8935
8936 * progmodes/octave.el (octave-help-mode-map)
8937 (octave-help-mode-finish-hook): New variables.
8938 (octave-help-mode, octave-help-mode-finish): New functions.
8939 (octave-help): Use octave-help-mode.
8940
8941 2013-05-20 Glenn Morris <rgm@gnu.org>
8942
8943 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8944
8945 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8946
8947 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8948 start at point, so that expansion starting right after opening
8949 slash in a regexp is recognized.
8950 (ruby-syntax-before-regexp-re): New defvar, extracted from
8951 ruby-syntax-propertize-function. Since the value of this regexp
8952 is looked up at runtime now, we should be able to turn
8953 `ruby-syntax-methods-before-regexp' into a defcustom later.
8954 (ruby-syntax-propertize-function): Split regexp matching into two
8955 parts, for opening and closing slashes. That allows us to skip
8956 over string interpolations and support multiline regexps.
8957 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8958 for them, which calls `ruby-syntax-propertize-expansion'.
8959 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8960 call to `ruby-syntax-propertize-function'.
8961 (ruby-syntax-propertize-expansion): Extracted from
8962 `ruby-syntax-propertize-expansions'. Handles one expansion.
8963 (ruby-syntax-propertize-percent-literal): Leave point right after
8964 the percent symbol, so that the expression expansion rule can
8965 propertize the contents.
8966 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8967 heredoc openers.
8968 (ruby-syntax-propertize-expansions): Remove.
8969
8970 2013-05-18 Juri Linkov <juri@jurta.org>
8971
8972 * man.el (Man-default-man-entry): Remove `-' from the end
8973 of the default value. (Bug#14400)
8974
8975 2013-05-18 Glenn Morris <rgm@gnu.org>
8976
8977 * comint.el (comint-password-prompt-regexp):
8978 Allow "password for XXX" where XXX contains colons (eg https://...).
8979
8980 2013-05-18 Leo Liu <sdl.web@gmail.com>
8981
8982 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8983 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8984 (octave-source-directories): Don't check process.
8985 (octave-source-directories, octave-find-definition): Doc fix.
8986
8987 2013-05-18 Glenn Morris <rgm@gnu.org>
8988
8989 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8990 Remove backspace/delete bindings. (Bug#14392)
8991
8992 * cus-dep.el (custom-make-dependencies): Sort the output.
8993 (custom-versions-load-alist): Convert comment to doc.
8994
8995 2013-05-17 Leo Liu <sdl.web@gmail.com>
8996
8997 * newcomment.el (comment-search-backward): Stricter in finding
8998 comment start. (Bug#14303)
8999
9000 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9001 (octave-comment-start-skip): Properly anchored.
9002
9003 2013-05-17 Leo Liu <sdl.web@gmail.com>
9004
9005 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9006 Clean up when turned off. (Bug#14395)
9007 (smie--highlight-matching-block-overlay): No longer buffer-local.
9008 (smie-highlight-matching-block): Adjust.
9009
9010 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9011
9012 Doc string fix for "nanoseconds" (Bug#14406).
9013 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9014 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9015
9016 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9017
9018 * calc/calc-units.el (math-extract-units): Preserve powers
9019 of units.
9020
9021 2013-05-17 Leo Liu <sdl.web@gmail.com>
9022
9023 * subr.el (delete-consecutive-dups): New function.
9024 * ido.el (ido-set-matches-1): Use it.
9025 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9026 * ido.el (ido-remove-consecutive-dups): Remove.
9027
9028 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9031 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9032 regexp-opt's `words'.
9033
9034 2013-05-16 Leo Liu <sdl.web@gmail.com>
9035
9036 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9037 (smie--highlight-matching-block-overlay)
9038 (smie--highlight-matching-block-lastpos)
9039 (smie--highlight-matching-block-timer): New variables.
9040 (smie-highlight-matching-block): New function.
9041 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9042 (smie-setup): Conditionally enable smie-blink-matching-open.
9043
9044 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9045
9046 Sync with upstream verilog-mode r840.
9047 * progmodes/verilog-mode.el (verilog-mode-version)
9048 (verilog-mode-release-date): Update.
9049 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9050 (verilog-sig-tieoff): Fix string error on
9051 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9052 (verilog-read-decls): Fix parameters confusing
9053 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9054
9055 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9056
9057 * subr.el (reveal-filename): New function.
9058
9059 * loadup.el: Compute Emacs executable versions on MS-Windows,
9060 where executables have the .exe extension. Add a hard link
9061 emacs-XX.YY.ZZ.exe on MS-Windows.
9062
9063 * Makefile.in (XARGS_LIMIT): New variable.
9064 (custom-deps, finder-data, autoloads)
9065 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9066 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9067 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9068 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9069
9070 2013-05-16 Leo Liu <sdl.web@gmail.com>
9071
9072 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9073 (octave-mode-menu, octave-mode-map): Remove its uses.
9074
9075 2013-05-16 Reto Zimmermann <reto@gnu.org>
9076
9077 Sync with upstream vhdl mode v3.34.2.
9078 * progmodes/vhdl-mode.el: Use `push' throughout.
9079 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9080 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9081 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9082 (vhdl-actual-generic-name): New option to derive actual generic name.
9083 (vhdl-port-paste-signals): Replace formal by actual generics.
9084 (vhdl-beautify): New name for old group vhdl-align. Update users.
9085 (vhdl-beautify-options): New option.
9086 (vhdl-last-input-event): New compat alias. Use throughout.
9087 (vhdl-goto-line): Replace user level function `goto-line'.
9088 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9089 vhdl-fix-statement-buffer.
9090 (vhdl-create-mode-menu): Add some entries.
9091 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9092 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9093 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9094 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9095 to force statements on one line.
9096 (vhdl-remove-trailing-spaces-region):
9097 New, split from vhdl-remove-trailing-spaces.
9098 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9099 Respect vhdl-beautify-options.
9100 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9101 (vhdl-update-sensitivity-list): Not add with index if exists without.
9102 Not include array index with signal. Ignore keywords in comments.
9103 (vhdl-get-visible-signals): Regexp tweaks.
9104 (vhdl-template-component-inst): Handle empty library.
9105 (vhdl-template-type): Add template for 'enum' type.
9106 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9107 Use vhdl-replace-string.
9108 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9109 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9110 (vhdl-speedbar-initialize): Update for above name change.
9111 (vhdl-compose-wire-components): Fix in handling of constants.
9112 (vhdl-error-regexp-emacs-alist): New variable.
9113 (vhdl-error-regexp-add-emacs): New function;
9114 adds support for new compile.el (Emacs 22+)
9115 (vhdl-generate-makefile-1): Change target order for single lib. units.
9116 Allow use of absolute file names.
9117
9118 2013-05-16 Leo Liu <sdl.web@gmail.com>
9119
9120 * simple.el (prog-indent-sexp): Indent enclosing defun.
9121
9122 2013-05-15 Glenn Morris <rgm@gnu.org>
9123
9124 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9125 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9126 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9127 (whitespace-highlight): Move to whitespace group.
9128
9129 * comint.el (comint-source):
9130 * pcmpl-linux.el (pcmpl-linux):
9131 * shell.el (shell-faces):
9132 * eshell/esh-opt.el (eshell-opt):
9133 * international/ccl.el (ccl): Remove empty custom groups.
9134
9135 * completion.el (dynamic-completion-mode):
9136 * jit-lock.el (jit-lock-debug-mode):
9137 * minibuffer.el (completion-in-region-mode):
9138 * type-break.el (type-break-mode-line-message-mode)
9139 (type-break-query-mode):
9140 * emulation/tpu-edt.el (tpu-edt-mode):
9141 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9142 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9143 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9144
9145 * term/xterm.el (xterm): Change parent group to terminals.
9146
9147 * master.el (master): Remove empty custom group.
9148 (master-mode): Remove unused :group argument.
9149 * textmodes/refill.el (refill): Remove empty custom group.
9150 (refill-mode): Remove unused :group argument.
9151
9152 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9153
9154 * cus-dep.el: Provide a feature.
9155 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9156 Don't mistakenly ignore files whose basenames match a basename
9157 from preloaded-file-list (eg cedet/ede/simple.el).
9158 Add a fallback method for getting :group.
9159
9160 2013-05-15 Juri Linkov <juri@jurta.org>
9161
9162 * isearch.el (isearch-char-by-name): Rename from
9163 `isearch-insert-char-by-name'. Doc fix.
9164 (isearch-forward): Mention `isearch-char-by-name' in
9165 the docstring. (Bug#13348)
9166
9167 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9168 `exit-minibuffer' instead of
9169 `isearch-nonincremental-exit-minibuffer'.
9170 (isearch-edit-string): Remove mention of
9171 `isearch-nonincremental-exit-minibuffer' from docstring.
9172 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9173 (isearch-forward-exit-minibuffer)
9174 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9175
9176 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9177
9178 * loadup.el: Just use unversioned DOC.
9179
9180 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9181 literals as extending to EOB.
9182 (nxml-last-fontify-end): Remove unused variable.
9183 (nxml-after-change1): Use with-silent-modifications.
9184 (nxml-extend-after-change-region): Simplify.
9185 (nxml-extend-after-change-region1): Remove function.
9186 (nxml-after-change1): Don't adjust for dependent regions.
9187 (nxml-fontify-matcher): Simplify.
9188 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9189 (xmltok-add-dependent): Remove function.
9190 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9191 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9192 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9193 unclosed <[[, <?, comment, and other literals as extending to EOB.
9194 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9195 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9196 Remove functions.
9197 (rng-do-some-validation-1): Don't mark dependent regions.
9198 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9199 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9200 (nxml-clear-dependent-regions): Remove functions.
9201 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9202 (nxml-ensure-scan-up-to-date):
9203 Don't clear&mark dependent regions.
9204
9205 2013-05-15 Leo Liu <sdl.web@gmail.com>
9206
9207 * progmodes/octave.el (octave-goto-function-definition):
9208 Improve and fix callers.
9209
9210 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9213 the setter (bug#14387).
9214
9215 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9216 surrounding group (bug#14402).
9217
9218 2013-05-14 Juri Linkov <juri@jurta.org>
9219
9220 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9221 (Bug#14390)
9222
9223 2013-05-14 Glenn Morris <rgm@gnu.org>
9224
9225 * progmodes/f90.el (f90-imenu-generic-expression):
9226 Fix typo in 2013-05-08 change. (Bug#14402)
9227
9228 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9229
9230 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9231 Remove signals for which replies are never received.
9232
9233 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9234
9235 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9236 (gdb-handler-alist, gdb-handler-number): Remove variables.
9237 (gdb-handler-list): New variable.
9238 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9239 (gdb-pending-handler-p, gdb-handle-reply)
9240 (gdb-remove-all-pending-triggers): New functions.
9241 (gdb-discard-unordered-replies): New defcustom.
9242 (gdb-handler): New defstruct.
9243 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9244 instead of gdb-pending-triggers. Update docstring.
9245 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9246 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9247 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9248 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9249 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9250 (gdb-frame-handler): Pending triggers are now automatically managed.
9251 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9252 Remove argument.
9253 (gdb-input): Automatically handles pending triggers. Update docstring.
9254 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9255 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9256 Update comments.
9257 (gdb-done-or-error): Now use gdb-handle-reply.
9258
9259 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9260
9261 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9262 gdb-debug-log.
9263
9264 2013-05-14 Glenn Morris <rgm@gnu.org>
9265
9266 * subr.el (user-emacs-directory-warning): New option.
9267 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9268
9269 2013-05-14 Leo Liu <sdl.web@gmail.com>
9270
9271 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9272 during redisplay.
9273 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9274 (octave-font-lock-texinfo-comment): Fix invalid search bound
9275 error: wrong side of point.
9276
9277 2013-05-14 Glenn Morris <rgm@gnu.org>
9278
9279 * progmodes/flymake.el (flymake-xml-program): New option.
9280 (flymake-xml-init): Use it.
9281
9282 * term/xterm.el: Provide a feature.
9283
9284 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9285
9286 2013-05-13 Glenn Morris <rgm@gnu.org>
9287
9288 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9289 Add compat aliases as a hack workaround. (Bug#14384)
9290
9291 2013-05-13 Leo Liu <sdl.web@gmail.com>
9292
9293 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9294 ###, and %!.
9295 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9296 C-M-q.
9297 (octave-comment-start-skip): Include %!.
9298 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9299
9300 2013-05-12 Leo Liu <sdl.web@gmail.com>
9301
9302 * progmodes/octave.el (inferior-octave-startup): Store the value
9303 of __octave_srcdir__ for octave-source-directories.
9304 (inferior-octave-check-process): New function refactored out of
9305 inferior-octave-send-list-and-digest.
9306 (octave-source-directories)
9307 (octave-find-definition-filename-function): New variables.
9308 (octave-source-directories)
9309 (octave-find-definition-default-filename): New functions.
9310 (octave-find-definition): Improve to find functions implemented in C++.
9311
9312 2013-05-12 Glenn Morris <rgm@gnu.org>
9313
9314 * calendar/diary-lib.el (diary-outlook-format-1):
9315 Don't include dayname in the output. (Bug#14349)
9316
9317 2013-05-11 Glenn Morris <rgm@gnu.org>
9318
9319 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9320
9321 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9322 Treat cc-provide like provide.
9323
9324 2013-05-11 Kevin Ryde <user42@zip.com.au>
9325
9326 * cus-dep.el (custom-make-dependencies):
9327 Use generated-autoload-load-name for the sake of files such
9328 such cedet/semantic/bovine/c.el, where the base file name
9329 is not in load-path. (Bug#5277)
9330
9331 2013-05-11 Glenn Morris <rgm@gnu.org>
9332
9333 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9334 Provide features.
9335
9336 2013-05-11 Leo Liu <sdl.web@gmail.com>
9337
9338 * progmodes/octave.el (octave-indent-comment): Improve.
9339 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9340 (octave-eldoc-function-signatures, octave-eldoc-function):
9341 New functions.
9342 (octave-mode, inferior-octave-mode): Add eldoc support.
9343
9344 2013-05-11 Richard Stallman <rms@gnu.org>
9345
9346 * epa.el (epa-decrypt-file): Take output file name as argument
9347 and read it using `interactive'.
9348
9349 2013-05-11 Leo Liu <sdl.web@gmail.com>
9350
9351 * progmodes/octave.el (octave-beginning-of-line)
9352 (octave-end-of-line): Check before using up-list because it jumps
9353 out of more syntactic contructs since moving to smie.
9354 (octave-indent-comment): New function.
9355 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9356 (octave-begin-keywords, octave-end-keywords)
9357 (octave-reserved-words, octave-smie-bnf-table)
9358 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9359
9360 2013-05-11 Glenn Morris <rgm@gnu.org>
9361
9362 * faces.el (internal-face-x-get-resource):
9363 * frame.el (ns-display-monitor-attributes-list):
9364 * calc/calc-aent.el (math-to-radians-2):
9365 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9366 Fix declarations.
9367
9368 * calc/calc-menu.el: Make it loadable in isolation.
9369
9370 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9371 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9372 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9373 (eudc-bbdb-query-internal): Require 'bbdb.
9374
9375 * lpr.el (lpr-headers-switches):
9376 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9377
9378 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9379
9380 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9381
9382 * term.el (term-set-escape-char): Make it idempotent.
9383
9384 2013-05-10 Leo Liu <sdl.web@gmail.com>
9385
9386 * progmodes/octave.el (inferior-octave-completion-table):
9387 No longer a function and all uses changed. Use cache to speed up
9388 completion due to bug#11906.
9389 (octave-beginning-of-defun): Re-write to be more general.
9390
9391 2013-05-10 Glenn Morris <rgm@gnu.org>
9392
9393 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9394
9395 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * comint.el (comint-redirect-send-command-to-process): Use :around
9398 rather than :override for comint-redirect-filter.
9399 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9400 Call it instead of comint-redirect-original-filter-function (which
9401 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9402
9403 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9404
9405 * frame.el (display-monitor-attributes-list): Add NS case.
9406 (ns-display-monitor-attributes-list): Declare.
9407
9408 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9409
9410 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9411
9412 2013-05-09 Glenn Morris <rgm@gnu.org>
9413
9414 * international/fontset.el (vertical-centering-font-regexp):
9415 Set standard-value.
9416
9417 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9418
9419 * bookmark.el (bookmark-search-delay):
9420 * cus-start.el (vertical-centering-font-regexp):
9421 * ps-mule.el (ps-mule-font-info-database-default):
9422 * ps-print.el (ps-default-fg, ps-default-bg):
9423 * type-break.el (type-break-good-break-interval):
9424 * whitespace.el (whitespace-indentation-regexp)
9425 (whitespace-space-after-tab-regexp):
9426 * emacs-lisp/testcover.el (testcover-1value-functions)
9427 (testcover-noreturn-functions, testcover-progn-functions)
9428 (testcover-prog1-functions):
9429 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9430 * eshell/em-glob.el (eshell-glob-translate-alist):
9431 * play/tetris.el (tetris-tty-colors):
9432 * progmodes/cpp.el (cpp-face-default-list):
9433 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9434 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9435 (idlwave-help-browser-generic-args):
9436 * progmodes/make-mode.el (makefile-special-targets-list):
9437 * progmodes/python.el (python-shell-virtualenv-path):
9438 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9439 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9440 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9441 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9442 * textmodes/reftex-vars.el (reftex-format-label-function):
9443 * textmodes/remember.el (remember-diary-file): Fix custom types.
9444
9445 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9446 Add :version.
9447
9448 2013-05-09 Leo Liu <sdl.web@gmail.com>
9449
9450 * progmodes/octave.el (inferior-octave-completion-at-point):
9451 Restore file completion. (Bug#14300)
9452 (inferior-octave-startup): Fix incorrect highlighting for the
9453 first prompt.
9454
9455 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * progmodes/ruby-mode.el: First cut at SMIE support.
9458 (ruby-use-smie): New var.
9459 (ruby-smie-grammar): New constant.
9460 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9461 (ruby-smie--forward-token, ruby-smie--backward-token)
9462 (ruby-smie-rules): New functions.
9463 (ruby-mode-variables): Setup SMIE if applicable.
9464
9465 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9466
9467 * simple.el (line-move-visual): Signal beginning/end of buffer
9468 only if vertical-motion moved less than it was requested. Avoids
9469 silly incorrect error messages when there are display strings with
9470 multiple newlines at EOL.
9471
9472 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9475 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9476 (prolog-char-quote-workaround):
9477 * progmodes/cperl-mode.el (cperl-under-as-char):
9478 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9479 Mark as obsolete.
9480 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9481 their declaration.
9482 (vhdl-mode-syntax-table-init): Remove.
9483
9484 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9485 last change.
9486
9487 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9488 syntax for "_".
9489 (ld-script-font-lock-keywords):
9490 Change regexps to use things like \_< and \_>.
9491
9492 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9493 Change all regexps to use things like \_< and \_>.
9494
9495 * progmodes/autoconf.el (autoconf-definition-regexp)
9496 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9497 Handle a _ with symbol syntax.
9498 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9499
9500 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9501 Consolidate declaration.
9502 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9503 the declaration.
9504 (ada-create-syntax-table): Remove.
9505 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9506 already has the right syntax nowadays.
9507 (ada-goto-next-word): Don't change the syntax of "_".
9508
9509 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9510 with-wrapper-hook.
9511
9512 2013-05-08 Sam Steingold <sds@gnu.org>
9513
9514 * thingatpt.el (thing-at-point): Accept optional second argument
9515 NO-PROPERTIES to strip the text properties from the return value.
9516 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9517 to `thing-at-point' instead of stripping the properties ourselves.
9518 Also, when `thing-at-point' fails to find a url, prepend "http://"
9519 to the filename at point on the assumption that the user is
9520 pointing at something like gnu.org/gnu.
9521
9522 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9523
9524 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9525 * faces.el (crm-separator):
9526 Silence byte-compiler.
9527
9528 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9529 (tool-bar-map): Remove unneeded defvars.
9530
9531 2013-05-08 Leo Liu <sdl.web@gmail.com>
9532
9533 Re-work a fix for bug#10994 based on Le Wang's patch.
9534 * ido.el (ido-remove-consecutive-dups): New helper.
9535 (ido-completing-read): Use it.
9536 (ido-chop): Revert fix for bug#10994.
9537
9538 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9539
9540 * cus-edit.el (custom-save-variables):
9541 Pretty-print long values. (Bug#14187)
9542
9543 2013-05-08 Glenn Morris <rgm@gnu.org>
9544
9545 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9546 (m4-mode-syntax-table): Init in the defvar.
9547 (m4-mode-abbrev-table): Let define-derived-mode define it.
9548
9549 2013-05-08 Tom Tromey <tromey@redhat.com>
9550
9551 * progmodes/m4-mode.el (m4-mode-syntax-table):
9552 Do not treat "_" as word constituent. (Bug#14167)
9553
9554 2013-05-07 Glenn Morris <rgm@gnu.org>
9555
9556 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9557 Remove explicit eshell-isearch-cancel-map.
9558
9559 * progmodes/f90.el (f90-smart-end-names): New option.
9560 (f90-smart-end): Doc fix.
9561 (f90-end-block-optional-name): New constant.
9562 (f90-block-match): Respect f90-smart-end-names.
9563
9564 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9567 about implicit semi-colons (bug#14218).
9568
9569 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9570
9571 * frame.el (display-monitor-attributes-list)
9572 (frame-monitor-attributes): New functions.
9573
9574 2013-05-06 Leo Liu <sdl.web@gmail.com>
9575
9576 * progmodes/octave.el (octave-syntax-propertize-function): Change
9577 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9578 (octave-font-lock-keywords): Use octave-operator-regexp.
9579 (octave-completion-at-point): Rename from
9580 octave-completion-at-point-function.
9581 (inferior-octave-directory-tracker): Robustify.
9582 (octave-text-functions): Remove and fix its uses. No such things
9583 any more.
9584
9585 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9586
9587 * emacs-lisp/trace.el (trace--display-buffer): New function.
9588 (trace-make-advice): Use it.
9589
9590 2013-05-06 Juri Linkov <juri@jurta.org>
9591
9592 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9593 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9594 Doc fix.
9595 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9596 in the help string. (Bug#12985)
9597
9598 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9599
9600 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9601
9602 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9603
9604 * progmodes/perl-mode.el: Add support for here documents.
9605 (perl-syntax-propertize-function): Match here-doc markers.
9606 (perl-syntax-propertize-special-constructs): Find their end.
9607 (perl-imenu-generic-expression): Use [:alnum:].
9608
9609 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9610 (advice--add-function): Refresh the advice if already present
9611 (bug#14317).
9612
9613 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9614
9615 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9616
9617 2013-05-06 Glenn Morris <rgm@gnu.org>
9618
9619 * w32-fns.el (w32-charset-info-alist): Declare.
9620
9621 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9622 of its defcustom properties.
9623 (eshell-cmpl-initialize): No need to load pcomplete.
9624
9625 * generic-x.el: No need to require comint when compiling.
9626
9627 * net/eudc-export.el: Make it loadable without bbdb.
9628 (top-level): Use require rather than load-library.
9629 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9630 (eudc-batch-export-records-to-bbdb)
9631 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9632 Require bbdb.
9633
9634 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9635
9636 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9637 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9638 some tweaks, instead.
9639
9640 2013-05-05 Leo Liu <sdl.web@gmail.com>
9641
9642 * progmodes/octave.el (octave-font-lock-keywords)
9643 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9644 (inferior-octave-send-list-and-digest): Improve error message.
9645 (octave-mode, inferior-octave-mode): Use setq-local.
9646 (octave-help): Set info-lookup-mode.
9647
9648 2013-05-05 Richard Stallman <rms@gnu.org>
9649
9650 * vc/compare-w.el (compare-windows-whitespace):
9651 Treat no-break space as whitespace.
9652
9653 * mail/rmailsum.el (rmail-summary-rmail-update):
9654 Detect empty summary and don't change selected message.
9655 (rmail-summary-goto-msg): Likewise.
9656
9657 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9658 Doc fixes, rename args.
9659
9660 2013-05-05 Alan Mackenzie <acm@muc.de>
9661
9662 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9663
9664 2013-05-05 Juri Linkov <juri@jurta.org>
9665
9666 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9667 to not add the length of the summary segment to the return value.
9668 (Bug#14125)
9669
9670 2013-05-05 Leo Liu <sdl.web@gmail.com>
9671
9672 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9673 (inferior-octave-output-filter): Remove.
9674 (octave-send-region, inferior-octave-startup): Fix callers.
9675 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9676 (octave-binary-file-extensions): New user variable.
9677 (octave-find-definition): Confirm if opening binary files.
9678 (octave-help-file): Use octave-find-definition to get the binary
9679 confirmation.
9680 (octave-help): Adjust for octave-help-file change.
9681
9682 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9685 Merge the two entries that handle function definitions.
9686 (pascal--syntax-propertize): New const.
9687 (pascal-mode): Use it. Use setq-local.
9688
9689 2013-05-04 Glenn Morris <rgm@gnu.org>
9690
9691 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9692 (diary-from-outlook): Respect diary-from-outlook-function.
9693
9694 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9697 Move the declaration from C.
9698 (read-minibuffer, eval-minibuffer): Move from C.
9699 (completion-setup-function): Avoid minibuffer-completion-contents.
9700
9701 2013-05-03 Leo Liu <sdl.web@gmail.com>
9702
9703 * progmodes/octave.el (octave-font-lock-keywords): Do not
9704 dehighlight 'end' in comments or strings.
9705 (octave-completing-read, octave-goto-function-definition):
9706 New helpers.
9707 (octave-help-buffer): New user variable.
9708 (octave-help-file, octave-help-function): New button types.
9709 (octave-help): New command and bind it to C-h ;.
9710 (octave-find-definition): New command and bind it to M-.
9711 (user-error): Alias to error if not defined.
9712
9713 2013-05-02 Leo Liu <sdl.web@gmail.com>
9714
9715 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9716 for \. (bug#14332)
9717 (octave-font-lock-keywords): Include [ and {.
9718
9719 2013-05-02 Leo Liu <sdl.web@gmail.com>
9720
9721 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9722 (inferior-octave): Remove calling comint-mode and return the buffer.
9723 (inferior-octave-startup): Cosmetic changes.
9724
9725 2013-05-02 Leo Liu <sdl.web@gmail.com>
9726
9727 * progmodes/octave.el (octave-syntax-propertize-function):
9728 Include the case when ' is at line beginning. (Bug#14336)
9729
9730 2013-05-02 Glenn Morris <rgm@gnu.org>
9731
9732 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9733 * desktop.el (vc-dir-mode): Just autoload it here.
9734
9735 2013-05-02 Alan Mackenzie <acm@muc.de>
9736
9737 Eliminate variable c-standard-font-lock-fontify-region-function.
9738 * progmodes/cc-mode.el
9739 (c-standard-font-lock-fontify-region-function): Remove.
9740 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9741
9742 2013-05-01 Leo Liu <sdl.web@gmail.com>
9743
9744 * progmodes/octave.el: Compatible with older emacs-24 releases.
9745 (inferior-octave-has-built-in-variables): Remove. Built-in
9746 variables were removed from Octave in 2007.
9747 (inferior-octave-startup): Fix uses.
9748 (comint-line-beginning-position): Remove compatibility code for
9749 emacs 21.
9750
9751 2013-05-01 Juri Linkov <juri@jurta.org>
9752
9753 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9754
9755 2013-05-01 Juri Linkov <juri@jurta.org>
9756
9757 * comint.el (comint-previous-matching-input): Don't print message
9758 "History item: %d" when `isearch-mode' is active.
9759 (comint-history-isearch-message): Print message "History item: %d"
9760 when `comint-input-ring-index' is not empty and this function is
9761 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9762
9763 2013-05-01 Leo Liu <sdl.web@gmail.com>
9764
9765 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9766 definitions. Use completion-at-point to insert keywords.
9767 (octave-abbrev-start): Remove.
9768 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9769
9770 2013-04-30 Leo Liu <sdl.web@gmail.com>
9771
9772 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9773 change.
9774
9775 2013-04-30 Alan Mackenzie <acm@muc.de>
9776
9777 Handle arbitrarily long C++ member initialisation lists.
9778 * progmodes/cc-engine.el (c-back-over-member-initializers):
9779 new function.
9780 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9781 (most) member init lists.
9782
9783 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9784
9785 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9786 variable.
9787
9788 2013-04-30 Leo Liu <sdl.web@gmail.com>
9789
9790 * progmodes/octave.el (octave-variables): Remove. No builtin
9791 variables any more. All converted to functions.
9792 (octave-font-lock-keywords, octave-completion-at-point-function):
9793 Fix uses.
9794 (octave-font-lock-texinfo-comment): New user variable.
9795 (octave-texinfo-font-lock-keywords): New variable for texinfo
9796 comment block.
9797 (octave-function-comment-block): New face.
9798 (octave-font-lock-texinfo-comment): New function.
9799 (octave-mode): Font lock texinfo comment block.
9800
9801 2013-04-29 Leo Liu <sdl.web@gmail.com>
9802
9803 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9804 indexing expression.
9805 (octave-continuation-string): Do not use \.
9806 (inferior-octave-complete-impossible): Remove.
9807 (inferior-octave-completion-table)
9808 (inferior-octave-completion-at-point): Remove its uses.
9809 (inferior-octave-startup): completion_matches was introduced to
9810 Octave in 1996 so safe to assume it.
9811 (octave-function-file-comment): Improve to follow how Octave does it.
9812 (octave-update-function-file-comment): Tweak.
9813
9814 2013-04-29 Leo Liu <sdl.web@gmail.com>
9815
9816 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9817 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9818 (octave-function-file-comment): Fix typo.
9819 (octave-sync-function-file-names): Use read-char-choice.
9820
9821 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9822
9823 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9824 to t for the less important warnings.
9825
9826 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9827
9828 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9829
9830 2013-04-27 Glenn Morris <rgm@gnu.org>
9831
9832 * vc/log-view.el (log-view-current-entry):
9833 Treat "---" separator lines as part of the following rev. (Bug#14169)
9834
9835 2013-04-27 Juri Linkov <juri@jurta.org>
9836
9837 * subr.el (read-number): Doc fix about using it by interactive
9838 code letter `n'. (Bug#14254)
9839
9840 2013-04-27 Juri Linkov <juri@jurta.org>
9841
9842 * desktop.el (desktop-auto-save-timeout): New option.
9843 (desktop-file-checksum): New variable.
9844 (desktop-save): Add optional arg `auto-save' and don't auto-save
9845 if nothing changed.
9846 (desktop-auto-save-timer): New variable.
9847 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9848 (after-init-hook): Call `desktop-auto-save-set-timer'.
9849 Suggested by Reuben Thomas <rrt@sc3d.org> in
9850 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9851
9852 2013-04-27 Leo Liu <sdl.web@gmail.com>
9853
9854 * progmodes/octave.el (octave-function-file-p)
9855 (octave-skip-comment-forward, octave-function-file-comment)
9856 (octave-update-function-file-comment): New functions.
9857 (octave-mode-map): Bind C-c ; to
9858 octave-update-function-file-comment.
9859 (octave-mode-menu): Add octave-update-function-file-comment.
9860 (octave-mode, inferior-octave-mode): Fix doc-string.
9861 (octave-insert-defun): Conform to Octave's coding convention.
9862 (Bug#14285)
9863
9864 * files.el (basic-save-buffer): Don't let errors in
9865 before-save-hook prevent saving buffer.
9866
9867 2013-04-20 Roland Winkler <winkler@gnu.org>
9868
9869 * faces.el (read-face-name): Use completing-read if arg multiple
9870 is nil.
9871
9872 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9873
9874 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9875 displayed, move point to after the totals line.
9876 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9877 for the details.
9878
9879 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9882 Add current dir to the load-path.
9883 (package-generate-autoloads): Don't rely on
9884 autoload-ensure-default-file.
9885
9886 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9887
9888 * textmodes/remember.el (remember-store-in-files): Document that
9889 the file name format is passed to `format-time-string'.
9890
9891 2013-04-26 Leo Liu <sdl.web@gmail.com>
9892
9893 * progmodes/octave.el (octave-sync-function-file-names): New function.
9894 (octave-mode): Use it in before-save-hook.
9895
9896 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9899 (bug#14274).
9900
9901 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9902 \n and comment, even if it's not an implicit ; (bug#14218).
9903
9904 2013-04-26 Glenn Morris <rgm@gnu.org>
9905
9906 * subr.el (read-number): Once more use `read' rather than
9907 `string-to-number', to trap non-numeric input. (Bug#14254)
9908
9909 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9910
9911 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9912 Use `syntax-multiline' text property consistently instead of
9913 `font-lock-multiline'. (Bug#14237)
9914
9915 2013-04-26 Glenn Morris <rgm@gnu.org>
9916
9917 * emacs-lisp/shadow.el (list-load-path-shadows):
9918 No longer necessary to check for duplicate simple.el, since
9919 2012-07-07 change to init_lread to not include installation lisp
9920 directories in load-path when running uninstalled. (Bug#14270)
9921
9922 2013-04-26 Leo Liu <sdl.web@gmail.com>
9923
9924 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9925 (octave-mode, inferior-octave-mode): Use setq-local.
9926 (octave-not-in-string-or-comment-p): Rename to
9927 octave-in-string-or-comment-p.
9928 (octave-in-comment-p, octave-in-string-p)
9929 (octave-in-string-or-comment-p): Replace defsubst with defun.
9930
9931 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9932
9933 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9934
9935 2013-04-25 Bastien Guerry <bzg@gnu.org>
9936
9937 * textmodes/remember.el (remember-data-directory)
9938 (remember-directory-file-name-format): Fix custom types.
9939
9940 2013-04-25 Leo Liu <sdl.web@gmail.com>
9941
9942 * progmodes/octave.el (octave-completion-at-point-function):
9943 Make use of inferior octave process.
9944 (octave-initialize-completions): Remove.
9945 (inferior-octave-completion-table): New function.
9946 (inferior-octave-completion-at-point): Use it.
9947 (octave-completion-alist): Remove.
9948
9949 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9952 (opascal-mode-syntax-table): New var.
9953 (opascal-literal-kind, opascal-is-literal-end)
9954 (opascal-literal-token-at): Rewrite.
9955 (opascal--literal-start-re, opascal-font-lock-keywords)
9956 (opascal--syntax-propertize): New constants.
9957 (opascal-font-lock-defaults): Adjust.
9958 (opascal-mode): Use them. Set comment-<foo> variables as well.
9959 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9960 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9961 (delphi-other-face, opascal-other-face): Remove face variables.
9962 (opascal-save-state): Remove macro.
9963 (opascal-fontifying-progress-step): Remove constant.
9964 (opascal--ignore-changes): Remove var.
9965 (opascal-set-token-property, opascal-parse-next-literal)
9966 (opascal-is-stable-literal, opascal-complete-literal)
9967 (opascal-is-literal-start, opascal-face-of)
9968 (opascal-parse-region, opascal-parse-region-until-stable)
9969 (opascal-fontify-region, opascal-after-change)
9970 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9971 (opascal-debug-parse-region, opascal-debug-parse-window)
9972 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9973 (opascal-debug-fontify-buffer): Remove.
9974 (opascal-debug-mode-map): Adjust accordingly.
9975
9976 2013-04-25 Leo Liu <sdl.web@gmail.com>
9977
9978 Merge octave-mod.el and octave-inf.el into octave.el with some
9979 cleanups.
9980 * progmodes/octave.el: New file renamed from octave-mod.el.
9981 * progmodes/octave-inf.el: Merged into octave.el.
9982 * progmodes/octave-mod.el: Renamed to octave.el.
9983
9984 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9985
9986 * textmodes/reftex-vars.el
9987 (reftex-label-ignored-macros-and-environments): New defcustom.
9988
9989 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9990
9991 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9994 (smie-indent-keyword): Improve the check to ensure that the next
9995 comment is really on the same line.
9996 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9997
9998 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9999 semi-colons if the line is not otherwise empty (bug#14218).
10000
10001 2013-04-25 Glenn Morris <rgm@gnu.org>
10002
10003 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10004
10005 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10006
10007 * progmodes/opascal.el (opascal-set-token-property): Rename from
10008 opascal-set-text-properties and only set `token' (bug#14134).
10009 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10010 (opascal-literal-text-properties): Remove.
10011 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10012 Adjust callers.
10013
10014 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10015
10016 * textmodes/remember.el (remember-handler-functions): Add an
10017 option for a new handler `remember-store-in-files'.
10018 (remember-data-directory, remember-directory-file-name-format):
10019 New options.
10020 (remember-store-in-files): New function to store remember notes
10021 as separate files within a directory.
10022
10023 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10024
10025 * progmodes/compile.el (compilation-next-error-function):
10026 Pass "formats" to compilation-find-file (bug#11777).
10027
10028 2013-04-24 Glenn Morris <rgm@gnu.org>
10029
10030 * vc/vc-bzr.el (vc-bzr-print-log):
10031 * vc/vc-hg.el (vc-hg-print-log):
10032 * vc/vc-svn.el (vc-svn-print-log):
10033 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10034
10035 * vc/vc-bzr.el (vc-bzr-print-log):
10036 * vc/vc-cvs.el (vc-cvs-print-log):
10037 * vc/vc-git.el (vc-git-print-log):
10038 * vc/vc-hg.el (vc-hg-print-log):
10039 * vc/vc-mtn.el (vc-mtn-print-log):
10040 * vc/vc-rcs.el (vc-rcs-print-log):
10041 * vc/vc-sccs.el (vc-sccs-print-log):
10042 * vc/vc-svn.el (vc-svn-print-log):
10043 * vc/vc.el (vc-print-log-internal): Doc fixes.
10044
10045 2013-04-23 Glenn Morris <rgm@gnu.org>
10046
10047 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10048 Remove venerable code attempting to avoid substitute-command-keys.
10049
10050 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10051
10052 * textmodes/reftex-vars.el (reftex-label-regexps):
10053 Call `reftex-compile-variables' after changes to this variable.
10054
10055 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10058 Use lexical-binding.
10059 (jit-lock-force-redisplay): Use markers, check buffer's continued
10060 existence and beware narrowed buffers.
10061 (jit-lock-fontify-now): Adjust call accordingly.
10062
10063 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10066 to avoid misleading the user.
10067
10068 2013-04-22 Leo Liu <sdl.web@gmail.com>
10069
10070 * info-look.el: Prefer latex2e.info. (Bug#14240)
10071
10072 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10073
10074 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10075
10076 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10077 * net/tramp.el (tramp-call-process): ... here.
10078 (tramp-set-completion-function, tramp-parse-putty):
10079 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10080 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10081 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10082 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10083 (tramp-call-local-coding-command): Use `tramp-call-process'
10084 instead of `tramp-compat-call-process'.
10085
10086 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10087 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10088 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10089 (tramp-find-inline-compress): Improve traces.
10090 (tramp-maybe-send-script): Check for Perl binary.
10091 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10092
10093 2013-04-22 Daiki Ueno <ueno@gnu.org>
10094
10095 * epg.el (epg-context-pinentry-mode): New function.
10096 (epg-context-set-pinentry-mode): New function.
10097 (epg--start): Pass --pinentry-mode option to gpg command.
10098
10099 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10100
10101 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10102 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10103 `completion-at-point'. (Bug#13774)
10104
10105 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10106 default key binding for `describe-distribution' has been moved to
10107 `C-h C-o'. (Bug#13970)
10108
10109 2013-04-21 Glenn Morris <rgm@gnu.org>
10110
10111 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10112 Add doc strings.
10113 (vc-print-log): Clarify interactive prompt.
10114
10115 2013-04-20 Glenn Morris <rgm@gnu.org>
10116
10117 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10118 No longer include timestamp etc information.
10119
10120 2013-04-20 Roland Winkler <winkler@gnu.org>
10121
10122 * faces.el (read-face-name): Bug fix, return just one face if arg
10123 multiple is nil. (Bug#14209)
10124
10125 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10128 (remove-function): Autoload.
10129
10130 * comint.el (comint-redirect-original-filter-function): Remove.
10131 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10132 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10133 (vc-cvs-annotate-command):
10134 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10135 * progmodes/prolog.el (prolog-consult-compile):
10136 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10137 Use add/remove-function instead.
10138 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10139 (gud-tooltip-process-output, gud-tooltip-tips):
10140 Use add/remove-function instead.
10141 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10142 (scheme-interaction-mode, exit-scheme-interaction-mode):
10143 Use add/remove-function instead.
10144
10145 * vc/vc-dispatcher.el: Use lexical-binding.
10146 (vc--process-sentinel): Rename from vc-process-sentinel.
10147 Change last arg to be the code to run. Don't use vc-previous-sentinel
10148 and vc-sentinel-commands any more.
10149 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10150 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10151
10152 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10153
10154 * progmodes/sh-script.el (sh-imenu-generic-expression):
10155 Handle function names with a single character. (Bug#14111)
10156
10157 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10158
10159 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10160 for subroutines defined in an eval (bug#14182).
10161
10162 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10163
10164 * bookmark.el (bookmark-completing-read): Improve handling of empty
10165 string (bug#14176).
10166
10167 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10168
10169 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10170
10171 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10172
10173 New faster Imenu implementation (bug#14058).
10174 * progmodes/python.el:
10175 (python-imenu-prev-index-position):
10176 (python-imenu-format-item-label-function)
10177 (python-imenu-format-parent-item-label-function)
10178 (python-imenu-format-parent-item-jump-label-function):
10179 New vars.
10180 (python-imenu-format-item-label)
10181 (python-imenu-format-parent-item-label)
10182 (python-imenu-format-parent-item-jump-label)
10183 (python-imenu--put-parent, python-imenu--build-tree)
10184 (python-imenu-create-index, python-imenu-create-flat-index)
10185 (python-util-popn): New functions.
10186 (python-mode): Set imenu-create-index-function to
10187 python-imenu-create-index.
10188
10189 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 * winner.el (winner-active-region): Use region-active-p, activate-mark
10192 and deactivate-mark (bug#14225).
10193
10194 * simple.el (deactivate-mark): Don't inline it.
10195
10196 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10197
10198 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10199
10200 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10201
10202 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10203 file extensions from the archive-mode entry in order to prefer
10204 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10205
10206 2013-04-18 Leo Liu <sdl.web@gmail.com>
10207
10208 * bindings.el (help-event-list): Add ?\?.
10209
10210 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10211
10212 * subr.el (with-wrapper-hook): Declare obsolete.
10213 * simple.el (filter-buffer-substring-function): New hook.
10214 (filter-buffer-substring): Use it.
10215 (filter-buffer-substring-functions): Mark obsolete.
10216 * minibuffer.el (completion-in-region-function): New hook.
10217 (completion-in-region): Use it.
10218 (completion-in-region-functions): Mark obsolete.
10219 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10220 * abbrev.el (abbrev-expand-function): New hook.
10221 (expand-abbrev): Use it.
10222 (abbrev-expand-functions): Mark obsolete.
10223 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10224 and :filter-return.
10225
10226 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10227
10228 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10229 and do not care about match data.
10230
10231 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10232
10233 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10234 completion tables when completing error conditions and
10235 `declare' arguments.
10236 (lisp-complete-symbol, field-complete): Mark as obsolete.
10237 (check-parens): Unmatched parens are user errors.
10238 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10239
10240 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10241
10242 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10243 command changed buffer (ie. `flyspell-pre-buffer' is not current
10244 buffer), which prevents making decisions based on invalid value of
10245 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10246 cause an error when `flyspell-pre-point' was nil after switching
10247 buffers.
10248 (flyspell-post-command-hook): No longer needs to change buffers when
10249 checking pre-word. While at it remove unnecessary progn.
10250
10251 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10252
10253 * textmodes/ispell.el (ispell-add-per-file-word-list):
10254 Fix `flyspell-correct-word-before-point' error when accepting
10255 words and `coment-padding' is an integer by using
10256 `comment-normalize-vars' (Bug #14214).
10257
10258 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10259
10260 New defun movement commands.
10261 * progmodes/python.el (python-nav--syntactically)
10262 (python-nav--forward-defun, python-nav-backward-defun)
10263 (python-nav-forward-defun): New functions.
10264
10265 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10266
10267 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10268 (python-syntax-context): Use named compiler-macro for backwards
10269 compatibility with Emacs 24.x.
10270
10271 2013-04-17 Leo Liu <sdl.web@gmail.com>
10272
10273 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10274 octave-hide-process-buffer.
10275
10276 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10277
10278 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10279 (bug#14216).
10280
10281 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10282
10283 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10284 Fix adjustment of offset when receiving incomplete responses from GDB
10285 (bug#14129).
10286
10287 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10290 python-mode-abbrev-table.
10291 (python-skeleton-define): Adjust accordingly.
10292 (python-mode-abbrev-table): New table that inherits from it so that
10293 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10294
10295 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10296 (abbrev-symbol): Use it.
10297 (abbrev--before-point): Use it since we already handle inheritance.
10298
10299 2013-04-16 Leo Liu <sdl.web@gmail.com>
10300
10301 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10302 binding to info-lookup-symbol.
10303
10304 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10305
10306 * minibuffer.el (completion--twq-all):
10307 * term/ns-win.el (ns-initialize-window-system):
10308 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10309
10310 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10311
10312 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10313 global bindings.
10314
10315 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10316
10317 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10318
10319 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10320 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10321 to nil.
10322 (ruby-end-of-defun): Remove the unused arg, change the docstring
10323 to reflect that this function is only used as the value of
10324 `end-of-defun-function'.
10325 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10326 to reflect an earlier change that beginning/end-of-defun functions
10327 jump between methods in a class definition, as well as top-level
10328 functions.
10329
10330 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10331
10332 * minibuffer.el (minibuffer-complete): Don't just scroll
10333 a *Completions* that's been iconified.
10334 (minibuffer-force-complete): Make sure repetitions do cycle when going
10335 through completion-in-region -> minibuffer-complete.
10336
10337 2013-04-15 Alan Mackenzie <acm@muc.de>
10338
10339 Correct the placement of c-cpp-delimiters when there're #s not at
10340 col 0.
10341
10342 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10343 place a submatch around the #.
10344 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10345 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10346 on the #, not BOL.
10347
10348 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10349
10350 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10351 (advice--member-p): New arg `name'.
10352 (advice--add-function, advice-member-p): Use it (bug#14202).
10353
10354 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10355
10356 Reformulate java imenu-generic-expression.
10357 The old expression contained ill formed regexps.
10358
10359 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10360 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10361 (cc-imenu-java-method-arg-regexp): New defconsts.
10362 (cc-imenu-java-build-type-args-regex): New defun.
10363 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10364 handling of spaces in the regexp.
10365
10366 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10367
10368 * textmodes/ispell.el (ispell-command-loop): Remove
10369 flyspell highlight of a word when ispell accepts it (bug #14178).
10370
10371 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10372
10373 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10374 uses code from the previous `ange-ftp-run-real-handler'.
10375 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10376 only in case that function exist. This is needed for proper
10377 unloading of Tramp.
10378
10379 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10380
10381 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10382
10383 * textmodes/reftex.el (reftex-compile-variables): Use it.
10384
10385 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10386
10387 * files.el (normal-mode): Only use default major-mode if no other mode
10388 was specified.
10389
10390 * emacs-lisp/trace.el (trace-values): New function.
10391
10392 * files.el: Allow : in local variables (bug#14089).
10393 (hack-local-variable-regexp): New var.
10394 (hack-local-variables-prop-line, hack-local-variables): Use it.
10395
10396 2013-04-13 Roland Winkler <winkler@gnu.org>
10397
10398 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10399 data before it gets modified by bibtex-beginning-of-entry.
10400
10401 2013-04-13 Roland Winkler <winkler@gnu.org>
10402
10403 * textmodes/bibtex.el (bibtex-url): Doc fix.
10404
10405 2013-04-13 Roland Winkler <winkler@gnu.org>
10406
10407 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10408 does not visit a BibTeX file, exclude it from the list of buffers
10409 returned by bibtex-initialize.
10410
10411 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10412
10413 * window.el (split-window): Remove interactive form, since as a
10414 command this function is a special case of split-window-below.
10415 Correct doc string.
10416
10417 2013-04-12 Roland Winkler <winkler@gnu.org>
10418
10419 * faces.el (read-face-name): Do not override value of arg default.
10420 Allow single faces and strings as default values. Remove those
10421 elements from return value that are not faces.
10422 (describe-face): Simplify.
10423 (face-at-point): New optional args thing and multiple so that this
10424 function can provide the same functionality previously provided by
10425 read-face-name.
10426 (make-face-bold, make-face-unbold, make-face-italic)
10427 (make-face-unitalic, make-face-bold-italic, invert-face)
10428 (modify-face, read-face-and-attribute): Use face-at-point.
10429
10430 * cus-edit.el (customize-face, customize-face-other-window)
10431 * cus-theme.el (custom-theme-add-face)
10432 * face-remap.el (buffer-face-set)
10433 * facemenu.el (facemenu-set-face): Use face-at-point.
10434
10435 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10436
10437 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10438
10439 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10440
10441 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10442 off leading { and trailing } from field values.
10443
10444 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10445
10446 * emacs-lisp/timer.el (timer--check): New function.
10447 (timer--time, timer-set-function, timer-event-handler): Use it.
10448 (timer-set-idle-time): Simplify.
10449 (timer--activate): CSE.
10450 (timer-event-handler): Give more info in error message.
10451 (internal-timer-start-idle): New function, moved from C.
10452
10453 * mpc.el (mpc-proc): Add `restart' argument.
10454 (mpc-proc-cmd): Use it.
10455 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10456 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10457 less often.
10458
10459 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10460
10461 * progmodes/sh-script.el: Implement `sh-mode' own
10462 `add-log-current-defun-function' (bug#14112).
10463 (sh-current-defun-name): New function.
10464 (sh-mode): Use the function.
10465
10466 2013-04-09 Bastien Guerry <bzg@gnu.org>
10467
10468 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10469
10470 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10473
10474 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10475 timer (bug#14156).
10476
10477 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10478
10479 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10480 declaration.
10481
10482 2013-04-07 Leo Liu <sdl.web@gmail.com>
10483
10484 * pcmpl-x.el: New file.
10485
10486 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10487
10488 Do not set x-display-name until X connection is established.
10489 This is needed to prevent from weird situation described at
10490 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10491 * frame.el (make-frame): Set x-display-name after call to
10492 window system initialization function, not before.
10493 * term/x-win.el (x-initialize-window-system): Add optional
10494 display argument and use it.
10495 * term/w32-win.el (w32-initialize-window-system):
10496 * term/ns-win.el (ns-initialize-window-system):
10497 * term/pc-win.el (msdos-initialize-window-system):
10498 Add compatible optional display argument.
10499
10500 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10501
10502 * files.el (normal-backup-enable-predicate): On MS-Windows and
10503 MS-DOS compare truenames of temporary-file-directory and of the
10504 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10505 don't fail comparison by compare-strings. Also, compare file
10506 names case-insensitively on MS-Windows and MS-DOS.
10507
10508 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10509
10510 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10511 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10512
10513 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10514
10515 * whitespace.el (whitespace-color-on, whitespace-color-off):
10516 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10517
10518 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10519
10520 * ispell.el (ispell-set-spellchecker-params):
10521 Really set `ispell-args' for all equivs.
10522
10523 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 * ido.el (ido-completions): Use extra elements of ido-decorations
10526 (bug#14143).
10527 (ido-decorations): Update docstring.
10528
10529 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10530
10531 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10532 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10533 nil during initialization, in order not to miss changes since the
10534 file was opened. (Bug#14140)
10535
10536 2013-04-05 Leo Liu <sdl.web@gmail.com>
10537
10538 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10539
10540 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10541
10542 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10543
10544 2013-04-04 Glenn Morris <rgm@gnu.org>
10545
10546 * electric.el (electric-pair-inhibit-predicate): Add :version.
10547
10548 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10551 when a package is required several times (bug#14082).
10552
10553 2013-04-04 Roland Winkler <winkler@gnu.org>
10554
10555 * faces.el (read-face-name): Behave as promised by the docstring.
10556 Assume that arg default is a list of faces.
10557 (describe-face): Call read-face-name with list of default faces.
10558
10559 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10560
10561 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10562 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10563 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10564 the header.
10565 (bookmark-exit-hook-internal): Save even if list is empty.
10566
10567 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10568
10569 * emacs-lisp/package.el (package-pinned-packages): New var.
10570 (package--add-to-archive-contents): Obey it (bug#14118).
10571
10572 2013-04-03 Alan Mackenzie <acm@muc.de>
10573
10574 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10575 Also adapt to the new values of element 7 of a parse state.
10576
10577 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10578 parameter `not-in-delimiter'. Handle being inside comment opener.
10579 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10580 character in case we're typing a '*' after a '/'.
10581 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10582 instead by passing the parameter to c-state-pp-to-literal.
10583
10584 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10585 for elt. 7 of a parse state.
10586
10587 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10588
10589 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10590 * international/latin1-disp.el, international/mule-util.el:
10591 * language/cyril-util.el, language/european.el, language/ind-util.el:
10592 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10593 * language/tibetan.el, language/viet-util.el:
10594 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10595
10596 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10599 (electric-pair-post-self-insert-function): Use it.
10600 (electric-pair-default-inhibit): New function, extracted from
10601 electric-pair-post-self-insert-function.
10602
10603 2013-03-31 Roland Winkler <winkler@gnu.org>
10604
10605 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10606
10607 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10608
10609 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10610
10611 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10612
10613 Un-indent after "pass" and "return" statements (Bug#13888)
10614 * progmodes/python.el (python-indent-block-enders): New var.
10615 (python-indent-calculate-indentation): Use it.
10616
10617 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10618
10619 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10620 defun. Defining it as defalias could introduce too eager
10621 byte-compiler optimization. (Bug#14030)
10622
10623 2013-03-30 Chong Yidong <cyd@gnu.org>
10624
10625 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10626
10627 2013-03-30 Leo Liu <sdl.web@gmail.com>
10628
10629 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10630 (kmacro-execute-from-register): Pass the keyboard macro to
10631 kmacro-call-macro or repeating won't work correctly.
10632
10633 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10634
10635 * progmodes/subword.el: Back to using `forward-symbol'.
10636
10637 * subr.el (forward-whitespace, forward-symbol)
10638 (forward-same-syntax): Move from thingatpt.el.
10639
10640 2013-03-29 Leo Liu <sdl.web@gmail.com>
10641
10642 * kmacro.el (kmacro-to-register): New command.
10643 (kmacro-execute-from-register): New function.
10644 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10645
10646 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * mpc.el: Use defvar-local and setq-local.
10649 (mpc--proc-connect): Connection failures are not bugs.
10650 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10651 (mpc-volume-map): Bind to the up-events.
10652
10653 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10654
10655 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10656 instead of `forward-symbol'.
10657
10658 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10659
10660 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10661 (edebug--recursive-edit): Use it.
10662 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10663 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10664
10665 2013-03-28 Leo Liu <sdl.web@gmail.com>
10666
10667 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10668
10669 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10670
10671 * facemenu.el (list-colors-callback): New defvar.
10672 (list-colors-redisplay): New function.
10673 (list-colors-display): Install list-colors-redisplay as the
10674 revert-buffer-function. (Bug#14063)
10675
10676 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10677
10678 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10679 and suffixes don't overlap (bug#14061).
10680
10681 * case-table.el: Use lexical-binding.
10682 (case-table-get-table): New function.
10683 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10684
10685 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10686
10687 * progmodes/subword.el: Add `superword-mode' to do word motion
10688 over symbol_words (parallels and leverages `subword-mode' which
10689 does word motion inside MixedCaseWords).
10690
10691 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10692
10693 * eshell/em-unix.el: Move su and sudo to...
10694 * eshell/em-tramp.el: ...Eshell tramp module.
10695
10696 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10697
10698 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10699 Change return value to be a sexp. Delay `get-buffer' to after
10700 restoring the desktop (bug#13951).
10701
10702 2013-03-26 Leo Liu <sdl.web@gmail.com>
10703
10704 * register.el: Move semantic tag handling back to
10705 cedet/semantic/senator.el. (Bug#14052)
10706
10707 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10710 into the prompt either (bug#13963).
10711
10712 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10713
10714 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10715 part of "(error-foo)".
10716
10717 2013-03-24 Juri Linkov <juri@jurta.org>
10718
10719 * replace.el (list-matching-lines-prefix-face): New defcustom.
10720 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10721 `occur-engine' if `face-differs-from-default-p' returns t.
10722 (occur-engine): Add `,' inside backquote construct to evaluate
10723 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10724 Pass `prefix-face' to the functions `occur-context-lines' and
10725 `occur-engine-add-prefix'.
10726 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10727 `prefix-face' and propertize the prefix with `prefix-face'.
10728 (Bug#14017)
10729
10730 2013-03-24 Leo Liu <sdl.web@gmail.com>
10731
10732 * nxml/rng-valid.el (rng-validate-while-idle)
10733 (rng-validate-quick-while-idle): Guard against deleted buffer.
10734 (Bug#13999)
10735
10736 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10737 is the last entry in kill-buffer-hook.
10738
10739 * files.el (kill-buffer-hook): Doc fix.
10740
10741 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10742
10743 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10744 Make it safe-local.
10745
10746 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10747
10748 2013-03-23 Leo Liu <sdl.web@gmail.com>
10749
10750 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10751 Remove.
10752
10753 * nxml/rng-valid.el (rng-validate-mode)
10754 (rng-after-change-function, rng-do-some-validation):
10755 * nxml/rng-maint.el (rng-validate-buffer):
10756 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10757 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10758 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10759 (nxml-extend-after-change-region): Use with-silent-modifications.
10760
10761 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10762 timer-idle-list.
10763
10764 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10765 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10766 timer-idle-list. (Bug#13999)
10767
10768 2013-03-23 Juri Linkov <juri@jurta.org>
10769
10770 * info.el (info-index-match): New face.
10771 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10772 main pattern and add text properties with the new face to matches
10773 in index entries relative to the beginning of the index entry.
10774 (Bug#14015)
10775
10776 2013-03-21 Eric Ludlam <zappo@gnu.org>
10777
10778 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10779 Inhibit read only while inserting objects.
10780
10781 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10782
10783 * progmodes/cfengine.el: Update docs to mention
10784 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10785 symbol motion. Remove "_" from the word syntax.
10786
10787 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10788
10789 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10790 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10791
10792 2013-03-20 Juri Linkov <juri@jurta.org>
10793
10794 * info.el (Info-next-reference-or-link)
10795 (Info-prev-reference-or-link): New functions.
10796 (Info-next-reference, Info-prev-reference): Use them.
10797 (Info-try-follow-nearest-node): Handle footnote navigation.
10798 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10799
10800 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10803 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10804
10805 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10806
10807 Suppress unnecessary non-ASCII chatter during build process.
10808 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10809 (batch-skkdic-convert): Suppress most of the chatter.
10810 It's not needed so much now that machines are faster,
10811 and its non-ASCII component was confusing; see Dmitry Gutov in
10812 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10813
10814 2013-03-20 Leo Liu <sdl.web@gmail.com>
10815
10816 * ido.el (ido-chop): Fix bug#10994.
10817
10818 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10819
10820 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10821 Remove vars.
10822 (whitespace-color-on, whitespace-color-off):
10823 Use `font-lock-fontify-buffer' (Bug#13817).
10824
10825 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10828 remapping in mode-line.
10829 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10830
10831 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10832
10833 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10834 value for `whitespace-line' face (Bug#13875).
10835 (whitespace-font-lock-keywords): Change description.
10836 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10837 the constructed keywords instead.
10838 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10839
10840 2013-03-19 Leo Liu <sdl.web@gmail.com>
10841
10842 * progmodes/compile.el (compilation-display-error): New command.
10843 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10844 C-o. (Bug#13992)
10845
10846 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10847
10848 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10849
10850 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10851
10852 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10853
10854 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10855
10856 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10857
10858 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10859 * net/tramp-gvfs.el (top):
10860 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10861 (tramp-handle-shell-command): Use it.
10862 (tramp-dissect-file-name): Raise an error when hostname is a
10863 method name, and neither method nor user is specified.
10864
10865 * net/trampver.el: Update release number.
10866
10867 2013-03-18 Leo Liu <sdl.web@gmail.com>
10868
10869 Make sure eldoc can be turned off properly.
10870 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10871 eldoc-mode.
10872 (eldoc-display-message-p): Revert last change.
10873 (eldoc-display-message-no-interference-p)
10874 (eldoc-print-current-symbol-info): Tweak.
10875
10876 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10877
10878 * doc-view.el (doc-view-new-window-function): Check the new window
10879 overlay's display property instead the char property of the
10880 buffer's first char. Use `with-selected-window' instead of
10881 `save-window-excursion' with `select-window'.
10882 (doc-view-document->bitmap): Check the current doc-view overlay's
10883 display property instead the char property of the buffer's first char.
10884
10885 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10886
10887 Automate the build of ja-dic.el (Bug#13984).
10888 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10889 from the input, rather than assume that it's been done for us by the
10890 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10891 the current date into a ja-dic.el comment, as that complicates
10892 regression testing.
10893
10894 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10895
10896 * whitespace.el: Fix double evaluation.
10897 (whitespace-space, whitespace-hspace, whitespace-tab)
10898 (whitespace-newline, whitespace-trailing, whitespace-line)
10899 (whitespace-space-before-tab, whitespace-indentation)
10900 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10901 obsolete defvars.
10902 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10903 (whitespace-color-on): Use a single font-lock-add-keywords call.
10904 Fix double-evaluation of face variables.
10905
10906 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10907
10908 * net/tramp-adb.el (tramp-adb-parse-device-names):
10909 Use `start-process' instead of `call-process'. Otherwise, the
10910 function might be blocked under MS Windows. (Bug#13299)
10911
10912 2013-03-17 Leo Liu <sdl.web@gmail.com>
10913
10914 Extend eldoc to display info in the mode-line. (Bug#13978)
10915 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10916 (eldoc-mode-line-string): New variable.
10917 (eldoc-minibuffer-message): New function.
10918 (eldoc-message-function): New variable.
10919 (eldoc-message): Use it.
10920 (eldoc-display-message-p)
10921 (eldoc-display-message-no-interference-p):
10922 Support eldoc-post-insert-mode.
10923
10924 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10925 (eval-expression): Run it.
10926
10927 2013-03-17 Roland Winkler <winkler@gnu.org>
10928
10929 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10930 strings in the list of return values.
10931
10932 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10933
10934 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10935 radix before checking for HMS forms.
10936
10937 2013-03-16 Leo Liu <sdl.web@gmail.com>
10938
10939 * progmodes/scheme.el: Add indentation and font-locking for λ.
10940 (Bug#13975)
10941
10942 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10943
10944 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10945 token before point (bug#13942).
10946
10947 2013-03-16 Leo Liu <sdl.web@gmail.com>
10948
10949 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10950
10951 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10952
10953 * startup.el (command-line-normalize-file-name): Fix handling of
10954 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10955 <xfq.free@gmail.com> in
10956 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10957
10958 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10959
10960 Sync with Tramp 2.2.7.
10961
10962 * net/trampver.el: Update release number.
10963
10964 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10965
10966 * doc-view.el: Fix bug#13887.
10967 (doc-view-insert-image): Don't modify overlay associated to
10968 non-live windows, and implement horizontal centering of image in
10969 case it's smaller than the window.
10970 (doc-view-new-window-function): Force redisplay of new windows on
10971 doc-view buffers.
10972
10973 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10974
10975 * saveplace.el (save-place-alist-to-file): Don't sort
10976 `save-place-alist', just pretty-print it (bug#13882).
10977
10978 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10979
10980 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10981 Check whether `default-file-name-coding-system' is bound.
10982 It isn't in XEmacs.
10983
10984 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10987 backquotes for `obsolete' (bug#13929).
10988
10989 * international/mule.el (find-auto-coding): Include file name in
10990 obsolescence warning (bug#13922).
10991
10992 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10993
10994 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10995 for CFEngine 3-specific indentation.
10996 (cfengine3-indent-line): Use it. Fix up category regex.
10997 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10998
10999 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11000
11001 * type-break.el (type-break-file-name):
11002 * textmodes/remember.el (remember-data-file):
11003 * strokes.el (strokes-file):
11004 * shadowfile.el (shadow-initialize):
11005 * saveplace.el (save-place-file):
11006 * ps-bdf.el (bdf-cache-file):
11007 * progmodes/idlwave.el (idlwave-config-directory):
11008 * net/quickurl.el (quickurl-url-file):
11009 * international/kkc.el (kkc-init-file-name):
11010 * ido.el (ido-save-directory-list-file):
11011 * emulation/viper.el (viper-custom-file-name):
11012 * emulation/vip.el (vip-startup-file):
11013 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11014 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11015
11016 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11017
11018 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11019 * language/thai-word.el: Switch to UTF-8.
11020
11021 See ChangeLog.16 for earlier changes.
11022
11023 ;; Local Variables:
11024 ;; coding: utf-8
11025 ;; End:
11026
11027 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11028
11029 This file is part of GNU Emacs.
11030
11031 GNU Emacs is free software: you can redistribute it and/or modify
11032 it under the terms of the GNU General Public License as published by
11033 the Free Software Foundation, either version 3 of the License, or
11034 (at your option) any later version.
11035
11036 GNU Emacs is distributed in the hope that it will be useful,
11037 but WITHOUT ANY WARRANTY; without even the implied warranty of
11038 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11039 GNU General Public License for more details.
11040
11041 You should have received a copy of the GNU General Public License
11042 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.