]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Cleanup cfengine3-mode so complete-symbol works again.
[gnu-emacs] / lisp / ChangeLog
1 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4 (cfengine3--current-function): Bring in the current-function
5 functionality from `cfengine3--current-word'.
6 (cfengine3-completion-function): Bring in the
7 bounds-of-current-word functionality from
8 `cfengine3--current-word'.
9
10 2013-12-16 Martin Rudalics <rudalics@gmx.at>
11
12 * window.el (display-buffer-below-selected): Bind
13 split-height-threshold to 0 as suggested by Juri Linkov.
14
15 2013-12-16 Leo Liu <sdl.web@gmail.com>
16
17 * progmodes/compile.el (compile-goto-error): Do not push-mark.
18 Remove NOMSG arg and all uses changed.
19
20 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
23 (cua--deactivate-rectangle): Don't deactivate the mark.
24 (cua-set-rectangle-mark): Don't set mark-active since
25 cua--activate-rectangle already does it for us.
26 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
27 non-rectangular region.
28
29 * emulation/cua-base.el (cua-repeat-replace-region):
30 Use with-current-buffer.
31
32 * net/gnutls.el: Use cl-lib.
33 (gnutls-negotiate): `mapcan' -> cl-mapcan.
34
35 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
36
37 * emacs-lisp/package.el (package-built-in-p): Support both
38 built-in and the package.el converted package descriptions.
39 (package-show-package-list): Allow keywords.
40 (package-keyword-button-action): Use it instead of
41 `finder-list-matches'.
42 (package-menu-filter-interactive): Interactive filtering (by
43 keyword) function.
44 (package-menu--generate): Support keywords and change keymappings
45 and headers when they are given.
46 (package--has-keyword-p): Helper function.
47 (package-menu--refresh): Use it.
48 (package--mapc): Helper function.
49 (package-all-keywords): Use it.
50 (package-menu-mode-map): Set up menu items and keybindings to
51 provide a filtering UI.
52
53 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
54
55 * net/gnutls.el (gnutls-verify-error): New defcustom to control
56 the behavior when a certificate fails validation. Defaults to
57 old behavior: never abort, just warn.
58 (gnutls-negotiate): Use it.
59
60 2013-12-14 Martin Rudalics <rudalics@gmx.at>
61
62 * window.el (display-buffer-below-selected): Never split window
63 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
64
65 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
66
67 * emacs-lisp/package.el (package--prepare-dependencies): New function.
68 (package-buffer-info): Use it (bug#15108).
69
70 * icomplete.el (icomplete-completions): Make sure the prefix is already
71 displayed elsewhere before hiding it.
72
73 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
74
75 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
76 open-paren tokens when preceded by a open-paren, too.
77 (ruby-smie-rules): Handle virtual indentation after open-paren
78 tokens specially. If there is code between it and eol, return the
79 column where is starts (Bug#16118).
80
81 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
82
83 * progmodes/cfengine.el: Fix `add-hook' doc.
84 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
85 (cfengine3--current-word): Fix parameters.
86 (cfengine3-make-syntax-cache): Simplify further.
87 (cfengine3-completion-function, cfengine3--current-function):
88 Use `assq' for symbols.
89 (cfengine3--current-function): Fix `cfengine3--current-word' call.
90
91 2013-12-13 Glenn Morris <rgm@gnu.org>
92
93 * loadup.el (load-path): Warn if site-load or site-init changes it.
94 No more need to reset it when bootstrapping.
95
96 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
97
98 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
99 locations for cf-promises.
100 (cfengine-mode-syntax-functions-regex): New caching variable.
101 (cfengine3-fallback-syntax): Fallback syntax for cases where
102 cf-promises doesn't run.
103 (cfengine3--current-word): Reimplement using
104 `cfengine-mode-syntax-functions-regex'.
105 (cfengine3-completion-function, cfengine3--current-function):
106 Use `cfengine3-make-syntax-cache' directly.
107 (cfengine3-clear-syntax-cache): New function.
108 (cfengine3-make-syntax-cache): Simplify and create
109 `cfengine-mode-syntax-functions-regex' on demand.
110 (cfengine3-format-function-docstring): Don't call
111 `cfengine3-make-syntax-cache' explicitly.
112
113 2013-12-13 Martin Rudalics <rudalics@gmx.at>
114
115 Fix windmove-find-other-window broken after pixelwise resizing
116 (Bug#16017).
117 * windmove.el (windmove-other-window-loc): Revert change from
118 2013-12-04.
119 (windmove-find-other-window): Call window-in-direction.
120 * window.el (window-in-direction): New arguments SIGN, WRAP and
121 MINI to emulate original windmove-find-other-window behavior.
122
123 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
124
125 * simple.el (blink-matching--overlay): New variable.
126 (blink-matching-open): Instead of moving point, highlight the
127 matching paren with an overlay
128 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
129
130 * faces.el (paren-showing-faces, show-paren-match)
131 (show-paren-mismatch): Move from paren.el.
132
133 2013-12-13 Leo Liu <sdl.web@gmail.com>
134
135 * indent.el (indent-region): Disable progress reporter in
136 minibuffer. (Bug#16108)
137
138 * bindings.el (visual-order-cursor-movement): Fix version.
139
140 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
141
142 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
143 Also match after beginning of line.
144 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
145 files. Thanks to Russell Sim. (Bug#15378)
146
147 2013-12-13 Juri Linkov <juri@jurta.org>
148
149 * simple.el <Keypad support>: Remove key bindings duplicated
150 with bindings.el. (Bug#14397)
151
152 2013-12-13 Juri Linkov <juri@jurta.org>
153
154 * comint.el (comint-mode-map): Replace `delete-char' with
155 `delete-forward-char'. (Bug#16109)
156
157 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
158
159 * progmodes/python.el (python-indent-calculate-indentation):
160 Fix de-denters cornercase. (Bug#15731)
161
162 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
165 (advice--make): Pay attention to `depth'.
166 (advice--make-1): Don't autoload commands eagerly.
167 * emacs-lisp/elp.el (elp-instrument-function):
168 * emacs-lisp/trace.el (trace-function-internal):
169 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
170
171 * iswitchb.el (iswitchb-mode): Don't belittle ido.
172
173 2013-12-12 Eli Zaretskii <eliz@gnu.org>
174
175 * term/w32-win.el (w32-handle-dropped-file):
176 * startup.el (normal-top-level):
177 * net/browse-url.el (browse-url-file-url):
178 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
179 decode file names using 'utf-8' rather than
180 file-name-coding-system.
181
182 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
183
184 * progmodes/python.el (python-indent-context)
185 (python-indent-calculate-indentation): Fix auto-identation
186 behavior for comment blocks. (Bug#15916)
187
188 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
189
190 * progmodes/python.el (python-indent-calculate-indentation):
191 When determining indentation, don't treat "return", "pass", etc., as
192 operators when they are just string constituents. (Bug#15812)
193
194 2013-12-12 Juri Linkov <juri@jurta.org>
195
196 * uniquify.el (uniquify-buffer-name-style): Change default to
197 `post-forward-angle-brackets'.
198
199 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
200 `uniquify'. Change default to `post-forward-angle-brackets'.
201
202 2013-12-11 Glenn Morris <rgm@gnu.org>
203
204 * emacs-lisp/package.el (finder-list-matches):
205 Autoload rather than falsely declaring.
206
207 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
208
209 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
210 (eww-mode-map): Use them.
211
212 2013-12-11 Martin Rudalics <rudalics@gmx.at>
213
214 * window.el (display-buffer-in-side-window): Fix doc-string
215 (Bug#16115).
216
217 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
218
219 * vc/vc-git.el: Silence byte-compiler warnings.
220 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
221 (log-edit-set-header): Declare.
222
223 2013-12-11 Eli Zaretskii <eliz@gnu.org>
224
225 * Makefile.in (custom-deps, finder-data): Run output file names
226 through unmsys--file-name. (Bug#16099)
227
228 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
231 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
232
233 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
234 instead of deleting the selection "by hand" (bug#16098).
235 Rely on insert-for-yank to yank rectangles.
236 (cua-highlight-region-shift-only): Mark obsolete.
237 (cua-mode): Don't enable/disable transient-mark-mode,
238 shift-select-mode (cua-mode works both with and without them), and
239 pc-selection-mode (obsolete).
240 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
241 (cua--deactivate-rectangle): Deactivate it.
242
243 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
244 (delete-selection-helper): Make sure yank starts at the top of the
245 deleted region.
246 (minibuffer-keyboard-quit): Use region-active-p.
247
248 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
249
250 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
251 to `delete' (bug#16109).
252
253 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
254
255 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
256 info manual and show keybindings and set `:group' keyword.
257
258 2013-12-11 Juri Linkov <juri@jurta.org>
259
260 * delsel.el (delete-active-region): Let-bind `this-command'
261 to prevent `kill-region' from changing its original value.
262 (delete-selection-helper): Handle `overwrite-mode' for the type
263 `kill' exactly the same way as for the type `t'.
264 (insert-char, quoted-insert, reindent-then-newline-and-indent):
265 Support more commands. (Bug#13312)
266
267 2013-12-11 Juri Linkov <juri@jurta.org>
268
269 * bindings.el: Map kp keys to non-kp keys systematically
270 with basic modifiers control, meta and shift. (Bug#14397)
271
272 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
273
274 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
275 "Close browser" menu items. Fix wrong function of "List
276 bookmarks".
277
278 2013-12-11 Juri Linkov <juri@jurta.org>
279
280 * misearch.el (multi-isearch-buffers): Set the value of
281 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
282 arg of isearch-forward to t.
283 (multi-isearch-buffers-regexp): Set the value of
284 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
285 arg of isearch-forward-regexp to t.
286 (multi-isearch-files): Set the value of
287 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
288 arg of isearch-forward to t.
289 (multi-isearch-files-regexp): Set the value of
290 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
291 arg of isearch-forward-regexp to t. (Bug#16035)
292
293 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
294 arg of isearch-forward to t.
295 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
296 arg of isearch-forward-regexp to t.
297 (dired-isearch-filter-filenames): Remove unnecessary check for
298 `dired-isearch-filenames'.
299
300 * comint.el (comint-history-isearch-backward):
301 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
302 (comint-history-isearch-backward-regexp):
303 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
304
305 2013-12-10 Eli Zaretskii <eliz@gnu.org>
306
307 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
308 unmsys--file-name. (Bug#16099)
309
310 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
311
312 * emacs-lisp/package.el (package-keyword-button-action):
313 Remove finder.el require dependency.
314
315 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
316
317 * emacs-lisp/package.el: Require finder.el.
318 (describe-package-1): Add keyword buttons.
319 (package-make-button): New convenience function.
320 (package-keyword-button-action): Keyword button action using
321 `finder-list-matches'
322
323 2013-12-09 Eli Zaretskii <eliz@gnu.org>
324
325 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
326 last commit.
327
328 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
329
330 * autorevert.el (auto-revert-notify-add-watch): Do not handle
331 symlinked files.
332
333 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
334
335 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
336 after the end of a percent literal.
337
338 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
339
340 * progmodes/ruby-mode.el (ruby-forward-string): Document.
341 Handle caret-delimited strings (Bug#16079).
342
343 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
344
345 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
346 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
347 `ruby-parse-partial' (Bug#16078).
348
349 2013-12-09 Leo Liu <sdl.web@gmail.com>
350
351 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
352
353 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
354
355 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
356 (js-switch-indent-offset): New option.
357 (js--proper-indentation): Use it. And handle the case when
358 "default" is actually a key in an object literal.
359 (js--same-line): New function.
360 (js--multi-line-declaration-indentation): Use it.
361 (js--indent-in-array-comp, js--array-comp-indentation):
362 New functions.
363 (js--proper-indentation): Use them, to handle array comprehension
364 continuations.
365
366 2013-12-08 Leo Liu <sdl.web@gmail.com>
367
368 * progmodes/flymake.el (flymake-highlight-line): Re-write.
369 (flymake-make-overlay): Remove arg MOUSE-FACE.
370 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
371
372 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
375 New function.
376 (redisplay-highlight-region-function): Use it.
377
378 * emulation/cua-base.el (cua--explicit-region-start)
379 (cua--last-region-shifted): Remove.
380 (cua--deactivate): Use deactivate-mark.
381 (cua--pre-command-handler-1): Don't handle shift-selection.
382 (cua--post-command-handler-1): Don't change transient-mark-mode.
383 (cua--select-keymaps): Use region-active-p rather than
384 cua--explicit-region-start or cua--last-region-shifted.
385 (cua-mode): Enable shift-select-mode.
386
387 2013-12-08 Leo Liu <sdl.web@gmail.com>
388
389 * progmodes/flymake.el (flymake-popup-current-error-menu):
390 Rename from flymake-display-err-menu-for-current-line. Reimplement.
391 (flymake-posn-at-point-as-event, flymake-popup-menu)
392 (flymake-make-emacs-menu): Remove. (Bug#16077)
393
394 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * rect.el (rectangle-mark-mode): Activate mark even if
397 transient-mark-mode is off (bug#16066).
398 (rectangle--highlight-for-redisplay): Fix boundary condition when point
399 is > mark and at bolp.
400
401 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
402 (region-extract-function): Use it.
403 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
404 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
405 Delete functions.
406 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
407 kill-ring-save, kill-region, delete-char, delete-forward-char.
408 Ignore self-insert-iso.
409
410 * emulation/cua-gmrk.el (cua--init-global-mark):
411 Ignore `self-insert-iso'.
412
413 * emulation/cua-base.el (cua--prefix-copy-handler)
414 (cua--prefix-cut-handler): Rely on region-extract-function rather than
415 checking cua--rectangle.
416 (cua-delete-region): Use region-extract-function.
417 (cua-replace-region): Delete function.
418 (cua-copy-region, cua-cut-region): Obey region-extract-function.
419 (cua--pre-command-handler-1): Don't do the delete-selection thing.
420 (cua--self-insert-char-p): Ignore `self-insert-iso'.
421 (cua--init-keymaps): Don't remap delete-selection commands.
422 (cua-mode): Use delete-selection-mode instead of rolling our own
423 (bug#16085).
424
425 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
426 Obey region-extract-function.
427
428 Make registers and delete-selection-mode work on rectangles.
429 * register.el (describe-register-1): Don't modify the register's value.
430 (copy-to-register): Obey region-extract-function.
431 * delsel.el (delete-active-region): Obey region-extract-function.
432
433 2013-12-08 Leo Liu <sdl.web@gmail.com>
434
435 * progmodes/flymake.el (flymake, flymake-error-bitmap)
436 (flymake-warning-bitmap, flymake-fringe-indicator-position)
437 (flymake-compilation-prevents-syntax-check)
438 (flymake-start-syntax-check-on-newline)
439 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
440 (flymake-start-syntax-check-on-find-file, flymake-log-level)
441 (flymake-xml-program, flymake-master-file-dirs)
442 (flymake-master-file-count-limit)
443 (flymake-allowed-file-name-masks): Relocate.
444 (flymake-makehash, flymake-float-time)
445 (flymake-replace-regexp-in-string, flymake-split-string)
446 (flymake-get-temp-dir): Remove.
447 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
448 (flymake-current-row, flymake-selected-frame)
449 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
450 related functions. (Bug#16077)
451
452 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
453
454 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
455
456 2013-12-07 Tassilo Horn <tsdh@gnu.org>
457
458 * help-fns.el (describe-function-1): Use new advice-* functions
459 rather than old ad-* functions. Fix function type description and
460 source links for advised functions and subrs.
461
462 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
463
464 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
465
466 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
467
468 * progmodes/compile.el (compilation-start):
469 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
470
471 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
472 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
473
474 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
475
476 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
477 Touch up the last change.
478
479 2013-12-06 Leo Liu <sdl.web@gmail.com>
480
481 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
482 (inferior-octave-startup): Always use "octave> " for prompt.
483 (octave-goto-function-definition)
484 (octave-sync-function-file-names)
485 (octave-find-definition-default-filename): Remove redundant backquotes.
486
487 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
488
489 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
490 syntax for `?'.
491 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
492 where appropriate already.
493 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
494 end of method names (Bug#15874).
495
496 2013-12-06 Juri Linkov <juri@jurta.org>
497
498 * isearch.el (isearch--saved-overriding-local-map):
499 New internal variable.
500 (isearch-mode): Set it to the initial value of
501 `overriding-terminal-local-map'.
502 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
503 with `isearch--saved-overriding-local-map'. (Bug#16035)
504
505 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
506
507 * progmodes/octave.el (inferior-octave-completion-table):
508 Turn back into function, use `completion-table-with-cache'
509 (Bug#11906). Update all references.
510
511 * minibuffer.el (completion-table-with-cache): New function.
512
513 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
514
515 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
516
517 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
518
519 * net/eww.el (eww-current-source): New variable to store page
520 source.
521 (eww-display-html, eww-mode, eww-save-history)
522 (eww-restore-history): Use it.
523 (eww-view-source): New command to view page source.
524 Opportunistically uses `html-mode' to highlight the buffer.
525 (eww-mode-map): Install it.
526
527 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
528
529 * net/dbus.el (dbus-unregister-service)
530 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
531 Fix docstring.
532 (dbus-unregister-service): Skip :serial entries in
533 `dbus-registered-objects-table'.
534 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
535
536 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
537
538 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
539 around keywords with extra `split-string' argument.
540
541 2013-12-04 Martin Rudalics <rudalics@gmx.at>
542
543 * windmove.el (windmove-other-window-loc): Handle navigation
544 between windows (excluding the minibuffer window - Bug#16017).
545
546 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
547
548 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
549 in D-Bus type syntax.
550 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
551 preserve unibyte strings. (Bug#16048)
552
553 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
556 Call force-mode-line-update is the proper buffer (bug#16042).
557
558 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
559
560 * vc/log-edit.el (log-edit-add-new-comment): Rename to
561 `log-edit-remember-comment', make argument optional. Adjust all
562 callers.
563 (log-edit-mode): Add `log-edit-remember-comment' to
564 `kill-buffer-hook' locally.
565 (log-edit-kill-buffer): Don't remember comment explicitly since
566 the buffer is killed anyway.
567
568 2013-12-04 Juri Linkov <juri@jurta.org>
569
570 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
571 add-hook and remove-hook for multi-buffer search. (Bug#16035)
572
573 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
574
575 * notifications.el (notifications-close-notification): Call the
576 D-Bus method with ID being a `:uint32'. (Bug#16030)
577
578 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
579
580 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
581
582 2013-12-03 Juri Linkov <juri@jurta.org>
583
584 * progmodes/compile.el (compilation-start): Rename window alist
585 entry `no-display-ok' to `allow-no-window'.
586
587 * simple.el (shell-command): Add window alist entry
588 `allow-no-window' to `display-buffer'.
589 (async-shell-command): Doc fix.
590
591 * window.el (display-buffer-no-window): New action function.
592 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
593
594 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
595
596 * vc/log-edit.el (log-edit-set-header): Extract from
597 `log-edit-toggle-header'.
598 (log-edit-extract-headers): Separate the summary, when extracted
599 from header, from the rest of the message with an empty line.
600
601 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
602 line, if present, to the Summary header.
603
604 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
605
606 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
607 in current-buffer (bug#16029).
608
609 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
610
611 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
612 (debugger-mode-map): Bind it.
613 (debugger--backtrace-base): New function.
614 (debugger-eval-expression): Use it.
615 (debugger-frame-number): Skip local vars when present.
616 (debugger--locals-visible-p, debugger--insert-locals)
617 (debugger--show-locals, debugger--hide-locals): New functions.
618
619 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
620
621 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
622 "LC_ALL".
623 (tramp-get-remote-locale): New defun.
624 (tramp-open-connection-setup-interactive-shell): Use it.
625
626 2013-12-02 Leo Liu <sdl.web@gmail.com>
627
628 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
629
630 * progmodes/sh-script.el (sh-shell-process):
631 * progmodes/octave.el (inferior-octave-process-live-p):
632 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
633 (gdb-inferior-io-sentinel):
634 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
635
636 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
637
638 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
639 `save-selected-window' to `log-edit-hide-buf'. This makes
640 `log-edit-show-files' idempotent.
641 (log-edit-show-files): Mark the new window as dedicated.
642
643 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
644
645 * vc/log-edit.el (log-edit-mode-map): Add binding for
646 `log-edit-kill-biffer'.
647 (log-edit-hide-buf): Add a FIXME comment.
648 (log-edit-add-new-comment): New function, extracted from
649 `log-edit-done'.
650 (log-edit-done, log-edit-add-to-changelog): Use it.
651 (log-edit-kill-buffer): New command.
652
653 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
654
655 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
656 instead of killing the buffer.
657
658 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
661
662 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
663
664 * net/eww.el (eww-form-checkbox-selected-symbol)
665 (eww-form-checkbox-symbol): New customizable variable.
666 (eww-form-checkbox, eww-toggle-checkbox):
667 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
668
669 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
670 (shr--get-media-pref, shr--extract-best-source): New function.
671 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
672 no :src tag was specified.
673
674 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
675 (eww-render): Handle `eww-use-external-browser-for-content-type'.
676 Use \\` to match beginning of string instead of ^.
677 (eww-browse-with-external-browser): Provide optional URL parameter.
678 (eww-render): Set `eww-current-title' back to "".
679
680 * net/shr.el (shr-tag-video): Display content for video if no
681 poster is available.
682 (shr-tag-audio): Add support for <audio> tag.
683
684 * net/eww.el (eww-text-input-types): : New const.
685 (eww-process-text-input): Treat input types in
686 `eww-text-input-types' as text.
687
688 * net/shr.el (shr-tag-table): Fix comment typo.
689
690 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
691
692 * net/eww.el (eww-follow-link): New command to avoid reloading
693 pages when we follow #target links (bug#15243).
694 (eww-quit): Special mode buffers shouldn't query before exiting.
695
696 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
697
698 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
699 forms.
700
701 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
702
703 * net/eww.el (eww-restore-history): Update the window title after
704 moving in the history.
705 (eww-current-dom): New variable used to save the current DOM.
706
707 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
708
709 * vc/log-edit.el (log-edit-mode-map): Add binding for
710 `log-edit-beginning-of-line'.
711 (log-edit-setup-add-author): New user option.
712 (log-edit-beginning-of-line): New command.
713 (log-edit): Move major mode call above the contents setup so that
714 the local variable values are already applied.
715 (log-edit): Only insert "Author: " when
716 `log-edit-setup-add-author' is non-nil.
717 (log-edit): When SETUP is non-nil, position point after ": "
718 instead of point-min.
719
720 2013-12-01 Glenn Morris <rgm@gnu.org>
721
722 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
723
724 2013-11-30 Eli Zaretskii <eliz@gnu.org>
725
726 * startup.el (fancy-splash-frame): On MS-Windows, trigger
727 redisplay to make sure the initial frame gets a chance to become
728 visible. (Bug#16014)
729
730 2013-11-30 Martin Rudalics <rudalics@gmx.at>
731
732 Support resizing frames and windows pixelwise.
733 * cus-start.el (frame-resize-pixelwise)
734 (window-resize-pixelwise): New entries.
735 * emacs-lisp/debug.el (debug): Use window-total-height instead
736 of window-total-size.
737 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
738 * help.el (describe-bindings-internal): Call help-buffer
739 (temp-buffer-max-width): New option.
740 (resize-temp-buffer-window, help-window-setup)
741 (with-help-window): Rewrite.
742 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
743 dragging dividers.
744 * window.el (frame-char-size, window-min-pixel-height)
745 (window-safe-min-pixel-height, window-safe-min-pixel-width)
746 (window-min-pixel-width, window-safe-min-pixel-size)
747 (window-combination-p, window-safe-min-size)
748 (window-resizable-p, window--size-to-pixel)
749 (window--pixel-to-size, window--resize-apply-p): New functions.
750 (window-safe-min-height): Fix doc-string.
751 (window-size, window-min-size, window--min-size-1)
752 (window-sizable, window-sizable-p, window--min-delta-1)
753 (window-min-delta, window--max-delta-1, window-max-delta)
754 (window--resizable, window--resizable-p, window-resizable)
755 (window-full-height-p, window-full-width-p, window-at-side-p)
756 (window--in-direction-2, window-in-direction)
757 (window--resize-reset-1, window--resize-mini-window)
758 (window-resize, window-resize-no-error)
759 (window--resize-child-windows-normal)
760 (window--resize-child-windows, window--resize-siblings)
761 (window--resize-this-window, window--resize-root-window)
762 (window--resize-root-window-vertically)
763 (adjust-window-trailing-edge, enlarge-window, shrink-window)
764 (maximize-window, minimize-window, delete-window)
765 (quit-restore-window, window-split-min-size, split-window)
766 (balance-windows-2, balance-windows)
767 (balance-windows-area-adjust, balance-windows-area)
768 (window--state-get-1, window-state-get, window--state-put-1)
769 (window--state-put-2, window-state-put)
770 (display-buffer-record-window, window--display-buffer):
771 Make functions handle pixelwise sizing of windows.
772 (display-buffer--action-function-custom-type)
773 (display-buffer-fallback-action):
774 Add display-buffer-in-previous-window.
775 (display-buffer-use-some-window): Resize window to height it had
776 before.
777 (fit-window-to-buffer-horizontally): New option.
778 (fit-frame-to-buffer): Describe new values.
779 (fit-frame-to-buffer-bottom-margin): Replace with
780 fit-frame-to-buffer-margins.
781 (window--sanitize-margin): New function.
782 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
783 using window-text-pixel-size.
784
785 2013-11-30 Glenn Morris <rgm@gnu.org>
786
787 * emacs-lisp/bytecomp.el (byte-compile-form):
788 Make the `interactive-only' warning like the `obsolete' one.
789 * comint.el (comint-run):
790 * files.el (insert-file-literally, insert-file):
791 * replace.el (replace-string, replace-regexp):
792 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
793 (goto-line, insert-buffer, next-line, previous-line):
794 Tweak `interactive-only' spec.
795
796 Stop keeping (most) generated cedet grammar files in the repository.
797 * Makefile.in (semantic): New.
798 (compile-main): Depend on semantic.
799
800 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
803 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
804
805 * uniquify.el (uniquify-buffer-name-style): Change default.
806
807 * loadup.el: Preload "uniquify".
808
809 * time.el (display-time-update): Update all mode lines (bug#15999).
810
811 * electric.el (electric-indent-mode): Enable by default.
812 * loadup.el: Preload "electric".
813
814 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
815
816 * emacs-lisp/helpers.el (string-empty-p): New function.
817 (string-blank-p): New function.
818
819 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
820
821 * imenu.el (imenu--index-alist): Add missing dot to the docstring
822 (Bug#14029).
823
824 2013-11-29 Andreas Politz <politza@fh-trier.de>
825 * imenu.el (imenu--subalist-p): Don't error on non-conses and
826 allow non-lambda lists as functions.
827 (imenu--in-alist): Don't recurse into non-subalists.
828 (imenu): Don't pass function itself as an argument (Bug#14029).
829
830 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * progmodes/python.el (python-mode-map): Remove binding for ":".
833 (python-indent-electric-colon): Remove command.
834 (python-indent-post-self-insert-function): Integrate the previous code
835 of python-indent-electric-colon. Make it conditional on
836 electric-indent-mode.
837 (python-mode): Add ?: to electric-indent-chars.
838 Move python-indent-post-self-insert-function to the end of
839 post-self-insert-hook.
840
841 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * doc-view.el (doc-view-goto-page): Update mode-line.
844
845 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
846
847 2013-11-27 Glenn Morris <rgm@gnu.org>
848
849 * international/charprop.el, international/uni-bidi.el:
850 * international/uni-category.el, international/uni-combining.el:
851 * international/uni-comment.el, international/uni-decimal.el:
852 * international/uni-decomposition.el, international/uni-digit.el:
853 * international/uni-lowercase.el, international/uni-mirrored.el:
854 * international/uni-name.el, international/uni-numeric.el:
855 * international/uni-old-name.el, international/uni-titlecase.el:
856 * international/uni-uppercase.el:
857 Remove generated files from VCS repository.
858
859 2013-11-27 Eli Zaretskii <eliz@gnu.org>
860
861 * filenotify.el (file-notify-add-watch): Don't special-case
862 w32notify when computing the directory to watch.
863
864 2013-11-27 Glenn Morris <rgm@gnu.org>
865
866 Make bootstrap without generated uni-*.el files possible again.
867 * loadup.el: Update command-line-args checking for unidata-gen.
868 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
869 * composite.el, international/characters.el:
870 Handle unicode tables being undefined.
871
872 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
873 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
874 (compile-main): Depend on leim rule.
875 (leim): New rule.
876 * loadup.el: Move leim-list.el to leim/ subdirectory.
877 * startup.el (normal-top-level): No more leim directory.
878 * international/ja-dic-cnv.el (skkdic-convert):
879 Disable version-control and autoloads in output files.
880 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
881 Disable version-control and autoloads in output files.
882 * leim/quail: Move here from ../leim.
883 * leim/quail/hangul.el (hangul-input-method-activate):
884 Add autoload cookie.
885 (generated-autoload-load-name): Set file-local value.
886 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
887 (generated-autoload-load-name): Set file-local value.
888
889 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
890
891 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
892 (eww-add-bookmark): ask confirmation when add to bookmarks
893 (eww-quit): ask confirmation before quitting eww
894
895 2013-11-26 Eli Zaretskii <eliz@gnu.org>
896
897 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
898 reading output from Diff on MS-Windows and MS-DOS.
899
900 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
901
902 * emacs-lisp/helpers.el (string-reverse): New function.
903
904 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
905
906 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
907 names on MS Windows, like "/[::1]:".
908
909 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
910 SWITCHES.
911
912 2013-11-26 Glenn Morris <rgm@gnu.org>
913
914 * progmodes/python.el (python-indent-guess-indent-offset):
915 Avoid corner-case error. (Bug#15975)
916
917 Preload leim-list.el. (Bug#4789)
918 * loadup.el: Load leim-list.el when found.
919 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
920
921 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
922
923 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
924
925 * emacs-lisp/helpers.el (string-join): New function.
926
927 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
928
929 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
930 Mark as obsolete and replace it with a symbol property.
931 (byte-compile-form): Use new 'interactive-only property.
932 * comint.el, files.el, replace.el, simple.el:
933 Apply new 'interactive-only properly.
934
935 2013-11-25 Martin Rudalics <rudalics@gmx.at>
936
937 * window.el (display-buffer-at-bottom): Make sure that
938 split-window-sensibly creates the new window on bottom
939 (Bug#15961).
940
941 2013-11-23 David Kastrup <dak@gnu.org>
942
943 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
944 on the conflict markers when available.
945 (smerge--get-marker): New function.
946 (smerge-end-re, smerge-base-re): Add subgroup.
947
948 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * frame.el (handle-focus-in, handle-focus-out): Add missing
951 interactive spec.
952
953 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
954
955 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
956 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
957
958 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
959
960 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
961 (gomoku--last-pos): New var.
962 (gomoku--intangible-chars): New const.
963 (gomoku--intangible): New function.
964 (gomoku-mode): Use it. Derive from special-mode.
965 (gomoku-move-up): Adjust line count.
966 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
967 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
968 Simplify accordingly.
969
970 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
971 Remove blink-cursor code.
972 (blink-cursor-timer-function, blink-cursor-suspend):
973 Don't special-case GUIs.
974 (blink-cursor-mode): Use focus-in/out-hook.
975
976 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
977
978 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
979 work when annotation is invisible (Bug#13886).
980
981 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
982
983 * json.el (json-alist-p): Only return non-nil if the alist has
984 simple keys (Bug#13518).
985
986 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
987
988 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
989 when control-statement is the first statement in a buffer (Bug#15956).
990
991 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
992
993 * imenu.el (imenu-generic-skip-comments-and-strings):
994 New option (Bug#15560).
995 (imenu--generic-function): Use it.
996
997 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
998
999 * minibuffer.el (completion--in-region-1): Scroll the correct
1000 window. (Bug#13898)
1001
1002 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1003
1004 * emacs-lisp/helpers.el: Add some string helpers.
1005 (string-trim-left): Removes leading whitespace.
1006 (string-trim-right): Removes trailing whitespace.
1007 (string-trim): Removes leading and trailing whitespace.
1008
1009 * subr.el (string-suffix-p): New function.
1010
1011 2013-11-23 Glenn Morris <rgm@gnu.org>
1012
1013 * progmodes/python.el (python-shell-send-file):
1014 Add option to delete file when done. (Bug#15647)
1015 (python-shell-send-string, python-shell-send-region): Use it.
1016
1017 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1018
1019 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1020 to set buffer-read-only to t, never to nil. (Bug#15938)
1021
1022 * textmodes/tex-mode.el (latex-noindent-environments):
1023 Add safe-local-variable property. (Bug#15936)
1024
1025 2013-11-23 Glenn Morris <rgm@gnu.org>
1026
1027 * textmodes/enriched.el (enriched-mode): Doc fix.
1028 * emacs-lisp/authors.el (authors-renamed-files-alist):
1029 Add enriched.doc -> enriched.txt.
1030
1031 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1032
1033 2013-11-22 Leo Liu <sdl.web@gmail.com>
1034
1035 * progmodes/octave.el (inferior-octave-startup): Spit out error
1036 message.
1037
1038 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1039
1040 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1041 Improve docstring.
1042 Add :version.
1043 (ruby-encoding-magic-comment-style): Add :version.
1044
1045 2013-11-22 Leo Liu <sdl.web@gmail.com>
1046
1047 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1048 (Bug#15076)
1049 (octave-help-mode): Adapt to change to help-mode-finish to use
1050 derived-mode-p on 2013-09-17.
1051 (inferior-octave-prompt): Also match octave-gui.
1052 (octave-kill-process): Don't ask twice. (Bug#10564)
1053
1054 2013-11-22 Leo Liu <sdl.web@gmail.com>
1055
1056 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1057 (inferior-octave-startup, inferior-octave-check-process)
1058 (inferior-octave-track-window-width-change)
1059 (octave-completion-at-point, octave-eldoc-function): Use it.
1060 (octave-kill-process): Provide confirmation. (Bug#10564)
1061
1062 2013-11-21 Leo Liu <sdl.web@gmail.com>
1063
1064 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1065 Fix obsolete variable comment-use-global-state.
1066
1067 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1068
1069 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1070 Add `octave-source-file'.
1071 (octave-source-file): New function. (Bug#15935)
1072
1073 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1074
1075 * net/eww.el (eww-local-regex): New variable.
1076 (eww): Use it to detect localhost and similar.
1077
1078 2013-11-21 Leo Liu <sdl.web@gmail.com>
1079
1080 Add completion for command `ag'.
1081 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1082 (pcomplete/ag): New function.
1083 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1084
1085 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1088 (bug#14646).
1089 (make-obsolete): Remove interactive spec.
1090
1091 2013-11-21 Glenn Morris <rgm@gnu.org>
1092
1093 * startup.el (command-line-1): Use path-separator with -L.
1094
1095 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1096
1097 * emacs-lisp/package.el (describe-package-1): Add package archive
1098 to shown fields.
1099
1100 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1101
1102 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1103 Change default to "# encoding: %s" to differentiate it from the
1104 default Ruby encoding comment template.
1105
1106 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1107
1108 * ses.el (ses-mode): Doc fix. (Bug#14748)
1109
1110 2013-11-20 Leo Liu <sdl.web@gmail.com>
1111
1112 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1113
1114 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1115
1116 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1117 when rebase or bisect are in progress.
1118
1119 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1120
1121 * filenotify.el (file-notify-add-watch): Doc fix.
1122
1123 2013-11-19 Leo Liu <sdl.web@gmail.com>
1124
1125 * obsolete/rcompile.el: Mark obsolete.
1126
1127 * progmodes/compile.el (compilation-start)
1128 (compilation-goto-locus, compilation-find-file):
1129 Pass no-display-ok and handle nil value from display-buffer.
1130 (Bug#13594)
1131
1132 * window.el (display-buffer-alist, display-buffer): Document the
1133 new parameter no-display-ok. Return either a window or nil
1134 but never a non-window value.
1135
1136 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * electric.el (electric-indent-mode-map): Remove.
1139 (electric-indent-mode): Change the global-map instead (bug#15915).
1140
1141 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1142 Use add-function.
1143
1144 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * emacs-lisp/nadvice.el (remove-function): Align with
1147 add-function's behavior.
1148
1149 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1150 (gdb--string-regexp): New constant.
1151 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1152 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1153 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1154 submatch 1.
1155 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1156 Adjust use accordingly.
1157 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1158
1159 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1160
1161 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1162 interpolation curlies (Bug#15914).
1163
1164 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1165
1166 * calc/calc.el (calc-context-sensitive-enter): New variable.
1167 (calc-enter): Use `calc-context-sensitive-enter'.
1168
1169 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1170
1171 * progmodes/cfengine.el: Version bump.
1172 (cfengine-cf-promises): New defcustom to locate cf-promises.
1173 (cfengine3-vartypes): Add new "data" type.
1174 (cfengine3--current-word): New function to get current name-like
1175 word or its bounds.
1176 (cfengine3--current-function): New function to look up a CFEngine
1177 function's definition.
1178 (cfengine3-format-function-docstring): New function.
1179 (cfengine3-make-syntax-cache): New function.
1180 (cfengine3-documentation-function): New function: ElDoc glue.
1181 (cfengine3-completion-function): New function: completion glue.
1182 (cfengine3-mode): Set `compile-command',
1183 `eldoc-documentation-function', and add to
1184 `completion-at-point-functions'.
1185
1186 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1187
1188 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1189 `tramp-current-connection'.
1190
1191 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1192
1193 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1194 nil/self/true/false with "end of symbol".
1195
1196 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1197
1198 * subr.el (version-regexp-alist): Fix a typo.
1199
1200 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1201
1202 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1203 "en_US.utf8" and "LC_CTYPE" to "".
1204 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1205 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1206
1207 2013-11-15 Leo Liu <sdl.web@gmail.com>
1208
1209 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1210
1211 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * progmodes/gud.el (ctl-x-map):
1214 Remove C-x SPC binding. (Bug#12342)
1215 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1216
1217 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1218
1219 * subr.el (version-regexp-alist):
1220 Recognize hg, svn and darcs versions as snapshot versions.
1221
1222 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1223 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1224 (ruby--encoding-comment-required-p): Extract from
1225 `ruby-mode-set-encoding'.
1226 (ruby-mode-set-encoding): Add the ability to always insert an
1227 utf-8 encoding comment. Fix and simplify coding comment update
1228 logic.
1229
1230 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1231
1232 * net/tramp-gvfs.el (top): Run init code only when
1233 `tramp-gvfs-enabled' is not nil.
1234 (tramp-gvfs-enabled): Check also :system bus.
1235
1236 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 Sync with upstream verilog-mode revision 78e66ba.
1239 * progmodes/verilog-mode.el (verilog-end-of-defun)
1240 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1241 (verilog-get-end-of-defun): Remove unused argument.
1242 (verilog-comment-depth): Remove unused local `e'.
1243 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1244 Don't pass arg to verilog-get-end-of-defun.
1245
1246 2013-11-14 Glenn Morris <rgm@gnu.org>
1247
1248 * obsolete/assoc.el (aget): Prefix dynamic variable.
1249
1250 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1251
1252 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1253
1254 * widget.el, hfy-cmap.el: Remove bogus package version number.
1255
1256 2013-11-13 Glenn Morris <rgm@gnu.org>
1257
1258 * replace.el (replace-eval-replacement):
1259 Try to give more helpful error message. (Bug#15836)
1260
1261 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1262 (archive-7z-update): Avoid custom type mismatches.
1263
1264 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1265
1266 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1267
1268 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1269 address can be empty.
1270
1271 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1272 Accept nil SWITCHES.
1273 (tramp-gvfs-handle-write-region): Implement APPEND.
1274
1275 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1276
1277 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1278 binary "|" operator and closing block args delimiter.
1279 Remove FIXME comment referring to Ruby 1.8-only syntax.
1280 (ruby-smie--implicit-semi-p): Not after "|" operator.
1281 (ruby-smie--closing-pipe-p): New function.
1282 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1283 (ruby-smie-rules): Indent after "|".
1284
1285 2013-11-12 Glenn Morris <rgm@gnu.org>
1286
1287 * ps-print.el (ps-face-attribute-list):
1288 Handle anonymous faces. (Bug#15827)
1289
1290 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1291
1292 * window.el (display-buffer-other-frame): Fix doc-string.
1293 (Bug#15868)
1294
1295 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1298
1299 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1300
1301 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1302 (tramp-sh-handle-file-local-copy): Don't write a message when
1303 saving temporary files.
1304
1305 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1306 both directories are remote.
1307 (tramp-smb-handle-directory-files): Do not return double entries.
1308 Do not expand full file names.
1309 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1310 (tramp-smb-handle-write-region): Implement APPEND.
1311 (tramp-smb-get-stat-capability): Fix a stupid bug.
1312
1313 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1316
1317 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1318
1319 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1320 throwing error over malformed let/let* (bug#15814).
1321
1322 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * iswitchb.el (iswitchb-mode): Mark obsolete.
1325
1326 2013-11-11 Glenn Morris <rgm@gnu.org>
1327
1328 * international/uni-bidi.el, international/uni-category.el:
1329 * international/uni-name.el, international/uni-numeric.el:
1330 Regenerate for Unicode 6.3.0.
1331
1332 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1333
1334 * net/tramp.el (tramp-methods):
1335 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1336 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1337
1338 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1339
1340 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1341 Force highlighting text after Summary keyword in doc face for rpm.
1342
1343 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1344
1345 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1346 available and the word has no wildcards, append one to the grep pattern.
1347 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1348 (ispell-complete-word): Call `ispell-lookup-words' with the value
1349 independent of `ispell-look-p'.
1350
1351 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1352
1353 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1354 Not after "||".
1355 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1356 their parent.
1357
1358 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1361 (ruby-font-lock-keywords): Use backquote.
1362
1363 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1364
1365 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1366 (ruby-smie--backward-token): Only consider full-string matches.
1367
1368 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1369
1370 * faces.el (describe-face): Add distant-foreground.
1371
1372 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1373
1374 * progmodes/ruby-mode.el: Improve encoding comment handling.
1375 (ruby-encoding-magic-comment-style): New option.
1376 (ruby-custom-encoding-magic-comment-template): New option.
1377 (ruby--insert-coding-comment, ruby--detect-encoding):
1378 New functions extracted from `ruby-mode-set-encoding'.
1379 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1380 to control the style of the auto-inserted encoding comment.
1381
1382 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1383
1384 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1385 Use `smie-backward-sexp' with token argument.
1386
1387 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1388
1389 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1390 Remove instrumentation code.
1391
1392 2013-11-08 Glenn Morris <rgm@gnu.org>
1393
1394 * progmodes/autoconf.el (autoconf-mode):
1395 Tweak comment-start-skip. (Bug#15822)
1396
1397 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1400 at bobp (bug#15826).
1401 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1402
1403 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1404
1405 * man.el (Man-start-calling): New macro, extracted from
1406 Man-getpage-in-background.
1407 (Man-getpage-in-background): Use it.
1408 (Man-update-manpage): New command.
1409 (Man-mode-map): Bind it.
1410
1411 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1412
1413 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1414 of "and", "or", "&&" and "||".
1415 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1416 argument. Prohibit opening curly brace because it could only be a
1417 block opener in that position.
1418 (ruby-smie--forward-token, ruby-smie--backward-token):
1419 Separate "|" from "&" or "*" going after it. That can happen in block
1420 arguments.
1421 (ruby-smie--indent-to-stmt): New function, seeks the end of
1422 previous statement or beginning of buffer.
1423 (ruby-smie-rules): Use it.
1424 (ruby-smie-rules): Check if there's a ":" before a curly block
1425 opener candidate; if there is, it's a hash.
1426
1427 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1430 (cl--block-wrapper): Fix last accidental change.
1431
1432 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1433
1434 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1435 Instrument, in order to hunt failure on hydra.
1436
1437 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1438
1439 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1440 malformed bindings form (bug#15814).
1441
1442 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1443
1444 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1445 "." compared to " @ ". This incidentally fixes some indentation
1446 examples with "do".
1447 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1448 (ruby-smie-grammar): New tokens: "and" and "or".
1449 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1450 Exclude "and" and "or". Remove "do" in order to work around token
1451 priorities.
1452 (ruby-smie-rules): Add all infix tokens. Handle the case of
1453 beginning-of-buffer.
1454
1455 2013-11-06 Glenn Morris <rgm@gnu.org>
1456
1457 * Makefile.in (setwins_almost, setwins_for_subdirs):
1458 Avoid accidental matches.
1459
1460 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * menu-bar.el (popup-menu): Use key-binding.
1463
1464 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1465
1466 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1467 menus, support also the menus produced by minor modes.
1468 (Bug#15817)
1469
1470 2013-11-06 Leo Liu <sdl.web@gmail.com>
1471
1472 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1473 DISTANCE to bound the search. All uses changed. (Bug#15808)
1474
1475 2013-11-06 Glenn Morris <rgm@gnu.org>
1476
1477 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1478 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1479 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1480
1481 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1482
1483 * electric.el (electric-indent-just-newline): New command.
1484 (electric-indent-mode-map): New keymap.
1485 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1486 Re-add :group which weren't redundant.
1487
1488 * electric.el (electric-indent-local-mode): New minor mode.
1489 (electric-indent-functions-without-reindent): New var.
1490 (electric-indent-post-self-insert-function): Use it.
1491 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1492
1493 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1494
1495 * international/quail.el (quail-help): Be more explicit about the
1496 meaning of the labels shown on the keys. (Bug#15800)
1497
1498 * startup.el (normal-top-level): Load the subdirs.el files before
1499 setting the locale environment. (Bug#15805)
1500
1501 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1502
1503 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1504 via arguments so as to get the right ones (bug#15418).
1505
1506 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1507
1508 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1509
1510 Fix problems found while writing a test suite.
1511
1512 * net/tramp-compat.el (tramp-compat-load): New defun.
1513 * net/tramp.el (tramp-handle-load): Use it.
1514
1515 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1516 "(numberp ok-if-already-exists)" correctly.
1517
1518 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1519
1520 * international/characters.el (glyphless-char-display-control):
1521 Add usage note.
1522
1523 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1524
1525 * progmodes/python.el (python-mode):
1526 * progmodes/scheme.el (scheme-mode):
1527 * progmodes/prolog.el (prolog-mode):
1528 * progmodes/ruby-mode.el (ruby-mode):
1529 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1530 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1531
1532 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * rect.el (rectangle--highlight-for-redisplay):
1535 * emacs-lisp/smie.el (smie--next-indent-change):
1536 Use buffer-chars-modified-tick.
1537
1538 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1539
1540 * electric.el (electric-indent-post-self-insert-function):
1541 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1542
1543 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1544
1545 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1546
1547 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1548
1549 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1550 (bug#15786).
1551
1552 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1555
1556 * progmodes/python.el: Fix up last change.
1557 (python-shell--save-temp-file): New function.
1558 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1559 `string' comes from the current buffer.
1560 (python-shell-send-string-no-output): Remove `msg' arg.
1561 (python--use-fake-loc): New var.
1562 (python-shell-buffer-substring): Obey it. Try to compensate for the
1563 extra coding line added by python-shell--save-temp-file.
1564 (python-shell-send-region): Use python-shell--save-temp-file and
1565 python-shell-send-file directly. Add `nomain' argument.
1566 (python-shell-send-buffer): Use python-shell-send-region.
1567 (python-electric-pair-string-delimiter): New function.
1568 (python-mode): Use it.
1569
1570 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1571
1572 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1573 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1574 environment and decoding all of the default-directory's to here
1575 from command-line.
1576 (command-line): Decode also argv[0].
1577
1578 * loadup.el: Error out if default-directory is a multibyte string
1579 when we are dumping.
1580
1581 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1582
1583 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1584
1585 * emacs-lisp/package.el (package-menu-mode)
1586 (package-menu--print-info, package-menu--archive-predicate):
1587 Add Archive column to package list.
1588
1589 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1590
1591 Fix problems found while writing a test suite.
1592
1593 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1594 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1595 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1596 to nil when running original file name handler. Otherwise,
1597 there are problems with constructs like "$$FOO".
1598
1599 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1600 for `localname'.
1601
1602 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1603
1604 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1605
1606 * subr.el (version<, version<=, version=):
1607 Update docstrings with information for snapshot versions.
1608
1609 * helpers.el: New library for misc helper functions.
1610 (hash-table-keys): New function returning a list of hash keys.
1611 (hash-table-values): New function returning a list of hash values.
1612
1613 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1614
1615 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1616 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1617
1618 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1619
1620 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1621 checking whether point is after a 1-letter word.
1622
1623 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1624
1625 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1626 Don't infloop when expanding region over `multiline' syntax-type that
1627 begins a line (bug#15778).
1628
1629 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1630
1631 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1632 Make it into a proper minor mode.
1633 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1634 (rectangle-mark-mode-map): New keymap.
1635 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1636
1637 2013-11-04 Glenn Morris <rgm@gnu.org>
1638
1639 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1640
1641 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1644 (ruby-smie-rules): Use smie-rule-parent instead.
1645
1646 * emacs-lisp/smie.el (smie-rule-parent): Always call
1647 smie-indent-virtual rather than only for hanging tokens.
1648 (smie--next-indent-change): New helper command.
1649
1650 2013-11-03 Glenn Morris <rgm@gnu.org>
1651
1652 * Makefile.in (abs_srcdir): Remove.
1653 (emacs): Unset EMACSLOADPATH.
1654
1655 2013-11-02 Glenn Morris <rgm@gnu.org>
1656
1657 * Makefile.in (EMACS): Use a relative filename.
1658 (abs_top_builddir): Remove.
1659 (custom-deps, finder-data, autoloads): Use --chdir.
1660
1661 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1662
1663 Use relative filenames in TAGS files.
1664 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1665 (lisptagsfiles4, TAGS): Use relative file names.
1666 (TAGS-LISP): Remove.
1667 (maintainer-clean): No more TAGS-LISP file.
1668
1669 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1670 (lisptagsfiles4): Use absolute filenames again.
1671 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1672 Remove all *loaddefs files, not just the first. Remove esh-groups.
1673 (maintainer-clean): Delete TAGS, TAGS-LISP.
1674
1675 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1676
1677 * emacs-lisp/package.el (package-version-join):
1678 Recognize snapshot versions.
1679
1680 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1681
1682 * subr.el (version-regexp-alist): Add support for snapshot versions.
1683
1684 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1685
1686 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1687 New function, replacement for `smie-rule-parent' for when we want to
1688 skip over our direct parent if it's an assignment token..
1689 (ruby-smie-rules): Use it.
1690
1691 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1692
1693 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1694 unconditionally. Remove now unnecessary forward declarations.
1695 Remove XEmacs-specific setup.
1696 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1697 (ruby-font-lock-syntactic-keywords)
1698 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1699 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1700 (ruby-here-doc-end-syntax): Remove.
1701 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1702 defined as function.
1703
1704 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1705
1706 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1707
1708 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1709
1710 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1711 table and abbrev table, `define-derived-mode' does that for us
1712 anyway.
1713
1714 2013-11-01 Glenn Morris <rgm@gnu.org>
1715
1716 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1717 files is atomic for some time, so no parallel compilation issues).
1718
1719 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1720
1721 * faces.el (face-x-resources): Add :distant-foreground.
1722 (region): Use :distant-foreground for gtk and ns.
1723
1724 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1725
1726 Allow multiple bibliographies when BibLaTeX is used rather than
1727 BibTeX.
1728 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1729 (reftex-locate-bibliography-files): Us it.
1730
1731 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1732
1733 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1734 allow comments in pbm files.
1735
1736 * term/w32-win.el (dynamic-library-alist): Support newer versions
1737 of libjpeg starting with v7: look only for the DLL from the
1738 version against which Emacs was built.
1739 Support versions of libpng beyond 1.4.x.
1740 Support libtiff v4.x.
1741
1742 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1743
1744 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1745 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1746 Add property :safe.
1747 (ruby-deep-arglist): Add property :type.
1748
1749 2013-10-31 Glenn Morris <rgm@gnu.org>
1750
1751 * Makefile.in (custom-deps, finder-data): No need to setq the target
1752 variables, we are in the right directory and the defaults work fine.
1753
1754 2013-10-30 Glenn Morris <rgm@gnu.org>
1755
1756 * Makefile.in (autoloads): Do not use abs_lisp.
1757
1758 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1759 `newline' does not respect `standard-output', so use `princ'.
1760
1761 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1762
1763 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1764 * buff-menu.el (Buffer-menu--unmark): New function.
1765 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1766
1767 2013-10-30 Glenn Morris <rgm@gnu.org>
1768
1769 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1770
1771 * emacs-lisp/package.el (lm-homepage): Declare.
1772
1773 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1774 Fix doc typos.
1775
1776 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1777
1778 * Makefile.in (finder-data, autoloads, update-subdirs)
1779 (compile-main, compile-clean, compile-always, bootstrap-clean):
1780 Check return value of cd.
1781 (compile-calc): Remove.
1782
1783 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1786
1787 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1788 (byte-compile-and-folded): New function.
1789 (=, <, >, <=, >=): Use it.
1790
1791 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1792 (path-separator, null-device, buffer-file-coding-system)
1793 (lpr-headers-switches): Check system-type before modifying them.
1794 (find-buffer-file-type-coding-system): Mark obsolete.
1795 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1796 find-file-not-found-set-buffer-file-coding-system.
1797 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1798 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1799 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1800 (w32-direct-print-region-helper, w32-direct-print-region-function)
1801 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1802 * startup.el (normal-top-level-add-subdirs-to-load-path):
1803 * ps-print.el (ps-print-region-function):
1804 * lpr.el (print-region-function): Use new name.
1805
1806 * subr.el (custom-declare-variable-early): Remove function.
1807 (custom-declare-variable-list): Remove var.
1808 (error, user-error): Remove `while' loop.
1809 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1810 (user-emacs-directory-warning, locate-user-emacs-file):
1811 Move to files.el.
1812 * simple.el (read-quoted-char-radix, read-quoted-char):
1813 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1814 Move from subr.el.
1815 * custom.el (custom-declare-variable-list): Don't process
1816 custom-declare-variable-list.
1817
1818 * progmodes/python.el (python-shell-get-buffer): New function.
1819 (python-shell-get-process): Use it.
1820 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1821 Python which encoding was used. Don't split-string since we only care
1822 about the first line. Return the temp-file, if applicable.
1823 (python-shell-send-region): Tell compile.el how to turn locations in
1824 the temp-file into locations in the source buffer.
1825
1826 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1827
1828 * subr.el (undefined): Add missing behavior from the C code for
1829 unbound keys.
1830
1831 * rect.el: Use lexical-binding. Add new rectangular region support.
1832 (rectangle-mark): New command.
1833 (rectangle--region): New var.
1834 (deactivate-mark-hook): Reset rectangle--region.
1835 (rectangle--extract-region, rectangle--insert-for-yank)
1836 (rectangle--highlight-for-redisplay)
1837 (rectangle--unhighlight-for-redisplay): New functions.
1838 (region-extract-function, redisplay-unhighlight-region-function)
1839 (redisplay-highlight-region-function): Use them to handle
1840 rectangular region.
1841 * simple.el (region-extract-function): New var.
1842 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1843 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1844 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1845 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1846 (redisplay-unhighlight-region-function)
1847 (redisplay-highlight-region-function): New vars.
1848 (redisplay--update-region-highlight): New function.
1849 (pre-redisplay-function): Use it.
1850 (exchange-point-and-mark): Don't deactivate the mark before
1851 reactivate-it anyway.
1852 * comint.el (comint-kill-region): Remove yank-handler argument.
1853 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1854 (delete-char): Remove property, since it's now part of their
1855 default behavior.
1856 (self-insert-iso): Remove property since this command doesn't exist.
1857
1858 * emacs-lisp/package.el (package--download-one-archive)
1859 (describe-package-1): Don't query the user about final newline.
1860
1861 2013-10-29 Daniel Colascione <dancol@dancol.org>
1862
1863 * net/tramp.el (tramp-methods): Document new functionality.
1864 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1865 tramp-hostname-checker if method provides one instead of scanning
1866 argument list for "%h" to decide hostname acceptability.
1867
1868 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1869
1870 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1871 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1872 Handle COPY-CONTENTS. (Bug#15737)
1873
1874 2013-10-28 Daiki Ueno <ueno@gnu.org>
1875
1876 * epa-file.el
1877 (epa-file-cache-passphrase-for-symmetric-encryption):
1878 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1879
1880 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1881
1882 * image.el (defimage):
1883 (image-load-path): Doc fixes.
1884
1885 2013-10-27 Alan Mackenzie <acm@muc.de>
1886
1887 Indent statements in macros following "##" correctly.
1888 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1889 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1890
1891 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1892
1893 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1894
1895 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1896
1897 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1898 after `=' is probably a new expression.
1899
1900 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1901
1902 * man.el (man-imenu-title): New option.
1903 (Man-mode-map): Add menu. (Bug#15722)
1904 (Man-mode): Add imenu to menu.
1905
1906 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1907
1908 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1909 specific in what the first arg can be: a non-keyword word,
1910 string/regexp/percent literal opener, opening paren, or unary
1911 operator followed directly by word.
1912
1913 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1914
1915 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1916 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1917 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1918 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1919 Remove vars, they do not apply any more.
1920 (prolog-mode-abbrev-table): Remove redundant declaration.
1921 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1922 (prolog-use-smie): Remove.
1923 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1924 supported by prolog-electric-if-then-else-flag.
1925 (prolog-mode-variables, prolog-menu): Use setq-local.
1926 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1927 Remove binding to `Backspace' since this key doesn't exist anyway.
1928 Remove bindings for electric self-inserting keys.
1929 (prog-mode): Assume it's defined.
1930 (prolog-post-self-insert): New function.
1931 (prolog-mode): Use it.
1932 (prolog-indent-line, prolog-indent-level)
1933 (prolog-find-indent-of-matching-paren)
1934 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1935 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1936 (prolog-goto-next-paren, prolog-in-string-or-comment)
1937 (prolog-tokenize, prolog-inside-mline-comment)
1938 (prolog-find-start-of-mline-comment): Remove functions.
1939 (prolog-find-unmatched-paren, prolog-clause-end)
1940 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1941 (prolog-electric--if-then-else): Rename from
1942 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1943 (prolog-tokenize-searchkey): Remove const.
1944 (prolog-clause-info): Use forward-sexp.
1945 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1946 (prolog-electric-if-then-else): Remove commands.
1947 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1948 for use in post-self-insert-hook.
1949 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1950 for use in post-self-insert-hook.
1951 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1952 for use in post-self-insert-hook.
1953 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1954 adapt it for use in post-self-insert-hook.
1955
1956 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1957
1958 * emacs-lisp/ert.el (ert-run-tests-interactively):
1959 Use `completing-read'. (Bug#9756)
1960
1961 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1962
1963 * simple.el (line-move): Call line-move-1 instead of
1964 line-move-visual when the current window hscroll is zero, but
1965 temporary-goal-column indicates we will need to hscroll as result
1966 of the movement. (Bug#15712)
1967
1968 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1969
1970 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1971 capitalization. Use :visible instead of :active.
1972 Fix `ruby-indent-exp' reference. Add menu items for the generic
1973 commands that are used with SMIE.
1974 (ruby-do-end-to-brace): Insert space after `{'.
1975
1976 2013-10-25 John Anthony <john@jo.hnanthony.com>
1977
1978 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1979
1980 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1981
1982 2013-10-25 Glenn Morris <rgm@gnu.org>
1983
1984 * vc/vc.el (vc-print-log): Don't use a working revision unless
1985 one was explicitly specified. (Bug#15322)
1986
1987 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * subr.el (add-to-list): Preserve return value in compiler-macro
1990 (bug#15692).
1991
1992 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1993
1994 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1995 result. Ask user to retry using '-all' flag. (Bug#15701)
1996
1997 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1998
1999 * emacs-lisp/smie.el: New smie-config system.
2000 (smie-config): New defcustom.
2001 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2002 (smie-config-guess, smie-config-save): New commands.
2003 (smie-config--mode-local, smie-config--buffer-local)
2004 (smie-config--trace, smie-config--modefuns): New vars.
2005 (smie-config--advice, smie-config--mode-hook)
2006 (smie-config--setter, smie-config-local, smie-config--get-trace)
2007 (smie-config--guess-value, smie-config--guess): New functions.
2008 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2009 text properties. Treat "string fence" syntax like string syntax.
2010
2011 * progmodes/sh-script.el (sh-use-smie): Change default.
2012 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2013 (sh-var-value): Simplify by CSE.
2014 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2015 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2016 is used.
2017 (sh-guess-basic-offset): Use cl-incf.
2018 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2019
2020 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2021
2022 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2023 (bug#15699).
2024
2025 2013-10-24 Glenn Morris <rgm@gnu.org>
2026
2027 * Makefile.in (abs_top_srcdir): Remove.
2028 (update-subdirs): Use relative path to update-subdirs.
2029
2030 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2031
2032 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2033 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2034 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2035 Call unmsys--file-name before expand-file-name, not after it.
2036
2037 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2038
2039 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2040 (ert-test-skipped): New error.
2041 (ert-skip, ert-stats-skipped): New defuns.
2042 (ert--skip-unless): New macro.
2043 (ert-test-skipped): New struct.
2044 (ert--run-test-debugger, ert-test-result-type-p)
2045 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2046 (ert--stats-set-test-and-result, ert-char-for-test-result)
2047 (ert-string-for-test-result, ert-run-tests-batch)
2048 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2049 Handle skipped tests. (Bug#9803)
2050
2051 2013-10-24 Glenn Morris <rgm@gnu.org>
2052
2053 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2054
2055 * Makefile.in (abs_top_srcdir): New, set by configure.
2056 (update-subdirs): Correct build-aux location.
2057
2058 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2059
2060 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2061 value, whether we could auto-deduce `backend', or not.
2062
2063 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2064 with parameters" example. Simplify the "is it block or is it
2065 hash" check, but also make it more thorough.
2066
2067 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2068
2069 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2070
2071 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2074 { if it is hanging.
2075
2076 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2077 :before ";".
2078
2079 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2080
2081 * progmodes/compile.el (compilation-directory-matcher)
2082 (compilation-page-delimiter):
2083 Support GNU Make-4.0 directory quoting. (Bug#15678)
2084
2085 2013-10-23 Leo Liu <sdl.web@gmail.com>
2086
2087 * ido.el (ido-tidy): Handle read-only text.
2088
2089 2013-10-23 Glenn Morris <rgm@gnu.org>
2090
2091 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2092 (emacs, compile, compile-always):
2093 Quote entities that might contain whitespace.
2094 (custom-deps, finder-data, autoloads): Use abs_lisp.
2095 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2096 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2097 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2098
2099 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2100
2101 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2102 Use `following-char'.
2103
2104 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2107 * progmodes/ruby-mode.el (ruby-smie-rules):
2108 Remove corresponding workaround. Fix indentation rule of ";" so it
2109 also applies when ";" is the parent.
2110
2111 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2112
2113 * frame.el (display-screens, display-pixel-height)
2114 (display-pixel-width, display-mm-width, display-backing-store)
2115 (display-save-under, display-planes, display-color-cells)
2116 (display-visual-class, display-monitor-attributes-list):
2117 Mention the optional ‘display’ argument in doc strings.
2118
2119 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2120
2121 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2122 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2123
2124 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2125
2126 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2127 TODO. Add "." after " @ ".
2128 (ruby-smie--at-dot-call): New function. Checks if point at method
2129 call with explicit target.
2130 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2131 to the method name tokens when it precedes them.
2132 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2133 (ruby-smie-rules): Add rule for indentation before and after "."
2134 token.
2135
2136 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * textmodes/remember.el (remember-diary-extract-entries):
2139 Avoid add-to-list.
2140
2141 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2142 an instruction.
2143
2144 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2145
2146 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2147 (ruby-smie--implicit-semi-p): Add new operator chars.
2148
2149 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2150 `smie-down-list'.
2151 (ruby-smie--args-separator-p): Check that there's no newline
2152 between method call and its arguments.
2153
2154 2013-10-20 Alan Mackenzie <acm@muc.de>
2155
2156 Allow comma separated lists after Java "implements".
2157
2158 * progmodes/cc-engine.el (c-backward-over-enum-header):
2159 Parse commas.
2160 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2161 from a "disallowed" list in enum fontification.
2162
2163 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2164
2165 * startup.el (default-frame-background-mode): Remove unused defvar.
2166
2167 * progmodes/verilog-mode.el (verilog-mode): Don't set
2168 comment-indent-function globally.
2169
2170 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2171
2172 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2173 Move Info menu item creation to ns-win.el.
2174
2175 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2176 in menu bar.
2177
2178 * menu-bar.el: Move GNUStep specific menus...
2179
2180 * term/ns-win.el (ns-initialize-window-system): ... to here.
2181
2182 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2183
2184 * simple.el (newline): Only run post-self-insert-hook when
2185 called interactively.
2186
2187 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2188
2189 * icomplete.el (icomplete-with-completion-tables): Add :version.
2190
2191 2013-10-19 Alan Mackenzie <acm@muc.de>
2192
2193 Fix fontification bugs with constructors and const.
2194
2195 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2196 CASE 2) Remove the check for the absence of a suffix construct
2197 after a function declaration with only types (no identifiers) in
2198 the parentheses. Also, accept a function declaration with just a
2199 type inside the parentheses, if this type can be positively
2200 recognised as such, or if a prefix keyword like "explicit" nails
2201 down the construct as a declaration.
2202
2203 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2204
2205 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2206 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2207 the problem whereby selecting a menu item that leads to a
2208 minibuffer prompt moves the cursor out of the minibuffer window,
2209 making it hard to type at the prompt. Suggested by Stefan Monnier
2210 <monnier@iro.umontreal.ca>.
2211
2212 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2213
2214 * menu-bar.el: Don't make Services menu.
2215
2216 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2217
2218 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2219 (ffap-alist): Use ffap-c++-mode for c++-mode.
2220 (ffap-c++-path): New variable.
2221 (ffap-c++-mode): New function.
2222
2223 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2224
2225 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2226
2227 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2228
2229 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2230 introduced on 2013-09-08, which results in an infinite loop
2231 requesting a password.
2232
2233 2013-10-18 Glenn Morris <rgm@gnu.org>
2234
2235 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2236
2237 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2238
2239 Sync with upstream verilog-mode revision 1a6ecec7.
2240 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2241 (verilog-mode-release-date): Remove.
2242 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2243 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2244 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2245 (verilog-auto-tieoff-ignore-regexp)
2246 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2247 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2248 (verilog-signals-with, verilog-dir-cache-preserving)
2249 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2250 Doc fixes.
2251 (verilog-case-fold): New option, to control case folding in
2252 regexp searches, bug597.
2253 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2254 (verilog-string-match-fold, verilog-in-paren-count)
2255 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2256 (verilog-at-close-struct-p): New functions.
2257 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2258 (verilog-forward-sexp, verilog-set-auto-endcomments):
2259 (verilog-leap-to-case-head): Handle "unique0" case.
2260 (verilog-in-constraint-re): New constant.
2261 (verilog-keywords, verilog-type-font-keywords):
2262 Add some SystemVerilog 1800-2012 keywords.
2263 (verilog-label-be): Remove unimplemented argument, bug669.
2264 (verilog-batch-execute-func): When batch expanding clear
2265 create-lockfiles to prevent spurious user locks when a file ends
2266 up not changing.
2267 (verilog-calculate-indent, verilog-calc-1)
2268 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2269 (verilog-do-indent): Fix indentation of nested constraints
2270 and structures.
2271 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2272 (verilog-auto-inst-param): Use verilog-string-match-fold.
2273 (verilog-read-inst-module-matcher):
2274 Fix AUTOINST on gate primitives with #1.
2275 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2276 Reads all user-defined typed variables.
2277 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2278 (verilog-signals-matching-regexp)
2279 (verilog-signals-not-matching-regexp, verilog-auto):
2280 Respect verilog-case-fold.
2281 (verilog-diff-report): Fix line count.
2282 (verilog-auto-assign-modport): Remove unused local `modi'.
2283 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2284 better handle multidimensional arrays.
2285 Fix packed array ports misadding bit index in AUTOINST, bug637.
2286 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2287 to not double-declare existing outputs and inputs, respectively.
2288 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2289 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2290 (verilog-sk-uvm-component): New skeleton.
2291 (verilog-submit-bug-report): Add verilog-case-fold,
2292 remove verilog-mode-release-date.
2293
2294 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2295
2296 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2297 as before.
2298
2299 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2300
2301 * textmodes/remember.el (remember): set buffer-offer-save in
2302 remember buffers (bug#13566).
2303
2304 2013-10-18 Daniel Colascione <dancol@dancol.org>
2305
2306 When evaluating forms in ielm, direct standard output to ielm
2307 buffer. Add new ielm-return-for-effect command. Remove trailing
2308 whitespace throughout.
2309
2310 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2311 (ielm-return-for-effect): New command.
2312 (ielm-send-input): Accept optional `for-effect' parameter.
2313 (ielm-eval-input): Accept optional `for-effect' parameter.
2314 Bind `standard-output' to stream we create using
2315 `ielm-standard-output-impl'. Suppress printing result when
2316 `for-effect'.
2317 (ielm-standard-output-impl): New function.
2318 (inferior-emacs-lisp-mode): Explain new features in documentation.
2319
2320 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2321
2322 Code cleanup.
2323
2324 * net/tramp.el (tramp-debug-message): Do not check for connection
2325 buffer.
2326 (tramp-message): Use "vector" connection property.
2327
2328 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2329 (tramp-equal-remote, tramp-eshell-directory-change)
2330 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2331 (tramp-adb-handle-rename-file)
2332 * net/tramp-cmds.el (tramp-list-remote-buffers)
2333 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2334 * net/tramp-compat.el (tramp-compat-process-running-p)
2335 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2336 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2337 (tramp-gvfs-handle-rename-file)
2338 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2339 (tramp-set-file-uid-gid)
2340 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2341 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2342 of `file-remote-p'.
2343
2344 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2345 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2346 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2347 (tramp-gw-open-network-stream): Suppress unrelated traces.
2348
2349 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2350 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2351 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2352 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2353 connection property.
2354
2355 * net/tramp-cache.el (top): Suppress traces when reading
2356 persistency file.
2357
2358 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2359 Refactor common code. Improve debug message.
2360 (tramp-maybe-open-connection)
2361 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2362 connection buffer too early.
2363
2364 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2365 from `tramp-smb-actions-with-acl'.
2366 (tramp-smb-actions-set-acl): New defconst.
2367 (tramp-smb-handle-copy-directory)
2368 (tramp-smb-action-get-acl): New defun, renamed from
2369 `tramp-smb-action-with-acl'.
2370 (tramp-smb-action-set-acl): New defun.
2371 (tramp-smb-handle-set-file-acl): Rewrite.
2372
2373 2013-10-17 Glenn Morris <rgm@gnu.org>
2374
2375 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2376
2377 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2378
2379 * skeleton.el (skeleton-newline): Remove.
2380 (skeleton-internal-1): Use (insert "\n") instead.
2381
2382 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2383 let-bindings.
2384
2385 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2386 forward-sexp-function while we redo its job (bug#15613).
2387
2388 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2389
2390 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2391 represented by lists.
2392
2393 2013-10-16 Glenn Morris <rgm@gnu.org>
2394
2395 * tmm.el (tmm--history): New dynamic variable.
2396 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2397
2398 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2399
2400 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2401 (tramp-smb-errors): Add error messages.
2402 (tramp-smb-actions-with-acl): New defconst.
2403 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2404 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2405 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2406 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2407 (tramp-smb-get-stat-capability): Fix tests.
2408
2409 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2410
2411 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2412 (bug#15580).
2413
2414 2013-10-16 Glenn Morris <rgm@gnu.org>
2415
2416 * ansi-color.el (ansi-color-drop-regexp):
2417 Add 1J, 1K, 2K. (Bug#15617)
2418
2419 * files.el (hack-local-variables--warned-lexical): New.
2420 (hack-local-variables):
2421 Warn about misplaced lexical-binding. (Bug#15616)
2422
2423 * net/eww.el (eww-render): Always set eww-current-url,
2424 and update header line. (Bug#15622)
2425 (eww-display-html): ... Rather than just doing it here.
2426
2427 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2428
2429 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2430 menu navigations commands.
2431
2432 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2433
2434 * progmodes/subword.el (subword-capitalize): Be careful when
2435 the search for [[:alpha:]] fails (bug#15580).
2436
2437 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2438
2439 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2440 to commands that scroll the menu.
2441
2442 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2443
2444 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2445 Handle methods ending with `?' and `!'.
2446
2447 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2448
2449 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2450 `japanese-cp932' to `cp932' to fix the problem where saving a
2451 source file written in Shift_JIS twice would end up having
2452 `coding: japanese-cp932' which Ruby could not recognize.
2453 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2454 in `ruby-encoding-map'.
2455 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2456 doesn't need to be explicitly declared in magic comment.
2457 (ruby-encoding-map): Add type declaration for better customize UI.
2458
2459 2013-10-13 Glenn Morris <rgm@gnu.org>
2460
2461 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2462 Occur buffers are read-only. http://bugs.debian.org/720775
2463
2464 * emacs-lisp/authors.el (authors-fixed-entries):
2465 Comment out old alpha stuff.
2466
2467 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2468
2469 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2470 to `after-save-hook' instead of `before-save-hook'.
2471 (ruby-mode-set-encoding): Use the value of coding system used to
2472 write the file. Call `basic-save-buffer-1' after modifying the
2473 buffer.
2474
2475 2013-10-13 Alan Mackenzie <acm@muc.de>
2476
2477 Fix indentation/fontification of Java enum with
2478 "implements"/generic.
2479
2480 * progmodes/cc-engine.el (c-backward-over-enum-header):
2481 Extracted from the three other places and enhanced to handle generics.
2482 (c-inside-bracelist-p): Uses new function above.
2483 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2484 function above.
2485 (c-font-lock-enum-tail): Uses new function above.
2486
2487 2013-10-13 Kenichi Handa <handa@gnu.org>
2488
2489 * international/mule-cmds.el (select-safe-coding-system): Remove a
2490 superfluous condition in chekcing whether a coding system is safe
2491 or not.
2492
2493 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2494
2495 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2496
2497 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2498
2499 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2500
2501 2013-10-13 Glenn Morris <rgm@gnu.org>
2502
2503 * menu-bar.el (menu-bar-update-buffers):
2504 Unify Buffers menu prompt string. (Bug#15576)
2505
2506 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2507
2508 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2509 Add some entries.
2510 (authors-fixed-entries): Use accented form of name.
2511
2512 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2513
2514 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2515 method calls (bug#15594).
2516 (ruby-smie--args-separator-p): New function.
2517 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2518 recognize paren-free method calls.
2519
2520 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2521 internals of universal-argument.
2522
2523 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2524
2525 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2526 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2527 dropped menu on second mouse click on the menu bar.
2528
2529 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2532 (explicit-shell-file-name): Declare.
2533 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2534 (sh-completion-at-point-function): New function.
2535 (sh-mode): Use it.
2536 (sh-smie--keyword-p): Remove unused argument.
2537 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2538 vars.
2539 (sh-set-shell): Always setup SMIE, even if we use the
2540 old indentation code.
2541
2542 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2543
2544 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2545 cases of ? and =.
2546 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2547 predicate would return nil are almost non-existent.
2548 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2549
2550 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2551 cache also after commands that modify the buffer but don't move
2552 point.
2553
2554 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * env.el (substitute-env-in-file-name): New function.
2557 (substitute-env-vars): Extend the meaning of the optional arg.
2558
2559 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2560
2561 * term/w32-win.el (dynamic-library-alist): Define separate lists
2562 of GIF DLLs for versions before and after 5.0.0 of giflib.
2563 (Bug#15531)
2564
2565 2013-10-10 João Távora <joaotavora@gmail.com>
2566
2567 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2568 not locked, use last revision and current source as
2569 defaults. (Bug#15569)
2570
2571 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2572
2573 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2574 menu-bar is hidden.
2575
2576 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2577
2578 * window.el (pop-to-buffer-same-window): Fix doc-string.
2579 (Bug#15492)
2580
2581 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2582
2583 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2584
2585 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2586
2587 * calendar/icalendar.el (icalendar-import-file):
2588 Fix interactive spec. (Bug#15482)
2589
2590 2013-10-10 Glenn Morris <rgm@gnu.org>
2591
2592 * desktop.el (desktop-save): Default to saving in .emacs.d,
2593 since PWD is no longer in desktop-path by default. (Bug#15319)
2594
2595 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2596 now that text mode has a menu with the same entry.
2597 (menu-bar-text-mode-auto-fill): Remove now unused func.
2598 * textmodes/text-mode.el (text-mode-map):
2599 Use auto-fill help text from menu-bar.el.
2600
2601 2013-10-10 John Anthony <john@jo.hnanthony.com>
2602
2603 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2604
2605 2013-10-09 Juri Linkov <juri@jurta.org>
2606
2607 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2608 instead of this-command-keys. Add universal-argument-more and
2609 universal-argument-minus to the list of prefix commands. (Bug#15568)
2610
2611 2013-10-09 Glenn Morris <rgm@gnu.org>
2612
2613 * vc/vc-svn.el (vc-svn-create-repo):
2614 Expand paths in file://... url. (Bug#15446)
2615
2616 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2617 Add some entries.
2618 (authors): Remove unused local variables.
2619
2620 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * profiler.el: Create a more coherent calltree from partial backtraces.
2623 (profiler-format): Hide the tail with `invisible' so that C-s can still
2624 find the hidden elements.
2625 (profiler-calltree-depth): Don't recurse so enthusiastically.
2626 (profiler-function-equal): New hash-table-test.
2627 (profiler-calltree-build-unified): New function.
2628 (profiler-calltree-build): Use it.
2629 (profiler-report-make-name-part): Indent the calltree less.
2630 (profiler-report-mode): Add visibility specs for profiler-format.
2631 (profiler-report-expand-entry, profiler-report-toggle-entry):
2632 Expand the whole subtree when provided with a prefix arg.
2633
2634 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2635
2636 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2637 iuwu-mod token.
2638 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2639 hanging iuwu-mod token.
2640 (ruby-smie--forward-token): Do not include a dot after a token in
2641 that token.
2642 (ruby-smie--backward-token): Likewise.
2643
2644 2013-10-08 Juri Linkov <juri@jurta.org>
2645
2646 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2647 to isearch-other-control-char.
2648 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2649 and isearch-post-command-hook to post-command-hook.
2650 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2651 and isearch-post-command-hook from post-command-hook.
2652 (isearch-unread-key-sequence)
2653 (isearch-reread-key-sequence-naturally)
2654 (isearch-lookup-scroll-key, isearch-other-control-char)
2655 (isearch-other-meta-char): Remove functions.
2656 (isearch-pre-command-hook, isearch-post-command-hook):
2657 New functions based on isearch-other-meta-char rewritten
2658 relying on the new behavior of overriding-terminal-local-map
2659 that does not replace the local keymaps any more. (Bug#15200)
2660
2661 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2662
2663 Support menus on text-mode terminals.
2664 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2665 functionality.
2666
2667 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2668
2669 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2670 Move here from mouse.el.
2671 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2672 and arrow keys.
2673 (tty-menu-navigation-map): New map for TTY menu navigation.
2674
2675 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2676
2677 * frame.el (display-mouse-p): Report text-mode mouse as available
2678 on w32.
2679 (display-popup-menus-p): Report availability if mouse is
2680 available; don't condition on window-system.
2681
2682 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2683 (tty-menu-selected-face): New faces.
2684
2685 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2688 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2689 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2690 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2691 New constants.
2692 (lisp-mode-variables): New `elisp' argument.
2693 (emacs-lisp-mode): Use it.
2694 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2695 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2696
2697 * indent.el: Use lexical-binding.
2698 (indent-region): Add progress reporter.
2699 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2700 last step.
2701 (indent--next-tab-stop): New function to implement this behavior.
2702 (tab-to-tab-stop, move-to-tab-stop): Use it.
2703
2704 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2705
2706 * indent.el (indent-rigidly--current-indentation): New function.
2707 (indent-rigidly-map): New var.
2708 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2709
2710 2013-10-08 Bastien Guerry <bzg@gnu.org>
2711
2712 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2713
2714 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 * progmodes/perl-mode.el: Use lexical-binding.
2717 Remove redundant :group args.
2718 (perl-nochange): Change default to be closer to other major modes's
2719 standard behavior.
2720 (perl-indent-line): Don't consider text on current line as a
2721 valid beginning of function from which to indent.
2722
2723 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2724 with more than one argument (bug#15538).
2725
2726 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2727
2728 * vc/pcvs.el: Use lexical-binding.
2729 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2730 environment of `eval'.
2731 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2732 than a list of expressions. Adjust callers.
2733 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2734
2735 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2736
2737 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2738 case of the dot in a chained method call being on the following line.
2739
2740 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * electric.el (electric-indent-inhibit): New var.
2743 (electric-indent-post-self-insert-function): Use it.
2744 * progmodes/python.el (python-mode): Set it.
2745
2746 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2747 open braces.
2748
2749 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2750
2751 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2752 (css-mode): Use electric-indent-chars.
2753
2754 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2755 (font-lock-beg, font-lock-end): Move before first use.
2756 (nxml-mode): Use syntax-propertize-function.
2757 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2758 (nxml-extend-after-change-region): Remove.
2759 * nxml/xmltok.el: Use lexical-binding.
2760 (xmltok-save): Use `declare'.
2761 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2762 * nxml/nxml-util.el: Use lexical-binding.
2763 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2764 Use `declare'.
2765 * nxml/nxml-ns.el: Use lexical-binding.
2766 (nxml-ns-save): Use `declare'.
2767 (nxml-ns-prefixes-for): Avoid add-to-list.
2768 * nxml/rng-match.el: Use lexical-binding.
2769 (rng--ipattern): Use cl-defstruct.
2770 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2771 (rng-cons-group-after, rng-subst-group-after)
2772 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2773 Use closures instead of `(lambda...).
2774
2775 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2776
2777 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2778 of BEG and END.
2779
2780 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2781 Use `tramp-handle-insert-file-contents'.
2782 (tramp-gvfs-handle-insert-file-contents): Remove function.
2783
2784 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2785 Use `save-restriction' in order to keep markers.
2786
2787 * net/trampver.el: Update release number.
2788
2789 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * progmodes/compile.el (compilation-parse-errors):
2792 Use compilation--put-prop.
2793 (compilation--ensure-parse): Check compilation-multiline.
2794
2795 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2796
2797 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2798 lexical-binding.
2799
2800 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2801
2802 * progmodes/ruby-mode.el: Fix recently added tests.
2803 (ruby-smie-grammar): Add - and +.
2804 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2805 (ruby-smie--backward-id): New functions.
2806 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2807 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2808 any more.
2809
2810 2013-10-07 Leo Liu <sdl.web@gmail.com>
2811
2812 * register.el (register-preview-delay)
2813 (register-preview-functions): New variables.
2814 (register-read-with-preview, register-preview)
2815 (register-describe-oneline): New functions.
2816 (point-to-register, window-configuration-to-register)
2817 (frame-configuration-to-register, jump-to-register)
2818 (number-to-register, view-register, insert-register)
2819 (copy-to-register, append-to-register, prepend-to-register)
2820 (copy-rectangle-to-register): Use register-read-with-preview to
2821 read register. (Bug#15525)
2822
2823 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2824
2825 * net/network-stream.el (network-stream-open-starttls): Don't add
2826 --insecure if it's already present, because that gnutls-cli
2827 rejects getting that parameter twice.
2828
2829 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2830
2831 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2832 keyword, too.
2833
2834 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2835
2836 * newcomment.el (comment-use-global-state): Change default value
2837 to t, mark obsolete (Bug#15251).
2838 (comment-beginning): In addition to `comment-to-syntax', check the
2839 value of `comment-use-global-state'.
2840
2841 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2844 (ruby-comment-column): Follow the global default, by default.
2845 (ruby-smie-grammar): Add assignment syntax.
2846 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2847 open-paren, a comma, or a \.
2848 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2849 and line continuations.
2850 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2851 followed by implicit semi-colons. Add rule for string concatenation
2852 and for indentation at BOB.
2853 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2854
2855 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2856 calling next-sexp, since next-token may have skipped chars which
2857 next-sexp doesn't know should be skipped!
2858
2859 2013-10-05 Leo Liu <sdl.web@gmail.com>
2860
2861 * progmodes/octave.el (octave-send-region):
2862 Call compilation-forget-errors.
2863
2864 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2865
2866 * vc/vc-svn.el (vc-svn-find-admin-dir):
2867 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2868 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2869 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2870 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2871
2872 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2873
2874 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2875
2876 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * subr.el (read-passwd): Hide chars even when called within a context
2879 where after-change-functions is disabled (bug#15501).
2880 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2881 until we removed ourself from overriding-terminal-local-map.
2882
2883 2013-10-04 Leo Liu <sdl.web@gmail.com>
2884
2885 * progmodes/octave.el (inferior-octave-mode):
2886 Call compilation-forget-errors.
2887
2888 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2889
2890 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2891
2892 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2893
2894 * net/secrets.el (secrets-create-collection): Add optional
2895 argument ALIAS. Use proper Label keyword. Append ALIAS as
2896 dbus-call-method argument. (Bug#15516)
2897
2898 2013-10-04 Leo Liu <sdl.web@gmail.com>
2899
2900 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2901 (inferior-octave-compilation-font-lock-keywords): New variables.
2902 (compilation-error-regexp-alist)
2903 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2904 (inferior-octave-mode): Use compilation-shell-minor-mode.
2905
2906 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2907
2908 * minibuffer.el (completion--replace): Be careful that `end' might be
2909 a marker.
2910
2911 2013-10-03 Daiki Ueno <ueno@gnu.org>
2912
2913 Add support for package signature checking.
2914 * emacs-lisp/package.el (url-http-file-exists-p)
2915 (epg-make-context, epg-context-set-home-directory)
2916 (epg-verify-string, epg-context-result-for)
2917 (epg-signature-status, epg-signature-to-string)
2918 (epg-check-configuration, epg-configuration)
2919 (epg-import-keys-from-file): Declare.
2920 (package-check-signature): New user option.
2921 (package-unsigned-archives): New user option.
2922 (package-desc): Add `signed' field.
2923 (package-load-descriptor): Set `signed' field if .signed file exists.
2924 (package--archive-file-exists-p): New function.
2925 (package--check-signature): New function.
2926 (package-install-from-archive): Check package signature.
2927 (package--download-one-archive): Check archive signature.
2928 (package-delete): Remove .signed file.
2929 (package-import-keyring): New command.
2930 (package-refresh-contents): Import default keyring.
2931 (package-desc-status): Add "unsigned" status.
2932 (describe-package-1, package-menu--print-info)
2933 (package-menu-mark-delete, package-menu--find-upgrades)
2934 (package-menu--status-predicate): Support "unsigned" status.
2935
2936 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2937
2938 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2939 the new compilation scheme using the new byte-codes.
2940
2941 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2942 (byte-pophandler): New byte codes.
2943 (byte-goto-ops): Adjust accordingly.
2944 (byte-compile--use-old-handlers): New var.
2945 (byte-compile-catch): Use new byte codes depending on
2946 byte-compile--use-old-handlers.
2947 (byte-compile-condition-case--old): Rename from
2948 byte-compile-condition-case.
2949 (byte-compile-condition-case--new): New function.
2950 (byte-compile-condition-case): New function that dispatches depending
2951 on byte-compile--use-old-handlers.
2952 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2953 when we can.
2954
2955 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2956 Optimize under `condition-case' and `catch' if
2957 byte-compile--use-old-handlers is nil.
2958 (disassemble-offset): Handle new bytecodes.
2959
2960 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2961
2962 * subr.el (error): Use `declare'.
2963 (decode-char, encode-char): Use advertised-calling-convention instead
2964 of the docstring to discourage use of the `restriction' arg.
2965
2966 2013-10-03 Daiki Ueno <ueno@gnu.org>
2967
2968 * epg.el (epg-verify-file): Add a comment saying that it does not
2969 notify verification error as a return value nor a signal.
2970 (epg-verify-string): Ditto.
2971
2972 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2973
2974 * progmodes/compile.el (compilation-start): Try globbing the arg to
2975 `cd' (bug#15417).
2976
2977 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2978
2979 Sync with Tramp 2.2.8.
2980
2981 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2982 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2983 * net/trampver.el: Update release number.
2984
2985 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2986
2987 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2988 and default-process-coding-system for darwin only.
2989
2990 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2993
2994 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2995
2996 * vc/vc-git.el (vc-git-grep): Disable pager.
2997
2998 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2999
3000 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3001 Use :url instead of :homepage, as per
3002 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3003
3004 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3005 non-nil, use `syntax-ppss' (Bug#15251).
3006
3007 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3008
3009 * progmodes/octave.el (inferior-octave-startup-file):
3010 Prefer ~/.emacs.d/init_octave.m.
3011
3012 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3013
3014 * emacs-lisp/package.el (package-desc-from-define):
3015 Accept additional arguments as plist, convert them to an alist and store
3016 them in the `extras' slot.
3017 (package-generate-description-file): Convert extras alist back to
3018 plist and append to the `define-package' form arguments.
3019 (package--alist-to-plist): New function.
3020 (package--ac-desc): Add `extras' slot.
3021 (package--add-to-archive-contents): Check if the archive-contents
3022 vector is long enough, and if it is, pass its `extras' slot value
3023 to `package-desc-create'.
3024 (package-buffer-info): Call `lm-homepage', pass the returned value
3025 to `package-desc-from-define'.
3026 (describe-package-1): Render the homepage button (Bug#13291).
3027
3028 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3029 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3030
3031 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3032
3033 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3034 and default-process-coding-system to utf-8-unix (Bug#15402).
3035
3036 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3037
3038 * subr.el (looking-back): Do not recommend using looking-back.
3039
3040 2013-09-28 Alan Mackenzie <acm@muc.de>
3041
3042 Fix indentation/fontification of Java enum with "implements".
3043
3044 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3045 regexp which matches "implements", etc., in Java.
3046 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3047 specifier clauses coming after "enum".
3048 * progmodes/cc-fonts.el (c-font-lock-declarations)
3049 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3050 after "enum".
3051
3052 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3053
3054 * faces.el (region): Change ns_selection_color to
3055 ns_selection_fg_color, add ns_selection_bg_color.
3056
3057 2013-09-28 Leo Liu <sdl.web@gmail.com>
3058
3059 * progmodes/octave.el (inferior-octave-completion-table)
3060 (inferior-octave-completion-at-point): Minor tweaks.
3061
3062 * textmodes/ispell.el (ispell-lookup-words): Rename from
3063 lookup-words. (Bug#15460)
3064 (lookup-words): Obsolete.
3065 (ispell-complete-word, ispell-command-loop): All uses changed.
3066
3067 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3068
3069 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3070 (octave-mode-menu): Add octave-send-buffer.
3071 (octave-send-buffer): New function.
3072
3073 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3074
3075 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3076 octave-lookfor.
3077 (octave-mode-menu): Add octave-lookfor.
3078 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3079 octave-lookfor.
3080 (octave-lookfor): New function.
3081
3082 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3083
3084 * emacs-lisp/cl-macs.el:
3085 (cl--loop-destr-temps): Remove.
3086 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3087 its convention.
3088 (cl--loop-set-iterator-function): New function.
3089 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3090 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3091 Bind `it' with `let' instead of substituting it with `cl-subst'.
3092 (cl--unused-var-p): New function.
3093 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3094 Eliminate some unused variable warnings (bug#15326).
3095
3096 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3097
3098 * doc-view.el (doc-view-scale-reset): Rename from
3099 `doc-view-reset-zoom-level'.
3100 (doc-view-scale-adjust): New command.
3101 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3102 `doc-view-scale-adjust'.
3103
3104 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3105
3106 * doc-view.el (doc-view-reset-zoom-level): New command.
3107 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3108 zoom commands (bug#15466).
3109
3110 2013-09-26 Kenichi Handa <handa@gnu.org>
3111
3112 * international/quail.el (quail-help): Make it not a command.
3113
3114 2013-09-26 Leo Liu <sdl.web@gmail.com>
3115
3116 * minibuffer.el (completion-all-sorted-completions): Make args
3117 optional as they are.
3118
3119 2013-09-25 Daniel Colascione <dancol@dancol.org>
3120
3121 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3122 specs are and that they're not evaluated.
3123
3124 2013-09-24 Sam Steingold <sds@gnu.org>
3125
3126 * midnight.el (clean-buffer-list-kill-regexps)
3127 (clean-buffer-list-kill-buffer-names): Update for the new Man
3128 buffer naming which includes the object name.
3129
3130 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3131
3132 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3133 (eshell-parse-command, eshell-parse-pipeline): Use it since
3134 eshell-separate-commands requires a dynamic scoped var.
3135 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3136
3137 2013-09-23 Leo Liu <sdl.web@gmail.com>
3138
3139 * autoinsert.el (auto-insert-alist): Make the value of
3140 lexical-binding match its file setting.
3141
3142 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3143
3144 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3145
3146 * autoarg.el (autoarg-kp-digit-argument):
3147 * electric.el (Electric-command-loop):
3148 * kmacro.el (kmacro-step-edit-insert):
3149 Do not set universal-argument-num-events.
3150
3151 2013-09-22 Leo Liu <sdl.web@gmail.com>
3152
3153 * files.el (interpreter-mode-alist): Add octave.
3154
3155 2013-09-21 Alan Mackenzie <acm@muc.de>
3156
3157 C++: fontify identifier in declaration following "public:" correctly.
3158 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3159 to match "public", etc.
3160 (c-decl-prefix-re): Add ":" into the C++ value.
3161 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3162 bit. Add a check for a ":" preceded by "public", etc.
3163
3164 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3165
3166 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3167 recognized by GDB 7.5 and later.
3168
3169 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3170
3171 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3172
3173 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3174
3175 * subr.el (internal--call-interactively): New const.
3176 (called-interactively-p): Use it (bug#3984).
3177
3178 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3179
3180 * vc/pcvs.el (cvs-mode-ignore):
3181 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3182 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3183
3184 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3187 (eshell-ls-orig-insert-directory): Remove.
3188 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3189 (eshell-ls-use-in-dired): Use advice-add/remove.
3190 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3191 Add `orig-fun' arg for use in :around advice.
3192 Make it check (redundantly) eshell-ls-use-in-dired.
3193
3194 2013-09-19 Glenn Morris <rgm@gnu.org>
3195
3196 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3197
3198 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3199
3200 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3201
3202 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3203
3204 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3205 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3206 (tramp-get-remote-python): New defuns.
3207 (tramp-get-remote-uid-with-perl)
3208 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3209 contributed by yary <not.com@gmail.com> (tiny change).
3210 (tramp-get-remote-uid-with-python)
3211 (tramp-get-remote-gid-with-python): New defuns. Python code
3212 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3213 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3214
3215 2013-09-19 Glenn Morris <rgm@gnu.org>
3216
3217 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3218
3219 * eshell/em-unix.el (eshell-remove-entries):
3220 Rename argument to avoid name-clash with global `top-level'.
3221
3222 * eshell/esh-proc.el (eshell-kill-process-function):
3223 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3224 (eshell-reset-after-proc): Remove unused arg `proc'.
3225
3226 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3227 (directory-files-and-attributes): Mark unused arg.
3228
3229 * eshell/em-unix.el (eshell-remove-entries):
3230 Remove unused arg `path'. Update callers.
3231
3232 * eshell/em-hist.el (eshell-hist-parse-arguments):
3233 Remove unused arg `silent'. Update callers.
3234
3235 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3236 Fix (f)boundp mix-up.
3237
3238 * eshell/em-smart.el (eshell-smart-scroll-window)
3239 (eshell-disable-after-change):
3240 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3241
3242 2013-09-18 Alan Mackenzie <acm@muc.de>
3243
3244 Fix fontification of type when followed by "const".
3245 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3246 "known" types from fontification.
3247
3248 2013-09-18 Glenn Morris <rgm@gnu.org>
3249
3250 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3251 (chart-face-list): Drop Emacsen without display-color-p.
3252
3253 * net/eww.el (libxml-parse-html-region): Declare.
3254 (eww-display-html): Explicit error if no libxml2 support.
3255
3256 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3257
3258 * image.el (image-type-from-buffer, image-multi-frame-p):
3259 Remove --without-x warning/error.
3260
3261 * mouse.el (mouse-yank-primary):
3262 * term.el (term-mouse-paste):
3263 Reorder to silence --without-x compilation.
3264
3265 * mpc.el (doc-view-mode): Silence --without-x compilation.
3266
3267 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3268 Silence --without-x compilation.
3269
3270 * progmodes/gud.el (gud-find-file, gud-mode):
3271 Silence --without-x compilation.
3272 (tooltip-mode): Declare.
3273
3274 * wdired.el (dired-backup-overwrite): Remove declaration.
3275 (wdired-mode-map): Add doc string.
3276
3277 * custom.el (x-get-resource): Declare.
3278
3279 * eshell/em-glob.el (ange-cache):
3280 * eshell/em-unix.el (ange-cache): Declare.
3281
3282 * faces.el (x-display-list, x-open-connection, x-get-resource):
3283 Declare.
3284
3285 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3286 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3287 Declare.
3288
3289 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3290
3291 * net/gnutls.el (gnutls-log-level): Declare.
3292
3293 * net/shr.el (image-size, image-animate): Declare.
3294
3295 * simple.el (font-info): Declare.
3296
3297 * subr.el (x-popup-dialog): Declare.
3298
3299 * term/common-win.el (x-select-enable-primary)
3300 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3301 Declare.
3302
3303 * term/ns-win.el (x-handle-args): Declare.
3304
3305 * term/x-win.el (x-select-enable-clipboard): Declare.
3306
3307 * term/w32-win.el (create-default-fontset): Declare.
3308
3309 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3310 Declare.
3311
3312 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3313 (fit-frame-to-buffer): Explicit error if --without-x.
3314 (mouse-autoselect-window-select): Silence compiler.
3315
3316 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3317
3318 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3319 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3320 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3321 * eshell/esh-util.el (eshell-sublist):
3322 Remove unused local variables.
3323
3324 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3325
3326 * textmodes/two-column.el: Make 2C-split work for --without-x.
3327 (scroll-bar-columns): Autoload.
3328 (top-level): Require fringe when compiling.
3329
3330 2013-09-18 Leo Liu <sdl.web@gmail.com>
3331
3332 * subr.el (add-hook): Robustify to handle closure as well.
3333
3334 2013-09-17 Glenn Morris <rgm@gnu.org>
3335
3336 * simple.el (messages-buffer-mode-map): Unbind "g".
3337
3338 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * help-mode.el (help-mode-finish): Use derived-mode-p.
3341 Remove obsolete highlighting.
3342
3343 * play/life.el (life-mode): Use define-derived-mode. Derive from
3344 special-mode.
3345 (life): Let-bind inhibit-read-only.
3346 (life-setup): Avoid `setq'. Use `life-mode'.
3347
3348 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3349 which should not be needed any more.
3350 (package-menu-refresh, package-menu-describe-package): Use user-error.
3351
3352 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3353 (eshell-post-rewrite-command-hook): Make obsolete.
3354 (eshell-parse-command): Simplify.
3355 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3356 (eshell--cmd): Declare.
3357 (eshell-parse-pipeline): Remove unused var `final-p'.
3358 Pass a dynvar to eshell-post-rewrite-command-hook.
3359 Implement the new eshell-post-rewrite-command-function.
3360 (eshell-invoke-directly): Remove unused arg `input'.
3361 * eshell/esh-io.el (eshell-io-initialize):
3362 Use eshell-post-rewrite-command-function (bug#15399).
3363 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3364 adjust to new calling convention.
3365 (eshell-create-handles): Rename args to avoid clashing with dynvar
3366 `standard-output'.
3367
3368 2013-09-17 Glenn Morris <rgm@gnu.org>
3369
3370 * simple.el (messages-buffer-mode): New major mode.
3371 (messages-buffer): New function.
3372 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3373 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3374 (ert-run-test): Use `messages-buffer' function.
3375 (ert--force-message-log-buffer-truncation): Ignore read-only.
3376 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3377 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3378
3379 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3380
3381 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3382
3383 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3384
3385 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * icomplete.el (icomplete-in-buffer): New var.
3388 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3389 vars and replace them with functions.
3390 (icomplete-minibuffer-setup): Adjust accordingly.
3391 (icomplete--completion-table, icomplete--completion-predicate)
3392 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3393 New functions.
3394 (icomplete-forward-completions, icomplete-backward-completions)
3395 (icomplete-simple-completing-p, icomplete-exhibit)
3396 (icomplete-completions): Use them.
3397 (icomplete--in-region-buffer): New var.
3398 (icomplete--in-region-setup): New function.
3399 (icomplete-mode): Use it.
3400
3401 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3402 (bug#15379).
3403 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3404 return args and options.
3405 (eshell-eval-using-options): Use the new return value of
3406 eshell--do-opts to set the options's vars in their scope.
3407 (eshell--set-option): Rename from eshell-set-option.
3408 Add arg `opt-vals'.
3409 (eshell--process-option): Rename from eshell-process-option.
3410 Add arg `opt-vals'.
3411 (eshell--process-args): Use an `opt-vals' alist to store the options's
3412 values during their processing and return them additionally to the
3413 remaining args.
3414
3415 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3416
3417 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3418 continuation character an operator, as far as indentation is
3419 concerned (Bug#15369).
3420
3421 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3422
3423 * window.el (window--state-put-2): Don't process buffer state
3424 when buffer doesn't exist any more (Bug#15382).
3425
3426 2013-09-15 Glenn Morris <rgm@gnu.org>
3427
3428 * eshell/em-unix.el (eshell/rm):
3429 Make -f ignore missing files. (Bug#15373)
3430
3431 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3432 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3433 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3434
3435 2013-09-14 Glenn Morris <rgm@gnu.org>
3436
3437 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3438
3439 2013-09-13 Glenn Morris <rgm@gnu.org>
3440
3441 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3442 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3443
3444 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3445
3446 * frame.el (x-focus-frame): Mark as declared in frame.c.
3447
3448 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * ls-lisp.el: Use advice-add.
3451 (original-insert-directory): Remove.
3452 (ls-lisp--insert-directory): Rename from insert-directory; add
3453 `orig-fun' argument.
3454 (insert-directory): Advise.
3455
3456 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3457
3458 * term.el (term-emulate-terminal): Decode the command string
3459 before passing it to term-command-hook. (Bug#15337)
3460
3461 2013-09-13 Glenn Morris <rgm@gnu.org>
3462
3463 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3464
3465 * eshell/esh-ext.el (eshell-search-path): Declare.
3466
3467 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3468 Otherwise an error occurs if eshell-dirs module not loaded.
3469
3470 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3471
3472 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3473
3474 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3475 `tramp-check-proper-host'. Check for a valid method name.
3476
3477 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3478 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3479 * net/tramp-sh.el (tramp-maybe-open-connection):
3480 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3481
3482 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3483 also for hash values.
3484
3485 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * term/ns-win.el (parameters): Don't declare as dynamic.
3488 (before-make-frame-hook): Don't add ineffective function.
3489
3490 * eshell/*.el: Use lexical-binding (bug#15231).
3491
3492 2013-09-12 Kenichi Handa <handa@gnu.org>
3493
3494 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3495
3496 2013-09-12 Glenn Morris <rgm@gnu.org>
3497
3498 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3499 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3500
3501 * subr.el (do-after-load-evaluation): Also give compiler warnings
3502 when obsolete files are used (except by obsolete files).
3503
3504 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3505 in the status output, assume `filename' is the first. (Bug#15322)
3506
3507 * vc/vc.el (vc-deduce-fileset): Doc fix.
3508
3509 * calc/calc-help.el (Info-goto-node):
3510 * progmodes/cperl-mode.el (Info-find-node):
3511 * vc/ediff.el (Info-goto-node): Update declarations.
3512
3513 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3514
3515 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3516 (vc-bzr-pull): Require vc-dispatcher.
3517 * vc/vc-git.el (vc-compilation-mode): Declare.
3518 (vc-git-pull): Require vc-dispatcher.
3519
3520 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3521
3522 * progmodes/octave.el (help-button-action): Declare.
3523
3524 * shell.el (shell-directory-tracker): Output error as a message
3525 rather than just returning it as a string.
3526 (shell-process-pushd): Remove useless use of message.
3527
3528 * dframe.el (dframe-timer-fn):
3529 * files.el (dir-locals-read-from-file):
3530 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3531 (mpc-format):
3532 * reveal.el (reveal-post-command):
3533 * saveplace.el (load-save-place-alist-from-file):
3534 * shell.el (shell-resync-dirs):
3535 * w32-common-fns.el (x-get-selection-value):
3536 * emacs-lisp/copyright.el (copyright-find-copyright):
3537 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3538 * emulation/tpu-edt.el (tpu-copy-keyfile):
3539 * play/bubbles.el (bubbles--mark-neighbourhood):
3540 * progmodes/executable.el
3541 (executable-make-buffer-file-executable-if-script-p):
3542 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3543
3544 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 Cleanup Eshell to rely less on dynamic scoping.
3547 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3548 last-value, and ext-command here. Bind `args' closer to `body'.
3549 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3550 (eshell--args): Declare new dynamic var.
3551 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3552 last-value, and ext-command. Pass `args' to `body'.
3553 (eshell-process-args): Bind eshell--args.
3554 (eshell-set-option): Use eshell--args.
3555 * eshell/eshell.el (eshell): Use derived-mode-p.
3556 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3557 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3558 (eshell-glob-function): Declare.
3559 * eshell/esh-util.el: Require cl-lib.
3560 (eshell-read-hosts-file): Avoid add-to-list.
3561 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3562 `err'.
3563 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3564 Declare.
3565 (eshell/diff): Remove unused var `err'.
3566 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3567 `killflag'.
3568 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3569 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3570 first use.
3571 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3572 Move declaration before first use.
3573 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3574 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3575 rely on cl-return.
3576
3577 2013-09-12 Glenn Morris <rgm@gnu.org>
3578
3579 * term/ns-win.el (global-map): Remove binding for ispell-next,
3580 deleted 1999-05-29. (Bug#15357)
3581
3582 2013-09-11 Glenn Morris <rgm@gnu.org>
3583
3584 * echistory.el (electric-command-history): Remove call to deleted func.
3585
3586 * play/landmark.el (landmark-mode): Fix typos.
3587
3588 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3589 Check cvs-sort-ignore-file is bound.
3590
3591 * savehist.el: No need for cl when compiling on Emacs.
3592
3593 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3596 (bug#15338).
3597 (eshell-self-insert-command, eshell-send-invisible):
3598 Remove unused argument.
3599 (eshell-handle-control-codes): Remove unused var `orig'.
3600 Avoid delete-backward-char.
3601
3602 * files.el (set-auto-mode): Simplify a bit further.
3603
3604 2013-09-11 Glenn Morris <rgm@gnu.org>
3605
3606 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3607 (set-auto-mode): Don't regexp-quote elements.
3608 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3609 * progmodes/cc-mode.el (interpreter-mode-alist):
3610 * progmodes/ruby-mode.el (interpreter-mode-alist):
3611 Revert previous change.
3612
3613 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * play/snake.el (snake-mode):
3616 * play/mpuz.el (mpuz-mode):
3617 * play/landmark.el (lm-mode):
3618 * play/blackbox.el (blackbox-mode):
3619 * play/5x5.el (5x5-mode):
3620 * obsolete/options.el (Edit-options-mode):
3621 * net/quickurl.el (quickurl-list-mode):
3622 * net/newst-treeview.el (newsticker-treeview-mode):
3623 * mail/rmailsum.el (rmail-summary-mode):
3624 * mail/mspools.el (mspools-mode):
3625 * locate.el (locate-mode):
3626 * ibuffer.el (ibuffer-mode):
3627 * emulation/ws-mode.el (wordstar-mode):
3628 * emacs-lisp/debug.el (debugger-mode):
3629 * array.el (array-mode):
3630 * net/eudc.el (eudc-mode): Use define-derived-mode.
3631 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3632 Move initialization into declaration.
3633 (mairix-searches-mode): Use define-derived-mode.
3634 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3635 (eudc-edit-hotlist): Use dolist.
3636 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3637 (Man-mode): Use define-derived-mode.
3638 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3639 (Info-edit-mode): Use define-derived-mode.
3640 (Info-cease-edit): Use Info-mode.
3641 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3642 into declaration.
3643 (eshell-mode): Use define-derived-mode.
3644 * chistory.el (command-history-mode-map): Rename from
3645 command-history-map.
3646 (command-history-mode): Use define-derived-mode.
3647 (Command-history-setup): Remove function.
3648 * calc/calc.el (calc-trail-mode-map): New var.
3649 (calc-trail-mode): Use define-derived-mode.
3650 (calc-trail-buffer): Set calc-main-buffer manually.
3651 * bookmark.el (bookmark-insert-annotation): New function.
3652 (bookmark-edit-annotation): Use it.
3653 (bookmark-edit-annotation-mode): Make it a proper major mode.
3654 (bookmark-send-edited-annotation): Use derived-mode-p.
3655 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3656 closer to its ideal place. Use \' to match EOS.
3657
3658 * profiler.el (profiler-calltree-find): Use function-equal.
3659
3660 2013-09-10 Glenn Morris <rgm@gnu.org>
3661
3662 * files.el (interpreter-mode-alist): Convert to regexps.
3663 (set-auto-mode): Adapt for this. (Bug#15306)
3664 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3665 Comment out unused variable.
3666 * progmodes/cc-mode.el (interpreter-mode-alist):
3667 * progmodes/python.el (interpreter-mode-alist):
3668 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3669 * progmodes/sh-script.el (sh-set-shell):
3670 No longer use interpreter-mode-alist to get list of shells.
3671
3672 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3673
3674 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * simple.el: Use set-temporary-overlay-map for universal-argument.
3677 (universal-argument-map): Don't use default-bindings (bug#15317).
3678 Bind switch-frame explicitly. Replace universal-argument-minus with
3679 a conditional binding.
3680 (universal-argument-num-events, saved-overriding-map): Remove.
3681 (restore-overriding-map): Remove.
3682 (universal-argument--mode): Rename from save&set-overriding-map,
3683 and rewrite.
3684 (universal-argument, universal-argument-more, negative-argument)
3685 (digit-argument): Adjust accordingly.
3686 (universal-argument-minus): Remove.
3687 (universal-argument-other-key): Remove.
3688
3689 * subr.el (with-demoted-errors): Add `format' argument.
3690
3691 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3692
3693 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3694 `tramp-cleanup-connection'.
3695
3696 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3697 parameters KEEP-DEBUG and KEEP-PASSWORD.
3698
3699 * net/tramp.el (tramp-file-name-handler):
3700 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3701 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3702 (tramp-maybe-open-connection):
3703 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3704 Use `tramp-cleanup-connection'.
3705
3706 * net/tramp-sh.el (tramp-maybe-open-connection):
3707 Catch 'uname-changed inside the progress reporter.
3708
3709 2013-09-10 Glenn Morris <rgm@gnu.org>
3710
3711 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3712
3713 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3714 returns "alternate access method" in mode (eg "-rw-r--r--.").
3715
3716 2013-09-08 Glenn Morris <rgm@gnu.org>
3717
3718 * saveplace.el (load-save-place-alist-from-file):
3719 Demote errors. (Bug#15305)
3720
3721 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3722
3723 Improve compatibility with older Emacsen, and XEmacs.
3724
3725 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3726 only if it is bound. It isn't for XEmacs.
3727 (with-tramp-progress-reporter): Do not let-bind `result'.
3728 This yields to scoping errors in XEmacs.
3729 (tramp-handle-make-auto-save-file-name): New function, moved from
3730 tramp-sh.el.
3731
3732 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3733 for `make-auto-save-file-name'.
3734 (tramp-adb--gnu-switches-to-ash):
3735 Use `tramp-compat-replace-regexp-in-string'.
3736
3737 * net/tramp-cache.el (tramp-cache-print): Call
3738 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3739
3740 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3741 bound. It isn't for XEmacs.
3742
3743 * net/tramp-compat.el (tramp-compat-copy-file):
3744 Catch `wrong-number-of-arguments' error.
3745 (tramp-compat-replace-regexp-in-string): New defun.
3746
3747 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3748 for `make-auto-save-file-name'.
3749 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3750 `copy-file'.
3751 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3752 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3753 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3754
3755 * net/tramp-gw.el (tramp-gw-open-network-stream):
3756 Use `tramp-compat-replace-regexp-in-string'.
3757
3758 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3759 Call `tramp-handle-make-auto-save-file-name'.
3760 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3761 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3762 (tramp-sh-file-inotifywait-process-filter):
3763 Use `tramp-compat-replace-regexp-in-string'.
3764 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3765
3766 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3767 for `make-auto-save-file-name'.
3768 (tramp-smb-handle-copy-directory):
3769 Call `tramp-compat-replace-regexp-in-string'.
3770 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3771 (tramp-smb-handle-copy-file): Improve error message.
3772 (tramp-smb-handle-rename-file): Rename directly only in case
3773 `newname' does not exist yet. This is a restriction of smbclient.
3774 (tramp-smb-maybe-open-connection): Rerun the function only when
3775 `auth-sources' is non-nil.
3776
3777 2013-09-08 Kenichi Handa <handa@gnu.org>
3778
3779 * international/characters.el: Set category "^" (Combining) for
3780 more characters.
3781
3782 2013-09-07 Alan Mackenzie <acm@muc.de>
3783
3784 Correctly fontify Java class constructors.
3785 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3786 in Java Mode.
3787 (c-recognize-typeless-decls): Set the Java value to t.
3788 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3789 While handling a "(", add a check for, effectively, Java, and handle a
3790 "typeless" declaration there.
3791
3792 2013-09-07 Roland Winkler <winkler@gnu.org>
3793
3794 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3795 field subtitle for entry type book.
3796
3797 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * minibuffer.el: Make minibuffer-complete call completion-in-region
3800 rather than other way around.
3801 (completion--some, completion-pcm--find-all-completions):
3802 Don't delay signals when debugging.
3803 (minibuffer-completion-contents): Beware fields within the
3804 minibuffer contents.
3805 (completion-all-sorted-completions): Use defvar-local.
3806 (completion--do-completion, completion--cache-all-sorted-completions)
3807 (completion-all-sorted-completions, minibuffer-force-complete):
3808 Add args `beg' and `end'.
3809 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3810 (minibuffer-complete): Use completion-in-region.
3811 (completion-complete-and-exit): New fun, extracted from
3812 minibuffer-complete-and-exit.
3813 (minibuffer-complete-and-exit): Use it.
3814 (completion--complete-and-exit): Rename from
3815 minibuffer--complete-and-exit.
3816 (completion-in-region--single-word): New function, extracted from
3817 minibuffer-complete-word.
3818 (minibuffer-complete-word): Use it.
3819 (display-completion-list): Make `common-substring' argument obsolete.
3820 (completion--in-region): Call completion--in-region-1 instead of
3821 minibuffer-complete.
3822 (completion-help-at-point): Pass boundaries to
3823 minibuffer-completion-help as args rather than via an overlay.
3824 (completion-pcm--string->pattern): Use `any-delim'.
3825 (completion-pcm--optimize-pattern): New function.
3826 (completion-pcm--pattern->regex): Handle `any-delim'.
3827 * icomplete.el (icomplete-forward-completions)
3828 (icomplete-backward-completions, icomplete-completions):
3829 Adjust calls to completion-all-sorted-completions and
3830 completion--cache-all-sorted-completions.
3831 (icomplete-with-completion-tables): Default to t.
3832 * emacs-lisp/crm.el (crm--current-element): Rename from
3833 crm--select-current-element. Don't put an overlay but return the
3834 boundaries instead.
3835 (crm--completion-command): Take two new args to bind to the boundaries.
3836 (crm-completion-help): Adjust accordingly.
3837 (crm-complete): Use completion-in-region.
3838 (crm-complete-word): Use completion-in-region--single-word.
3839 (crm-complete-and-exit): Use completion-complete-and-exit.
3840
3841 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3844 than dynamically.
3845
3846 2013-09-06 Juri Linkov <juri@jurta.org>
3847
3848 * info.el (Info-display-images-node): When image file doesn't exist
3849 display text version of the image if it's provided in the Info file.
3850 Otherwise, display the location of missing image from SRC attribute.
3851 Add help-echo text property from ALT attribute. (Bug#15279)
3852
3853 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3856 (edit-abbrevs-mode): Use define-derived-mode.
3857
3858 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3859 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3860 that it's defined.
3861 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3862 Use define-derived-mode.
3863
3864 * epg.el (epg-start-encrypt): Minor CSE simplification.
3865
3866 2013-09-06 William Xu <william.xwl@gmail.com>
3867
3868 * arc-mode.el: Add support for 7za (bug#15264).
3869 (archive-7z-program): New var.
3870 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3871 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3872 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3873
3874 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3875
3876 Remove URL syntax.
3877
3878 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3879 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3880 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3881 (tramp-postfix-host-format, tramp-file-name-regexp)
3882 (tramp-completion-file-name-regexp)
3883 (tramp-completion-dissect-file-name)
3884 (tramp-handle-substitute-in-file-name): Remove 'url case.
3885 (tramp-file-name-regexp-url)
3886 (tramp-completion-file-name-regexp-url): Remove constants.
3887
3888 2013-09-06 Glenn Morris <rgm@gnu.org>
3889
3890 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3891
3892 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3893
3894 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3895 keywords" below "here-doc beginnings" (Bug#15270).
3896
3897 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3898
3899 * subr.el (pop): Use `car-safe'.
3900 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3901 to detect unused `pop' return value.
3902
3903 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3904 var `block-regexp'.
3905 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3906 (python-fill-string): Remove unused var `marker'.
3907 (python-skeleton-add-menu-items): Remove unused var `items'.
3908
3909 * international/mule-cmds.el: Require CL.
3910 (find-coding-systems-for-charsets): Avoid add-to-list.
3911 (sanitize-coding-system-list): New function, extracted from
3912 select-safe-coding-system-interactively.
3913 (select-safe-coding-system-interactively): Use it.
3914 (read-input-method-name): Accept symbols for `default'.
3915
3916 * emacs-lisp/advice.el (defadvice): Add indent rule.
3917
3918 2013-09-05 Daniel Hackney <dan@haxney.org>
3919
3920 * dired-x.el:
3921 * net/ange-ftp.el:
3922 * net/browse-url.el:
3923 * net/dbus.el:
3924 * net/eudc.el:
3925 * net/eudcb-ldap.el:
3926 * net/eww.el:
3927 * net/imap.el:
3928 * printing.el:
3929 * vc/ediff-diff.el:
3930 * vc/ediff-init.el:
3931 * vc/ediff-merg.el:
3932 * vc/ediff-mult.el:
3933 * vc/ediff-util.el:
3934 * vc/ediff-wind.el:
3935 * vc/ediff.el:
3936 * vc/emerge.el:
3937 * vc/pcvs.el:
3938 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3939 byte compiler. Remove some unused let-bound variables.
3940
3941 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3944 a "ref-cell", since it gets better optimized (bug#14883).
3945
3946 2013-09-05 Glenn Morris <rgm@gnu.org>
3947
3948 * progmodes/cc-awk.el (c-forward-sws): Declare.
3949
3950 2013-09-04 Glenn Morris <rgm@gnu.org>
3951
3952 * generic-x.el [rul-generic-mode]: Require cc-mode.
3953 (c++-mode-syntax-table): Declare.
3954 (rul-generic-mode-syntax-table): Init in the defvar.
3955
3956 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3959 (vc-do-command, vc-set-async-update):
3960 * vc/vc-mtn.el (vc-mtn-dir-status):
3961 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3962 (vc-hg-pull, vc-hg-merge-branch):
3963 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3964 (vc-git-merge-branch):
3965 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3966 (vc-cvs-dir-status-files):
3967 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3968 (vc-bzr-dir-status-files):
3969 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3970 * vc/vc-annotate.el: Use lexical-binding.
3971 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3972 (vc-sentinel-movepoint): Declare.
3973 (vc-annotate): Don't use `goto-line'.
3974 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3975 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3976 (vc-sentinel-movepoint): Declare.
3977 * vc/vc-svn.el: Use lexical-binding.
3978 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3979 * vc/vc-sccs.el:
3980 * vc/vc-rcs.el: Use lexical-binding.
3981
3982 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3983 `deleted'. Don't drop errors silently.
3984
3985 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3986
3987 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3988
3989 * vc/vc.el (vc-ignore): Rewrite.
3990 (vc-default-ignore): New function.
3991 (vc-default-ignore-completion-table): Use find-ignore-file.
3992
3993 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3994 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3995 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3996 Remove. Most code moved to vc.el.
3997
3998 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3999
4000 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4001 * net/tramp-smb.el (tramp-smb-get-file-entries):
4002 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4003 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4004
4005 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4006 Update call to it.
4007 (eww-change-select): Remove unused var `properties'.
4008 (eww-make-unique-file-name): Remove unused var `base'.
4009
4010 * finder.el (finder-compile-keywords): Don't mess with windows.
4011
4012 * calculator.el (calculator-funcall): Fix typo in last change.
4013
4014 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4015
4016 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4017 <pkg>-autoloads.el file stop us.
4018
4019 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4020 warnings, and factor out common code.
4021
4022 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4023
4024 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4025 two-character operators and whether the character preceding them
4026 changes their meaning (Bug#15208).
4027
4028 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4029
4030 Format code sent to Python shell for robustness.
4031 * progmodes/python.el (python-shell-buffer-substring):
4032 New function.
4033 (python-shell-send-region, python-shell-send-buffer): Use it.
4034
4035 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4036
4037 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4038 * net/tramp.el (tramp-user-error): ... here.
4039 (tramp-find-method, tramp-check-proper-host)
4040 (tramp-dissect-file-name, tramp-debug-message)
4041 (tramp-handle-shell-command):
4042 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4043 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4044
4045 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4046
4047 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4048
4049 * avoid.el (mouse-avoidance-point-position)
4050 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4051 returns nil.
4052
4053 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4054
4055 * progmodes/python.el (python-shell-completion-get-completions):
4056 Drop use of deleted `comint-last-prompt-overlay'.
4057 (python-nav-if-name-main): New command.
4058
4059 2013-09-01 Glenn Morris <rgm@gnu.org>
4060
4061 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4062 Avoid leading space in $wins. Otherwise the sed command used by
4063 eg compile-main ends up containing "/*.el". (Bug#15170)
4064
4065 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4066
4067 2013-08-30 Glenn Morris <rgm@gnu.org>
4068
4069 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4070 Fix is-this-a-directory logic. (Bug#15220)
4071
4072 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4073
4074 * textmodes/css-mode.el: Use SMIE.
4075 (css-smie-grammar): New var.
4076 (css-smie--forward-token, css-smie--backward-token)
4077 (css-smie-rules): New functions.
4078 (css-mode): Use them.
4079 (css-navigation-syntax-table): Remove var.
4080 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4081 (css-indent-calculate, css-indent-line): Remove functions.
4082
4083 Misc changes to reduce use of `(lambda...); and other cleanups.
4084 * cus-edit.el: Use lexical-binding.
4085 (customize-push-and-save, customize-apropos)
4086 (custom-buffer-create-internal): Use closures.
4087 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4088 * progmodes/ada-xref.el: Use setq.
4089 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4090 * dframe.el: Use lexical-binding.
4091 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4092 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4093 * descr-text.el: Use lexical-binding.
4094 (describe-text-widget, describe-text-sexp, describe-property-list):
4095 Use closures.
4096 * comint.el (comint-history-isearch-push-state): Use a closure.
4097 * calculator.el: Use lexical-binding.
4098 (calculator-number-to-string): Make it work with lexical-binding.
4099 (calculator-funcall): Same and use cl-letf.
4100
4101 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4102 (lisp--company-doc-string, lisp--company-location): New functions.
4103 (lisp-completion-at-point): Use them to improve Company support.
4104
4105 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4106 params of lambda expressions.
4107 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4108 (ruby-smie--opening-pipe-p): New function.
4109 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4110 symbols and matched |...| for formal params.
4111 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4112 from being treated as hanging. Handle "rescue".
4113
4114 2013-08-29 Glenn Morris <rgm@gnu.org>
4115
4116 * progmodes/cc-engine.el (c-pull-open-brace):
4117 Move definition before use.
4118
4119 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4120
4121 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4122 are immutable. Don't use `unsafe' any more.
4123 (cl--defsubst-expand): Don't substitute at the same time as keeping
4124 a residual unused let-binding. Don't use `unsafe' any more.
4125
4126 2013-08-29 Glenn Morris <rgm@gnu.org>
4127
4128 * calendar/cal-china.el (calendar-chinese-year-cache):
4129 Recenter on 2015.
4130
4131 * nxml/nxml-util.el (nxml-debug-clear-inside):
4132 Use cl-loop rather than loop.
4133
4134 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4135
4136 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4137
4138 2013-08-28 Glenn Morris <rgm@gnu.org>
4139
4140 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4141
4142 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4143
4144 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4145
4146 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * simple.el (repeat-complex-command--called-interactively-skip):
4149 New function.
4150 (repeat-complex-command): Use it (bug#14136).
4151
4152 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4153 (c-define-abbrev-table): Add `doc' argument.
4154 (c-mode-abbrev-table, c++-mode-abbrev-table)
4155 (objc-mode-abbrev-table, java-mode-abbrev-table)
4156 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4157 (awk-mode-abbrev-table): Use it.
4158 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4159 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4160 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4161 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4162 Move initialization into the declaration; and remove any
4163 autoload cookie.
4164
4165 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4166 and dynamic let binding.
4167
4168 * vc/smerge-mode.el: Remove redundant :group args.
4169
4170 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4171 to load-path.
4172
4173 2013-08-28 Juri Linkov <juri@jurta.org>
4174
4175 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4176 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4177 (isearch-other-meta-char): Handle an undefined shifted printing
4178 character by downshifting it. (Bug#15200)
4179
4180 2013-08-28 Juri Linkov <juri@jurta.org>
4181
4182 * isearch.el (isearch-search): Change regexp error message for
4183 non-regexp searches. (Bug#15166)
4184
4185 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4186
4187 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4188 for portability to hosts where /bin/sh has problems.
4189
4190 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4193
4194 2013-08-27 Juri Linkov <juri@jurta.org>
4195
4196 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4197 in the keyboard macro. (Bug#15126)
4198
4199 2013-08-27 Juri Linkov <juri@jurta.org>
4200
4201 * isearch.el (isearch-quote-char): Comment out converting unibyte
4202 to multibyte, thus syncing with its `quoted-insert' counterpart.
4203 (Bug#15166)
4204
4205 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4206
4207 * window.el (display-buffer-use-some-window): Add missing
4208 argument in call of get-largest-window (Bug#15185).
4209 Reported by Stephen Leake.
4210
4211 2013-08-27 Glenn Morris <rgm@gnu.org>
4212
4213 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4214
4215 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4218 from a matcher-function unless there's no more matches (bug#15161).
4219
4220 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4221
4222 * minibuffer.el: Revert change from 2013-08-20.
4223
4224 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4225 with text property `tramp-default', if appropriate.
4226 (tramp-check-proper-host): New defun.
4227 (tramp-dissect-file-name): Do not check hostname. Revert change
4228 of 2013-03-18.
4229 (tramp-backtrace): Make VEC-OR-PROC optional.
4230
4231 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4232 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4233 * net/tramp-sh.el (tramp-maybe-open-connection):
4234 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4235 Apply `tramp-check-proper-host'.
4236
4237 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4238
4239 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4240 lambda expression in order to have `describe-variable' display it.
4241
4242 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4243
4244 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4245 BUF can be optional. (Bug#15186)
4246
4247 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4248
4249 * progmodes/flymake.el (flymake-get-real-file-name-function):
4250 Fix broken customization. (Bug#15184)
4251
4252 2013-08-25 Alan Mackenzie <acm@muc.de>
4253
4254 Improve indentation of bracelists defined by macros (without "=").
4255
4256 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4257 expansion begins with "{", regard it as bracelist when it doesn't
4258 contain a ";".
4259
4260 Parse C++ inher-intro when there's a template split over 2 lines.
4261
4262 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4263 rigorously the search for "class" etc. followed by ":".
4264
4265 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4266 random languages a regexp which never matches rather than nil.
4267
4268 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4269
4270 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4271 (c-awk-regexp-one-line-possibly-open-char-list-re)
4272 (c-awk-one-line-possibly-open-regexp-re)
4273 (c-awk-one-line-non-syn-ws*-re): Remove.
4274 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4275 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4276 (c-awk-space*-unclosed-regexp-/-re): New constants.
4277 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4278 aren't regexp delimiters.
4279
4280 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4281 handling for a rare situation in AWK Mode involving unterminated
4282 strings/regexps.
4283
4284 2013-08-23 Glenn Morris <rgm@gnu.org>
4285
4286 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4287
4288 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4289
4290 * files.el (create-file-buffer): If the result would begin with
4291 spaces, prepend a "|" instead of removing them. (Bug#15162)
4292
4293 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4294
4295 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4296 text-properties (bug#15155).
4297
4298 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4299 exist any more.
4300 (calc-keypad-redraw): Remove unused var `pad'.
4301 (calc-keypad-press): Remove unused var `menu'.
4302
4303 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4304
4305 * window.el (display-buffer-pop-up-frame):
4306 Call pop-up-frame-function with BUFFER current so `make-frame' will
4307 use it as the new frame's buffer (Bug#15133).
4308
4309 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * calendar/timeclock.el: Minor cleanups.
4312 (timeclock-ask-before-exiting, timeclock-use-display-time):
4313 Use `symbol'.
4314 (timeclock-modeline-display): Define as alias before the
4315 actual definition.
4316 (timeclock-mode-line-display): Use define-minor-mode.
4317 (timeclock-day-list-template): Make it a function, add an argument.
4318 (timeclock-day-list-required, timeclock-day-list-length)
4319 (timeclock-day-list-debt, timeclock-day-list-span)
4320 (timeclock-day-list-break): Adjust calls accordingly.
4321
4322 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4323
4324 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4325 Use read--expression so that completion works again.
4326
4327 2013-08-21 Sam Steingold <sds@gnu.org>
4328
4329 Add rudimentary inferior shell interaction
4330 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4331 (sh-set-shell): Reset it.
4332 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4333 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4334
4335 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * align.el: Use lexical-binding.
4338 (align-region): Simplify accordingly.
4339
4340 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4341
4342 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4343
4344 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4345 `non-essential' up.
4346
4347 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4348
4349 * net/tramp.el:
4350 * net/tramp-adb.el:
4351 * net/tramp-cmds.el:
4352 * net/tramp-ftp.el:
4353 * net/tramp-gvfs.el:
4354 * net/tramp-gw.el:
4355 * net/tramp-sh.el: Don't wrap external variable declarations by
4356 `eval-when-compile'.
4357
4358 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4359
4360 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4361 now that Emacs supports ImageMagick animations.
4362
4363 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4364
4365 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4366 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4367
4368 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4369
4370 * window.el (mouse-autoselect-window-select): Do autoselect when
4371 mouse pointer is on margin.
4372
4373 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4374
4375 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4376
4377 2013-08-16 Glenn Morris <rgm@gnu.org>
4378
4379 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4380 Handle "Remote Directory" response of some clients. (Bug#15058)
4381
4382 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4383 Tweak warning. (Bug#14926)
4384
4385 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4386 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4387
4388 * image-mode.el (image-mode-map): Add menu items to reverse,
4389 increase, decrease, reset animation speed.
4390 (image--set-speed, image-increase-speed, image-decrease-speed)
4391 (image-reverse-speed, image-reset-speed): New functions.
4392 (image-mode-map): Add bindings for speed commands.
4393
4394 * image.el (image-animate-get-speed, image-animate-set-speed):
4395 New functions.
4396 (image-animate-timeout): Respect image :speed property.
4397
4398 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4399
4400 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4401 previous line (bug#15101).
4402 (debugger-eval-expression, debugger-record-expression):
4403 Use read--expression (bug#15102).
4404
4405 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4406
4407 Remove byte compiler warnings, visible when compiling with
4408 `byte-compile-force-lexical-warnings' set to t.
4409
4410 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4411 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4412 (tramp-handle-unhandled-file-name-directory)
4413 (tramp-handle-file-notify-add-watch, tramp-action-login)
4414 (tramp-action-succeed, tramp-action-permission-denied)
4415 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4416 arguments with "_".
4417
4418 * net/tramp-adb.el (tramp-adb-parse-device-names)
4419 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4420 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4421 (tramp-adb-handle-file-truename): Remove unused arguments.
4422
4423 * net/tramp-cache.el (tramp-flush-directory-property)
4424 (tramp-flush-connection-property, tramp-list-connections)
4425 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4426
4427 * net/tramp-compat.el (tramp-compat-make-temp-file):
4428 Rename FILENAME to F.
4429
4430 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4431 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4432 (tramp-zeroconf-parse-workstation-device-names)
4433 (tramp-zeroconf-parse-webdav-device-names)
4434 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4435
4436 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4437 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4438
4439 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4440 arguments.
4441 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4442 (tramp-sh-handle-insert-file-contents-literally)
4443 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4444 with "_".
4445 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4446 Remove unused variables.
4447
4448 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4449 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4450 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4451
4452 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4453 Make them a defconst.
4454 (tramp-uuencode-region): Remove unused variable.
4455
4456 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4457
4458 * frameset.el (frameset--prop-setter): New function.
4459 (frameset-prop): Add gv-setter declaration.
4460 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4461 parameter was already set in FILTERED. Doc fix.
4462 (frameset--record-minibuffer-relationships): Allow saving a
4463 minibufferless frame without its corresponding minibuffer frame.
4464 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4465 frame, if the frame id matches.
4466 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4467 frames before orphaned ones.
4468 (frameset-restore): Warn about orphaned windows, instead of error out.
4469
4470 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4471
4472 * window.el (window-make-atom): Don't overwrite parameter
4473 already present.
4474 (display-buffer-in-atom-window): Handle special case where we
4475 split an already atomic window.
4476 (window--major-non-side-window, display-buffer-in-side-window)
4477 (window--side-check): Ignore minibuffer window when walking
4478 window tree.
4479 (window-deletable-p): Return 'frame only if no other frame uses
4480 our minibuffer window.
4481 (record-window-buffer): Run buffer-list-update-hook.
4482 (split-window): Make sure window--check-frame won't destroy an
4483 existing atomic window in case the new window gets nested
4484 inside.
4485 (display-buffer-at-bottom): Ignore minibuffer window when
4486 walking window tree. Don't split a side window.
4487 (pop-to-buffer): Don't set-buffer here, the select-window call
4488 should do that.
4489 (mouse-autoselect-window-select): Autoselect only if we are in the
4490 text portion of the window.
4491
4492 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4493
4494 * net/shr.el (shr-parse-image-data): New function to grab both the
4495 data itself and the Content-Type.
4496 (shr-put-image): Use it.
4497
4498 * net/eww.el (eww-display-image): Ditto.
4499
4500 * image.el (image-content-type-suffixes): New variable.
4501
4502 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4503
4504 * progmodes/python.el (python-imenu--build-tree)
4505 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4506
4507 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4508
4509 * simple.el (backward-word): Mention the optional argument.
4510
4511 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4512
4513 * frameset.el (frameset--make): Rename constructor from make-frameset.
4514 (frameset-p, frameset-valid-p): Don't autoload.
4515 (frameset-valid-p): Use normal accessors.
4516
4517 2013-08-13 Glenn Morris <rgm@gnu.org>
4518
4519 * progmodes/compile.el (compile-command): Tweak example in doc.
4520 * obsolete/scribe.el (scribe-mode):
4521 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4522
4523 * mail/feedmail.el (feedmail-confirm-outgoing)
4524 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4525
4526 * cus-start.el (truncate-partial-width-windows): Fix type.
4527
4528 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4529
4530 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4531
4532 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * emacs-lisp/timer.el (timer--time-setter): New function.
4535 (timer--time): Use it as gv-setter.
4536
4537 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4538 setter is not a symbol.
4539
4540 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4541
4542 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4543 if sending fails. This makes debugging easier.
4544
4545 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4546
4547 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4548 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4549 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4550
4551 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4552
4553 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4554
4555 2013-08-12 Glenn Morris <rgm@gnu.org>
4556
4557 * format.el (format-annotate-function):
4558 Handle read-only text properties in the source. (Bug#14887)
4559
4560 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4561
4562 * net/eww.el (eww-display-html): Ignore coding system errors.
4563 One web site uses "utf-8lias" as the coding system.
4564
4565 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4566
4567 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4568
4569 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4570
4571 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4572 (tutorial--detailed-help): Remove unused local variables.
4573 (tutorial--save-tutorial-to): Use ignore-errors.
4574 (help-with-tutorial): Use looking-at-p.
4575
4576 * view.el (view-buffer-other-window, view-buffer-other-frame):
4577 Mark unused arguments.
4578
4579 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4580 (woman-select-symbol-fonts, woman, woman-find-file)
4581 (woman-insert-file-contents, woman-non-underline-faces):
4582 Use string-match-p.
4583 (woman1-unquote): Move declaration.
4584
4585 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4586 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4587 argument. Remove unused local variable.
4588 (xml-parse-elem-type): Use string-match-p.
4589 (xml-substitute-numeric-entities): Use ignore-errors.
4590
4591 * calculator.el (calculator): Mark unused argument.
4592 (calculator-paste, calculator-quit, calculator-integer-p):
4593 Use ignore-errors.
4594 (calculator-string-to-number, calculator-decimal, calculator-exp)
4595 (calculator-op-or-exp): Use string-match-p.
4596
4597 * dired.el (dired-buffer-more-recently-used-p): Declare.
4598 (dired-insert-set-properties, dired-insert-old-subdirs):
4599 Use ignore-errors.
4600
4601 * dired-aux.el (dired-compress): Use ignore-errors.
4602 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4603 (dired-do-async-shell-command, dired-do-shell-command)
4604 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4605 (dired-insert-subdir-validate): Use string-match-p.
4606 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4607 (dired-add-entry): Use string-match-p, looking-at-p.
4608 (dired-insert-subdir-newpos): Remove unused local variable.
4609
4610 * filenotify.el (file-notify-callback): Remove unused local variable.
4611
4612 * filesets.el (filesets-error): Mark unused argument.
4613 (filesets-which-command-p, filesets-filter-dir-names)
4614 (filesets-directory-files, filesets-get-external-viewer)
4615 (filesets-ingroup-get-data): Use string-match-p.
4616
4617 * find-file.el (ff-other-file-name, ff-other-file-name)
4618 (ff-find-the-other-file, ff-cc-hh-converter):
4619 Remove unused local variables.
4620 (ff-get-file-name): Use string-match-p.
4621 (ff-all-dirs-under): Use ignore-errors.
4622
4623 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4624 (follow-select-if-visible): Remove unused local variable.
4625
4626 * forms.el (read-file-filter): Move declaration.
4627 (forms--make-format, forms--make-parser, forms-insert-record):
4628 Quote function with #'.
4629 (forms--update): Use string-match-p. Quote function with #'.
4630
4631 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4632 (help-make-xrefs): Use looking-at-p.
4633 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4634
4635 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4636 (ibuffer-confirm-operation-on): Use string-match-p.
4637
4638 * msb.el (msb-item-handler, msb-dired-item-handler):
4639 Mark unused arguments.
4640
4641 * ses.el (ses-decode-cell-symbol)
4642 (ses-kill-override): Remove unused local variable.
4643 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4644 (ses-load): Use ignore-errors, looking-at-p.
4645 (ses-jump-safe): Use ignore-errors.
4646 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4647
4648 * tabify.el (untabify, tabify): Mark unused arguments.
4649
4650 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4651 Mark unused argument.
4652 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4653 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4654
4655 * emacs-lisp/timer.el (timer--time): Define setter with
4656 gv-define-setter to avoid deprecation warning.
4657
4658 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4659 (*record-cmpl-statistics-p*): Remove (was commented out).
4660 (cmpl-statistics-block): Remove (body was commented out).
4661 All callers changed.
4662 (add-completions-from-buffer, load-completions-from-file):
4663 Remove unused variables.
4664
4665 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4666
4667 * filecache.el (file-cache-delete-file-list):
4668 Print message only when told so.
4669 (file-cache-files-matching): Use #' in mapconcat argument.
4670
4671 * ffap.el (ffap-url-at-point): Fix reference to variable
4672 thing-at-point-default-mail-uri-scheme.
4673
4674 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * subr.el (define-error): New function.
4677 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4678 error-file-not-found and define with define-error.
4679 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4680 and define with define-error.
4681 * userlock.el (file-locked, file-supersession):
4682 * simple.el (mark-inactive):
4683 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4684 * progmodes/ada-mode.el (ada-mode-errors):
4685 * play/life.el (life-extinct):
4686 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4687 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4688 * nxml/rng-util.el (rng-error):
4689 * nxml/rng-uri.el (rng-uri-error):
4690 * nxml/rng-match.el (rng-compile-error):
4691 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4692 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4693 * nxml/nxml-rap.el (nxml-scan-error):
4694 * nxml/nxml-outln.el (nxml-outline-error):
4695 * net/soap-client.el (soap-error):
4696 * net/gnutls.el (gnutls-error):
4697 * net/ange-ftp.el (ftp-error):
4698 * mpc.el (mpc-proc-error):
4699 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4700 (json-number-format, json-string-escape, json-string-format)
4701 (json-key-format, json-object-format):
4702 * jka-compr.el (compression-error):
4703 * international/quail.el (quail-error):
4704 * international/kkc.el (kkc-error):
4705 * emacs-lisp/ert.el (ert-test-failed):
4706 * calc/calc.el (calc-error, inexact-result, math-overflow)
4707 (math-underflow):
4708 * bookmark.el (bookmark-error-no-filename):
4709 * epg.el (epg-error): Define with define-error.
4710
4711 * time.el (display-time-event-handler)
4712 (display-time-next-load-average): Don't call sit-for since it seems
4713 unnecessary (bug#15045).
4714
4715 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4716 Use #' instead of ' to quote functions.
4717 (checkdoc-output-mode): Use setq-local.
4718 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4719 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4720 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4721 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4722 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4723 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4724 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4725 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4726
4727 * ido.el (ido-completion-help): Fix up compiler warning.
4728
4729 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4730
4731 * frameset.el (frameset-p): Add autoload cookie.
4732 (frameset--jump-to-register): New function, based on code moved from
4733 register.el.
4734 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4735
4736 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4737 (frameset-restore, frameset-save, frameset-session-filter-alist):
4738 Remove declarations.
4739 (register-alist): Doc fix.
4740 (frameset-to-register): Move to frameset.el.
4741 (jump-to-register, describe-register-1): Remove frameset-specific code.
4742
4743 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4744
4745 * allout-widgets.el (allout-widgets-pre-command-business)
4746 (allout-widgets-post-command-business)
4747 (allout-widgets-after-change-handler)
4748 (allout-decorate-item-and-context, allout-set-boundary-marker)
4749 (allout-body-modification-handler)
4750 (allout-graphics-modification-handler): Mark ignored arguments.
4751 (allout-widgets-post-command-business)
4752 (allout-widgets-exposure-change-processor)
4753 (allout-widgets-exposure-undo-processor)
4754 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4755 (allout-parse-item-at-point, allout-decorate-item-guides)
4756 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4757 * allout.el (epa-passphrase-callback-function): Declare.
4758 (allout-overlay-insert-in-front-handler)
4759 (allout-overlay-interior-modification-handler)
4760 (allout-isearch-end-handler, allout-chart-siblings)
4761 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4762 (allout-yank-processing, allout-process-exposed)
4763 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4764 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4765 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4766 (lisp-indent-defform): Mark ignored arguments.
4767 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4768 (calculate-lisp-indent): Remove unused variables.
4769 * international/characters.el (indian-2-column, arabic-2-column)
4770 (tibetan): Mark ignored arguments.
4771 (use-cjk-char-width-table): Mark ignored arguments.
4772 Remove unused variables.
4773 * international/fontset.el (build-default-fontset-data)
4774 (x-compose-font-name, create-fontset-from-fontset-spec):
4775 Mark ignored arguments.
4776 (fontset-plain-name): Remove unused variables.
4777 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4778 (keyboard-coding-system): Mark ignored arguments.
4779 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4780 * help.el (resize-temp-buffer-window):
4781 * window.el (display-buffer-in-major-side-window)
4782 (display-buffer-in-side-window, display-buffer-in-previous-window):
4783 Remove unused variables.
4784 * isearch.el (isearch-forward-symbol):
4785 * version.el (emacs-bzr-version-bzr):
4786 * international/mule-cmds.el (current-language-environment):
4787 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4788 (x-handle-display):
4789 * term/pc-win.el (x-list-fonts, x-display-planes)
4790 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4791 (x-server-version, x-display-screens, x-display-mm-height)
4792 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4793 (x-selection-owner-p, x-own-selection-internal)
4794 (x-disown-selection-internal, x-get-selection-internal)
4795 (msdos-initialize-window-system):
4796 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4797 * term/x-win.el (x-handle-no-bitmap-icon):
4798 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4799 (vc-default-find-file-hook, vc-default-extra-menu):
4800 Mark ignored arguments.
4801
4802 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4803
4804 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4805 break-condition in the context of the debugged code (bug#12685).
4806
4807 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4808
4809 * comint.el:
4810 Do not use an overlay to highlight the last prompt. (Bug#14744)
4811 (comint-mode): Make comint-last-prompt buffer local.
4812 (comint-last-prompt): New variable.
4813 (comint-last-prompt-overlay): Remove. Superseded by
4814 comint-last-prompt.
4815 (comint-snapshot-last-prompt, comint-output-filter):
4816 Use comint-last-prompt.
4817
4818 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4819
4820 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4821 (frameset-save): Check validity of the resulting frameset.
4822
4823 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4824
4825 * ido.el (ido-record-command): Add doc string.
4826
4827 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4828
4829 * frameset.el (frameset): Do not disable creation of the default
4830 frameset-p predicate. Doc fix.
4831 (frameset-valid-p): New function, copied from the old predicate-p.
4832 Add additional checks.
4833 (frameset-restore): Check with frameset-valid-p.
4834 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4835 (frameset-name, frameset-description, frameset-properties)
4836 (frameset-states): Add docstring.
4837 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4838 (frameset-filter-alist): Doc fixes.
4839
4840 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4841
4842 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4843
4844 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4847 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4848 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4849 (byte-compile-normal-call): Remove obsolescence check.
4850
4851 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4852
4853 * frameset.el (frameset-restore): Doc fix.
4854
4855 * register.el (frameset-frame-id, frameset-frame-with-id)
4856 (frameset-p, frameset-restore, frameset-save): Declare.
4857 (register-alist): Document framesets.
4858 (frameset-session-filter-alist): Declare.
4859 (frameset-to-register): New function.
4860 (jump-to-register): Implement jumping to framesets. Doc fix.
4861 (describe-register-1): Describe framesets.
4862
4863 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4864
4865 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4866
4867 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4868 Use lexical-binding.
4869
4870 * frameset.el (frameset): Use type vector, not list (incompatible
4871 change). Do not declare a new constructor, use the default one.
4872 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4873 `name' and `description', respectively, and add read-only slot
4874 `timestamp'. Doc fixes.
4875 (frameset-copy, frameset-persistent-filter-alist)
4876 (frameset-filter-alist, frameset-switch-to-gui-p)
4877 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4878 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4879 (frameset-filter-iconified, frameset-keep-original-display-p):
4880 Doc fixes.
4881 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4882 Rename from frameset-filter-(save|restore)-param. All callers changed.
4883 Doc fix.
4884 (frameset-p): Adapt to change to vector and be more thorough.
4885 Change arg name to OBJECT. Doc fix.
4886 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4887 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4888 All callers changed.
4889 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4890 All callers changed.
4891 (frameset--record-minibuffer-relationships): Rename from
4892 frameset--process-minibuffer-frames. All callers changed.
4893 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4894 Use new default constructor (again). Doc fix.
4895 (frameset--find-frame-if): Rename from `frameset--find-frame.
4896 All callers changed.
4897 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4898 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4899 Doc fix.
4900 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4901 PARAMETERS and WINDOW-STATE, respectively.
4902 (frameset-restore): Add new keyword argument PREDICATE.
4903 Reset frameset--target-display to nil. Doc fix.
4904
4905 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4908 (bat-mode): Use it.
4909 (bat-mode-syntax-table): Mark \n as end-of-comment.
4910 (bat-font-lock-keywords): Remove comment rule.
4911
4912 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4913 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4914
4915 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4916 (byte-compile-callargs-warn): Use `push'.
4917 (byte-compile-arglist-warn): Ignore higher-order "calls".
4918 (byte-compile-file-form-autoload): Use `pcase'.
4919 (byte-compile-function-form): If quoting a symbol, check that it exists.
4920
4921 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4922
4923 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4924 and add a few popular commands found in batch files.
4925 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4926 (dos-mode): Doc fixes.
4927
4928 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4929
4930 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4931 (dos-mode): Use setq-local. Add space after "rem".
4932 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4933 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4934
4935 2013-08-07 Arni Magnusson <arnima@hafro.is>
4936
4937 * progmodes/dos.el: New file.
4938 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4939 dos-mode.
4940
4941 2013-08-06 Glenn Morris <rgm@gnu.org>
4942
4943 * calendar/calendar.el: Add new faces, and day-header-array.
4944 (calendar-weekday-header, calendar-weekend-header)
4945 (calendar-month-header): New faces.
4946 (calendar-day-header-construct): New function.
4947 (calendar-day-header-width): Also :set calendar-day-header-array.
4948 (calendar-american-month-header, calendar-european-month-header)
4949 (calendar-iso-month-header): Use calendar- faces.
4950 (calendar-generate-month):
4951 Use calendar-day-header-array for day headers; apply faces to them.
4952 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4953 (calendar-abbrev-construct): Add optional maxlen argument.
4954 (calendar-day-name-array): Doc fix.
4955 (calendar-day-name-array, calendar-abbrev-length)
4956 (calendar-day-abbrev-array):
4957 Also :set calendar-day-header-array, and maybe redraw.
4958 (calendar-day-header-array): New option. (Bug#15007)
4959 (calendar-font-lock-keywords): Set to nil and make obsolete.
4960 (calendar-day-name): Add option to use header array.
4961
4962 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4963
4964 * net/shr.el (shr-render-td): Remove debugging.
4965 (shr-render-td): Make width computation consistent by defaulting
4966 all zero-width columns to 10 characters. This may not be optimal,
4967 but it's at least consistent.
4968 (shr-make-table-1): Redo last change to fix the real problem in
4969 colspan handling.
4970
4971 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4972
4973 * files.el (cache-long-line-scans):
4974 Make obsolete alias to `cache-long-scans'.
4975
4976 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4977
4978 * frameset.el (frameset, frameset-filter-alist)
4979 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4980 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4981 (frameset-compute-pos): Rename from frameset--compute-pos,
4982 and add docstring.
4983 (frameset-move-onscreen): Use frameset-compute-pos.
4984 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4985
4986 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4987 Fix typos in docstrings.
4988
4989 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4990
4991 * frame.el (get-other-frame): Tiny cleanup.
4992
4993 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4994
4995 * vc/vc.el (vc-default-ignore-completion-table):
4996 Silence byte-compiler warning.
4997
4998 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4999 slot , which can indeed be nil.
5000 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5001 Move entry for `left' from persistent to live filter alist.
5002 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5003 Doc fixes.
5004 (frameset-filter-params): When restoring a frame, copy items added to
5005 `filtered', to avoid unwittingly modifying the original parameters.
5006 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5007 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5008
5009 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5010 to use looking-at-p instead of looking-at. (Bug#15028)
5011
5012 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 Revert introduction of isearch-filter-predicates (bug#14714).
5015 Rely on add-function instead.
5016 * isearch.el (isearch-filter-predicates): Rename it back to
5017 isearch-filter-predicate.
5018 (isearch-message-prefix): Use advice-function-mapc and advice
5019 properties to get the isearch-message-prefix.
5020 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5021 instead of run-hook-with-args-until-failure.
5022 (isearch-filter-visible): Not obsolete any more.
5023 * loadup.el: Preload nadvice.
5024 * replace.el (perform-replace): Revert to funcall
5025 instead of run-hook-with-args-until-failure.
5026 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5027 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5028 dired-isearch-filenames-toggle; make it into a proper minor mode.
5029 Use add/remove-function.
5030 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5031 Call the minor-mode rather than add/remove-hook.
5032 (dired-isearch-filter-filenames):
5033 Remove isearch-message-prefix property.
5034 * info.el (Info--search-loop): New function, extracted from Info-search.
5035 Funcall isearch-filter-predicate instead of
5036 run-hook-with-args-until-failure isearch-filter-predicates.
5037 (Info-search): Use it.
5038 (Info-mode): Use isearch-filter-predicate instead of
5039 isearch-filter-predicates.
5040
5041 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5042
5043 Do not call to `selected-window' where it is assumed by default.
5044 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5045 `window-hscroll', `window-width', `window-height', `window-buffer',
5046 `window-frame', `window-start', `window-point', `next-window'
5047 and `window-display-table'.
5048 * abbrev.el (abbrev--default-expand):
5049 * bs.el (bs--show-with-configuration):
5050 * buff-menu.el (Buffer-menu-mouse-select):
5051 * calc/calc.el (calc):
5052 * calendar/calendar.el (calendar-generate-window):
5053 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5054 (diary-make-entry):
5055 * comint.el (send-invisible, comint-dynamic-complete-filename)
5056 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5057 * completion.el (complete):
5058 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5059 * disp-table.el (describe-current-display-table):
5060 * doc-view.el (doc-view-insert-image):
5061 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5062 * ehelp.el (with-electric-help):
5063 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5064 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5065 * emacs-lisp/helper.el (Helper-help-scroller):
5066 * emulation/cua-base.el (cua--post-command-handler-1):
5067 * eshell/esh-mode.el (eshell-output-filter):
5068 * ffap.el (ffap-gnus-wrapper):
5069 * help-macro.el (make-help-screen):
5070 * hilit-chg.el (highlight-compare-buffers):
5071 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5072 * hl-line.el (global-hl-line-highlight):
5073 * icomplete.el (icomplete-simple-completing-p):
5074 * isearch.el (isearch-done):
5075 * jit-lock.el (jit-lock-stealth-fontify):
5076 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5077 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5078 * mpc.el (mpc-tagbrowser, mpc):
5079 * net/rcirc.el (rcirc-any-buffer):
5080 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5081 * play/landmark.el (landmark-max-width, landmark-max-height):
5082 * play/zone.el (zone):
5083 * progmodes/compile.el (compilation-goto-locus):
5084 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5085 * progmodes/etags.el (find-tag-other-window):
5086 * progmodes/fortran.el (fortran-column-ruler):
5087 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5088 * progmodes/verilog-mode.el (verilog-point-text):
5089 * reposition.el (reposition-window):
5090 * rot13.el (toggle-rot13-mode):
5091 * server.el (server-switch-buffer):
5092 * shell.el (shell-dynamic-complete-command)
5093 (shell-dynamic-complete-environment-variable):
5094 * simple.el (insert-buffer, set-selective-display)
5095 (delete-completion-window):
5096 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5097 (speedbar-recenter):
5098 * startup.el (fancy-splash-head):
5099 * textmodes/ispell.el (ispell-command-loop):
5100 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5101 * tutorial.el (help-with-tutorial):
5102 * vc/add-log.el (add-change-log-entry):
5103 * vc/compare-w.el (compare-windows):
5104 * vc/ediff-help.el (ediff-indent-help-message):
5105 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5106 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5107 (ediff-setup-control-frame):
5108 * vc/emerge.el (emerge-position-region):
5109 * vc/pcvs-util.el (cvs-bury-buffer):
5110 * window.el (walk-windows, mouse-autoselect-window-select):
5111 * winner.el (winner-set-conf, winner-undo): Related users changed.
5112
5113 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5114
5115 * frameset.el (frameset--set-id): Doc fix.
5116 (frameset-frame-id, frameset-frame-id-equal-p)
5117 (frameset-locate-frame-id): New functions.
5118 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5119 (frameset-restore): Use them.
5120
5121 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5122
5123 Do not call to `selected-frame' where it is assumed by default.
5124 Affected functions are `raise-frame', `redraw-frame',
5125 `frame-first-window', `frame-terminal' and `delete-frame'.
5126 * calendar/appt.el (appt-disp-window):
5127 * epg.el (epg-wait-for-completion):
5128 * follow.el (follow-delete-other-windows-and-split)
5129 (follow-avoid-tail-recenter):
5130 * international/mule.el (set-terminal-coding-system):
5131 * mail/rmail.el (rmail-mail-return):
5132 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5133 * progmodes/f90.el (f90-add-imenu-menu):
5134 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5135 * server.el (server-switch-buffer):
5136 * simple.el (delete-completion-window):
5137 * talk.el (talk):
5138 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5139 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5140 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5141 * vc/ediff.el (ediff-documentation): Related users changed.
5142 * frame.el (selected-terminal): Remove the leftover.
5143
5144 2013-08-05 Glenn Morris <rgm@gnu.org>
5145
5146 * calendar/calendar.el (calendar-generate-month):
5147 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5148 (calendar-generate-month, calendar-font-lock-keywords):
5149 Fix for calendar-day-header-width > length of any day name.
5150
5151 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5152
5153 * desktop.el (desktop-clear): Use new name of sort predicate.
5154
5155 * frameset.el (frameset): Add docstring. Move :version property to its
5156 own `version' slot.
5157 (frameset-copy): Rename from copy-frameset.
5158 (frameset-p): Check more thoroughly.
5159 (frameset-prop): Do not check for :version, which is no longer a prop.
5160 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5161 Use new :never value instead of t.
5162 (frameset-filter-alist): Expand and clarify docstring.
5163 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5164 (frameset-filter-minibuffer, frameset-filter-save-param)
5165 (frameset-filter-restore-param, frameset-filter-iconified):
5166 Add pointer to docstring of frameset-filter-alist.
5167 (frameset-filter-params): Rename filter values to be more meaningful:
5168 :never instead of t, and reverse the meanings of :save and :restore.
5169 (frameset--process-minibuffer-frames): Clarify error message.
5170 (frameset-save): Avoid unnecessary and confusing call to framep.
5171 Use new BOA constructor for framesets.
5172 (frameset--reuse-list): Doc fix.
5173 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5174 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5175 (frameset-minibufferless-first-p): Doc fix.
5176 Rename from frameset-sort-frames-for-deletion.
5177 (frameset-restore): Doc fixes. Use new function names.
5178 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5179
5180 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5181
5182 * desktop.el (desktop-restore-forces-onscreen)
5183 (desktop-restore-reuses-frames): Document :keyword constant values.
5184 (desktop-filter-parameters-alist): Remove, now identical to
5185 frameset-filter-alist.
5186 (desktop--filter-tty*): Remove, moved to frameset.el.
5187 (desktop-save-frameset, desktop-restore-frameset):
5188 Do not pass :filters argument.
5189
5190 * frameset.el (frameset-live-filter-alist)
5191 (frameset-persistent-filter-alist): New variables.
5192 (frameset-filter-alist): Use them. Add autoload cookie.
5193 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5194 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5195 `frameset--id' (it's supposed to be internal to frameset.el).
5196 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5197 (frameset--initial-params): New function.
5198 (frameset--get-frame): Use it. Doc fix.
5199 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5200 Accept :all, not 'all.
5201 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5202 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5203 with fbound symbols. Fix frame id matching, and remove matching ids if
5204 the frame being restored is deleted. Obey :delete.
5205
5206 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5207
5208 * subr.el (macrop): New function.
5209 (text-clone--maintaining): New var.
5210 (text-clone--maintain): Rename from text-clone-maintain. Use it
5211 instead of inhibit-modification-hooks.
5212
5213 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5214 a proxy, so as handle autoloads and redefinitions of the target.
5215 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5216
5217 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5218 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5219 (pcase--mutually-exclusive-p): New function.
5220 (pcase--split-consp): Use it.
5221 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5222 mutually exclusive with the current predicate.
5223
5224 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5225 (edebug-macrop): Remove. Use `macrop' instead.
5226 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5227 (ad-macro-p):
5228 * eshell/esh-cmd.el (eshell-macrop):
5229 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5230
5231 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5234 (advice-mapc): New function, using it.
5235 (advice-function-member-p): New function.
5236 (advice--normalize): Store the cdr in advice--saved-rewrite since
5237 that's the part that will be changed.
5238 (advice--symbol-function): New function.
5239 (advice-remove): Handle removal before the function is defined.
5240 Adjust to new advice--saved-rewrite.
5241 (advice-member-p): Use advice-function-member-p and
5242 advice--symbol-function.
5243
5244 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5245
5246 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5247 (frameset-filter-minibuffer): Doc fix.
5248 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5249 (frameset--set-id, frameset--process-minibuffer-frames)
5250 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5251 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5252
5253 * desktop.el (desktop-clear): Only delete frames when called
5254 interactively and desktop-restore-frames is non-nil. Doc fix.
5255 (desktop-read): Set desktop-saved-frameset to nil.
5256
5257 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5258
5259 * vc/vc.el (vc-ignore): Rewrite.
5260 (vc-default-ignore-completion-table):
5261 (vc--read-lines):
5262 (vc--add-line, vc--remove-regexp): New functions.
5263
5264 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5265 (vc-svn-ignore-completion-table): New function.
5266
5267 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5268 (vc-hg-ignore-completion-table):
5269 (vc-hg-find-ignore-file): New functions.
5270
5271 * vc/vc-git.el (vc-git-ignore): Rewrite.
5272 (vc-git-ignore-completion-table):
5273 (vc-git-find-ignore-file): New functions.
5274
5275 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5276
5277 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5278 (vc-bzr-ignore-completion-table):
5279 (vc-bzr-find-ignore-file): New functions.
5280
5281 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5282
5283 * frameset.el (frameset-prop): New function and setter.
5284 (frameset-save): Do not modify frame list passed by the caller.
5285
5286 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5289
5290 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5293 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5294
5295 * custom.el (custom-initialize-default, custom-initialize-set)
5296 (custom-initialize-reset, custom-initialize-changed): Affect the
5297 toplevel-default-value (bug#6275, bug#14586).
5298 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5299 for bug#6275.
5300
5301 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5302
5303 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5304 Add cl-def* expressions.
5305
5306 * frameset.el (frameset-filter-params): Fix order of arguments.
5307
5308 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5309
5310 Move code related to saving frames to frameset.el.
5311 * desktop.el: Require frameset.
5312 (desktop-restore-frames): Doc fix.
5313 (desktop-restore-reuses-frames): Rename from
5314 desktop-restoring-reuses-frames.
5315 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5316 (desktop-clear): Clear frames too.
5317 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5318 (desktop--filter-tty*, desktop-save, desktop-read):
5319 Use frameset functions.
5320 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5321 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5322 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5323 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5324 (desktop--process-minibuffer-frames, desktop-save-frames)
5325 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5326 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5327 (desktop--sort-states, desktop-restoring-frames-p)
5328 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5329 (desktop-restoring-frameset-p, desktop-restore-frameset)
5330 (desktop--check-dont-save, desktop-save-frameset): New functions.
5331 (desktop--app-id): New constant.
5332 (desktop-first-buffer, desktop-buffer-ok-count)
5333 (desktop-buffer-fail-count): Move before first use.
5334 * frameset.el: New file.
5335
5336 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * files.el: Use lexical-binding.
5339 (dir-locals-read-from-file): Remove unused `err' variable.
5340 (hack-dir-local-variables--warned-coding): New var.
5341 (hack-dir-local-variables): Use it to avoid repeated warnings.
5342 (make-backup-file-name--default-function): New function.
5343 (make-backup-file-name-function): Use it as default.
5344 (buffer-stale--default-function): New function.
5345 (buffer-stale-function): Use it as default.
5346 (revert-buffer-insert-file-contents--default-function): New function.
5347 (revert-buffer-insert-file-contents-function): Use it as default.
5348 (insert-directory): Avoid add-to-list.
5349
5350 * autorevert.el (auto-revert-handler): Simplify.
5351 Use buffer-stale--default-function.
5352
5353 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5354
5355 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5356
5357 * whitespace.el (whitespace-ensure-local-variables): New function.
5358 (whitespace-cleanup-region): Call it.
5359 (whitespace-turn-on): Call it.
5360
5361 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5362
5363 Complete file name handlers.
5364
5365 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5366 (tramp-handle-verify-visited-file-modtime)
5367 (tramp-handle-file-notify-rm-watch): New functions.
5368 (tramp-call-process): Do not bind `default-directory'.
5369
5370 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5371 Order alphabetically.
5372 [access-file, add-name-to-file, dired-call-process]:
5373 [dired-compress-file, file-acl, file-notify-rm-watch]:
5374 [file-ownership-preserved-p, file-selinux-context]:
5375 [make-directory-internal, make-symbolic-link, set-file-acl]:
5376 [set-file-selinux-context, set-visited-file-modtime]:
5377 [verify-visited-file-modtime]: Add handler.
5378 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5379
5380 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5381 [file-notify-add-watch, file-notify-rm-watch]:
5382 [set-file-times, set-visited-file-modtime]:
5383 [verify-visited-file-modtime]: Add handler.
5384 (with-tramp-gvfs-error-message)
5385 (tramp-gvfs-handle-set-visited-file-modtime)
5386 (tramp-gvfs-fuse-file-name): Remove.
5387 (tramp-gvfs-handle-file-notify-add-watch)
5388 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5389 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5390
5391 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5392 Order alphabetically.
5393 [file-notify-rm-watch ]: Use default Tramp handler.
5394 [executable-find]: Remove private handler.
5395 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5396 `default-directory'.
5397 (tramp-sh-handle-executable-find)
5398 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5399 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5400 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5401 Do not use `format' in `tramp-message'.
5402
5403 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5404 [file-notify-rm-watch, set-visited-file-modtime]:
5405 [verify-visited-file-modtime]: Add handler.
5406 (tramp-smb-call-winexe): Do not bind `default-directory'.
5407
5408 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5409
5410 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5411
5412 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5413
5414 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5415 use it.
5416 (log-view-diff-changeset): Same.
5417 (log-view-diff-common): Call backend command `previous-revision'
5418 to find out the previous revision, in both cases. Swap the
5419 variables `to' and `fr', so that `fr' usually refers to the
5420 earlier revision (Bug#14989).
5421
5422 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5423
5424 * ibuf-ext.el (ibuffer-filter-by-filename):
5425 Make it work with dired buffers too.
5426
5427 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5428
5429 * emacs-lisp/re-builder.el (reb-color-display-p):
5430 * files.el (save-buffers-kill-terminal):
5431 * net/browse-url.el (browse-url):
5432 * server.el (server-save-buffers-kill-terminal):
5433 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5434 Prefer nil to selected-frame for the first arg of frame-parameter.
5435
5436 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5437
5438 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5439
5440 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5441
5442 * minibuffer.el (completion--twq-all): Try and preserve each
5443 completion's case choice (bug#14907).
5444
5445 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5446
5447 * net/network-stream.el (open-network-stream): Mention the new
5448 :nogreeting parameter.
5449 (network-stream-open-starttls): Use the :nogreeting parameter
5450 (bug#14938).
5451
5452 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5453
5454 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5455 more natural than popping.
5456
5457 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5458 (shr-urlify): Highlight under mouse.
5459
5460 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5461
5462 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5463
5464 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5465
5466 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5467 buffer for output.
5468
5469 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5470 point-min==1. Fix search string. Fix parentheses missing.
5471
5472 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5473 assume point-min==1. Fix search string. Fix parentheses missing.
5474
5475 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5476
5477 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5478 buffer for output.
5479
5480 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5481
5482 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5483 initial frame is minibuffer-less. (Bug#14841)
5484
5485 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5486
5487 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5488 option.
5489
5490 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5491 (tramp-maybe-open-connection): Use it.
5492
5493 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5494
5495 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5496 minimal set of parameters passed when creating a frame, because
5497 the minibuffer status of a frame cannot be changed later.
5498
5499 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5500
5501 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5502 replace-regexp-in-string and inadvertent omissions in previous change.
5503 (todo-filter-items): Ensure only file names are comma-separated in
5504 name of filtered items buffer.
5505
5506 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5507
5508 * desktop.el: Optionally force offscreen frames back onscreen.
5509 (desktop-restoring-reuses-frames): New option.
5510 (desktop--compute-pos, desktop--move-onscreen): New functions.
5511 (desktop--make-frame): Use desktop--move-onscreen.
5512
5513 2013-07-27 Alan Mackenzie <acm@muc.de>
5514
5515 Fontify a Java generic method as a function.
5516 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5517 value to t.
5518
5519 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5520
5521 * calendar/todo-mode.el: Add command to rename todo files.
5522 (todo-rename-file): New command.
5523 (todo-key-bindings-t): Add key binding for it. Change the
5524 bindings of todo-filter-regexp-items(-multifile) to use `x'
5525 instead of `r', since the latter is better suited to the new
5526 renaming command.
5527
5528 2013-07-27 Alan Mackenzie <acm@muc.de>
5529
5530 Make Java try-with-resources statement parse properly.
5531 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5532 (c-block-stmt-1-2-key): New language constants/variables.
5533 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5534 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5535 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5536 with c-block-stmt-1-2-key.
5537
5538 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5539
5540 * desktop.el (desktop--make-frame): Apply most frame parameters after
5541 creating the frame to force (partially or totally) offscreen frames to
5542 be restored as such.
5543
5544 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5545
5546 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5547 (Bug#14948)
5548
5549 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5552 `base' arg of backtrace-frame.
5553
5554 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5555
5556 * simple.el (list-processes): Doc fix.
5557
5558 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5559
5560 * desktop.el (desktop--select-frame):
5561 Try harder to reuse existing frames.
5562
5563 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5566 (edebug-eval): Use backtrace-eval.
5567 (edebug--display, edebug--recursive-edit): Don't let-bind the
5568 edebug-outer-* vars that keep track of variables we locally let-bind.
5569 (edebug-outside-excursion): Don't restore outside values of locally
5570 let-bound vars.
5571 (edebug--display): Use user-error.
5572 (cl-lexical-debug, cl-debug-env): Remove.
5573
5574 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5575
5576 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5577 are restored to be sure that they are visible before deleting any
5578 remaining ones.
5579
5580 2013-07-26 Matthias Meulien <orontee@gmail.com>
5581
5582 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5583 vc-print-root-log. (Bug#14948)
5584
5585 2013-07-26 Richard Stallman <rms@gnu.org>
5586
5587 Add aliases for encrypting mail.
5588 * epa.el (epa-mail-aliases): New option.
5589 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5590 Bind inhibit-read-only so read-only text doesn't ruin everything.
5591 (epa-mail-default-recipients): New subroutine broken out.
5592 Handle epa-mail-aliases.
5593
5594 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5595
5596 Add support for lexical variables to the debugger's `e' command.
5597 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5598 vars, except for debugger-outer-match-data.
5599 (debugger-frame-number): Move check for "on a function call" from
5600 callers into it. Add `skip-base' argument.
5601 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5602 (debugger-env-macro): Only reset the state stored in non-variables,
5603 i.e. current-buffer and match-data.
5604 (debugger-eval-expression): Rewrite using backtrace-eval.
5605 * subr.el (internal--called-interactively-p--get-frame): Remove.
5606 (called-interactively-p):
5607 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5608 `base' arg of backtrace-frame instead.
5609
5610 2013-07-26 Glenn Morris <rgm@gnu.org>
5611
5612 * align.el (align-regexp): Doc fix. (Bug#14857)
5613 (align-region): Explicit error if subexpression missing/does not match.
5614
5615 * simple.el (global-visual-line-mode):
5616 Do not duplicate the mode lighter. (Bug#14858)
5617
5618 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5619
5620 * window.el (display-buffer): In display-buffer bind
5621 split-window-keep-point to t, bug#14829.
5622
5623 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5624
5625 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5626 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5627 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5628 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5629 Change accordingly.
5630 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5631 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5632
5633 2013-07-25 Glenn Morris <rgm@gnu.org>
5634
5635 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5636
5637 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5638
5639 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5640 parameter to modify-frame-parameters if the value has not changed;
5641 this is a workaround for bug#14949.
5642 (desktop--make-frame): On cl-delete-if call, check parameter name,
5643 not full parameter.
5644
5645 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5646
5647 * vc/vc.el (vc-ignore): New function.
5648
5649 * vc/vc-svn.el (vc-svn-ignore): New function.
5650
5651 * vc/vc-hg.el (vc-hg-ignore): New function.
5652
5653 * vc/vc-git.el (vc-git-ignore): New function.
5654
5655 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5656 (vc-dir-ignore): New function.
5657
5658 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5659 (cvs-append-to-ignore): Move here from pcvs.el.
5660
5661 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5662
5663 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5664
5665 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5666
5667 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5668 (desktop-restore-frames): Warn when deleting an existing frame failed.
5669
5670 2013-07-24 Glenn Morris <rgm@gnu.org>
5671
5672 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5673
5674 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5675
5676 * filenotify.el (file-notify-supported-p):
5677 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5678 Remove functions.
5679
5680 * autorevert.el (auto-revert-use-notify):
5681 (auto-revert-notify-add-watch):
5682 * net/tramp.el (tramp-file-name-for-operation):
5683 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5684 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5685 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5686 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5687 Remove `file-notify-supported-p' entry.
5688
5689 2013-07-24 Glenn Morris <rgm@gnu.org>
5690
5691 * printing.el: Replace all uses of deleted ps-windows-system,
5692 ps-lp-system, ps-flatten-list with lpr- versions.
5693
5694 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5697 checked with memq (bug#14935).
5698
5699 * files.el (revert-buffer-function): Use a non-nil default.
5700 (revert-buffer-preserve-modes): Declare var to
5701 provide access to the `preserve-modes' argument.
5702 (revert-buffer): Let-bind it.
5703 (revert-buffer--default): New function, extracted from revert-buffer.
5704
5705 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * lpr.el: Signal print errors more prominently.
5708 (print-region-function): Don't default to nil.
5709 (lpr-print-region): New function, extracted from print-region-1.
5710 Check lpr's return value and signal an error in case of problem.
5711 (print-region-1): Use it.
5712 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5713 versions instead.
5714 (ps-printer-name): Default to nil.
5715 (ps-printer-name-option): Default to lpr-printer-switch.
5716 (ps-print-region-function): Don't default to nil.
5717 (ps-postscript-code-directory): Simplify default.
5718 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5719 (ps-string-list, ps-eval-switch, ps-flatten-list)
5720 (ps-flatten-list-1): Remove.
5721 (ps-multibyte-buffer): Avoid setq.
5722 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5723 (print-region-function, ps-print-region-function): Don't set them here.
5724
5725 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5726
5727 * ido.el (ido-fractionp):
5728 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5729 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5730 (ido-max-directory-size, ido-max-dir-file-cache)
5731 (ido-decorations): Doc fix.
5732
5733 * ansi-color.el: Fix old URL.
5734
5735 2013-07-23 Michael R. Mauger <michael@mauger.com>
5736
5737 * progmodes/sql.el: Version 3.3
5738 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5739 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5740 (sql-interactive-remove-continuation-prompt): Rewrite, use
5741 functions above. Fix continuation prompt and complete output line
5742 handling.
5743 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5744 redirected output buffer.
5745 (sql-mode): Restore deleted code (Bug#13591).
5746
5747 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5748
5749 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5750
5751 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5752
5753 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5754
5755 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5756 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5757 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5758
5759 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5760
5761 * desktop.el (desktop-clear): Simplify; remove useless checks
5762 against invalid buffer names.
5763 (desktop-list*): Use cl-list*.
5764 (desktop-buffer-info, desktop-create-buffer): Simplify.
5765
5766 2013-07-23 Leo Liu <sdl.web@gmail.com>
5767
5768 * bookmark.el (bookmark-make-record): Restore NAME as a default
5769 value. (Bug#14933)
5770
5771 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5772
5773 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5774 extracted from autoload--insert-text.
5775 (autoload--insert-text): Remove.
5776 (autoload--print-cookie-text): New function, extracted from
5777 autoload--insert-cookie-text.
5778 (autoload--insert-cookie-text): Remove.
5779 (autoload-generate-file-autoloads): Adjust calls accordingly.
5780
5781 * winner.el (winner-hook-installed-p): Remove.
5782 (winner-mode): Simplify accordingly.
5783
5784 * subr.el (add-to-list): Fix compiler-macro when `append' is
5785 not constant. Don't use `cl-member' for the base case.
5786
5787 * progmodes/subword.el: Fix boundary case (bug#13758).
5788 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5789 own group.
5790 (subword-backward-regexp): Make it a constant.
5791 (subword-forward-internal): Don't treat a trailing capital as the
5792 beginning of a word.
5793
5794 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5795
5796 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5797 global value of tabulated-list-revert-hook (bug#14930).
5798
5799 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5800
5801 * desktop.el: Require 'cl-lib.
5802 (desktop-before-saving-frames-functions): New hook.
5803 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5804 for frames being saved. Rename from desktop--save-minibuffer-frames.
5805 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5806 Do not save frames with non-nil `desktop-dont-save' parameter.
5807 Filter out deleted frames.
5808 (desktop--find-frame): Use cl-find-if.
5809 (desktop--select-frame): Use cl-(first|second|third) to access values
5810 of desktop-mini.
5811 (desktop--make-frame): Use cl-delete-if.
5812 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5813 (desktop-restore-frames): Use cl-(first|second|third) to access values
5814 of desktop-mini. Look for visible frame at the end, not while
5815 restoring frames.
5816
5817 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5818 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5819 Use string-match-p, looking-at-p (bug#14927).
5820
5821 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5822
5823 * desktop.el (desktop-saved-frame-states):
5824 Rename from desktop--saved-states; all users changed.
5825 (desktop-save-frames): Rename from desktop--save-frames.
5826 Do not save state to desktop file.
5827 (desktop-save): Save desktop-saved-frame-states to desktop file
5828 and reset to nil.
5829 (desktop-restoring-frames-p): New function.
5830 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5831 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5832 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5833
5834 * desktop.el: Correctly restore iconified frames.
5835 (desktop--filter-iconified-position): New function.
5836 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5837
5838 2013-07-20 Glenn Morris <rgm@gnu.org>
5839
5840 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5841 Let `message' do the formatting.
5842 (def-gdb-preempt-display-buffer): Add explicit format.
5843
5844 * image-dired.el (image-dired-track-original-file):
5845 Use with-current-buffer.
5846 (image-dired-track-thumbnail): Use with-current-buffer.
5847 Avoid changing point of wrong window.
5848
5849 * image-dired.el (image-dired-track-original-file):
5850 Avoid changing point of wrong window. (Bug#14909)
5851
5852 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5853
5854 * progmodes/gdb-mi.el (gdb-done-or-error):
5855 Guard against "%" in gdb output. (Bug#14127)
5856
5857 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5858
5859 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5860 (Bug#14826)
5861
5862 * international/mule.el (coding-system-iso-2022-flags): Fix last
5863 change.
5864
5865 2013-07-20 Kenichi Handa <handa@gnu.org>
5866
5867 * international/mule.el (coding-system-iso-2022-flags):
5868 Add `8-bit-level-4'. (Bug#8522)
5869
5870 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5871
5872 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5873 (bug#14815).
5874
5875 * net/eww.el (eww-process-text-input): Allow inputting when the
5876 point is at the start of the line, as the properties aren't
5877 front-sticky.
5878
5879 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5880 degenerate widths.
5881
5882 2013-07-19 Richard Stallman <rms@gnu.org>
5883
5884 * epa.el (epa-popup-info-window): Doc fix.
5885
5886 * subr.el (split-string): New arg TRIM.
5887
5888 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5889
5890 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5891 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5892
5893 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5894
5895 * filenotify.el (file-notify--library): Rename from
5896 `file-notify-support'. Do not autoload. Adapt all uses.
5897 (file-notify-supported-p): New defun.
5898
5899 * autorevert.el (auto-revert-use-notify):
5900 Use `file-notify-supported-p' instead of `file-notify-support'.
5901 Adapt docstring.
5902 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5903
5904 * net/tramp.el (tramp-file-name-for-operation):
5905 Add `file-notify-supported-p'.
5906
5907 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5908 New defun.
5909 (tramp-sh-file-name-handler-alist): Add it as handler for
5910 `file-notify-supported-p '.
5911
5912 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5913 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5914 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5915 Add `ignore' as handler for `file-notify-*' functions.
5916
5917 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5918
5919 * simple.el (line-move-partial, line-move): Don't start vscroll or
5920 scroll-up if the current line is not taller than the window.
5921 (Bug#14881)
5922
5923 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5924
5925 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5926 highlight question marks in the method names as strings.
5927 (ruby-block-beg-keywords): Inline.
5928 (ruby-font-lock-keyword-beg-re): Extract from
5929 `ruby-font-lock-keywords'.
5930
5931 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5932
5933 * frame.el (blink-cursor-blinks): New defcustom.
5934 (blink-cursor-blinks-done): New defvar.
5935 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5936 (blink-cursor-timer-function): Check if number of blinks has been
5937 done on X and NS.
5938 (blink-cursor-suspend, blink-cursor-check): New defuns.
5939
5940 2013-07-15 Glenn Morris <rgm@gnu.org>
5941
5942 * edmacro.el (edmacro-format-keys): Fix previous change.
5943
5944 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5945
5946 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5947 The hack didn't work outside English locales anyway.
5948
5949 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5950
5951 * simple.el (define-alternatives): Rename from alternatives-define,
5952 per RMS' suggestion.
5953
5954 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5955
5956 * desktop.el (desktop-restore-frames): Change default to t.
5957 (desktop-restore-in-current-display): Now offer more options.
5958 (desktop-restoring-reuses-frames): New customization option.
5959 (desktop--saved-states): Doc fix.
5960 (desktop-filter-parameters-alist): New variable, renamed and expanded
5961 from desktop--excluded-frame-parameters.
5962 (desktop--target-display): New variable.
5963 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5964 (desktop--filter-tty*, desktop--filter-*-color)
5965 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5966 (desktop--filter-save-desktop-parm)
5967 (desktop-restore-in-original-display-p): New functions.
5968 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5969 (desktop--save-minibuffer-frames): New function, inspired by a similar
5970 function from Martin Rudalics.
5971 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5972 (desktop--restore-in-this-display-p): Remove.
5973 (desktop--find-frame): Rename from desktop--find-frame-in-display
5974 and add predicate argument.
5975 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5976 (desktop--reuse-list): New variable.
5977 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5978 New functions.
5979 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5980
5981 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5982
5983 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5984
5985 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5986
5987 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5988 Highlight conversion methods on Kernel.
5989
5990 2013-07-13 Alan Mackenzie <acm@muc.de>
5991
5992 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5993 and comment it out. This out-commenting enables certain C++
5994 declarations to be parsed correctly.
5995
5996 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5997
5998 * international/mule.el (define-coding-system): Doc fix.
5999
6000 * simple.el (default-font-height): Don't call font-info if the
6001 frame's default font didn't change since the frame was created.
6002 (Bug#14838)
6003
6004 2013-07-13 Leo Liu <sdl.web@gmail.com>
6005
6006 * ido.el (ido-read-file-name): Guard against non-symbol value.
6007
6008 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6009
6010 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6011 in nested defuns.
6012
6013 2013-07-13 Leo Liu <sdl.web@gmail.com>
6014
6015 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6016 ido-set-matches call. (Bug#6852)
6017
6018 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6019
6020 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6021 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6022 Ruby 2.0.
6023 (ruby-font-lock-keywords): Distinguish calls to functions with
6024 module-like names from module references. Highlight character
6025 literals.
6026
6027 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6028
6029 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6030 (gdb-send): Handle continued commands. (Bug#14847)
6031
6032 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6033
6034 * desktop.el (desktop--v2s): Remove unused local variable.
6035 (desktop-save-buffer): Make defvar-local; adjust docstring.
6036 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6037 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6038
6039 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6040
6041 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6042
6043 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6044
6045 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6046 (Bug#14842)
6047
6048 2013-07-12 Glenn Morris <rgm@gnu.org>
6049
6050 * doc-view.el: Require cl-lib at runtime too.
6051 (doc-view-remove-if): Remove.
6052 (doc-view-search-next-match, doc-view-search-previous-match):
6053 Use cl-remove-if.
6054
6055 * edmacro.el: Require cl-lib at runtime too.
6056 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6057 (edmacro-mismatch, edmacro-subseq): Remove.
6058
6059 * shadowfile.el: Require cl-lib.
6060 (shadow-remove-if): Remove.
6061 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6062 Use cl-remove-if.
6063
6064 * wid-edit.el: Require cl-lib.
6065 (widget-choose): Use cl-remove-if.
6066 (widget-remove-if): Remove.
6067
6068 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6069 (ebrowse-delete-if-not): Remove.
6070 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6071 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6072 Use cl-delete-if-not.
6073
6074 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6075
6076 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6077 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6078
6079 2013-07-12 Leo Liu <sdl.web@gmail.com>
6080
6081 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6082
6083 2013-07-11 Glenn Morris <rgm@gnu.org>
6084
6085 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6086 (edebug-gensym-index, edebug-gensym):
6087 Remove reimplementation of cl-gensym.
6088 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6089
6090 * thumbs.el: Require cl-lib at run-time too.
6091 (thumbs-gensym-counter, thumbs-gensym):
6092 Remove reimplementation of cl-gensym.
6093 (thumbs-temp-file): Use cl-gensym.
6094
6095 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6096 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6097 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6098 (ert--union, ert--gensym-counter, ert--gensym-counter)
6099 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6100 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6101 (ert-make-test-unbound, ert--expand-should-1)
6102 (ert--expand-should, ert--should-error-handle-error)
6103 (should-error, ert--explain-equal-rec)
6104 (ert--plist-difference-explanation, ert-select-tests)
6105 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6106 Use cl-lib functions rather than reimplementations.
6107
6108 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6109
6110 * net/tramp.el (tramp-methods): Extend docstring.
6111 (tramp-connection-timeout): New defcustom.
6112 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6113 (with-tramp-progress-reporter): Simplify.
6114 (tramp-process-actions): Improve messages.
6115
6116 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6117 * net/tramp-sh.el (tramp-maybe-open-connection):
6118 Use `tramp-connection-timeout'.
6119 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6120 (Bug#14808)
6121
6122 2013-07-11 Leo Liu <sdl.web@gmail.com>
6123
6124 * ido.el (ido-read-file-name): Conform to the requirements of
6125 read-file-name. (Bug#11861)
6126 (ido-read-directory-name): Conform to the requirements of
6127 read-directory-name.
6128
6129 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6130
6131 * subr.el (delay-warning): New function.
6132
6133 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6134
6135 * simple.el (default-line-height): New function.
6136 (line-move-partial, line-move): Use it instead of computing the
6137 line height inline.
6138 (line-move-partial): Always compute ROWH. If the last line is
6139 partially-visible, but its text is completely visible, allow
6140 cursor to enter such a partially-visible line.
6141
6142 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6143
6144 Improve error messages. (Bug#14808)
6145
6146 * net/tramp.el (tramp-current-connection): New defvar, moved from
6147 tramp-sh.el.
6148 (tramp-message-show-progress-reporter-message): Remove, not
6149 needed anymore.
6150 (tramp-error-with-buffer): Show message in minibuffer.
6151 Discard input before waiting. Reset connection timestamp.
6152 (with-tramp-progress-reporter): Improve messages.
6153 (tramp-process-actions): Use progress reporter. Delete process in
6154 case of error. Improve messages.
6155
6156 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6157 Call `tramp-error-with-buffer' with vector and buffer.
6158 (tramp-current-connection): Remove.
6159 (tramp-maybe-open-connection): The car of
6160 `tramp-current-connection' are the first 3 slots of the vector.
6161
6162 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6163
6164 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6165 inside continued strings.
6166
6167 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6168
6169 Timestamp fixes for undo (Bug#14824).
6170 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6171
6172 2013-07-10 Leo Liu <sdl.web@gmail.com>
6173
6174 * files.el (require-final-newline): Allow safe local value.
6175 (Bug#14834)
6176
6177 2013-07-09 Leo Liu <sdl.web@gmail.com>
6178
6179 * ido.el (ido-read-directory-name): Handle fallback.
6180 (ido-read-file-name): Update DIR to ido-current-directory.
6181 (Bug#1516)
6182 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6183
6184 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6185
6186 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6187 "autoload". Remove "warn lower camel case" section, previously
6188 commented out. Highlight negation char. Do not highlight the
6189 target in singleton method definitions.
6190
6191 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * faces.el (tty-setup-hook): Declare the hook.
6194
6195 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6196 and detect when a guard/pred depends on local vars (bug#14773).
6197 (pcase--u1): Adjust caller.
6198
6199 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6200
6201 * simple.el (line-move-partial, line-move): Account for
6202 line-spacing.
6203 (line-move-partial): Avoid setting vscroll when the last
6204 partially-visible line in window is of default height.
6205
6206 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6207
6208 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6209 been used a while.
6210
6211 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6212
6213 * subr.el (read-quoted-char): Remove unused local variable `char'.
6214
6215 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6216
6217 * ediff.el (ediff-version): Version update.
6218 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6219 (ediff-merge-with-ancestor-command, ediff-directories-command)
6220 (ediff-directories3-command, ediff-merge-directories-command)
6221 (ediff-merge-directories-with-ancestor-command): New functions.
6222 All are command-line interfaces to ediff: to facilitate calling
6223 Emacs with the appropriate ediff functions invoked.
6224
6225 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6226 (viper-save-kill-buffer): Check if buffer is modified.
6227
6228 * viper.el (viper-version): Version update.
6229 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6230
6231 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6232
6233 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6234 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6235 (viper-intercept-ESC-key): Simplify.
6236 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6237 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6238 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6239 (viper-setup-ESC-to-escape): New functions.
6240 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6241 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6242
6243 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6244
6245 * simple.el (default-font-height, window-screen-lines):
6246 New functions.
6247 (line-move, line-move-partial): Use them instead of
6248 frame-char-height and window-text-height. This makes scrolling
6249 text smoother when the buffer's default face uses a font that is
6250 different from the frame's default font.
6251
6252 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6253
6254 * files.el (write-file): Do not display confirm dialog for NS,
6255 it does its own dialog, which can't be cancelled (Bug#14578).
6256
6257 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6258
6259 * simple.el (line-move-partial): Adjust the row returned by
6260 posn-at-point for the current window-vscroll. (Bug#14567)
6261
6262 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6263
6264 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6265 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6266 spaces.
6267
6268 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6269
6270 * window.el (window-state-put-stale-windows): New variable.
6271 (window--state-put-2): Save list of windows without matching buffer.
6272 (window-state-put): Remove "bufferless" windows if possible.
6273
6274 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6275
6276 * simple.el (alternatives-define): Remove leftover :group keyword.
6277 Tweak docstring.
6278
6279 2013-07-06 Leo Liu <sdl.web@gmail.com>
6280
6281 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6282 (ido-enable-virtual-buffers): New variable.
6283 (ido-buffer-internal, ido-toggle-virtual-buffers)
6284 (ido-make-buffer-list): Use it.
6285 (ido-exhibit): Support turning on and off virtual buffers
6286 automatically.
6287
6288 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6289
6290 * simple.el (alternatives-define): New macro.
6291
6292 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * subr.el (read-quoted-char): Use read-key.
6295 (sit-for): Let read-event decode tty input (bug#14782).
6296
6297 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6298
6299 * calendar/todo-mode.el: Add handling of file deletion, both by
6300 mode command and externally. Fix various related bugs.
6301 Clarify Commentary and improve some documentation strings and code.
6302 (todo-delete-file): New command.
6303 (todo-check-file): New function.
6304 (todo-show): Handle external deletion of the file we're trying to
6305 show (bug#14688). Replace called-interactively-p by an optional
6306 prefix argument to avoid problematic interaction with catch form
6307 when byte compiled (bug#14702).
6308 (todo-quit): Handle external deletion of the archive's todo file.
6309 Make sure the buffer that was visiting the archive file is still
6310 live before trying to bury it.
6311 (todo-category-completions): Handle external deletion of any
6312 category completion files.
6313 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6314 of todo files, in case of external deletion.
6315 (todo-add-file): Replace unnecessary setq by let-binding.
6316 (todo-find-archive): Check whether there are any archives.
6317 Replace unnecessary setq by let-binding.
6318 (todo-archive-done-item): Use find-file-noselect to get the
6319 archive buffer whether or not the archive already exists.
6320 Remove superfluous code. Use file size instead of buffer-file-name to
6321 check if the archive is new; if it is, update list of archives.
6322 (todo-default-todo-file): Allow nil to be a valid value for when
6323 there are no todo files.
6324 (todo-reevaluate-default-file-defcustom): Use corrected definition
6325 of todo-default-todo-file.
6326 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6327 (todo-delete-category, todo-show-categories-table)
6328 (todo-category-number): Clarify comment.
6329 (todo-filter-items): Clarify documentation string.
6330 (todo-show-current-file, todo-display-as-todo-file)
6331 (todo-reset-and-enable-done-separator): Tweak documentation string.
6332 (todo-done-separator): Make separator length window-width, since
6333 bug#2749 is now fixed.
6334
6335 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6336
6337 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6338 Support both "gvfs-monitor-dir" and "inotifywait".
6339 (tramp-sh-file-inotifywait-process-filter): Rename from
6340 `tramp-sh-file-notify-process-filter'.
6341 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6342 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6343
6344 2013-07-05 Leo Liu <sdl.web@gmail.com>
6345
6346 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6347
6348 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6349
6350 * frame.el (display-pixel-height, display-pixel-width)
6351 (display-mm-height, display-mm-width): Mention behavior on
6352 multi-monitor setups in docstrings.
6353 (w32-display-monitor-attributes-list): Declare function.
6354 (display-monitor-attributes-list): Use it.
6355
6356 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6357
6358 * filenotify.el: New package.
6359
6360 * autorevert.el (top): Require filenotify.el.
6361 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6362 instead.
6363 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6364 (auto-revert-notify-handler): Use `file-notify-*' functions.
6365
6366 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6367
6368 * net/tramp.el (tramp-file-name-for-operation):
6369 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6370
6371 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6372 for `file-notify-add-watch' and `file-notify-rm-watch'.
6373 (tramp-process-sentinel): Improve trace.
6374 (tramp-sh-handle-file-notify-add-watch)
6375 (tramp-sh-file-notify-process-filter)
6376 (tramp-sh-handle-file-notify-rm-watch)
6377 (tramp-get-remote-inotifywait): New defuns.
6378
6379 2013-07-03 Juri Linkov <juri@jurta.org>
6380
6381 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6382 call of `occur-read-primary-args' to interactive spec.
6383
6384 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6385 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6386
6387 2013-07-03 Matthias Meulien <orontee@gmail.com>
6388
6389 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6390 `Buffer-menu-multi-occur'. Add it to the menu.
6391 (Buffer-menu-mode): Document it in docstring.
6392 (Buffer-menu-multi-occur): New command. (Bug#14673)
6393
6394 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6395
6396 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6397 keywords and built-ins.
6398
6399 2013-07-03 Glenn Morris <rgm@gnu.org>
6400
6401 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6402
6403 Make info-xref checks case-sensitive by default
6404 * info.el (Info-find-node, Info-find-in-tag-table)
6405 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6406 Add option for exact case matching of nodes.
6407 * info-xref.el (info-xref): New custom group.
6408 (info-xref-case-fold): New option.
6409 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6410
6411 2013-07-03 Leo Liu <sdl.web@gmail.com>
6412
6413 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6414
6415 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6416
6417 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6418 middle of block statement initially, lower the depth. Remove
6419 FIXME comment, not longer valid. Remove middle of block statement
6420 detection, no need to do that anymore since we've been using
6421 `ruby-parse-region' here.
6422
6423 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6424
6425 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6426
6427 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6428
6429 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6430
6431 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6432
6433 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6434 (desktop-restore-in-current-display): New customization option.
6435 (desktop--excluded-frame-parameters): Add `font'.
6436 (desktop--save-frames): Rename from desktop--save-windows.
6437 (desktop--restore-in-this-display-p): New function.
6438 (desktop--make-full-frame): Remove unwanted width/height from
6439 full(width|height) frames.
6440 (desktop--restore-frames): Rename from desktop--restore-windows.
6441 Obey desktop-restore-current-display. Do not delete old frames or
6442 select a new frame unless we were able to restore at least one frame.
6443
6444 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6445
6446 * files.el (find-file-noselect): Simplify conditional expression.
6447
6448 * remember.el (remember-append-to-file):
6449 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6450
6451 Add `remember-notes' function to store random notes across Emacs
6452 restarts.
6453 * remember.el (remember-data-file): Add :set callback to affect
6454 notes buffer (if any).
6455 (remember-notes): New command.
6456 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6457 New defcustoms for the `remember-notes' function.
6458 (remember-notes-save-and-bury-buffer): New command.
6459 (remember-notes-mode-map): New variable.
6460 (remember-mode): New minor mode.
6461 (remember-notes--kill-buffer-query): New function.
6462 * startup.el (initial-buffer-choice): Add notes to custom type.
6463
6464 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6465
6466 * bindings.el (right-char, left-char): Don't call sit-for, this is
6467 no longer needed. Use arithmetic comparison only for numerical
6468 arguments.
6469
6470 * international/mule-cmds.el (select-safe-coding-system):
6471 Handle the case of FROM being a string correctly. (Bug#14755)
6472
6473 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6474
6475 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6476 progression on degenerate tables.
6477 (shr-rescale-image): ImageMagick animated images currently don't work.
6478
6479 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6480
6481 Some fixes and improvements for desktop frame restoration.
6482 It is still experimental and disabled by default.
6483 * desktop.el (desktop--save-windows): Put the selected frame at
6484 the head of the list.
6485 (desktop--make-full-frame): New function.
6486 (desktop--restore-windows): Try to re-select the frame that was
6487 selected upon saving. Do not abort if some frames fail to restore,
6488 just show an error message and continue. Set up maximized frames
6489 so they have default non-maximized dimensions.
6490
6491 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6492
6493 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6494 Don't start heredoc inside a string or comment.
6495
6496 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6497
6498 * bindings.el (visual-order-cursor-movement): New defcustom.
6499 (right-char, left-char): Provide visual-order cursor motion by
6500 calling move-point-visually. Update the doc strings.
6501
6502 2013-06-28 Kenichi Handa <handa@gnu.org>
6503
6504 * international/mule.el (define-coding-system): New coding system
6505 properties :inhibit-null-byte-detection,
6506 :inhibit-iso-escape-detection, and :prefer-utf-8.
6507 (set-buffer-file-coding-system): If :charset-list property of
6508 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6509 appropriate for setting.
6510
6511 * international/mule-cmds.el (select-safe-coding-system):
6512 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6513 multibyte characters, return utf-8 (or one of its siblings).
6514
6515 * international/mule-conf.el (prefer-utf-8): New coding system.
6516 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6517 files.
6518
6519 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6520
6521 * net/shr.el (shr-render-region): New function.
6522
6523 * net/eww.el: Autoload `eww-browse-url'.
6524
6525 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6526
6527 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6528 Adapt to `package-desc-version' being a list.
6529 Use `package--ac-desc-version' to retrieve version from a package
6530 archive element.
6531
6532 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6533
6534 New experimental feature to save&restore window and frame setup.
6535 * desktop.el (desktop-save-windows): New defcustom.
6536 (desktop--saved-states): New var.
6537 (desktop--excluded-frame-parameters): New defconst.
6538 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6539 (desktop--restore-windows, desktop--save-windows): New functions.
6540 (desktop-save): Call `desktop--save-windows'.
6541 (desktop-read): Call `desktop--restore-windows'.
6542
6543 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6544
6545 * net/shr.el (add-face-text-property): Remove compat definition.
6546
6547 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6548
6549 * info.el (Info-try-follow-nearest-node): Move search for footnote
6550 above search for node name to prevent missing a footnote (bug#14717).
6551
6552 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6553
6554 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6555
6556 2013-06-27 Leo Liu <sdl.web@gmail.com>
6557
6558 * net/eww.el (eww-read-bookmarks): Check file size.
6559
6560 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6563 advice--pending if newdef is nil or an autoload (bug#13820).
6564 (advice-mapc): New function.
6565
6566 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6567
6568 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6569 probably.
6570 (eww-mode-map): Add a menu bar.
6571 (eww-add-bookmark): New command.
6572 (eww-bookmark-mode): New mode and commands.
6573 (eww-add-bookmark): Remove newlines from the title.
6574 (eww-bookmark-browse): Don't bug out if it's the only window.
6575
6576 2013-06-26 Glenn Morris <rgm@gnu.org>
6577
6578 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6579 (hfy-size): Handle ttys. (Bug#14668)
6580
6581 * info-xref.el: Update for Texinfo 5 change in *note format.
6582 (info-xref-node-re, info-xref-note-re): New constants.
6583 (info-xref-check-buffer): Use info-xref-note-re.
6584
6585 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6586
6587 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6588
6589 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6590 nil terminate the loop (bug#14718).
6591
6592 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6593
6594 * net/eww.el: Rework history traversal. When going forward/back,
6595 put these actions into the history, too, so that they can be
6596 replayed.
6597 (eww-render): Move the history reset to the correct buffer.
6598
6599 2013-06-25 Juri Linkov <juri@jurta.org>
6600
6601 * files-x.el (modify-dir-local-variable): Change the header comment
6602 in the file with directory local variables. (Bug#14692)
6603
6604 * files-x.el (read-file-local-variable-value): Add `default'.
6605 (Bug#14710)
6606
6607 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6608
6609 * net/eww.el (eww-make-unique-file-name): Create a unique file
6610 name before saving to entering `y' accidentally asynchronously.
6611
6612 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6613
6614 * net/eww.el (eww-download): New command and keystroke.
6615
6616 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6617
6618 * net/eww.el (eww-copy-page-url): Change name of command.
6619
6620 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6621 be more consistent with Info and dired.
6622
6623 * net/eww.el (eww-mode-map): Ditto.
6624
6625 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6628 packages from archives.
6629 (package-archive-contents): Change format; include obsolete packages.
6630 (package-desc): Use `dir' to mark builtin packages.
6631 (package--from-builtin): Set the `dir' field to `builtin'.
6632 (generated-autoload-file, version-control): Declare.
6633 (package-compute-transaction): Change first arg and return value to be
6634 lists of package-descs. Adjust to new package-archive-contents format.
6635 (package--add-to-archive-contents): Adjust to new
6636 package-archive-contents format.
6637 (package-download-transaction): Arg is now a list of package-descs.
6638 (package-install): If `pkg' is a package name, pass it as
6639 a requirement, so it is subject to the usual (e.g. disabled) checks.
6640 (describe-package): Accept package-desc as well.
6641 (describe-package-1): Describe a specific package-desc. Add links to
6642 other package-descs for the same package name.
6643 (package-menu-describe-package): Pass the actual package-desc.
6644 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6645 works correctly.
6646 (package-desc-status): New function.
6647 (package-menu--refresh): New function, extracted
6648 from package-menu--generate.
6649 (package-menu--generate): Use it.
6650 (package-delete): Update package-alist.
6651 (package-menu-execute): Don't call package-initialize.
6652
6653 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6654 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6655 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6656 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6657 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6658 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6659
6660 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6661
6662 * window.el (window--state-get-1): Workaround for bug#14527.
6663 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6664
6665 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6666
6667 * net/eww.el (eww-back-url): Implement the history by stashing all
6668 the data into a list.
6669 (eww-forward-url): Allow going forward in the history, too.
6670
6671 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6674 for values and use read--expression for expressions (bug#14710).
6675 (read-file-local-variable): Avoid setq.
6676 (read-file-local-variable-mode): Use minor-mode-list.
6677
6678 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6679
6680 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6681 for DOI URLs.
6682
6683 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6684
6685 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6686 Update imenu-support when dialect changes.
6687
6688 2013-06-25 Leo Liu <sdl.web@gmail.com>
6689
6690 * ido.el (ido-read-internal): Allow forward slash on windows.
6691
6692 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6693
6694 * net/eww.el (eww): Start of strings is \\`, not ^.
6695
6696 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6697
6698 * net/shr.el (shr-browse-url): Fix interactive spec.
6699
6700 * net/eww.el (eww): Add a trailing slash to domain names.
6701
6702 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6703
6704 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6705
6706 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6707
6708 * net/shr.el (shr-browse-url): Use an external browser if given a
6709 prefix.
6710
6711 * net/eww.el (eww-external-browser): Move to shr.
6712
6713 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6714
6715 * net/eww.el (eww): Work more correctly for file: URLs.
6716 (eww-detect-charset): Allow quoted charsets.
6717 (eww-yank-page-url): New command and keystroke.
6718
6719 2013-06-24 Daiki Ueno <ueno@gnu.org>
6720
6721 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6722 file name of gpg executable.
6723 (epg-context-program): New function.
6724 (epg-context-home-directory): New function.
6725 (epg-context-set-program): New function.
6726 (epg-context-set-home-directory): New function.
6727 (epg--start): Use `epg-context-program' instead of
6728 'epg-gpg-program'.
6729 (epg--list-keys-1): Likewise.
6730
6731 2013-06-24 Leo Liu <sdl.web@gmail.com>
6732
6733 * ido.el (ido-read-internal): Fix bug#14620.
6734
6735 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6736
6737 * faces.el (face-documentation): Simplify.
6738 (read-face-attribute, tty-find-type, x-resolve-font-name):
6739 Use `string-match-p'.
6740 (list-faces-display): Use `string-match-p'. Simplify.
6741 (face-spec-recalc): Check face to avoid face alias loops.
6742 (read-color): Use `string-match-p' and non-capturing parenthesis.
6743
6744 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6745
6746 * net/shr.el (shr-rescale-image): Use the new
6747 :max-width/:max-height functionality.
6748
6749 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6750
6751 * net/eww.el (eww-search-prefix): New variable.
6752 (eww): Use it.
6753 (eww-external-browser): New variable.
6754 (eww-mode-map): New keystroke.
6755 (eww-browse-with-external-browser): New command.
6756
6757 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6758
6759 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6762 Don't skip aligning the next header field when padding is 0;
6763 otherwise, field width is not respected unless the title is as
6764 wide as the field.
6765
6766 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * emacs-lisp/package.el (package-el-version): Remove.
6769 (package-process-define-package): Fix inf-loop.
6770 (package-install): Allow symbols as arguments again.
6771
6772 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6773
6774 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6775 add some more keyword-like methods.
6776 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6777
6778 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6779
6780 * bs.el (bs-buffer-show-mark): Make defvar-local.
6781 (bs-mode): Use setq-local.
6782
6783 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6784 (emacs-lock--try-unlocking): Make defvar-local.
6785
6786 2013-06-22 Glenn Morris <rgm@gnu.org>
6787
6788 * play/cookie1.el (cookie-apropos): Minor simplification.
6789
6790 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6791
6792 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6793
6794 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6795 `regexp-opt', it breaks the build during dumping.
6796
6797 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6798
6799 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6800 Highlight keyword-like methods on Kernel and Module with
6801 font-lock-builtin-face.
6802 (auto-mode-alist): Consolidate different entries into one regexp
6803 and add more *file-s.
6804
6805 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6806
6807 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6808
6809 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6810 (diary-entry): Use it in the action of this button type instead of
6811 diary-goto-entry.
6812
6813 * calendar/todo-mode.el: New version.
6814 (todo-add-category): Append new category to end of file and give
6815 it the highest number, instead of putting it at the beginning and
6816 giving it 0. Incorporate noninteractive functionality.
6817 (todo-forward-category): Adapt to 1-based category numbering.
6818 Allow skipping over archived categories.
6819 (todo-backward-category): Derive from todo-forward-category.
6820 (todo-backward-item, todo-forward-item): Make noninteractive and
6821 delegate interactive part to new commands. Make sensitive to done items.
6822 (todo-categories): Make value an alist of category names and
6823 vectors of item counts.
6824 (todo-category-beg): Make a defconst.
6825 (todo-category-number): Use 1 instead of 0 as initial value.
6826 (todo-category-select): Make sensitive to overlays, optional item
6827 highlighting and done items.
6828 (todo-delete-item): Make sensitive to overlays and marked and done items.
6829 (todo-edit-item): Make sensitive to overlays and editing of
6830 date/time header optional. Add format checks.
6831 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6832 no-op if point is not on an item. Advertise using todo-edit-quit.
6833 (todo-edit-mode): Make sensitive to new format, font-locking, and
6834 multiple todo files.
6835 (todo-insert-item, todo-insert-item-here): Derive from
6836 todo-basic-insert-item and extend functionality.
6837 (todo-item-end, todo-item-start): Make sensitive to done items.
6838 (todo-item-string): Don't return text properties. Restore point.
6839 (todo-jump-to-category): Make sensitive to multiple todo files and
6840 todo archives. Use extended category completion.
6841 (todo-lower-item, todo-raise-item): Rename to *-priority and
6842 derive from todo-set-item-priority.
6843 (todo-mode): Derive from special-mode. Make sensitive to new
6844 format, font-locking and multiple todo files. Make read-only.
6845 (todo-mode-map): Don't suppress digit keys, so they can supply
6846 prefix arguments. Add many new key bindings.
6847 (todo-prefix): Insert as an overlay instead of file text.
6848 Change semantics from diary date expression to purely visual mark.
6849 (todo-print): Rename to todo-print-buffer. Make buffer display
6850 features printable. Remove option to restrict number of items
6851 printed. Add option to print to file.
6852 (todo-print-function): Rename to todo-print-buffer-function.
6853 (todo-quit): Extend to handle exiting new todo modes.
6854 (todo-remove-item): Make sensitive to overlays.
6855 (todo-save): Extend to buffers of filtered items.
6856 (todo-show): Make sensitive to done items, multiple todo files and
6857 new todo modes. Offer to convert legacy todo file before creating
6858 first new todo file.
6859 (todo-show-priorities): Rename to todo-top-priorities.
6860 Change semantics of value 0.
6861 (todo-top-priorities): Rename to todo-filter-top-priorities,
6862 derive from todo-filter-items and extend functionality.
6863 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6864 and extend functionality to other types of filtered items.
6865 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6866 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6867 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6868 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6869 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6870 (todo-edit-mode-hook, todo-entry-prefix-function)
6871 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6872 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6873 (todo-initials, todo-insert-threshold, todo-item-string-start)
6874 (todo-line-string, todo-menu, todo-mode-hook)
6875 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6876 (todo-print-priorities, todo-remove-separator)
6877 (todo-save-top-priorities-too, todo-string-count-lines)
6878 (todo-string-multiline-p, todo-time-string-format)
6879 (todo-tmp-buffer-name): Remove.
6880 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6881 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6882 (todo-edit-category-diary-inclusion)
6883 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6884 (todo-edit-file, todo-edit-item-date-day)
6885 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6886 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6887 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6888 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6889 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6890 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6891 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6892 (todo-filter-top-priorities-multifile, todo-find-archive)
6893 (todo-find-filtered-items-file, todo-go-to-source-item)
6894 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6895 (todo-jump-to-archive-category, todo-lower-category)
6896 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6897 (todo-move-category, todo-move-item, todo-next-button)
6898 (todo-next-item, todo-padded-string, todo-powerset)
6899 (todo-previous-button, todo-previous-item)
6900 (todo-print-buffer-to-file, todo-raise-category)
6901 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6902 (todo-set-category-number, todo-set-item-priority)
6903 (todo-set-top-priorities-in-category)
6904 (todo-set-top-priorities-in-file, todo-show-categories-table)
6905 (todo-sort-categories-alphabetically-or-numerically)
6906 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6907 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6908 (todo-toggle-item-header, todo-toggle-item-highlighting)
6909 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6910 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6911 (todo-unarchive-items, todo-unmark-category): New commands.
6912 (todo-absolute-file-name, todo-add-to-buffer-list)
6913 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6914 (todo-basic-insert-item, todo-category-completions)
6915 (todo-category-number, todo-category-string-matcher-1)
6916 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6917 (todo-check-format, todo-clear-matches)
6918 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6919 (todo-current-category, todo-date-string-matcher)
6920 (todo-define-insertion-command, todo-diary-expired-matcher)
6921 (todo-diary-goto-entry, todo-diary-item-p)
6922 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6923 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6924 (todo-done-item-section-p, todo-done-separator)
6925 (todo-done-string-matcher, todo-files, todo-filter-items)
6926 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6927 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6928 (todo-insert-category-line, todo-insert-item-from-calendar)
6929 (todo-insert-sort-button, todo-insert-with-overlays)
6930 (todo-insertion-command-name, todo-insertion-key-bindings)
6931 (todo-label-to-key, todo-longest-category-name-length)
6932 (todo-make-categories-list, todo-mode-external-set)
6933 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6934 (todo-modes-set-3, todo-multiple-filter-files)
6935 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6936 (todo-read-category, todo-read-date, todo-read-dayname)
6937 (todo-read-file-name, todo-read-time)
6938 (todo-reevaluate-category-completions-files-defcustom)
6939 (todo-reevaluate-default-file-defcustom)
6940 (todo-reevaluate-filelist-defcustoms)
6941 (todo-reevaluate-filter-files-defcustom)
6942 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6943 (todo-reset-done-separator, todo-reset-done-separator-string)
6944 (todo-reset-done-string, todo-reset-global-current-todo-file)
6945 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6946 (todo-reset-prefix, todo-set-categories)
6947 (todo-set-date-from-calendar, todo-set-show-current-file)
6948 (todo-set-top-priorities, todo-short-file-name)
6949 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6950 (todo-total-item-counts, todo-update-buffer-list)
6951 (todo-update-categories-display, todo-update-categories-sexp)
6952 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6953 New functions.
6954 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6955 New major modes.
6956 (todo-categories, todo-display, todo-edit, todo-faces)
6957 (todo-filtered): New defgroups.
6958 (todo-archived-only, todo-button, todo-category-string, todo-date)
6959 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6960 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6961 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6962 (todo-add-item-if-new-category, todo-always-add-time-string)
6963 (todo-categories-align, todo-categories-archived-label)
6964 (todo-categories-category-label, todo-categories-diary-label)
6965 (todo-categories-done-label, todo-categories-number-separator)
6966 (todo-categories-todo-label, todo-categories-totals-label)
6967 (todo-category-completions-files, todo-completion-ignore-case)
6968 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6969 (todo-done-separator-string, todo-done-string)
6970 (todo-files-function, todo-filter-done-items, todo-filter-files)
6971 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6972 (todo-initial-category, todo-initial-file, todo-item-mark)
6973 (todo-legacy-date-time-regexp, todo-mode-line-function)
6974 (todo-nondiary-marker, todo-number-prefix)
6975 (todo-print-buffer-function, todo-show-current-file)
6976 (todo-show-done-only, todo-show-first, todo-show-with-done)
6977 (todo-skip-archived-categories, todo-top-priorities-overrides)
6978 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6979 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6980 New defcustoms.
6981 (todo-category-done, todo-date-pattern, todo-date-string-start)
6982 (todo-diary-items-buffer, todo-done-string-start)
6983 (todo-filtered-items-buffer, todo-item-start)
6984 (todo-month-abbrev-array, todo-month-name-array)
6985 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6986 (todo-top-priorities-buffer): New defconsts.
6987 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6988 (todo-categories-with-marks, todo-category-string-face)
6989 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6990 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6991 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6992 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6993 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6994 (todo-font-lock-keywords, todo-global-current-todo-file)
6995 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6996 (todo-insertion-commands-args)
6997 (todo-insertion-commands-args-genlist)
6998 (todo-insertion-commands-names, todo-insertion-map)
6999 (todo-key-bindings-t, todo-key-bindings-t+a)
7000 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7001 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7002 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7003 (todo-visited): New variables.
7004
7005 2013-06-21 Glenn Morris <rgm@gnu.org>
7006
7007 * play/cookie1.el (cookie-apropos): Add optional display argument.
7008 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7009 (psychoanalyze-pinhead): Use cookie-doctor.
7010
7011 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7012
7013 * emacs-lisp/package.el (tar-get-file-descriptor)
7014 (tar--extract): Declare.
7015
7016 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7017
7018 Extend flymake's warning predicate to be a function (bug#14217).
7019 * progmodes/flymake.el (flymake-warning-predicate): New.
7020 (flymake-parse-line): Use it.
7021 (flymake-warning-re): Make obsolete alias to
7022 `flymake-warning-predicate'.
7023
7024 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7027 (package-obsolete-list): Remove.
7028 (package-activate): Remove min-version argument. Add `force' argument.
7029 Adjust to new package-alist format.
7030 (package-mark-obsolete): Remove.
7031 (package-unpack): Force reload of the package's autoloads.
7032 (package-installed-p): Check builtins if the installed package is not
7033 recent enough.
7034 (package-initialize): Don't reset package-obsolete-list.
7035 Don't specify which package version to activate.
7036 (package-process-define-package, describe-package-1)
7037 (package-menu--generate): Adjust to new package-alist format.
7038
7039 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7040
7041 * allout-widgets.el (allout-widgets-mode-off)
7042 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7043 (allout-widgets-post-command-business)
7044 (allout-widgets-after-copy-or-kill-function)
7045 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7046 (allout-decorate-item-and-context)
7047 (allout-graphics-modification-handler): Fix typos in docstrings.
7048 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7049
7050 * cmuscheme.el (scheme-start-file): Doc fix.
7051 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7052 (scheme-input-filter): Use `string-match-p'.
7053
7054 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7055
7056 * dired-x.el: Use Dired consistently in docstrings.
7057
7058 * dired.el: Use Dired consistently in docstrings.
7059 (dired-readin, dired-mode): Use `setq-local'.
7060 (dired-switches-alist): Make defvar-local.
7061 (dired-buffers-for-dir): Use `zerop'.
7062 (dired-safe-switches-p, dired-switches-escape-p)
7063 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7064 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7065 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7066 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7067 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7068 (dired-toggle-marks, dired-mark-files-containing-regexp)
7069 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7070 (dired-flag-auto-save-files, dired-flag-backup-files):
7071 Use `looking-at-p'.
7072 (dired-mark-files-regexp, dired-build-subdir-alist):
7073 Use `string-match-p', `looking-at-p'.
7074
7075 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7076 (direct-print-region-helper): Use `string-match-p'.
7077
7078 2013-06-21 Leo Liu <sdl.web@gmail.com>
7079
7080 * comint.el (comint-redirect-results-list-from-process):
7081 Fix infinite loop.
7082
7083 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7084
7085 * net/eww.el (eww-update-header-line-format): Quote % characters.
7086
7087 2013-06-21 Glenn Morris <rgm@gnu.org>
7088
7089 * play/cookie1.el (cookie): New custom group.
7090 (cookie-file): New option.
7091 (cookie-check-file): New function.
7092 (cookie): Make it interactive. Make start and end messages optional.
7093 Interactively, display the result. Default to cookie-file.
7094 (cookie-insert): Default to cookie-file.
7095 (cookie-snarf): Make start and end messages optional.
7096 Default to cookie-file. Use with-temp-buffer.
7097 (cookie-read): Rename from read-cookie.
7098 Make start and end messages optional. Default to cookie-file.
7099 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7100 Do not autoload it.
7101 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7102 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7103
7104 2013-06-21 Leo Liu <sdl.web@gmail.com>
7105
7106 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7107
7108 2013-06-21 Glenn Morris <rgm@gnu.org>
7109
7110 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7111
7112 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7113 Daniel Hackney <dan@haxney.org>
7114
7115 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7116 Consolidate the single-file vs tarball code.
7117 (package-desc-suffix): New function.
7118 (package-desc-full-name): Don't bother inlining it.
7119 (package-load-descriptor): Return the new package-desc.
7120 (package-mark-obsolete): Remove unused arg `package'.
7121 (package-unpack): Make it work for single files as well.
7122 Make it update package-alist.
7123 (package--make-autoloads-and-stuff): Rename from
7124 package--make-autoloads-and-compile. Don't compile any more.
7125 (package--compile): New function.
7126 (package-generate-description-file): New function, extracted from
7127 package-unpack-single.
7128 (package-unpack-single): Remove.
7129 (package--with-work-buffer): Add indentation and debugging info.
7130 (package-download-single): Remove.
7131 (package-install-from-archive): Rename from package-download-tar, make
7132 it take a pkg-desc, and make it work for single files as well.
7133 (package-download-transaction): Simplify.
7134 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7135 external tar program.
7136 (package-install-from-buffer): Remove `pkg-desc' argument.
7137 Use package-tar-file-info for tar-mode buffers.
7138 (package-install-file): Simplify accordingly.
7139 (package-archive-base): Change to take a pkg-desc.
7140 * tar-mode.el (tar--check-descriptor): New function, extracted from
7141 tar-get-descriptor.
7142 (tar-get-descriptor): Use it.
7143 (tar-get-file-descriptor): New function.
7144 (tar--extract): New function, extracted from tar-extract.
7145 (tar--extract): Use it.
7146 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7147 case the summary uses non-ascii. Adjust to new calling convention of
7148 package-tar-file-info.
7149
7150 2013-06-21 Leo Liu <sdl.web@gmail.com>
7151
7152 * comint.el (comint-redirect-results-list-from-process):
7153 Fix random delay. (Bug#14681)
7154
7155 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7156
7157 * profiler.el (profiler-format-number): Use log, not log10.
7158
7159 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7160
7161 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7162
7163 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7166 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7167 yet available.
7168 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7169 (AUTOGENEL): ... here.
7170 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7171 (cl--defsubst-expand): Use it.
7172
7173 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7174
7175 * subr.el (log10): Move here from C code, and declare as obsolete.
7176 All uses of (log10 X) replaced with (log X 10).
7177
7178 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7179
7180 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7181 Declare with `defvar-local'.
7182 (tabulated-list-use-header-line, tabulated-list-entries)
7183 (tabulated-list-padding, tabulated-list-printer)
7184 (tabulated-list-sort-key): Declare with `defvar-local'.
7185 (tabulated-list-init-header, tabulated-list-print-fake-header):
7186 Use `setq-local'.
7187
7188 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7189
7190 * arc-mode.el (archive-mode): Add `archive-write-file' to
7191 `write-contents-functions' also for remote files. (Bug#14652)
7192
7193 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7194
7195 * cus-edit.el (custom-commands): Fix typos.
7196 (custom-display): Fix tooltip text.
7197 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7198 Fix typos in docstrings.
7199 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7200 (custom-unlispify-menu-entry, custom-magic-value-create)
7201 (custom-add-see-also, custom-group-value-create): Use ?\s.
7202 (custom-guess-type, customize-apropos, editable-field)
7203 (custom-face-value-create): Use `string-match-p'.
7204 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7205
7206 * custom.el (custom-load-symbol): Use `string-match-p'.
7207
7208 * ansi-color.el: Convert to lexical binding.
7209 (ansi-colors): Fix URL.
7210 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7211 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7212 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7213
7214 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7215
7216 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7217
7218 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7219
7220 2013-06-19 Tom Tromey <tromey@redhat.com>
7221
7222 * net/eww.el (eww-top-url): Remove.
7223 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7224 (eww-render): Set new variables. Don't set eww-top-url.
7225 (eww-handle-link): Handle "prev", "home", and "contents".
7226 Downcase the rel text.
7227 (eww-top-url): Choose best top URL.
7228
7229 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7230
7231 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7232 relying in widget.el. Using widget.el leads to too many
7233 user interface inconsistencies.
7234 (eww-self-insert): Implement entering commands in text fields.
7235 (eww-process-text-input): New function to make text input field editing
7236 work.
7237 (eww-submit): Rewrite to use the new-style form methods.
7238 (eww-select-display): Display the correct selected item.
7239 (eww-change-select): Implement changing the select value.
7240 (eww-toggle-checkbox): Implement radio/checkboxes.
7241 (eww-update-field): Fix compilation error.
7242 (eww-tag-textarea): Implement <textarea>.
7243
7244 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7245 we don't shadow mode-specific bindings.
7246
7247 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7248 nothing to push.
7249
7250 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7251
7252 2013-06-19 Glenn Morris <rgm@gnu.org>
7253
7254 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7255
7256 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7257
7258 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7259 not needed.
7260
7261 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7262
7263 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7264
7265 * net/browse-url.el (browse-url-browser-function):
7266 `eww-browse-url' has the right calling signature, `eww' does not.
7267
7268 2013-06-19 Glenn Morris <rgm@gnu.org>
7269
7270 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7271 Only eval autoloaded macros.
7272 (byte-compile-autoload): Only give the macro warning for macros.
7273
7274 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7275 (ps-underlined-faces): Declare.
7276
7277 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7278 (speedbar-add-supported-extension): Declare.
7279
7280 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7281 Don't include a date stamp in the header of the generated file;
7282 it leads to needless differences between output files.
7283
7284 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7285
7286 * net/secrets.el (secrets-struct-secret-content-type):
7287 Replace check of introspection data by a test call of "CreateItem".
7288 Some servers do not offer introspection.
7289
7290 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * electric.el (electric-pair-mode): Improve interaction with
7293 electric-layout-mode.
7294 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7295 (electric-pair-syntax): Use text-mode-syntax-table in comments
7296 and strings.
7297 (electric-pair--insert): New function.
7298 (electric-pair-post-self-insert-function): Use it and
7299 electric--after-char-pos.
7300
7301 2013-06-19 Leo Liu <sdl.web@gmail.com>
7302
7303 * progmodes/octave.el (octave-help): Fix regexp.
7304
7305 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7306
7307 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7308 (shr-table-horizontal-line): Allow nil as a value, and change the
7309 default.
7310 (shr-insert-table-ruler): Respect the nil value.
7311
7312 2013-06-18 Tom Tromey <tromey@barimba>
7313
7314 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7315 New defvars.
7316 (eww-open-file): New defun.
7317 (eww-render): Initialize new variables.
7318 (eww-display-html): Handle "link" and "a".
7319 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7320 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7321 (eww-back-url): Rename from eww-previous-url.
7322 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7323 New defuns.
7324
7325 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7326
7327 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7328 Distinguish ternary operator tokens from slash symbol and slash
7329 char literal.
7330
7331 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7332
7333 Convert symbol prettification into minor mode and global minor mode.
7334
7335 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7336 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7337 (prettify-symbols--keywords): Rename from
7338 `prog-prettify-symbols-alist' and make a local defvar.
7339 (prettify-symbols--compose-symbol): Rename from
7340 `prog--prettify-font-lock-compose-symbol'.
7341 (prettify-symbols--make-keywords): Rename from
7342 `prog-prettify-font-lock-symbols-keywords' and simplify.
7343 (prog-prettify-install): Remove.
7344 (prettify-symbols-mode): New minor mode, based on
7345 `prog-prettify-install'.
7346 (turn-on-prettify-symbols-mode): New function.
7347 (global-prettify-symbols-mode): New globalized minor mode.
7348
7349 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7350 * progmodes/cfengine.el (cfengine3-mode):
7351 * progmodes/perl-mode.el (perl-mode): Don't call
7352 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7353
7354 2013-06-18 Juri Linkov <juri@jurta.org>
7355
7356 * files-x.el (modify-file-local-variable-message): New function.
7357 (modify-file-local-variable)
7358 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7359 and call `modify-file-local-variable-message' when it's non-nil.
7360 (add-file-local-variable, delete-file-local-variable)
7361 (add-file-local-variable-prop-line)
7362 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7363 and use it. (Bug#9820)
7364
7365 2013-06-18 Juri Linkov <juri@jurta.org>
7366
7367 * emulation/vi.el (vi-shell-op):
7368 * emulation/vip.el (vip-execute-com, ex-command):
7369 * emulation/viper-cmd.el (viper-exec-bang):
7370 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7371 the call of `shell-command-on-region'. (Bug#14637)
7372
7373 * simple.el (shell-command-on-region): Doc fix.
7374
7375 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7378 (bug#14633).
7379
7380 2013-06-18 Glenn Morris <rgm@gnu.org>
7381
7382 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7383
7384 * newcomment.el (comment-search-forward, comment-search-backward):
7385 Doc fix. (Bug#14376)
7386
7387 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7388
7389 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7390 (buffer-face-mode-invoke): Doc fix.
7391
7392 2013-06-18 Matthias Meulien <orontee@gmail.com>
7393
7394 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7395 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7396
7397 2013-06-18 Glenn Morris <rgm@gnu.org>
7398
7399 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7400 Replace obsolete function generic-make-keywords with its expansion.
7401
7402 * progmodes/python.el (ffap-alist): Declare.
7403
7404 * textmodes/reftex.el (bibtex-mode-map): Declare.
7405
7406 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7407
7408 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7409 (package-unpack, package-unpack-single): Return the pkg-dir.
7410 (package-download-transaction): Use it to update package-alist.
7411
7412 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7413
7414 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7415 possible choice.
7416
7417 2013-06-17 Juri Linkov <juri@jurta.org>
7418
7419 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7420
7421 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7422
7423 * emacs-lisp/package.el (package-load-descriptor):
7424 Remove `with-syntax-table' call, `read' doesn't need it.
7425 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7426
7427 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7428
7429 * startup.el (command-line): Expand package name returned by
7430 `package--description-file' (bug#14639).
7431
7432 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7433
7434 * emacs-lisp/package.el (package-load-descriptor): Do not call
7435 `emacs-lisp-mode', just use its syntax table.
7436
7437 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7438
7439 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7440 `font-lock-extra-managed-props' if any prettifying keyword is added.
7441 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7442 (prog-mode): Use `setq-local'.
7443
7444 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7445
7446 * international/characters.el (standard-case-table): Set syntax of ?»
7447 and ?« to punctuation.
7448
7449 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7450
7451 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7452 Save relevant match data before calling `syntax-ppss' (bug#14595).
7453
7454 2013-06-15 Juri Linkov <juri@jurta.org>
7455
7456 * files-x.el (modify-file-local-variable-prop-line): Add local
7457 variables to the end of the existing comment on the first line.
7458 Use `file-auto-mode-skip' to skip interpreter magic line,
7459 and also skip XML declaration.
7460
7461 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7462
7463 * startup.el (package--builtin-versions): New var.
7464 (package-subdirectory-regexp): Remove.
7465 (package--description-file): Hard code its value instead.
7466
7467 * emacs-lisp/package.el: Don't activate packages older than builtin.
7468 (package-obsolete-list): Rename from package-obsolete-alist, and make
7469 it into a simple list of package-desc.
7470 (package-strip-version): Remove.
7471 (package-built-in-p): Use package--builtin-versions.
7472 (package-mark-obsolete): Simplify.
7473 (package-process-define-package): Mark it obsolete if older than the
7474 builtin version.
7475 (package-handle-response): Use line-end-position.
7476 (package-read-archive-contents, package--download-one-archive):
7477 Simplify.
7478 (package--add-to-archive-contents): Skip if older than the builtin or
7479 installed version.
7480 (package-menu-describe-package): Fix last change.
7481 (package-list-unversioned): New var.
7482 (package-menu--generate): Use it.
7483
7484 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7485 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7486 (autoload-builtin-package-versions): New variable.
7487 (autoload-generate-file-autoloads): Use them.
7488 Remove the list of autoloaded functions/macros from the
7489 (autoload...) comments.
7490
7491 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7492
7493 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7494
7495 * simple.el (line-move-partial): Don't jump to the next screen
7496 line as soon as it becomes visible. Instead, continue enlarging
7497 the vscroll until the portion of a tall screen line that's left on
7498 display is about the height of the frame's default font.
7499 (Bug#14567)
7500
7501 2013-06-15 Glenn Morris <rgm@gnu.org>
7502
7503 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7504 compilation-error-regexp-alist void, or local while let-bound.
7505
7506 * progmodes/make-mode.el (makefile-mode-syntax-table):
7507 Treat "=" as punctuation. (Bug#14614)
7508
7509 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7510
7511 * help-fns.el (describe-variable):
7512 Add extra line for permanent-local variables.
7513
7514 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7515
7516 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7517 Add export, import, library. (Bug#9164)
7518 (library): Set indent function.
7519
7520 2013-06-14 Glenn Morris <rgm@gnu.org>
7521
7522 * term/xterm.el (xterm--query):
7523 Stop after first matching handler. (Bug#14615)
7524
7525 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7526
7527 Add support for dired in saveplace.
7528 * dired.el (dired-initial-position-hook): New variable.
7529 (dired-initial-position): Call hook to place cursor position.
7530 * saveplace.el (save-place-to-alist): Add dired position.
7531 (save-place-dired-hook): New function.
7532
7533 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7536 through a symbol rather than letrec.
7537
7538 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7539 (package-desc): Add `dir' field.
7540 (package-desc-full-name): New function.
7541 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7542 (package-maybe-load-descriptor): Remove.
7543 (package-load-all-descriptors): Just call package-load-descriptor.
7544 (package--disabled-p): New function.
7545 (package-desc-vers, package-desc-doc): Remove aliases.
7546 (package--dir): Remove function.
7547 (package-activate): Check if a package is disabled.
7548 (package-process-define-package): New function, extracted from
7549 define-package.
7550 (define-package): Turn into a place holder.
7551 (package-unpack-single, package-tar-file-info):
7552 Use package--description-file.
7553 (package-compute-transaction): Use package--disabled-p.
7554 (package-download-transaction): Don't call
7555 package-maybe-load-descriptor since they're all loaded anyway.
7556 (package-install): Change argument to be a pkg-desc.
7557 (package-delete): Use a single pkg-desc argument.
7558 (describe-package-1): Use package-desc-dir instead of package--dir.
7559 Use package-desc property instead of package-symbol.
7560 (package-install-button-action): Adjust accordingly.
7561 (package--push): Rewrite.
7562 (package-menu--print-info): Adjust accordingly. Change the ID format
7563 to be a pkg-desc.
7564 (package-menu-describe-package, package-menu-get-status)
7565 (package-menu--find-upgrades, package-menu-mark-upgrades)
7566 (package-menu-execute, package-menu--name-predicate):
7567 Adjust accordingly.
7568 * startup.el (package--description-file): New function.
7569 (command-line): Use it.
7570 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7571 Use package-desc-version.
7572
7573 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7574 (byte-compile-preprocess): Use it.
7575 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7576 can't quite recognize.
7577 (byte-compile-add-to-list): Remove.
7578 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7579 (cconv-closure-convert): Add assertion.
7580
7581 * emacs-lisp/map-ynp.el: Use lexical-binding.
7582 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7583 Factor out some repeated code.
7584
7585 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * subr.el (with-eval-after-load): New macro.
7588 (eval-after-load): Allow form to be a function.
7589 take advantage of lexical-binding.
7590 (do-after-load-evaluation): Use dolist and adjust to new format.
7591 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7592
7593 2013-06-13 Juri Linkov <juri@jurta.org>
7594
7595 * replace.el (perform-replace): Display "symbol " and other search
7596 modes from `isearch-message-prefix' in the *Help* buffer.
7597
7598 * isearch.el (isearch-query-replace): Add " symbol" and other
7599 possible search modes from `isearch-message-prefix' to the prompt.
7600 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7601 when reading a regexp to collect.
7602
7603 2013-06-13 Juri Linkov <juri@jurta.org>
7604
7605 * isearch.el (word-search-regexp): Match whitespace if the search
7606 string begins or ends in whitespace. The LAX arg is applied to
7607 both ends of the search string. Use `regexp-quote' and explicit
7608 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7609 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7610 boundaries are replaced with symbol boundaries, and characters
7611 between symbols match non-word non-symbol syntax. (Bug#14602)
7612
7613 2013-06-13 Juri Linkov <juri@jurta.org>
7614
7615 * isearch.el (isearch-del-char): Don't exceed the length of
7616 `isearch-string' by the prefix arg. (Bug#14563)
7617
7618 2013-06-13 Juri Linkov <juri@jurta.org>
7619
7620 * isearch.el (isearch-yank-word, isearch-yank-line)
7621 (isearch-char-by-name, isearch-quote-char)
7622 (isearch-printing-char, isearch-process-search-char):
7623 Add optional count prefix arg. (Bug#14563)
7624
7625 * international/isearch-x.el
7626 (isearch-process-search-multibyte-characters):
7627 Add optional count prefix arg.
7628
7629 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7632 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7633 lexical-binding.
7634
7635 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7636
7637 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7638
7639 2013-06-13 Glenn Morris <rgm@gnu.org>
7640
7641 * startup.el (tty-handle-args):
7642 Don't just discard "--" and anything after. (Bug#14608)
7643
7644 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7645
7646 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7647
7648 Implement changes in Secret Service API. Make it backward compatible.
7649 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7650 (secrets-create-item): Use it. Prefix properties with interface.
7651
7652 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7653
7654 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7655 (term-emulate-terminal): Respect term-suppress-hard-newline.
7656
7657 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7658
7659 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7660 Only remove a `thumb-file' overlay. (Bug#14548)
7661
7662 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7663
7664 * mail/reporter.el (reporter-submit-bug-report):
7665 Handle missing package-name. (Bug#14600)
7666
7667 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7668
7669 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7670 (reftex-citation-prompt, reftex-default-bibliography)
7671 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7672 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7673 (reftex-bib-sort-author, reftex-bib-sort-year)
7674 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7675 (reftex-extract-bib-entries-from-thebibliography)
7676 (reftex-get-bibkey-default, reftex-get-bib-names)
7677 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7678 (reftex-format-bib-entry, reftex-parse-bibitem)
7679 (reftex-format-bibitem, reftex-do-citation)
7680 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7681 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7682 (reftex-insert-bib-matches, reftex-format-citation)
7683 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7684 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7685 existing comments into docstrings.
7686
7687 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7688
7689 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7690
7691 2013-06-12 Andreas Schwab <schwab@suse.de>
7692
7693 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7694 for auto-save files.
7695
7696 2013-06-12 Glenn Morris <rgm@gnu.org>
7697
7698 * ido.el (ido-delete-ignored-files): Remove.
7699 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7700 Go back to calling ido-ignore-item-p directly.
7701
7702 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7703
7704 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7705
7706 * ido.el (ido-delete-ignored-files): New function,
7707 split from ido-make-file-list-1.
7708 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7709 (ido-make-file-list-1): Use ido-delete-ignored-files.
7710
7711 2013-06-12 Leo Liu <sdl.web@gmail.com>
7712
7713 * progmodes/octave.el (inferior-octave-startup)
7714 (inferior-octave-completion-table)
7715 (inferior-octave-track-window-width-change)
7716 (octave-eldoc-function-signatures, octave-help)
7717 (octave-find-definition): Use single quoted strings.
7718 (inferior-octave-startup-args): Change default value.
7719 (inferior-octave-startup): Do not hard code "-i" and
7720 "--no-line-editing".
7721 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7722 (inferior-octave-directory-tracker): Use it.
7723 (octave-goto-function-definition): Robustify.
7724 (octave-help): Support highlighting operators in 'See also'.
7725 (octave-find-definition): Find subfunctions only in Octave mode.
7726
7727 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * help-fns.el (help-fns--compiler-macro): If the handler function is
7730 named, then put a link to it.
7731 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7732 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7733 (cl-typep): Use it.
7734 (cl-eval-when): Simplify debug spec.
7735 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7736 compiler-macro function instead of setting `compiler-macro-file'.
7737
7738 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7739
7740 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7741 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7742
7743 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7744 Daniel Hackney <dan@haxney.org>
7745
7746 First part of Daniel Hackney's patch to package.el.
7747 * emacs-lisp/package.el: Use defstruct.
7748 (package-desc): New, main struct.
7749 (package--bi-desc, package--ac-desc): New structs, used to describe the
7750 format in external files.
7751 (package-desc-vers): Replace with package-desc-version accessor.
7752 (package-desc-doc): Replace with package-desc-summary accessor.
7753 (package-activate-1): Remove `package' arg since the pkg-vec now
7754 includes the name.
7755 (define-package): Use package-desc-from-define.
7756 (package-unpack-single): Change file-name arg to be a symbol.
7757 (package--add-to-archive-contents): Use package-desc-create and new
7758 accessor functions to package--ac-desc.
7759 (package-buffer-info, package-tar-file-info): Return a package-desc.
7760 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7761 arg to be a package-desc.
7762 (package-install-file): Adjust accordingly. Use \' to match EOS.
7763 (package--from-builtin): New function.
7764 (describe-package-1, package-menu--generate): Use it.
7765 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7766 (package-generate-autoloads): Idem and return the name of the file.
7767 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7768 Change pkg-info arg to be a package-desc.
7769 Use package-make-ac-desc.
7770 (package-upload-file): Use \' to match EOS.
7771 * finder.el (finder-compile-keywords): Use package-make-builtin.
7772
7773 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7774
7775 * vc/vc.el (vc-deduce-fileset): Change error message.
7776 (vc-read-backend): New function.
7777 (vc-next-action): Use it.
7778
7779 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7780
7781 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7782 (prolog-font-lock-keywords): Use regexp-opt instead.
7783 Don't manually highlight strings.
7784 (prolog-mode-variables): Simplify comment-start-skip.
7785 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7786
7787 * emacs-lisp/generic.el (generic--normalise-comments)
7788 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7789 (generic-mode-set-comments): Use them.
7790 (generic-bracket-support): Use setq-local.
7791 (generic-make-keywords-list): Declare obsolete.
7792
7793 2013-06-11 Glenn Morris <rgm@gnu.org>
7794
7795 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7796 Prettify after setting font-lock-defaults. (Bug#14574)
7797
7798 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7799
7800 * replace.el (query-replace, occur-read-regexp-defaults-function)
7801 (replace-search):
7802 * subr.el (declare-function, number-sequence, local-set-key)
7803 (substitute-key-definition, locate-user-emacs-file)
7804 (with-silent-modifications, split-string, eval-after-load):
7805 Fix typos, remove unneeded backslashes and reflow some docstrings.
7806
7807 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7808
7809 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7810 default for Elisp files.
7811
7812 2013-06-11 Glenn Morris <rgm@gnu.org>
7813
7814 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7815 although define-derived-mode was doing this anyway. (Bug#14583)
7816
7817 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7818
7819 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7820 Fix make-variable-buffer-local call to refer to the correct variable.
7821
7822 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7823
7824 * eshell/em-term.el (eshell-visual-commands)
7825 (eshell-visual-subcommands, eshell-visual-options):
7826 Add summary line to docstrings. Add cross-references.
7827
7828 2013-06-10 Glenn Morris <rgm@gnu.org>
7829
7830 * epa.el (epa-read-file-name): New function. (Bug#14510)
7831 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7832
7833 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7834
7835 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7836 output redirection to be ignored with visual commands.
7837
7838 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7839
7840 * eshell/em-term.el (eshell-visual-command-p): New function.
7841 (eshell-term-initialize): Move long lambda to separate function
7842 eshell-visual-command-p.
7843 * eshell/em-dirs.el (eshell-dirs-initialise):
7844 * eshell/em-script.el (eshell-script-initialize):
7845 Add missing #' to lambda.
7846
7847 2013-06-08 Leo Liu <sdl.web@gmail.com>
7848
7849 * progmodes/octave.el (octave-add-log-current-defun): New function.
7850 (octave-mode): Set add-log-current-defun-function.
7851 (octave-goto-function-definition): Do not move point if not found.
7852 (octave-find-definition): Enhance to try subfunctions first.
7853
7854 2013-06-08 Glenn Morris <rgm@gnu.org>
7855
7856 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7857 (byte-compile-backward-char, byte-compile-backward-word):
7858 Improve previous change, to handle non-explicit nil.
7859
7860 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7861
7862 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7863 (smie--opener/closer-at-point): New function.
7864 (smie--matching-block-data): Use it. Don't match from right after an
7865 opener or right before a closer. Obey smie-blink-matching-inners.
7866 Don't signal a mismatch for repeated inners like "switch..case..case".
7867
7868 2013-06-07 Leo Liu <sdl.web@gmail.com>
7869
7870 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7871 to t. (Bug#14303)
7872 (octave-function-header-regexp): Fix. (Bug#14570)
7873 (octave-help-mode-finish-hook, octave-help-mode-finish):
7874 Remove. Just use temp-buffer-show-hook.
7875
7876 * newcomment.el (comment-search-backward): Revert last change.
7877 (Bug#14434)
7878
7879 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7880
7881 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7882
7883 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7884 through xargs, to avoid failure due to MS-Windows limitations on
7885 command-line length.
7886
7887 2013-06-06 Glenn Morris <rgm@gnu.org>
7888
7889 * font-lock.el (lisp-font-lock-keywords-2):
7890 Treat user-error like error.
7891
7892 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7893 (byte-compile-backward-char, byte-compile-backward-word):
7894 Handle explicit nil arguments. (Bug#14565)
7895
7896 2013-06-05 Alan Mackenzie <acm@muc.de>
7897
7898 * isearch.el (isearch-allow-prefix): New user option.
7899 (isearch-other-meta-char): Don't exit isearch when a prefix
7900 argument is typed whilst `isearch-allow-prefix' is non-nil.
7901 (Bug#9706)
7902
7903 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * autorevert.el (auto-revert-notify-handler): Use memq.
7906 Hide assertion failure.
7907
7908 * skeleton.el: Use cl-lib.
7909 (skeleton-further-elements): Use defvar-local.
7910 (skeleton-insert): Use cl-progv.
7911
7912 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7913
7914 * progmodes/prog-mode.el (prog-prettify-symbols)
7915 (prog-prettify-install): Update docstrings.
7916
7917 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * simple.el: Move all the prog-mode code to prog-mode.el.
7920 * progmodes/prog-mode.el: New file.
7921 * loadup.el: Add prog-mode.el.
7922
7923 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7924
7925 * simple.el (prog-prettify-symbols): Add version.
7926 (prog-prettify-install): Add convenience function to prettify symbols.
7927
7928 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7929 (perl--augmented-font-lock-keywords-1)
7930 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7931 variables and use it.
7932
7933 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7934 (cfengine3-mode): Remove unneeded variable and use it.
7935
7936 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7937 (lisp--augmented-font-lock-keywords-1)
7938 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7939 Remove unneeded variables and use it.
7940
7941 2013-06-05 João Távora <joaotavora@gmail.com>
7942
7943 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7944 to point when opening the connection. (Bug#14380)
7945
7946 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7947
7948 * subr.el (load-history-regexp, load-history-filename-element)
7949 (eval-after-load, after-load-functions, do-after-load-evaluation)
7950 (eval-next-after-load, display-delayed-warnings)
7951 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7952 definition of save-match-data.
7953 (overriding-local-map): Remove accidental obsolescence declaration.
7954
7955 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7956
7957 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7958
7959 Generalize symbol prettify support to prog-mode and implement it
7960 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7961 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7962 (prog--prettify-font-lock-compose-symbol)
7963 (prog-prettify-font-lock-symbols-keywords): New variables and
7964 functions to support symbol prettification.
7965 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7966 (lisp--augmented-font-lock-keywords-1)
7967 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7968 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7969 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7970 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7971 Implement prettify of -> => :: strings.
7972 * progmodes/perl-mode.el (perl-prettify-symbols)
7973 (perl--font-lock-compose-symbol)
7974 (perl--font-lock-symbols-keywords): Move to prog-mode.
7975 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7976 (perl-font-lock-keywords-1)
7977 (perl-font-lock-keywords-2): Remove explicit prettify support.
7978 (perl--augmented-font-lock-keywords)
7979 (perl--augmented-font-lock-keywords-1)
7980 (perl--augmented-font-lock-keywords-2, perl-mode):
7981 Implement prettify support.
7982
7983 2013-06-05 Leo Liu <sdl.web@gmail.com>
7984
7985 Re-implement smie matching block highlight using
7986 show-paren-data-function. (Bug#14395)
7987 * emacs-lisp/smie.el (smie-matching-block-highlight)
7988 (smie--highlight-matching-block-overlay)
7989 (smie--highlight-matching-block-lastpos)
7990 (smie-highlight-matching-block)
7991 (smie-highlight-matching-block-mode): Remove.
7992 (smie--matching-block-data-cache): New variable.
7993 (smie--matching-block-data): New function.
7994 (smie-setup): Use smie--matching-block-data for
7995 show-paren-data-function.
7996
7997 * progmodes/octave.el (octave-mode-menu): Fix.
7998 (octave-find-definition): Skip garbage lines.
7999
8000 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8001
8002 Fix compilation error with simultaneous dynamic+lexical scoping.
8003 Add warning when a defvar appears after the first let-binding.
8004 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8005 (byte-compile-close-variables): Initialize it.
8006 (byte-compile--declare-var): New function.
8007 (byte-compile-file-form-defvar)
8008 (byte-compile-file-form-define-abbrev-table)
8009 (byte-compile-file-form-custom-declare-variable): Use it.
8010 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8011 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8012 (byte-compile-bind): Handle dynamic bindings that shadow
8013 lexical bindings.
8014 (byte-compile-unbind): Make arg non-optional.
8015 (byte-compile-let): Simplify.
8016 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8017 (cconv--analyse-function, cconv-analyse-form): Populate it.
8018 Protect byte-compile-bound-variables to limit the scope of defvars.
8019 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8020 Remove unneeded rule for `declare'.
8021
8022 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8023 so as to avoid depending on cl-adjoin at run-time.
8024 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8025
8026 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8027 (macroexp--warn-and-return): Use it.
8028
8029 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * lisp/subr.el: Convert to lexical binding.
8032 (overriding-local-map): Make obsolete.
8033 (add-to-list): Doc fix. Add compiler macro.
8034 (read-key): Swap values of local maps.
8035
8036 2013-06-05 Leo Liu <sdl.web@gmail.com>
8037
8038 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8039
8040 2013-06-04 Leo Liu <sdl.web@gmail.com>
8041
8042 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8043 (compilation-auto-jump): Suppress the "Mark set" message to give
8044 way to exit message.
8045
8046 2013-06-04 Alan Mackenzie <acm@muc.de>
8047
8048 Remove faulty optimisation from indentation calculation.
8049 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8050 search limit based on 2000 characters back from indent-point.
8051
8052 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8053
8054 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8055
8056 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8057
8058 * emacs-lisp/lisp.el: Use lexical-binding.
8059 (lisp--local-variables-1, lisp--local-variables): New functions.
8060 (lisp--local-variables-completion-table): New var.
8061 (lisp-completion-at-point): Use it complete let-bound vars.
8062
8063 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8064 eagerly (bug#14422).
8065
8066 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8067
8068 * autorevert.el (auto-revert-notify-enabled)
8069 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8070 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8071 (auto-revert-notify-handler): Handle also gfilenotify.
8072
8073 * subr.el (file-notify-handle-event): New defun. Replacing ...
8074 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8075 Remove.
8076
8077 2013-06-03 Juri Linkov <juri@jurta.org>
8078
8079 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8080 `M-s h .'. (Bug#14427)
8081
8082 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8083 command `hi-lock-face-symbol-at-point'.
8084 (hi-lock-face-symbol-at-point): New command.
8085 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8086 (hi-lock-menu): Add `highlight-symbol-at-point'.
8087 (hi-lock-mode): Doc fix.
8088
8089 * isearch.el (isearch-forward-symbol-at-point): New command.
8090 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8091 (isearch-highlight-regexp): Add a regexp which matches
8092 words/symbols for word/symbol mode.
8093
8094 * subr.el (find-tag-default-bounds): New function with the body
8095 mostly moved from `find-tag-default'.
8096 (find-tag-default): Move most code to `find-tag-default-bounds',
8097 call it and apply `buffer-substring-no-properties' afterwards.
8098
8099 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8100
8101 * eshell/em-term.el (eshell-term-initialize):
8102 Use `cl-intersection' rather than `intersection'.
8103
8104 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8105
8106 * vc/log-view.el: Doc fix.
8107 (log-view-mode-map): Copy keymap from `special-mode-map'.
8108
8109 2013-06-02 Eric Ludlam <zappo@gnu.org>
8110
8111 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8112 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8113 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8114 (eieio-unbound, eieio-default-superclass)
8115 (eieio--define-field-accessors, method-static, method-before)
8116 (method-primary, method-after, method-num-lists)
8117 (method-generic-before, method-generic-primary)
8118 (method-generic-after, method-num-slots)
8119 (eieio-specialized-key-to-generic-key)
8120 (eieio--check-type, class-v, class-p)
8121 (eieio-class-name, define-obsolete-function-alias)
8122 (eieio-class-parents-fast, eieio-class-children-fast)
8123 (same-class-fast-p, class-constructor, generic-p)
8124 (generic-primary-only-p, generic-primary-only-one-p)
8125 (class-option-assoc, class-option, eieio-object-p)
8126 (class-abstract-p, class-method-invocation-order)
8127 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8128 (eieio-class-un-autoload, eieio-defclass)
8129 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8130 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8131 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8132 (eieio-defgeneric-reset-generic-form)
8133 (eieio-defgeneric-form-primary-only)
8134 (eieio-defgeneric-reset-generic-form-primary-only)
8135 (eieio-defgeneric-form-primary-only-one)
8136 (eieio-defgeneric-reset-generic-form-primary-only-one)
8137 (eieio-unbind-method-implementations)
8138 (eieio--defmethod, eieio--typep)
8139 (eieio-perform-slot-validation, eieio-validate-slot-value)
8140 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8141 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8142 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8143 (eieio-slot-name-index, eieio-class-slot-name-index)
8144 (eieio-set-defaults, eieio-initarg-to-attribute)
8145 (eieio-attribute-to-initarg, eieio-c3-candidate)
8146 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8147 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8148 (eieio-class-precedence-list, eieio-generic-call-methodname)
8149 (eieio-generic-call-arglst, eieio-generic-call-key)
8150 (eieio-generic-call-next-method-list)
8151 (eieio-pre-method-execution-functions, eieio-generic-call)
8152 (eieio-generic-call-primary-only, eieiomt-method-list)
8153 (eieiomt-optimizing-obarray, eieiomt-install)
8154 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8155 (eieio-generic-form, eieio-defmethod, make-obsolete)
8156 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8157 (defclass): Remove `eval-and-compile' from macro.
8158 (call-next-method, shared-initialize): Instead of using
8159 `scoped-class' variable, use new eieio--scoped-class, and
8160 eieio--with-scoped-class.
8161 (initialize-instance): Rename local variable 'scoped-class' to
8162 'this-class' to remove ambiguitity from old global.
8163
8164 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8165 eieio.el.
8166 (eieio--scoped-class-stack): New variable.
8167 (eieio--scoped-class): New fcn.
8168 (eieio--with-scoped-class): New scoping macro.
8169 (eieio-defclass): Use pushnew instead of add-to-list.
8170 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8171 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8172 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8173 `scoped-class' variable, use new eieio--scoped-class, and
8174 eieio--with-scoped-class.
8175
8176 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8177
8178 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8179
8180 * eshell/esh-ext.el (eshell-external-command): Pass args to
8181 `eshell-find-interpreter'.
8182 (eshell-find-interpreter): Add new second parameter ARGS.
8183
8184 * eshell/em-script.el (eshell-script-initialize): Add second arg
8185 to the function added as MATCH to `eshell-interpreter-alist'.
8186
8187 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8188 the function added as MATCH to `eshell-interpreter-alist'.
8189
8190 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8191 (eshell-visual-options): New defcustom.
8192 (eshell-escape-control-x): Adapt docstring.
8193 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8194 `eshell-visual-options' in addition to `eshell-visual-commands'.
8195 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8196
8197 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8198
8199 * progmodes/python.el (python-indent-block-enders): Add break,
8200 continue and raise keywords.
8201
8202 2013-06-01 Glenn Morris <rgm@gnu.org>
8203
8204 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8205
8206 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8207 * progmodes/cc-cmds.el (delete-forward-p):
8208 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8209 * progmodes/cc-engine.el (buffer-syntactic-context):
8210 * progmodes/cc-fonts.el (face-property-instance):
8211 * progmodes/cc-mode.el (set-keymap-parents):
8212 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8213 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8214 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8215 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8216 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8217
8218 * progmodes/cc-vars.el (other): Emacs has this widget since
8219 at least 21.1, so don't (re)define it.
8220
8221 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8222 Replace the obsolete alias pcomplete-arg-quote-list.
8223
8224 2013-06-01 Leo Liu <sdl.web@gmail.com>
8225
8226 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8227 punctuation syntax.
8228 (inferior-octave-minimal-columns)
8229 (inferior-octave-last-column-width): New variables.
8230 (inferior-octave-track-window-width-change): New function.
8231 (inferior-octave-mode): Adjust column width so that Octave output,
8232 for example from 'ls', can fit into the window nicely.
8233
8234 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8235
8236 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8237 Highlight expansions inside regexp literals.
8238
8239 2013-05-31 Glenn Morris <rgm@gnu.org>
8240
8241 * obsolete/sym-comp.el (symbol-complete):
8242 Replace obsolete completion-annotate-function.
8243
8244 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8245
8246 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8247
8248 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8249 New function, checks if point is inside a literal that allows
8250 expression expansion.
8251 (ruby-syntax-propertize-expansion): Use it.
8252 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8253 around the body.
8254
8255 2013-05-30 Juri Linkov <juri@jurta.org>
8256
8257 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8258 to "\M-si".
8259 (isearch-invisible): New variable.
8260 (isearch-forward): Doc fix.
8261 (isearch-mode): Set `isearch-invisible'
8262 to the value of `search-invisible'.
8263 (isearch-toggle-case-fold): Doc fix.
8264 (isearch-toggle-invisible): New command.
8265 (isearch-query-replace): Let-bind `search-invisible'
8266 to the value of `isearch-invisible'.
8267 (isearch-search): Use `isearch-invisible' instead of
8268 `search-invisible'. Let-bind `search-invisible'
8269 to the value of `isearch-invisible'. (Bug#11378)
8270
8271 2013-05-30 Juri Linkov <juri@jurta.org>
8272
8273 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8274 call when `query-flag' is nil and `search-invisible' is non-nil.
8275 (Bug#11746)
8276
8277 2013-05-30 Glenn Morris <rgm@gnu.org>
8278
8279 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8280
8281 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8282 (cc-require): Suppress spurious "noruntime" warnings.
8283 (cc-require-when-compile): Use fboundp, for sake of compiler.
8284
8285 * progmodes/cc-mode.el: Move load of cc-vars before that of
8286 cc-langs (which in turn loads cc-vars), to quieten compiler.
8287
8288 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * paren.el: Simplify the code.
8291 (show-paren-mode): Always start the timer.
8292 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8293 (show-paren--overlay, show-paren--overlay-1): Rename from
8294 show-paren-overlay and show-paren-overlay-1, and initialize to an
8295 overlay rather than to nil.
8296 (show-paren-function): Misc cleanup and simplifications.
8297
8298 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * paren.el (show-paren-data-function): New hook.
8301 (show-paren--default): New function, extracted from show-paren-function.
8302 (show-paren-function): Use show-paren-data-function.
8303
8304 2013-05-30 Glenn Morris <rgm@gnu.org>
8305
8306 * ielm.el (ielm-map, ielm-complete-symbol):
8307 Use completion-at-point rather than obsolete functions.
8308 (inferior-emacs-lisp-mode): Doc fix.
8309 Set completion-at-point-functions, rather than
8310 comint-dynamic-complete-functions.
8311
8312 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8313 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8314 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8315
8316 * image.el (image-animated-p): Tweak definition.
8317
8318 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8319 (rlogin-process-connection-type): Tweak default. Add set-after.
8320 (rlogin-host): Doc fix.
8321 (rlogin): Tweak prompt.
8322 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8323
8324 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8325 * progmodes/tcl.el (inferior-tcl-mode-map):
8326 Use completion-at-point rather than obsolete alias.
8327
8328 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8329
8330 * minibuffer.el (read-file-name-completion-ignore-case):
8331 Move before completion--in-region, for eager macro expansion.
8332
8333 2013-05-29 Juri Linkov <juri@jurta.org>
8334
8335 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8336 for total count of matching lines. Add `global-matches' for total
8337 count of matches. Rename `matches' to `lines' for count of
8338 matching lines. Add `matches' for count of matches.
8339 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8340 to `prev-line' for line number of prev match endpt.
8341 Increment `matches' for every match. Print the number of
8342 matching lines in the header.
8343 (occur-context-lines): Rename `lines' to `curr-line'.
8344 Rename `prev-lines' to `prev-line'. (Bug#14017)
8345
8346 2013-05-29 Juri Linkov <juri@jurta.org>
8347
8348 * replace.el (perform-replace): Add `skip-read-only-count',
8349 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8350 Increment them for corresponding conditions and report the number
8351 of skipped occurrences in the final message. (Bug#11746)
8352 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8353 (replace-string, replace-regexp): Doc fix.
8354
8355 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8358
8359 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8360 prog-mode-map (bug#14504).
8361
8362 2013-05-29 Leo Liu <sdl.web@gmail.com>
8363
8364 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8365 (octave-help): Small simplification.
8366
8367 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8368 off the highlight first.
8369
8370 2013-05-29 Glenn Morris <rgm@gnu.org>
8371
8372 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8373 Handle idlwave-last-system-routine-info-cons-cell being nil.
8374
8375 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8376 (idlwave-write-paths): Simplify via with-temp-buffer.
8377
8378 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8379 * emulation/cua-rect.el: Also load cua-base at run time.
8380
8381 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8382 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8383 (cperl-imenu-on-info): Require imenu.
8384
8385 2013-05-28 Alan Mackenzie <acm@muc.de>
8386
8387 Handle "capitalised keywords" correctly.
8388 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8389
8390 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8391
8392 * eshell/em-unix.el: Add -r option to cp.
8393
8394 2013-05-28 Glenn Morris <rgm@gnu.org>
8395
8396 * vc/vc-arch.el (vc-exec-after): Declare.
8397 (vc-switches): Autoload.
8398 * vc/vc-bzr.el: No need to require vc when compiling.
8399 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8400 (vc-resynch-buffer, vc-dir-refresh): Declare.
8401 (vc-setup-buffer, vc-switches): Autoload.
8402 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8403 (vc-resynch-buffer): Declare.
8404 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8405 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8406 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8407 (grep-read-regexp, grep-read-files, grep-expand-template)
8408 (vc-dir-refresh): Declare.
8409 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8410 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8411 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8412 * vc/vc-mtn.el (vc-exec-after): Declare.
8413 (vc-switches): Autoload.
8414 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8415 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8416 (vc-file-tree-walk): Declare.
8417 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8418 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8419 (vc-tag-precondition, vc-rename-master): Autoload.
8420 * vc/vc-svn.el (vc-exec-after): Declare.
8421 (vc-switches, vc-setup-buffer): Autoload.
8422 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8423 Autoload.
8424 (vc-resynch-buffer): Declare.
8425
8426 * obsolete/fast-lock.el (byte-compile-warnings):
8427 Don't warn about obsolete features in this obsolete file.
8428
8429 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8430 Move definition before use.
8431
8432 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8433 (dun-unix-verbs): Remove dun-zippy.
8434 (dun-zippy): Remove function.
8435
8436 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8437
8438 2013-05-27 Juri Linkov <juri@jurta.org>
8439
8440 * replace.el (replace-search): New function with code moved out
8441 from `perform-replace'.
8442 (replace-highlight, replace-dehighlight): Move function definitions
8443 up closer to `replace-search'. (Bug#11746)
8444
8445 2013-05-27 Juri Linkov <juri@jurta.org>
8446
8447 * replace.el (perform-replace): Ignore invisible matches.
8448 In addition to checking `query-replace-skip-read-only', also
8449 filter out matches by calling `run-hook-with-args-until-failure'
8450 on `isearch-filter-predicates', and also check `search-invisible'
8451 for t or call `isearch-range-invisible'.
8452 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8453
8454 2013-05-27 Juri Linkov <juri@jurta.org>
8455
8456 * isearch.el (isearch-filter-predicates): Rename from
8457 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8458 (isearch-message-prefix): Display text from the property
8459 `isearch-message-prefix' of the currently active filters.
8460 (isearch-search): Don't compare `isearch-filter-predicate' with
8461 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8462 on `isearch-filter-predicates'. Also check `search-invisible' for t
8463 or call `isearch-range-invisible'.
8464 (isearch-filter-visible): Make obsolete.
8465 (isearch-lazy-highlight-search):
8466 Call `run-hook-with-args-until-failure' on
8467 `isearch-filter-predicates' and use `isearch-range-invisible'.
8468
8469 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8470 `isearch-filter-predicates' instead of `funcall'ing
8471 `isearch-filter-predicate'.
8472 (Info-mode): Set `Info-isearch-filter' to
8473 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8474
8475 * dired-aux.el (dired-isearch-filter-predicate-orig):
8476 Remove variable.
8477 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8478 (dired-isearch-filenames-end): Add and remove
8479 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8480 instead of changing the value of `isearch-filter-predicate'.
8481 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8482 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8483 Put property `isearch-message-prefix' to "filename " on
8484 `dired-isearch-filter-filenames'.
8485
8486 * wdired.el (wdired-change-to-wdired-mode):
8487 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8488 locally instead of changing `isearch-filter-predicate'.
8489 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8490
8491 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8492
8493 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8494 return the commit hash (Bug#14459). Also set the
8495 `vc-git-detached' property.
8496 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8497 (vc-git-mode-line-string): Use the same help-echo format whether
8498 in detached mode or not, because we know the actual revision now.
8499 When in detached mode, shorten the revision to 7 chars.
8500
8501 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 * emacs-lisp/easy-mmode.el (define-minor-mode):
8504 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8505 mode hook and provide a docstring.
8506
8507 2013-05-27 Alan Mackenzie <acm@muc.de>
8508
8509 Remove spurious syntax-table text properties inserted by C-y.
8510 * progmodes/cc-mode.el (c-after-change): Also clear hard
8511 syntax-table property with value nil.
8512
8513 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8514
8515 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8516 when reading the events; the buffer layout shall not be changed.
8517
8518 2013-05-27 Leo Liu <sdl.web@gmail.com>
8519
8520 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8521 New variable.
8522 (inferior-octave-directory-tracker): Automatically re-sync
8523 default-directory.
8524 (octave-help): Improve handling of 'See also'.
8525
8526 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * doc-view.el: Minor naming convention tweaks.
8529 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8530
8531 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8532 even if there's no `display' property yet (bug#14435).
8533
8534 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8535
8536 * subr.el (unmsys--file-name): Rename from reveal-filename.
8537
8538 * Makefile.in (custom-deps, finder-data, autoloads)
8539 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8540 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8541 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8542
8543 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8546 error-completion on the first 2 args of condition-case (bug#14446).
8547 Don't burp at EOB.
8548
8549 2013-05-25 Leo Liu <sdl.web@gmail.com>
8550
8551 * comint.el (comint-previous-matching-input): Do not flood the
8552 *Messages* buffer with trivial messages.
8553
8554 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8555
8556 * progmodes/flymake.el (flymake-nop): Don't return a string.
8557 (flymake-set-at): Fix typo.
8558
8559 * simple.el (read--expression): New function, extracted from
8560 eval-expression. Set completion-at-point-functions (bug#14465).
8561 (eval-expression, eval-minibuffer): Use it.
8562
8563 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8564
8565 * progmodes/flymake.el (flymake-save-buffer-in-file)
8566 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8567 (flymake-selected-frame, flymake-log, flymake-ins-after)
8568 (flymake-set-at, flymake-get-buildfile-from-cache)
8569 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8570 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8571 Refine the doc string.
8572 (flymake-get-file-name-mode-and-masks): Reformat.
8573 (flymake-get-real-file-name-function): Fix a minor bug.
8574
8575 2013-05-24 Juri Linkov <juri@jurta.org>
8576
8577 * progmodes/grep.el (grep-mode-font-lock-keywords):
8578 Support =linenumber= format used by git-grep for lines with
8579 function names. (Bug#13549)
8580
8581 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8582
8583 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8584 0 after a semi-colon; it works better for smie-auto-fill.
8585 (octave--indent-new-comment-line): New function.
8586 (octave-indent-new-comment-line): Use it (indirectly).
8587 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8588 modify comment-line-break-function.
8589
8590 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8591 (smie-setup): Use add-function to set it.
8592
8593 2013-05-24 Sam Steingold <sds@gnu.org>
8594
8595 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8596 argument (before the `interactive' argument).
8597
8598 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * image-mode.el (image-mode-winprops): Add winprops to
8601 image-mode-winprops-alist before running
8602 image-mode-new-window-functions.
8603 * doc-view.el (doc-view-new-window-function): Don't delay
8604 doc-view-goto-page via timers (bug#14435).
8605
8606 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8607
8608 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8609 (doc-view-desktop-save-buffer): New function.
8610 (doc-view-restore-desktop-buffer): New function.
8611 (desktop-buffer-mode-handlers):
8612 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8613 handler.
8614 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8615 `desktop-save-buffer' function.
8616
8617 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8618
8619 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8620 (tramp-gvfs-file-name-handler): Raise a user error when
8621 `tramp-gvfs-enabled' is nil.
8622 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8623 Do not raise a user error when loading package. (Bug#14447)
8624
8625 * net/xesam.el: Move to obsolete/.
8626
8627 2013-05-24 Glenn Morris <rgm@gnu.org>
8628
8629 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8630
8631 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8632
8633 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8634 (Info-find-node, Man-getpage-in-background): Declare.
8635
8636 * mail/unrmail.el (unrmail):
8637 Replace obsolete detect-coding-with-priority.
8638
8639 * net/socks.el (socks-split-string): Use this rather than split-string.
8640 (socks-nslookup-host): Update for above change.
8641 (dynamic-choice, s5-dynamic-choice-match)
8642 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8643 Comment out unused code.
8644
8645 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8646 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8647 (gud-tooltip-echo-area): Make obsolete.
8648 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8649
8650 * progmodes/js.el (js--optimize-arglist): Declare.
8651
8652 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8653
8654 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8655 (ediff-window-C): Declare.
8656
8657 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8658 Tweak requires to silence compiler.
8659
8660 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8661 (he-search-string, he-tried-table, he-expand-list)
8662 (he-init-string, he-string-member, he-substitute-string)
8663 (he-reset-string): Declare.
8664
8665 * obsolete/options.el (list-options): Use custom-variable-p,
8666 rather than obsolete alias.
8667
8668 2013-05-23 Sam Steingold <sds@gnu.org>
8669
8670 * simple.el (shell-command-on-region): Pass the `replace' argument
8671 down to `call-process-region' to comply with the doc as reported on
8672 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8673
8674 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8675
8676 * emacs-lisp/smie.el (smie-indent-forward-token)
8677 (smie-indent-backward-token): Handle string tokens (bug#14381).
8678
8679 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8680
8681 * ielm.el (ielm-menu): New menu.
8682 (inferior-emacs-lisp-mode): Set comment-start.
8683
8684 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8685
8686 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8687 Fix deactivate action.
8688
8689 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8690 Add cleveref macros.
8691
8692 * lisp/textmodes/reftex-parse.el
8693 (reftex-locate-bibliography-files): Accept options for
8694 bibliography commands.
8695 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8696 Add addbibresource. Basic Biblatex support.
8697
8698 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8699
8700 * net/tramp-gvfs.el (top):
8701 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8702 when loading package. (Bug#14447)
8703
8704 2013-05-23 Glenn Morris <rgm@gnu.org>
8705
8706 * progmodes/js.el: No need to load comint when compiling.
8707 (ring-insert, comint-send-string, comint-send-input)
8708 (comint-last-input-end, ido-chop): Declare.
8709
8710 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8711 * vc/ediff-mult.el: Adjust requires.
8712 (ediff-directories-internal, ediff-directory-revisions-internal)
8713 (ediff-patch-file-internal): Declare.
8714 * vc/ediff-ptch.el: Adjust requires.
8715 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8716 (ediff-find-file): Autoload.
8717 * vc/ediff-util.el: No need to load ediff when compiling.
8718 (ediff-regions-internal): Declare.
8719 * vc/ediff-wind.el: Adjust requires.
8720 (ediff-compute-toolbar-width): Define when compiling.
8721 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8722 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8723 (dired-get-filename, dired-get-marked-files)
8724 (ediff-last-dir-patch, ediff-patch-default-directory)
8725 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8726 (ediff-patch-buffer-internal): Declare.
8727
8728 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8729 (ispell-process, ispell-buffer-local-words, lm-summary)
8730 (lm-section-start, lm-section-end): Declare.
8731 (checkdoc-ispell-init): Simplify.
8732
8733 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8734 (he-string-member, he-reset-string, he-substitute-string): Declare.
8735
8736 * eshell/em-ls.el: Adjust requires.
8737 (eshell-glob-regexp): Declare.
8738 * eshell/em-tramp.el: Adjust requires.
8739 (eshell-parse-command): Autoload.
8740 * eshell/em-xtra.el: Adjust requires.
8741 (eshell-parse-command): Autoload.
8742 * eshell/esh-ext.el: Adjust requires.
8743 (eshell-parse-command, eshell-close-handles): Autoload.
8744 * eshell/esh-io.el: Adjust requires.
8745 (eshell-output-filter): Autoload.
8746 * eshell/esh-util.el: No need to load tramp when compiling.
8747 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8748 Declare.
8749 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8750 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8751 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8752 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8753 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8754 * eshell/esh-opt.el, eshell/esh-proc.el:
8755 * eshell/esh-var.el: Adjust requires.
8756 * eshell/eshell.el: Do not require esh-util twice.
8757 (eshell-add-input-to-history): Declare.
8758 (eshell-command): Check history module is active before using it.
8759
8760 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8761
8762 2013-05-22 Leo Liu <sdl.web@gmail.com>
8763
8764 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8765
8766 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8767
8768 * autorevert.el (auto-revert-notify-add-watch)
8769 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8770 it indicates changes in file modification time.
8771
8772 2013-05-22 Glenn Morris <rgm@gnu.org>
8773
8774 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8775 Always delete the autoloaded function from the noruntime and
8776 unresolved functions lists.
8777
8778 * allout.el: No need to load epa, epg, overlay when compiling.
8779 (epg-context-set-passphrase-callback, epg-list-keys)
8780 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8781 (epg-key-user-id-list): Declare.
8782
8783 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8784 (viper-set-parsing-style-toggling-macro)
8785 (viper-set-emacs-state-searchstyle-macros):
8786 Use called-interactively-p on Emacs.
8787 (viper-looking-back): Make it an obsolete alias. Update callers.
8788 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8789 Use looking-back rather than viper-looking-back.
8790 (viper-tmp-insert-at-eob, viper-enlarge-region)
8791 (viper-read-string-with-history, viper-register-to-point)
8792 (viper-append-to-register, viper-change-state-to-vi)
8793 (viper-backward-char-carefully, viper-forward-char-carefully)
8794 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8795 (viper-change-state-to-emacs): Declare.
8796 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8797 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8798 * emulation/viper-mous.el: Do not load viper-cmd.
8799 (viper-backward-char-carefully, viper-forward-char-carefully)
8800 (viper-forward-word, viper-adjust-window): Declare.
8801
8802 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8803
8804 * progmodes/idlw-help.el (idlwave-help-fontify):
8805 Use called-interactively-p.
8806
8807 * term/w32console.el (w32-get-console-codepage)
8808 (w32-get-console-output-codepage): Declare.
8809
8810 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8811 Remove unnecessary declarations.
8812 (dframe-message): Doc fix.
8813
8814 * info.el (dframe-select-attached-frame, dframe-current-frame):
8815 Declare.
8816
8817 * speedbar.el (speedbar-message): Make it an obsolete alias.
8818 Update all callers.
8819 (speedbar-with-attached-buffer)
8820 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8821 (speedbar-with-writable): Use backquote.
8822 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8823 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8824 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8825 rather than speedbar- aliases.
8826 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8827 (speedbar-make-specialized-keymap, speedbar-insert-button)
8828 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8829 (speedbar-do-function-pointer): Declare.
8830 (rmail-speedbar-button, rmail-speedbar-find-file)
8831 (rmail-speedbar-move-message):
8832 Use dframe-with-attached-buffer rather than speedbar- alias.
8833 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8834 (dframe-message, speedbar-make-specialized-keymap)
8835 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8836 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8837 (speedbar-insert-button, dframe-select-attached-frame)
8838 (dframe-maybee-jump-to-attached-frame)
8839 (speedbar-change-initial-expansion-list)
8840 (speedbar-previously-used-expansion-list-name): Declare.
8841 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8842 Use dframe-message, dframe-with-attached-buffer rather than
8843 speedbar- aliases.
8844 (gud-sentinel): Silence compiler.
8845 * progmodes/vhdl-mode.el (speedbar-refresh)
8846 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8847 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8848 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8849 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8850 (speedbar-file-lists, speedbar-make-tag-line)
8851 (speedbar-line-directory, speedbar-goto-this-file)
8852 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8853 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8854 (speedbar-make-button, speedbar-reset-scanners)
8855 (speedbar-files-item-info, speedbar-line-text)
8856 (speedbar-find-file-in-frame, speedbar-set-timer)
8857 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8858 (speedbar-with-writable): Do not (re)define it.
8859 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8860 rather than speedbar- alias.
8861
8862 2013-05-21 Leo Liu <sdl.web@gmail.com>
8863
8864 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8865 menu items.
8866 (octave-mode): Tweak fill-nobreak-predicate.
8867 (inferior-octave-startup): Check process to avoid infinite loop.
8868 (inferior-octave): Pop to buffer first to show abornmal process
8869 exit information.
8870
8871 2013-05-21 Glenn Morris <rgm@gnu.org>
8872
8873 * printing.el (pr-menu-bar): Define when compiling.
8874
8875 2013-05-21 Leo Liu <sdl.web@gmail.com>
8876
8877 * progmodes/octave.el (octave-auto-fill): Remove.
8878 (octave-indent-new-comment-line): Improve.
8879 (octave-mode): Use auto fill mode through
8880 comment-line-break-function and fill-nobreak-predicate.
8881 (octave-goto-function-definition): Support DEFUN_DLD.
8882 (octave-beginning-of-defun): Small tweak.
8883 (octave-help): Show parent directory.
8884
8885 2013-05-21 Glenn Morris <rgm@gnu.org>
8886
8887 * files.el (dired-unmark):
8888 * progmodes/gud.el (gdb-input): Update declarations.
8889
8890 * calculator.el (electric, ehelp): No need to load when compiling.
8891 (Electric-command-loop, electric-describe-mode): Declare.
8892
8893 * doc-view.el (doc-view-current-converter-processes): Move before use.
8894
8895 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8896 Move MODE-set-explicitly definition before use.
8897
8898 * international/mule-diag.el (mule-diag):
8899 Don't use obsolete window-system-version.
8900
8901 * mail/feedmail.el (smtpmail): No need to load when compiling.
8902 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8903
8904 * mail/mail-utils.el (rfc822): No need to load when compiling.
8905 (rfc822-addresses): Autoload it.
8906 (mail-strip-quoted-names): Trivial simplification.
8907
8908 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8909 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8910
8911 * net/snmp-mode.el (tempo): Don't duplicate requires.
8912
8913 * progmodes/prolog.el (info): No need to load when compiling.
8914 (comint): Require before shell requires it.
8915 (Info-goto-node): Autoload it.
8916 (Info-follow-nearest-node): Declare.
8917 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8918
8919 * textmodes/artist.el (picture-mode-exit): Declare.
8920
8921 * textmodes/reftex-parse.el (reftex-parse-from-file):
8922 Trivial rewrite so the compiler can parse it better.
8923
8924 2013-05-20 Leo Liu <sdl.web@gmail.com>
8925
8926 * progmodes/octave.el (octave-help-mode-map)
8927 (octave-help-mode-finish-hook): New variables.
8928 (octave-help-mode, octave-help-mode-finish): New functions.
8929 (octave-help): Use octave-help-mode.
8930
8931 2013-05-20 Glenn Morris <rgm@gnu.org>
8932
8933 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8934
8935 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8936
8937 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8938 start at point, so that expansion starting right after opening
8939 slash in a regexp is recognized.
8940 (ruby-syntax-before-regexp-re): New defvar, extracted from
8941 ruby-syntax-propertize-function. Since the value of this regexp
8942 is looked up at runtime now, we should be able to turn
8943 `ruby-syntax-methods-before-regexp' into a defcustom later.
8944 (ruby-syntax-propertize-function): Split regexp matching into two
8945 parts, for opening and closing slashes. That allows us to skip
8946 over string interpolations and support multiline regexps.
8947 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8948 for them, which calls `ruby-syntax-propertize-expansion'.
8949 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8950 call to `ruby-syntax-propertize-function'.
8951 (ruby-syntax-propertize-expansion): Extracted from
8952 `ruby-syntax-propertize-expansions'. Handles one expansion.
8953 (ruby-syntax-propertize-percent-literal): Leave point right after
8954 the percent symbol, so that the expression expansion rule can
8955 propertize the contents.
8956 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8957 heredoc openers.
8958 (ruby-syntax-propertize-expansions): Remove.
8959
8960 2013-05-18 Juri Linkov <juri@jurta.org>
8961
8962 * man.el (Man-default-man-entry): Remove `-' from the end
8963 of the default value. (Bug#14400)
8964
8965 2013-05-18 Glenn Morris <rgm@gnu.org>
8966
8967 * comint.el (comint-password-prompt-regexp):
8968 Allow "password for XXX" where XXX contains colons (eg https://...).
8969
8970 2013-05-18 Leo Liu <sdl.web@gmail.com>
8971
8972 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8973 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8974 (octave-source-directories): Don't check process.
8975 (octave-source-directories, octave-find-definition): Doc fix.
8976
8977 2013-05-18 Glenn Morris <rgm@gnu.org>
8978
8979 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8980 Remove backspace/delete bindings. (Bug#14392)
8981
8982 * cus-dep.el (custom-make-dependencies): Sort the output.
8983 (custom-versions-load-alist): Convert comment to doc.
8984
8985 2013-05-17 Leo Liu <sdl.web@gmail.com>
8986
8987 * newcomment.el (comment-search-backward): Stricter in finding
8988 comment start. (Bug#14303)
8989
8990 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8991 (octave-comment-start-skip): Properly anchored.
8992
8993 2013-05-17 Leo Liu <sdl.web@gmail.com>
8994
8995 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8996 Clean up when turned off. (Bug#14395)
8997 (smie--highlight-matching-block-overlay): No longer buffer-local.
8998 (smie-highlight-matching-block): Adjust.
8999
9000 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9001
9002 Doc string fix for "nanoseconds" (Bug#14406).
9003 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9004 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9005
9006 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9007
9008 * calc/calc-units.el (math-extract-units): Preserve powers
9009 of units.
9010
9011 2013-05-17 Leo Liu <sdl.web@gmail.com>
9012
9013 * subr.el (delete-consecutive-dups): New function.
9014 * ido.el (ido-set-matches-1): Use it.
9015 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9016 * ido.el (ido-remove-consecutive-dups): Remove.
9017
9018 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9021 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9022 regexp-opt's `words'.
9023
9024 2013-05-16 Leo Liu <sdl.web@gmail.com>
9025
9026 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9027 (smie--highlight-matching-block-overlay)
9028 (smie--highlight-matching-block-lastpos)
9029 (smie--highlight-matching-block-timer): New variables.
9030 (smie-highlight-matching-block): New function.
9031 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9032 (smie-setup): Conditionally enable smie-blink-matching-open.
9033
9034 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9035
9036 Sync with upstream verilog-mode r840.
9037 * progmodes/verilog-mode.el (verilog-mode-version)
9038 (verilog-mode-release-date): Update.
9039 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9040 (verilog-sig-tieoff): Fix string error on
9041 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9042 (verilog-read-decls): Fix parameters confusing
9043 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9044
9045 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9046
9047 * subr.el (reveal-filename): New function.
9048
9049 * loadup.el: Compute Emacs executable versions on MS-Windows,
9050 where executables have the .exe extension. Add a hard link
9051 emacs-XX.YY.ZZ.exe on MS-Windows.
9052
9053 * Makefile.in (XARGS_LIMIT): New variable.
9054 (custom-deps, finder-data, autoloads)
9055 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9056 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9057 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9058 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9059
9060 2013-05-16 Leo Liu <sdl.web@gmail.com>
9061
9062 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9063 (octave-mode-menu, octave-mode-map): Remove its uses.
9064
9065 2013-05-16 Reto Zimmermann <reto@gnu.org>
9066
9067 Sync with upstream vhdl mode v3.34.2.
9068 * progmodes/vhdl-mode.el: Use `push' throughout.
9069 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9070 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9071 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9072 (vhdl-actual-generic-name): New option to derive actual generic name.
9073 (vhdl-port-paste-signals): Replace formal by actual generics.
9074 (vhdl-beautify): New name for old group vhdl-align. Update users.
9075 (vhdl-beautify-options): New option.
9076 (vhdl-last-input-event): New compat alias. Use throughout.
9077 (vhdl-goto-line): Replace user level function `goto-line'.
9078 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9079 vhdl-fix-statement-buffer.
9080 (vhdl-create-mode-menu): Add some entries.
9081 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9082 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9083 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9084 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9085 to force statements on one line.
9086 (vhdl-remove-trailing-spaces-region):
9087 New, split from vhdl-remove-trailing-spaces.
9088 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9089 Respect vhdl-beautify-options.
9090 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9091 (vhdl-update-sensitivity-list): Not add with index if exists without.
9092 Not include array index with signal. Ignore keywords in comments.
9093 (vhdl-get-visible-signals): Regexp tweaks.
9094 (vhdl-template-component-inst): Handle empty library.
9095 (vhdl-template-type): Add template for 'enum' type.
9096 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9097 Use vhdl-replace-string.
9098 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9099 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9100 (vhdl-speedbar-initialize): Update for above name change.
9101 (vhdl-compose-wire-components): Fix in handling of constants.
9102 (vhdl-error-regexp-emacs-alist): New variable.
9103 (vhdl-error-regexp-add-emacs): New function;
9104 adds support for new compile.el (Emacs 22+)
9105 (vhdl-generate-makefile-1): Change target order for single lib. units.
9106 Allow use of absolute file names.
9107
9108 2013-05-16 Leo Liu <sdl.web@gmail.com>
9109
9110 * simple.el (prog-indent-sexp): Indent enclosing defun.
9111
9112 2013-05-15 Glenn Morris <rgm@gnu.org>
9113
9114 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9115 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9116 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9117 (whitespace-highlight): Move to whitespace group.
9118
9119 * comint.el (comint-source):
9120 * pcmpl-linux.el (pcmpl-linux):
9121 * shell.el (shell-faces):
9122 * eshell/esh-opt.el (eshell-opt):
9123 * international/ccl.el (ccl): Remove empty custom groups.
9124
9125 * completion.el (dynamic-completion-mode):
9126 * jit-lock.el (jit-lock-debug-mode):
9127 * minibuffer.el (completion-in-region-mode):
9128 * type-break.el (type-break-mode-line-message-mode)
9129 (type-break-query-mode):
9130 * emulation/tpu-edt.el (tpu-edt-mode):
9131 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9132 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9133 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9134
9135 * term/xterm.el (xterm): Change parent group to terminals.
9136
9137 * master.el (master): Remove empty custom group.
9138 (master-mode): Remove unused :group argument.
9139 * textmodes/refill.el (refill): Remove empty custom group.
9140 (refill-mode): Remove unused :group argument.
9141
9142 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9143
9144 * cus-dep.el: Provide a feature.
9145 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9146 Don't mistakenly ignore files whose basenames match a basename
9147 from preloaded-file-list (eg cedet/ede/simple.el).
9148 Add a fallback method for getting :group.
9149
9150 2013-05-15 Juri Linkov <juri@jurta.org>
9151
9152 * isearch.el (isearch-char-by-name): Rename from
9153 `isearch-insert-char-by-name'. Doc fix.
9154 (isearch-forward): Mention `isearch-char-by-name' in
9155 the docstring. (Bug#13348)
9156
9157 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9158 `exit-minibuffer' instead of
9159 `isearch-nonincremental-exit-minibuffer'.
9160 (isearch-edit-string): Remove mention of
9161 `isearch-nonincremental-exit-minibuffer' from docstring.
9162 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9163 (isearch-forward-exit-minibuffer)
9164 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9165
9166 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * loadup.el: Just use unversioned DOC.
9169
9170 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9171 literals as extending to EOB.
9172 (nxml-last-fontify-end): Remove unused variable.
9173 (nxml-after-change1): Use with-silent-modifications.
9174 (nxml-extend-after-change-region): Simplify.
9175 (nxml-extend-after-change-region1): Remove function.
9176 (nxml-after-change1): Don't adjust for dependent regions.
9177 (nxml-fontify-matcher): Simplify.
9178 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9179 (xmltok-add-dependent): Remove function.
9180 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9181 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9182 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9183 unclosed <[[, <?, comment, and other literals as extending to EOB.
9184 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9185 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9186 Remove functions.
9187 (rng-do-some-validation-1): Don't mark dependent regions.
9188 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9189 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9190 (nxml-clear-dependent-regions): Remove functions.
9191 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9192 (nxml-ensure-scan-up-to-date):
9193 Don't clear&mark dependent regions.
9194
9195 2013-05-15 Leo Liu <sdl.web@gmail.com>
9196
9197 * progmodes/octave.el (octave-goto-function-definition):
9198 Improve and fix callers.
9199
9200 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9201
9202 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9203 the setter (bug#14387).
9204
9205 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9206 surrounding group (bug#14402).
9207
9208 2013-05-14 Juri Linkov <juri@jurta.org>
9209
9210 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9211 (Bug#14390)
9212
9213 2013-05-14 Glenn Morris <rgm@gnu.org>
9214
9215 * progmodes/f90.el (f90-imenu-generic-expression):
9216 Fix typo in 2013-05-08 change. (Bug#14402)
9217
9218 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9219
9220 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9221 Remove signals for which replies are never received.
9222
9223 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9224
9225 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9226 (gdb-handler-alist, gdb-handler-number): Remove variables.
9227 (gdb-handler-list): New variable.
9228 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9229 (gdb-pending-handler-p, gdb-handle-reply)
9230 (gdb-remove-all-pending-triggers): New functions.
9231 (gdb-discard-unordered-replies): New defcustom.
9232 (gdb-handler): New defstruct.
9233 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9234 instead of gdb-pending-triggers. Update docstring.
9235 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9236 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9237 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9238 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9239 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9240 (gdb-frame-handler): Pending triggers are now automatically managed.
9241 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9242 Remove argument.
9243 (gdb-input): Automatically handles pending triggers. Update docstring.
9244 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9245 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9246 Update comments.
9247 (gdb-done-or-error): Now use gdb-handle-reply.
9248
9249 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9250
9251 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9252 gdb-debug-log.
9253
9254 2013-05-14 Glenn Morris <rgm@gnu.org>
9255
9256 * subr.el (user-emacs-directory-warning): New option.
9257 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9258
9259 2013-05-14 Leo Liu <sdl.web@gmail.com>
9260
9261 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9262 during redisplay.
9263 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9264 (octave-font-lock-texinfo-comment): Fix invalid search bound
9265 error: wrong side of point.
9266
9267 2013-05-14 Glenn Morris <rgm@gnu.org>
9268
9269 * progmodes/flymake.el (flymake-xml-program): New option.
9270 (flymake-xml-init): Use it.
9271
9272 * term/xterm.el: Provide a feature.
9273
9274 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9275
9276 2013-05-13 Glenn Morris <rgm@gnu.org>
9277
9278 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9279 Add compat aliases as a hack workaround. (Bug#14384)
9280
9281 2013-05-13 Leo Liu <sdl.web@gmail.com>
9282
9283 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9284 ###, and %!.
9285 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9286 C-M-q.
9287 (octave-comment-start-skip): Include %!.
9288 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9289
9290 2013-05-12 Leo Liu <sdl.web@gmail.com>
9291
9292 * progmodes/octave.el (inferior-octave-startup): Store the value
9293 of __octave_srcdir__ for octave-source-directories.
9294 (inferior-octave-check-process): New function refactored out of
9295 inferior-octave-send-list-and-digest.
9296 (octave-source-directories)
9297 (octave-find-definition-filename-function): New variables.
9298 (octave-source-directories)
9299 (octave-find-definition-default-filename): New functions.
9300 (octave-find-definition): Improve to find functions implemented in C++.
9301
9302 2013-05-12 Glenn Morris <rgm@gnu.org>
9303
9304 * calendar/diary-lib.el (diary-outlook-format-1):
9305 Don't include dayname in the output. (Bug#14349)
9306
9307 2013-05-11 Glenn Morris <rgm@gnu.org>
9308
9309 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9310
9311 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9312 Treat cc-provide like provide.
9313
9314 2013-05-11 Kevin Ryde <user42@zip.com.au>
9315
9316 * cus-dep.el (custom-make-dependencies):
9317 Use generated-autoload-load-name for the sake of files such
9318 such cedet/semantic/bovine/c.el, where the base file name
9319 is not in load-path. (Bug#5277)
9320
9321 2013-05-11 Glenn Morris <rgm@gnu.org>
9322
9323 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9324 Provide features.
9325
9326 2013-05-11 Leo Liu <sdl.web@gmail.com>
9327
9328 * progmodes/octave.el (octave-indent-comment): Improve.
9329 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9330 (octave-eldoc-function-signatures, octave-eldoc-function):
9331 New functions.
9332 (octave-mode, inferior-octave-mode): Add eldoc support.
9333
9334 2013-05-11 Richard Stallman <rms@gnu.org>
9335
9336 * epa.el (epa-decrypt-file): Take output file name as argument
9337 and read it using `interactive'.
9338
9339 2013-05-11 Leo Liu <sdl.web@gmail.com>
9340
9341 * progmodes/octave.el (octave-beginning-of-line)
9342 (octave-end-of-line): Check before using up-list because it jumps
9343 out of more syntactic contructs since moving to smie.
9344 (octave-indent-comment): New function.
9345 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9346 (octave-begin-keywords, octave-end-keywords)
9347 (octave-reserved-words, octave-smie-bnf-table)
9348 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9349
9350 2013-05-11 Glenn Morris <rgm@gnu.org>
9351
9352 * faces.el (internal-face-x-get-resource):
9353 * frame.el (ns-display-monitor-attributes-list):
9354 * calc/calc-aent.el (math-to-radians-2):
9355 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9356 Fix declarations.
9357
9358 * calc/calc-menu.el: Make it loadable in isolation.
9359
9360 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9361 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9362 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9363 (eudc-bbdb-query-internal): Require 'bbdb.
9364
9365 * lpr.el (lpr-headers-switches):
9366 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9367
9368 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9369
9370 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9371
9372 * term.el (term-set-escape-char): Make it idempotent.
9373
9374 2013-05-10 Leo Liu <sdl.web@gmail.com>
9375
9376 * progmodes/octave.el (inferior-octave-completion-table):
9377 No longer a function and all uses changed. Use cache to speed up
9378 completion due to bug#11906.
9379 (octave-beginning-of-defun): Re-write to be more general.
9380
9381 2013-05-10 Glenn Morris <rgm@gnu.org>
9382
9383 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9384
9385 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * comint.el (comint-redirect-send-command-to-process): Use :around
9388 rather than :override for comint-redirect-filter.
9389 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9390 Call it instead of comint-redirect-original-filter-function (which
9391 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9392
9393 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9394
9395 * frame.el (display-monitor-attributes-list): Add NS case.
9396 (ns-display-monitor-attributes-list): Declare.
9397
9398 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9399
9400 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9401
9402 2013-05-09 Glenn Morris <rgm@gnu.org>
9403
9404 * international/fontset.el (vertical-centering-font-regexp):
9405 Set standard-value.
9406
9407 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9408
9409 * bookmark.el (bookmark-search-delay):
9410 * cus-start.el (vertical-centering-font-regexp):
9411 * ps-mule.el (ps-mule-font-info-database-default):
9412 * ps-print.el (ps-default-fg, ps-default-bg):
9413 * type-break.el (type-break-good-break-interval):
9414 * whitespace.el (whitespace-indentation-regexp)
9415 (whitespace-space-after-tab-regexp):
9416 * emacs-lisp/testcover.el (testcover-1value-functions)
9417 (testcover-noreturn-functions, testcover-progn-functions)
9418 (testcover-prog1-functions):
9419 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9420 * eshell/em-glob.el (eshell-glob-translate-alist):
9421 * play/tetris.el (tetris-tty-colors):
9422 * progmodes/cpp.el (cpp-face-default-list):
9423 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9424 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9425 (idlwave-help-browser-generic-args):
9426 * progmodes/make-mode.el (makefile-special-targets-list):
9427 * progmodes/python.el (python-shell-virtualenv-path):
9428 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9429 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9430 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9431 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9432 * textmodes/reftex-vars.el (reftex-format-label-function):
9433 * textmodes/remember.el (remember-diary-file): Fix custom types.
9434
9435 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9436 Add :version.
9437
9438 2013-05-09 Leo Liu <sdl.web@gmail.com>
9439
9440 * progmodes/octave.el (inferior-octave-completion-at-point):
9441 Restore file completion. (Bug#14300)
9442 (inferior-octave-startup): Fix incorrect highlighting for the
9443 first prompt.
9444
9445 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9446
9447 * progmodes/ruby-mode.el: First cut at SMIE support.
9448 (ruby-use-smie): New var.
9449 (ruby-smie-grammar): New constant.
9450 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9451 (ruby-smie--forward-token, ruby-smie--backward-token)
9452 (ruby-smie-rules): New functions.
9453 (ruby-mode-variables): Setup SMIE if applicable.
9454
9455 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9456
9457 * simple.el (line-move-visual): Signal beginning/end of buffer
9458 only if vertical-motion moved less than it was requested. Avoids
9459 silly incorrect error messages when there are display strings with
9460 multiple newlines at EOL.
9461
9462 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9463
9464 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9465 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9466 (prolog-char-quote-workaround):
9467 * progmodes/cperl-mode.el (cperl-under-as-char):
9468 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9469 Mark as obsolete.
9470 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9471 their declaration.
9472 (vhdl-mode-syntax-table-init): Remove.
9473
9474 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9475 last change.
9476
9477 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9478 syntax for "_".
9479 (ld-script-font-lock-keywords):
9480 Change regexps to use things like \_< and \_>.
9481
9482 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9483 Change all regexps to use things like \_< and \_>.
9484
9485 * progmodes/autoconf.el (autoconf-definition-regexp)
9486 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9487 Handle a _ with symbol syntax.
9488 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9489
9490 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9491 Consolidate declaration.
9492 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9493 the declaration.
9494 (ada-create-syntax-table): Remove.
9495 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9496 already has the right syntax nowadays.
9497 (ada-goto-next-word): Don't change the syntax of "_".
9498
9499 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9500 with-wrapper-hook.
9501
9502 2013-05-08 Sam Steingold <sds@gnu.org>
9503
9504 * thingatpt.el (thing-at-point): Accept optional second argument
9505 NO-PROPERTIES to strip the text properties from the return value.
9506 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9507 to `thing-at-point' instead of stripping the properties ourselves.
9508 Also, when `thing-at-point' fails to find a url, prepend "http://"
9509 to the filename at point on the assumption that the user is
9510 pointing at something like gnu.org/gnu.
9511
9512 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9513
9514 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9515 * faces.el (crm-separator):
9516 Silence byte-compiler.
9517
9518 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9519 (tool-bar-map): Remove unneeded defvars.
9520
9521 2013-05-08 Leo Liu <sdl.web@gmail.com>
9522
9523 Re-work a fix for bug#10994 based on Le Wang's patch.
9524 * ido.el (ido-remove-consecutive-dups): New helper.
9525 (ido-completing-read): Use it.
9526 (ido-chop): Revert fix for bug#10994.
9527
9528 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9529
9530 * cus-edit.el (custom-save-variables):
9531 Pretty-print long values. (Bug#14187)
9532
9533 2013-05-08 Glenn Morris <rgm@gnu.org>
9534
9535 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9536 (m4-mode-syntax-table): Init in the defvar.
9537 (m4-mode-abbrev-table): Let define-derived-mode define it.
9538
9539 2013-05-08 Tom Tromey <tromey@redhat.com>
9540
9541 * progmodes/m4-mode.el (m4-mode-syntax-table):
9542 Do not treat "_" as word constituent. (Bug#14167)
9543
9544 2013-05-07 Glenn Morris <rgm@gnu.org>
9545
9546 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9547 Remove explicit eshell-isearch-cancel-map.
9548
9549 * progmodes/f90.el (f90-smart-end-names): New option.
9550 (f90-smart-end): Doc fix.
9551 (f90-end-block-optional-name): New constant.
9552 (f90-block-match): Respect f90-smart-end-names.
9553
9554 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9555
9556 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9557 about implicit semi-colons (bug#14218).
9558
9559 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9560
9561 * frame.el (display-monitor-attributes-list)
9562 (frame-monitor-attributes): New functions.
9563
9564 2013-05-06 Leo Liu <sdl.web@gmail.com>
9565
9566 * progmodes/octave.el (octave-syntax-propertize-function): Change
9567 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9568 (octave-font-lock-keywords): Use octave-operator-regexp.
9569 (octave-completion-at-point): Rename from
9570 octave-completion-at-point-function.
9571 (inferior-octave-directory-tracker): Robustify.
9572 (octave-text-functions): Remove and fix its uses. No such things
9573 any more.
9574
9575 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * emacs-lisp/trace.el (trace--display-buffer): New function.
9578 (trace-make-advice): Use it.
9579
9580 2013-05-06 Juri Linkov <juri@jurta.org>
9581
9582 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9583 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9584 Doc fix.
9585 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9586 in the help string. (Bug#12985)
9587
9588 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9589
9590 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9591
9592 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * progmodes/perl-mode.el: Add support for here documents.
9595 (perl-syntax-propertize-function): Match here-doc markers.
9596 (perl-syntax-propertize-special-constructs): Find their end.
9597 (perl-imenu-generic-expression): Use [:alnum:].
9598
9599 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9600 (advice--add-function): Refresh the advice if already present
9601 (bug#14317).
9602
9603 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9604
9605 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9606
9607 2013-05-06 Glenn Morris <rgm@gnu.org>
9608
9609 * w32-fns.el (w32-charset-info-alist): Declare.
9610
9611 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9612 of its defcustom properties.
9613 (eshell-cmpl-initialize): No need to load pcomplete.
9614
9615 * generic-x.el: No need to require comint when compiling.
9616
9617 * net/eudc-export.el: Make it loadable without bbdb.
9618 (top-level): Use require rather than load-library.
9619 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9620 (eudc-batch-export-records-to-bbdb)
9621 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9622 Require bbdb.
9623
9624 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9627 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9628 some tweaks, instead.
9629
9630 2013-05-05 Leo Liu <sdl.web@gmail.com>
9631
9632 * progmodes/octave.el (octave-font-lock-keywords)
9633 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9634 (inferior-octave-send-list-and-digest): Improve error message.
9635 (octave-mode, inferior-octave-mode): Use setq-local.
9636 (octave-help): Set info-lookup-mode.
9637
9638 2013-05-05 Richard Stallman <rms@gnu.org>
9639
9640 * vc/compare-w.el (compare-windows-whitespace):
9641 Treat no-break space as whitespace.
9642
9643 * mail/rmailsum.el (rmail-summary-rmail-update):
9644 Detect empty summary and don't change selected message.
9645 (rmail-summary-goto-msg): Likewise.
9646
9647 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9648 Doc fixes, rename args.
9649
9650 2013-05-05 Alan Mackenzie <acm@muc.de>
9651
9652 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9653
9654 2013-05-05 Juri Linkov <juri@jurta.org>
9655
9656 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9657 to not add the length of the summary segment to the return value.
9658 (Bug#14125)
9659
9660 2013-05-05 Leo Liu <sdl.web@gmail.com>
9661
9662 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9663 (inferior-octave-output-filter): Remove.
9664 (octave-send-region, inferior-octave-startup): Fix callers.
9665 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9666 (octave-binary-file-extensions): New user variable.
9667 (octave-find-definition): Confirm if opening binary files.
9668 (octave-help-file): Use octave-find-definition to get the binary
9669 confirmation.
9670 (octave-help): Adjust for octave-help-file change.
9671
9672 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9673
9674 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9675 Merge the two entries that handle function definitions.
9676 (pascal--syntax-propertize): New const.
9677 (pascal-mode): Use it. Use setq-local.
9678
9679 2013-05-04 Glenn Morris <rgm@gnu.org>
9680
9681 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9682 (diary-from-outlook): Respect diary-from-outlook-function.
9683
9684 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9685
9686 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9687 Move the declaration from C.
9688 (read-minibuffer, eval-minibuffer): Move from C.
9689 (completion-setup-function): Avoid minibuffer-completion-contents.
9690
9691 2013-05-03 Leo Liu <sdl.web@gmail.com>
9692
9693 * progmodes/octave.el (octave-font-lock-keywords): Do not
9694 dehighlight 'end' in comments or strings.
9695 (octave-completing-read, octave-goto-function-definition):
9696 New helpers.
9697 (octave-help-buffer): New user variable.
9698 (octave-help-file, octave-help-function): New button types.
9699 (octave-help): New command and bind it to C-h ;.
9700 (octave-find-definition): New command and bind it to M-.
9701 (user-error): Alias to error if not defined.
9702
9703 2013-05-02 Leo Liu <sdl.web@gmail.com>
9704
9705 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9706 for \. (bug#14332)
9707 (octave-font-lock-keywords): Include [ and {.
9708
9709 2013-05-02 Leo Liu <sdl.web@gmail.com>
9710
9711 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9712 (inferior-octave): Remove calling comint-mode and return the buffer.
9713 (inferior-octave-startup): Cosmetic changes.
9714
9715 2013-05-02 Leo Liu <sdl.web@gmail.com>
9716
9717 * progmodes/octave.el (octave-syntax-propertize-function):
9718 Include the case when ' is at line beginning. (Bug#14336)
9719
9720 2013-05-02 Glenn Morris <rgm@gnu.org>
9721
9722 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9723 * desktop.el (vc-dir-mode): Just autoload it here.
9724
9725 2013-05-02 Alan Mackenzie <acm@muc.de>
9726
9727 Eliminate variable c-standard-font-lock-fontify-region-function.
9728 * progmodes/cc-mode.el
9729 (c-standard-font-lock-fontify-region-function): Remove.
9730 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9731
9732 2013-05-01 Leo Liu <sdl.web@gmail.com>
9733
9734 * progmodes/octave.el: Compatible with older emacs-24 releases.
9735 (inferior-octave-has-built-in-variables): Remove. Built-in
9736 variables were removed from Octave in 2007.
9737 (inferior-octave-startup): Fix uses.
9738 (comint-line-beginning-position): Remove compatibility code for
9739 emacs 21.
9740
9741 2013-05-01 Juri Linkov <juri@jurta.org>
9742
9743 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9744
9745 2013-05-01 Juri Linkov <juri@jurta.org>
9746
9747 * comint.el (comint-previous-matching-input): Don't print message
9748 "History item: %d" when `isearch-mode' is active.
9749 (comint-history-isearch-message): Print message "History item: %d"
9750 when `comint-input-ring-index' is not empty and this function is
9751 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9752
9753 2013-05-01 Leo Liu <sdl.web@gmail.com>
9754
9755 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9756 definitions. Use completion-at-point to insert keywords.
9757 (octave-abbrev-start): Remove.
9758 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9759
9760 2013-04-30 Leo Liu <sdl.web@gmail.com>
9761
9762 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9763 change.
9764
9765 2013-04-30 Alan Mackenzie <acm@muc.de>
9766
9767 Handle arbitrarily long C++ member initialisation lists.
9768 * progmodes/cc-engine.el (c-back-over-member-initializers):
9769 new function.
9770 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9771 (most) member init lists.
9772
9773 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9774
9775 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9776 variable.
9777
9778 2013-04-30 Leo Liu <sdl.web@gmail.com>
9779
9780 * progmodes/octave.el (octave-variables): Remove. No builtin
9781 variables any more. All converted to functions.
9782 (octave-font-lock-keywords, octave-completion-at-point-function):
9783 Fix uses.
9784 (octave-font-lock-texinfo-comment): New user variable.
9785 (octave-texinfo-font-lock-keywords): New variable for texinfo
9786 comment block.
9787 (octave-function-comment-block): New face.
9788 (octave-font-lock-texinfo-comment): New function.
9789 (octave-mode): Font lock texinfo comment block.
9790
9791 2013-04-29 Leo Liu <sdl.web@gmail.com>
9792
9793 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9794 indexing expression.
9795 (octave-continuation-string): Do not use \.
9796 (inferior-octave-complete-impossible): Remove.
9797 (inferior-octave-completion-table)
9798 (inferior-octave-completion-at-point): Remove its uses.
9799 (inferior-octave-startup): completion_matches was introduced to
9800 Octave in 1996 so safe to assume it.
9801 (octave-function-file-comment): Improve to follow how Octave does it.
9802 (octave-update-function-file-comment): Tweak.
9803
9804 2013-04-29 Leo Liu <sdl.web@gmail.com>
9805
9806 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9807 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9808 (octave-function-file-comment): Fix typo.
9809 (octave-sync-function-file-names): Use read-char-choice.
9810
9811 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9812
9813 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9814 to t for the less important warnings.
9815
9816 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9817
9818 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9819
9820 2013-04-27 Glenn Morris <rgm@gnu.org>
9821
9822 * vc/log-view.el (log-view-current-entry):
9823 Treat "---" separator lines as part of the following rev. (Bug#14169)
9824
9825 2013-04-27 Juri Linkov <juri@jurta.org>
9826
9827 * subr.el (read-number): Doc fix about using it by interactive
9828 code letter `n'. (Bug#14254)
9829
9830 2013-04-27 Juri Linkov <juri@jurta.org>
9831
9832 * desktop.el (desktop-auto-save-timeout): New option.
9833 (desktop-file-checksum): New variable.
9834 (desktop-save): Add optional arg `auto-save' and don't auto-save
9835 if nothing changed.
9836 (desktop-auto-save-timer): New variable.
9837 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9838 (after-init-hook): Call `desktop-auto-save-set-timer'.
9839 Suggested by Reuben Thomas <rrt@sc3d.org> in
9840 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9841
9842 2013-04-27 Leo Liu <sdl.web@gmail.com>
9843
9844 * progmodes/octave.el (octave-function-file-p)
9845 (octave-skip-comment-forward, octave-function-file-comment)
9846 (octave-update-function-file-comment): New functions.
9847 (octave-mode-map): Bind C-c ; to
9848 octave-update-function-file-comment.
9849 (octave-mode-menu): Add octave-update-function-file-comment.
9850 (octave-mode, inferior-octave-mode): Fix doc-string.
9851 (octave-insert-defun): Conform to Octave's coding convention.
9852 (Bug#14285)
9853
9854 * files.el (basic-save-buffer): Don't let errors in
9855 before-save-hook prevent saving buffer.
9856
9857 2013-04-20 Roland Winkler <winkler@gnu.org>
9858
9859 * faces.el (read-face-name): Use completing-read if arg multiple
9860 is nil.
9861
9862 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9863
9864 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9865 displayed, move point to after the totals line.
9866 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9867 for the details.
9868
9869 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9870
9871 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9872 Add current dir to the load-path.
9873 (package-generate-autoloads): Don't rely on
9874 autoload-ensure-default-file.
9875
9876 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9877
9878 * textmodes/remember.el (remember-store-in-files): Document that
9879 the file name format is passed to `format-time-string'.
9880
9881 2013-04-26 Leo Liu <sdl.web@gmail.com>
9882
9883 * progmodes/octave.el (octave-sync-function-file-names): New function.
9884 (octave-mode): Use it in before-save-hook.
9885
9886 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9889 (bug#14274).
9890
9891 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9892 \n and comment, even if it's not an implicit ; (bug#14218).
9893
9894 2013-04-26 Glenn Morris <rgm@gnu.org>
9895
9896 * subr.el (read-number): Once more use `read' rather than
9897 `string-to-number', to trap non-numeric input. (Bug#14254)
9898
9899 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9900
9901 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9902 Use `syntax-multiline' text property consistently instead of
9903 `font-lock-multiline'. (Bug#14237)
9904
9905 2013-04-26 Glenn Morris <rgm@gnu.org>
9906
9907 * emacs-lisp/shadow.el (list-load-path-shadows):
9908 No longer necessary to check for duplicate simple.el, since
9909 2012-07-07 change to init_lread to not include installation lisp
9910 directories in load-path when running uninstalled. (Bug#14270)
9911
9912 2013-04-26 Leo Liu <sdl.web@gmail.com>
9913
9914 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9915 (octave-mode, inferior-octave-mode): Use setq-local.
9916 (octave-not-in-string-or-comment-p): Rename to
9917 octave-in-string-or-comment-p.
9918 (octave-in-comment-p, octave-in-string-p)
9919 (octave-in-string-or-comment-p): Replace defsubst with defun.
9920
9921 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9922
9923 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9924
9925 2013-04-25 Bastien Guerry <bzg@gnu.org>
9926
9927 * textmodes/remember.el (remember-data-directory)
9928 (remember-directory-file-name-format): Fix custom types.
9929
9930 2013-04-25 Leo Liu <sdl.web@gmail.com>
9931
9932 * progmodes/octave.el (octave-completion-at-point-function):
9933 Make use of inferior octave process.
9934 (octave-initialize-completions): Remove.
9935 (inferior-octave-completion-table): New function.
9936 (inferior-octave-completion-at-point): Use it.
9937 (octave-completion-alist): Remove.
9938
9939 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9942 (opascal-mode-syntax-table): New var.
9943 (opascal-literal-kind, opascal-is-literal-end)
9944 (opascal-literal-token-at): Rewrite.
9945 (opascal--literal-start-re, opascal-font-lock-keywords)
9946 (opascal--syntax-propertize): New constants.
9947 (opascal-font-lock-defaults): Adjust.
9948 (opascal-mode): Use them. Set comment-<foo> variables as well.
9949 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9950 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9951 (delphi-other-face, opascal-other-face): Remove face variables.
9952 (opascal-save-state): Remove macro.
9953 (opascal-fontifying-progress-step): Remove constant.
9954 (opascal--ignore-changes): Remove var.
9955 (opascal-set-token-property, opascal-parse-next-literal)
9956 (opascal-is-stable-literal, opascal-complete-literal)
9957 (opascal-is-literal-start, opascal-face-of)
9958 (opascal-parse-region, opascal-parse-region-until-stable)
9959 (opascal-fontify-region, opascal-after-change)
9960 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9961 (opascal-debug-parse-region, opascal-debug-parse-window)
9962 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9963 (opascal-debug-fontify-buffer): Remove.
9964 (opascal-debug-mode-map): Adjust accordingly.
9965
9966 2013-04-25 Leo Liu <sdl.web@gmail.com>
9967
9968 Merge octave-mod.el and octave-inf.el into octave.el with some
9969 cleanups.
9970 * progmodes/octave.el: New file renamed from octave-mod.el.
9971 * progmodes/octave-inf.el: Merged into octave.el.
9972 * progmodes/octave-mod.el: Renamed to octave.el.
9973
9974 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9975
9976 * textmodes/reftex-vars.el
9977 (reftex-label-ignored-macros-and-environments): New defcustom.
9978
9979 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9980
9981 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9984 (smie-indent-keyword): Improve the check to ensure that the next
9985 comment is really on the same line.
9986 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9987
9988 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9989 semi-colons if the line is not otherwise empty (bug#14218).
9990
9991 2013-04-25 Glenn Morris <rgm@gnu.org>
9992
9993 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9994
9995 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * progmodes/opascal.el (opascal-set-token-property): Rename from
9998 opascal-set-text-properties and only set `token' (bug#14134).
9999 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10000 (opascal-literal-text-properties): Remove.
10001 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10002 Adjust callers.
10003
10004 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10005
10006 * textmodes/remember.el (remember-handler-functions): Add an
10007 option for a new handler `remember-store-in-files'.
10008 (remember-data-directory, remember-directory-file-name-format):
10009 New options.
10010 (remember-store-in-files): New function to store remember notes
10011 as separate files within a directory.
10012
10013 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10014
10015 * progmodes/compile.el (compilation-next-error-function):
10016 Pass "formats" to compilation-find-file (bug#11777).
10017
10018 2013-04-24 Glenn Morris <rgm@gnu.org>
10019
10020 * vc/vc-bzr.el (vc-bzr-print-log):
10021 * vc/vc-hg.el (vc-hg-print-log):
10022 * vc/vc-svn.el (vc-svn-print-log):
10023 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10024
10025 * vc/vc-bzr.el (vc-bzr-print-log):
10026 * vc/vc-cvs.el (vc-cvs-print-log):
10027 * vc/vc-git.el (vc-git-print-log):
10028 * vc/vc-hg.el (vc-hg-print-log):
10029 * vc/vc-mtn.el (vc-mtn-print-log):
10030 * vc/vc-rcs.el (vc-rcs-print-log):
10031 * vc/vc-sccs.el (vc-sccs-print-log):
10032 * vc/vc-svn.el (vc-svn-print-log):
10033 * vc/vc.el (vc-print-log-internal): Doc fixes.
10034
10035 2013-04-23 Glenn Morris <rgm@gnu.org>
10036
10037 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10038 Remove venerable code attempting to avoid substitute-command-keys.
10039
10040 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10041
10042 * textmodes/reftex-vars.el (reftex-label-regexps):
10043 Call `reftex-compile-variables' after changes to this variable.
10044
10045 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10046
10047 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10048 Use lexical-binding.
10049 (jit-lock-force-redisplay): Use markers, check buffer's continued
10050 existence and beware narrowed buffers.
10051 (jit-lock-fontify-now): Adjust call accordingly.
10052
10053 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10054
10055 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10056 to avoid misleading the user.
10057
10058 2013-04-22 Leo Liu <sdl.web@gmail.com>
10059
10060 * info-look.el: Prefer latex2e.info. (Bug#14240)
10061
10062 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10063
10064 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10065
10066 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10067 * net/tramp.el (tramp-call-process): ... here.
10068 (tramp-set-completion-function, tramp-parse-putty):
10069 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10070 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10071 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10072 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10073 (tramp-call-local-coding-command): Use `tramp-call-process'
10074 instead of `tramp-compat-call-process'.
10075
10076 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10077 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10078 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10079 (tramp-find-inline-compress): Improve traces.
10080 (tramp-maybe-send-script): Check for Perl binary.
10081 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10082
10083 2013-04-22 Daiki Ueno <ueno@gnu.org>
10084
10085 * epg.el (epg-context-pinentry-mode): New function.
10086 (epg-context-set-pinentry-mode): New function.
10087 (epg--start): Pass --pinentry-mode option to gpg command.
10088
10089 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10090
10091 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10092 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10093 `completion-at-point'. (Bug#13774)
10094
10095 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10096 default key binding for `describe-distribution' has been moved to
10097 `C-h C-o'. (Bug#13970)
10098
10099 2013-04-21 Glenn Morris <rgm@gnu.org>
10100
10101 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10102 Add doc strings.
10103 (vc-print-log): Clarify interactive prompt.
10104
10105 2013-04-20 Glenn Morris <rgm@gnu.org>
10106
10107 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10108 No longer include timestamp etc information.
10109
10110 2013-04-20 Roland Winkler <winkler@gnu.org>
10111
10112 * faces.el (read-face-name): Bug fix, return just one face if arg
10113 multiple is nil. (Bug#14209)
10114
10115 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10116
10117 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10118 (remove-function): Autoload.
10119
10120 * comint.el (comint-redirect-original-filter-function): Remove.
10121 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10122 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10123 (vc-cvs-annotate-command):
10124 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10125 * progmodes/prolog.el (prolog-consult-compile):
10126 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10127 Use add/remove-function instead.
10128 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10129 (gud-tooltip-process-output, gud-tooltip-tips):
10130 Use add/remove-function instead.
10131 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10132 (scheme-interaction-mode, exit-scheme-interaction-mode):
10133 Use add/remove-function instead.
10134
10135 * vc/vc-dispatcher.el: Use lexical-binding.
10136 (vc--process-sentinel): Rename from vc-process-sentinel.
10137 Change last arg to be the code to run. Don't use vc-previous-sentinel
10138 and vc-sentinel-commands any more.
10139 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10140 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10141
10142 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10143
10144 * progmodes/sh-script.el (sh-imenu-generic-expression):
10145 Handle function names with a single character. (Bug#14111)
10146
10147 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10148
10149 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10150 for subroutines defined in an eval (bug#14182).
10151
10152 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10153
10154 * bookmark.el (bookmark-completing-read): Improve handling of empty
10155 string (bug#14176).
10156
10157 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10160
10161 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10162
10163 New faster Imenu implementation (bug#14058).
10164 * progmodes/python.el:
10165 (python-imenu-prev-index-position):
10166 (python-imenu-format-item-label-function)
10167 (python-imenu-format-parent-item-label-function)
10168 (python-imenu-format-parent-item-jump-label-function):
10169 New vars.
10170 (python-imenu-format-item-label)
10171 (python-imenu-format-parent-item-label)
10172 (python-imenu-format-parent-item-jump-label)
10173 (python-imenu--put-parent, python-imenu--build-tree)
10174 (python-imenu-create-index, python-imenu-create-flat-index)
10175 (python-util-popn): New functions.
10176 (python-mode): Set imenu-create-index-function to
10177 python-imenu-create-index.
10178
10179 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * winner.el (winner-active-region): Use region-active-p, activate-mark
10182 and deactivate-mark (bug#14225).
10183
10184 * simple.el (deactivate-mark): Don't inline it.
10185
10186 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10187
10188 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10189
10190 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10191
10192 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10193 file extensions from the archive-mode entry in order to prefer
10194 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10195
10196 2013-04-18 Leo Liu <sdl.web@gmail.com>
10197
10198 * bindings.el (help-event-list): Add ?\?.
10199
10200 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10201
10202 * subr.el (with-wrapper-hook): Declare obsolete.
10203 * simple.el (filter-buffer-substring-function): New hook.
10204 (filter-buffer-substring): Use it.
10205 (filter-buffer-substring-functions): Mark obsolete.
10206 * minibuffer.el (completion-in-region-function): New hook.
10207 (completion-in-region): Use it.
10208 (completion-in-region-functions): Mark obsolete.
10209 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10210 * abbrev.el (abbrev-expand-function): New hook.
10211 (expand-abbrev): Use it.
10212 (abbrev-expand-functions): Mark obsolete.
10213 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10214 and :filter-return.
10215
10216 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10217
10218 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10219 and do not care about match data.
10220
10221 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10222
10223 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10224 completion tables when completing error conditions and
10225 `declare' arguments.
10226 (lisp-complete-symbol, field-complete): Mark as obsolete.
10227 (check-parens): Unmatched parens are user errors.
10228 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10229
10230 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10231
10232 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10233 command changed buffer (ie. `flyspell-pre-buffer' is not current
10234 buffer), which prevents making decisions based on invalid value of
10235 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10236 cause an error when `flyspell-pre-point' was nil after switching
10237 buffers.
10238 (flyspell-post-command-hook): No longer needs to change buffers when
10239 checking pre-word. While at it remove unnecessary progn.
10240
10241 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10242
10243 * textmodes/ispell.el (ispell-add-per-file-word-list):
10244 Fix `flyspell-correct-word-before-point' error when accepting
10245 words and `coment-padding' is an integer by using
10246 `comment-normalize-vars' (Bug #14214).
10247
10248 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10249
10250 New defun movement commands.
10251 * progmodes/python.el (python-nav--syntactically)
10252 (python-nav--forward-defun, python-nav-backward-defun)
10253 (python-nav-forward-defun): New functions.
10254
10255 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10256
10257 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10258 (python-syntax-context): Use named compiler-macro for backwards
10259 compatibility with Emacs 24.x.
10260
10261 2013-04-17 Leo Liu <sdl.web@gmail.com>
10262
10263 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10264 octave-hide-process-buffer.
10265
10266 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10267
10268 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10269 (bug#14216).
10270
10271 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10272
10273 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10274 Fix adjustment of offset when receiving incomplete responses from GDB
10275 (bug#14129).
10276
10277 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10278
10279 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10280 python-mode-abbrev-table.
10281 (python-skeleton-define): Adjust accordingly.
10282 (python-mode-abbrev-table): New table that inherits from it so that
10283 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10284
10285 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10286 (abbrev-symbol): Use it.
10287 (abbrev--before-point): Use it since we already handle inheritance.
10288
10289 2013-04-16 Leo Liu <sdl.web@gmail.com>
10290
10291 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10292 binding to info-lookup-symbol.
10293
10294 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10295
10296 * minibuffer.el (completion--twq-all):
10297 * term/ns-win.el (ns-initialize-window-system):
10298 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10299
10300 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10303 global bindings.
10304
10305 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10306
10307 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10308
10309 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10310 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10311 to nil.
10312 (ruby-end-of-defun): Remove the unused arg, change the docstring
10313 to reflect that this function is only used as the value of
10314 `end-of-defun-function'.
10315 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10316 to reflect an earlier change that beginning/end-of-defun functions
10317 jump between methods in a class definition, as well as top-level
10318 functions.
10319
10320 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * minibuffer.el (minibuffer-complete): Don't just scroll
10323 a *Completions* that's been iconified.
10324 (minibuffer-force-complete): Make sure repetitions do cycle when going
10325 through completion-in-region -> minibuffer-complete.
10326
10327 2013-04-15 Alan Mackenzie <acm@muc.de>
10328
10329 Correct the placement of c-cpp-delimiters when there're #s not at
10330 col 0.
10331
10332 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10333 place a submatch around the #.
10334 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10335 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10336 on the #, not BOL.
10337
10338 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10339
10340 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10341 (advice--member-p): New arg `name'.
10342 (advice--add-function, advice-member-p): Use it (bug#14202).
10343
10344 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10345
10346 Reformulate java imenu-generic-expression.
10347 The old expression contained ill formed regexps.
10348
10349 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10350 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10351 (cc-imenu-java-method-arg-regexp): New defconsts.
10352 (cc-imenu-java-build-type-args-regex): New defun.
10353 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10354 handling of spaces in the regexp.
10355
10356 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10357
10358 * textmodes/ispell.el (ispell-command-loop): Remove
10359 flyspell highlight of a word when ispell accepts it (bug #14178).
10360
10361 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10362
10363 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10364 uses code from the previous `ange-ftp-run-real-handler'.
10365 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10366 only in case that function exist. This is needed for proper
10367 unloading of Tramp.
10368
10369 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10370
10371 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10372
10373 * textmodes/reftex.el (reftex-compile-variables): Use it.
10374
10375 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10376
10377 * files.el (normal-mode): Only use default major-mode if no other mode
10378 was specified.
10379
10380 * emacs-lisp/trace.el (trace-values): New function.
10381
10382 * files.el: Allow : in local variables (bug#14089).
10383 (hack-local-variable-regexp): New var.
10384 (hack-local-variables-prop-line, hack-local-variables): Use it.
10385
10386 2013-04-13 Roland Winkler <winkler@gnu.org>
10387
10388 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10389 data before it gets modified by bibtex-beginning-of-entry.
10390
10391 2013-04-13 Roland Winkler <winkler@gnu.org>
10392
10393 * textmodes/bibtex.el (bibtex-url): Doc fix.
10394
10395 2013-04-13 Roland Winkler <winkler@gnu.org>
10396
10397 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10398 does not visit a BibTeX file, exclude it from the list of buffers
10399 returned by bibtex-initialize.
10400
10401 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10402
10403 * window.el (split-window): Remove interactive form, since as a
10404 command this function is a special case of split-window-below.
10405 Correct doc string.
10406
10407 2013-04-12 Roland Winkler <winkler@gnu.org>
10408
10409 * faces.el (read-face-name): Do not override value of arg default.
10410 Allow single faces and strings as default values. Remove those
10411 elements from return value that are not faces.
10412 (describe-face): Simplify.
10413 (face-at-point): New optional args thing and multiple so that this
10414 function can provide the same functionality previously provided by
10415 read-face-name.
10416 (make-face-bold, make-face-unbold, make-face-italic)
10417 (make-face-unitalic, make-face-bold-italic, invert-face)
10418 (modify-face, read-face-and-attribute): Use face-at-point.
10419
10420 * cus-edit.el (customize-face, customize-face-other-window)
10421 * cus-theme.el (custom-theme-add-face)
10422 * face-remap.el (buffer-face-set)
10423 * facemenu.el (facemenu-set-face): Use face-at-point.
10424
10425 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10426
10427 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10428
10429 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10430
10431 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10432 off leading { and trailing } from field values.
10433
10434 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * emacs-lisp/timer.el (timer--check): New function.
10437 (timer--time, timer-set-function, timer-event-handler): Use it.
10438 (timer-set-idle-time): Simplify.
10439 (timer--activate): CSE.
10440 (timer-event-handler): Give more info in error message.
10441 (internal-timer-start-idle): New function, moved from C.
10442
10443 * mpc.el (mpc-proc): Add `restart' argument.
10444 (mpc-proc-cmd): Use it.
10445 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10446 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10447 less often.
10448
10449 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10450
10451 * progmodes/sh-script.el: Implement `sh-mode' own
10452 `add-log-current-defun-function' (bug#14112).
10453 (sh-current-defun-name): New function.
10454 (sh-mode): Use the function.
10455
10456 2013-04-09 Bastien Guerry <bzg@gnu.org>
10457
10458 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10459
10460 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10463
10464 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10465 timer (bug#14156).
10466
10467 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10468
10469 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10470 declaration.
10471
10472 2013-04-07 Leo Liu <sdl.web@gmail.com>
10473
10474 * pcmpl-x.el: New file.
10475
10476 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10477
10478 Do not set x-display-name until X connection is established.
10479 This is needed to prevent from weird situation described at
10480 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10481 * frame.el (make-frame): Set x-display-name after call to
10482 window system initialization function, not before.
10483 * term/x-win.el (x-initialize-window-system): Add optional
10484 display argument and use it.
10485 * term/w32-win.el (w32-initialize-window-system):
10486 * term/ns-win.el (ns-initialize-window-system):
10487 * term/pc-win.el (msdos-initialize-window-system):
10488 Add compatible optional display argument.
10489
10490 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10491
10492 * files.el (normal-backup-enable-predicate): On MS-Windows and
10493 MS-DOS compare truenames of temporary-file-directory and of the
10494 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10495 don't fail comparison by compare-strings. Also, compare file
10496 names case-insensitively on MS-Windows and MS-DOS.
10497
10498 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10499
10500 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10501 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10502
10503 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10504
10505 * whitespace.el (whitespace-color-on, whitespace-color-off):
10506 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10507
10508 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10509
10510 * ispell.el (ispell-set-spellchecker-params):
10511 Really set `ispell-args' for all equivs.
10512
10513 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10514
10515 * ido.el (ido-completions): Use extra elements of ido-decorations
10516 (bug#14143).
10517 (ido-decorations): Update docstring.
10518
10519 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10520
10521 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10522 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10523 nil during initialization, in order not to miss changes since the
10524 file was opened. (Bug#14140)
10525
10526 2013-04-05 Leo Liu <sdl.web@gmail.com>
10527
10528 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10529
10530 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10531
10532 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10533
10534 2013-04-04 Glenn Morris <rgm@gnu.org>
10535
10536 * electric.el (electric-pair-inhibit-predicate): Add :version.
10537
10538 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10539
10540 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10541 when a package is required several times (bug#14082).
10542
10543 2013-04-04 Roland Winkler <winkler@gnu.org>
10544
10545 * faces.el (read-face-name): Behave as promised by the docstring.
10546 Assume that arg default is a list of faces.
10547 (describe-face): Call read-face-name with list of default faces.
10548
10549 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10550
10551 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10552 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10553 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10554 the header.
10555 (bookmark-exit-hook-internal): Save even if list is empty.
10556
10557 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10558
10559 * emacs-lisp/package.el (package-pinned-packages): New var.
10560 (package--add-to-archive-contents): Obey it (bug#14118).
10561
10562 2013-04-03 Alan Mackenzie <acm@muc.de>
10563
10564 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10565 Also adapt to the new values of element 7 of a parse state.
10566
10567 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10568 parameter `not-in-delimiter'. Handle being inside comment opener.
10569 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10570 character in case we're typing a '*' after a '/'.
10571 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10572 instead by passing the parameter to c-state-pp-to-literal.
10573
10574 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10575 for elt. 7 of a parse state.
10576
10577 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10578
10579 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10580 * international/latin1-disp.el, international/mule-util.el:
10581 * language/cyril-util.el, language/european.el, language/ind-util.el:
10582 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10583 * language/tibetan.el, language/viet-util.el:
10584 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10585
10586 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10589 (electric-pair-post-self-insert-function): Use it.
10590 (electric-pair-default-inhibit): New function, extracted from
10591 electric-pair-post-self-insert-function.
10592
10593 2013-03-31 Roland Winkler <winkler@gnu.org>
10594
10595 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10596
10597 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10600
10601 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10602
10603 Un-indent after "pass" and "return" statements (Bug#13888)
10604 * progmodes/python.el (python-indent-block-enders): New var.
10605 (python-indent-calculate-indentation): Use it.
10606
10607 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10608
10609 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10610 defun. Defining it as defalias could introduce too eager
10611 byte-compiler optimization. (Bug#14030)
10612
10613 2013-03-30 Chong Yidong <cyd@gnu.org>
10614
10615 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10616
10617 2013-03-30 Leo Liu <sdl.web@gmail.com>
10618
10619 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10620 (kmacro-execute-from-register): Pass the keyboard macro to
10621 kmacro-call-macro or repeating won't work correctly.
10622
10623 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10624
10625 * progmodes/subword.el: Back to using `forward-symbol'.
10626
10627 * subr.el (forward-whitespace, forward-symbol)
10628 (forward-same-syntax): Move from thingatpt.el.
10629
10630 2013-03-29 Leo Liu <sdl.web@gmail.com>
10631
10632 * kmacro.el (kmacro-to-register): New command.
10633 (kmacro-execute-from-register): New function.
10634 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10635
10636 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * mpc.el: Use defvar-local and setq-local.
10639 (mpc--proc-connect): Connection failures are not bugs.
10640 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10641 (mpc-volume-map): Bind to the up-events.
10642
10643 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10644
10645 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10646 instead of `forward-symbol'.
10647
10648 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10651 (edebug--recursive-edit): Use it.
10652 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10653 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10654
10655 2013-03-28 Leo Liu <sdl.web@gmail.com>
10656
10657 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10658
10659 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10660
10661 * facemenu.el (list-colors-callback): New defvar.
10662 (list-colors-redisplay): New function.
10663 (list-colors-display): Install list-colors-redisplay as the
10664 revert-buffer-function. (Bug#14063)
10665
10666 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10669 and suffixes don't overlap (bug#14061).
10670
10671 * case-table.el: Use lexical-binding.
10672 (case-table-get-table): New function.
10673 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10674
10675 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10676
10677 * progmodes/subword.el: Add `superword-mode' to do word motion
10678 over symbol_words (parallels and leverages `subword-mode' which
10679 does word motion inside MixedCaseWords).
10680
10681 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10682
10683 * eshell/em-unix.el: Move su and sudo to...
10684 * eshell/em-tramp.el: ...Eshell tramp module.
10685
10686 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10687
10688 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10689 Change return value to be a sexp. Delay `get-buffer' to after
10690 restoring the desktop (bug#13951).
10691
10692 2013-03-26 Leo Liu <sdl.web@gmail.com>
10693
10694 * register.el: Move semantic tag handling back to
10695 cedet/semantic/senator.el. (Bug#14052)
10696
10697 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10700 into the prompt either (bug#13963).
10701
10702 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10705 part of "(error-foo)".
10706
10707 2013-03-24 Juri Linkov <juri@jurta.org>
10708
10709 * replace.el (list-matching-lines-prefix-face): New defcustom.
10710 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10711 `occur-engine' if `face-differs-from-default-p' returns t.
10712 (occur-engine): Add `,' inside backquote construct to evaluate
10713 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10714 Pass `prefix-face' to the functions `occur-context-lines' and
10715 `occur-engine-add-prefix'.
10716 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10717 `prefix-face' and propertize the prefix with `prefix-face'.
10718 (Bug#14017)
10719
10720 2013-03-24 Leo Liu <sdl.web@gmail.com>
10721
10722 * nxml/rng-valid.el (rng-validate-while-idle)
10723 (rng-validate-quick-while-idle): Guard against deleted buffer.
10724 (Bug#13999)
10725
10726 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10727 is the last entry in kill-buffer-hook.
10728
10729 * files.el (kill-buffer-hook): Doc fix.
10730
10731 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10732
10733 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10734 Make it safe-local.
10735
10736 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10737
10738 2013-03-23 Leo Liu <sdl.web@gmail.com>
10739
10740 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10741 Remove.
10742
10743 * nxml/rng-valid.el (rng-validate-mode)
10744 (rng-after-change-function, rng-do-some-validation):
10745 * nxml/rng-maint.el (rng-validate-buffer):
10746 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10747 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10748 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10749 (nxml-extend-after-change-region): Use with-silent-modifications.
10750
10751 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10752 timer-idle-list.
10753
10754 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10755 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10756 timer-idle-list. (Bug#13999)
10757
10758 2013-03-23 Juri Linkov <juri@jurta.org>
10759
10760 * info.el (info-index-match): New face.
10761 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10762 main pattern and add text properties with the new face to matches
10763 in index entries relative to the beginning of the index entry.
10764 (Bug#14015)
10765
10766 2013-03-21 Eric Ludlam <zappo@gnu.org>
10767
10768 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10769 Inhibit read only while inserting objects.
10770
10771 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10772
10773 * progmodes/cfengine.el: Update docs to mention
10774 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10775 symbol motion. Remove "_" from the word syntax.
10776
10777 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10778
10779 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10780 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10781
10782 2013-03-20 Juri Linkov <juri@jurta.org>
10783
10784 * info.el (Info-next-reference-or-link)
10785 (Info-prev-reference-or-link): New functions.
10786 (Info-next-reference, Info-prev-reference): Use them.
10787 (Info-try-follow-nearest-node): Handle footnote navigation.
10788 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10789
10790 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10791
10792 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10793 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10794
10795 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10796
10797 Suppress unnecessary non-ASCII chatter during build process.
10798 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10799 (batch-skkdic-convert): Suppress most of the chatter.
10800 It's not needed so much now that machines are faster,
10801 and its non-ASCII component was confusing; see Dmitry Gutov in
10802 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10803
10804 2013-03-20 Leo Liu <sdl.web@gmail.com>
10805
10806 * ido.el (ido-chop): Fix bug#10994.
10807
10808 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10809
10810 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10811 Remove vars.
10812 (whitespace-color-on, whitespace-color-off):
10813 Use `font-lock-fontify-buffer' (Bug#13817).
10814
10815 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10816
10817 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10818 remapping in mode-line.
10819 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10820
10821 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10822
10823 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10824 value for `whitespace-line' face (Bug#13875).
10825 (whitespace-font-lock-keywords): Change description.
10826 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10827 the constructed keywords instead.
10828 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10829
10830 2013-03-19 Leo Liu <sdl.web@gmail.com>
10831
10832 * progmodes/compile.el (compilation-display-error): New command.
10833 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10834 C-o. (Bug#13992)
10835
10836 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10837
10838 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10839
10840 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10841
10842 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10843
10844 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10845
10846 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10847
10848 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10849 * net/tramp-gvfs.el (top):
10850 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10851 (tramp-handle-shell-command): Use it.
10852 (tramp-dissect-file-name): Raise an error when hostname is a
10853 method name, and neither method nor user is specified.
10854
10855 * net/trampver.el: Update release number.
10856
10857 2013-03-18 Leo Liu <sdl.web@gmail.com>
10858
10859 Make sure eldoc can be turned off properly.
10860 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10861 eldoc-mode.
10862 (eldoc-display-message-p): Revert last change.
10863 (eldoc-display-message-no-interference-p)
10864 (eldoc-print-current-symbol-info): Tweak.
10865
10866 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10867
10868 * doc-view.el (doc-view-new-window-function): Check the new window
10869 overlay's display property instead the char property of the
10870 buffer's first char. Use `with-selected-window' instead of
10871 `save-window-excursion' with `select-window'.
10872 (doc-view-document->bitmap): Check the current doc-view overlay's
10873 display property instead the char property of the buffer's first char.
10874
10875 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10876
10877 Automate the build of ja-dic.el (Bug#13984).
10878 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10879 from the input, rather than assume that it's been done for us by the
10880 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10881 the current date into a ja-dic.el comment, as that complicates
10882 regression testing.
10883
10884 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10885
10886 * whitespace.el: Fix double evaluation.
10887 (whitespace-space, whitespace-hspace, whitespace-tab)
10888 (whitespace-newline, whitespace-trailing, whitespace-line)
10889 (whitespace-space-before-tab, whitespace-indentation)
10890 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10891 obsolete defvars.
10892 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10893 (whitespace-color-on): Use a single font-lock-add-keywords call.
10894 Fix double-evaluation of face variables.
10895
10896 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10897
10898 * net/tramp-adb.el (tramp-adb-parse-device-names):
10899 Use `start-process' instead of `call-process'. Otherwise, the
10900 function might be blocked under MS Windows. (Bug#13299)
10901
10902 2013-03-17 Leo Liu <sdl.web@gmail.com>
10903
10904 Extend eldoc to display info in the mode-line. (Bug#13978)
10905 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10906 (eldoc-mode-line-string): New variable.
10907 (eldoc-minibuffer-message): New function.
10908 (eldoc-message-function): New variable.
10909 (eldoc-message): Use it.
10910 (eldoc-display-message-p)
10911 (eldoc-display-message-no-interference-p):
10912 Support eldoc-post-insert-mode.
10913
10914 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10915 (eval-expression): Run it.
10916
10917 2013-03-17 Roland Winkler <winkler@gnu.org>
10918
10919 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10920 strings in the list of return values.
10921
10922 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10923
10924 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10925 radix before checking for HMS forms.
10926
10927 2013-03-16 Leo Liu <sdl.web@gmail.com>
10928
10929 * progmodes/scheme.el: Add indentation and font-locking for λ.
10930 (Bug#13975)
10931
10932 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10935 token before point (bug#13942).
10936
10937 2013-03-16 Leo Liu <sdl.web@gmail.com>
10938
10939 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10940
10941 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10942
10943 * startup.el (command-line-normalize-file-name): Fix handling of
10944 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10945 <xfq.free@gmail.com> in
10946 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10947
10948 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10949
10950 Sync with Tramp 2.2.7.
10951
10952 * net/trampver.el: Update release number.
10953
10954 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10955
10956 * doc-view.el: Fix bug#13887.
10957 (doc-view-insert-image): Don't modify overlay associated to
10958 non-live windows, and implement horizontal centering of image in
10959 case it's smaller than the window.
10960 (doc-view-new-window-function): Force redisplay of new windows on
10961 doc-view buffers.
10962
10963 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10964
10965 * saveplace.el (save-place-alist-to-file): Don't sort
10966 `save-place-alist', just pretty-print it (bug#13882).
10967
10968 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10969
10970 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10971 Check whether `default-file-name-coding-system' is bound.
10972 It isn't in XEmacs.
10973
10974 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10975
10976 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10977 backquotes for `obsolete' (bug#13929).
10978
10979 * international/mule.el (find-auto-coding): Include file name in
10980 obsolescence warning (bug#13922).
10981
10982 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10983
10984 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10985 for CFEngine 3-specific indentation.
10986 (cfengine3-indent-line): Use it. Fix up category regex.
10987 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10988
10989 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10990
10991 * type-break.el (type-break-file-name):
10992 * textmodes/remember.el (remember-data-file):
10993 * strokes.el (strokes-file):
10994 * shadowfile.el (shadow-initialize):
10995 * saveplace.el (save-place-file):
10996 * ps-bdf.el (bdf-cache-file):
10997 * progmodes/idlwave.el (idlwave-config-directory):
10998 * net/quickurl.el (quickurl-url-file):
10999 * international/kkc.el (kkc-init-file-name):
11000 * ido.el (ido-save-directory-list-file):
11001 * emulation/viper.el (viper-custom-file-name):
11002 * emulation/vip.el (vip-startup-file):
11003 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11004 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11005
11006 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11007
11008 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11009 * language/thai-word.el: Switch to UTF-8.
11010
11011 See ChangeLog.16 for earlier changes.
11012
11013 ;; Local Variables:
11014 ;; coding: utf-8
11015 ;; End:
11016
11017 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11018
11019 This file is part of GNU Emacs.
11020
11021 GNU Emacs is free software: you can redistribute it and/or modify
11022 it under the terms of the GNU General Public License as published by
11023 the Free Software Foundation, either version 3 of the License, or
11024 (at your option) any later version.
11025
11026 GNU Emacs is distributed in the hope that it will be useful,
11027 but WITHOUT ANY WARRANTY; without even the implied warranty of
11028 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11029 GNU General Public License for more details.
11030
11031 You should have received a copy of the GNU General Public License
11032 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.