New verify-error GnuTLS interface for certificate validation
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4 the behavior when a certificate fails validation. Defaults to
5 old behavior: never abort, just warn.
6 (gnutls-negotiate): Use it.
7
8 2013-12-14 Martin Rudalics <rudalics@gmx.at>
9
10 * window.el (display-buffer-below-selected): Never split window
11 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
12
13 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14
15 * emacs-lisp/package.el (package--prepare-dependencies): New function.
16 (package-buffer-info): Use it (bug#15108).
17
18 * icomplete.el (icomplete-completions): Make sure the prefix is already
19 displayed elsewhere before hiding it.
20
21 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
22
23 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
24 open-paren tokens when preceded by a open-paren, too.
25 (ruby-smie-rules): Handle virtual indentation after open-paren
26 tokens specially. If there is code between it and eol, return the
27 column where is starts (Bug#16118).
28
29 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
30
31 * progmodes/cfengine.el: Fix `add-hook' doc.
32 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
33 (cfengine3--current-word): Fix parameters.
34 (cfengine3-make-syntax-cache): Simplify further.
35 (cfengine3-completion-function, cfengine3--current-function):
36 Use `assq' for symbols.
37 (cfengine3--current-function): Fix `cfengine3--current-word' call.
38
39 2013-12-13 Glenn Morris <rgm@gnu.org>
40
41 * loadup.el (load-path): Warn if site-load or site-init changes it.
42 No more need to reset it when bootstrapping.
43
44 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
45
46 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
47 locations for cf-promises.
48 (cfengine-mode-syntax-functions-regex): New caching variable.
49 (cfengine3-fallback-syntax): Fallback syntax for cases where
50 cf-promises doesn't run.
51 (cfengine3--current-word): Reimplement using
52 `cfengine-mode-syntax-functions-regex'.
53 (cfengine3-completion-function, cfengine3--current-function):
54 Use `cfengine3-make-syntax-cache' directly.
55 (cfengine3-clear-syntax-cache): New function.
56 (cfengine3-make-syntax-cache): Simplify and create
57 `cfengine-mode-syntax-functions-regex' on demand.
58 (cfengine3-format-function-docstring): Don't call
59 `cfengine3-make-syntax-cache' explicitly.
60
61 2013-12-13 Martin Rudalics <rudalics@gmx.at>
62
63 Fix windmove-find-other-window broken after pixelwise resizing
64 (Bug#16017).
65 * windmove.el (windmove-other-window-loc): Revert change from
66 2013-12-04.
67 (windmove-find-other-window): Call window-in-direction.
68 * window.el (window-in-direction): New arguments SIGN, WRAP and
69 MINI to emulate original windmove-find-other-window behavior.
70
71 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
72
73 * simple.el (blink-matching--overlay): New variable.
74 (blink-matching-open): Instead of moving point, highlight the
75 matching paren with an overlay
76 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
77
78 * faces.el (paren-showing-faces, show-paren-match)
79 (show-paren-mismatch): Move from paren.el.
80
81 2013-12-13 Leo Liu <sdl.web@gmail.com>
82
83 * indent.el (indent-region): Disable progress reporter in
84 minibuffer. (Bug#16108)
85
86 * bindings.el (visual-order-cursor-movement): Fix version.
87
88 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
89
90 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
91 Also match after beginning of line.
92 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
93 files. Thanks to Russell Sim. (Bug#15378)
94
95 2013-12-13 Juri Linkov <juri@jurta.org>
96
97 * simple.el <Keypad support>: Remove key bindings duplicated
98 with bindings.el. (Bug#14397)
99
100 2013-12-13 Juri Linkov <juri@jurta.org>
101
102 * comint.el (comint-mode-map): Replace `delete-char' with
103 `delete-forward-char'. (Bug#16109)
104
105 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
106
107 * progmodes/python.el (python-indent-calculate-indentation):
108 Fix de-denters cornercase. (Bug#15731)
109
110 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
113 (advice--make): Pay attention to `depth'.
114 (advice--make-1): Don't autoload commands eagerly.
115 * emacs-lisp/elp.el (elp-instrument-function):
116 * emacs-lisp/trace.el (trace-function-internal):
117 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
118
119 * iswitchb.el (iswitchb-mode): Don't belittle ido.
120
121 2013-12-12 Eli Zaretskii <eliz@gnu.org>
122
123 * term/w32-win.el (w32-handle-dropped-file):
124 * startup.el (normal-top-level):
125 * net/browse-url.el (browse-url-file-url):
126 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
127 decode file names using 'utf-8' rather than
128 file-name-coding-system.
129
130 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
131
132 * progmodes/python.el (python-indent-context)
133 (python-indent-calculate-indentation): Fix auto-identation
134 behavior for comment blocks. (Bug#15916)
135
136 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
137
138 * progmodes/python.el (python-indent-calculate-indentation):
139 When determining indentation, don't treat "return", "pass", etc., as
140 operators when they are just string constituents. (Bug#15812)
141
142 2013-12-12 Juri Linkov <juri@jurta.org>
143
144 * uniquify.el (uniquify-buffer-name-style): Change default to
145 `post-forward-angle-brackets'.
146
147 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
148 `uniquify'. Change default to `post-forward-angle-brackets'.
149
150 2013-12-11 Glenn Morris <rgm@gnu.org>
151
152 * emacs-lisp/package.el (finder-list-matches):
153 Autoload rather than falsely declaring.
154
155 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
156
157 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
158 (eww-mode-map): Use them.
159
160 2013-12-11 Martin Rudalics <rudalics@gmx.at>
161
162 * window.el (display-buffer-in-side-window): Fix doc-string
163 (Bug#16115).
164
165 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
166
167 * vc/vc-git.el: Silence byte-compiler warnings.
168 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
169 (log-edit-set-header): Declare.
170
171 2013-12-11 Eli Zaretskii <eliz@gnu.org>
172
173 * Makefile.in (custom-deps, finder-data): Run output file names
174 through unmsys--file-name. (Bug#16099)
175
176 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
179 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
180
181 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
182 instead of deleting the selection "by hand" (bug#16098).
183 Rely on insert-for-yank to yank rectangles.
184 (cua-highlight-region-shift-only): Mark obsolete.
185 (cua-mode): Don't enable/disable transient-mark-mode,
186 shift-select-mode (cua-mode works both with and without them), and
187 pc-selection-mode (obsolete).
188 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
189 (cua--deactivate-rectangle): Deactivate it.
190
191 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
192 (delete-selection-helper): Make sure yank starts at the top of the
193 deleted region.
194 (minibuffer-keyboard-quit): Use region-active-p.
195
196 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
197
198 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
199 to `delete' (bug#16109).
200
201 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
202
203 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
204 info manual and show keybindings and set `:group' keyword.
205
206 2013-12-11 Juri Linkov <juri@jurta.org>
207
208 * delsel.el (delete-active-region): Let-bind `this-command'
209 to prevent `kill-region' from changing its original value.
210 (delete-selection-helper): Handle `overwrite-mode' for the type
211 `kill' exactly the same way as for the type `t'.
212 (insert-char, quoted-insert, reindent-then-newline-and-indent):
213 Support more commands. (Bug#13312)
214
215 2013-12-11 Juri Linkov <juri@jurta.org>
216
217 * bindings.el: Map kp keys to non-kp keys systematically
218 with basic modifiers control, meta and shift. (Bug#14397)
219
220 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
221
222 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
223 "Close browser" menu items. Fix wrong function of "List
224 bookmarks".
225
226 2013-12-11 Juri Linkov <juri@jurta.org>
227
228 * misearch.el (multi-isearch-buffers): Set the value of
229 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
230 arg of isearch-forward to t.
231 (multi-isearch-buffers-regexp): Set the value of
232 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
233 arg of isearch-forward-regexp to t.
234 (multi-isearch-files): Set the value of
235 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
236 arg of isearch-forward to t.
237 (multi-isearch-files-regexp): Set the value of
238 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
239 arg of isearch-forward-regexp to t. (Bug#16035)
240
241 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
242 arg of isearch-forward to t.
243 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
244 arg of isearch-forward-regexp to t.
245 (dired-isearch-filter-filenames): Remove unnecessary check for
246 `dired-isearch-filenames'.
247
248 * comint.el (comint-history-isearch-backward):
249 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
250 (comint-history-isearch-backward-regexp):
251 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
252
253 2013-12-10 Eli Zaretskii <eliz@gnu.org>
254
255 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
256 unmsys--file-name. (Bug#16099)
257
258 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
259
260 * emacs-lisp/package.el (package-keyword-button-action):
261 Remove finder.el require dependency.
262
263 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
264
265 * emacs-lisp/package.el: Require finder.el.
266 (describe-package-1): Add keyword buttons.
267 (package-make-button): New convenience function.
268 (package-keyword-button-action): Keyword button action using
269 `finder-list-matches'
270
271 2013-12-09 Eli Zaretskii <eliz@gnu.org>
272
273 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
274 last commit.
275
276 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
277
278 * autorevert.el (auto-revert-notify-add-watch): Do not handle
279 symlinked files.
280
281 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
282
283 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
284 after the end of a percent literal.
285
286 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
287
288 * progmodes/ruby-mode.el (ruby-forward-string): Document.
289 Handle caret-delimited strings (Bug#16079).
290
291 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
292
293 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
294 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
295 `ruby-parse-partial' (Bug#16078).
296
297 2013-12-09 Leo Liu <sdl.web@gmail.com>
298
299 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
300
301 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
302
303 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
304 (js-switch-indent-offset): New option.
305 (js--proper-indentation): Use it. And handle the case when
306 "default" is actually a key in an object literal.
307 (js--same-line): New function.
308 (js--multi-line-declaration-indentation): Use it.
309 (js--indent-in-array-comp, js--array-comp-indentation):
310 New functions.
311 (js--proper-indentation): Use them, to handle array comprehension
312 continuations.
313
314 2013-12-08 Leo Liu <sdl.web@gmail.com>
315
316 * progmodes/flymake.el (flymake-highlight-line): Re-write.
317 (flymake-make-overlay): Remove arg MOUSE-FACE.
318 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
319
320 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
323 New function.
324 (redisplay-highlight-region-function): Use it.
325
326 * emulation/cua-base.el (cua--explicit-region-start)
327 (cua--last-region-shifted): Remove.
328 (cua--deactivate): Use deactivate-mark.
329 (cua--pre-command-handler-1): Don't handle shift-selection.
330 (cua--post-command-handler-1): Don't change transient-mark-mode.
331 (cua--select-keymaps): Use region-active-p rather than
332 cua--explicit-region-start or cua--last-region-shifted.
333 (cua-mode): Enable shift-select-mode.
334
335 2013-12-08 Leo Liu <sdl.web@gmail.com>
336
337 * progmodes/flymake.el (flymake-popup-current-error-menu):
338 Rename from flymake-display-err-menu-for-current-line. Reimplement.
339 (flymake-posn-at-point-as-event, flymake-popup-menu)
340 (flymake-make-emacs-menu): Remove. (Bug#16077)
341
342 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
343
344 * rect.el (rectangle-mark-mode): Activate mark even if
345 transient-mark-mode is off (bug#16066).
346 (rectangle--highlight-for-redisplay): Fix boundary condition when point
347 is > mark and at bolp.
348
349 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
350 (region-extract-function): Use it.
351 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
352 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
353 Delete functions.
354 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
355 kill-ring-save, kill-region, delete-char, delete-forward-char.
356 Ignore self-insert-iso.
357
358 * emulation/cua-gmrk.el (cua--init-global-mark):
359 Ignore `self-insert-iso'.
360
361 * emulation/cua-base.el (cua--prefix-copy-handler)
362 (cua--prefix-cut-handler): Rely on region-extract-function rather than
363 checking cua--rectangle.
364 (cua-delete-region): Use region-extract-function.
365 (cua-replace-region): Delete function.
366 (cua-copy-region, cua-cut-region): Obey region-extract-function.
367 (cua--pre-command-handler-1): Don't do the delete-selection thing.
368 (cua--self-insert-char-p): Ignore `self-insert-iso'.
369 (cua--init-keymaps): Don't remap delete-selection commands.
370 (cua-mode): Use delete-selection-mode instead of rolling our own
371 (bug#16085).
372
373 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
374 Obey region-extract-function.
375
376 Make registers and delete-selection-mode work on rectangles.
377 * register.el (describe-register-1): Don't modify the register's value.
378 (copy-to-register): Obey region-extract-function.
379 * delsel.el (delete-active-region): Obey region-extract-function.
380
381 2013-12-08 Leo Liu <sdl.web@gmail.com>
382
383 * progmodes/flymake.el (flymake, flymake-error-bitmap)
384 (flymake-warning-bitmap, flymake-fringe-indicator-position)
385 (flymake-compilation-prevents-syntax-check)
386 (flymake-start-syntax-check-on-newline)
387 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
388 (flymake-start-syntax-check-on-find-file, flymake-log-level)
389 (flymake-xml-program, flymake-master-file-dirs)
390 (flymake-master-file-count-limit)
391 (flymake-allowed-file-name-masks): Relocate.
392 (flymake-makehash, flymake-float-time)
393 (flymake-replace-regexp-in-string, flymake-split-string)
394 (flymake-get-temp-dir): Remove.
395 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
396 (flymake-current-row, flymake-selected-frame)
397 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
398 related functions. (Bug#16077)
399
400 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
401
402 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
403
404 2013-12-07 Tassilo Horn <tsdh@gnu.org>
405
406 * help-fns.el (describe-function-1): Use new advice-* functions
407 rather than old ad-* functions. Fix function type description and
408 source links for advised functions and subrs.
409
410 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
411
412 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
413
414 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
415
416 * progmodes/compile.el (compilation-start):
417 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
418
419 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
420 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
421
422 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
423
424 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
425 Touch up the last change.
426
427 2013-12-06 Leo Liu <sdl.web@gmail.com>
428
429 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
430 (inferior-octave-startup): Always use "octave> " for prompt.
431 (octave-goto-function-definition)
432 (octave-sync-function-file-names)
433 (octave-find-definition-default-filename): Remove redundant backquotes.
434
435 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
436
437 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
438 syntax for `?'.
439 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
440 where appropriate already.
441 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
442 end of method names (Bug#15874).
443
444 2013-12-06 Juri Linkov <juri@jurta.org>
445
446 * isearch.el (isearch--saved-overriding-local-map):
447 New internal variable.
448 (isearch-mode): Set it to the initial value of
449 `overriding-terminal-local-map'.
450 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
451 with `isearch--saved-overriding-local-map'. (Bug#16035)
452
453 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
454
455 * progmodes/octave.el (inferior-octave-completion-table):
456 Turn back into function, use `completion-table-with-cache'
457 (Bug#11906). Update all references.
458
459 * minibuffer.el (completion-table-with-cache): New function.
460
461 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
462
463 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
464
465 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
466
467 * net/eww.el (eww-current-source): New variable to store page
468 source.
469 (eww-display-html, eww-mode, eww-save-history)
470 (eww-restore-history): Use it.
471 (eww-view-source): New command to view page source.
472 Opportunistically uses `html-mode' to highlight the buffer.
473 (eww-mode-map): Install it.
474
475 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
476
477 * net/dbus.el (dbus-unregister-service)
478 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
479 Fix docstring.
480 (dbus-unregister-service): Skip :serial entries in
481 `dbus-registered-objects-table'.
482 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
483
484 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
485
486 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
487 around keywords with extra `split-string' argument.
488
489 2013-12-04 Martin Rudalics <rudalics@gmx.at>
490
491 * windmove.el (windmove-other-window-loc): Handle navigation
492 between windows (excluding the minibuffer window - Bug#16017).
493
494 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
495
496 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
497 in D-Bus type syntax.
498 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
499 preserve unibyte strings. (Bug#16048)
500
501 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
504 Call force-mode-line-update is the proper buffer (bug#16042).
505
506 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
507
508 * vc/log-edit.el (log-edit-add-new-comment): Rename to
509 `log-edit-remember-comment', make argument optional. Adjust all
510 callers.
511 (log-edit-mode): Add `log-edit-remember-comment' to
512 `kill-buffer-hook' locally.
513 (log-edit-kill-buffer): Don't remember comment explicitly since
514 the buffer is killed anyway.
515
516 2013-12-04 Juri Linkov <juri@jurta.org>
517
518 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
519 add-hook and remove-hook for multi-buffer search. (Bug#16035)
520
521 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
522
523 * notifications.el (notifications-close-notification): Call the
524 D-Bus method with ID being a `:uint32'. (Bug#16030)
525
526 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
527
528 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
529
530 2013-12-03 Juri Linkov <juri@jurta.org>
531
532 * progmodes/compile.el (compilation-start): Rename window alist
533 entry `no-display-ok' to `allow-no-window'.
534
535 * simple.el (shell-command): Add window alist entry
536 `allow-no-window' to `display-buffer'.
537 (async-shell-command): Doc fix.
538
539 * window.el (display-buffer-no-window): New action function.
540 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
541
542 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
543
544 * vc/log-edit.el (log-edit-set-header): Extract from
545 `log-edit-toggle-header'.
546 (log-edit-extract-headers): Separate the summary, when extracted
547 from header, from the rest of the message with an empty line.
548
549 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
550 line, if present, to the Summary header.
551
552 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
555 in current-buffer (bug#16029).
556
557 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
558
559 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
560 (debugger-mode-map): Bind it.
561 (debugger--backtrace-base): New function.
562 (debugger-eval-expression): Use it.
563 (debugger-frame-number): Skip local vars when present.
564 (debugger--locals-visible-p, debugger--insert-locals)
565 (debugger--show-locals, debugger--hide-locals): New functions.
566
567 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
568
569 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
570 "LC_ALL".
571 (tramp-get-remote-locale): New defun.
572 (tramp-open-connection-setup-interactive-shell): Use it.
573
574 2013-12-02 Leo Liu <sdl.web@gmail.com>
575
576 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
577
578 * progmodes/sh-script.el (sh-shell-process):
579 * progmodes/octave.el (inferior-octave-process-live-p):
580 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
581 (gdb-inferior-io-sentinel):
582 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
583
584 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
585
586 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
587 `save-selected-window' to `log-edit-hide-buf'. This makes
588 `log-edit-show-files' idempotent.
589 (log-edit-show-files): Mark the new window as dedicated.
590
591 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
592
593 * vc/log-edit.el (log-edit-mode-map): Add binding for
594 `log-edit-kill-biffer'.
595 (log-edit-hide-buf): Add a FIXME comment.
596 (log-edit-add-new-comment): New function, extracted from
597 `log-edit-done'.
598 (log-edit-done, log-edit-add-to-changelog): Use it.
599 (log-edit-kill-buffer): New command.
600
601 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
602
603 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
604 instead of killing the buffer.
605
606 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
609
610 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
611
612 * net/eww.el (eww-form-checkbox-selected-symbol)
613 (eww-form-checkbox-symbol): New customizable variable.
614 (eww-form-checkbox, eww-toggle-checkbox):
615 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
616
617 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
618 (shr--get-media-pref, shr--extract-best-source): New function.
619 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
620 no :src tag was specified.
621
622 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
623 (eww-render): Handle `eww-use-external-browser-for-content-type'.
624 Use \\` to match beginning of string instead of ^.
625 (eww-browse-with-external-browser): Provide optional URL parameter.
626 (eww-render): Set `eww-current-title' back to "".
627
628 * net/shr.el (shr-tag-video): Display content for video if no
629 poster is available.
630 (shr-tag-audio): Add support for <audio> tag.
631
632 * net/eww.el (eww-text-input-types): : New const.
633 (eww-process-text-input): Treat input types in
634 `eww-text-input-types' as text.
635
636 * net/shr.el (shr-tag-table): Fix comment typo.
637
638 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
639
640 * net/eww.el (eww-follow-link): New command to avoid reloading
641 pages when we follow #target links (bug#15243).
642 (eww-quit): Special mode buffers shouldn't query before exiting.
643
644 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
645
646 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
647 forms.
648
649 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
650
651 * net/eww.el (eww-restore-history): Update the window title after
652 moving in the history.
653 (eww-current-dom): New variable used to save the current DOM.
654
655 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
656
657 * vc/log-edit.el (log-edit-mode-map): Add binding for
658 `log-edit-beginning-of-line'.
659 (log-edit-setup-add-author): New user option.
660 (log-edit-beginning-of-line): New command.
661 (log-edit): Move major mode call above the contents setup so that
662 the local variable values are already applied.
663 (log-edit): Only insert "Author: " when
664 `log-edit-setup-add-author' is non-nil.
665 (log-edit): When SETUP is non-nil, position point after ": "
666 instead of point-min.
667
668 2013-12-01 Glenn Morris <rgm@gnu.org>
669
670 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
671
672 2013-11-30 Eli Zaretskii <eliz@gnu.org>
673
674 * startup.el (fancy-splash-frame): On MS-Windows, trigger
675 redisplay to make sure the initial frame gets a chance to become
676 visible. (Bug#16014)
677
678 2013-11-30 Martin Rudalics <rudalics@gmx.at>
679
680 Support resizing frames and windows pixelwise.
681 * cus-start.el (frame-resize-pixelwise)
682 (window-resize-pixelwise): New entries.
683 * emacs-lisp/debug.el (debug): Use window-total-height instead
684 of window-total-size.
685 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
686 * help.el (describe-bindings-internal): Call help-buffer
687 (temp-buffer-max-width): New option.
688 (resize-temp-buffer-window, help-window-setup)
689 (with-help-window): Rewrite.
690 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
691 dragging dividers.
692 * window.el (frame-char-size, window-min-pixel-height)
693 (window-safe-min-pixel-height, window-safe-min-pixel-width)
694 (window-min-pixel-width, window-safe-min-pixel-size)
695 (window-combination-p, window-safe-min-size)
696 (window-resizable-p, window--size-to-pixel)
697 (window--pixel-to-size, window--resize-apply-p): New functions.
698 (window-safe-min-height): Fix doc-string.
699 (window-size, window-min-size, window--min-size-1)
700 (window-sizable, window-sizable-p, window--min-delta-1)
701 (window-min-delta, window--max-delta-1, window-max-delta)
702 (window--resizable, window--resizable-p, window-resizable)
703 (window-full-height-p, window-full-width-p, window-at-side-p)
704 (window--in-direction-2, window-in-direction)
705 (window--resize-reset-1, window--resize-mini-window)
706 (window-resize, window-resize-no-error)
707 (window--resize-child-windows-normal)
708 (window--resize-child-windows, window--resize-siblings)
709 (window--resize-this-window, window--resize-root-window)
710 (window--resize-root-window-vertically)
711 (adjust-window-trailing-edge, enlarge-window, shrink-window)
712 (maximize-window, minimize-window, delete-window)
713 (quit-restore-window, window-split-min-size, split-window)
714 (balance-windows-2, balance-windows)
715 (balance-windows-area-adjust, balance-windows-area)
716 (window--state-get-1, window-state-get, window--state-put-1)
717 (window--state-put-2, window-state-put)
718 (display-buffer-record-window, window--display-buffer):
719 Make functions handle pixelwise sizing of windows.
720 (display-buffer--action-function-custom-type)
721 (display-buffer-fallback-action):
722 Add display-buffer-in-previous-window.
723 (display-buffer-use-some-window): Resize window to height it had
724 before.
725 (fit-window-to-buffer-horizontally): New option.
726 (fit-frame-to-buffer): Describe new values.
727 (fit-frame-to-buffer-bottom-margin): Replace with
728 fit-frame-to-buffer-margins.
729 (window--sanitize-margin): New function.
730 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
731 using window-text-pixel-size.
732
733 2013-11-30 Glenn Morris <rgm@gnu.org>
734
735 * emacs-lisp/bytecomp.el (byte-compile-form):
736 Make the `interactive-only' warning like the `obsolete' one.
737 * comint.el (comint-run):
738 * files.el (insert-file-literally, insert-file):
739 * replace.el (replace-string, replace-regexp):
740 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
741 (goto-line, insert-buffer, next-line, previous-line):
742 Tweak `interactive-only' spec.
743
744 Stop keeping (most) generated cedet grammar files in the repository.
745 * Makefile.in (semantic): New.
746 (compile-main): Depend on semantic.
747
748 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
751 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
752
753 * uniquify.el (uniquify-buffer-name-style): Change default.
754
755 * loadup.el: Preload "uniquify".
756
757 * time.el (display-time-update): Update all mode lines (bug#15999).
758
759 * electric.el (electric-indent-mode): Enable by default.
760 * loadup.el: Preload "electric".
761
762 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
763
764 * emacs-lisp/helpers.el (string-empty-p): New function.
765 (string-blank-p): New function.
766
767 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
768
769 * imenu.el (imenu--index-alist): Add missing dot to the docstring
770 (Bug#14029).
771
772 2013-11-29 Andreas Politz <politza@fh-trier.de>
773 * imenu.el (imenu--subalist-p): Don't error on non-conses and
774 allow non-lambda lists as functions.
775 (imenu--in-alist): Don't recurse into non-subalists.
776 (imenu): Don't pass function itself as an argument (Bug#14029).
777
778 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * progmodes/python.el (python-mode-map): Remove binding for ":".
781 (python-indent-electric-colon): Remove command.
782 (python-indent-post-self-insert-function): Integrate the previous code
783 of python-indent-electric-colon. Make it conditional on
784 electric-indent-mode.
785 (python-mode): Add ?: to electric-indent-chars.
786 Move python-indent-post-self-insert-function to the end of
787 post-self-insert-hook.
788
789 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
790
791 * doc-view.el (doc-view-goto-page): Update mode-line.
792
793 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
794
795 2013-11-27 Glenn Morris <rgm@gnu.org>
796
797 * international/charprop.el, international/uni-bidi.el:
798 * international/uni-category.el, international/uni-combining.el:
799 * international/uni-comment.el, international/uni-decimal.el:
800 * international/uni-decomposition.el, international/uni-digit.el:
801 * international/uni-lowercase.el, international/uni-mirrored.el:
802 * international/uni-name.el, international/uni-numeric.el:
803 * international/uni-old-name.el, international/uni-titlecase.el:
804 * international/uni-uppercase.el:
805 Remove generated files from VCS repository.
806
807 2013-11-27 Eli Zaretskii <eliz@gnu.org>
808
809 * filenotify.el (file-notify-add-watch): Don't special-case
810 w32notify when computing the directory to watch.
811
812 2013-11-27 Glenn Morris <rgm@gnu.org>
813
814 Make bootstrap without generated uni-*.el files possible again.
815 * loadup.el: Update command-line-args checking for unidata-gen.
816 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
817 * composite.el, international/characters.el:
818 Handle unicode tables being undefined.
819
820 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
821 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
822 (compile-main): Depend on leim rule.
823 (leim): New rule.
824 * loadup.el: Move leim-list.el to leim/ subdirectory.
825 * startup.el (normal-top-level): No more leim directory.
826 * international/ja-dic-cnv.el (skkdic-convert):
827 Disable version-control and autoloads in output files.
828 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
829 Disable version-control and autoloads in output files.
830 * leim/quail: Move here from ../leim.
831 * leim/quail/hangul.el (hangul-input-method-activate):
832 Add autoload cookie.
833 (generated-autoload-load-name): Set file-local value.
834 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
835 (generated-autoload-load-name): Set file-local value.
836
837 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
838
839 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
840 (eww-add-bookmark): ask confirmation when add to bookmarks
841 (eww-quit): ask confirmation before quitting eww
842
843 2013-11-26 Eli Zaretskii <eliz@gnu.org>
844
845 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
846 reading output from Diff on MS-Windows and MS-DOS.
847
848 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
849
850 * emacs-lisp/helpers.el (string-reverse): New function.
851
852 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
853
854 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
855 names on MS Windows, like "/[::1]:".
856
857 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
858 SWITCHES.
859
860 2013-11-26 Glenn Morris <rgm@gnu.org>
861
862 * progmodes/python.el (python-indent-guess-indent-offset):
863 Avoid corner-case error. (Bug#15975)
864
865 Preload leim-list.el. (Bug#4789)
866 * loadup.el: Load leim-list.el when found.
867 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
868
869 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
870
871 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
872
873 * emacs-lisp/helpers.el (string-join): New function.
874
875 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
876
877 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
878 Mark as obsolete and replace it with a symbol property.
879 (byte-compile-form): Use new 'interactive-only property.
880 * comint.el, files.el, replace.el, simple.el:
881 Apply new 'interactive-only properly.
882
883 2013-11-25 Martin Rudalics <rudalics@gmx.at>
884
885 * window.el (display-buffer-at-bottom): Make sure that
886 split-window-sensibly creates the new window on bottom
887 (Bug#15961).
888
889 2013-11-23 David Kastrup <dak@gnu.org>
890
891 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
892 on the conflict markers when available.
893 (smerge--get-marker): New function.
894 (smerge-end-re, smerge-base-re): Add subgroup.
895
896 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * frame.el (handle-focus-in, handle-focus-out): Add missing
899 interactive spec.
900
901 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
902
903 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
904 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
905
906 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
909 (gomoku--last-pos): New var.
910 (gomoku--intangible-chars): New const.
911 (gomoku--intangible): New function.
912 (gomoku-mode): Use it. Derive from special-mode.
913 (gomoku-move-up): Adjust line count.
914 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
915 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
916 Simplify accordingly.
917
918 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
919 Remove blink-cursor code.
920 (blink-cursor-timer-function, blink-cursor-suspend):
921 Don't special-case GUIs.
922 (blink-cursor-mode): Use focus-in/out-hook.
923
924 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
925
926 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
927 work when annotation is invisible (Bug#13886).
928
929 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
930
931 * json.el (json-alist-p): Only return non-nil if the alist has
932 simple keys (Bug#13518).
933
934 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
935
936 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
937 when control-statement is the first statement in a buffer (Bug#15956).
938
939 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
940
941 * imenu.el (imenu-generic-skip-comments-and-strings):
942 New option (Bug#15560).
943 (imenu--generic-function): Use it.
944
945 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
946
947 * minibuffer.el (completion--in-region-1): Scroll the correct
948 window. (Bug#13898)
949
950 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
951
952 * emacs-lisp/helpers.el: Add some string helpers.
953 (string-trim-left): Removes leading whitespace.
954 (string-trim-right): Removes trailing whitespace.
955 (string-trim): Removes leading and trailing whitespace.
956
957 * subr.el (string-suffix-p): New function.
958
959 2013-11-23 Glenn Morris <rgm@gnu.org>
960
961 * progmodes/python.el (python-shell-send-file):
962 Add option to delete file when done. (Bug#15647)
963 (python-shell-send-string, python-shell-send-region): Use it.
964
965 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
966
967 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
968 to set buffer-read-only to t, never to nil. (Bug#15938)
969
970 * textmodes/tex-mode.el (latex-noindent-environments):
971 Add safe-local-variable property. (Bug#15936)
972
973 2013-11-23 Glenn Morris <rgm@gnu.org>
974
975 * textmodes/enriched.el (enriched-mode): Doc fix.
976 * emacs-lisp/authors.el (authors-renamed-files-alist):
977 Add enriched.doc -> enriched.txt.
978
979 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
980
981 2013-11-22 Leo Liu <sdl.web@gmail.com>
982
983 * progmodes/octave.el (inferior-octave-startup): Spit out error
984 message.
985
986 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
987
988 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
989 Improve docstring.
990 Add :version.
991 (ruby-encoding-magic-comment-style): Add :version.
992
993 2013-11-22 Leo Liu <sdl.web@gmail.com>
994
995 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
996 (Bug#15076)
997 (octave-help-mode): Adapt to change to help-mode-finish to use
998 derived-mode-p on 2013-09-17.
999 (inferior-octave-prompt): Also match octave-gui.
1000 (octave-kill-process): Don't ask twice. (Bug#10564)
1001
1002 2013-11-22 Leo Liu <sdl.web@gmail.com>
1003
1004 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1005 (inferior-octave-startup, inferior-octave-check-process)
1006 (inferior-octave-track-window-width-change)
1007 (octave-completion-at-point, octave-eldoc-function): Use it.
1008 (octave-kill-process): Provide confirmation. (Bug#10564)
1009
1010 2013-11-21 Leo Liu <sdl.web@gmail.com>
1011
1012 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1013 Fix obsolete variable comment-use-global-state.
1014
1015 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1016
1017 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1018 Add `octave-source-file'.
1019 (octave-source-file): New function. (Bug#15935)
1020
1021 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1022
1023 * net/eww.el (eww-local-regex): New variable.
1024 (eww): Use it to detect localhost and similar.
1025
1026 2013-11-21 Leo Liu <sdl.web@gmail.com>
1027
1028 Add completion for command `ag'.
1029 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1030 (pcomplete/ag): New function.
1031 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1032
1033 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1034
1035 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1036 (bug#14646).
1037 (make-obsolete): Remove interactive spec.
1038
1039 2013-11-21 Glenn Morris <rgm@gnu.org>
1040
1041 * startup.el (command-line-1): Use path-separator with -L.
1042
1043 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1044
1045 * emacs-lisp/package.el (describe-package-1): Add package archive
1046 to shown fields.
1047
1048 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1049
1050 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1051 Change default to "# encoding: %s" to differentiate it from the
1052 default Ruby encoding comment template.
1053
1054 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1055
1056 * ses.el (ses-mode): Doc fix. (Bug#14748)
1057
1058 2013-11-20 Leo Liu <sdl.web@gmail.com>
1059
1060 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1061
1062 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1063
1064 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1065 when rebase or bisect are in progress.
1066
1067 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1068
1069 * filenotify.el (file-notify-add-watch): Doc fix.
1070
1071 2013-11-19 Leo Liu <sdl.web@gmail.com>
1072
1073 * obsolete/rcompile.el: Mark obsolete.
1074
1075 * progmodes/compile.el (compilation-start)
1076 (compilation-goto-locus, compilation-find-file):
1077 Pass no-display-ok and handle nil value from display-buffer.
1078 (Bug#13594)
1079
1080 * window.el (display-buffer-alist, display-buffer): Document the
1081 new parameter no-display-ok. Return either a window or nil
1082 but never a non-window value.
1083
1084 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1085
1086 * electric.el (electric-indent-mode-map): Remove.
1087 (electric-indent-mode): Change the global-map instead (bug#15915).
1088
1089 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1090 Use add-function.
1091
1092 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * emacs-lisp/nadvice.el (remove-function): Align with
1095 add-function's behavior.
1096
1097 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1098 (gdb--string-regexp): New constant.
1099 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1100 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1101 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1102 submatch 1.
1103 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1104 Adjust use accordingly.
1105 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1106
1107 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1108
1109 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1110 interpolation curlies (Bug#15914).
1111
1112 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1113
1114 * calc/calc.el (calc-context-sensitive-enter): New variable.
1115 (calc-enter): Use `calc-context-sensitive-enter'.
1116
1117 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1118
1119 * progmodes/cfengine.el: Version bump.
1120 (cfengine-cf-promises): New defcustom to locate cf-promises.
1121 (cfengine3-vartypes): Add new "data" type.
1122 (cfengine3--current-word): New function to get current name-like
1123 word or its bounds.
1124 (cfengine3--current-function): New function to look up a CFEngine
1125 function's definition.
1126 (cfengine3-format-function-docstring): New function.
1127 (cfengine3-make-syntax-cache): New function.
1128 (cfengine3-documentation-function): New function: ElDoc glue.
1129 (cfengine3-completion-function): New function: completion glue.
1130 (cfengine3-mode): Set `compile-command',
1131 `eldoc-documentation-function', and add to
1132 `completion-at-point-functions'.
1133
1134 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1135
1136 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1137 `tramp-current-connection'.
1138
1139 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1140
1141 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1142 nil/self/true/false with "end of symbol".
1143
1144 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1145
1146 * subr.el (version-regexp-alist): Fix a typo.
1147
1148 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1149
1150 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1151 "en_US.utf8" and "LC_CTYPE" to "".
1152 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1153 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1154
1155 2013-11-15 Leo Liu <sdl.web@gmail.com>
1156
1157 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1158
1159 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * progmodes/gud.el (ctl-x-map):
1162 Remove C-x SPC binding. (Bug#12342)
1163 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1164
1165 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1166
1167 * subr.el (version-regexp-alist):
1168 Recognize hg, svn and darcs versions as snapshot versions.
1169
1170 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1171 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1172 (ruby--encoding-comment-required-p): Extract from
1173 `ruby-mode-set-encoding'.
1174 (ruby-mode-set-encoding): Add the ability to always insert an
1175 utf-8 encoding comment. Fix and simplify coding comment update
1176 logic.
1177
1178 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1179
1180 * net/tramp-gvfs.el (top): Run init code only when
1181 `tramp-gvfs-enabled' is not nil.
1182 (tramp-gvfs-enabled): Check also :system bus.
1183
1184 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 Sync with upstream verilog-mode revision 78e66ba.
1187 * progmodes/verilog-mode.el (verilog-end-of-defun)
1188 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1189 (verilog-get-end-of-defun): Remove unused argument.
1190 (verilog-comment-depth): Remove unused local `e'.
1191 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1192 Don't pass arg to verilog-get-end-of-defun.
1193
1194 2013-11-14 Glenn Morris <rgm@gnu.org>
1195
1196 * obsolete/assoc.el (aget): Prefix dynamic variable.
1197
1198 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1199
1200 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * widget.el, hfy-cmap.el: Remove bogus package version number.
1203
1204 2013-11-13 Glenn Morris <rgm@gnu.org>
1205
1206 * replace.el (replace-eval-replacement):
1207 Try to give more helpful error message. (Bug#15836)
1208
1209 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1210 (archive-7z-update): Avoid custom type mismatches.
1211
1212 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1213
1214 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1215
1216 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1217 address can be empty.
1218
1219 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1220 Accept nil SWITCHES.
1221 (tramp-gvfs-handle-write-region): Implement APPEND.
1222
1223 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1224
1225 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1226 binary "|" operator and closing block args delimiter.
1227 Remove FIXME comment referring to Ruby 1.8-only syntax.
1228 (ruby-smie--implicit-semi-p): Not after "|" operator.
1229 (ruby-smie--closing-pipe-p): New function.
1230 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1231 (ruby-smie-rules): Indent after "|".
1232
1233 2013-11-12 Glenn Morris <rgm@gnu.org>
1234
1235 * ps-print.el (ps-face-attribute-list):
1236 Handle anonymous faces. (Bug#15827)
1237
1238 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1239
1240 * window.el (display-buffer-other-frame): Fix doc-string.
1241 (Bug#15868)
1242
1243 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1244
1245 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1246
1247 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1248
1249 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1250 (tramp-sh-handle-file-local-copy): Don't write a message when
1251 saving temporary files.
1252
1253 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1254 both directories are remote.
1255 (tramp-smb-handle-directory-files): Do not return double entries.
1256 Do not expand full file names.
1257 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1258 (tramp-smb-handle-write-region): Implement APPEND.
1259 (tramp-smb-get-stat-capability): Fix a stupid bug.
1260
1261 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1264
1265 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1266
1267 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1268 throwing error over malformed let/let* (bug#15814).
1269
1270 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * iswitchb.el (iswitchb-mode): Mark obsolete.
1273
1274 2013-11-11 Glenn Morris <rgm@gnu.org>
1275
1276 * international/uni-bidi.el, international/uni-category.el:
1277 * international/uni-name.el, international/uni-numeric.el:
1278 Regenerate for Unicode 6.3.0.
1279
1280 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1281
1282 * net/tramp.el (tramp-methods):
1283 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1284 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1285
1286 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1287
1288 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1289 Force highlighting text after Summary keyword in doc face for rpm.
1290
1291 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1292
1293 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1294 available and the word has no wildcards, append one to the grep pattern.
1295 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1296 (ispell-complete-word): Call `ispell-lookup-words' with the value
1297 independent of `ispell-look-p'.
1298
1299 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1300
1301 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1302 Not after "||".
1303 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1304 their parent.
1305
1306 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1309 (ruby-font-lock-keywords): Use backquote.
1310
1311 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1312
1313 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1314 (ruby-smie--backward-token): Only consider full-string matches.
1315
1316 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1317
1318 * faces.el (describe-face): Add distant-foreground.
1319
1320 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1321
1322 * progmodes/ruby-mode.el: Improve encoding comment handling.
1323 (ruby-encoding-magic-comment-style): New option.
1324 (ruby-custom-encoding-magic-comment-template): New option.
1325 (ruby--insert-coding-comment, ruby--detect-encoding):
1326 New functions extracted from `ruby-mode-set-encoding'.
1327 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1328 to control the style of the auto-inserted encoding comment.
1329
1330 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1331
1332 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1333 Use `smie-backward-sexp' with token argument.
1334
1335 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1336
1337 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1338 Remove instrumentation code.
1339
1340 2013-11-08 Glenn Morris <rgm@gnu.org>
1341
1342 * progmodes/autoconf.el (autoconf-mode):
1343 Tweak comment-start-skip. (Bug#15822)
1344
1345 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1348 at bobp (bug#15826).
1349 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1350
1351 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1352
1353 * man.el (Man-start-calling): New macro, extracted from
1354 Man-getpage-in-background.
1355 (Man-getpage-in-background): Use it.
1356 (Man-update-manpage): New command.
1357 (Man-mode-map): Bind it.
1358
1359 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1360
1361 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1362 of "and", "or", "&&" and "||".
1363 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1364 argument. Prohibit opening curly brace because it could only be a
1365 block opener in that position.
1366 (ruby-smie--forward-token, ruby-smie--backward-token):
1367 Separate "|" from "&" or "*" going after it. That can happen in block
1368 arguments.
1369 (ruby-smie--indent-to-stmt): New function, seeks the end of
1370 previous statement or beginning of buffer.
1371 (ruby-smie-rules): Use it.
1372 (ruby-smie-rules): Check if there's a ":" before a curly block
1373 opener candidate; if there is, it's a hash.
1374
1375 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1376
1377 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1378 (cl--block-wrapper): Fix last accidental change.
1379
1380 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1381
1382 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1383 Instrument, in order to hunt failure on hydra.
1384
1385 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1386
1387 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1388 malformed bindings form (bug#15814).
1389
1390 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1391
1392 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1393 "." compared to " @ ". This incidentally fixes some indentation
1394 examples with "do".
1395 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1396 (ruby-smie-grammar): New tokens: "and" and "or".
1397 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1398 Exclude "and" and "or". Remove "do" in order to work around token
1399 priorities.
1400 (ruby-smie-rules): Add all infix tokens. Handle the case of
1401 beginning-of-buffer.
1402
1403 2013-11-06 Glenn Morris <rgm@gnu.org>
1404
1405 * Makefile.in (setwins_almost, setwins_for_subdirs):
1406 Avoid accidental matches.
1407
1408 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1409
1410 * menu-bar.el (popup-menu): Use key-binding.
1411
1412 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1413
1414 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1415 menus, support also the menus produced by minor modes.
1416 (Bug#15817)
1417
1418 2013-11-06 Leo Liu <sdl.web@gmail.com>
1419
1420 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1421 DISTANCE to bound the search. All uses changed. (Bug#15808)
1422
1423 2013-11-06 Glenn Morris <rgm@gnu.org>
1424
1425 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1426 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1427 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1428
1429 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * electric.el (electric-indent-just-newline): New command.
1432 (electric-indent-mode-map): New keymap.
1433 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1434 Re-add :group which weren't redundant.
1435
1436 * electric.el (electric-indent-local-mode): New minor mode.
1437 (electric-indent-functions-without-reindent): New var.
1438 (electric-indent-post-self-insert-function): Use it.
1439 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1440
1441 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1442
1443 * international/quail.el (quail-help): Be more explicit about the
1444 meaning of the labels shown on the keys. (Bug#15800)
1445
1446 * startup.el (normal-top-level): Load the subdirs.el files before
1447 setting the locale environment. (Bug#15805)
1448
1449 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1450
1451 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1452 via arguments so as to get the right ones (bug#15418).
1453
1454 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1455
1456 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1457
1458 Fix problems found while writing a test suite.
1459
1460 * net/tramp-compat.el (tramp-compat-load): New defun.
1461 * net/tramp.el (tramp-handle-load): Use it.
1462
1463 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1464 "(numberp ok-if-already-exists)" correctly.
1465
1466 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1467
1468 * international/characters.el (glyphless-char-display-control):
1469 Add usage note.
1470
1471 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1472
1473 * progmodes/python.el (python-mode):
1474 * progmodes/scheme.el (scheme-mode):
1475 * progmodes/prolog.el (prolog-mode):
1476 * progmodes/ruby-mode.el (ruby-mode):
1477 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1478 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1479
1480 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * rect.el (rectangle--highlight-for-redisplay):
1483 * emacs-lisp/smie.el (smie--next-indent-change):
1484 Use buffer-chars-modified-tick.
1485
1486 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1487
1488 * electric.el (electric-indent-post-self-insert-function):
1489 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1490
1491 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1492
1493 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1494
1495 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1496
1497 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1498 (bug#15786).
1499
1500 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1503
1504 * progmodes/python.el: Fix up last change.
1505 (python-shell--save-temp-file): New function.
1506 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1507 `string' comes from the current buffer.
1508 (python-shell-send-string-no-output): Remove `msg' arg.
1509 (python--use-fake-loc): New var.
1510 (python-shell-buffer-substring): Obey it. Try to compensate for the
1511 extra coding line added by python-shell--save-temp-file.
1512 (python-shell-send-region): Use python-shell--save-temp-file and
1513 python-shell-send-file directly. Add `nomain' argument.
1514 (python-shell-send-buffer): Use python-shell-send-region.
1515 (python-electric-pair-string-delimiter): New function.
1516 (python-mode): Use it.
1517
1518 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1519
1520 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1521 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1522 environment and decoding all of the default-directory's to here
1523 from command-line.
1524 (command-line): Decode also argv[0].
1525
1526 * loadup.el: Error out if default-directory is a multibyte string
1527 when we are dumping.
1528
1529 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1530
1531 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1532
1533 * emacs-lisp/package.el (package-menu-mode)
1534 (package-menu--print-info, package-menu--archive-predicate):
1535 Add Archive column to package list.
1536
1537 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1538
1539 Fix problems found while writing a test suite.
1540
1541 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1542 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1543 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1544 to nil when running original file name handler. Otherwise,
1545 there are problems with constructs like "$$FOO".
1546
1547 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1548 for `localname'.
1549
1550 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1551
1552 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1553
1554 * subr.el (version<, version<=, version=):
1555 Update docstrings with information for snapshot versions.
1556
1557 * helpers.el: New library for misc helper functions.
1558 (hash-table-keys): New function returning a list of hash keys.
1559 (hash-table-values): New function returning a list of hash values.
1560
1561 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1562
1563 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1564 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1565
1566 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1567
1568 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1569 checking whether point is after a 1-letter word.
1570
1571 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1572
1573 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1574 Don't infloop when expanding region over `multiline' syntax-type that
1575 begins a line (bug#15778).
1576
1577 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1578
1579 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1580 Make it into a proper minor mode.
1581 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1582 (rectangle-mark-mode-map): New keymap.
1583 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1584
1585 2013-11-04 Glenn Morris <rgm@gnu.org>
1586
1587 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1588
1589 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1592 (ruby-smie-rules): Use smie-rule-parent instead.
1593
1594 * emacs-lisp/smie.el (smie-rule-parent): Always call
1595 smie-indent-virtual rather than only for hanging tokens.
1596 (smie--next-indent-change): New helper command.
1597
1598 2013-11-03 Glenn Morris <rgm@gnu.org>
1599
1600 * Makefile.in (abs_srcdir): Remove.
1601 (emacs): Unset EMACSLOADPATH.
1602
1603 2013-11-02 Glenn Morris <rgm@gnu.org>
1604
1605 * Makefile.in (EMACS): Use a relative filename.
1606 (abs_top_builddir): Remove.
1607 (custom-deps, finder-data, autoloads): Use --chdir.
1608
1609 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1610
1611 Use relative filenames in TAGS files.
1612 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1613 (lisptagsfiles4, TAGS): Use relative file names.
1614 (TAGS-LISP): Remove.
1615 (maintainer-clean): No more TAGS-LISP file.
1616
1617 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1618 (lisptagsfiles4): Use absolute filenames again.
1619 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1620 Remove all *loaddefs files, not just the first. Remove esh-groups.
1621 (maintainer-clean): Delete TAGS, TAGS-LISP.
1622
1623 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1624
1625 * emacs-lisp/package.el (package-version-join):
1626 Recognize snapshot versions.
1627
1628 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1629
1630 * subr.el (version-regexp-alist): Add support for snapshot versions.
1631
1632 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1633
1634 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1635 New function, replacement for `smie-rule-parent' for when we want to
1636 skip over our direct parent if it's an assignment token..
1637 (ruby-smie-rules): Use it.
1638
1639 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1640
1641 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1642 unconditionally. Remove now unnecessary forward declarations.
1643 Remove XEmacs-specific setup.
1644 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1645 (ruby-font-lock-syntactic-keywords)
1646 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1647 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1648 (ruby-here-doc-end-syntax): Remove.
1649 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1650 defined as function.
1651
1652 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1653
1654 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1655
1656 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1657
1658 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1659 table and abbrev table, `define-derived-mode' does that for us
1660 anyway.
1661
1662 2013-11-01 Glenn Morris <rgm@gnu.org>
1663
1664 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1665 files is atomic for some time, so no parallel compilation issues).
1666
1667 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1668
1669 * faces.el (face-x-resources): Add :distant-foreground.
1670 (region): Use :distant-foreground for gtk and ns.
1671
1672 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1673
1674 Allow multiple bibliographies when BibLaTeX is used rather than
1675 BibTeX.
1676 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1677 (reftex-locate-bibliography-files): Us it.
1678
1679 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1680
1681 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1682 allow comments in pbm files.
1683
1684 * term/w32-win.el (dynamic-library-alist): Support newer versions
1685 of libjpeg starting with v7: look only for the DLL from the
1686 version against which Emacs was built.
1687 Support versions of libpng beyond 1.4.x.
1688 Support libtiff v4.x.
1689
1690 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1691
1692 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1693 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1694 Add property :safe.
1695 (ruby-deep-arglist): Add property :type.
1696
1697 2013-10-31 Glenn Morris <rgm@gnu.org>
1698
1699 * Makefile.in (custom-deps, finder-data): No need to setq the target
1700 variables, we are in the right directory and the defaults work fine.
1701
1702 2013-10-30 Glenn Morris <rgm@gnu.org>
1703
1704 * Makefile.in (autoloads): Do not use abs_lisp.
1705
1706 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1707 `newline' does not respect `standard-output', so use `princ'.
1708
1709 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1710
1711 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1712 * buff-menu.el (Buffer-menu--unmark): New function.
1713 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1714
1715 2013-10-30 Glenn Morris <rgm@gnu.org>
1716
1717 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1718
1719 * emacs-lisp/package.el (lm-homepage): Declare.
1720
1721 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1722 Fix doc typos.
1723
1724 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1725
1726 * Makefile.in (finder-data, autoloads, update-subdirs)
1727 (compile-main, compile-clean, compile-always, bootstrap-clean):
1728 Check return value of cd.
1729 (compile-calc): Remove.
1730
1731 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1732
1733 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1734
1735 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1736 (byte-compile-and-folded): New function.
1737 (=, <, >, <=, >=): Use it.
1738
1739 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1740 (path-separator, null-device, buffer-file-coding-system)
1741 (lpr-headers-switches): Check system-type before modifying them.
1742 (find-buffer-file-type-coding-system): Mark obsolete.
1743 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1744 find-file-not-found-set-buffer-file-coding-system.
1745 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1746 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1747 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1748 (w32-direct-print-region-helper, w32-direct-print-region-function)
1749 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1750 * startup.el (normal-top-level-add-subdirs-to-load-path):
1751 * ps-print.el (ps-print-region-function):
1752 * lpr.el (print-region-function): Use new name.
1753
1754 * subr.el (custom-declare-variable-early): Remove function.
1755 (custom-declare-variable-list): Remove var.
1756 (error, user-error): Remove `while' loop.
1757 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1758 (user-emacs-directory-warning, locate-user-emacs-file):
1759 Move to files.el.
1760 * simple.el (read-quoted-char-radix, read-quoted-char):
1761 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1762 Move from subr.el.
1763 * custom.el (custom-declare-variable-list): Don't process
1764 custom-declare-variable-list.
1765
1766 * progmodes/python.el (python-shell-get-buffer): New function.
1767 (python-shell-get-process): Use it.
1768 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1769 Python which encoding was used. Don't split-string since we only care
1770 about the first line. Return the temp-file, if applicable.
1771 (python-shell-send-region): Tell compile.el how to turn locations in
1772 the temp-file into locations in the source buffer.
1773
1774 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * subr.el (undefined): Add missing behavior from the C code for
1777 unbound keys.
1778
1779 * rect.el: Use lexical-binding. Add new rectangular region support.
1780 (rectangle-mark): New command.
1781 (rectangle--region): New var.
1782 (deactivate-mark-hook): Reset rectangle--region.
1783 (rectangle--extract-region, rectangle--insert-for-yank)
1784 (rectangle--highlight-for-redisplay)
1785 (rectangle--unhighlight-for-redisplay): New functions.
1786 (region-extract-function, redisplay-unhighlight-region-function)
1787 (redisplay-highlight-region-function): Use them to handle
1788 rectangular region.
1789 * simple.el (region-extract-function): New var.
1790 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1791 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1792 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1793 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1794 (redisplay-unhighlight-region-function)
1795 (redisplay-highlight-region-function): New vars.
1796 (redisplay--update-region-highlight): New function.
1797 (pre-redisplay-function): Use it.
1798 (exchange-point-and-mark): Don't deactivate the mark before
1799 reactivate-it anyway.
1800 * comint.el (comint-kill-region): Remove yank-handler argument.
1801 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1802 (delete-char): Remove property, since it's now part of their
1803 default behavior.
1804 (self-insert-iso): Remove property since this command doesn't exist.
1805
1806 * emacs-lisp/package.el (package--download-one-archive)
1807 (describe-package-1): Don't query the user about final newline.
1808
1809 2013-10-29 Daniel Colascione <dancol@dancol.org>
1810
1811 * net/tramp.el (tramp-methods): Document new functionality.
1812 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1813 tramp-hostname-checker if method provides one instead of scanning
1814 argument list for "%h" to decide hostname acceptability.
1815
1816 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1817
1818 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1819 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1820 Handle COPY-CONTENTS. (Bug#15737)
1821
1822 2013-10-28 Daiki Ueno <ueno@gnu.org>
1823
1824 * epa-file.el
1825 (epa-file-cache-passphrase-for-symmetric-encryption):
1826 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1827
1828 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1829
1830 * image.el (defimage):
1831 (image-load-path): Doc fixes.
1832
1833 2013-10-27 Alan Mackenzie <acm@muc.de>
1834
1835 Indent statements in macros following "##" correctly.
1836 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1837 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1838
1839 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1840
1841 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1842
1843 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1844
1845 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1846 after `=' is probably a new expression.
1847
1848 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1849
1850 * man.el (man-imenu-title): New option.
1851 (Man-mode-map): Add menu. (Bug#15722)
1852 (Man-mode): Add imenu to menu.
1853
1854 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1855
1856 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1857 specific in what the first arg can be: a non-keyword word,
1858 string/regexp/percent literal opener, opening paren, or unary
1859 operator followed directly by word.
1860
1861 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1862
1863 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1864 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1865 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1866 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1867 Remove vars, they do not apply any more.
1868 (prolog-mode-abbrev-table): Remove redundant declaration.
1869 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1870 (prolog-use-smie): Remove.
1871 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1872 supported by prolog-electric-if-then-else-flag.
1873 (prolog-mode-variables, prolog-menu): Use setq-local.
1874 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1875 Remove binding to `Backspace' since this key doesn't exist anyway.
1876 Remove bindings for electric self-inserting keys.
1877 (prog-mode): Assume it's defined.
1878 (prolog-post-self-insert): New function.
1879 (prolog-mode): Use it.
1880 (prolog-indent-line, prolog-indent-level)
1881 (prolog-find-indent-of-matching-paren)
1882 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1883 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1884 (prolog-goto-next-paren, prolog-in-string-or-comment)
1885 (prolog-tokenize, prolog-inside-mline-comment)
1886 (prolog-find-start-of-mline-comment): Remove functions.
1887 (prolog-find-unmatched-paren, prolog-clause-end)
1888 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1889 (prolog-electric--if-then-else): Rename from
1890 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1891 (prolog-tokenize-searchkey): Remove const.
1892 (prolog-clause-info): Use forward-sexp.
1893 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1894 (prolog-electric-if-then-else): Remove commands.
1895 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1896 for use in post-self-insert-hook.
1897 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1898 for use in post-self-insert-hook.
1899 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1900 for use in post-self-insert-hook.
1901 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1902 adapt it for use in post-self-insert-hook.
1903
1904 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1905
1906 * emacs-lisp/ert.el (ert-run-tests-interactively):
1907 Use `completing-read'. (Bug#9756)
1908
1909 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1910
1911 * simple.el (line-move): Call line-move-1 instead of
1912 line-move-visual when the current window hscroll is zero, but
1913 temporary-goal-column indicates we will need to hscroll as result
1914 of the movement. (Bug#15712)
1915
1916 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1917
1918 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1919 capitalization. Use :visible instead of :active.
1920 Fix `ruby-indent-exp' reference. Add menu items for the generic
1921 commands that are used with SMIE.
1922 (ruby-do-end-to-brace): Insert space after `{'.
1923
1924 2013-10-25 John Anthony <john@jo.hnanthony.com>
1925
1926 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1927
1928 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1929
1930 2013-10-25 Glenn Morris <rgm@gnu.org>
1931
1932 * vc/vc.el (vc-print-log): Don't use a working revision unless
1933 one was explicitly specified. (Bug#15322)
1934
1935 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * subr.el (add-to-list): Preserve return value in compiler-macro
1938 (bug#15692).
1939
1940 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1941
1942 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1943 result. Ask user to retry using '-all' flag. (Bug#15701)
1944
1945 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * emacs-lisp/smie.el: New smie-config system.
1948 (smie-config): New defcustom.
1949 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1950 (smie-config-guess, smie-config-save): New commands.
1951 (smie-config--mode-local, smie-config--buffer-local)
1952 (smie-config--trace, smie-config--modefuns): New vars.
1953 (smie-config--advice, smie-config--mode-hook)
1954 (smie-config--setter, smie-config-local, smie-config--get-trace)
1955 (smie-config--guess-value, smie-config--guess): New functions.
1956 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1957 text properties. Treat "string fence" syntax like string syntax.
1958
1959 * progmodes/sh-script.el (sh-use-smie): Change default.
1960 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1961 (sh-var-value): Simplify by CSE.
1962 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1963 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1964 is used.
1965 (sh-guess-basic-offset): Use cl-incf.
1966 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1967
1968 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1969
1970 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1971 (bug#15699).
1972
1973 2013-10-24 Glenn Morris <rgm@gnu.org>
1974
1975 * Makefile.in (abs_top_srcdir): Remove.
1976 (update-subdirs): Use relative path to update-subdirs.
1977
1978 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1979
1980 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1981 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1982 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1983 Call unmsys--file-name before expand-file-name, not after it.
1984
1985 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1986
1987 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1988 (ert-test-skipped): New error.
1989 (ert-skip, ert-stats-skipped): New defuns.
1990 (ert--skip-unless): New macro.
1991 (ert-test-skipped): New struct.
1992 (ert--run-test-debugger, ert-test-result-type-p)
1993 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1994 (ert--stats-set-test-and-result, ert-char-for-test-result)
1995 (ert-string-for-test-result, ert-run-tests-batch)
1996 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1997 Handle skipped tests. (Bug#9803)
1998
1999 2013-10-24 Glenn Morris <rgm@gnu.org>
2000
2001 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2002
2003 * Makefile.in (abs_top_srcdir): New, set by configure.
2004 (update-subdirs): Correct build-aux location.
2005
2006 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2007
2008 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2009 value, whether we could auto-deduce `backend', or not.
2010
2011 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2012 with parameters" example. Simplify the "is it block or is it
2013 hash" check, but also make it more thorough.
2014
2015 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2016
2017 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2018
2019 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2022 { if it is hanging.
2023
2024 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2025 :before ";".
2026
2027 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2028
2029 * progmodes/compile.el (compilation-directory-matcher)
2030 (compilation-page-delimiter):
2031 Support GNU Make-4.0 directory quoting. (Bug#15678)
2032
2033 2013-10-23 Leo Liu <sdl.web@gmail.com>
2034
2035 * ido.el (ido-tidy): Handle read-only text.
2036
2037 2013-10-23 Glenn Morris <rgm@gnu.org>
2038
2039 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2040 (emacs, compile, compile-always):
2041 Quote entities that might contain whitespace.
2042 (custom-deps, finder-data, autoloads): Use abs_lisp.
2043 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2044 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2045 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2046
2047 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2048
2049 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2050 Use `following-char'.
2051
2052 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2053
2054 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2055 * progmodes/ruby-mode.el (ruby-smie-rules):
2056 Remove corresponding workaround. Fix indentation rule of ";" so it
2057 also applies when ";" is the parent.
2058
2059 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2060
2061 * frame.el (display-screens, display-pixel-height)
2062 (display-pixel-width, display-mm-width, display-backing-store)
2063 (display-save-under, display-planes, display-color-cells)
2064 (display-visual-class, display-monitor-attributes-list):
2065 Mention the optional ‘display’ argument in doc strings.
2066
2067 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2068
2069 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2070 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2071
2072 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2073
2074 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2075 TODO. Add "." after " @ ".
2076 (ruby-smie--at-dot-call): New function. Checks if point at method
2077 call with explicit target.
2078 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2079 to the method name tokens when it precedes them.
2080 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2081 (ruby-smie-rules): Add rule for indentation before and after "."
2082 token.
2083
2084 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2085
2086 * textmodes/remember.el (remember-diary-extract-entries):
2087 Avoid add-to-list.
2088
2089 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2090 an instruction.
2091
2092 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2093
2094 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2095 (ruby-smie--implicit-semi-p): Add new operator chars.
2096
2097 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2098 `smie-down-list'.
2099 (ruby-smie--args-separator-p): Check that there's no newline
2100 between method call and its arguments.
2101
2102 2013-10-20 Alan Mackenzie <acm@muc.de>
2103
2104 Allow comma separated lists after Java "implements".
2105
2106 * progmodes/cc-engine.el (c-backward-over-enum-header):
2107 Parse commas.
2108 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2109 from a "disallowed" list in enum fontification.
2110
2111 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2112
2113 * startup.el (default-frame-background-mode): Remove unused defvar.
2114
2115 * progmodes/verilog-mode.el (verilog-mode): Don't set
2116 comment-indent-function globally.
2117
2118 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2119
2120 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2121 Move Info menu item creation to ns-win.el.
2122
2123 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2124 in menu bar.
2125
2126 * menu-bar.el: Move GNUStep specific menus...
2127
2128 * term/ns-win.el (ns-initialize-window-system): ... to here.
2129
2130 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * simple.el (newline): Only run post-self-insert-hook when
2133 called interactively.
2134
2135 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2136
2137 * icomplete.el (icomplete-with-completion-tables): Add :version.
2138
2139 2013-10-19 Alan Mackenzie <acm@muc.de>
2140
2141 Fix fontification bugs with constructors and const.
2142
2143 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2144 CASE 2) Remove the check for the absence of a suffix construct
2145 after a function declaration with only types (no identifiers) in
2146 the parentheses. Also, accept a function declaration with just a
2147 type inside the parentheses, if this type can be positively
2148 recognised as such, or if a prefix keyword like "explicit" nails
2149 down the construct as a declaration.
2150
2151 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2152
2153 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2154 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2155 the problem whereby selecting a menu item that leads to a
2156 minibuffer prompt moves the cursor out of the minibuffer window,
2157 making it hard to type at the prompt. Suggested by Stefan Monnier
2158 <monnier@iro.umontreal.ca>.
2159
2160 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2161
2162 * menu-bar.el: Don't make Services menu.
2163
2164 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2165
2166 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2167 (ffap-alist): Use ffap-c++-mode for c++-mode.
2168 (ffap-c++-path): New variable.
2169 (ffap-c++-mode): New function.
2170
2171 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2172
2173 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2174
2175 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2176
2177 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2178 introduced on 2013-09-08, which results in an infinite loop
2179 requesting a password.
2180
2181 2013-10-18 Glenn Morris <rgm@gnu.org>
2182
2183 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2184
2185 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2186
2187 Sync with upstream verilog-mode revision 1a6ecec7.
2188 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2189 (verilog-mode-release-date): Remove.
2190 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2191 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2192 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2193 (verilog-auto-tieoff-ignore-regexp)
2194 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2195 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2196 (verilog-signals-with, verilog-dir-cache-preserving)
2197 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2198 Doc fixes.
2199 (verilog-case-fold): New option, to control case folding in
2200 regexp searches, bug597.
2201 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2202 (verilog-string-match-fold, verilog-in-paren-count)
2203 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2204 (verilog-at-close-struct-p): New functions.
2205 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2206 (verilog-forward-sexp, verilog-set-auto-endcomments):
2207 (verilog-leap-to-case-head): Handle "unique0" case.
2208 (verilog-in-constraint-re): New constant.
2209 (verilog-keywords, verilog-type-font-keywords):
2210 Add some SystemVerilog 1800-2012 keywords.
2211 (verilog-label-be): Remove unimplemented argument, bug669.
2212 (verilog-batch-execute-func): When batch expanding clear
2213 create-lockfiles to prevent spurious user locks when a file ends
2214 up not changing.
2215 (verilog-calculate-indent, verilog-calc-1)
2216 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2217 (verilog-do-indent): Fix indentation of nested constraints
2218 and structures.
2219 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2220 (verilog-auto-inst-param): Use verilog-string-match-fold.
2221 (verilog-read-inst-module-matcher):
2222 Fix AUTOINST on gate primitives with #1.
2223 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2224 Reads all user-defined typed variables.
2225 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2226 (verilog-signals-matching-regexp)
2227 (verilog-signals-not-matching-regexp, verilog-auto):
2228 Respect verilog-case-fold.
2229 (verilog-diff-report): Fix line count.
2230 (verilog-auto-assign-modport): Remove unused local `modi'.
2231 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2232 better handle multidimensional arrays.
2233 Fix packed array ports misadding bit index in AUTOINST, bug637.
2234 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2235 to not double-declare existing outputs and inputs, respectively.
2236 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2237 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2238 (verilog-sk-uvm-component): New skeleton.
2239 (verilog-submit-bug-report): Add verilog-case-fold,
2240 remove verilog-mode-release-date.
2241
2242 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2243
2244 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2245 as before.
2246
2247 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2248
2249 * textmodes/remember.el (remember): set buffer-offer-save in
2250 remember buffers (bug#13566).
2251
2252 2013-10-18 Daniel Colascione <dancol@dancol.org>
2253
2254 When evaluating forms in ielm, direct standard output to ielm
2255 buffer. Add new ielm-return-for-effect command. Remove trailing
2256 whitespace throughout.
2257
2258 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2259 (ielm-return-for-effect): New command.
2260 (ielm-send-input): Accept optional `for-effect' parameter.
2261 (ielm-eval-input): Accept optional `for-effect' parameter.
2262 Bind `standard-output' to stream we create using
2263 `ielm-standard-output-impl'. Suppress printing result when
2264 `for-effect'.
2265 (ielm-standard-output-impl): New function.
2266 (inferior-emacs-lisp-mode): Explain new features in documentation.
2267
2268 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2269
2270 Code cleanup.
2271
2272 * net/tramp.el (tramp-debug-message): Do not check for connection
2273 buffer.
2274 (tramp-message): Use "vector" connection property.
2275
2276 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2277 (tramp-equal-remote, tramp-eshell-directory-change)
2278 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2279 (tramp-adb-handle-rename-file)
2280 * net/tramp-cmds.el (tramp-list-remote-buffers)
2281 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2282 * net/tramp-compat.el (tramp-compat-process-running-p)
2283 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2284 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2285 (tramp-gvfs-handle-rename-file)
2286 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2287 (tramp-set-file-uid-gid)
2288 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2289 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2290 of `file-remote-p'.
2291
2292 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2293 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2294 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2295 (tramp-gw-open-network-stream): Suppress unrelated traces.
2296
2297 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2298 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2299 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2300 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2301 connection property.
2302
2303 * net/tramp-cache.el (top): Suppress traces when reading
2304 persistency file.
2305
2306 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2307 Refactor common code. Improve debug message.
2308 (tramp-maybe-open-connection)
2309 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2310 connection buffer too early.
2311
2312 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2313 from `tramp-smb-actions-with-acl'.
2314 (tramp-smb-actions-set-acl): New defconst.
2315 (tramp-smb-handle-copy-directory)
2316 (tramp-smb-action-get-acl): New defun, renamed from
2317 `tramp-smb-action-with-acl'.
2318 (tramp-smb-action-set-acl): New defun.
2319 (tramp-smb-handle-set-file-acl): Rewrite.
2320
2321 2013-10-17 Glenn Morris <rgm@gnu.org>
2322
2323 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2324
2325 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * skeleton.el (skeleton-newline): Remove.
2328 (skeleton-internal-1): Use (insert "\n") instead.
2329
2330 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2331 let-bindings.
2332
2333 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2334 forward-sexp-function while we redo its job (bug#15613).
2335
2336 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2337
2338 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2339 represented by lists.
2340
2341 2013-10-16 Glenn Morris <rgm@gnu.org>
2342
2343 * tmm.el (tmm--history): New dynamic variable.
2344 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2345
2346 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2347
2348 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2349 (tramp-smb-errors): Add error messages.
2350 (tramp-smb-actions-with-acl): New defconst.
2351 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2352 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2353 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2354 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2355 (tramp-smb-get-stat-capability): Fix tests.
2356
2357 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2358
2359 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2360 (bug#15580).
2361
2362 2013-10-16 Glenn Morris <rgm@gnu.org>
2363
2364 * ansi-color.el (ansi-color-drop-regexp):
2365 Add 1J, 1K, 2K. (Bug#15617)
2366
2367 * files.el (hack-local-variables--warned-lexical): New.
2368 (hack-local-variables):
2369 Warn about misplaced lexical-binding. (Bug#15616)
2370
2371 * net/eww.el (eww-render): Always set eww-current-url,
2372 and update header line. (Bug#15622)
2373 (eww-display-html): ... Rather than just doing it here.
2374
2375 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2376
2377 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2378 menu navigations commands.
2379
2380 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2381
2382 * progmodes/subword.el (subword-capitalize): Be careful when
2383 the search for [[:alpha:]] fails (bug#15580).
2384
2385 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2386
2387 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2388 to commands that scroll the menu.
2389
2390 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2391
2392 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2393 Handle methods ending with `?' and `!'.
2394
2395 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2396
2397 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2398 `japanese-cp932' to `cp932' to fix the problem where saving a
2399 source file written in Shift_JIS twice would end up having
2400 `coding: japanese-cp932' which Ruby could not recognize.
2401 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2402 in `ruby-encoding-map'.
2403 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2404 doesn't need to be explicitly declared in magic comment.
2405 (ruby-encoding-map): Add type declaration for better customize UI.
2406
2407 2013-10-13 Glenn Morris <rgm@gnu.org>
2408
2409 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2410 Occur buffers are read-only. http://bugs.debian.org/720775
2411
2412 * emacs-lisp/authors.el (authors-fixed-entries):
2413 Comment out old alpha stuff.
2414
2415 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2416
2417 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2418 to `after-save-hook' instead of `before-save-hook'.
2419 (ruby-mode-set-encoding): Use the value of coding system used to
2420 write the file. Call `basic-save-buffer-1' after modifying the
2421 buffer.
2422
2423 2013-10-13 Alan Mackenzie <acm@muc.de>
2424
2425 Fix indentation/fontification of Java enum with
2426 "implements"/generic.
2427
2428 * progmodes/cc-engine.el (c-backward-over-enum-header):
2429 Extracted from the three other places and enhanced to handle generics.
2430 (c-inside-bracelist-p): Uses new function above.
2431 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2432 function above.
2433 (c-font-lock-enum-tail): Uses new function above.
2434
2435 2013-10-13 Kenichi Handa <handa@gnu.org>
2436
2437 * international/mule-cmds.el (select-safe-coding-system): Remove a
2438 superfluous condition in chekcing whether a coding system is safe
2439 or not.
2440
2441 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2442
2443 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2444
2445 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2446
2447 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2448
2449 2013-10-13 Glenn Morris <rgm@gnu.org>
2450
2451 * menu-bar.el (menu-bar-update-buffers):
2452 Unify Buffers menu prompt string. (Bug#15576)
2453
2454 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2455
2456 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2457 Add some entries.
2458 (authors-fixed-entries): Use accented form of name.
2459
2460 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2461
2462 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2463 method calls (bug#15594).
2464 (ruby-smie--args-separator-p): New function.
2465 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2466 recognize paren-free method calls.
2467
2468 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2469 internals of universal-argument.
2470
2471 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2472
2473 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2474 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2475 dropped menu on second mouse click on the menu bar.
2476
2477 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2480 (explicit-shell-file-name): Declare.
2481 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2482 (sh-completion-at-point-function): New function.
2483 (sh-mode): Use it.
2484 (sh-smie--keyword-p): Remove unused argument.
2485 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2486 vars.
2487 (sh-set-shell): Always setup SMIE, even if we use the
2488 old indentation code.
2489
2490 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2491
2492 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2493 cases of ? and =.
2494 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2495 predicate would return nil are almost non-existent.
2496 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2497
2498 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2499 cache also after commands that modify the buffer but don't move
2500 point.
2501
2502 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 * env.el (substitute-env-in-file-name): New function.
2505 (substitute-env-vars): Extend the meaning of the optional arg.
2506
2507 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2508
2509 * term/w32-win.el (dynamic-library-alist): Define separate lists
2510 of GIF DLLs for versions before and after 5.0.0 of giflib.
2511 (Bug#15531)
2512
2513 2013-10-10 João Távora <joaotavora@gmail.com>
2514
2515 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2516 not locked, use last revision and current source as
2517 defaults. (Bug#15569)
2518
2519 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2520
2521 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2522 menu-bar is hidden.
2523
2524 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2525
2526 * window.el (pop-to-buffer-same-window): Fix doc-string.
2527 (Bug#15492)
2528
2529 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2532
2533 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2534
2535 * calendar/icalendar.el (icalendar-import-file):
2536 Fix interactive spec. (Bug#15482)
2537
2538 2013-10-10 Glenn Morris <rgm@gnu.org>
2539
2540 * desktop.el (desktop-save): Default to saving in .emacs.d,
2541 since PWD is no longer in desktop-path by default. (Bug#15319)
2542
2543 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2544 now that text mode has a menu with the same entry.
2545 (menu-bar-text-mode-auto-fill): Remove now unused func.
2546 * textmodes/text-mode.el (text-mode-map):
2547 Use auto-fill help text from menu-bar.el.
2548
2549 2013-10-10 John Anthony <john@jo.hnanthony.com>
2550
2551 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2552
2553 2013-10-09 Juri Linkov <juri@jurta.org>
2554
2555 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2556 instead of this-command-keys. Add universal-argument-more and
2557 universal-argument-minus to the list of prefix commands. (Bug#15568)
2558
2559 2013-10-09 Glenn Morris <rgm@gnu.org>
2560
2561 * vc/vc-svn.el (vc-svn-create-repo):
2562 Expand paths in file://... url. (Bug#15446)
2563
2564 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2565 Add some entries.
2566 (authors): Remove unused local variables.
2567
2568 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * profiler.el: Create a more coherent calltree from partial backtraces.
2571 (profiler-format): Hide the tail with `invisible' so that C-s can still
2572 find the hidden elements.
2573 (profiler-calltree-depth): Don't recurse so enthusiastically.
2574 (profiler-function-equal): New hash-table-test.
2575 (profiler-calltree-build-unified): New function.
2576 (profiler-calltree-build): Use it.
2577 (profiler-report-make-name-part): Indent the calltree less.
2578 (profiler-report-mode): Add visibility specs for profiler-format.
2579 (profiler-report-expand-entry, profiler-report-toggle-entry):
2580 Expand the whole subtree when provided with a prefix arg.
2581
2582 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2583
2584 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2585 iuwu-mod token.
2586 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2587 hanging iuwu-mod token.
2588 (ruby-smie--forward-token): Do not include a dot after a token in
2589 that token.
2590 (ruby-smie--backward-token): Likewise.
2591
2592 2013-10-08 Juri Linkov <juri@jurta.org>
2593
2594 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2595 to isearch-other-control-char.
2596 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2597 and isearch-post-command-hook to post-command-hook.
2598 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2599 and isearch-post-command-hook from post-command-hook.
2600 (isearch-unread-key-sequence)
2601 (isearch-reread-key-sequence-naturally)
2602 (isearch-lookup-scroll-key, isearch-other-control-char)
2603 (isearch-other-meta-char): Remove functions.
2604 (isearch-pre-command-hook, isearch-post-command-hook):
2605 New functions based on isearch-other-meta-char rewritten
2606 relying on the new behavior of overriding-terminal-local-map
2607 that does not replace the local keymaps any more. (Bug#15200)
2608
2609 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2610
2611 Support menus on text-mode terminals.
2612 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2613 functionality.
2614
2615 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2616
2617 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2618 Move here from mouse.el.
2619 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2620 and arrow keys.
2621 (tty-menu-navigation-map): New map for TTY menu navigation.
2622
2623 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2624
2625 * frame.el (display-mouse-p): Report text-mode mouse as available
2626 on w32.
2627 (display-popup-menus-p): Report availability if mouse is
2628 available; don't condition on window-system.
2629
2630 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2631 (tty-menu-selected-face): New faces.
2632
2633 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2636 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2637 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2638 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2639 New constants.
2640 (lisp-mode-variables): New `elisp' argument.
2641 (emacs-lisp-mode): Use it.
2642 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2643 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2644
2645 * indent.el: Use lexical-binding.
2646 (indent-region): Add progress reporter.
2647 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2648 last step.
2649 (indent--next-tab-stop): New function to implement this behavior.
2650 (tab-to-tab-stop, move-to-tab-stop): Use it.
2651
2652 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2653
2654 * indent.el (indent-rigidly--current-indentation): New function.
2655 (indent-rigidly-map): New var.
2656 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2657
2658 2013-10-08 Bastien Guerry <bzg@gnu.org>
2659
2660 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2661
2662 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 * progmodes/perl-mode.el: Use lexical-binding.
2665 Remove redundant :group args.
2666 (perl-nochange): Change default to be closer to other major modes's
2667 standard behavior.
2668 (perl-indent-line): Don't consider text on current line as a
2669 valid beginning of function from which to indent.
2670
2671 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2672 with more than one argument (bug#15538).
2673
2674 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2675
2676 * vc/pcvs.el: Use lexical-binding.
2677 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2678 environment of `eval'.
2679 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2680 than a list of expressions. Adjust callers.
2681 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2682
2683 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2684
2685 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2686 case of the dot in a chained method call being on the following line.
2687
2688 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * electric.el (electric-indent-inhibit): New var.
2691 (electric-indent-post-self-insert-function): Use it.
2692 * progmodes/python.el (python-mode): Set it.
2693
2694 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2695 open braces.
2696
2697 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2698
2699 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2700 (css-mode): Use electric-indent-chars.
2701
2702 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2703 (font-lock-beg, font-lock-end): Move before first use.
2704 (nxml-mode): Use syntax-propertize-function.
2705 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2706 (nxml-extend-after-change-region): Remove.
2707 * nxml/xmltok.el: Use lexical-binding.
2708 (xmltok-save): Use `declare'.
2709 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2710 * nxml/nxml-util.el: Use lexical-binding.
2711 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2712 Use `declare'.
2713 * nxml/nxml-ns.el: Use lexical-binding.
2714 (nxml-ns-save): Use `declare'.
2715 (nxml-ns-prefixes-for): Avoid add-to-list.
2716 * nxml/rng-match.el: Use lexical-binding.
2717 (rng--ipattern): Use cl-defstruct.
2718 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2719 (rng-cons-group-after, rng-subst-group-after)
2720 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2721 Use closures instead of `(lambda...).
2722
2723 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2724
2725 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2726 of BEG and END.
2727
2728 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2729 Use `tramp-handle-insert-file-contents'.
2730 (tramp-gvfs-handle-insert-file-contents): Remove function.
2731
2732 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2733 Use `save-restriction' in order to keep markers.
2734
2735 * net/trampver.el: Update release number.
2736
2737 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * progmodes/compile.el (compilation-parse-errors):
2740 Use compilation--put-prop.
2741 (compilation--ensure-parse): Check compilation-multiline.
2742
2743 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2744
2745 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2746 lexical-binding.
2747
2748 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2749
2750 * progmodes/ruby-mode.el: Fix recently added tests.
2751 (ruby-smie-grammar): Add - and +.
2752 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2753 (ruby-smie--backward-id): New functions.
2754 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2755 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2756 any more.
2757
2758 2013-10-07 Leo Liu <sdl.web@gmail.com>
2759
2760 * register.el (register-preview-delay)
2761 (register-preview-functions): New variables.
2762 (register-read-with-preview, register-preview)
2763 (register-describe-oneline): New functions.
2764 (point-to-register, window-configuration-to-register)
2765 (frame-configuration-to-register, jump-to-register)
2766 (number-to-register, view-register, insert-register)
2767 (copy-to-register, append-to-register, prepend-to-register)
2768 (copy-rectangle-to-register): Use register-read-with-preview to
2769 read register. (Bug#15525)
2770
2771 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2772
2773 * net/network-stream.el (network-stream-open-starttls): Don't add
2774 --insecure if it's already present, because that gnutls-cli
2775 rejects getting that parameter twice.
2776
2777 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2778
2779 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2780 keyword, too.
2781
2782 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2783
2784 * newcomment.el (comment-use-global-state): Change default value
2785 to t, mark obsolete (Bug#15251).
2786 (comment-beginning): In addition to `comment-to-syntax', check the
2787 value of `comment-use-global-state'.
2788
2789 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2792 (ruby-comment-column): Follow the global default, by default.
2793 (ruby-smie-grammar): Add assignment syntax.
2794 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2795 open-paren, a comma, or a \.
2796 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2797 and line continuations.
2798 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2799 followed by implicit semi-colons. Add rule for string concatenation
2800 and for indentation at BOB.
2801 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2802
2803 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2804 calling next-sexp, since next-token may have skipped chars which
2805 next-sexp doesn't know should be skipped!
2806
2807 2013-10-05 Leo Liu <sdl.web@gmail.com>
2808
2809 * progmodes/octave.el (octave-send-region):
2810 Call compilation-forget-errors.
2811
2812 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2813
2814 * vc/vc-svn.el (vc-svn-find-admin-dir):
2815 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2816 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2817 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2818 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2819
2820 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2823
2824 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2825
2826 * subr.el (read-passwd): Hide chars even when called within a context
2827 where after-change-functions is disabled (bug#15501).
2828 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2829 until we removed ourself from overriding-terminal-local-map.
2830
2831 2013-10-04 Leo Liu <sdl.web@gmail.com>
2832
2833 * progmodes/octave.el (inferior-octave-mode):
2834 Call compilation-forget-errors.
2835
2836 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2837
2838 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2839
2840 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2841
2842 * net/secrets.el (secrets-create-collection): Add optional
2843 argument ALIAS. Use proper Label keyword. Append ALIAS as
2844 dbus-call-method argument. (Bug#15516)
2845
2846 2013-10-04 Leo Liu <sdl.web@gmail.com>
2847
2848 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2849 (inferior-octave-compilation-font-lock-keywords): New variables.
2850 (compilation-error-regexp-alist)
2851 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2852 (inferior-octave-mode): Use compilation-shell-minor-mode.
2853
2854 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2855
2856 * minibuffer.el (completion--replace): Be careful that `end' might be
2857 a marker.
2858
2859 2013-10-03 Daiki Ueno <ueno@gnu.org>
2860
2861 Add support for package signature checking.
2862 * emacs-lisp/package.el (url-http-file-exists-p)
2863 (epg-make-context, epg-context-set-home-directory)
2864 (epg-verify-string, epg-context-result-for)
2865 (epg-signature-status, epg-signature-to-string)
2866 (epg-check-configuration, epg-configuration)
2867 (epg-import-keys-from-file): Declare.
2868 (package-check-signature): New user option.
2869 (package-unsigned-archives): New user option.
2870 (package-desc): Add `signed' field.
2871 (package-load-descriptor): Set `signed' field if .signed file exists.
2872 (package--archive-file-exists-p): New function.
2873 (package--check-signature): New function.
2874 (package-install-from-archive): Check package signature.
2875 (package--download-one-archive): Check archive signature.
2876 (package-delete): Remove .signed file.
2877 (package-import-keyring): New command.
2878 (package-refresh-contents): Import default keyring.
2879 (package-desc-status): Add "unsigned" status.
2880 (describe-package-1, package-menu--print-info)
2881 (package-menu-mark-delete, package-menu--find-upgrades)
2882 (package-menu--status-predicate): Support "unsigned" status.
2883
2884 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2887 the new compilation scheme using the new byte-codes.
2888
2889 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2890 (byte-pophandler): New byte codes.
2891 (byte-goto-ops): Adjust accordingly.
2892 (byte-compile--use-old-handlers): New var.
2893 (byte-compile-catch): Use new byte codes depending on
2894 byte-compile--use-old-handlers.
2895 (byte-compile-condition-case--old): Rename from
2896 byte-compile-condition-case.
2897 (byte-compile-condition-case--new): New function.
2898 (byte-compile-condition-case): New function that dispatches depending
2899 on byte-compile--use-old-handlers.
2900 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2901 when we can.
2902
2903 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2904 Optimize under `condition-case' and `catch' if
2905 byte-compile--use-old-handlers is nil.
2906 (disassemble-offset): Handle new bytecodes.
2907
2908 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * subr.el (error): Use `declare'.
2911 (decode-char, encode-char): Use advertised-calling-convention instead
2912 of the docstring to discourage use of the `restriction' arg.
2913
2914 2013-10-03 Daiki Ueno <ueno@gnu.org>
2915
2916 * epg.el (epg-verify-file): Add a comment saying that it does not
2917 notify verification error as a return value nor a signal.
2918 (epg-verify-string): Ditto.
2919
2920 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2921
2922 * progmodes/compile.el (compilation-start): Try globbing the arg to
2923 `cd' (bug#15417).
2924
2925 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2926
2927 Sync with Tramp 2.2.8.
2928
2929 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2930 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2931 * net/trampver.el: Update release number.
2932
2933 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2934
2935 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2936 and default-process-coding-system for darwin only.
2937
2938 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2939
2940 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2941
2942 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2943
2944 * vc/vc-git.el (vc-git-grep): Disable pager.
2945
2946 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2947
2948 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2949 Use :url instead of :homepage, as per
2950 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2951
2952 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2953 non-nil, use `syntax-ppss' (Bug#15251).
2954
2955 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2956
2957 * progmodes/octave.el (inferior-octave-startup-file):
2958 Prefer ~/.emacs.d/init_octave.m.
2959
2960 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2961
2962 * emacs-lisp/package.el (package-desc-from-define):
2963 Accept additional arguments as plist, convert them to an alist and store
2964 them in the `extras' slot.
2965 (package-generate-description-file): Convert extras alist back to
2966 plist and append to the `define-package' form arguments.
2967 (package--alist-to-plist): New function.
2968 (package--ac-desc): Add `extras' slot.
2969 (package--add-to-archive-contents): Check if the archive-contents
2970 vector is long enough, and if it is, pass its `extras' slot value
2971 to `package-desc-create'.
2972 (package-buffer-info): Call `lm-homepage', pass the returned value
2973 to `package-desc-from-define'.
2974 (describe-package-1): Render the homepage button (Bug#13291).
2975
2976 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2977 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2978
2979 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2980
2981 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2982 and default-process-coding-system to utf-8-unix (Bug#15402).
2983
2984 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2985
2986 * subr.el (looking-back): Do not recommend using looking-back.
2987
2988 2013-09-28 Alan Mackenzie <acm@muc.de>
2989
2990 Fix indentation/fontification of Java enum with "implements".
2991
2992 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2993 regexp which matches "implements", etc., in Java.
2994 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2995 specifier clauses coming after "enum".
2996 * progmodes/cc-fonts.el (c-font-lock-declarations)
2997 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2998 after "enum".
2999
3000 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3001
3002 * faces.el (region): Change ns_selection_color to
3003 ns_selection_fg_color, add ns_selection_bg_color.
3004
3005 2013-09-28 Leo Liu <sdl.web@gmail.com>
3006
3007 * progmodes/octave.el (inferior-octave-completion-table)
3008 (inferior-octave-completion-at-point): Minor tweaks.
3009
3010 * textmodes/ispell.el (ispell-lookup-words): Rename from
3011 lookup-words. (Bug#15460)
3012 (lookup-words): Obsolete.
3013 (ispell-complete-word, ispell-command-loop): All uses changed.
3014
3015 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3016
3017 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3018 (octave-mode-menu): Add octave-send-buffer.
3019 (octave-send-buffer): New function.
3020
3021 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3022
3023 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3024 octave-lookfor.
3025 (octave-mode-menu): Add octave-lookfor.
3026 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3027 octave-lookfor.
3028 (octave-lookfor): New function.
3029
3030 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * emacs-lisp/cl-macs.el:
3033 (cl--loop-destr-temps): Remove.
3034 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3035 its convention.
3036 (cl--loop-set-iterator-function): New function.
3037 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3038 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3039 Bind `it' with `let' instead of substituting it with `cl-subst'.
3040 (cl--unused-var-p): New function.
3041 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3042 Eliminate some unused variable warnings (bug#15326).
3043
3044 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3045
3046 * doc-view.el (doc-view-scale-reset): Rename from
3047 `doc-view-reset-zoom-level'.
3048 (doc-view-scale-adjust): New command.
3049 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3050 `doc-view-scale-adjust'.
3051
3052 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3053
3054 * doc-view.el (doc-view-reset-zoom-level): New command.
3055 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3056 zoom commands (bug#15466).
3057
3058 2013-09-26 Kenichi Handa <handa@gnu.org>
3059
3060 * international/quail.el (quail-help): Make it not a command.
3061
3062 2013-09-26 Leo Liu <sdl.web@gmail.com>
3063
3064 * minibuffer.el (completion-all-sorted-completions): Make args
3065 optional as they are.
3066
3067 2013-09-25 Daniel Colascione <dancol@dancol.org>
3068
3069 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3070 specs are and that they're not evaluated.
3071
3072 2013-09-24 Sam Steingold <sds@gnu.org>
3073
3074 * midnight.el (clean-buffer-list-kill-regexps)
3075 (clean-buffer-list-kill-buffer-names): Update for the new Man
3076 buffer naming which includes the object name.
3077
3078 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3081 (eshell-parse-command, eshell-parse-pipeline): Use it since
3082 eshell-separate-commands requires a dynamic scoped var.
3083 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3084
3085 2013-09-23 Leo Liu <sdl.web@gmail.com>
3086
3087 * autoinsert.el (auto-insert-alist): Make the value of
3088 lexical-binding match its file setting.
3089
3090 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3091
3092 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3093
3094 * autoarg.el (autoarg-kp-digit-argument):
3095 * electric.el (Electric-command-loop):
3096 * kmacro.el (kmacro-step-edit-insert):
3097 Do not set universal-argument-num-events.
3098
3099 2013-09-22 Leo Liu <sdl.web@gmail.com>
3100
3101 * files.el (interpreter-mode-alist): Add octave.
3102
3103 2013-09-21 Alan Mackenzie <acm@muc.de>
3104
3105 C++: fontify identifier in declaration following "public:" correctly.
3106 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3107 to match "public", etc.
3108 (c-decl-prefix-re): Add ":" into the C++ value.
3109 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3110 bit. Add a check for a ":" preceded by "public", etc.
3111
3112 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3113
3114 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3115 recognized by GDB 7.5 and later.
3116
3117 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3118
3119 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3120
3121 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3122
3123 * subr.el (internal--call-interactively): New const.
3124 (called-interactively-p): Use it (bug#3984).
3125
3126 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3127
3128 * vc/pcvs.el (cvs-mode-ignore):
3129 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3130 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3131
3132 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3135 (eshell-ls-orig-insert-directory): Remove.
3136 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3137 (eshell-ls-use-in-dired): Use advice-add/remove.
3138 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3139 Add `orig-fun' arg for use in :around advice.
3140 Make it check (redundantly) eshell-ls-use-in-dired.
3141
3142 2013-09-19 Glenn Morris <rgm@gnu.org>
3143
3144 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3145
3146 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3147
3148 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3149
3150 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3151
3152 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3153 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3154 (tramp-get-remote-python): New defuns.
3155 (tramp-get-remote-uid-with-perl)
3156 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3157 contributed by yary <not.com@gmail.com> (tiny change).
3158 (tramp-get-remote-uid-with-python)
3159 (tramp-get-remote-gid-with-python): New defuns. Python code
3160 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3161 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3162
3163 2013-09-19 Glenn Morris <rgm@gnu.org>
3164
3165 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3166
3167 * eshell/em-unix.el (eshell-remove-entries):
3168 Rename argument to avoid name-clash with global `top-level'.
3169
3170 * eshell/esh-proc.el (eshell-kill-process-function):
3171 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3172 (eshell-reset-after-proc): Remove unused arg `proc'.
3173
3174 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3175 (directory-files-and-attributes): Mark unused arg.
3176
3177 * eshell/em-unix.el (eshell-remove-entries):
3178 Remove unused arg `path'. Update callers.
3179
3180 * eshell/em-hist.el (eshell-hist-parse-arguments):
3181 Remove unused arg `silent'. Update callers.
3182
3183 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3184 Fix (f)boundp mix-up.
3185
3186 * eshell/em-smart.el (eshell-smart-scroll-window)
3187 (eshell-disable-after-change):
3188 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3189
3190 2013-09-18 Alan Mackenzie <acm@muc.de>
3191
3192 Fix fontification of type when followed by "const".
3193 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3194 "known" types from fontification.
3195
3196 2013-09-18 Glenn Morris <rgm@gnu.org>
3197
3198 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3199 (chart-face-list): Drop Emacsen without display-color-p.
3200
3201 * net/eww.el (libxml-parse-html-region): Declare.
3202 (eww-display-html): Explicit error if no libxml2 support.
3203
3204 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3205
3206 * image.el (image-type-from-buffer, image-multi-frame-p):
3207 Remove --without-x warning/error.
3208
3209 * mouse.el (mouse-yank-primary):
3210 * term.el (term-mouse-paste):
3211 Reorder to silence --without-x compilation.
3212
3213 * mpc.el (doc-view-mode): Silence --without-x compilation.
3214
3215 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3216 Silence --without-x compilation.
3217
3218 * progmodes/gud.el (gud-find-file, gud-mode):
3219 Silence --without-x compilation.
3220 (tooltip-mode): Declare.
3221
3222 * wdired.el (dired-backup-overwrite): Remove declaration.
3223 (wdired-mode-map): Add doc string.
3224
3225 * custom.el (x-get-resource): Declare.
3226
3227 * eshell/em-glob.el (ange-cache):
3228 * eshell/em-unix.el (ange-cache): Declare.
3229
3230 * faces.el (x-display-list, x-open-connection, x-get-resource):
3231 Declare.
3232
3233 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3234 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3235 Declare.
3236
3237 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3238
3239 * net/gnutls.el (gnutls-log-level): Declare.
3240
3241 * net/shr.el (image-size, image-animate): Declare.
3242
3243 * simple.el (font-info): Declare.
3244
3245 * subr.el (x-popup-dialog): Declare.
3246
3247 * term/common-win.el (x-select-enable-primary)
3248 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3249 Declare.
3250
3251 * term/ns-win.el (x-handle-args): Declare.
3252
3253 * term/x-win.el (x-select-enable-clipboard): Declare.
3254
3255 * term/w32-win.el (create-default-fontset): Declare.
3256
3257 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3258 Declare.
3259
3260 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3261 (fit-frame-to-buffer): Explicit error if --without-x.
3262 (mouse-autoselect-window-select): Silence compiler.
3263
3264 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3265
3266 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3267 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3268 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3269 * eshell/esh-util.el (eshell-sublist):
3270 Remove unused local variables.
3271
3272 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3273
3274 * textmodes/two-column.el: Make 2C-split work for --without-x.
3275 (scroll-bar-columns): Autoload.
3276 (top-level): Require fringe when compiling.
3277
3278 2013-09-18 Leo Liu <sdl.web@gmail.com>
3279
3280 * subr.el (add-hook): Robustify to handle closure as well.
3281
3282 2013-09-17 Glenn Morris <rgm@gnu.org>
3283
3284 * simple.el (messages-buffer-mode-map): Unbind "g".
3285
3286 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * help-mode.el (help-mode-finish): Use derived-mode-p.
3289 Remove obsolete highlighting.
3290
3291 * play/life.el (life-mode): Use define-derived-mode. Derive from
3292 special-mode.
3293 (life): Let-bind inhibit-read-only.
3294 (life-setup): Avoid `setq'. Use `life-mode'.
3295
3296 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3297 which should not be needed any more.
3298 (package-menu-refresh, package-menu-describe-package): Use user-error.
3299
3300 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3301 (eshell-post-rewrite-command-hook): Make obsolete.
3302 (eshell-parse-command): Simplify.
3303 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3304 (eshell--cmd): Declare.
3305 (eshell-parse-pipeline): Remove unused var `final-p'.
3306 Pass a dynvar to eshell-post-rewrite-command-hook.
3307 Implement the new eshell-post-rewrite-command-function.
3308 (eshell-invoke-directly): Remove unused arg `input'.
3309 * eshell/esh-io.el (eshell-io-initialize):
3310 Use eshell-post-rewrite-command-function (bug#15399).
3311 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3312 adjust to new calling convention.
3313 (eshell-create-handles): Rename args to avoid clashing with dynvar
3314 `standard-output'.
3315
3316 2013-09-17 Glenn Morris <rgm@gnu.org>
3317
3318 * simple.el (messages-buffer-mode): New major mode.
3319 (messages-buffer): New function.
3320 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3321 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3322 (ert-run-test): Use `messages-buffer' function.
3323 (ert--force-message-log-buffer-truncation): Ignore read-only.
3324 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3325 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3326
3327 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3330
3331 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3332
3333 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * icomplete.el (icomplete-in-buffer): New var.
3336 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3337 vars and replace them with functions.
3338 (icomplete-minibuffer-setup): Adjust accordingly.
3339 (icomplete--completion-table, icomplete--completion-predicate)
3340 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3341 New functions.
3342 (icomplete-forward-completions, icomplete-backward-completions)
3343 (icomplete-simple-completing-p, icomplete-exhibit)
3344 (icomplete-completions): Use them.
3345 (icomplete--in-region-buffer): New var.
3346 (icomplete--in-region-setup): New function.
3347 (icomplete-mode): Use it.
3348
3349 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3350 (bug#15379).
3351 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3352 return args and options.
3353 (eshell-eval-using-options): Use the new return value of
3354 eshell--do-opts to set the options's vars in their scope.
3355 (eshell--set-option): Rename from eshell-set-option.
3356 Add arg `opt-vals'.
3357 (eshell--process-option): Rename from eshell-process-option.
3358 Add arg `opt-vals'.
3359 (eshell--process-args): Use an `opt-vals' alist to store the options's
3360 values during their processing and return them additionally to the
3361 remaining args.
3362
3363 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3364
3365 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3366 continuation character an operator, as far as indentation is
3367 concerned (Bug#15369).
3368
3369 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3370
3371 * window.el (window--state-put-2): Don't process buffer state
3372 when buffer doesn't exist any more (Bug#15382).
3373
3374 2013-09-15 Glenn Morris <rgm@gnu.org>
3375
3376 * eshell/em-unix.el (eshell/rm):
3377 Make -f ignore missing files. (Bug#15373)
3378
3379 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3380 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3381 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3382
3383 2013-09-14 Glenn Morris <rgm@gnu.org>
3384
3385 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3386
3387 2013-09-13 Glenn Morris <rgm@gnu.org>
3388
3389 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3390 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3391
3392 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3393
3394 * frame.el (x-focus-frame): Mark as declared in frame.c.
3395
3396 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * ls-lisp.el: Use advice-add.
3399 (original-insert-directory): Remove.
3400 (ls-lisp--insert-directory): Rename from insert-directory; add
3401 `orig-fun' argument.
3402 (insert-directory): Advise.
3403
3404 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3405
3406 * term.el (term-emulate-terminal): Decode the command string
3407 before passing it to term-command-hook. (Bug#15337)
3408
3409 2013-09-13 Glenn Morris <rgm@gnu.org>
3410
3411 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3412
3413 * eshell/esh-ext.el (eshell-search-path): Declare.
3414
3415 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3416 Otherwise an error occurs if eshell-dirs module not loaded.
3417
3418 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3419
3420 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3421
3422 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3423 `tramp-check-proper-host'. Check for a valid method name.
3424
3425 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3426 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3427 * net/tramp-sh.el (tramp-maybe-open-connection):
3428 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3429
3430 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3431 also for hash values.
3432
3433 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3434
3435 * term/ns-win.el (parameters): Don't declare as dynamic.
3436 (before-make-frame-hook): Don't add ineffective function.
3437
3438 * eshell/*.el: Use lexical-binding (bug#15231).
3439
3440 2013-09-12 Kenichi Handa <handa@gnu.org>
3441
3442 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3443
3444 2013-09-12 Glenn Morris <rgm@gnu.org>
3445
3446 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3447 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3448
3449 * subr.el (do-after-load-evaluation): Also give compiler warnings
3450 when obsolete files are used (except by obsolete files).
3451
3452 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3453 in the status output, assume `filename' is the first. (Bug#15322)
3454
3455 * vc/vc.el (vc-deduce-fileset): Doc fix.
3456
3457 * calc/calc-help.el (Info-goto-node):
3458 * progmodes/cperl-mode.el (Info-find-node):
3459 * vc/ediff.el (Info-goto-node): Update declarations.
3460
3461 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3462
3463 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3464 (vc-bzr-pull): Require vc-dispatcher.
3465 * vc/vc-git.el (vc-compilation-mode): Declare.
3466 (vc-git-pull): Require vc-dispatcher.
3467
3468 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3469
3470 * progmodes/octave.el (help-button-action): Declare.
3471
3472 * shell.el (shell-directory-tracker): Output error as a message
3473 rather than just returning it as a string.
3474 (shell-process-pushd): Remove useless use of message.
3475
3476 * dframe.el (dframe-timer-fn):
3477 * files.el (dir-locals-read-from-file):
3478 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3479 (mpc-format):
3480 * reveal.el (reveal-post-command):
3481 * saveplace.el (load-save-place-alist-from-file):
3482 * shell.el (shell-resync-dirs):
3483 * w32-common-fns.el (x-get-selection-value):
3484 * emacs-lisp/copyright.el (copyright-find-copyright):
3485 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3486 * emulation/tpu-edt.el (tpu-copy-keyfile):
3487 * play/bubbles.el (bubbles--mark-neighbourhood):
3488 * progmodes/executable.el
3489 (executable-make-buffer-file-executable-if-script-p):
3490 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3491
3492 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3493
3494 Cleanup Eshell to rely less on dynamic scoping.
3495 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3496 last-value, and ext-command here. Bind `args' closer to `body'.
3497 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3498 (eshell--args): Declare new dynamic var.
3499 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3500 last-value, and ext-command. Pass `args' to `body'.
3501 (eshell-process-args): Bind eshell--args.
3502 (eshell-set-option): Use eshell--args.
3503 * eshell/eshell.el (eshell): Use derived-mode-p.
3504 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3505 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3506 (eshell-glob-function): Declare.
3507 * eshell/esh-util.el: Require cl-lib.
3508 (eshell-read-hosts-file): Avoid add-to-list.
3509 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3510 `err'.
3511 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3512 Declare.
3513 (eshell/diff): Remove unused var `err'.
3514 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3515 `killflag'.
3516 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3517 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3518 first use.
3519 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3520 Move declaration before first use.
3521 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3522 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3523 rely on cl-return.
3524
3525 2013-09-12 Glenn Morris <rgm@gnu.org>
3526
3527 * term/ns-win.el (global-map): Remove binding for ispell-next,
3528 deleted 1999-05-29. (Bug#15357)
3529
3530 2013-09-11 Glenn Morris <rgm@gnu.org>
3531
3532 * echistory.el (electric-command-history): Remove call to deleted func.
3533
3534 * play/landmark.el (landmark-mode): Fix typos.
3535
3536 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3537 Check cvs-sort-ignore-file is bound.
3538
3539 * savehist.el: No need for cl when compiling on Emacs.
3540
3541 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3544 (bug#15338).
3545 (eshell-self-insert-command, eshell-send-invisible):
3546 Remove unused argument.
3547 (eshell-handle-control-codes): Remove unused var `orig'.
3548 Avoid delete-backward-char.
3549
3550 * files.el (set-auto-mode): Simplify a bit further.
3551
3552 2013-09-11 Glenn Morris <rgm@gnu.org>
3553
3554 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3555 (set-auto-mode): Don't regexp-quote elements.
3556 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3557 * progmodes/cc-mode.el (interpreter-mode-alist):
3558 * progmodes/ruby-mode.el (interpreter-mode-alist):
3559 Revert previous change.
3560
3561 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3562
3563 * play/snake.el (snake-mode):
3564 * play/mpuz.el (mpuz-mode):
3565 * play/landmark.el (lm-mode):
3566 * play/blackbox.el (blackbox-mode):
3567 * play/5x5.el (5x5-mode):
3568 * obsolete/options.el (Edit-options-mode):
3569 * net/quickurl.el (quickurl-list-mode):
3570 * net/newst-treeview.el (newsticker-treeview-mode):
3571 * mail/rmailsum.el (rmail-summary-mode):
3572 * mail/mspools.el (mspools-mode):
3573 * locate.el (locate-mode):
3574 * ibuffer.el (ibuffer-mode):
3575 * emulation/ws-mode.el (wordstar-mode):
3576 * emacs-lisp/debug.el (debugger-mode):
3577 * array.el (array-mode):
3578 * net/eudc.el (eudc-mode): Use define-derived-mode.
3579 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3580 Move initialization into declaration.
3581 (mairix-searches-mode): Use define-derived-mode.
3582 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3583 (eudc-edit-hotlist): Use dolist.
3584 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3585 (Man-mode): Use define-derived-mode.
3586 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3587 (Info-edit-mode): Use define-derived-mode.
3588 (Info-cease-edit): Use Info-mode.
3589 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3590 into declaration.
3591 (eshell-mode): Use define-derived-mode.
3592 * chistory.el (command-history-mode-map): Rename from
3593 command-history-map.
3594 (command-history-mode): Use define-derived-mode.
3595 (Command-history-setup): Remove function.
3596 * calc/calc.el (calc-trail-mode-map): New var.
3597 (calc-trail-mode): Use define-derived-mode.
3598 (calc-trail-buffer): Set calc-main-buffer manually.
3599 * bookmark.el (bookmark-insert-annotation): New function.
3600 (bookmark-edit-annotation): Use it.
3601 (bookmark-edit-annotation-mode): Make it a proper major mode.
3602 (bookmark-send-edited-annotation): Use derived-mode-p.
3603 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3604 closer to its ideal place. Use \' to match EOS.
3605
3606 * profiler.el (profiler-calltree-find): Use function-equal.
3607
3608 2013-09-10 Glenn Morris <rgm@gnu.org>
3609
3610 * files.el (interpreter-mode-alist): Convert to regexps.
3611 (set-auto-mode): Adapt for this. (Bug#15306)
3612 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3613 Comment out unused variable.
3614 * progmodes/cc-mode.el (interpreter-mode-alist):
3615 * progmodes/python.el (interpreter-mode-alist):
3616 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3617 * progmodes/sh-script.el (sh-set-shell):
3618 No longer use interpreter-mode-alist to get list of shells.
3619
3620 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3621
3622 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * simple.el: Use set-temporary-overlay-map for universal-argument.
3625 (universal-argument-map): Don't use default-bindings (bug#15317).
3626 Bind switch-frame explicitly. Replace universal-argument-minus with
3627 a conditional binding.
3628 (universal-argument-num-events, saved-overriding-map): Remove.
3629 (restore-overriding-map): Remove.
3630 (universal-argument--mode): Rename from save&set-overriding-map,
3631 and rewrite.
3632 (universal-argument, universal-argument-more, negative-argument)
3633 (digit-argument): Adjust accordingly.
3634 (universal-argument-minus): Remove.
3635 (universal-argument-other-key): Remove.
3636
3637 * subr.el (with-demoted-errors): Add `format' argument.
3638
3639 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3640
3641 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3642 `tramp-cleanup-connection'.
3643
3644 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3645 parameters KEEP-DEBUG and KEEP-PASSWORD.
3646
3647 * net/tramp.el (tramp-file-name-handler):
3648 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3649 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3650 (tramp-maybe-open-connection):
3651 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3652 Use `tramp-cleanup-connection'.
3653
3654 * net/tramp-sh.el (tramp-maybe-open-connection):
3655 Catch 'uname-changed inside the progress reporter.
3656
3657 2013-09-10 Glenn Morris <rgm@gnu.org>
3658
3659 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3660
3661 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3662 returns "alternate access method" in mode (eg "-rw-r--r--.").
3663
3664 2013-09-08 Glenn Morris <rgm@gnu.org>
3665
3666 * saveplace.el (load-save-place-alist-from-file):
3667 Demote errors. (Bug#15305)
3668
3669 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3670
3671 Improve compatibility with older Emacsen, and XEmacs.
3672
3673 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3674 only if it is bound. It isn't for XEmacs.
3675 (with-tramp-progress-reporter): Do not let-bind `result'.
3676 This yields to scoping errors in XEmacs.
3677 (tramp-handle-make-auto-save-file-name): New function, moved from
3678 tramp-sh.el.
3679
3680 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3681 for `make-auto-save-file-name'.
3682 (tramp-adb--gnu-switches-to-ash):
3683 Use `tramp-compat-replace-regexp-in-string'.
3684
3685 * net/tramp-cache.el (tramp-cache-print): Call
3686 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3687
3688 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3689 bound. It isn't for XEmacs.
3690
3691 * net/tramp-compat.el (tramp-compat-copy-file):
3692 Catch `wrong-number-of-arguments' error.
3693 (tramp-compat-replace-regexp-in-string): New defun.
3694
3695 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3696 for `make-auto-save-file-name'.
3697 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3698 `copy-file'.
3699 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3700 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3701 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3702
3703 * net/tramp-gw.el (tramp-gw-open-network-stream):
3704 Use `tramp-compat-replace-regexp-in-string'.
3705
3706 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3707 Call `tramp-handle-make-auto-save-file-name'.
3708 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3709 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3710 (tramp-sh-file-inotifywait-process-filter):
3711 Use `tramp-compat-replace-regexp-in-string'.
3712 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3713
3714 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3715 for `make-auto-save-file-name'.
3716 (tramp-smb-handle-copy-directory):
3717 Call `tramp-compat-replace-regexp-in-string'.
3718 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3719 (tramp-smb-handle-copy-file): Improve error message.
3720 (tramp-smb-handle-rename-file): Rename directly only in case
3721 `newname' does not exist yet. This is a restriction of smbclient.
3722 (tramp-smb-maybe-open-connection): Rerun the function only when
3723 `auth-sources' is non-nil.
3724
3725 2013-09-08 Kenichi Handa <handa@gnu.org>
3726
3727 * international/characters.el: Set category "^" (Combining) for
3728 more characters.
3729
3730 2013-09-07 Alan Mackenzie <acm@muc.de>
3731
3732 Correctly fontify Java class constructors.
3733 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3734 in Java Mode.
3735 (c-recognize-typeless-decls): Set the Java value to t.
3736 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3737 While handling a "(", add a check for, effectively, Java, and handle a
3738 "typeless" declaration there.
3739
3740 2013-09-07 Roland Winkler <winkler@gnu.org>
3741
3742 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3743 field subtitle for entry type book.
3744
3745 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * minibuffer.el: Make minibuffer-complete call completion-in-region
3748 rather than other way around.
3749 (completion--some, completion-pcm--find-all-completions):
3750 Don't delay signals when debugging.
3751 (minibuffer-completion-contents): Beware fields within the
3752 minibuffer contents.
3753 (completion-all-sorted-completions): Use defvar-local.
3754 (completion--do-completion, completion--cache-all-sorted-completions)
3755 (completion-all-sorted-completions, minibuffer-force-complete):
3756 Add args `beg' and `end'.
3757 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3758 (minibuffer-complete): Use completion-in-region.
3759 (completion-complete-and-exit): New fun, extracted from
3760 minibuffer-complete-and-exit.
3761 (minibuffer-complete-and-exit): Use it.
3762 (completion--complete-and-exit): Rename from
3763 minibuffer--complete-and-exit.
3764 (completion-in-region--single-word): New function, extracted from
3765 minibuffer-complete-word.
3766 (minibuffer-complete-word): Use it.
3767 (display-completion-list): Make `common-substring' argument obsolete.
3768 (completion--in-region): Call completion--in-region-1 instead of
3769 minibuffer-complete.
3770 (completion-help-at-point): Pass boundaries to
3771 minibuffer-completion-help as args rather than via an overlay.
3772 (completion-pcm--string->pattern): Use `any-delim'.
3773 (completion-pcm--optimize-pattern): New function.
3774 (completion-pcm--pattern->regex): Handle `any-delim'.
3775 * icomplete.el (icomplete-forward-completions)
3776 (icomplete-backward-completions, icomplete-completions):
3777 Adjust calls to completion-all-sorted-completions and
3778 completion--cache-all-sorted-completions.
3779 (icomplete-with-completion-tables): Default to t.
3780 * emacs-lisp/crm.el (crm--current-element): Rename from
3781 crm--select-current-element. Don't put an overlay but return the
3782 boundaries instead.
3783 (crm--completion-command): Take two new args to bind to the boundaries.
3784 (crm-completion-help): Adjust accordingly.
3785 (crm-complete): Use completion-in-region.
3786 (crm-complete-word): Use completion-in-region--single-word.
3787 (crm-complete-and-exit): Use completion-complete-and-exit.
3788
3789 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3792 than dynamically.
3793
3794 2013-09-06 Juri Linkov <juri@jurta.org>
3795
3796 * info.el (Info-display-images-node): When image file doesn't exist
3797 display text version of the image if it's provided in the Info file.
3798 Otherwise, display the location of missing image from SRC attribute.
3799 Add help-echo text property from ALT attribute. (Bug#15279)
3800
3801 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3803 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3804 (edit-abbrevs-mode): Use define-derived-mode.
3805
3806 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3807 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3808 that it's defined.
3809 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3810 Use define-derived-mode.
3811
3812 * epg.el (epg-start-encrypt): Minor CSE simplification.
3813
3814 2013-09-06 William Xu <william.xwl@gmail.com>
3815
3816 * arc-mode.el: Add support for 7za (bug#15264).
3817 (archive-7z-program): New var.
3818 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3819 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3820 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3821
3822 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3823
3824 Remove URL syntax.
3825
3826 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3827 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3828 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3829 (tramp-postfix-host-format, tramp-file-name-regexp)
3830 (tramp-completion-file-name-regexp)
3831 (tramp-completion-dissect-file-name)
3832 (tramp-handle-substitute-in-file-name): Remove 'url case.
3833 (tramp-file-name-regexp-url)
3834 (tramp-completion-file-name-regexp-url): Remove constants.
3835
3836 2013-09-06 Glenn Morris <rgm@gnu.org>
3837
3838 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3839
3840 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3841
3842 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3843 keywords" below "here-doc beginnings" (Bug#15270).
3844
3845 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * subr.el (pop): Use `car-safe'.
3848 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3849 to detect unused `pop' return value.
3850
3851 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3852 var `block-regexp'.
3853 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3854 (python-fill-string): Remove unused var `marker'.
3855 (python-skeleton-add-menu-items): Remove unused var `items'.
3856
3857 * international/mule-cmds.el: Require CL.
3858 (find-coding-systems-for-charsets): Avoid add-to-list.
3859 (sanitize-coding-system-list): New function, extracted from
3860 select-safe-coding-system-interactively.
3861 (select-safe-coding-system-interactively): Use it.
3862 (read-input-method-name): Accept symbols for `default'.
3863
3864 * emacs-lisp/advice.el (defadvice): Add indent rule.
3865
3866 2013-09-05 Daniel Hackney <dan@haxney.org>
3867
3868 * dired-x.el:
3869 * net/ange-ftp.el:
3870 * net/browse-url.el:
3871 * net/dbus.el:
3872 * net/eudc.el:
3873 * net/eudcb-ldap.el:
3874 * net/eww.el:
3875 * net/imap.el:
3876 * printing.el:
3877 * vc/ediff-diff.el:
3878 * vc/ediff-init.el:
3879 * vc/ediff-merg.el:
3880 * vc/ediff-mult.el:
3881 * vc/ediff-util.el:
3882 * vc/ediff-wind.el:
3883 * vc/ediff.el:
3884 * vc/emerge.el:
3885 * vc/pcvs.el:
3886 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3887 byte compiler. Remove some unused let-bound variables.
3888
3889 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3892 a "ref-cell", since it gets better optimized (bug#14883).
3893
3894 2013-09-05 Glenn Morris <rgm@gnu.org>
3895
3896 * progmodes/cc-awk.el (c-forward-sws): Declare.
3897
3898 2013-09-04 Glenn Morris <rgm@gnu.org>
3899
3900 * generic-x.el [rul-generic-mode]: Require cc-mode.
3901 (c++-mode-syntax-table): Declare.
3902 (rul-generic-mode-syntax-table): Init in the defvar.
3903
3904 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3905
3906 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3907 (vc-do-command, vc-set-async-update):
3908 * vc/vc-mtn.el (vc-mtn-dir-status):
3909 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3910 (vc-hg-pull, vc-hg-merge-branch):
3911 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3912 (vc-git-merge-branch):
3913 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3914 (vc-cvs-dir-status-files):
3915 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3916 (vc-bzr-dir-status-files):
3917 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3918 * vc/vc-annotate.el: Use lexical-binding.
3919 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3920 (vc-sentinel-movepoint): Declare.
3921 (vc-annotate): Don't use `goto-line'.
3922 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3923 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3924 (vc-sentinel-movepoint): Declare.
3925 * vc/vc-svn.el: Use lexical-binding.
3926 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3927 * vc/vc-sccs.el:
3928 * vc/vc-rcs.el: Use lexical-binding.
3929
3930 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3931 `deleted'. Don't drop errors silently.
3932
3933 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3934
3935 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3936
3937 * vc/vc.el (vc-ignore): Rewrite.
3938 (vc-default-ignore): New function.
3939 (vc-default-ignore-completion-table): Use find-ignore-file.
3940
3941 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3942 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3943 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3944 Remove. Most code moved to vc.el.
3945
3946 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3949 * net/tramp-smb.el (tramp-smb-get-file-entries):
3950 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3951 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3952
3953 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3954 Update call to it.
3955 (eww-change-select): Remove unused var `properties'.
3956 (eww-make-unique-file-name): Remove unused var `base'.
3957
3958 * finder.el (finder-compile-keywords): Don't mess with windows.
3959
3960 * calculator.el (calculator-funcall): Fix typo in last change.
3961
3962 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3963
3964 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3965 <pkg>-autoloads.el file stop us.
3966
3967 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3968 warnings, and factor out common code.
3969
3970 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3971
3972 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3973 two-character operators and whether the character preceding them
3974 changes their meaning (Bug#15208).
3975
3976 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3977
3978 Format code sent to Python shell for robustness.
3979 * progmodes/python.el (python-shell-buffer-substring):
3980 New function.
3981 (python-shell-send-region, python-shell-send-buffer): Use it.
3982
3983 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3984
3985 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3986 * net/tramp.el (tramp-user-error): ... here.
3987 (tramp-find-method, tramp-check-proper-host)
3988 (tramp-dissect-file-name, tramp-debug-message)
3989 (tramp-handle-shell-command):
3990 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3991 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3992
3993 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3994
3995 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3996
3997 * avoid.el (mouse-avoidance-point-position)
3998 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3999 returns nil.
4000
4001 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4002
4003 * progmodes/python.el (python-shell-completion-get-completions):
4004 Drop use of deleted `comint-last-prompt-overlay'.
4005 (python-nav-if-name-main): New command.
4006
4007 2013-09-01 Glenn Morris <rgm@gnu.org>
4008
4009 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4010 Avoid leading space in $wins. Otherwise the sed command used by
4011 eg compile-main ends up containing "/*.el". (Bug#15170)
4012
4013 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4014
4015 2013-08-30 Glenn Morris <rgm@gnu.org>
4016
4017 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4018 Fix is-this-a-directory logic. (Bug#15220)
4019
4020 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4021
4022 * textmodes/css-mode.el: Use SMIE.
4023 (css-smie-grammar): New var.
4024 (css-smie--forward-token, css-smie--backward-token)
4025 (css-smie-rules): New functions.
4026 (css-mode): Use them.
4027 (css-navigation-syntax-table): Remove var.
4028 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4029 (css-indent-calculate, css-indent-line): Remove functions.
4030
4031 Misc changes to reduce use of `(lambda...); and other cleanups.
4032 * cus-edit.el: Use lexical-binding.
4033 (customize-push-and-save, customize-apropos)
4034 (custom-buffer-create-internal): Use closures.
4035 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4036 * progmodes/ada-xref.el: Use setq.
4037 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4038 * dframe.el: Use lexical-binding.
4039 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4040 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4041 * descr-text.el: Use lexical-binding.
4042 (describe-text-widget, describe-text-sexp, describe-property-list):
4043 Use closures.
4044 * comint.el (comint-history-isearch-push-state): Use a closure.
4045 * calculator.el: Use lexical-binding.
4046 (calculator-number-to-string): Make it work with lexical-binding.
4047 (calculator-funcall): Same and use cl-letf.
4048
4049 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4050 (lisp--company-doc-string, lisp--company-location): New functions.
4051 (lisp-completion-at-point): Use them to improve Company support.
4052
4053 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4054 params of lambda expressions.
4055 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4056 (ruby-smie--opening-pipe-p): New function.
4057 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4058 symbols and matched |...| for formal params.
4059 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4060 from being treated as hanging. Handle "rescue".
4061
4062 2013-08-29 Glenn Morris <rgm@gnu.org>
4063
4064 * progmodes/cc-engine.el (c-pull-open-brace):
4065 Move definition before use.
4066
4067 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4070 are immutable. Don't use `unsafe' any more.
4071 (cl--defsubst-expand): Don't substitute at the same time as keeping
4072 a residual unused let-binding. Don't use `unsafe' any more.
4073
4074 2013-08-29 Glenn Morris <rgm@gnu.org>
4075
4076 * calendar/cal-china.el (calendar-chinese-year-cache):
4077 Recenter on 2015.
4078
4079 * nxml/nxml-util.el (nxml-debug-clear-inside):
4080 Use cl-loop rather than loop.
4081
4082 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4083
4084 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4085
4086 2013-08-28 Glenn Morris <rgm@gnu.org>
4087
4088 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4089
4090 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4091
4092 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4093
4094 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * simple.el (repeat-complex-command--called-interactively-skip):
4097 New function.
4098 (repeat-complex-command): Use it (bug#14136).
4099
4100 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4101 (c-define-abbrev-table): Add `doc' argument.
4102 (c-mode-abbrev-table, c++-mode-abbrev-table)
4103 (objc-mode-abbrev-table, java-mode-abbrev-table)
4104 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4105 (awk-mode-abbrev-table): Use it.
4106 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4107 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4108 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4109 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4110 Move initialization into the declaration; and remove any
4111 autoload cookie.
4112
4113 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4114 and dynamic let binding.
4115
4116 * vc/smerge-mode.el: Remove redundant :group args.
4117
4118 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4119 to load-path.
4120
4121 2013-08-28 Juri Linkov <juri@jurta.org>
4122
4123 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4124 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4125 (isearch-other-meta-char): Handle an undefined shifted printing
4126 character by downshifting it. (Bug#15200)
4127
4128 2013-08-28 Juri Linkov <juri@jurta.org>
4129
4130 * isearch.el (isearch-search): Change regexp error message for
4131 non-regexp searches. (Bug#15166)
4132
4133 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4134
4135 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4136 for portability to hosts where /bin/sh has problems.
4137
4138 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4141
4142 2013-08-27 Juri Linkov <juri@jurta.org>
4143
4144 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4145 in the keyboard macro. (Bug#15126)
4146
4147 2013-08-27 Juri Linkov <juri@jurta.org>
4148
4149 * isearch.el (isearch-quote-char): Comment out converting unibyte
4150 to multibyte, thus syncing with its `quoted-insert' counterpart.
4151 (Bug#15166)
4152
4153 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4154
4155 * window.el (display-buffer-use-some-window): Add missing
4156 argument in call of get-largest-window (Bug#15185).
4157 Reported by Stephen Leake.
4158
4159 2013-08-27 Glenn Morris <rgm@gnu.org>
4160
4161 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4162
4163 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4164
4165 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4166 from a matcher-function unless there's no more matches (bug#15161).
4167
4168 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4169
4170 * minibuffer.el: Revert change from 2013-08-20.
4171
4172 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4173 with text property `tramp-default', if appropriate.
4174 (tramp-check-proper-host): New defun.
4175 (tramp-dissect-file-name): Do not check hostname. Revert change
4176 of 2013-03-18.
4177 (tramp-backtrace): Make VEC-OR-PROC optional.
4178
4179 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4180 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4181 * net/tramp-sh.el (tramp-maybe-open-connection):
4182 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4183 Apply `tramp-check-proper-host'.
4184
4185 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4186
4187 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4188 lambda expression in order to have `describe-variable' display it.
4189
4190 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4191
4192 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4193 BUF can be optional. (Bug#15186)
4194
4195 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4196
4197 * progmodes/flymake.el (flymake-get-real-file-name-function):
4198 Fix broken customization. (Bug#15184)
4199
4200 2013-08-25 Alan Mackenzie <acm@muc.de>
4201
4202 Improve indentation of bracelists defined by macros (without "=").
4203
4204 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4205 expansion begins with "{", regard it as bracelist when it doesn't
4206 contain a ";".
4207
4208 Parse C++ inher-intro when there's a template split over 2 lines.
4209
4210 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4211 rigorously the search for "class" etc. followed by ":".
4212
4213 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4214 random languages a regexp which never matches rather than nil.
4215
4216 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4217
4218 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4219 (c-awk-regexp-one-line-possibly-open-char-list-re)
4220 (c-awk-one-line-possibly-open-regexp-re)
4221 (c-awk-one-line-non-syn-ws*-re): Remove.
4222 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4223 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4224 (c-awk-space*-unclosed-regexp-/-re): New constants.
4225 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4226 aren't regexp delimiters.
4227
4228 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4229 handling for a rare situation in AWK Mode involving unterminated
4230 strings/regexps.
4231
4232 2013-08-23 Glenn Morris <rgm@gnu.org>
4233
4234 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4235
4236 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4237
4238 * files.el (create-file-buffer): If the result would begin with
4239 spaces, prepend a "|" instead of removing them. (Bug#15162)
4240
4241 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4242
4243 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4244 text-properties (bug#15155).
4245
4246 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4247 exist any more.
4248 (calc-keypad-redraw): Remove unused var `pad'.
4249 (calc-keypad-press): Remove unused var `menu'.
4250
4251 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4252
4253 * window.el (display-buffer-pop-up-frame):
4254 Call pop-up-frame-function with BUFFER current so `make-frame' will
4255 use it as the new frame's buffer (Bug#15133).
4256
4257 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * calendar/timeclock.el: Minor cleanups.
4260 (timeclock-ask-before-exiting, timeclock-use-display-time):
4261 Use `symbol'.
4262 (timeclock-modeline-display): Define as alias before the
4263 actual definition.
4264 (timeclock-mode-line-display): Use define-minor-mode.
4265 (timeclock-day-list-template): Make it a function, add an argument.
4266 (timeclock-day-list-required, timeclock-day-list-length)
4267 (timeclock-day-list-debt, timeclock-day-list-span)
4268 (timeclock-day-list-break): Adjust calls accordingly.
4269
4270 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4271
4272 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4273 Use read--expression so that completion works again.
4274
4275 2013-08-21 Sam Steingold <sds@gnu.org>
4276
4277 Add rudimentary inferior shell interaction
4278 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4279 (sh-set-shell): Reset it.
4280 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4281 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4282
4283 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 * align.el: Use lexical-binding.
4286 (align-region): Simplify accordingly.
4287
4288 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4289
4290 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4291
4292 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4293 `non-essential' up.
4294
4295 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4296
4297 * net/tramp.el:
4298 * net/tramp-adb.el:
4299 * net/tramp-cmds.el:
4300 * net/tramp-ftp.el:
4301 * net/tramp-gvfs.el:
4302 * net/tramp-gw.el:
4303 * net/tramp-sh.el: Don't wrap external variable declarations by
4304 `eval-when-compile'.
4305
4306 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4307
4308 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4309 now that Emacs supports ImageMagick animations.
4310
4311 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4312
4313 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4314 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4315
4316 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4317
4318 * window.el (mouse-autoselect-window-select): Do autoselect when
4319 mouse pointer is on margin.
4320
4321 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4322
4323 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4324
4325 2013-08-16 Glenn Morris <rgm@gnu.org>
4326
4327 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4328 Handle "Remote Directory" response of some clients. (Bug#15058)
4329
4330 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4331 Tweak warning. (Bug#14926)
4332
4333 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4334 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4335
4336 * image-mode.el (image-mode-map): Add menu items to reverse,
4337 increase, decrease, reset animation speed.
4338 (image--set-speed, image-increase-speed, image-decrease-speed)
4339 (image-reverse-speed, image-reset-speed): New functions.
4340 (image-mode-map): Add bindings for speed commands.
4341
4342 * image.el (image-animate-get-speed, image-animate-set-speed):
4343 New functions.
4344 (image-animate-timeout): Respect image :speed property.
4345
4346 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4349 previous line (bug#15101).
4350 (debugger-eval-expression, debugger-record-expression):
4351 Use read--expression (bug#15102).
4352
4353 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4354
4355 Remove byte compiler warnings, visible when compiling with
4356 `byte-compile-force-lexical-warnings' set to t.
4357
4358 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4359 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4360 (tramp-handle-unhandled-file-name-directory)
4361 (tramp-handle-file-notify-add-watch, tramp-action-login)
4362 (tramp-action-succeed, tramp-action-permission-denied)
4363 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4364 arguments with "_".
4365
4366 * net/tramp-adb.el (tramp-adb-parse-device-names)
4367 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4368 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4369 (tramp-adb-handle-file-truename): Remove unused arguments.
4370
4371 * net/tramp-cache.el (tramp-flush-directory-property)
4372 (tramp-flush-connection-property, tramp-list-connections)
4373 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4374
4375 * net/tramp-compat.el (tramp-compat-make-temp-file):
4376 Rename FILENAME to F.
4377
4378 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4379 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4380 (tramp-zeroconf-parse-workstation-device-names)
4381 (tramp-zeroconf-parse-webdav-device-names)
4382 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4383
4384 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4385 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4386
4387 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4388 arguments.
4389 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4390 (tramp-sh-handle-insert-file-contents-literally)
4391 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4392 with "_".
4393 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4394 Remove unused variables.
4395
4396 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4397 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4398 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4399
4400 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4401 Make them a defconst.
4402 (tramp-uuencode-region): Remove unused variable.
4403
4404 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4405
4406 * frameset.el (frameset--prop-setter): New function.
4407 (frameset-prop): Add gv-setter declaration.
4408 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4409 parameter was already set in FILTERED. Doc fix.
4410 (frameset--record-minibuffer-relationships): Allow saving a
4411 minibufferless frame without its corresponding minibuffer frame.
4412 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4413 frame, if the frame id matches.
4414 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4415 frames before orphaned ones.
4416 (frameset-restore): Warn about orphaned windows, instead of error out.
4417
4418 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4419
4420 * window.el (window-make-atom): Don't overwrite parameter
4421 already present.
4422 (display-buffer-in-atom-window): Handle special case where we
4423 split an already atomic window.
4424 (window--major-non-side-window, display-buffer-in-side-window)
4425 (window--side-check): Ignore minibuffer window when walking
4426 window tree.
4427 (window-deletable-p): Return 'frame only if no other frame uses
4428 our minibuffer window.
4429 (record-window-buffer): Run buffer-list-update-hook.
4430 (split-window): Make sure window--check-frame won't destroy an
4431 existing atomic window in case the new window gets nested
4432 inside.
4433 (display-buffer-at-bottom): Ignore minibuffer window when
4434 walking window tree. Don't split a side window.
4435 (pop-to-buffer): Don't set-buffer here, the select-window call
4436 should do that.
4437 (mouse-autoselect-window-select): Autoselect only if we are in the
4438 text portion of the window.
4439
4440 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4441
4442 * net/shr.el (shr-parse-image-data): New function to grab both the
4443 data itself and the Content-Type.
4444 (shr-put-image): Use it.
4445
4446 * net/eww.el (eww-display-image): Ditto.
4447
4448 * image.el (image-content-type-suffixes): New variable.
4449
4450 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4451
4452 * progmodes/python.el (python-imenu--build-tree)
4453 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4454
4455 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4456
4457 * simple.el (backward-word): Mention the optional argument.
4458
4459 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4460
4461 * frameset.el (frameset--make): Rename constructor from make-frameset.
4462 (frameset-p, frameset-valid-p): Don't autoload.
4463 (frameset-valid-p): Use normal accessors.
4464
4465 2013-08-13 Glenn Morris <rgm@gnu.org>
4466
4467 * progmodes/compile.el (compile-command): Tweak example in doc.
4468 * obsolete/scribe.el (scribe-mode):
4469 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4470
4471 * mail/feedmail.el (feedmail-confirm-outgoing)
4472 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4473
4474 * cus-start.el (truncate-partial-width-windows): Fix type.
4475
4476 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4477
4478 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4479
4480 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * emacs-lisp/timer.el (timer--time-setter): New function.
4483 (timer--time): Use it as gv-setter.
4484
4485 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4486 setter is not a symbol.
4487
4488 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4489
4490 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4491 if sending fails. This makes debugging easier.
4492
4493 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4494
4495 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4496 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4497 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4498
4499 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4500
4501 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4502
4503 2013-08-12 Glenn Morris <rgm@gnu.org>
4504
4505 * format.el (format-annotate-function):
4506 Handle read-only text properties in the source. (Bug#14887)
4507
4508 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4509
4510 * net/eww.el (eww-display-html): Ignore coding system errors.
4511 One web site uses "utf-8lias" as the coding system.
4512
4513 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4514
4515 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4516
4517 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4518
4519 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4520 (tutorial--detailed-help): Remove unused local variables.
4521 (tutorial--save-tutorial-to): Use ignore-errors.
4522 (help-with-tutorial): Use looking-at-p.
4523
4524 * view.el (view-buffer-other-window, view-buffer-other-frame):
4525 Mark unused arguments.
4526
4527 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4528 (woman-select-symbol-fonts, woman, woman-find-file)
4529 (woman-insert-file-contents, woman-non-underline-faces):
4530 Use string-match-p.
4531 (woman1-unquote): Move declaration.
4532
4533 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4534 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4535 argument. Remove unused local variable.
4536 (xml-parse-elem-type): Use string-match-p.
4537 (xml-substitute-numeric-entities): Use ignore-errors.
4538
4539 * calculator.el (calculator): Mark unused argument.
4540 (calculator-paste, calculator-quit, calculator-integer-p):
4541 Use ignore-errors.
4542 (calculator-string-to-number, calculator-decimal, calculator-exp)
4543 (calculator-op-or-exp): Use string-match-p.
4544
4545 * dired.el (dired-buffer-more-recently-used-p): Declare.
4546 (dired-insert-set-properties, dired-insert-old-subdirs):
4547 Use ignore-errors.
4548
4549 * dired-aux.el (dired-compress): Use ignore-errors.
4550 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4551 (dired-do-async-shell-command, dired-do-shell-command)
4552 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4553 (dired-insert-subdir-validate): Use string-match-p.
4554 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4555 (dired-add-entry): Use string-match-p, looking-at-p.
4556 (dired-insert-subdir-newpos): Remove unused local variable.
4557
4558 * filenotify.el (file-notify-callback): Remove unused local variable.
4559
4560 * filesets.el (filesets-error): Mark unused argument.
4561 (filesets-which-command-p, filesets-filter-dir-names)
4562 (filesets-directory-files, filesets-get-external-viewer)
4563 (filesets-ingroup-get-data): Use string-match-p.
4564
4565 * find-file.el (ff-other-file-name, ff-other-file-name)
4566 (ff-find-the-other-file, ff-cc-hh-converter):
4567 Remove unused local variables.
4568 (ff-get-file-name): Use string-match-p.
4569 (ff-all-dirs-under): Use ignore-errors.
4570
4571 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4572 (follow-select-if-visible): Remove unused local variable.
4573
4574 * forms.el (read-file-filter): Move declaration.
4575 (forms--make-format, forms--make-parser, forms-insert-record):
4576 Quote function with #'.
4577 (forms--update): Use string-match-p. Quote function with #'.
4578
4579 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4580 (help-make-xrefs): Use looking-at-p.
4581 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4582
4583 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4584 (ibuffer-confirm-operation-on): Use string-match-p.
4585
4586 * msb.el (msb-item-handler, msb-dired-item-handler):
4587 Mark unused arguments.
4588
4589 * ses.el (ses-decode-cell-symbol)
4590 (ses-kill-override): Remove unused local variable.
4591 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4592 (ses-load): Use ignore-errors, looking-at-p.
4593 (ses-jump-safe): Use ignore-errors.
4594 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4595
4596 * tabify.el (untabify, tabify): Mark unused arguments.
4597
4598 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4599 Mark unused argument.
4600 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4601 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4602
4603 * emacs-lisp/timer.el (timer--time): Define setter with
4604 gv-define-setter to avoid deprecation warning.
4605
4606 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4607 (*record-cmpl-statistics-p*): Remove (was commented out).
4608 (cmpl-statistics-block): Remove (body was commented out).
4609 All callers changed.
4610 (add-completions-from-buffer, load-completions-from-file):
4611 Remove unused variables.
4612
4613 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4614
4615 * filecache.el (file-cache-delete-file-list):
4616 Print message only when told so.
4617 (file-cache-files-matching): Use #' in mapconcat argument.
4618
4619 * ffap.el (ffap-url-at-point): Fix reference to variable
4620 thing-at-point-default-mail-uri-scheme.
4621
4622 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * subr.el (define-error): New function.
4625 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4626 error-file-not-found and define with define-error.
4627 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4628 and define with define-error.
4629 * userlock.el (file-locked, file-supersession):
4630 * simple.el (mark-inactive):
4631 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4632 * progmodes/ada-mode.el (ada-mode-errors):
4633 * play/life.el (life-extinct):
4634 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4635 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4636 * nxml/rng-util.el (rng-error):
4637 * nxml/rng-uri.el (rng-uri-error):
4638 * nxml/rng-match.el (rng-compile-error):
4639 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4640 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4641 * nxml/nxml-rap.el (nxml-scan-error):
4642 * nxml/nxml-outln.el (nxml-outline-error):
4643 * net/soap-client.el (soap-error):
4644 * net/gnutls.el (gnutls-error):
4645 * net/ange-ftp.el (ftp-error):
4646 * mpc.el (mpc-proc-error):
4647 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4648 (json-number-format, json-string-escape, json-string-format)
4649 (json-key-format, json-object-format):
4650 * jka-compr.el (compression-error):
4651 * international/quail.el (quail-error):
4652 * international/kkc.el (kkc-error):
4653 * emacs-lisp/ert.el (ert-test-failed):
4654 * calc/calc.el (calc-error, inexact-result, math-overflow)
4655 (math-underflow):
4656 * bookmark.el (bookmark-error-no-filename):
4657 * epg.el (epg-error): Define with define-error.
4658
4659 * time.el (display-time-event-handler)
4660 (display-time-next-load-average): Don't call sit-for since it seems
4661 unnecessary (bug#15045).
4662
4663 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4664 Use #' instead of ' to quote functions.
4665 (checkdoc-output-mode): Use setq-local.
4666 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4667 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4668 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4669 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4670 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4671 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4672 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4673 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4674
4675 * ido.el (ido-completion-help): Fix up compiler warning.
4676
4677 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4678
4679 * frameset.el (frameset-p): Add autoload cookie.
4680 (frameset--jump-to-register): New function, based on code moved from
4681 register.el.
4682 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4683
4684 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4685 (frameset-restore, frameset-save, frameset-session-filter-alist):
4686 Remove declarations.
4687 (register-alist): Doc fix.
4688 (frameset-to-register): Move to frameset.el.
4689 (jump-to-register, describe-register-1): Remove frameset-specific code.
4690
4691 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4692
4693 * allout-widgets.el (allout-widgets-pre-command-business)
4694 (allout-widgets-post-command-business)
4695 (allout-widgets-after-change-handler)
4696 (allout-decorate-item-and-context, allout-set-boundary-marker)
4697 (allout-body-modification-handler)
4698 (allout-graphics-modification-handler): Mark ignored arguments.
4699 (allout-widgets-post-command-business)
4700 (allout-widgets-exposure-change-processor)
4701 (allout-widgets-exposure-undo-processor)
4702 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4703 (allout-parse-item-at-point, allout-decorate-item-guides)
4704 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4705 * allout.el (epa-passphrase-callback-function): Declare.
4706 (allout-overlay-insert-in-front-handler)
4707 (allout-overlay-interior-modification-handler)
4708 (allout-isearch-end-handler, allout-chart-siblings)
4709 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4710 (allout-yank-processing, allout-process-exposed)
4711 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4712 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4713 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4714 (lisp-indent-defform): Mark ignored arguments.
4715 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4716 (calculate-lisp-indent): Remove unused variables.
4717 * international/characters.el (indian-2-column, arabic-2-column)
4718 (tibetan): Mark ignored arguments.
4719 (use-cjk-char-width-table): Mark ignored arguments.
4720 Remove unused variables.
4721 * international/fontset.el (build-default-fontset-data)
4722 (x-compose-font-name, create-fontset-from-fontset-spec):
4723 Mark ignored arguments.
4724 (fontset-plain-name): Remove unused variables.
4725 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4726 (keyboard-coding-system): Mark ignored arguments.
4727 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4728 * help.el (resize-temp-buffer-window):
4729 * window.el (display-buffer-in-major-side-window)
4730 (display-buffer-in-side-window, display-buffer-in-previous-window):
4731 Remove unused variables.
4732 * isearch.el (isearch-forward-symbol):
4733 * version.el (emacs-bzr-version-bzr):
4734 * international/mule-cmds.el (current-language-environment):
4735 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4736 (x-handle-display):
4737 * term/pc-win.el (x-list-fonts, x-display-planes)
4738 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4739 (x-server-version, x-display-screens, x-display-mm-height)
4740 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4741 (x-selection-owner-p, x-own-selection-internal)
4742 (x-disown-selection-internal, x-get-selection-internal)
4743 (msdos-initialize-window-system):
4744 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4745 * term/x-win.el (x-handle-no-bitmap-icon):
4746 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4747 (vc-default-find-file-hook, vc-default-extra-menu):
4748 Mark ignored arguments.
4749
4750 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4751
4752 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4753 break-condition in the context of the debugged code (bug#12685).
4754
4755 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4756
4757 * comint.el:
4758 Do not use an overlay to highlight the last prompt. (Bug#14744)
4759 (comint-mode): Make comint-last-prompt buffer local.
4760 (comint-last-prompt): New variable.
4761 (comint-last-prompt-overlay): Remove. Superseded by
4762 comint-last-prompt.
4763 (comint-snapshot-last-prompt, comint-output-filter):
4764 Use comint-last-prompt.
4765
4766 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4767
4768 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4769 (frameset-save): Check validity of the resulting frameset.
4770
4771 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4772
4773 * ido.el (ido-record-command): Add doc string.
4774
4775 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4776
4777 * frameset.el (frameset): Do not disable creation of the default
4778 frameset-p predicate. Doc fix.
4779 (frameset-valid-p): New function, copied from the old predicate-p.
4780 Add additional checks.
4781 (frameset-restore): Check with frameset-valid-p.
4782 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4783 (frameset-name, frameset-description, frameset-properties)
4784 (frameset-states): Add docstring.
4785 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4786 (frameset-filter-alist): Doc fixes.
4787
4788 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4789
4790 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4791
4792 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4795 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4796 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4797 (byte-compile-normal-call): Remove obsolescence check.
4798
4799 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4800
4801 * frameset.el (frameset-restore): Doc fix.
4802
4803 * register.el (frameset-frame-id, frameset-frame-with-id)
4804 (frameset-p, frameset-restore, frameset-save): Declare.
4805 (register-alist): Document framesets.
4806 (frameset-session-filter-alist): Declare.
4807 (frameset-to-register): New function.
4808 (jump-to-register): Implement jumping to framesets. Doc fix.
4809 (describe-register-1): Describe framesets.
4810
4811 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4812
4813 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4814
4815 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4816 Use lexical-binding.
4817
4818 * frameset.el (frameset): Use type vector, not list (incompatible
4819 change). Do not declare a new constructor, use the default one.
4820 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4821 `name' and `description', respectively, and add read-only slot
4822 `timestamp'. Doc fixes.
4823 (frameset-copy, frameset-persistent-filter-alist)
4824 (frameset-filter-alist, frameset-switch-to-gui-p)
4825 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4826 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4827 (frameset-filter-iconified, frameset-keep-original-display-p):
4828 Doc fixes.
4829 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4830 Rename from frameset-filter-(save|restore)-param. All callers changed.
4831 Doc fix.
4832 (frameset-p): Adapt to change to vector and be more thorough.
4833 Change arg name to OBJECT. Doc fix.
4834 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4835 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4836 All callers changed.
4837 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4838 All callers changed.
4839 (frameset--record-minibuffer-relationships): Rename from
4840 frameset--process-minibuffer-frames. All callers changed.
4841 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4842 Use new default constructor (again). Doc fix.
4843 (frameset--find-frame-if): Rename from `frameset--find-frame.
4844 All callers changed.
4845 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4846 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4847 Doc fix.
4848 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4849 PARAMETERS and WINDOW-STATE, respectively.
4850 (frameset-restore): Add new keyword argument PREDICATE.
4851 Reset frameset--target-display to nil. Doc fix.
4852
4853 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4856 (bat-mode): Use it.
4857 (bat-mode-syntax-table): Mark \n as end-of-comment.
4858 (bat-font-lock-keywords): Remove comment rule.
4859
4860 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4861 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4862
4863 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4864 (byte-compile-callargs-warn): Use `push'.
4865 (byte-compile-arglist-warn): Ignore higher-order "calls".
4866 (byte-compile-file-form-autoload): Use `pcase'.
4867 (byte-compile-function-form): If quoting a symbol, check that it exists.
4868
4869 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4870
4871 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4872 and add a few popular commands found in batch files.
4873 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4874 (dos-mode): Doc fixes.
4875
4876 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4879 (dos-mode): Use setq-local. Add space after "rem".
4880 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4881 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4882
4883 2013-08-07 Arni Magnusson <arnima@hafro.is>
4884
4885 * progmodes/dos.el: New file.
4886 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4887 dos-mode.
4888
4889 2013-08-06 Glenn Morris <rgm@gnu.org>
4890
4891 * calendar/calendar.el: Add new faces, and day-header-array.
4892 (calendar-weekday-header, calendar-weekend-header)
4893 (calendar-month-header): New faces.
4894 (calendar-day-header-construct): New function.
4895 (calendar-day-header-width): Also :set calendar-day-header-array.
4896 (calendar-american-month-header, calendar-european-month-header)
4897 (calendar-iso-month-header): Use calendar- faces.
4898 (calendar-generate-month):
4899 Use calendar-day-header-array for day headers; apply faces to them.
4900 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4901 (calendar-abbrev-construct): Add optional maxlen argument.
4902 (calendar-day-name-array): Doc fix.
4903 (calendar-day-name-array, calendar-abbrev-length)
4904 (calendar-day-abbrev-array):
4905 Also :set calendar-day-header-array, and maybe redraw.
4906 (calendar-day-header-array): New option. (Bug#15007)
4907 (calendar-font-lock-keywords): Set to nil and make obsolete.
4908 (calendar-day-name): Add option to use header array.
4909
4910 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4911
4912 * net/shr.el (shr-render-td): Remove debugging.
4913 (shr-render-td): Make width computation consistent by defaulting
4914 all zero-width columns to 10 characters. This may not be optimal,
4915 but it's at least consistent.
4916 (shr-make-table-1): Redo last change to fix the real problem in
4917 colspan handling.
4918
4919 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4920
4921 * files.el (cache-long-line-scans):
4922 Make obsolete alias to `cache-long-scans'.
4923
4924 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4925
4926 * frameset.el (frameset, frameset-filter-alist)
4927 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4928 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4929 (frameset-compute-pos): Rename from frameset--compute-pos,
4930 and add docstring.
4931 (frameset-move-onscreen): Use frameset-compute-pos.
4932 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4933
4934 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4935 Fix typos in docstrings.
4936
4937 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4938
4939 * frame.el (get-other-frame): Tiny cleanup.
4940
4941 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4942
4943 * vc/vc.el (vc-default-ignore-completion-table):
4944 Silence byte-compiler warning.
4945
4946 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4947 slot , which can indeed be nil.
4948 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4949 Move entry for `left' from persistent to live filter alist.
4950 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4951 Doc fixes.
4952 (frameset-filter-params): When restoring a frame, copy items added to
4953 `filtered', to avoid unwittingly modifying the original parameters.
4954 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4955 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4956
4957 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4958 to use looking-at-p instead of looking-at. (Bug#15028)
4959
4960 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 Revert introduction of isearch-filter-predicates (bug#14714).
4963 Rely on add-function instead.
4964 * isearch.el (isearch-filter-predicates): Rename it back to
4965 isearch-filter-predicate.
4966 (isearch-message-prefix): Use advice-function-mapc and advice
4967 properties to get the isearch-message-prefix.
4968 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4969 instead of run-hook-with-args-until-failure.
4970 (isearch-filter-visible): Not obsolete any more.
4971 * loadup.el: Preload nadvice.
4972 * replace.el (perform-replace): Revert to funcall
4973 instead of run-hook-with-args-until-failure.
4974 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4975 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4976 dired-isearch-filenames-toggle; make it into a proper minor mode.
4977 Use add/remove-function.
4978 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4979 Call the minor-mode rather than add/remove-hook.
4980 (dired-isearch-filter-filenames):
4981 Remove isearch-message-prefix property.
4982 * info.el (Info--search-loop): New function, extracted from Info-search.
4983 Funcall isearch-filter-predicate instead of
4984 run-hook-with-args-until-failure isearch-filter-predicates.
4985 (Info-search): Use it.
4986 (Info-mode): Use isearch-filter-predicate instead of
4987 isearch-filter-predicates.
4988
4989 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4990
4991 Do not call to `selected-window' where it is assumed by default.
4992 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4993 `window-hscroll', `window-width', `window-height', `window-buffer',
4994 `window-frame', `window-start', `window-point', `next-window'
4995 and `window-display-table'.
4996 * abbrev.el (abbrev--default-expand):
4997 * bs.el (bs--show-with-configuration):
4998 * buff-menu.el (Buffer-menu-mouse-select):
4999 * calc/calc.el (calc):
5000 * calendar/calendar.el (calendar-generate-window):
5001 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5002 (diary-make-entry):
5003 * comint.el (send-invisible, comint-dynamic-complete-filename)
5004 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5005 * completion.el (complete):
5006 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5007 * disp-table.el (describe-current-display-table):
5008 * doc-view.el (doc-view-insert-image):
5009 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5010 * ehelp.el (with-electric-help):
5011 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5012 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5013 * emacs-lisp/helper.el (Helper-help-scroller):
5014 * emulation/cua-base.el (cua--post-command-handler-1):
5015 * eshell/esh-mode.el (eshell-output-filter):
5016 * ffap.el (ffap-gnus-wrapper):
5017 * help-macro.el (make-help-screen):
5018 * hilit-chg.el (highlight-compare-buffers):
5019 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5020 * hl-line.el (global-hl-line-highlight):
5021 * icomplete.el (icomplete-simple-completing-p):
5022 * isearch.el (isearch-done):
5023 * jit-lock.el (jit-lock-stealth-fontify):
5024 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5025 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5026 * mpc.el (mpc-tagbrowser, mpc):
5027 * net/rcirc.el (rcirc-any-buffer):
5028 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5029 * play/landmark.el (landmark-max-width, landmark-max-height):
5030 * play/zone.el (zone):
5031 * progmodes/compile.el (compilation-goto-locus):
5032 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5033 * progmodes/etags.el (find-tag-other-window):
5034 * progmodes/fortran.el (fortran-column-ruler):
5035 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5036 * progmodes/verilog-mode.el (verilog-point-text):
5037 * reposition.el (reposition-window):
5038 * rot13.el (toggle-rot13-mode):
5039 * server.el (server-switch-buffer):
5040 * shell.el (shell-dynamic-complete-command)
5041 (shell-dynamic-complete-environment-variable):
5042 * simple.el (insert-buffer, set-selective-display)
5043 (delete-completion-window):
5044 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5045 (speedbar-recenter):
5046 * startup.el (fancy-splash-head):
5047 * textmodes/ispell.el (ispell-command-loop):
5048 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5049 * tutorial.el (help-with-tutorial):
5050 * vc/add-log.el (add-change-log-entry):
5051 * vc/compare-w.el (compare-windows):
5052 * vc/ediff-help.el (ediff-indent-help-message):
5053 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5054 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5055 (ediff-setup-control-frame):
5056 * vc/emerge.el (emerge-position-region):
5057 * vc/pcvs-util.el (cvs-bury-buffer):
5058 * window.el (walk-windows, mouse-autoselect-window-select):
5059 * winner.el (winner-set-conf, winner-undo): Related users changed.
5060
5061 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5062
5063 * frameset.el (frameset--set-id): Doc fix.
5064 (frameset-frame-id, frameset-frame-id-equal-p)
5065 (frameset-locate-frame-id): New functions.
5066 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5067 (frameset-restore): Use them.
5068
5069 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5070
5071 Do not call to `selected-frame' where it is assumed by default.
5072 Affected functions are `raise-frame', `redraw-frame',
5073 `frame-first-window', `frame-terminal' and `delete-frame'.
5074 * calendar/appt.el (appt-disp-window):
5075 * epg.el (epg-wait-for-completion):
5076 * follow.el (follow-delete-other-windows-and-split)
5077 (follow-avoid-tail-recenter):
5078 * international/mule.el (set-terminal-coding-system):
5079 * mail/rmail.el (rmail-mail-return):
5080 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5081 * progmodes/f90.el (f90-add-imenu-menu):
5082 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5083 * server.el (server-switch-buffer):
5084 * simple.el (delete-completion-window):
5085 * talk.el (talk):
5086 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5087 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5088 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5089 * vc/ediff.el (ediff-documentation): Related users changed.
5090 * frame.el (selected-terminal): Remove the leftover.
5091
5092 2013-08-05 Glenn Morris <rgm@gnu.org>
5093
5094 * calendar/calendar.el (calendar-generate-month):
5095 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5096 (calendar-generate-month, calendar-font-lock-keywords):
5097 Fix for calendar-day-header-width > length of any day name.
5098
5099 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5100
5101 * desktop.el (desktop-clear): Use new name of sort predicate.
5102
5103 * frameset.el (frameset): Add docstring. Move :version property to its
5104 own `version' slot.
5105 (frameset-copy): Rename from copy-frameset.
5106 (frameset-p): Check more thoroughly.
5107 (frameset-prop): Do not check for :version, which is no longer a prop.
5108 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5109 Use new :never value instead of t.
5110 (frameset-filter-alist): Expand and clarify docstring.
5111 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5112 (frameset-filter-minibuffer, frameset-filter-save-param)
5113 (frameset-filter-restore-param, frameset-filter-iconified):
5114 Add pointer to docstring of frameset-filter-alist.
5115 (frameset-filter-params): Rename filter values to be more meaningful:
5116 :never instead of t, and reverse the meanings of :save and :restore.
5117 (frameset--process-minibuffer-frames): Clarify error message.
5118 (frameset-save): Avoid unnecessary and confusing call to framep.
5119 Use new BOA constructor for framesets.
5120 (frameset--reuse-list): Doc fix.
5121 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5122 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5123 (frameset-minibufferless-first-p): Doc fix.
5124 Rename from frameset-sort-frames-for-deletion.
5125 (frameset-restore): Doc fixes. Use new function names.
5126 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5127
5128 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5129
5130 * desktop.el (desktop-restore-forces-onscreen)
5131 (desktop-restore-reuses-frames): Document :keyword constant values.
5132 (desktop-filter-parameters-alist): Remove, now identical to
5133 frameset-filter-alist.
5134 (desktop--filter-tty*): Remove, moved to frameset.el.
5135 (desktop-save-frameset, desktop-restore-frameset):
5136 Do not pass :filters argument.
5137
5138 * frameset.el (frameset-live-filter-alist)
5139 (frameset-persistent-filter-alist): New variables.
5140 (frameset-filter-alist): Use them. Add autoload cookie.
5141 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5142 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5143 `frameset--id' (it's supposed to be internal to frameset.el).
5144 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5145 (frameset--initial-params): New function.
5146 (frameset--get-frame): Use it. Doc fix.
5147 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5148 Accept :all, not 'all.
5149 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5150 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5151 with fbound symbols. Fix frame id matching, and remove matching ids if
5152 the frame being restored is deleted. Obey :delete.
5153
5154 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5155
5156 * subr.el (macrop): New function.
5157 (text-clone--maintaining): New var.
5158 (text-clone--maintain): Rename from text-clone-maintain. Use it
5159 instead of inhibit-modification-hooks.
5160
5161 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5162 a proxy, so as handle autoloads and redefinitions of the target.
5163 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5164
5165 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5166 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5167 (pcase--mutually-exclusive-p): New function.
5168 (pcase--split-consp): Use it.
5169 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5170 mutually exclusive with the current predicate.
5171
5172 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5173 (edebug-macrop): Remove. Use `macrop' instead.
5174 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5175 (ad-macro-p):
5176 * eshell/esh-cmd.el (eshell-macrop):
5177 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5178
5179 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5182 (advice-mapc): New function, using it.
5183 (advice-function-member-p): New function.
5184 (advice--normalize): Store the cdr in advice--saved-rewrite since
5185 that's the part that will be changed.
5186 (advice--symbol-function): New function.
5187 (advice-remove): Handle removal before the function is defined.
5188 Adjust to new advice--saved-rewrite.
5189 (advice-member-p): Use advice-function-member-p and
5190 advice--symbol-function.
5191
5192 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5193
5194 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5195 (frameset-filter-minibuffer): Doc fix.
5196 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5197 (frameset--set-id, frameset--process-minibuffer-frames)
5198 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5199 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5200
5201 * desktop.el (desktop-clear): Only delete frames when called
5202 interactively and desktop-restore-frames is non-nil. Doc fix.
5203 (desktop-read): Set desktop-saved-frameset to nil.
5204
5205 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5206
5207 * vc/vc.el (vc-ignore): Rewrite.
5208 (vc-default-ignore-completion-table):
5209 (vc--read-lines):
5210 (vc--add-line, vc--remove-regexp): New functions.
5211
5212 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5213 (vc-svn-ignore-completion-table): New function.
5214
5215 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5216 (vc-hg-ignore-completion-table):
5217 (vc-hg-find-ignore-file): New functions.
5218
5219 * vc/vc-git.el (vc-git-ignore): Rewrite.
5220 (vc-git-ignore-completion-table):
5221 (vc-git-find-ignore-file): New functions.
5222
5223 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5224
5225 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5226 (vc-bzr-ignore-completion-table):
5227 (vc-bzr-find-ignore-file): New functions.
5228
5229 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5230
5231 * frameset.el (frameset-prop): New function and setter.
5232 (frameset-save): Do not modify frame list passed by the caller.
5233
5234 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5237
5238 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5241 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5242
5243 * custom.el (custom-initialize-default, custom-initialize-set)
5244 (custom-initialize-reset, custom-initialize-changed): Affect the
5245 toplevel-default-value (bug#6275, bug#14586).
5246 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5247 for bug#6275.
5248
5249 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5250
5251 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5252 Add cl-def* expressions.
5253
5254 * frameset.el (frameset-filter-params): Fix order of arguments.
5255
5256 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5257
5258 Move code related to saving frames to frameset.el.
5259 * desktop.el: Require frameset.
5260 (desktop-restore-frames): Doc fix.
5261 (desktop-restore-reuses-frames): Rename from
5262 desktop-restoring-reuses-frames.
5263 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5264 (desktop-clear): Clear frames too.
5265 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5266 (desktop--filter-tty*, desktop-save, desktop-read):
5267 Use frameset functions.
5268 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5269 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5270 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5271 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5272 (desktop--process-minibuffer-frames, desktop-save-frames)
5273 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5274 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5275 (desktop--sort-states, desktop-restoring-frames-p)
5276 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5277 (desktop-restoring-frameset-p, desktop-restore-frameset)
5278 (desktop--check-dont-save, desktop-save-frameset): New functions.
5279 (desktop--app-id): New constant.
5280 (desktop-first-buffer, desktop-buffer-ok-count)
5281 (desktop-buffer-fail-count): Move before first use.
5282 * frameset.el: New file.
5283
5284 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * files.el: Use lexical-binding.
5287 (dir-locals-read-from-file): Remove unused `err' variable.
5288 (hack-dir-local-variables--warned-coding): New var.
5289 (hack-dir-local-variables): Use it to avoid repeated warnings.
5290 (make-backup-file-name--default-function): New function.
5291 (make-backup-file-name-function): Use it as default.
5292 (buffer-stale--default-function): New function.
5293 (buffer-stale-function): Use it as default.
5294 (revert-buffer-insert-file-contents--default-function): New function.
5295 (revert-buffer-insert-file-contents-function): Use it as default.
5296 (insert-directory): Avoid add-to-list.
5297
5298 * autorevert.el (auto-revert-handler): Simplify.
5299 Use buffer-stale--default-function.
5300
5301 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5302
5303 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5304
5305 * whitespace.el (whitespace-ensure-local-variables): New function.
5306 (whitespace-cleanup-region): Call it.
5307 (whitespace-turn-on): Call it.
5308
5309 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5310
5311 Complete file name handlers.
5312
5313 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5314 (tramp-handle-verify-visited-file-modtime)
5315 (tramp-handle-file-notify-rm-watch): New functions.
5316 (tramp-call-process): Do not bind `default-directory'.
5317
5318 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5319 Order alphabetically.
5320 [access-file, add-name-to-file, dired-call-process]:
5321 [dired-compress-file, file-acl, file-notify-rm-watch]:
5322 [file-ownership-preserved-p, file-selinux-context]:
5323 [make-directory-internal, make-symbolic-link, set-file-acl]:
5324 [set-file-selinux-context, set-visited-file-modtime]:
5325 [verify-visited-file-modtime]: Add handler.
5326 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5327
5328 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5329 [file-notify-add-watch, file-notify-rm-watch]:
5330 [set-file-times, set-visited-file-modtime]:
5331 [verify-visited-file-modtime]: Add handler.
5332 (with-tramp-gvfs-error-message)
5333 (tramp-gvfs-handle-set-visited-file-modtime)
5334 (tramp-gvfs-fuse-file-name): Remove.
5335 (tramp-gvfs-handle-file-notify-add-watch)
5336 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5337 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5338
5339 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5340 Order alphabetically.
5341 [file-notify-rm-watch ]: Use default Tramp handler.
5342 [executable-find]: Remove private handler.
5343 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5344 `default-directory'.
5345 (tramp-sh-handle-executable-find)
5346 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5347 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5348 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5349 Do not use `format' in `tramp-message'.
5350
5351 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5352 [file-notify-rm-watch, set-visited-file-modtime]:
5353 [verify-visited-file-modtime]: Add handler.
5354 (tramp-smb-call-winexe): Do not bind `default-directory'.
5355
5356 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5357
5358 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5359
5360 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5361
5362 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5363 use it.
5364 (log-view-diff-changeset): Same.
5365 (log-view-diff-common): Call backend command `previous-revision'
5366 to find out the previous revision, in both cases. Swap the
5367 variables `to' and `fr', so that `fr' usually refers to the
5368 earlier revision (Bug#14989).
5369
5370 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5371
5372 * ibuf-ext.el (ibuffer-filter-by-filename):
5373 Make it work with dired buffers too.
5374
5375 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5376
5377 * emacs-lisp/re-builder.el (reb-color-display-p):
5378 * files.el (save-buffers-kill-terminal):
5379 * net/browse-url.el (browse-url):
5380 * server.el (server-save-buffers-kill-terminal):
5381 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5382 Prefer nil to selected-frame for the first arg of frame-parameter.
5383
5384 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5385
5386 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5387
5388 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5389
5390 * minibuffer.el (completion--twq-all): Try and preserve each
5391 completion's case choice (bug#14907).
5392
5393 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5394
5395 * net/network-stream.el (open-network-stream): Mention the new
5396 :nogreeting parameter.
5397 (network-stream-open-starttls): Use the :nogreeting parameter
5398 (bug#14938).
5399
5400 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5401
5402 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5403 more natural than popping.
5404
5405 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5406 (shr-urlify): Highlight under mouse.
5407
5408 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5409
5410 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5411
5412 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5413
5414 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5415 buffer for output.
5416
5417 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5418 point-min==1. Fix search string. Fix parentheses missing.
5419
5420 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5421 assume point-min==1. Fix search string. Fix parentheses missing.
5422
5423 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5424
5425 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5426 buffer for output.
5427
5428 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5429
5430 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5431 initial frame is minibuffer-less. (Bug#14841)
5432
5433 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5434
5435 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5436 option.
5437
5438 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5439 (tramp-maybe-open-connection): Use it.
5440
5441 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5442
5443 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5444 minimal set of parameters passed when creating a frame, because
5445 the minibuffer status of a frame cannot be changed later.
5446
5447 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5448
5449 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5450 replace-regexp-in-string and inadvertent omissions in previous change.
5451 (todo-filter-items): Ensure only file names are comma-separated in
5452 name of filtered items buffer.
5453
5454 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5455
5456 * desktop.el: Optionally force offscreen frames back onscreen.
5457 (desktop-restoring-reuses-frames): New option.
5458 (desktop--compute-pos, desktop--move-onscreen): New functions.
5459 (desktop--make-frame): Use desktop--move-onscreen.
5460
5461 2013-07-27 Alan Mackenzie <acm@muc.de>
5462
5463 Fontify a Java generic method as a function.
5464 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5465 value to t.
5466
5467 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5468
5469 * calendar/todo-mode.el: Add command to rename todo files.
5470 (todo-rename-file): New command.
5471 (todo-key-bindings-t): Add key binding for it. Change the
5472 bindings of todo-filter-regexp-items(-multifile) to use `x'
5473 instead of `r', since the latter is better suited to the new
5474 renaming command.
5475
5476 2013-07-27 Alan Mackenzie <acm@muc.de>
5477
5478 Make Java try-with-resources statement parse properly.
5479 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5480 (c-block-stmt-1-2-key): New language constants/variables.
5481 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5482 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5483 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5484 with c-block-stmt-1-2-key.
5485
5486 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5487
5488 * desktop.el (desktop--make-frame): Apply most frame parameters after
5489 creating the frame to force (partially or totally) offscreen frames to
5490 be restored as such.
5491
5492 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5493
5494 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5495 (Bug#14948)
5496
5497 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5498
5499 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5500 `base' arg of backtrace-frame.
5501
5502 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5503
5504 * simple.el (list-processes): Doc fix.
5505
5506 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5507
5508 * desktop.el (desktop--select-frame):
5509 Try harder to reuse existing frames.
5510
5511 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5512
5513 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5514 (edebug-eval): Use backtrace-eval.
5515 (edebug--display, edebug--recursive-edit): Don't let-bind the
5516 edebug-outer-* vars that keep track of variables we locally let-bind.
5517 (edebug-outside-excursion): Don't restore outside values of locally
5518 let-bound vars.
5519 (edebug--display): Use user-error.
5520 (cl-lexical-debug, cl-debug-env): Remove.
5521
5522 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5523
5524 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5525 are restored to be sure that they are visible before deleting any
5526 remaining ones.
5527
5528 2013-07-26 Matthias Meulien <orontee@gmail.com>
5529
5530 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5531 vc-print-root-log. (Bug#14948)
5532
5533 2013-07-26 Richard Stallman <rms@gnu.org>
5534
5535 Add aliases for encrypting mail.
5536 * epa.el (epa-mail-aliases): New option.
5537 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5538 Bind inhibit-read-only so read-only text doesn't ruin everything.
5539 (epa-mail-default-recipients): New subroutine broken out.
5540 Handle epa-mail-aliases.
5541
5542 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5543
5544 Add support for lexical variables to the debugger's `e' command.
5545 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5546 vars, except for debugger-outer-match-data.
5547 (debugger-frame-number): Move check for "on a function call" from
5548 callers into it. Add `skip-base' argument.
5549 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5550 (debugger-env-macro): Only reset the state stored in non-variables,
5551 i.e. current-buffer and match-data.
5552 (debugger-eval-expression): Rewrite using backtrace-eval.
5553 * subr.el (internal--called-interactively-p--get-frame): Remove.
5554 (called-interactively-p):
5555 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5556 `base' arg of backtrace-frame instead.
5557
5558 2013-07-26 Glenn Morris <rgm@gnu.org>
5559
5560 * align.el (align-regexp): Doc fix. (Bug#14857)
5561 (align-region): Explicit error if subexpression missing/does not match.
5562
5563 * simple.el (global-visual-line-mode):
5564 Do not duplicate the mode lighter. (Bug#14858)
5565
5566 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5567
5568 * window.el (display-buffer): In display-buffer bind
5569 split-window-keep-point to t, bug#14829.
5570
5571 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5572
5573 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5574 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5575 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5576 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5577 Change accordingly.
5578 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5579 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5580
5581 2013-07-25 Glenn Morris <rgm@gnu.org>
5582
5583 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5584
5585 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5586
5587 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5588 parameter to modify-frame-parameters if the value has not changed;
5589 this is a workaround for bug#14949.
5590 (desktop--make-frame): On cl-delete-if call, check parameter name,
5591 not full parameter.
5592
5593 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5594
5595 * vc/vc.el (vc-ignore): New function.
5596
5597 * vc/vc-svn.el (vc-svn-ignore): New function.
5598
5599 * vc/vc-hg.el (vc-hg-ignore): New function.
5600
5601 * vc/vc-git.el (vc-git-ignore): New function.
5602
5603 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5604 (vc-dir-ignore): New function.
5605
5606 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5607 (cvs-append-to-ignore): Move here from pcvs.el.
5608
5609 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5610
5611 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5612
5613 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5614
5615 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5616 (desktop-restore-frames): Warn when deleting an existing frame failed.
5617
5618 2013-07-24 Glenn Morris <rgm@gnu.org>
5619
5620 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5621
5622 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5623
5624 * filenotify.el (file-notify-supported-p):
5625 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5626 Remove functions.
5627
5628 * autorevert.el (auto-revert-use-notify):
5629 (auto-revert-notify-add-watch):
5630 * net/tramp.el (tramp-file-name-for-operation):
5631 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5632 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5633 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5634 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5635 Remove `file-notify-supported-p' entry.
5636
5637 2013-07-24 Glenn Morris <rgm@gnu.org>
5638
5639 * printing.el: Replace all uses of deleted ps-windows-system,
5640 ps-lp-system, ps-flatten-list with lpr- versions.
5641
5642 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5643
5644 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5645 checked with memq (bug#14935).
5646
5647 * files.el (revert-buffer-function): Use a non-nil default.
5648 (revert-buffer-preserve-modes): Declare var to
5649 provide access to the `preserve-modes' argument.
5650 (revert-buffer): Let-bind it.
5651 (revert-buffer--default): New function, extracted from revert-buffer.
5652
5653 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5654
5655 * lpr.el: Signal print errors more prominently.
5656 (print-region-function): Don't default to nil.
5657 (lpr-print-region): New function, extracted from print-region-1.
5658 Check lpr's return value and signal an error in case of problem.
5659 (print-region-1): Use it.
5660 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5661 versions instead.
5662 (ps-printer-name): Default to nil.
5663 (ps-printer-name-option): Default to lpr-printer-switch.
5664 (ps-print-region-function): Don't default to nil.
5665 (ps-postscript-code-directory): Simplify default.
5666 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5667 (ps-string-list, ps-eval-switch, ps-flatten-list)
5668 (ps-flatten-list-1): Remove.
5669 (ps-multibyte-buffer): Avoid setq.
5670 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5671 (print-region-function, ps-print-region-function): Don't set them here.
5672
5673 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5674
5675 * ido.el (ido-fractionp):
5676 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5677 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5678 (ido-max-directory-size, ido-max-dir-file-cache)
5679 (ido-decorations): Doc fix.
5680
5681 * ansi-color.el: Fix old URL.
5682
5683 2013-07-23 Michael R. Mauger <michael@mauger.com>
5684
5685 * progmodes/sql.el: Version 3.3
5686 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5687 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5688 (sql-interactive-remove-continuation-prompt): Rewrite, use
5689 functions above. Fix continuation prompt and complete output line
5690 handling.
5691 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5692 redirected output buffer.
5693 (sql-mode): Restore deleted code (Bug#13591).
5694
5695 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5696
5697 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5698
5699 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5700
5701 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5702
5703 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5704 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5705 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5706
5707 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5708
5709 * desktop.el (desktop-clear): Simplify; remove useless checks
5710 against invalid buffer names.
5711 (desktop-list*): Use cl-list*.
5712 (desktop-buffer-info, desktop-create-buffer): Simplify.
5713
5714 2013-07-23 Leo Liu <sdl.web@gmail.com>
5715
5716 * bookmark.el (bookmark-make-record): Restore NAME as a default
5717 value. (Bug#14933)
5718
5719 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5722 extracted from autoload--insert-text.
5723 (autoload--insert-text): Remove.
5724 (autoload--print-cookie-text): New function, extracted from
5725 autoload--insert-cookie-text.
5726 (autoload--insert-cookie-text): Remove.
5727 (autoload-generate-file-autoloads): Adjust calls accordingly.
5728
5729 * winner.el (winner-hook-installed-p): Remove.
5730 (winner-mode): Simplify accordingly.
5731
5732 * subr.el (add-to-list): Fix compiler-macro when `append' is
5733 not constant. Don't use `cl-member' for the base case.
5734
5735 * progmodes/subword.el: Fix boundary case (bug#13758).
5736 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5737 own group.
5738 (subword-backward-regexp): Make it a constant.
5739 (subword-forward-internal): Don't treat a trailing capital as the
5740 beginning of a word.
5741
5742 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5743
5744 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5745 global value of tabulated-list-revert-hook (bug#14930).
5746
5747 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5748
5749 * desktop.el: Require 'cl-lib.
5750 (desktop-before-saving-frames-functions): New hook.
5751 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5752 for frames being saved. Rename from desktop--save-minibuffer-frames.
5753 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5754 Do not save frames with non-nil `desktop-dont-save' parameter.
5755 Filter out deleted frames.
5756 (desktop--find-frame): Use cl-find-if.
5757 (desktop--select-frame): Use cl-(first|second|third) to access values
5758 of desktop-mini.
5759 (desktop--make-frame): Use cl-delete-if.
5760 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5761 (desktop-restore-frames): Use cl-(first|second|third) to access values
5762 of desktop-mini. Look for visible frame at the end, not while
5763 restoring frames.
5764
5765 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5766 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5767 Use string-match-p, looking-at-p (bug#14927).
5768
5769 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5770
5771 * desktop.el (desktop-saved-frame-states):
5772 Rename from desktop--saved-states; all users changed.
5773 (desktop-save-frames): Rename from desktop--save-frames.
5774 Do not save state to desktop file.
5775 (desktop-save): Save desktop-saved-frame-states to desktop file
5776 and reset to nil.
5777 (desktop-restoring-frames-p): New function.
5778 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5779 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5780 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5781
5782 * desktop.el: Correctly restore iconified frames.
5783 (desktop--filter-iconified-position): New function.
5784 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5785
5786 2013-07-20 Glenn Morris <rgm@gnu.org>
5787
5788 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5789 Let `message' do the formatting.
5790 (def-gdb-preempt-display-buffer): Add explicit format.
5791
5792 * image-dired.el (image-dired-track-original-file):
5793 Use with-current-buffer.
5794 (image-dired-track-thumbnail): Use with-current-buffer.
5795 Avoid changing point of wrong window.
5796
5797 * image-dired.el (image-dired-track-original-file):
5798 Avoid changing point of wrong window. (Bug#14909)
5799
5800 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5801
5802 * progmodes/gdb-mi.el (gdb-done-or-error):
5803 Guard against "%" in gdb output. (Bug#14127)
5804
5805 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5806
5807 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5808 (Bug#14826)
5809
5810 * international/mule.el (coding-system-iso-2022-flags): Fix last
5811 change.
5812
5813 2013-07-20 Kenichi Handa <handa@gnu.org>
5814
5815 * international/mule.el (coding-system-iso-2022-flags):
5816 Add `8-bit-level-4'. (Bug#8522)
5817
5818 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5819
5820 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5821 (bug#14815).
5822
5823 * net/eww.el (eww-process-text-input): Allow inputting when the
5824 point is at the start of the line, as the properties aren't
5825 front-sticky.
5826
5827 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5828 degenerate widths.
5829
5830 2013-07-19 Richard Stallman <rms@gnu.org>
5831
5832 * epa.el (epa-popup-info-window): Doc fix.
5833
5834 * subr.el (split-string): New arg TRIM.
5835
5836 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5837
5838 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5839 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5840
5841 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5842
5843 * filenotify.el (file-notify--library): Rename from
5844 `file-notify-support'. Do not autoload. Adapt all uses.
5845 (file-notify-supported-p): New defun.
5846
5847 * autorevert.el (auto-revert-use-notify):
5848 Use `file-notify-supported-p' instead of `file-notify-support'.
5849 Adapt docstring.
5850 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5851
5852 * net/tramp.el (tramp-file-name-for-operation):
5853 Add `file-notify-supported-p'.
5854
5855 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5856 New defun.
5857 (tramp-sh-file-name-handler-alist): Add it as handler for
5858 `file-notify-supported-p '.
5859
5860 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5861 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5862 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5863 Add `ignore' as handler for `file-notify-*' functions.
5864
5865 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5866
5867 * simple.el (line-move-partial, line-move): Don't start vscroll or
5868 scroll-up if the current line is not taller than the window.
5869 (Bug#14881)
5870
5871 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5872
5873 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5874 highlight question marks in the method names as strings.
5875 (ruby-block-beg-keywords): Inline.
5876 (ruby-font-lock-keyword-beg-re): Extract from
5877 `ruby-font-lock-keywords'.
5878
5879 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5880
5881 * frame.el (blink-cursor-blinks): New defcustom.
5882 (blink-cursor-blinks-done): New defvar.
5883 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5884 (blink-cursor-timer-function): Check if number of blinks has been
5885 done on X and NS.
5886 (blink-cursor-suspend, blink-cursor-check): New defuns.
5887
5888 2013-07-15 Glenn Morris <rgm@gnu.org>
5889
5890 * edmacro.el (edmacro-format-keys): Fix previous change.
5891
5892 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5893
5894 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5895 The hack didn't work outside English locales anyway.
5896
5897 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5898
5899 * simple.el (define-alternatives): Rename from alternatives-define,
5900 per RMS' suggestion.
5901
5902 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5903
5904 * desktop.el (desktop-restore-frames): Change default to t.
5905 (desktop-restore-in-current-display): Now offer more options.
5906 (desktop-restoring-reuses-frames): New customization option.
5907 (desktop--saved-states): Doc fix.
5908 (desktop-filter-parameters-alist): New variable, renamed and expanded
5909 from desktop--excluded-frame-parameters.
5910 (desktop--target-display): New variable.
5911 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5912 (desktop--filter-tty*, desktop--filter-*-color)
5913 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5914 (desktop--filter-save-desktop-parm)
5915 (desktop-restore-in-original-display-p): New functions.
5916 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5917 (desktop--save-minibuffer-frames): New function, inspired by a similar
5918 function from Martin Rudalics.
5919 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5920 (desktop--restore-in-this-display-p): Remove.
5921 (desktop--find-frame): Rename from desktop--find-frame-in-display
5922 and add predicate argument.
5923 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5924 (desktop--reuse-list): New variable.
5925 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5926 New functions.
5927 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5928
5929 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5930
5931 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5932
5933 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5934
5935 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5936 Highlight conversion methods on Kernel.
5937
5938 2013-07-13 Alan Mackenzie <acm@muc.de>
5939
5940 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5941 and comment it out. This out-commenting enables certain C++
5942 declarations to be parsed correctly.
5943
5944 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5945
5946 * international/mule.el (define-coding-system): Doc fix.
5947
5948 * simple.el (default-font-height): Don't call font-info if the
5949 frame's default font didn't change since the frame was created.
5950 (Bug#14838)
5951
5952 2013-07-13 Leo Liu <sdl.web@gmail.com>
5953
5954 * ido.el (ido-read-file-name): Guard against non-symbol value.
5955
5956 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5957
5958 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5959 in nested defuns.
5960
5961 2013-07-13 Leo Liu <sdl.web@gmail.com>
5962
5963 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5964 ido-set-matches call. (Bug#6852)
5965
5966 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5967
5968 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5969 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5970 Ruby 2.0.
5971 (ruby-font-lock-keywords): Distinguish calls to functions with
5972 module-like names from module references. Highlight character
5973 literals.
5974
5975 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5976
5977 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5978 (gdb-send): Handle continued commands. (Bug#14847)
5979
5980 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5981
5982 * desktop.el (desktop--v2s): Remove unused local variable.
5983 (desktop-save-buffer): Make defvar-local; adjust docstring.
5984 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5985 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5986
5987 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5988
5989 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5990
5991 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5992
5993 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5994 (Bug#14842)
5995
5996 2013-07-12 Glenn Morris <rgm@gnu.org>
5997
5998 * doc-view.el: Require cl-lib at runtime too.
5999 (doc-view-remove-if): Remove.
6000 (doc-view-search-next-match, doc-view-search-previous-match):
6001 Use cl-remove-if.
6002
6003 * edmacro.el: Require cl-lib at runtime too.
6004 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6005 (edmacro-mismatch, edmacro-subseq): Remove.
6006
6007 * shadowfile.el: Require cl-lib.
6008 (shadow-remove-if): Remove.
6009 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6010 Use cl-remove-if.
6011
6012 * wid-edit.el: Require cl-lib.
6013 (widget-choose): Use cl-remove-if.
6014 (widget-remove-if): Remove.
6015
6016 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6017 (ebrowse-delete-if-not): Remove.
6018 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6019 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6020 Use cl-delete-if-not.
6021
6022 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6023
6024 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6025 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6026
6027 2013-07-12 Leo Liu <sdl.web@gmail.com>
6028
6029 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6030
6031 2013-07-11 Glenn Morris <rgm@gnu.org>
6032
6033 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6034 (edebug-gensym-index, edebug-gensym):
6035 Remove reimplementation of cl-gensym.
6036 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6037
6038 * thumbs.el: Require cl-lib at run-time too.
6039 (thumbs-gensym-counter, thumbs-gensym):
6040 Remove reimplementation of cl-gensym.
6041 (thumbs-temp-file): Use cl-gensym.
6042
6043 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6044 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6045 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6046 (ert--union, ert--gensym-counter, ert--gensym-counter)
6047 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6048 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6049 (ert-make-test-unbound, ert--expand-should-1)
6050 (ert--expand-should, ert--should-error-handle-error)
6051 (should-error, ert--explain-equal-rec)
6052 (ert--plist-difference-explanation, ert-select-tests)
6053 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6054 Use cl-lib functions rather than reimplementations.
6055
6056 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6057
6058 * net/tramp.el (tramp-methods): Extend docstring.
6059 (tramp-connection-timeout): New defcustom.
6060 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6061 (with-tramp-progress-reporter): Simplify.
6062 (tramp-process-actions): Improve messages.
6063
6064 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6065 * net/tramp-sh.el (tramp-maybe-open-connection):
6066 Use `tramp-connection-timeout'.
6067 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6068 (Bug#14808)
6069
6070 2013-07-11 Leo Liu <sdl.web@gmail.com>
6071
6072 * ido.el (ido-read-file-name): Conform to the requirements of
6073 read-file-name. (Bug#11861)
6074 (ido-read-directory-name): Conform to the requirements of
6075 read-directory-name.
6076
6077 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6078
6079 * subr.el (delay-warning): New function.
6080
6081 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6082
6083 * simple.el (default-line-height): New function.
6084 (line-move-partial, line-move): Use it instead of computing the
6085 line height inline.
6086 (line-move-partial): Always compute ROWH. If the last line is
6087 partially-visible, but its text is completely visible, allow
6088 cursor to enter such a partially-visible line.
6089
6090 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6091
6092 Improve error messages. (Bug#14808)
6093
6094 * net/tramp.el (tramp-current-connection): New defvar, moved from
6095 tramp-sh.el.
6096 (tramp-message-show-progress-reporter-message): Remove, not
6097 needed anymore.
6098 (tramp-error-with-buffer): Show message in minibuffer.
6099 Discard input before waiting. Reset connection timestamp.
6100 (with-tramp-progress-reporter): Improve messages.
6101 (tramp-process-actions): Use progress reporter. Delete process in
6102 case of error. Improve messages.
6103
6104 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6105 Call `tramp-error-with-buffer' with vector and buffer.
6106 (tramp-current-connection): Remove.
6107 (tramp-maybe-open-connection): The car of
6108 `tramp-current-connection' are the first 3 slots of the vector.
6109
6110 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6111
6112 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6113 inside continued strings.
6114
6115 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6116
6117 Timestamp fixes for undo (Bug#14824).
6118 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6119
6120 2013-07-10 Leo Liu <sdl.web@gmail.com>
6121
6122 * files.el (require-final-newline): Allow safe local value.
6123 (Bug#14834)
6124
6125 2013-07-09 Leo Liu <sdl.web@gmail.com>
6126
6127 * ido.el (ido-read-directory-name): Handle fallback.
6128 (ido-read-file-name): Update DIR to ido-current-directory.
6129 (Bug#1516)
6130 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6131
6132 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6133
6134 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6135 "autoload". Remove "warn lower camel case" section, previously
6136 commented out. Highlight negation char. Do not highlight the
6137 target in singleton method definitions.
6138
6139 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * faces.el (tty-setup-hook): Declare the hook.
6142
6143 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6144 and detect when a guard/pred depends on local vars (bug#14773).
6145 (pcase--u1): Adjust caller.
6146
6147 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6148
6149 * simple.el (line-move-partial, line-move): Account for
6150 line-spacing.
6151 (line-move-partial): Avoid setting vscroll when the last
6152 partially-visible line in window is of default height.
6153
6154 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6155
6156 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6157 been used a while.
6158
6159 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6160
6161 * subr.el (read-quoted-char): Remove unused local variable `char'.
6162
6163 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6164
6165 * ediff.el (ediff-version): Version update.
6166 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6167 (ediff-merge-with-ancestor-command, ediff-directories-command)
6168 (ediff-directories3-command, ediff-merge-directories-command)
6169 (ediff-merge-directories-with-ancestor-command): New functions.
6170 All are command-line interfaces to ediff: to facilitate calling
6171 Emacs with the appropriate ediff functions invoked.
6172
6173 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6174 (viper-save-kill-buffer): Check if buffer is modified.
6175
6176 * viper.el (viper-version): Version update.
6177 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6178
6179 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6180
6181 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6182 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6183 (viper-intercept-ESC-key): Simplify.
6184 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6185 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6186 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6187 (viper-setup-ESC-to-escape): New functions.
6188 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6189 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6190
6191 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6192
6193 * simple.el (default-font-height, window-screen-lines):
6194 New functions.
6195 (line-move, line-move-partial): Use them instead of
6196 frame-char-height and window-text-height. This makes scrolling
6197 text smoother when the buffer's default face uses a font that is
6198 different from the frame's default font.
6199
6200 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6201
6202 * files.el (write-file): Do not display confirm dialog for NS,
6203 it does its own dialog, which can't be cancelled (Bug#14578).
6204
6205 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6206
6207 * simple.el (line-move-partial): Adjust the row returned by
6208 posn-at-point for the current window-vscroll. (Bug#14567)
6209
6210 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6211
6212 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6213 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6214 spaces.
6215
6216 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6217
6218 * window.el (window-state-put-stale-windows): New variable.
6219 (window--state-put-2): Save list of windows without matching buffer.
6220 (window-state-put): Remove "bufferless" windows if possible.
6221
6222 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6223
6224 * simple.el (alternatives-define): Remove leftover :group keyword.
6225 Tweak docstring.
6226
6227 2013-07-06 Leo Liu <sdl.web@gmail.com>
6228
6229 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6230 (ido-enable-virtual-buffers): New variable.
6231 (ido-buffer-internal, ido-toggle-virtual-buffers)
6232 (ido-make-buffer-list): Use it.
6233 (ido-exhibit): Support turning on and off virtual buffers
6234 automatically.
6235
6236 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6237
6238 * simple.el (alternatives-define): New macro.
6239
6240 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * subr.el (read-quoted-char): Use read-key.
6243 (sit-for): Let read-event decode tty input (bug#14782).
6244
6245 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6246
6247 * calendar/todo-mode.el: Add handling of file deletion, both by
6248 mode command and externally. Fix various related bugs.
6249 Clarify Commentary and improve some documentation strings and code.
6250 (todo-delete-file): New command.
6251 (todo-check-file): New function.
6252 (todo-show): Handle external deletion of the file we're trying to
6253 show (bug#14688). Replace called-interactively-p by an optional
6254 prefix argument to avoid problematic interaction with catch form
6255 when byte compiled (bug#14702).
6256 (todo-quit): Handle external deletion of the archive's todo file.
6257 Make sure the buffer that was visiting the archive file is still
6258 live before trying to bury it.
6259 (todo-category-completions): Handle external deletion of any
6260 category completion files.
6261 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6262 of todo files, in case of external deletion.
6263 (todo-add-file): Replace unnecessary setq by let-binding.
6264 (todo-find-archive): Check whether there are any archives.
6265 Replace unnecessary setq by let-binding.
6266 (todo-archive-done-item): Use find-file-noselect to get the
6267 archive buffer whether or not the archive already exists.
6268 Remove superfluous code. Use file size instead of buffer-file-name to
6269 check if the archive is new; if it is, update list of archives.
6270 (todo-default-todo-file): Allow nil to be a valid value for when
6271 there are no todo files.
6272 (todo-reevaluate-default-file-defcustom): Use corrected definition
6273 of todo-default-todo-file.
6274 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6275 (todo-delete-category, todo-show-categories-table)
6276 (todo-category-number): Clarify comment.
6277 (todo-filter-items): Clarify documentation string.
6278 (todo-show-current-file, todo-display-as-todo-file)
6279 (todo-reset-and-enable-done-separator): Tweak documentation string.
6280 (todo-done-separator): Make separator length window-width, since
6281 bug#2749 is now fixed.
6282
6283 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6284
6285 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6286 Support both "gvfs-monitor-dir" and "inotifywait".
6287 (tramp-sh-file-inotifywait-process-filter): Rename from
6288 `tramp-sh-file-notify-process-filter'.
6289 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6290 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6291
6292 2013-07-05 Leo Liu <sdl.web@gmail.com>
6293
6294 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6295
6296 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6297
6298 * frame.el (display-pixel-height, display-pixel-width)
6299 (display-mm-height, display-mm-width): Mention behavior on
6300 multi-monitor setups in docstrings.
6301 (w32-display-monitor-attributes-list): Declare function.
6302 (display-monitor-attributes-list): Use it.
6303
6304 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6305
6306 * filenotify.el: New package.
6307
6308 * autorevert.el (top): Require filenotify.el.
6309 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6310 instead.
6311 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6312 (auto-revert-notify-handler): Use `file-notify-*' functions.
6313
6314 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6315
6316 * net/tramp.el (tramp-file-name-for-operation):
6317 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6318
6319 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6320 for `file-notify-add-watch' and `file-notify-rm-watch'.
6321 (tramp-process-sentinel): Improve trace.
6322 (tramp-sh-handle-file-notify-add-watch)
6323 (tramp-sh-file-notify-process-filter)
6324 (tramp-sh-handle-file-notify-rm-watch)
6325 (tramp-get-remote-inotifywait): New defuns.
6326
6327 2013-07-03 Juri Linkov <juri@jurta.org>
6328
6329 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6330 call of `occur-read-primary-args' to interactive spec.
6331
6332 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6333 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6334
6335 2013-07-03 Matthias Meulien <orontee@gmail.com>
6336
6337 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6338 `Buffer-menu-multi-occur'. Add it to the menu.
6339 (Buffer-menu-mode): Document it in docstring.
6340 (Buffer-menu-multi-occur): New command. (Bug#14673)
6341
6342 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6343
6344 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6345 keywords and built-ins.
6346
6347 2013-07-03 Glenn Morris <rgm@gnu.org>
6348
6349 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6350
6351 Make info-xref checks case-sensitive by default
6352 * info.el (Info-find-node, Info-find-in-tag-table)
6353 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6354 Add option for exact case matching of nodes.
6355 * info-xref.el (info-xref): New custom group.
6356 (info-xref-case-fold): New option.
6357 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6358
6359 2013-07-03 Leo Liu <sdl.web@gmail.com>
6360
6361 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6362
6363 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6364
6365 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6366 middle of block statement initially, lower the depth. Remove
6367 FIXME comment, not longer valid. Remove middle of block statement
6368 detection, no need to do that anymore since we've been using
6369 `ruby-parse-region' here.
6370
6371 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6372
6373 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6374
6375 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6376
6377 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6378
6379 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6382 (desktop-restore-in-current-display): New customization option.
6383 (desktop--excluded-frame-parameters): Add `font'.
6384 (desktop--save-frames): Rename from desktop--save-windows.
6385 (desktop--restore-in-this-display-p): New function.
6386 (desktop--make-full-frame): Remove unwanted width/height from
6387 full(width|height) frames.
6388 (desktop--restore-frames): Rename from desktop--restore-windows.
6389 Obey desktop-restore-current-display. Do not delete old frames or
6390 select a new frame unless we were able to restore at least one frame.
6391
6392 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6393
6394 * files.el (find-file-noselect): Simplify conditional expression.
6395
6396 * remember.el (remember-append-to-file):
6397 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6398
6399 Add `remember-notes' function to store random notes across Emacs
6400 restarts.
6401 * remember.el (remember-data-file): Add :set callback to affect
6402 notes buffer (if any).
6403 (remember-notes): New command.
6404 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6405 New defcustoms for the `remember-notes' function.
6406 (remember-notes-save-and-bury-buffer): New command.
6407 (remember-notes-mode-map): New variable.
6408 (remember-mode): New minor mode.
6409 (remember-notes--kill-buffer-query): New function.
6410 * startup.el (initial-buffer-choice): Add notes to custom type.
6411
6412 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6413
6414 * bindings.el (right-char, left-char): Don't call sit-for, this is
6415 no longer needed. Use arithmetic comparison only for numerical
6416 arguments.
6417
6418 * international/mule-cmds.el (select-safe-coding-system):
6419 Handle the case of FROM being a string correctly. (Bug#14755)
6420
6421 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6422
6423 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6424 progression on degenerate tables.
6425 (shr-rescale-image): ImageMagick animated images currently don't work.
6426
6427 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6428
6429 Some fixes and improvements for desktop frame restoration.
6430 It is still experimental and disabled by default.
6431 * desktop.el (desktop--save-windows): Put the selected frame at
6432 the head of the list.
6433 (desktop--make-full-frame): New function.
6434 (desktop--restore-windows): Try to re-select the frame that was
6435 selected upon saving. Do not abort if some frames fail to restore,
6436 just show an error message and continue. Set up maximized frames
6437 so they have default non-maximized dimensions.
6438
6439 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6440
6441 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6442 Don't start heredoc inside a string or comment.
6443
6444 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6445
6446 * bindings.el (visual-order-cursor-movement): New defcustom.
6447 (right-char, left-char): Provide visual-order cursor motion by
6448 calling move-point-visually. Update the doc strings.
6449
6450 2013-06-28 Kenichi Handa <handa@gnu.org>
6451
6452 * international/mule.el (define-coding-system): New coding system
6453 properties :inhibit-null-byte-detection,
6454 :inhibit-iso-escape-detection, and :prefer-utf-8.
6455 (set-buffer-file-coding-system): If :charset-list property of
6456 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6457 appropriate for setting.
6458
6459 * international/mule-cmds.el (select-safe-coding-system):
6460 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6461 multibyte characters, return utf-8 (or one of its siblings).
6462
6463 * international/mule-conf.el (prefer-utf-8): New coding system.
6464 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6465 files.
6466
6467 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6468
6469 * net/shr.el (shr-render-region): New function.
6470
6471 * net/eww.el: Autoload `eww-browse-url'.
6472
6473 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6474
6475 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6476 Adapt to `package-desc-version' being a list.
6477 Use `package--ac-desc-version' to retrieve version from a package
6478 archive element.
6479
6480 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6481
6482 New experimental feature to save&restore window and frame setup.
6483 * desktop.el (desktop-save-windows): New defcustom.
6484 (desktop--saved-states): New var.
6485 (desktop--excluded-frame-parameters): New defconst.
6486 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6487 (desktop--restore-windows, desktop--save-windows): New functions.
6488 (desktop-save): Call `desktop--save-windows'.
6489 (desktop-read): Call `desktop--restore-windows'.
6490
6491 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6492
6493 * net/shr.el (add-face-text-property): Remove compat definition.
6494
6495 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6496
6497 * info.el (Info-try-follow-nearest-node): Move search for footnote
6498 above search for node name to prevent missing a footnote (bug#14717).
6499
6500 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6501
6502 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6503
6504 2013-06-27 Leo Liu <sdl.web@gmail.com>
6505
6506 * net/eww.el (eww-read-bookmarks): Check file size.
6507
6508 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6511 advice--pending if newdef is nil or an autoload (bug#13820).
6512 (advice-mapc): New function.
6513
6514 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6515
6516 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6517 probably.
6518 (eww-mode-map): Add a menu bar.
6519 (eww-add-bookmark): New command.
6520 (eww-bookmark-mode): New mode and commands.
6521 (eww-add-bookmark): Remove newlines from the title.
6522 (eww-bookmark-browse): Don't bug out if it's the only window.
6523
6524 2013-06-26 Glenn Morris <rgm@gnu.org>
6525
6526 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6527 (hfy-size): Handle ttys. (Bug#14668)
6528
6529 * info-xref.el: Update for Texinfo 5 change in *note format.
6530 (info-xref-node-re, info-xref-note-re): New constants.
6531 (info-xref-check-buffer): Use info-xref-note-re.
6532
6533 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6536
6537 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6538 nil terminate the loop (bug#14718).
6539
6540 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6541
6542 * net/eww.el: Rework history traversal. When going forward/back,
6543 put these actions into the history, too, so that they can be
6544 replayed.
6545 (eww-render): Move the history reset to the correct buffer.
6546
6547 2013-06-25 Juri Linkov <juri@jurta.org>
6548
6549 * files-x.el (modify-dir-local-variable): Change the header comment
6550 in the file with directory local variables. (Bug#14692)
6551
6552 * files-x.el (read-file-local-variable-value): Add `default'.
6553 (Bug#14710)
6554
6555 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6556
6557 * net/eww.el (eww-make-unique-file-name): Create a unique file
6558 name before saving to entering `y' accidentally asynchronously.
6559
6560 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6561
6562 * net/eww.el (eww-download): New command and keystroke.
6563
6564 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6565
6566 * net/eww.el (eww-copy-page-url): Change name of command.
6567
6568 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6569 be more consistent with Info and dired.
6570
6571 * net/eww.el (eww-mode-map): Ditto.
6572
6573 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6574
6575 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6576 packages from archives.
6577 (package-archive-contents): Change format; include obsolete packages.
6578 (package-desc): Use `dir' to mark builtin packages.
6579 (package--from-builtin): Set the `dir' field to `builtin'.
6580 (generated-autoload-file, version-control): Declare.
6581 (package-compute-transaction): Change first arg and return value to be
6582 lists of package-descs. Adjust to new package-archive-contents format.
6583 (package--add-to-archive-contents): Adjust to new
6584 package-archive-contents format.
6585 (package-download-transaction): Arg is now a list of package-descs.
6586 (package-install): If `pkg' is a package name, pass it as
6587 a requirement, so it is subject to the usual (e.g. disabled) checks.
6588 (describe-package): Accept package-desc as well.
6589 (describe-package-1): Describe a specific package-desc. Add links to
6590 other package-descs for the same package name.
6591 (package-menu-describe-package): Pass the actual package-desc.
6592 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6593 works correctly.
6594 (package-desc-status): New function.
6595 (package-menu--refresh): New function, extracted
6596 from package-menu--generate.
6597 (package-menu--generate): Use it.
6598 (package-delete): Update package-alist.
6599 (package-menu-execute): Don't call package-initialize.
6600
6601 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6602 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6603 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6604 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6605 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6606 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6607
6608 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6609
6610 * window.el (window--state-get-1): Workaround for bug#14527.
6611 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6612
6613 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6614
6615 * net/eww.el (eww-back-url): Implement the history by stashing all
6616 the data into a list.
6617 (eww-forward-url): Allow going forward in the history, too.
6618
6619 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6620
6621 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6622 for values and use read--expression for expressions (bug#14710).
6623 (read-file-local-variable): Avoid setq.
6624 (read-file-local-variable-mode): Use minor-mode-list.
6625
6626 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6627
6628 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6629 for DOI URLs.
6630
6631 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6632
6633 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6634 Update imenu-support when dialect changes.
6635
6636 2013-06-25 Leo Liu <sdl.web@gmail.com>
6637
6638 * ido.el (ido-read-internal): Allow forward slash on windows.
6639
6640 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6641
6642 * net/eww.el (eww): Start of strings is \\`, not ^.
6643
6644 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6645
6646 * net/shr.el (shr-browse-url): Fix interactive spec.
6647
6648 * net/eww.el (eww): Add a trailing slash to domain names.
6649
6650 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6651
6652 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6653
6654 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6655
6656 * net/shr.el (shr-browse-url): Use an external browser if given a
6657 prefix.
6658
6659 * net/eww.el (eww-external-browser): Move to shr.
6660
6661 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6662
6663 * net/eww.el (eww): Work more correctly for file: URLs.
6664 (eww-detect-charset): Allow quoted charsets.
6665 (eww-yank-page-url): New command and keystroke.
6666
6667 2013-06-24 Daiki Ueno <ueno@gnu.org>
6668
6669 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6670 file name of gpg executable.
6671 (epg-context-program): New function.
6672 (epg-context-home-directory): New function.
6673 (epg-context-set-program): New function.
6674 (epg-context-set-home-directory): New function.
6675 (epg--start): Use `epg-context-program' instead of
6676 'epg-gpg-program'.
6677 (epg--list-keys-1): Likewise.
6678
6679 2013-06-24 Leo Liu <sdl.web@gmail.com>
6680
6681 * ido.el (ido-read-internal): Fix bug#14620.
6682
6683 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6684
6685 * faces.el (face-documentation): Simplify.
6686 (read-face-attribute, tty-find-type, x-resolve-font-name):
6687 Use `string-match-p'.
6688 (list-faces-display): Use `string-match-p'. Simplify.
6689 (face-spec-recalc): Check face to avoid face alias loops.
6690 (read-color): Use `string-match-p' and non-capturing parenthesis.
6691
6692 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6693
6694 * net/shr.el (shr-rescale-image): Use the new
6695 :max-width/:max-height functionality.
6696
6697 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6698
6699 * net/eww.el (eww-search-prefix): New variable.
6700 (eww): Use it.
6701 (eww-external-browser): New variable.
6702 (eww-mode-map): New keystroke.
6703 (eww-browse-with-external-browser): New command.
6704
6705 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6706
6707 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6708
6709 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6710 Don't skip aligning the next header field when padding is 0;
6711 otherwise, field width is not respected unless the title is as
6712 wide as the field.
6713
6714 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * emacs-lisp/package.el (package-el-version): Remove.
6717 (package-process-define-package): Fix inf-loop.
6718 (package-install): Allow symbols as arguments again.
6719
6720 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6721
6722 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6723 add some more keyword-like methods.
6724 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6725
6726 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6727
6728 * bs.el (bs-buffer-show-mark): Make defvar-local.
6729 (bs-mode): Use setq-local.
6730
6731 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6732 (emacs-lock--try-unlocking): Make defvar-local.
6733
6734 2013-06-22 Glenn Morris <rgm@gnu.org>
6735
6736 * play/cookie1.el (cookie-apropos): Minor simplification.
6737
6738 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6739
6740 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6741
6742 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6743 `regexp-opt', it breaks the build during dumping.
6744
6745 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6746
6747 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6748 Highlight keyword-like methods on Kernel and Module with
6749 font-lock-builtin-face.
6750 (auto-mode-alist): Consolidate different entries into one regexp
6751 and add more *file-s.
6752
6753 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6754
6755 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6756
6757 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6758 (diary-entry): Use it in the action of this button type instead of
6759 diary-goto-entry.
6760
6761 * calendar/todo-mode.el: New version.
6762 (todo-add-category): Append new category to end of file and give
6763 it the highest number, instead of putting it at the beginning and
6764 giving it 0. Incorporate noninteractive functionality.
6765 (todo-forward-category): Adapt to 1-based category numbering.
6766 Allow skipping over archived categories.
6767 (todo-backward-category): Derive from todo-forward-category.
6768 (todo-backward-item, todo-forward-item): Make noninteractive and
6769 delegate interactive part to new commands. Make sensitive to done items.
6770 (todo-categories): Make value an alist of category names and
6771 vectors of item counts.
6772 (todo-category-beg): Make a defconst.
6773 (todo-category-number): Use 1 instead of 0 as initial value.
6774 (todo-category-select): Make sensitive to overlays, optional item
6775 highlighting and done items.
6776 (todo-delete-item): Make sensitive to overlays and marked and done items.
6777 (todo-edit-item): Make sensitive to overlays and editing of
6778 date/time header optional. Add format checks.
6779 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6780 no-op if point is not on an item. Advertise using todo-edit-quit.
6781 (todo-edit-mode): Make sensitive to new format, font-locking, and
6782 multiple todo files.
6783 (todo-insert-item, todo-insert-item-here): Derive from
6784 todo-basic-insert-item and extend functionality.
6785 (todo-item-end, todo-item-start): Make sensitive to done items.
6786 (todo-item-string): Don't return text properties. Restore point.
6787 (todo-jump-to-category): Make sensitive to multiple todo files and
6788 todo archives. Use extended category completion.
6789 (todo-lower-item, todo-raise-item): Rename to *-priority and
6790 derive from todo-set-item-priority.
6791 (todo-mode): Derive from special-mode. Make sensitive to new
6792 format, font-locking and multiple todo files. Make read-only.
6793 (todo-mode-map): Don't suppress digit keys, so they can supply
6794 prefix arguments. Add many new key bindings.
6795 (todo-prefix): Insert as an overlay instead of file text.
6796 Change semantics from diary date expression to purely visual mark.
6797 (todo-print): Rename to todo-print-buffer. Make buffer display
6798 features printable. Remove option to restrict number of items
6799 printed. Add option to print to file.
6800 (todo-print-function): Rename to todo-print-buffer-function.
6801 (todo-quit): Extend to handle exiting new todo modes.
6802 (todo-remove-item): Make sensitive to overlays.
6803 (todo-save): Extend to buffers of filtered items.
6804 (todo-show): Make sensitive to done items, multiple todo files and
6805 new todo modes. Offer to convert legacy todo file before creating
6806 first new todo file.
6807 (todo-show-priorities): Rename to todo-top-priorities.
6808 Change semantics of value 0.
6809 (todo-top-priorities): Rename to todo-filter-top-priorities,
6810 derive from todo-filter-items and extend functionality.
6811 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6812 and extend functionality to other types of filtered items.
6813 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6814 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6815 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6816 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6817 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6818 (todo-edit-mode-hook, todo-entry-prefix-function)
6819 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6820 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6821 (todo-initials, todo-insert-threshold, todo-item-string-start)
6822 (todo-line-string, todo-menu, todo-mode-hook)
6823 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6824 (todo-print-priorities, todo-remove-separator)
6825 (todo-save-top-priorities-too, todo-string-count-lines)
6826 (todo-string-multiline-p, todo-time-string-format)
6827 (todo-tmp-buffer-name): Remove.
6828 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6829 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6830 (todo-edit-category-diary-inclusion)
6831 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6832 (todo-edit-file, todo-edit-item-date-day)
6833 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6834 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6835 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6836 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6837 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6838 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6839 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6840 (todo-filter-top-priorities-multifile, todo-find-archive)
6841 (todo-find-filtered-items-file, todo-go-to-source-item)
6842 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6843 (todo-jump-to-archive-category, todo-lower-category)
6844 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6845 (todo-move-category, todo-move-item, todo-next-button)
6846 (todo-next-item, todo-padded-string, todo-powerset)
6847 (todo-previous-button, todo-previous-item)
6848 (todo-print-buffer-to-file, todo-raise-category)
6849 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6850 (todo-set-category-number, todo-set-item-priority)
6851 (todo-set-top-priorities-in-category)
6852 (todo-set-top-priorities-in-file, todo-show-categories-table)
6853 (todo-sort-categories-alphabetically-or-numerically)
6854 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6855 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6856 (todo-toggle-item-header, todo-toggle-item-highlighting)
6857 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6858 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6859 (todo-unarchive-items, todo-unmark-category): New commands.
6860 (todo-absolute-file-name, todo-add-to-buffer-list)
6861 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6862 (todo-basic-insert-item, todo-category-completions)
6863 (todo-category-number, todo-category-string-matcher-1)
6864 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6865 (todo-check-format, todo-clear-matches)
6866 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6867 (todo-current-category, todo-date-string-matcher)
6868 (todo-define-insertion-command, todo-diary-expired-matcher)
6869 (todo-diary-goto-entry, todo-diary-item-p)
6870 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6871 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6872 (todo-done-item-section-p, todo-done-separator)
6873 (todo-done-string-matcher, todo-files, todo-filter-items)
6874 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6875 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6876 (todo-insert-category-line, todo-insert-item-from-calendar)
6877 (todo-insert-sort-button, todo-insert-with-overlays)
6878 (todo-insertion-command-name, todo-insertion-key-bindings)
6879 (todo-label-to-key, todo-longest-category-name-length)
6880 (todo-make-categories-list, todo-mode-external-set)
6881 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6882 (todo-modes-set-3, todo-multiple-filter-files)
6883 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6884 (todo-read-category, todo-read-date, todo-read-dayname)
6885 (todo-read-file-name, todo-read-time)
6886 (todo-reevaluate-category-completions-files-defcustom)
6887 (todo-reevaluate-default-file-defcustom)
6888 (todo-reevaluate-filelist-defcustoms)
6889 (todo-reevaluate-filter-files-defcustom)
6890 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6891 (todo-reset-done-separator, todo-reset-done-separator-string)
6892 (todo-reset-done-string, todo-reset-global-current-todo-file)
6893 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6894 (todo-reset-prefix, todo-set-categories)
6895 (todo-set-date-from-calendar, todo-set-show-current-file)
6896 (todo-set-top-priorities, todo-short-file-name)
6897 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6898 (todo-total-item-counts, todo-update-buffer-list)
6899 (todo-update-categories-display, todo-update-categories-sexp)
6900 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6901 New functions.
6902 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6903 New major modes.
6904 (todo-categories, todo-display, todo-edit, todo-faces)
6905 (todo-filtered): New defgroups.
6906 (todo-archived-only, todo-button, todo-category-string, todo-date)
6907 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6908 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6909 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6910 (todo-add-item-if-new-category, todo-always-add-time-string)
6911 (todo-categories-align, todo-categories-archived-label)
6912 (todo-categories-category-label, todo-categories-diary-label)
6913 (todo-categories-done-label, todo-categories-number-separator)
6914 (todo-categories-todo-label, todo-categories-totals-label)
6915 (todo-category-completions-files, todo-completion-ignore-case)
6916 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6917 (todo-done-separator-string, todo-done-string)
6918 (todo-files-function, todo-filter-done-items, todo-filter-files)
6919 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6920 (todo-initial-category, todo-initial-file, todo-item-mark)
6921 (todo-legacy-date-time-regexp, todo-mode-line-function)
6922 (todo-nondiary-marker, todo-number-prefix)
6923 (todo-print-buffer-function, todo-show-current-file)
6924 (todo-show-done-only, todo-show-first, todo-show-with-done)
6925 (todo-skip-archived-categories, todo-top-priorities-overrides)
6926 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6927 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6928 New defcustoms.
6929 (todo-category-done, todo-date-pattern, todo-date-string-start)
6930 (todo-diary-items-buffer, todo-done-string-start)
6931 (todo-filtered-items-buffer, todo-item-start)
6932 (todo-month-abbrev-array, todo-month-name-array)
6933 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6934 (todo-top-priorities-buffer): New defconsts.
6935 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6936 (todo-categories-with-marks, todo-category-string-face)
6937 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6938 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6939 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6940 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6941 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6942 (todo-font-lock-keywords, todo-global-current-todo-file)
6943 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6944 (todo-insertion-commands-args)
6945 (todo-insertion-commands-args-genlist)
6946 (todo-insertion-commands-names, todo-insertion-map)
6947 (todo-key-bindings-t, todo-key-bindings-t+a)
6948 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6949 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6950 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6951 (todo-visited): New variables.
6952
6953 2013-06-21 Glenn Morris <rgm@gnu.org>
6954
6955 * play/cookie1.el (cookie-apropos): Add optional display argument.
6956 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6957 (psychoanalyze-pinhead): Use cookie-doctor.
6958
6959 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6960
6961 * emacs-lisp/package.el (tar-get-file-descriptor)
6962 (tar--extract): Declare.
6963
6964 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6965
6966 Extend flymake's warning predicate to be a function (bug#14217).
6967 * progmodes/flymake.el (flymake-warning-predicate): New.
6968 (flymake-parse-line): Use it.
6969 (flymake-warning-re): Make obsolete alias to
6970 `flymake-warning-predicate'.
6971
6972 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6975 (package-obsolete-list): Remove.
6976 (package-activate): Remove min-version argument. Add `force' argument.
6977 Adjust to new package-alist format.
6978 (package-mark-obsolete): Remove.
6979 (package-unpack): Force reload of the package's autoloads.
6980 (package-installed-p): Check builtins if the installed package is not
6981 recent enough.
6982 (package-initialize): Don't reset package-obsolete-list.
6983 Don't specify which package version to activate.
6984 (package-process-define-package, describe-package-1)
6985 (package-menu--generate): Adjust to new package-alist format.
6986
6987 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6988
6989 * allout-widgets.el (allout-widgets-mode-off)
6990 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6991 (allout-widgets-post-command-business)
6992 (allout-widgets-after-copy-or-kill-function)
6993 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6994 (allout-decorate-item-and-context)
6995 (allout-graphics-modification-handler): Fix typos in docstrings.
6996 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6997
6998 * cmuscheme.el (scheme-start-file): Doc fix.
6999 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7000 (scheme-input-filter): Use `string-match-p'.
7001
7002 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7003
7004 * dired-x.el: Use Dired consistently in docstrings.
7005
7006 * dired.el: Use Dired consistently in docstrings.
7007 (dired-readin, dired-mode): Use `setq-local'.
7008 (dired-switches-alist): Make defvar-local.
7009 (dired-buffers-for-dir): Use `zerop'.
7010 (dired-safe-switches-p, dired-switches-escape-p)
7011 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7012 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7013 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7014 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7015 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7016 (dired-toggle-marks, dired-mark-files-containing-regexp)
7017 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7018 (dired-flag-auto-save-files, dired-flag-backup-files):
7019 Use `looking-at-p'.
7020 (dired-mark-files-regexp, dired-build-subdir-alist):
7021 Use `string-match-p', `looking-at-p'.
7022
7023 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7024 (direct-print-region-helper): Use `string-match-p'.
7025
7026 2013-06-21 Leo Liu <sdl.web@gmail.com>
7027
7028 * comint.el (comint-redirect-results-list-from-process):
7029 Fix infinite loop.
7030
7031 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7032
7033 * net/eww.el (eww-update-header-line-format): Quote % characters.
7034
7035 2013-06-21 Glenn Morris <rgm@gnu.org>
7036
7037 * play/cookie1.el (cookie): New custom group.
7038 (cookie-file): New option.
7039 (cookie-check-file): New function.
7040 (cookie): Make it interactive. Make start and end messages optional.
7041 Interactively, display the result. Default to cookie-file.
7042 (cookie-insert): Default to cookie-file.
7043 (cookie-snarf): Make start and end messages optional.
7044 Default to cookie-file. Use with-temp-buffer.
7045 (cookie-read): Rename from read-cookie.
7046 Make start and end messages optional. Default to cookie-file.
7047 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7048 Do not autoload it.
7049 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7050 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7051
7052 2013-06-21 Leo Liu <sdl.web@gmail.com>
7053
7054 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7055
7056 2013-06-21 Glenn Morris <rgm@gnu.org>
7057
7058 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7059
7060 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7061 Daniel Hackney <dan@haxney.org>
7062
7063 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7064 Consolidate the single-file vs tarball code.
7065 (package-desc-suffix): New function.
7066 (package-desc-full-name): Don't bother inlining it.
7067 (package-load-descriptor): Return the new package-desc.
7068 (package-mark-obsolete): Remove unused arg `package'.
7069 (package-unpack): Make it work for single files as well.
7070 Make it update package-alist.
7071 (package--make-autoloads-and-stuff): Rename from
7072 package--make-autoloads-and-compile. Don't compile any more.
7073 (package--compile): New function.
7074 (package-generate-description-file): New function, extracted from
7075 package-unpack-single.
7076 (package-unpack-single): Remove.
7077 (package--with-work-buffer): Add indentation and debugging info.
7078 (package-download-single): Remove.
7079 (package-install-from-archive): Rename from package-download-tar, make
7080 it take a pkg-desc, and make it work for single files as well.
7081 (package-download-transaction): Simplify.
7082 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7083 external tar program.
7084 (package-install-from-buffer): Remove `pkg-desc' argument.
7085 Use package-tar-file-info for tar-mode buffers.
7086 (package-install-file): Simplify accordingly.
7087 (package-archive-base): Change to take a pkg-desc.
7088 * tar-mode.el (tar--check-descriptor): New function, extracted from
7089 tar-get-descriptor.
7090 (tar-get-descriptor): Use it.
7091 (tar-get-file-descriptor): New function.
7092 (tar--extract): New function, extracted from tar-extract.
7093 (tar--extract): Use it.
7094 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7095 case the summary uses non-ascii. Adjust to new calling convention of
7096 package-tar-file-info.
7097
7098 2013-06-21 Leo Liu <sdl.web@gmail.com>
7099
7100 * comint.el (comint-redirect-results-list-from-process):
7101 Fix random delay. (Bug#14681)
7102
7103 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7104
7105 * profiler.el (profiler-format-number): Use log, not log10.
7106
7107 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7108
7109 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7110
7111 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7112
7113 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7114 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7115 yet available.
7116 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7117 (AUTOGENEL): ... here.
7118 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7119 (cl--defsubst-expand): Use it.
7120
7121 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7122
7123 * subr.el (log10): Move here from C code, and declare as obsolete.
7124 All uses of (log10 X) replaced with (log X 10).
7125
7126 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7127
7128 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7129 Declare with `defvar-local'.
7130 (tabulated-list-use-header-line, tabulated-list-entries)
7131 (tabulated-list-padding, tabulated-list-printer)
7132 (tabulated-list-sort-key): Declare with `defvar-local'.
7133 (tabulated-list-init-header, tabulated-list-print-fake-header):
7134 Use `setq-local'.
7135
7136 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7137
7138 * arc-mode.el (archive-mode): Add `archive-write-file' to
7139 `write-contents-functions' also for remote files. (Bug#14652)
7140
7141 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7142
7143 * cus-edit.el (custom-commands): Fix typos.
7144 (custom-display): Fix tooltip text.
7145 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7146 Fix typos in docstrings.
7147 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7148 (custom-unlispify-menu-entry, custom-magic-value-create)
7149 (custom-add-see-also, custom-group-value-create): Use ?\s.
7150 (custom-guess-type, customize-apropos, editable-field)
7151 (custom-face-value-create): Use `string-match-p'.
7152 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7153
7154 * custom.el (custom-load-symbol): Use `string-match-p'.
7155
7156 * ansi-color.el: Convert to lexical binding.
7157 (ansi-colors): Fix URL.
7158 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7159 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7160 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7161
7162 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7163
7164 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7165
7166 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7167
7168 2013-06-19 Tom Tromey <tromey@redhat.com>
7169
7170 * net/eww.el (eww-top-url): Remove.
7171 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7172 (eww-render): Set new variables. Don't set eww-top-url.
7173 (eww-handle-link): Handle "prev", "home", and "contents".
7174 Downcase the rel text.
7175 (eww-top-url): Choose best top URL.
7176
7177 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7178
7179 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7180 relying in widget.el. Using widget.el leads to too many
7181 user interface inconsistencies.
7182 (eww-self-insert): Implement entering commands in text fields.
7183 (eww-process-text-input): New function to make text input field editing
7184 work.
7185 (eww-submit): Rewrite to use the new-style form methods.
7186 (eww-select-display): Display the correct selected item.
7187 (eww-change-select): Implement changing the select value.
7188 (eww-toggle-checkbox): Implement radio/checkboxes.
7189 (eww-update-field): Fix compilation error.
7190 (eww-tag-textarea): Implement <textarea>.
7191
7192 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7193 we don't shadow mode-specific bindings.
7194
7195 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7196 nothing to push.
7197
7198 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7199
7200 2013-06-19 Glenn Morris <rgm@gnu.org>
7201
7202 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7203
7204 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7205
7206 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7207 not needed.
7208
7209 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7210
7211 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7212
7213 * net/browse-url.el (browse-url-browser-function):
7214 `eww-browse-url' has the right calling signature, `eww' does not.
7215
7216 2013-06-19 Glenn Morris <rgm@gnu.org>
7217
7218 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7219 Only eval autoloaded macros.
7220 (byte-compile-autoload): Only give the macro warning for macros.
7221
7222 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7223 (ps-underlined-faces): Declare.
7224
7225 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7226 (speedbar-add-supported-extension): Declare.
7227
7228 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7229 Don't include a date stamp in the header of the generated file;
7230 it leads to needless differences between output files.
7231
7232 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7233
7234 * net/secrets.el (secrets-struct-secret-content-type):
7235 Replace check of introspection data by a test call of "CreateItem".
7236 Some servers do not offer introspection.
7237
7238 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * electric.el (electric-pair-mode): Improve interaction with
7241 electric-layout-mode.
7242 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7243 (electric-pair-syntax): Use text-mode-syntax-table in comments
7244 and strings.
7245 (electric-pair--insert): New function.
7246 (electric-pair-post-self-insert-function): Use it and
7247 electric--after-char-pos.
7248
7249 2013-06-19 Leo Liu <sdl.web@gmail.com>
7250
7251 * progmodes/octave.el (octave-help): Fix regexp.
7252
7253 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7254
7255 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7256 (shr-table-horizontal-line): Allow nil as a value, and change the
7257 default.
7258 (shr-insert-table-ruler): Respect the nil value.
7259
7260 2013-06-18 Tom Tromey <tromey@barimba>
7261
7262 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7263 New defvars.
7264 (eww-open-file): New defun.
7265 (eww-render): Initialize new variables.
7266 (eww-display-html): Handle "link" and "a".
7267 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7268 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7269 (eww-back-url): Rename from eww-previous-url.
7270 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7271 New defuns.
7272
7273 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7274
7275 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7276 Distinguish ternary operator tokens from slash symbol and slash
7277 char literal.
7278
7279 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7280
7281 Convert symbol prettification into minor mode and global minor mode.
7282
7283 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7284 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7285 (prettify-symbols--keywords): Rename from
7286 `prog-prettify-symbols-alist' and make a local defvar.
7287 (prettify-symbols--compose-symbol): Rename from
7288 `prog--prettify-font-lock-compose-symbol'.
7289 (prettify-symbols--make-keywords): Rename from
7290 `prog-prettify-font-lock-symbols-keywords' and simplify.
7291 (prog-prettify-install): Remove.
7292 (prettify-symbols-mode): New minor mode, based on
7293 `prog-prettify-install'.
7294 (turn-on-prettify-symbols-mode): New function.
7295 (global-prettify-symbols-mode): New globalized minor mode.
7296
7297 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7298 * progmodes/cfengine.el (cfengine3-mode):
7299 * progmodes/perl-mode.el (perl-mode): Don't call
7300 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7301
7302 2013-06-18 Juri Linkov <juri@jurta.org>
7303
7304 * files-x.el (modify-file-local-variable-message): New function.
7305 (modify-file-local-variable)
7306 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7307 and call `modify-file-local-variable-message' when it's non-nil.
7308 (add-file-local-variable, delete-file-local-variable)
7309 (add-file-local-variable-prop-line)
7310 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7311 and use it. (Bug#9820)
7312
7313 2013-06-18 Juri Linkov <juri@jurta.org>
7314
7315 * emulation/vi.el (vi-shell-op):
7316 * emulation/vip.el (vip-execute-com, ex-command):
7317 * emulation/viper-cmd.el (viper-exec-bang):
7318 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7319 the call of `shell-command-on-region'. (Bug#14637)
7320
7321 * simple.el (shell-command-on-region): Doc fix.
7322
7323 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7325 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7326 (bug#14633).
7327
7328 2013-06-18 Glenn Morris <rgm@gnu.org>
7329
7330 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7331
7332 * newcomment.el (comment-search-forward, comment-search-backward):
7333 Doc fix. (Bug#14376)
7334
7335 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7336
7337 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7338 (buffer-face-mode-invoke): Doc fix.
7339
7340 2013-06-18 Matthias Meulien <orontee@gmail.com>
7341
7342 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7343 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7344
7345 2013-06-18 Glenn Morris <rgm@gnu.org>
7346
7347 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7348 Replace obsolete function generic-make-keywords with its expansion.
7349
7350 * progmodes/python.el (ffap-alist): Declare.
7351
7352 * textmodes/reftex.el (bibtex-mode-map): Declare.
7353
7354 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7355
7356 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7357 (package-unpack, package-unpack-single): Return the pkg-dir.
7358 (package-download-transaction): Use it to update package-alist.
7359
7360 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7361
7362 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7363 possible choice.
7364
7365 2013-06-17 Juri Linkov <juri@jurta.org>
7366
7367 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7368
7369 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7370
7371 * emacs-lisp/package.el (package-load-descriptor):
7372 Remove `with-syntax-table' call, `read' doesn't need it.
7373 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7374
7375 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7376
7377 * startup.el (command-line): Expand package name returned by
7378 `package--description-file' (bug#14639).
7379
7380 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7381
7382 * emacs-lisp/package.el (package-load-descriptor): Do not call
7383 `emacs-lisp-mode', just use its syntax table.
7384
7385 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7386
7387 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7388 `font-lock-extra-managed-props' if any prettifying keyword is added.
7389 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7390 (prog-mode): Use `setq-local'.
7391
7392 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * international/characters.el (standard-case-table): Set syntax of ?»
7395 and ?« to punctuation.
7396
7397 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7398
7399 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7400 Save relevant match data before calling `syntax-ppss' (bug#14595).
7401
7402 2013-06-15 Juri Linkov <juri@jurta.org>
7403
7404 * files-x.el (modify-file-local-variable-prop-line): Add local
7405 variables to the end of the existing comment on the first line.
7406 Use `file-auto-mode-skip' to skip interpreter magic line,
7407 and also skip XML declaration.
7408
7409 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7410
7411 * startup.el (package--builtin-versions): New var.
7412 (package-subdirectory-regexp): Remove.
7413 (package--description-file): Hard code its value instead.
7414
7415 * emacs-lisp/package.el: Don't activate packages older than builtin.
7416 (package-obsolete-list): Rename from package-obsolete-alist, and make
7417 it into a simple list of package-desc.
7418 (package-strip-version): Remove.
7419 (package-built-in-p): Use package--builtin-versions.
7420 (package-mark-obsolete): Simplify.
7421 (package-process-define-package): Mark it obsolete if older than the
7422 builtin version.
7423 (package-handle-response): Use line-end-position.
7424 (package-read-archive-contents, package--download-one-archive):
7425 Simplify.
7426 (package--add-to-archive-contents): Skip if older than the builtin or
7427 installed version.
7428 (package-menu-describe-package): Fix last change.
7429 (package-list-unversioned): New var.
7430 (package-menu--generate): Use it.
7431
7432 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7433 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7434 (autoload-builtin-package-versions): New variable.
7435 (autoload-generate-file-autoloads): Use them.
7436 Remove the list of autoloaded functions/macros from the
7437 (autoload...) comments.
7438
7439 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7440
7441 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7442
7443 * simple.el (line-move-partial): Don't jump to the next screen
7444 line as soon as it becomes visible. Instead, continue enlarging
7445 the vscroll until the portion of a tall screen line that's left on
7446 display is about the height of the frame's default font.
7447 (Bug#14567)
7448
7449 2013-06-15 Glenn Morris <rgm@gnu.org>
7450
7451 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7452 compilation-error-regexp-alist void, or local while let-bound.
7453
7454 * progmodes/make-mode.el (makefile-mode-syntax-table):
7455 Treat "=" as punctuation. (Bug#14614)
7456
7457 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7458
7459 * help-fns.el (describe-variable):
7460 Add extra line for permanent-local variables.
7461
7462 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7463
7464 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7465 Add export, import, library. (Bug#9164)
7466 (library): Set indent function.
7467
7468 2013-06-14 Glenn Morris <rgm@gnu.org>
7469
7470 * term/xterm.el (xterm--query):
7471 Stop after first matching handler. (Bug#14615)
7472
7473 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7474
7475 Add support for dired in saveplace.
7476 * dired.el (dired-initial-position-hook): New variable.
7477 (dired-initial-position): Call hook to place cursor position.
7478 * saveplace.el (save-place-to-alist): Add dired position.
7479 (save-place-dired-hook): New function.
7480
7481 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7482
7483 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7484 through a symbol rather than letrec.
7485
7486 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7487 (package-desc): Add `dir' field.
7488 (package-desc-full-name): New function.
7489 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7490 (package-maybe-load-descriptor): Remove.
7491 (package-load-all-descriptors): Just call package-load-descriptor.
7492 (package--disabled-p): New function.
7493 (package-desc-vers, package-desc-doc): Remove aliases.
7494 (package--dir): Remove function.
7495 (package-activate): Check if a package is disabled.
7496 (package-process-define-package): New function, extracted from
7497 define-package.
7498 (define-package): Turn into a place holder.
7499 (package-unpack-single, package-tar-file-info):
7500 Use package--description-file.
7501 (package-compute-transaction): Use package--disabled-p.
7502 (package-download-transaction): Don't call
7503 package-maybe-load-descriptor since they're all loaded anyway.
7504 (package-install): Change argument to be a pkg-desc.
7505 (package-delete): Use a single pkg-desc argument.
7506 (describe-package-1): Use package-desc-dir instead of package--dir.
7507 Use package-desc property instead of package-symbol.
7508 (package-install-button-action): Adjust accordingly.
7509 (package--push): Rewrite.
7510 (package-menu--print-info): Adjust accordingly. Change the ID format
7511 to be a pkg-desc.
7512 (package-menu-describe-package, package-menu-get-status)
7513 (package-menu--find-upgrades, package-menu-mark-upgrades)
7514 (package-menu-execute, package-menu--name-predicate):
7515 Adjust accordingly.
7516 * startup.el (package--description-file): New function.
7517 (command-line): Use it.
7518 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7519 Use package-desc-version.
7520
7521 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7522 (byte-compile-preprocess): Use it.
7523 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7524 can't quite recognize.
7525 (byte-compile-add-to-list): Remove.
7526 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7527 (cconv-closure-convert): Add assertion.
7528
7529 * emacs-lisp/map-ynp.el: Use lexical-binding.
7530 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7531 Factor out some repeated code.
7532
7533 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * subr.el (with-eval-after-load): New macro.
7536 (eval-after-load): Allow form to be a function.
7537 take advantage of lexical-binding.
7538 (do-after-load-evaluation): Use dolist and adjust to new format.
7539 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7540
7541 2013-06-13 Juri Linkov <juri@jurta.org>
7542
7543 * replace.el (perform-replace): Display "symbol " and other search
7544 modes from `isearch-message-prefix' in the *Help* buffer.
7545
7546 * isearch.el (isearch-query-replace): Add " symbol" and other
7547 possible search modes from `isearch-message-prefix' to the prompt.
7548 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7549 when reading a regexp to collect.
7550
7551 2013-06-13 Juri Linkov <juri@jurta.org>
7552
7553 * isearch.el (word-search-regexp): Match whitespace if the search
7554 string begins or ends in whitespace. The LAX arg is applied to
7555 both ends of the search string. Use `regexp-quote' and explicit
7556 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7557 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7558 boundaries are replaced with symbol boundaries, and characters
7559 between symbols match non-word non-symbol syntax. (Bug#14602)
7560
7561 2013-06-13 Juri Linkov <juri@jurta.org>
7562
7563 * isearch.el (isearch-del-char): Don't exceed the length of
7564 `isearch-string' by the prefix arg. (Bug#14563)
7565
7566 2013-06-13 Juri Linkov <juri@jurta.org>
7567
7568 * isearch.el (isearch-yank-word, isearch-yank-line)
7569 (isearch-char-by-name, isearch-quote-char)
7570 (isearch-printing-char, isearch-process-search-char):
7571 Add optional count prefix arg. (Bug#14563)
7572
7573 * international/isearch-x.el
7574 (isearch-process-search-multibyte-characters):
7575 Add optional count prefix arg.
7576
7577 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7580 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7581 lexical-binding.
7582
7583 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7584
7585 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7586
7587 2013-06-13 Glenn Morris <rgm@gnu.org>
7588
7589 * startup.el (tty-handle-args):
7590 Don't just discard "--" and anything after. (Bug#14608)
7591
7592 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7593
7594 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7595
7596 Implement changes in Secret Service API. Make it backward compatible.
7597 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7598 (secrets-create-item): Use it. Prefix properties with interface.
7599
7600 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7601
7602 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7603 (term-emulate-terminal): Respect term-suppress-hard-newline.
7604
7605 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7606
7607 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7608 Only remove a `thumb-file' overlay. (Bug#14548)
7609
7610 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7611
7612 * mail/reporter.el (reporter-submit-bug-report):
7613 Handle missing package-name. (Bug#14600)
7614
7615 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7616
7617 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7618 (reftex-citation-prompt, reftex-default-bibliography)
7619 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7620 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7621 (reftex-bib-sort-author, reftex-bib-sort-year)
7622 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7623 (reftex-extract-bib-entries-from-thebibliography)
7624 (reftex-get-bibkey-default, reftex-get-bib-names)
7625 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7626 (reftex-format-bib-entry, reftex-parse-bibitem)
7627 (reftex-format-bibitem, reftex-do-citation)
7628 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7629 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7630 (reftex-insert-bib-matches, reftex-format-citation)
7631 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7632 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7633 existing comments into docstrings.
7634
7635 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7636
7637 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7638
7639 2013-06-12 Andreas Schwab <schwab@suse.de>
7640
7641 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7642 for auto-save files.
7643
7644 2013-06-12 Glenn Morris <rgm@gnu.org>
7645
7646 * ido.el (ido-delete-ignored-files): Remove.
7647 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7648 Go back to calling ido-ignore-item-p directly.
7649
7650 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7651
7652 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7653
7654 * ido.el (ido-delete-ignored-files): New function,
7655 split from ido-make-file-list-1.
7656 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7657 (ido-make-file-list-1): Use ido-delete-ignored-files.
7658
7659 2013-06-12 Leo Liu <sdl.web@gmail.com>
7660
7661 * progmodes/octave.el (inferior-octave-startup)
7662 (inferior-octave-completion-table)
7663 (inferior-octave-track-window-width-change)
7664 (octave-eldoc-function-signatures, octave-help)
7665 (octave-find-definition): Use single quoted strings.
7666 (inferior-octave-startup-args): Change default value.
7667 (inferior-octave-startup): Do not hard code "-i" and
7668 "--no-line-editing".
7669 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7670 (inferior-octave-directory-tracker): Use it.
7671 (octave-goto-function-definition): Robustify.
7672 (octave-help): Support highlighting operators in 'See also'.
7673 (octave-find-definition): Find subfunctions only in Octave mode.
7674
7675 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7676
7677 * help-fns.el (help-fns--compiler-macro): If the handler function is
7678 named, then put a link to it.
7679 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7680 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7681 (cl-typep): Use it.
7682 (cl-eval-when): Simplify debug spec.
7683 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7684 compiler-macro function instead of setting `compiler-macro-file'.
7685
7686 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7687
7688 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7689 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7690
7691 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7692 Daniel Hackney <dan@haxney.org>
7693
7694 First part of Daniel Hackney's patch to package.el.
7695 * emacs-lisp/package.el: Use defstruct.
7696 (package-desc): New, main struct.
7697 (package--bi-desc, package--ac-desc): New structs, used to describe the
7698 format in external files.
7699 (package-desc-vers): Replace with package-desc-version accessor.
7700 (package-desc-doc): Replace with package-desc-summary accessor.
7701 (package-activate-1): Remove `package' arg since the pkg-vec now
7702 includes the name.
7703 (define-package): Use package-desc-from-define.
7704 (package-unpack-single): Change file-name arg to be a symbol.
7705 (package--add-to-archive-contents): Use package-desc-create and new
7706 accessor functions to package--ac-desc.
7707 (package-buffer-info, package-tar-file-info): Return a package-desc.
7708 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7709 arg to be a package-desc.
7710 (package-install-file): Adjust accordingly. Use \' to match EOS.
7711 (package--from-builtin): New function.
7712 (describe-package-1, package-menu--generate): Use it.
7713 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7714 (package-generate-autoloads): Idem and return the name of the file.
7715 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7716 Change pkg-info arg to be a package-desc.
7717 Use package-make-ac-desc.
7718 (package-upload-file): Use \' to match EOS.
7719 * finder.el (finder-compile-keywords): Use package-make-builtin.
7720
7721 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * vc/vc.el (vc-deduce-fileset): Change error message.
7724 (vc-read-backend): New function.
7725 (vc-next-action): Use it.
7726
7727 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7728
7729 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7730 (prolog-font-lock-keywords): Use regexp-opt instead.
7731 Don't manually highlight strings.
7732 (prolog-mode-variables): Simplify comment-start-skip.
7733 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7734
7735 * emacs-lisp/generic.el (generic--normalise-comments)
7736 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7737 (generic-mode-set-comments): Use them.
7738 (generic-bracket-support): Use setq-local.
7739 (generic-make-keywords-list): Declare obsolete.
7740
7741 2013-06-11 Glenn Morris <rgm@gnu.org>
7742
7743 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7744 Prettify after setting font-lock-defaults. (Bug#14574)
7745
7746 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7747
7748 * replace.el (query-replace, occur-read-regexp-defaults-function)
7749 (replace-search):
7750 * subr.el (declare-function, number-sequence, local-set-key)
7751 (substitute-key-definition, locate-user-emacs-file)
7752 (with-silent-modifications, split-string, eval-after-load):
7753 Fix typos, remove unneeded backslashes and reflow some docstrings.
7754
7755 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7756
7757 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7758 default for Elisp files.
7759
7760 2013-06-11 Glenn Morris <rgm@gnu.org>
7761
7762 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7763 although define-derived-mode was doing this anyway. (Bug#14583)
7764
7765 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7766
7767 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7768 Fix make-variable-buffer-local call to refer to the correct variable.
7769
7770 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7771
7772 * eshell/em-term.el (eshell-visual-commands)
7773 (eshell-visual-subcommands, eshell-visual-options):
7774 Add summary line to docstrings. Add cross-references.
7775
7776 2013-06-10 Glenn Morris <rgm@gnu.org>
7777
7778 * epa.el (epa-read-file-name): New function. (Bug#14510)
7779 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7780
7781 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7782
7783 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7784 output redirection to be ignored with visual commands.
7785
7786 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7787
7788 * eshell/em-term.el (eshell-visual-command-p): New function.
7789 (eshell-term-initialize): Move long lambda to separate function
7790 eshell-visual-command-p.
7791 * eshell/em-dirs.el (eshell-dirs-initialise):
7792 * eshell/em-script.el (eshell-script-initialize):
7793 Add missing #' to lambda.
7794
7795 2013-06-08 Leo Liu <sdl.web@gmail.com>
7796
7797 * progmodes/octave.el (octave-add-log-current-defun): New function.
7798 (octave-mode): Set add-log-current-defun-function.
7799 (octave-goto-function-definition): Do not move point if not found.
7800 (octave-find-definition): Enhance to try subfunctions first.
7801
7802 2013-06-08 Glenn Morris <rgm@gnu.org>
7803
7804 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7805 (byte-compile-backward-char, byte-compile-backward-word):
7806 Improve previous change, to handle non-explicit nil.
7807
7808 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7809
7810 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7811 (smie--opener/closer-at-point): New function.
7812 (smie--matching-block-data): Use it. Don't match from right after an
7813 opener or right before a closer. Obey smie-blink-matching-inners.
7814 Don't signal a mismatch for repeated inners like "switch..case..case".
7815
7816 2013-06-07 Leo Liu <sdl.web@gmail.com>
7817
7818 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7819 to t. (Bug#14303)
7820 (octave-function-header-regexp): Fix. (Bug#14570)
7821 (octave-help-mode-finish-hook, octave-help-mode-finish):
7822 Remove. Just use temp-buffer-show-hook.
7823
7824 * newcomment.el (comment-search-backward): Revert last change.
7825 (Bug#14434)
7826
7827 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7828
7829 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7830
7831 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7832 through xargs, to avoid failure due to MS-Windows limitations on
7833 command-line length.
7834
7835 2013-06-06 Glenn Morris <rgm@gnu.org>
7836
7837 * font-lock.el (lisp-font-lock-keywords-2):
7838 Treat user-error like error.
7839
7840 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7841 (byte-compile-backward-char, byte-compile-backward-word):
7842 Handle explicit nil arguments. (Bug#14565)
7843
7844 2013-06-05 Alan Mackenzie <acm@muc.de>
7845
7846 * isearch.el (isearch-allow-prefix): New user option.
7847 (isearch-other-meta-char): Don't exit isearch when a prefix
7848 argument is typed whilst `isearch-allow-prefix' is non-nil.
7849 (Bug#9706)
7850
7851 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7852
7853 * autorevert.el (auto-revert-notify-handler): Use memq.
7854 Hide assertion failure.
7855
7856 * skeleton.el: Use cl-lib.
7857 (skeleton-further-elements): Use defvar-local.
7858 (skeleton-insert): Use cl-progv.
7859
7860 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7861
7862 * progmodes/prog-mode.el (prog-prettify-symbols)
7863 (prog-prettify-install): Update docstrings.
7864
7865 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7866
7867 * simple.el: Move all the prog-mode code to prog-mode.el.
7868 * progmodes/prog-mode.el: New file.
7869 * loadup.el: Add prog-mode.el.
7870
7871 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7872
7873 * simple.el (prog-prettify-symbols): Add version.
7874 (prog-prettify-install): Add convenience function to prettify symbols.
7875
7876 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7877 (perl--augmented-font-lock-keywords-1)
7878 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7879 variables and use it.
7880
7881 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7882 (cfengine3-mode): Remove unneeded variable and use it.
7883
7884 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7885 (lisp--augmented-font-lock-keywords-1)
7886 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7887 Remove unneeded variables and use it.
7888
7889 2013-06-05 João Távora <joaotavora@gmail.com>
7890
7891 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7892 to point when opening the connection. (Bug#14380)
7893
7894 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7895
7896 * subr.el (load-history-regexp, load-history-filename-element)
7897 (eval-after-load, after-load-functions, do-after-load-evaluation)
7898 (eval-next-after-load, display-delayed-warnings)
7899 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7900 definition of save-match-data.
7901 (overriding-local-map): Remove accidental obsolescence declaration.
7902
7903 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7904
7905 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7906
7907 Generalize symbol prettify support to prog-mode and implement it
7908 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7909 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7910 (prog--prettify-font-lock-compose-symbol)
7911 (prog-prettify-font-lock-symbols-keywords): New variables and
7912 functions to support symbol prettification.
7913 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7914 (lisp--augmented-font-lock-keywords-1)
7915 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7916 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7917 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7918 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7919 Implement prettify of -> => :: strings.
7920 * progmodes/perl-mode.el (perl-prettify-symbols)
7921 (perl--font-lock-compose-symbol)
7922 (perl--font-lock-symbols-keywords): Move to prog-mode.
7923 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7924 (perl-font-lock-keywords-1)
7925 (perl-font-lock-keywords-2): Remove explicit prettify support.
7926 (perl--augmented-font-lock-keywords)
7927 (perl--augmented-font-lock-keywords-1)
7928 (perl--augmented-font-lock-keywords-2, perl-mode):
7929 Implement prettify support.
7930
7931 2013-06-05 Leo Liu <sdl.web@gmail.com>
7932
7933 Re-implement smie matching block highlight using
7934 show-paren-data-function. (Bug#14395)
7935 * emacs-lisp/smie.el (smie-matching-block-highlight)
7936 (smie--highlight-matching-block-overlay)
7937 (smie--highlight-matching-block-lastpos)
7938 (smie-highlight-matching-block)
7939 (smie-highlight-matching-block-mode): Remove.
7940 (smie--matching-block-data-cache): New variable.
7941 (smie--matching-block-data): New function.
7942 (smie-setup): Use smie--matching-block-data for
7943 show-paren-data-function.
7944
7945 * progmodes/octave.el (octave-mode-menu): Fix.
7946 (octave-find-definition): Skip garbage lines.
7947
7948 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 Fix compilation error with simultaneous dynamic+lexical scoping.
7951 Add warning when a defvar appears after the first let-binding.
7952 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7953 (byte-compile-close-variables): Initialize it.
7954 (byte-compile--declare-var): New function.
7955 (byte-compile-file-form-defvar)
7956 (byte-compile-file-form-define-abbrev-table)
7957 (byte-compile-file-form-custom-declare-variable): Use it.
7958 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7959 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7960 (byte-compile-bind): Handle dynamic bindings that shadow
7961 lexical bindings.
7962 (byte-compile-unbind): Make arg non-optional.
7963 (byte-compile-let): Simplify.
7964 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7965 (cconv--analyse-function, cconv-analyse-form): Populate it.
7966 Protect byte-compile-bound-variables to limit the scope of defvars.
7967 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7968 Remove unneeded rule for `declare'.
7969
7970 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7971 so as to avoid depending on cl-adjoin at run-time.
7972 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7973
7974 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7975 (macroexp--warn-and-return): Use it.
7976
7977 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * lisp/subr.el: Convert to lexical binding.
7980 (overriding-local-map): Make obsolete.
7981 (add-to-list): Doc fix. Add compiler macro.
7982 (read-key): Swap values of local maps.
7983
7984 2013-06-05 Leo Liu <sdl.web@gmail.com>
7985
7986 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7987
7988 2013-06-04 Leo Liu <sdl.web@gmail.com>
7989
7990 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7991 (compilation-auto-jump): Suppress the "Mark set" message to give
7992 way to exit message.
7993
7994 2013-06-04 Alan Mackenzie <acm@muc.de>
7995
7996 Remove faulty optimisation from indentation calculation.
7997 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7998 search limit based on 2000 characters back from indent-point.
7999
8000 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8001
8002 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8003
8004 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * emacs-lisp/lisp.el: Use lexical-binding.
8007 (lisp--local-variables-1, lisp--local-variables): New functions.
8008 (lisp--local-variables-completion-table): New var.
8009 (lisp-completion-at-point): Use it complete let-bound vars.
8010
8011 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8012 eagerly (bug#14422).
8013
8014 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8015
8016 * autorevert.el (auto-revert-notify-enabled)
8017 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8018 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8019 (auto-revert-notify-handler): Handle also gfilenotify.
8020
8021 * subr.el (file-notify-handle-event): New defun. Replacing ...
8022 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8023 Remove.
8024
8025 2013-06-03 Juri Linkov <juri@jurta.org>
8026
8027 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8028 `M-s h .'. (Bug#14427)
8029
8030 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8031 command `hi-lock-face-symbol-at-point'.
8032 (hi-lock-face-symbol-at-point): New command.
8033 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8034 (hi-lock-menu): Add `highlight-symbol-at-point'.
8035 (hi-lock-mode): Doc fix.
8036
8037 * isearch.el (isearch-forward-symbol-at-point): New command.
8038 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8039 (isearch-highlight-regexp): Add a regexp which matches
8040 words/symbols for word/symbol mode.
8041
8042 * subr.el (find-tag-default-bounds): New function with the body
8043 mostly moved from `find-tag-default'.
8044 (find-tag-default): Move most code to `find-tag-default-bounds',
8045 call it and apply `buffer-substring-no-properties' afterwards.
8046
8047 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8048
8049 * eshell/em-term.el (eshell-term-initialize):
8050 Use `cl-intersection' rather than `intersection'.
8051
8052 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8053
8054 * vc/log-view.el: Doc fix.
8055 (log-view-mode-map): Copy keymap from `special-mode-map'.
8056
8057 2013-06-02 Eric Ludlam <zappo@gnu.org>
8058
8059 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8060 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8061 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8062 (eieio-unbound, eieio-default-superclass)
8063 (eieio--define-field-accessors, method-static, method-before)
8064 (method-primary, method-after, method-num-lists)
8065 (method-generic-before, method-generic-primary)
8066 (method-generic-after, method-num-slots)
8067 (eieio-specialized-key-to-generic-key)
8068 (eieio--check-type, class-v, class-p)
8069 (eieio-class-name, define-obsolete-function-alias)
8070 (eieio-class-parents-fast, eieio-class-children-fast)
8071 (same-class-fast-p, class-constructor, generic-p)
8072 (generic-primary-only-p, generic-primary-only-one-p)
8073 (class-option-assoc, class-option, eieio-object-p)
8074 (class-abstract-p, class-method-invocation-order)
8075 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8076 (eieio-class-un-autoload, eieio-defclass)
8077 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8078 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8079 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8080 (eieio-defgeneric-reset-generic-form)
8081 (eieio-defgeneric-form-primary-only)
8082 (eieio-defgeneric-reset-generic-form-primary-only)
8083 (eieio-defgeneric-form-primary-only-one)
8084 (eieio-defgeneric-reset-generic-form-primary-only-one)
8085 (eieio-unbind-method-implementations)
8086 (eieio--defmethod, eieio--typep)
8087 (eieio-perform-slot-validation, eieio-validate-slot-value)
8088 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8089 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8090 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8091 (eieio-slot-name-index, eieio-class-slot-name-index)
8092 (eieio-set-defaults, eieio-initarg-to-attribute)
8093 (eieio-attribute-to-initarg, eieio-c3-candidate)
8094 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8095 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8096 (eieio-class-precedence-list, eieio-generic-call-methodname)
8097 (eieio-generic-call-arglst, eieio-generic-call-key)
8098 (eieio-generic-call-next-method-list)
8099 (eieio-pre-method-execution-functions, eieio-generic-call)
8100 (eieio-generic-call-primary-only, eieiomt-method-list)
8101 (eieiomt-optimizing-obarray, eieiomt-install)
8102 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8103 (eieio-generic-form, eieio-defmethod, make-obsolete)
8104 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8105 (defclass): Remove `eval-and-compile' from macro.
8106 (call-next-method, shared-initialize): Instead of using
8107 `scoped-class' variable, use new eieio--scoped-class, and
8108 eieio--with-scoped-class.
8109 (initialize-instance): Rename local variable 'scoped-class' to
8110 'this-class' to remove ambiguitity from old global.
8111
8112 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8113 eieio.el.
8114 (eieio--scoped-class-stack): New variable.
8115 (eieio--scoped-class): New fcn.
8116 (eieio--with-scoped-class): New scoping macro.
8117 (eieio-defclass): Use pushnew instead of add-to-list.
8118 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8119 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8120 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8121 `scoped-class' variable, use new eieio--scoped-class, and
8122 eieio--with-scoped-class.
8123
8124 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8125
8126 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8127
8128 * eshell/esh-ext.el (eshell-external-command): Pass args to
8129 `eshell-find-interpreter'.
8130 (eshell-find-interpreter): Add new second parameter ARGS.
8131
8132 * eshell/em-script.el (eshell-script-initialize): Add second arg
8133 to the function added as MATCH to `eshell-interpreter-alist'.
8134
8135 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8136 the function added as MATCH to `eshell-interpreter-alist'.
8137
8138 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8139 (eshell-visual-options): New defcustom.
8140 (eshell-escape-control-x): Adapt docstring.
8141 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8142 `eshell-visual-options' in addition to `eshell-visual-commands'.
8143 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8144
8145 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8146
8147 * progmodes/python.el (python-indent-block-enders): Add break,
8148 continue and raise keywords.
8149
8150 2013-06-01 Glenn Morris <rgm@gnu.org>
8151
8152 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8153
8154 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8155 * progmodes/cc-cmds.el (delete-forward-p):
8156 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8157 * progmodes/cc-engine.el (buffer-syntactic-context):
8158 * progmodes/cc-fonts.el (face-property-instance):
8159 * progmodes/cc-mode.el (set-keymap-parents):
8160 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8161 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8162 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8163 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8164 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8165
8166 * progmodes/cc-vars.el (other): Emacs has this widget since
8167 at least 21.1, so don't (re)define it.
8168
8169 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8170 Replace the obsolete alias pcomplete-arg-quote-list.
8171
8172 2013-06-01 Leo Liu <sdl.web@gmail.com>
8173
8174 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8175 punctuation syntax.
8176 (inferior-octave-minimal-columns)
8177 (inferior-octave-last-column-width): New variables.
8178 (inferior-octave-track-window-width-change): New function.
8179 (inferior-octave-mode): Adjust column width so that Octave output,
8180 for example from 'ls', can fit into the window nicely.
8181
8182 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8183
8184 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8185 Highlight expansions inside regexp literals.
8186
8187 2013-05-31 Glenn Morris <rgm@gnu.org>
8188
8189 * obsolete/sym-comp.el (symbol-complete):
8190 Replace obsolete completion-annotate-function.
8191
8192 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8193
8194 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8195
8196 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8197 New function, checks if point is inside a literal that allows
8198 expression expansion.
8199 (ruby-syntax-propertize-expansion): Use it.
8200 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8201 around the body.
8202
8203 2013-05-30 Juri Linkov <juri@jurta.org>
8204
8205 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8206 to "\M-si".
8207 (isearch-invisible): New variable.
8208 (isearch-forward): Doc fix.
8209 (isearch-mode): Set `isearch-invisible'
8210 to the value of `search-invisible'.
8211 (isearch-toggle-case-fold): Doc fix.
8212 (isearch-toggle-invisible): New command.
8213 (isearch-query-replace): Let-bind `search-invisible'
8214 to the value of `isearch-invisible'.
8215 (isearch-search): Use `isearch-invisible' instead of
8216 `search-invisible'. Let-bind `search-invisible'
8217 to the value of `isearch-invisible'. (Bug#11378)
8218
8219 2013-05-30 Juri Linkov <juri@jurta.org>
8220
8221 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8222 call when `query-flag' is nil and `search-invisible' is non-nil.
8223 (Bug#11746)
8224
8225 2013-05-30 Glenn Morris <rgm@gnu.org>
8226
8227 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8228
8229 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8230 (cc-require): Suppress spurious "noruntime" warnings.
8231 (cc-require-when-compile): Use fboundp, for sake of compiler.
8232
8233 * progmodes/cc-mode.el: Move load of cc-vars before that of
8234 cc-langs (which in turn loads cc-vars), to quieten compiler.
8235
8236 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8237
8238 * paren.el: Simplify the code.
8239 (show-paren-mode): Always start the timer.
8240 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8241 (show-paren--overlay, show-paren--overlay-1): Rename from
8242 show-paren-overlay and show-paren-overlay-1, and initialize to an
8243 overlay rather than to nil.
8244 (show-paren-function): Misc cleanup and simplifications.
8245
8246 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * paren.el (show-paren-data-function): New hook.
8249 (show-paren--default): New function, extracted from show-paren-function.
8250 (show-paren-function): Use show-paren-data-function.
8251
8252 2013-05-30 Glenn Morris <rgm@gnu.org>
8253
8254 * ielm.el (ielm-map, ielm-complete-symbol):
8255 Use completion-at-point rather than obsolete functions.
8256 (inferior-emacs-lisp-mode): Doc fix.
8257 Set completion-at-point-functions, rather than
8258 comint-dynamic-complete-functions.
8259
8260 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8261 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8262 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8263
8264 * image.el (image-animated-p): Tweak definition.
8265
8266 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8267 (rlogin-process-connection-type): Tweak default. Add set-after.
8268 (rlogin-host): Doc fix.
8269 (rlogin): Tweak prompt.
8270 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8271
8272 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8273 * progmodes/tcl.el (inferior-tcl-mode-map):
8274 Use completion-at-point rather than obsolete alias.
8275
8276 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8277
8278 * minibuffer.el (read-file-name-completion-ignore-case):
8279 Move before completion--in-region, for eager macro expansion.
8280
8281 2013-05-29 Juri Linkov <juri@jurta.org>
8282
8283 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8284 for total count of matching lines. Add `global-matches' for total
8285 count of matches. Rename `matches' to `lines' for count of
8286 matching lines. Add `matches' for count of matches.
8287 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8288 to `prev-line' for line number of prev match endpt.
8289 Increment `matches' for every match. Print the number of
8290 matching lines in the header.
8291 (occur-context-lines): Rename `lines' to `curr-line'.
8292 Rename `prev-lines' to `prev-line'. (Bug#14017)
8293
8294 2013-05-29 Juri Linkov <juri@jurta.org>
8295
8296 * replace.el (perform-replace): Add `skip-read-only-count',
8297 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8298 Increment them for corresponding conditions and report the number
8299 of skipped occurrences in the final message. (Bug#11746)
8300 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8301 (replace-string, replace-regexp): Doc fix.
8302
8303 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8306
8307 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8308 prog-mode-map (bug#14504).
8309
8310 2013-05-29 Leo Liu <sdl.web@gmail.com>
8311
8312 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8313 (octave-help): Small simplification.
8314
8315 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8316 off the highlight first.
8317
8318 2013-05-29 Glenn Morris <rgm@gnu.org>
8319
8320 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8321 Handle idlwave-last-system-routine-info-cons-cell being nil.
8322
8323 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8324 (idlwave-write-paths): Simplify via with-temp-buffer.
8325
8326 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8327 * emulation/cua-rect.el: Also load cua-base at run time.
8328
8329 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8330 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8331 (cperl-imenu-on-info): Require imenu.
8332
8333 2013-05-28 Alan Mackenzie <acm@muc.de>
8334
8335 Handle "capitalised keywords" correctly.
8336 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8337
8338 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8339
8340 * eshell/em-unix.el: Add -r option to cp.
8341
8342 2013-05-28 Glenn Morris <rgm@gnu.org>
8343
8344 * vc/vc-arch.el (vc-exec-after): Declare.
8345 (vc-switches): Autoload.
8346 * vc/vc-bzr.el: No need to require vc when compiling.
8347 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8348 (vc-resynch-buffer, vc-dir-refresh): Declare.
8349 (vc-setup-buffer, vc-switches): Autoload.
8350 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8351 (vc-resynch-buffer): Declare.
8352 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8353 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8354 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8355 (grep-read-regexp, grep-read-files, grep-expand-template)
8356 (vc-dir-refresh): Declare.
8357 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8358 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8359 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8360 * vc/vc-mtn.el (vc-exec-after): Declare.
8361 (vc-switches): Autoload.
8362 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8363 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8364 (vc-file-tree-walk): Declare.
8365 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8366 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8367 (vc-tag-precondition, vc-rename-master): Autoload.
8368 * vc/vc-svn.el (vc-exec-after): Declare.
8369 (vc-switches, vc-setup-buffer): Autoload.
8370 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8371 Autoload.
8372 (vc-resynch-buffer): Declare.
8373
8374 * obsolete/fast-lock.el (byte-compile-warnings):
8375 Don't warn about obsolete features in this obsolete file.
8376
8377 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8378 Move definition before use.
8379
8380 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8381 (dun-unix-verbs): Remove dun-zippy.
8382 (dun-zippy): Remove function.
8383
8384 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8385
8386 2013-05-27 Juri Linkov <juri@jurta.org>
8387
8388 * replace.el (replace-search): New function with code moved out
8389 from `perform-replace'.
8390 (replace-highlight, replace-dehighlight): Move function definitions
8391 up closer to `replace-search'. (Bug#11746)
8392
8393 2013-05-27 Juri Linkov <juri@jurta.org>
8394
8395 * replace.el (perform-replace): Ignore invisible matches.
8396 In addition to checking `query-replace-skip-read-only', also
8397 filter out matches by calling `run-hook-with-args-until-failure'
8398 on `isearch-filter-predicates', and also check `search-invisible'
8399 for t or call `isearch-range-invisible'.
8400 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8401
8402 2013-05-27 Juri Linkov <juri@jurta.org>
8403
8404 * isearch.el (isearch-filter-predicates): Rename from
8405 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8406 (isearch-message-prefix): Display text from the property
8407 `isearch-message-prefix' of the currently active filters.
8408 (isearch-search): Don't compare `isearch-filter-predicate' with
8409 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8410 on `isearch-filter-predicates'. Also check `search-invisible' for t
8411 or call `isearch-range-invisible'.
8412 (isearch-filter-visible): Make obsolete.
8413 (isearch-lazy-highlight-search):
8414 Call `run-hook-with-args-until-failure' on
8415 `isearch-filter-predicates' and use `isearch-range-invisible'.
8416
8417 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8418 `isearch-filter-predicates' instead of `funcall'ing
8419 `isearch-filter-predicate'.
8420 (Info-mode): Set `Info-isearch-filter' to
8421 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8422
8423 * dired-aux.el (dired-isearch-filter-predicate-orig):
8424 Remove variable.
8425 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8426 (dired-isearch-filenames-end): Add and remove
8427 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8428 instead of changing the value of `isearch-filter-predicate'.
8429 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8430 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8431 Put property `isearch-message-prefix' to "filename " on
8432 `dired-isearch-filter-filenames'.
8433
8434 * wdired.el (wdired-change-to-wdired-mode):
8435 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8436 locally instead of changing `isearch-filter-predicate'.
8437 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8438
8439 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8440
8441 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8442 return the commit hash (Bug#14459). Also set the
8443 `vc-git-detached' property.
8444 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8445 (vc-git-mode-line-string): Use the same help-echo format whether
8446 in detached mode or not, because we know the actual revision now.
8447 When in detached mode, shorten the revision to 7 chars.
8448
8449 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * emacs-lisp/easy-mmode.el (define-minor-mode):
8452 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8453 mode hook and provide a docstring.
8454
8455 2013-05-27 Alan Mackenzie <acm@muc.de>
8456
8457 Remove spurious syntax-table text properties inserted by C-y.
8458 * progmodes/cc-mode.el (c-after-change): Also clear hard
8459 syntax-table property with value nil.
8460
8461 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8462
8463 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8464 when reading the events; the buffer layout shall not be changed.
8465
8466 2013-05-27 Leo Liu <sdl.web@gmail.com>
8467
8468 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8469 New variable.
8470 (inferior-octave-directory-tracker): Automatically re-sync
8471 default-directory.
8472 (octave-help): Improve handling of 'See also'.
8473
8474 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * doc-view.el: Minor naming convention tweaks.
8477 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8478
8479 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8480 even if there's no `display' property yet (bug#14435).
8481
8482 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8483
8484 * subr.el (unmsys--file-name): Rename from reveal-filename.
8485
8486 * Makefile.in (custom-deps, finder-data, autoloads)
8487 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8488 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8489 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8490
8491 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8494 error-completion on the first 2 args of condition-case (bug#14446).
8495 Don't burp at EOB.
8496
8497 2013-05-25 Leo Liu <sdl.web@gmail.com>
8498
8499 * comint.el (comint-previous-matching-input): Do not flood the
8500 *Messages* buffer with trivial messages.
8501
8502 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * progmodes/flymake.el (flymake-nop): Don't return a string.
8505 (flymake-set-at): Fix typo.
8506
8507 * simple.el (read--expression): New function, extracted from
8508 eval-expression. Set completion-at-point-functions (bug#14465).
8509 (eval-expression, eval-minibuffer): Use it.
8510
8511 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8512
8513 * progmodes/flymake.el (flymake-save-buffer-in-file)
8514 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8515 (flymake-selected-frame, flymake-log, flymake-ins-after)
8516 (flymake-set-at, flymake-get-buildfile-from-cache)
8517 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8518 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8519 Refine the doc string.
8520 (flymake-get-file-name-mode-and-masks): Reformat.
8521 (flymake-get-real-file-name-function): Fix a minor bug.
8522
8523 2013-05-24 Juri Linkov <juri@jurta.org>
8524
8525 * progmodes/grep.el (grep-mode-font-lock-keywords):
8526 Support =linenumber= format used by git-grep for lines with
8527 function names. (Bug#13549)
8528
8529 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8532 0 after a semi-colon; it works better for smie-auto-fill.
8533 (octave--indent-new-comment-line): New function.
8534 (octave-indent-new-comment-line): Use it (indirectly).
8535 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8536 modify comment-line-break-function.
8537
8538 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8539 (smie-setup): Use add-function to set it.
8540
8541 2013-05-24 Sam Steingold <sds@gnu.org>
8542
8543 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8544 argument (before the `interactive' argument).
8545
8546 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8547
8548 * image-mode.el (image-mode-winprops): Add winprops to
8549 image-mode-winprops-alist before running
8550 image-mode-new-window-functions.
8551 * doc-view.el (doc-view-new-window-function): Don't delay
8552 doc-view-goto-page via timers (bug#14435).
8553
8554 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8555
8556 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8557 (doc-view-desktop-save-buffer): New function.
8558 (doc-view-restore-desktop-buffer): New function.
8559 (desktop-buffer-mode-handlers):
8560 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8561 handler.
8562 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8563 `desktop-save-buffer' function.
8564
8565 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8566
8567 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8568 (tramp-gvfs-file-name-handler): Raise a user error when
8569 `tramp-gvfs-enabled' is nil.
8570 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8571 Do not raise a user error when loading package. (Bug#14447)
8572
8573 * net/xesam.el: Move to obsolete/.
8574
8575 2013-05-24 Glenn Morris <rgm@gnu.org>
8576
8577 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8578
8579 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8580
8581 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8582 (Info-find-node, Man-getpage-in-background): Declare.
8583
8584 * mail/unrmail.el (unrmail):
8585 Replace obsolete detect-coding-with-priority.
8586
8587 * net/socks.el (socks-split-string): Use this rather than split-string.
8588 (socks-nslookup-host): Update for above change.
8589 (dynamic-choice, s5-dynamic-choice-match)
8590 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8591 Comment out unused code.
8592
8593 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8594 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8595 (gud-tooltip-echo-area): Make obsolete.
8596 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8597
8598 * progmodes/js.el (js--optimize-arglist): Declare.
8599
8600 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8601
8602 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8603 (ediff-window-C): Declare.
8604
8605 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8606 Tweak requires to silence compiler.
8607
8608 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8609 (he-search-string, he-tried-table, he-expand-list)
8610 (he-init-string, he-string-member, he-substitute-string)
8611 (he-reset-string): Declare.
8612
8613 * obsolete/options.el (list-options): Use custom-variable-p,
8614 rather than obsolete alias.
8615
8616 2013-05-23 Sam Steingold <sds@gnu.org>
8617
8618 * simple.el (shell-command-on-region): Pass the `replace' argument
8619 down to `call-process-region' to comply with the doc as reported on
8620 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8621
8622 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8623
8624 * emacs-lisp/smie.el (smie-indent-forward-token)
8625 (smie-indent-backward-token): Handle string tokens (bug#14381).
8626
8627 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8628
8629 * ielm.el (ielm-menu): New menu.
8630 (inferior-emacs-lisp-mode): Set comment-start.
8631
8632 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8633
8634 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8635 Fix deactivate action.
8636
8637 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8638 Add cleveref macros.
8639
8640 * lisp/textmodes/reftex-parse.el
8641 (reftex-locate-bibliography-files): Accept options for
8642 bibliography commands.
8643 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8644 Add addbibresource. Basic Biblatex support.
8645
8646 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8647
8648 * net/tramp-gvfs.el (top):
8649 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8650 when loading package. (Bug#14447)
8651
8652 2013-05-23 Glenn Morris <rgm@gnu.org>
8653
8654 * progmodes/js.el: No need to load comint when compiling.
8655 (ring-insert, comint-send-string, comint-send-input)
8656 (comint-last-input-end, ido-chop): Declare.
8657
8658 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8659 * vc/ediff-mult.el: Adjust requires.
8660 (ediff-directories-internal, ediff-directory-revisions-internal)
8661 (ediff-patch-file-internal): Declare.
8662 * vc/ediff-ptch.el: Adjust requires.
8663 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8664 (ediff-find-file): Autoload.
8665 * vc/ediff-util.el: No need to load ediff when compiling.
8666 (ediff-regions-internal): Declare.
8667 * vc/ediff-wind.el: Adjust requires.
8668 (ediff-compute-toolbar-width): Define when compiling.
8669 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8670 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8671 (dired-get-filename, dired-get-marked-files)
8672 (ediff-last-dir-patch, ediff-patch-default-directory)
8673 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8674 (ediff-patch-buffer-internal): Declare.
8675
8676 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8677 (ispell-process, ispell-buffer-local-words, lm-summary)
8678 (lm-section-start, lm-section-end): Declare.
8679 (checkdoc-ispell-init): Simplify.
8680
8681 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8682 (he-string-member, he-reset-string, he-substitute-string): Declare.
8683
8684 * eshell/em-ls.el: Adjust requires.
8685 (eshell-glob-regexp): Declare.
8686 * eshell/em-tramp.el: Adjust requires.
8687 (eshell-parse-command): Autoload.
8688 * eshell/em-xtra.el: Adjust requires.
8689 (eshell-parse-command): Autoload.
8690 * eshell/esh-ext.el: Adjust requires.
8691 (eshell-parse-command, eshell-close-handles): Autoload.
8692 * eshell/esh-io.el: Adjust requires.
8693 (eshell-output-filter): Autoload.
8694 * eshell/esh-util.el: No need to load tramp when compiling.
8695 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8696 Declare.
8697 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8698 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8699 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8700 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8701 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8702 * eshell/esh-opt.el, eshell/esh-proc.el:
8703 * eshell/esh-var.el: Adjust requires.
8704 * eshell/eshell.el: Do not require esh-util twice.
8705 (eshell-add-input-to-history): Declare.
8706 (eshell-command): Check history module is active before using it.
8707
8708 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8709
8710 2013-05-22 Leo Liu <sdl.web@gmail.com>
8711
8712 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8713
8714 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8715
8716 * autorevert.el (auto-revert-notify-add-watch)
8717 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8718 it indicates changes in file modification time.
8719
8720 2013-05-22 Glenn Morris <rgm@gnu.org>
8721
8722 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8723 Always delete the autoloaded function from the noruntime and
8724 unresolved functions lists.
8725
8726 * allout.el: No need to load epa, epg, overlay when compiling.
8727 (epg-context-set-passphrase-callback, epg-list-keys)
8728 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8729 (epg-key-user-id-list): Declare.
8730
8731 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8732 (viper-set-parsing-style-toggling-macro)
8733 (viper-set-emacs-state-searchstyle-macros):
8734 Use called-interactively-p on Emacs.
8735 (viper-looking-back): Make it an obsolete alias. Update callers.
8736 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8737 Use looking-back rather than viper-looking-back.
8738 (viper-tmp-insert-at-eob, viper-enlarge-region)
8739 (viper-read-string-with-history, viper-register-to-point)
8740 (viper-append-to-register, viper-change-state-to-vi)
8741 (viper-backward-char-carefully, viper-forward-char-carefully)
8742 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8743 (viper-change-state-to-emacs): Declare.
8744 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8745 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8746 * emulation/viper-mous.el: Do not load viper-cmd.
8747 (viper-backward-char-carefully, viper-forward-char-carefully)
8748 (viper-forward-word, viper-adjust-window): Declare.
8749
8750 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8751
8752 * progmodes/idlw-help.el (idlwave-help-fontify):
8753 Use called-interactively-p.
8754
8755 * term/w32console.el (w32-get-console-codepage)
8756 (w32-get-console-output-codepage): Declare.
8757
8758 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8759 Remove unnecessary declarations.
8760 (dframe-message): Doc fix.
8761
8762 * info.el (dframe-select-attached-frame, dframe-current-frame):
8763 Declare.
8764
8765 * speedbar.el (speedbar-message): Make it an obsolete alias.
8766 Update all callers.
8767 (speedbar-with-attached-buffer)
8768 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8769 (speedbar-with-writable): Use backquote.
8770 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8771 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8772 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8773 rather than speedbar- aliases.
8774 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8775 (speedbar-make-specialized-keymap, speedbar-insert-button)
8776 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8777 (speedbar-do-function-pointer): Declare.
8778 (rmail-speedbar-button, rmail-speedbar-find-file)
8779 (rmail-speedbar-move-message):
8780 Use dframe-with-attached-buffer rather than speedbar- alias.
8781 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8782 (dframe-message, speedbar-make-specialized-keymap)
8783 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8784 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8785 (speedbar-insert-button, dframe-select-attached-frame)
8786 (dframe-maybee-jump-to-attached-frame)
8787 (speedbar-change-initial-expansion-list)
8788 (speedbar-previously-used-expansion-list-name): Declare.
8789 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8790 Use dframe-message, dframe-with-attached-buffer rather than
8791 speedbar- aliases.
8792 (gud-sentinel): Silence compiler.
8793 * progmodes/vhdl-mode.el (speedbar-refresh)
8794 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8795 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8796 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8797 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8798 (speedbar-file-lists, speedbar-make-tag-line)
8799 (speedbar-line-directory, speedbar-goto-this-file)
8800 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8801 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8802 (speedbar-make-button, speedbar-reset-scanners)
8803 (speedbar-files-item-info, speedbar-line-text)
8804 (speedbar-find-file-in-frame, speedbar-set-timer)
8805 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8806 (speedbar-with-writable): Do not (re)define it.
8807 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8808 rather than speedbar- alias.
8809
8810 2013-05-21 Leo Liu <sdl.web@gmail.com>
8811
8812 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8813 menu items.
8814 (octave-mode): Tweak fill-nobreak-predicate.
8815 (inferior-octave-startup): Check process to avoid infinite loop.
8816 (inferior-octave): Pop to buffer first to show abornmal process
8817 exit information.
8818
8819 2013-05-21 Glenn Morris <rgm@gnu.org>
8820
8821 * printing.el (pr-menu-bar): Define when compiling.
8822
8823 2013-05-21 Leo Liu <sdl.web@gmail.com>
8824
8825 * progmodes/octave.el (octave-auto-fill): Remove.
8826 (octave-indent-new-comment-line): Improve.
8827 (octave-mode): Use auto fill mode through
8828 comment-line-break-function and fill-nobreak-predicate.
8829 (octave-goto-function-definition): Support DEFUN_DLD.
8830 (octave-beginning-of-defun): Small tweak.
8831 (octave-help): Show parent directory.
8832
8833 2013-05-21 Glenn Morris <rgm@gnu.org>
8834
8835 * files.el (dired-unmark):
8836 * progmodes/gud.el (gdb-input): Update declarations.
8837
8838 * calculator.el (electric, ehelp): No need to load when compiling.
8839 (Electric-command-loop, electric-describe-mode): Declare.
8840
8841 * doc-view.el (doc-view-current-converter-processes): Move before use.
8842
8843 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8844 Move MODE-set-explicitly definition before use.
8845
8846 * international/mule-diag.el (mule-diag):
8847 Don't use obsolete window-system-version.
8848
8849 * mail/feedmail.el (smtpmail): No need to load when compiling.
8850 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8851
8852 * mail/mail-utils.el (rfc822): No need to load when compiling.
8853 (rfc822-addresses): Autoload it.
8854 (mail-strip-quoted-names): Trivial simplification.
8855
8856 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8857 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8858
8859 * net/snmp-mode.el (tempo): Don't duplicate requires.
8860
8861 * progmodes/prolog.el (info): No need to load when compiling.
8862 (comint): Require before shell requires it.
8863 (Info-goto-node): Autoload it.
8864 (Info-follow-nearest-node): Declare.
8865 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8866
8867 * textmodes/artist.el (picture-mode-exit): Declare.
8868
8869 * textmodes/reftex-parse.el (reftex-parse-from-file):
8870 Trivial rewrite so the compiler can parse it better.
8871
8872 2013-05-20 Leo Liu <sdl.web@gmail.com>
8873
8874 * progmodes/octave.el (octave-help-mode-map)
8875 (octave-help-mode-finish-hook): New variables.
8876 (octave-help-mode, octave-help-mode-finish): New functions.
8877 (octave-help): Use octave-help-mode.
8878
8879 2013-05-20 Glenn Morris <rgm@gnu.org>
8880
8881 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8882
8883 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8884
8885 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8886 start at point, so that expansion starting right after opening
8887 slash in a regexp is recognized.
8888 (ruby-syntax-before-regexp-re): New defvar, extracted from
8889 ruby-syntax-propertize-function. Since the value of this regexp
8890 is looked up at runtime now, we should be able to turn
8891 `ruby-syntax-methods-before-regexp' into a defcustom later.
8892 (ruby-syntax-propertize-function): Split regexp matching into two
8893 parts, for opening and closing slashes. That allows us to skip
8894 over string interpolations and support multiline regexps.
8895 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8896 for them, which calls `ruby-syntax-propertize-expansion'.
8897 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8898 call to `ruby-syntax-propertize-function'.
8899 (ruby-syntax-propertize-expansion): Extracted from
8900 `ruby-syntax-propertize-expansions'. Handles one expansion.
8901 (ruby-syntax-propertize-percent-literal): Leave point right after
8902 the percent symbol, so that the expression expansion rule can
8903 propertize the contents.
8904 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8905 heredoc openers.
8906 (ruby-syntax-propertize-expansions): Remove.
8907
8908 2013-05-18 Juri Linkov <juri@jurta.org>
8909
8910 * man.el (Man-default-man-entry): Remove `-' from the end
8911 of the default value. (Bug#14400)
8912
8913 2013-05-18 Glenn Morris <rgm@gnu.org>
8914
8915 * comint.el (comint-password-prompt-regexp):
8916 Allow "password for XXX" where XXX contains colons (eg https://...).
8917
8918 2013-05-18 Leo Liu <sdl.web@gmail.com>
8919
8920 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8921 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8922 (octave-source-directories): Don't check process.
8923 (octave-source-directories, octave-find-definition): Doc fix.
8924
8925 2013-05-18 Glenn Morris <rgm@gnu.org>
8926
8927 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8928 Remove backspace/delete bindings. (Bug#14392)
8929
8930 * cus-dep.el (custom-make-dependencies): Sort the output.
8931 (custom-versions-load-alist): Convert comment to doc.
8932
8933 2013-05-17 Leo Liu <sdl.web@gmail.com>
8934
8935 * newcomment.el (comment-search-backward): Stricter in finding
8936 comment start. (Bug#14303)
8937
8938 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8939 (octave-comment-start-skip): Properly anchored.
8940
8941 2013-05-17 Leo Liu <sdl.web@gmail.com>
8942
8943 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8944 Clean up when turned off. (Bug#14395)
8945 (smie--highlight-matching-block-overlay): No longer buffer-local.
8946 (smie-highlight-matching-block): Adjust.
8947
8948 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8949
8950 Doc string fix for "nanoseconds" (Bug#14406).
8951 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8952 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8953
8954 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8955
8956 * calc/calc-units.el (math-extract-units): Preserve powers
8957 of units.
8958
8959 2013-05-17 Leo Liu <sdl.web@gmail.com>
8960
8961 * subr.el (delete-consecutive-dups): New function.
8962 * ido.el (ido-set-matches-1): Use it.
8963 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8964 * ido.el (ido-remove-consecutive-dups): Remove.
8965
8966 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8969 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8970 regexp-opt's `words'.
8971
8972 2013-05-16 Leo Liu <sdl.web@gmail.com>
8973
8974 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8975 (smie--highlight-matching-block-overlay)
8976 (smie--highlight-matching-block-lastpos)
8977 (smie--highlight-matching-block-timer): New variables.
8978 (smie-highlight-matching-block): New function.
8979 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8980 (smie-setup): Conditionally enable smie-blink-matching-open.
8981
8982 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8983
8984 Sync with upstream verilog-mode r840.
8985 * progmodes/verilog-mode.el (verilog-mode-version)
8986 (verilog-mode-release-date): Update.
8987 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8988 (verilog-sig-tieoff): Fix string error on
8989 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8990 (verilog-read-decls): Fix parameters confusing
8991 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8992
8993 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8994
8995 * subr.el (reveal-filename): New function.
8996
8997 * loadup.el: Compute Emacs executable versions on MS-Windows,
8998 where executables have the .exe extension. Add a hard link
8999 emacs-XX.YY.ZZ.exe on MS-Windows.
9000
9001 * Makefile.in (XARGS_LIMIT): New variable.
9002 (custom-deps, finder-data, autoloads)
9003 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9004 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9005 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9006 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9007
9008 2013-05-16 Leo Liu <sdl.web@gmail.com>
9009
9010 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9011 (octave-mode-menu, octave-mode-map): Remove its uses.
9012
9013 2013-05-16 Reto Zimmermann <reto@gnu.org>
9014
9015 Sync with upstream vhdl mode v3.34.2.
9016 * progmodes/vhdl-mode.el: Use `push' throughout.
9017 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9018 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9019 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9020 (vhdl-actual-generic-name): New option to derive actual generic name.
9021 (vhdl-port-paste-signals): Replace formal by actual generics.
9022 (vhdl-beautify): New name for old group vhdl-align. Update users.
9023 (vhdl-beautify-options): New option.
9024 (vhdl-last-input-event): New compat alias. Use throughout.
9025 (vhdl-goto-line): Replace user level function `goto-line'.
9026 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9027 vhdl-fix-statement-buffer.
9028 (vhdl-create-mode-menu): Add some entries.
9029 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9030 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9031 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9032 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9033 to force statements on one line.
9034 (vhdl-remove-trailing-spaces-region):
9035 New, split from vhdl-remove-trailing-spaces.
9036 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9037 Respect vhdl-beautify-options.
9038 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9039 (vhdl-update-sensitivity-list): Not add with index if exists without.
9040 Not include array index with signal. Ignore keywords in comments.
9041 (vhdl-get-visible-signals): Regexp tweaks.
9042 (vhdl-template-component-inst): Handle empty library.
9043 (vhdl-template-type): Add template for 'enum' type.
9044 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9045 Use vhdl-replace-string.
9046 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9047 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9048 (vhdl-speedbar-initialize): Update for above name change.
9049 (vhdl-compose-wire-components): Fix in handling of constants.
9050 (vhdl-error-regexp-emacs-alist): New variable.
9051 (vhdl-error-regexp-add-emacs): New function;
9052 adds support for new compile.el (Emacs 22+)
9053 (vhdl-generate-makefile-1): Change target order for single lib. units.
9054 Allow use of absolute file names.
9055
9056 2013-05-16 Leo Liu <sdl.web@gmail.com>
9057
9058 * simple.el (prog-indent-sexp): Indent enclosing defun.
9059
9060 2013-05-15 Glenn Morris <rgm@gnu.org>
9061
9062 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9063 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9064 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9065 (whitespace-highlight): Move to whitespace group.
9066
9067 * comint.el (comint-source):
9068 * pcmpl-linux.el (pcmpl-linux):
9069 * shell.el (shell-faces):
9070 * eshell/esh-opt.el (eshell-opt):
9071 * international/ccl.el (ccl): Remove empty custom groups.
9072
9073 * completion.el (dynamic-completion-mode):
9074 * jit-lock.el (jit-lock-debug-mode):
9075 * minibuffer.el (completion-in-region-mode):
9076 * type-break.el (type-break-mode-line-message-mode)
9077 (type-break-query-mode):
9078 * emulation/tpu-edt.el (tpu-edt-mode):
9079 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9080 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9081 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9082
9083 * term/xterm.el (xterm): Change parent group to terminals.
9084
9085 * master.el (master): Remove empty custom group.
9086 (master-mode): Remove unused :group argument.
9087 * textmodes/refill.el (refill): Remove empty custom group.
9088 (refill-mode): Remove unused :group argument.
9089
9090 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9091
9092 * cus-dep.el: Provide a feature.
9093 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9094 Don't mistakenly ignore files whose basenames match a basename
9095 from preloaded-file-list (eg cedet/ede/simple.el).
9096 Add a fallback method for getting :group.
9097
9098 2013-05-15 Juri Linkov <juri@jurta.org>
9099
9100 * isearch.el (isearch-char-by-name): Rename from
9101 `isearch-insert-char-by-name'. Doc fix.
9102 (isearch-forward): Mention `isearch-char-by-name' in
9103 the docstring. (Bug#13348)
9104
9105 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9106 `exit-minibuffer' instead of
9107 `isearch-nonincremental-exit-minibuffer'.
9108 (isearch-edit-string): Remove mention of
9109 `isearch-nonincremental-exit-minibuffer' from docstring.
9110 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9111 (isearch-forward-exit-minibuffer)
9112 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9113
9114 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * loadup.el: Just use unversioned DOC.
9117
9118 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9119 literals as extending to EOB.
9120 (nxml-last-fontify-end): Remove unused variable.
9121 (nxml-after-change1): Use with-silent-modifications.
9122 (nxml-extend-after-change-region): Simplify.
9123 (nxml-extend-after-change-region1): Remove function.
9124 (nxml-after-change1): Don't adjust for dependent regions.
9125 (nxml-fontify-matcher): Simplify.
9126 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9127 (xmltok-add-dependent): Remove function.
9128 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9129 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9130 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9131 unclosed <[[, <?, comment, and other literals as extending to EOB.
9132 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9133 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9134 Remove functions.
9135 (rng-do-some-validation-1): Don't mark dependent regions.
9136 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9137 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9138 (nxml-clear-dependent-regions): Remove functions.
9139 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9140 (nxml-ensure-scan-up-to-date):
9141 Don't clear&mark dependent regions.
9142
9143 2013-05-15 Leo Liu <sdl.web@gmail.com>
9144
9145 * progmodes/octave.el (octave-goto-function-definition):
9146 Improve and fix callers.
9147
9148 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9151 the setter (bug#14387).
9152
9153 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9154 surrounding group (bug#14402).
9155
9156 2013-05-14 Juri Linkov <juri@jurta.org>
9157
9158 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9159 (Bug#14390)
9160
9161 2013-05-14 Glenn Morris <rgm@gnu.org>
9162
9163 * progmodes/f90.el (f90-imenu-generic-expression):
9164 Fix typo in 2013-05-08 change. (Bug#14402)
9165
9166 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9167
9168 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9169 Remove signals for which replies are never received.
9170
9171 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9172
9173 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9174 (gdb-handler-alist, gdb-handler-number): Remove variables.
9175 (gdb-handler-list): New variable.
9176 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9177 (gdb-pending-handler-p, gdb-handle-reply)
9178 (gdb-remove-all-pending-triggers): New functions.
9179 (gdb-discard-unordered-replies): New defcustom.
9180 (gdb-handler): New defstruct.
9181 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9182 instead of gdb-pending-triggers. Update docstring.
9183 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9184 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9185 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9186 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9187 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9188 (gdb-frame-handler): Pending triggers are now automatically managed.
9189 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9190 Remove argument.
9191 (gdb-input): Automatically handles pending triggers. Update docstring.
9192 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9193 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9194 Update comments.
9195 (gdb-done-or-error): Now use gdb-handle-reply.
9196
9197 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9198
9199 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9200 gdb-debug-log.
9201
9202 2013-05-14 Glenn Morris <rgm@gnu.org>
9203
9204 * subr.el (user-emacs-directory-warning): New option.
9205 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9206
9207 2013-05-14 Leo Liu <sdl.web@gmail.com>
9208
9209 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9210 during redisplay.
9211 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9212 (octave-font-lock-texinfo-comment): Fix invalid search bound
9213 error: wrong side of point.
9214
9215 2013-05-14 Glenn Morris <rgm@gnu.org>
9216
9217 * progmodes/flymake.el (flymake-xml-program): New option.
9218 (flymake-xml-init): Use it.
9219
9220 * term/xterm.el: Provide a feature.
9221
9222 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9223
9224 2013-05-13 Glenn Morris <rgm@gnu.org>
9225
9226 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9227 Add compat aliases as a hack workaround. (Bug#14384)
9228
9229 2013-05-13 Leo Liu <sdl.web@gmail.com>
9230
9231 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9232 ###, and %!.
9233 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9234 C-M-q.
9235 (octave-comment-start-skip): Include %!.
9236 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9237
9238 2013-05-12 Leo Liu <sdl.web@gmail.com>
9239
9240 * progmodes/octave.el (inferior-octave-startup): Store the value
9241 of __octave_srcdir__ for octave-source-directories.
9242 (inferior-octave-check-process): New function refactored out of
9243 inferior-octave-send-list-and-digest.
9244 (octave-source-directories)
9245 (octave-find-definition-filename-function): New variables.
9246 (octave-source-directories)
9247 (octave-find-definition-default-filename): New functions.
9248 (octave-find-definition): Improve to find functions implemented in C++.
9249
9250 2013-05-12 Glenn Morris <rgm@gnu.org>
9251
9252 * calendar/diary-lib.el (diary-outlook-format-1):
9253 Don't include dayname in the output. (Bug#14349)
9254
9255 2013-05-11 Glenn Morris <rgm@gnu.org>
9256
9257 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9258
9259 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9260 Treat cc-provide like provide.
9261
9262 2013-05-11 Kevin Ryde <user42@zip.com.au>
9263
9264 * cus-dep.el (custom-make-dependencies):
9265 Use generated-autoload-load-name for the sake of files such
9266 such cedet/semantic/bovine/c.el, where the base file name
9267 is not in load-path. (Bug#5277)
9268
9269 2013-05-11 Glenn Morris <rgm@gnu.org>
9270
9271 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9272 Provide features.
9273
9274 2013-05-11 Leo Liu <sdl.web@gmail.com>
9275
9276 * progmodes/octave.el (octave-indent-comment): Improve.
9277 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9278 (octave-eldoc-function-signatures, octave-eldoc-function):
9279 New functions.
9280 (octave-mode, inferior-octave-mode): Add eldoc support.
9281
9282 2013-05-11 Richard Stallman <rms@gnu.org>
9283
9284 * epa.el (epa-decrypt-file): Take output file name as argument
9285 and read it using `interactive'.
9286
9287 2013-05-11 Leo Liu <sdl.web@gmail.com>
9288
9289 * progmodes/octave.el (octave-beginning-of-line)
9290 (octave-end-of-line): Check before using up-list because it jumps
9291 out of more syntactic contructs since moving to smie.
9292 (octave-indent-comment): New function.
9293 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9294 (octave-begin-keywords, octave-end-keywords)
9295 (octave-reserved-words, octave-smie-bnf-table)
9296 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9297
9298 2013-05-11 Glenn Morris <rgm@gnu.org>
9299
9300 * faces.el (internal-face-x-get-resource):
9301 * frame.el (ns-display-monitor-attributes-list):
9302 * calc/calc-aent.el (math-to-radians-2):
9303 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9304 Fix declarations.
9305
9306 * calc/calc-menu.el: Make it loadable in isolation.
9307
9308 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9309 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9310 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9311 (eudc-bbdb-query-internal): Require 'bbdb.
9312
9313 * lpr.el (lpr-headers-switches):
9314 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9315
9316 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9317
9318 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9319
9320 * term.el (term-set-escape-char): Make it idempotent.
9321
9322 2013-05-10 Leo Liu <sdl.web@gmail.com>
9323
9324 * progmodes/octave.el (inferior-octave-completion-table):
9325 No longer a function and all uses changed. Use cache to speed up
9326 completion due to bug#11906.
9327 (octave-beginning-of-defun): Re-write to be more general.
9328
9329 2013-05-10 Glenn Morris <rgm@gnu.org>
9330
9331 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9332
9333 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9334
9335 * comint.el (comint-redirect-send-command-to-process): Use :around
9336 rather than :override for comint-redirect-filter.
9337 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9338 Call it instead of comint-redirect-original-filter-function (which
9339 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9340
9341 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9342
9343 * frame.el (display-monitor-attributes-list): Add NS case.
9344 (ns-display-monitor-attributes-list): Declare.
9345
9346 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9347
9348 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9349
9350 2013-05-09 Glenn Morris <rgm@gnu.org>
9351
9352 * international/fontset.el (vertical-centering-font-regexp):
9353 Set standard-value.
9354
9355 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9356
9357 * bookmark.el (bookmark-search-delay):
9358 * cus-start.el (vertical-centering-font-regexp):
9359 * ps-mule.el (ps-mule-font-info-database-default):
9360 * ps-print.el (ps-default-fg, ps-default-bg):
9361 * type-break.el (type-break-good-break-interval):
9362 * whitespace.el (whitespace-indentation-regexp)
9363 (whitespace-space-after-tab-regexp):
9364 * emacs-lisp/testcover.el (testcover-1value-functions)
9365 (testcover-noreturn-functions, testcover-progn-functions)
9366 (testcover-prog1-functions):
9367 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9368 * eshell/em-glob.el (eshell-glob-translate-alist):
9369 * play/tetris.el (tetris-tty-colors):
9370 * progmodes/cpp.el (cpp-face-default-list):
9371 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9372 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9373 (idlwave-help-browser-generic-args):
9374 * progmodes/make-mode.el (makefile-special-targets-list):
9375 * progmodes/python.el (python-shell-virtualenv-path):
9376 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9377 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9378 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9379 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9380 * textmodes/reftex-vars.el (reftex-format-label-function):
9381 * textmodes/remember.el (remember-diary-file): Fix custom types.
9382
9383 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9384 Add :version.
9385
9386 2013-05-09 Leo Liu <sdl.web@gmail.com>
9387
9388 * progmodes/octave.el (inferior-octave-completion-at-point):
9389 Restore file completion. (Bug#14300)
9390 (inferior-octave-startup): Fix incorrect highlighting for the
9391 first prompt.
9392
9393 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9394
9395 * progmodes/ruby-mode.el: First cut at SMIE support.
9396 (ruby-use-smie): New var.
9397 (ruby-smie-grammar): New constant.
9398 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9399 (ruby-smie--forward-token, ruby-smie--backward-token)
9400 (ruby-smie-rules): New functions.
9401 (ruby-mode-variables): Setup SMIE if applicable.
9402
9403 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9404
9405 * simple.el (line-move-visual): Signal beginning/end of buffer
9406 only if vertical-motion moved less than it was requested. Avoids
9407 silly incorrect error messages when there are display strings with
9408 multiple newlines at EOL.
9409
9410 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9413 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9414 (prolog-char-quote-workaround):
9415 * progmodes/cperl-mode.el (cperl-under-as-char):
9416 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9417 Mark as obsolete.
9418 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9419 their declaration.
9420 (vhdl-mode-syntax-table-init): Remove.
9421
9422 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9423 last change.
9424
9425 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9426 syntax for "_".
9427 (ld-script-font-lock-keywords):
9428 Change regexps to use things like \_< and \_>.
9429
9430 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9431 Change all regexps to use things like \_< and \_>.
9432
9433 * progmodes/autoconf.el (autoconf-definition-regexp)
9434 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9435 Handle a _ with symbol syntax.
9436 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9437
9438 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9439 Consolidate declaration.
9440 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9441 the declaration.
9442 (ada-create-syntax-table): Remove.
9443 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9444 already has the right syntax nowadays.
9445 (ada-goto-next-word): Don't change the syntax of "_".
9446
9447 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9448 with-wrapper-hook.
9449
9450 2013-05-08 Sam Steingold <sds@gnu.org>
9451
9452 * thingatpt.el (thing-at-point): Accept optional second argument
9453 NO-PROPERTIES to strip the text properties from the return value.
9454 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9455 to `thing-at-point' instead of stripping the properties ourselves.
9456 Also, when `thing-at-point' fails to find a url, prepend "http://"
9457 to the filename at point on the assumption that the user is
9458 pointing at something like gnu.org/gnu.
9459
9460 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9461
9462 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9463 * faces.el (crm-separator):
9464 Silence byte-compiler.
9465
9466 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9467 (tool-bar-map): Remove unneeded defvars.
9468
9469 2013-05-08 Leo Liu <sdl.web@gmail.com>
9470
9471 Re-work a fix for bug#10994 based on Le Wang's patch.
9472 * ido.el (ido-remove-consecutive-dups): New helper.
9473 (ido-completing-read): Use it.
9474 (ido-chop): Revert fix for bug#10994.
9475
9476 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9477
9478 * cus-edit.el (custom-save-variables):
9479 Pretty-print long values. (Bug#14187)
9480
9481 2013-05-08 Glenn Morris <rgm@gnu.org>
9482
9483 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9484 (m4-mode-syntax-table): Init in the defvar.
9485 (m4-mode-abbrev-table): Let define-derived-mode define it.
9486
9487 2013-05-08 Tom Tromey <tromey@redhat.com>
9488
9489 * progmodes/m4-mode.el (m4-mode-syntax-table):
9490 Do not treat "_" as word constituent. (Bug#14167)
9491
9492 2013-05-07 Glenn Morris <rgm@gnu.org>
9493
9494 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9495 Remove explicit eshell-isearch-cancel-map.
9496
9497 * progmodes/f90.el (f90-smart-end-names): New option.
9498 (f90-smart-end): Doc fix.
9499 (f90-end-block-optional-name): New constant.
9500 (f90-block-match): Respect f90-smart-end-names.
9501
9502 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9505 about implicit semi-colons (bug#14218).
9506
9507 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9508
9509 * frame.el (display-monitor-attributes-list)
9510 (frame-monitor-attributes): New functions.
9511
9512 2013-05-06 Leo Liu <sdl.web@gmail.com>
9513
9514 * progmodes/octave.el (octave-syntax-propertize-function): Change
9515 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9516 (octave-font-lock-keywords): Use octave-operator-regexp.
9517 (octave-completion-at-point): Rename from
9518 octave-completion-at-point-function.
9519 (inferior-octave-directory-tracker): Robustify.
9520 (octave-text-functions): Remove and fix its uses. No such things
9521 any more.
9522
9523 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9524
9525 * emacs-lisp/trace.el (trace--display-buffer): New function.
9526 (trace-make-advice): Use it.
9527
9528 2013-05-06 Juri Linkov <juri@jurta.org>
9529
9530 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9531 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9532 Doc fix.
9533 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9534 in the help string. (Bug#12985)
9535
9536 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9537
9538 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9539
9540 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 * progmodes/perl-mode.el: Add support for here documents.
9543 (perl-syntax-propertize-function): Match here-doc markers.
9544 (perl-syntax-propertize-special-constructs): Find their end.
9545 (perl-imenu-generic-expression): Use [:alnum:].
9546
9547 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9548 (advice--add-function): Refresh the advice if already present
9549 (bug#14317).
9550
9551 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9552
9553 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9554
9555 2013-05-06 Glenn Morris <rgm@gnu.org>
9556
9557 * w32-fns.el (w32-charset-info-alist): Declare.
9558
9559 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9560 of its defcustom properties.
9561 (eshell-cmpl-initialize): No need to load pcomplete.
9562
9563 * generic-x.el: No need to require comint when compiling.
9564
9565 * net/eudc-export.el: Make it loadable without bbdb.
9566 (top-level): Use require rather than load-library.
9567 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9568 (eudc-batch-export-records-to-bbdb)
9569 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9570 Require bbdb.
9571
9572 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9573
9574 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9575 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9576 some tweaks, instead.
9577
9578 2013-05-05 Leo Liu <sdl.web@gmail.com>
9579
9580 * progmodes/octave.el (octave-font-lock-keywords)
9581 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9582 (inferior-octave-send-list-and-digest): Improve error message.
9583 (octave-mode, inferior-octave-mode): Use setq-local.
9584 (octave-help): Set info-lookup-mode.
9585
9586 2013-05-05 Richard Stallman <rms@gnu.org>
9587
9588 * vc/compare-w.el (compare-windows-whitespace):
9589 Treat no-break space as whitespace.
9590
9591 * mail/rmailsum.el (rmail-summary-rmail-update):
9592 Detect empty summary and don't change selected message.
9593 (rmail-summary-goto-msg): Likewise.
9594
9595 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9596 Doc fixes, rename args.
9597
9598 2013-05-05 Alan Mackenzie <acm@muc.de>
9599
9600 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9601
9602 2013-05-05 Juri Linkov <juri@jurta.org>
9603
9604 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9605 to not add the length of the summary segment to the return value.
9606 (Bug#14125)
9607
9608 2013-05-05 Leo Liu <sdl.web@gmail.com>
9609
9610 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9611 (inferior-octave-output-filter): Remove.
9612 (octave-send-region, inferior-octave-startup): Fix callers.
9613 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9614 (octave-binary-file-extensions): New user variable.
9615 (octave-find-definition): Confirm if opening binary files.
9616 (octave-help-file): Use octave-find-definition to get the binary
9617 confirmation.
9618 (octave-help): Adjust for octave-help-file change.
9619
9620 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9621
9622 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9623 Merge the two entries that handle function definitions.
9624 (pascal--syntax-propertize): New const.
9625 (pascal-mode): Use it. Use setq-local.
9626
9627 2013-05-04 Glenn Morris <rgm@gnu.org>
9628
9629 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9630 (diary-from-outlook): Respect diary-from-outlook-function.
9631
9632 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9635 Move the declaration from C.
9636 (read-minibuffer, eval-minibuffer): Move from C.
9637 (completion-setup-function): Avoid minibuffer-completion-contents.
9638
9639 2013-05-03 Leo Liu <sdl.web@gmail.com>
9640
9641 * progmodes/octave.el (octave-font-lock-keywords): Do not
9642 dehighlight 'end' in comments or strings.
9643 (octave-completing-read, octave-goto-function-definition):
9644 New helpers.
9645 (octave-help-buffer): New user variable.
9646 (octave-help-file, octave-help-function): New button types.
9647 (octave-help): New command and bind it to C-h ;.
9648 (octave-find-definition): New command and bind it to M-.
9649 (user-error): Alias to error if not defined.
9650
9651 2013-05-02 Leo Liu <sdl.web@gmail.com>
9652
9653 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9654 for \. (bug#14332)
9655 (octave-font-lock-keywords): Include [ and {.
9656
9657 2013-05-02 Leo Liu <sdl.web@gmail.com>
9658
9659 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9660 (inferior-octave): Remove calling comint-mode and return the buffer.
9661 (inferior-octave-startup): Cosmetic changes.
9662
9663 2013-05-02 Leo Liu <sdl.web@gmail.com>
9664
9665 * progmodes/octave.el (octave-syntax-propertize-function):
9666 Include the case when ' is at line beginning. (Bug#14336)
9667
9668 2013-05-02 Glenn Morris <rgm@gnu.org>
9669
9670 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9671 * desktop.el (vc-dir-mode): Just autoload it here.
9672
9673 2013-05-02 Alan Mackenzie <acm@muc.de>
9674
9675 Eliminate variable c-standard-font-lock-fontify-region-function.
9676 * progmodes/cc-mode.el
9677 (c-standard-font-lock-fontify-region-function): Remove.
9678 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9679
9680 2013-05-01 Leo Liu <sdl.web@gmail.com>
9681
9682 * progmodes/octave.el: Compatible with older emacs-24 releases.
9683 (inferior-octave-has-built-in-variables): Remove. Built-in
9684 variables were removed from Octave in 2007.
9685 (inferior-octave-startup): Fix uses.
9686 (comint-line-beginning-position): Remove compatibility code for
9687 emacs 21.
9688
9689 2013-05-01 Juri Linkov <juri@jurta.org>
9690
9691 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9692
9693 2013-05-01 Juri Linkov <juri@jurta.org>
9694
9695 * comint.el (comint-previous-matching-input): Don't print message
9696 "History item: %d" when `isearch-mode' is active.
9697 (comint-history-isearch-message): Print message "History item: %d"
9698 when `comint-input-ring-index' is not empty and this function is
9699 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9700
9701 2013-05-01 Leo Liu <sdl.web@gmail.com>
9702
9703 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9704 definitions. Use completion-at-point to insert keywords.
9705 (octave-abbrev-start): Remove.
9706 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9707
9708 2013-04-30 Leo Liu <sdl.web@gmail.com>
9709
9710 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9711 change.
9712
9713 2013-04-30 Alan Mackenzie <acm@muc.de>
9714
9715 Handle arbitrarily long C++ member initialisation lists.
9716 * progmodes/cc-engine.el (c-back-over-member-initializers):
9717 new function.
9718 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9719 (most) member init lists.
9720
9721 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9722
9723 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9724 variable.
9725
9726 2013-04-30 Leo Liu <sdl.web@gmail.com>
9727
9728 * progmodes/octave.el (octave-variables): Remove. No builtin
9729 variables any more. All converted to functions.
9730 (octave-font-lock-keywords, octave-completion-at-point-function):
9731 Fix uses.
9732 (octave-font-lock-texinfo-comment): New user variable.
9733 (octave-texinfo-font-lock-keywords): New variable for texinfo
9734 comment block.
9735 (octave-function-comment-block): New face.
9736 (octave-font-lock-texinfo-comment): New function.
9737 (octave-mode): Font lock texinfo comment block.
9738
9739 2013-04-29 Leo Liu <sdl.web@gmail.com>
9740
9741 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9742 indexing expression.
9743 (octave-continuation-string): Do not use \.
9744 (inferior-octave-complete-impossible): Remove.
9745 (inferior-octave-completion-table)
9746 (inferior-octave-completion-at-point): Remove its uses.
9747 (inferior-octave-startup): completion_matches was introduced to
9748 Octave in 1996 so safe to assume it.
9749 (octave-function-file-comment): Improve to follow how Octave does it.
9750 (octave-update-function-file-comment): Tweak.
9751
9752 2013-04-29 Leo Liu <sdl.web@gmail.com>
9753
9754 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9755 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9756 (octave-function-file-comment): Fix typo.
9757 (octave-sync-function-file-names): Use read-char-choice.
9758
9759 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9760
9761 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9762 to t for the less important warnings.
9763
9764 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9765
9766 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9767
9768 2013-04-27 Glenn Morris <rgm@gnu.org>
9769
9770 * vc/log-view.el (log-view-current-entry):
9771 Treat "---" separator lines as part of the following rev. (Bug#14169)
9772
9773 2013-04-27 Juri Linkov <juri@jurta.org>
9774
9775 * subr.el (read-number): Doc fix about using it by interactive
9776 code letter `n'. (Bug#14254)
9777
9778 2013-04-27 Juri Linkov <juri@jurta.org>
9779
9780 * desktop.el (desktop-auto-save-timeout): New option.
9781 (desktop-file-checksum): New variable.
9782 (desktop-save): Add optional arg `auto-save' and don't auto-save
9783 if nothing changed.
9784 (desktop-auto-save-timer): New variable.
9785 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9786 (after-init-hook): Call `desktop-auto-save-set-timer'.
9787 Suggested by Reuben Thomas <rrt@sc3d.org> in
9788 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9789
9790 2013-04-27 Leo Liu <sdl.web@gmail.com>
9791
9792 * progmodes/octave.el (octave-function-file-p)
9793 (octave-skip-comment-forward, octave-function-file-comment)
9794 (octave-update-function-file-comment): New functions.
9795 (octave-mode-map): Bind C-c ; to
9796 octave-update-function-file-comment.
9797 (octave-mode-menu): Add octave-update-function-file-comment.
9798 (octave-mode, inferior-octave-mode): Fix doc-string.
9799 (octave-insert-defun): Conform to Octave's coding convention.
9800 (Bug#14285)
9801
9802 * files.el (basic-save-buffer): Don't let errors in
9803 before-save-hook prevent saving buffer.
9804
9805 2013-04-20 Roland Winkler <winkler@gnu.org>
9806
9807 * faces.el (read-face-name): Use completing-read if arg multiple
9808 is nil.
9809
9810 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9811
9812 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9813 displayed, move point to after the totals line.
9814 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9815 for the details.
9816
9817 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9820 Add current dir to the load-path.
9821 (package-generate-autoloads): Don't rely on
9822 autoload-ensure-default-file.
9823
9824 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9825
9826 * textmodes/remember.el (remember-store-in-files): Document that
9827 the file name format is passed to `format-time-string'.
9828
9829 2013-04-26 Leo Liu <sdl.web@gmail.com>
9830
9831 * progmodes/octave.el (octave-sync-function-file-names): New function.
9832 (octave-mode): Use it in before-save-hook.
9833
9834 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9837 (bug#14274).
9838
9839 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9840 \n and comment, even if it's not an implicit ; (bug#14218).
9841
9842 2013-04-26 Glenn Morris <rgm@gnu.org>
9843
9844 * subr.el (read-number): Once more use `read' rather than
9845 `string-to-number', to trap non-numeric input. (Bug#14254)
9846
9847 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9848
9849 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9850 Use `syntax-multiline' text property consistently instead of
9851 `font-lock-multiline'. (Bug#14237)
9852
9853 2013-04-26 Glenn Morris <rgm@gnu.org>
9854
9855 * emacs-lisp/shadow.el (list-load-path-shadows):
9856 No longer necessary to check for duplicate simple.el, since
9857 2012-07-07 change to init_lread to not include installation lisp
9858 directories in load-path when running uninstalled. (Bug#14270)
9859
9860 2013-04-26 Leo Liu <sdl.web@gmail.com>
9861
9862 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9863 (octave-mode, inferior-octave-mode): Use setq-local.
9864 (octave-not-in-string-or-comment-p): Rename to
9865 octave-in-string-or-comment-p.
9866 (octave-in-comment-p, octave-in-string-p)
9867 (octave-in-string-or-comment-p): Replace defsubst with defun.
9868
9869 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9870
9871 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9872
9873 2013-04-25 Bastien Guerry <bzg@gnu.org>
9874
9875 * textmodes/remember.el (remember-data-directory)
9876 (remember-directory-file-name-format): Fix custom types.
9877
9878 2013-04-25 Leo Liu <sdl.web@gmail.com>
9879
9880 * progmodes/octave.el (octave-completion-at-point-function):
9881 Make use of inferior octave process.
9882 (octave-initialize-completions): Remove.
9883 (inferior-octave-completion-table): New function.
9884 (inferior-octave-completion-at-point): Use it.
9885 (octave-completion-alist): Remove.
9886
9887 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9888
9889 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9890 (opascal-mode-syntax-table): New var.
9891 (opascal-literal-kind, opascal-is-literal-end)
9892 (opascal-literal-token-at): Rewrite.
9893 (opascal--literal-start-re, opascal-font-lock-keywords)
9894 (opascal--syntax-propertize): New constants.
9895 (opascal-font-lock-defaults): Adjust.
9896 (opascal-mode): Use them. Set comment-<foo> variables as well.
9897 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9898 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9899 (delphi-other-face, opascal-other-face): Remove face variables.
9900 (opascal-save-state): Remove macro.
9901 (opascal-fontifying-progress-step): Remove constant.
9902 (opascal--ignore-changes): Remove var.
9903 (opascal-set-token-property, opascal-parse-next-literal)
9904 (opascal-is-stable-literal, opascal-complete-literal)
9905 (opascal-is-literal-start, opascal-face-of)
9906 (opascal-parse-region, opascal-parse-region-until-stable)
9907 (opascal-fontify-region, opascal-after-change)
9908 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9909 (opascal-debug-parse-region, opascal-debug-parse-window)
9910 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9911 (opascal-debug-fontify-buffer): Remove.
9912 (opascal-debug-mode-map): Adjust accordingly.
9913
9914 2013-04-25 Leo Liu <sdl.web@gmail.com>
9915
9916 Merge octave-mod.el and octave-inf.el into octave.el with some
9917 cleanups.
9918 * progmodes/octave.el: New file renamed from octave-mod.el.
9919 * progmodes/octave-inf.el: Merged into octave.el.
9920 * progmodes/octave-mod.el: Renamed to octave.el.
9921
9922 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9923
9924 * textmodes/reftex-vars.el
9925 (reftex-label-ignored-macros-and-environments): New defcustom.
9926
9927 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9928
9929 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9930
9931 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9932 (smie-indent-keyword): Improve the check to ensure that the next
9933 comment is really on the same line.
9934 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9935
9936 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9937 semi-colons if the line is not otherwise empty (bug#14218).
9938
9939 2013-04-25 Glenn Morris <rgm@gnu.org>
9940
9941 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9942
9943 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * progmodes/opascal.el (opascal-set-token-property): Rename from
9946 opascal-set-text-properties and only set `token' (bug#14134).
9947 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9948 (opascal-literal-text-properties): Remove.
9949 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9950 Adjust callers.
9951
9952 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9953
9954 * textmodes/remember.el (remember-handler-functions): Add an
9955 option for a new handler `remember-store-in-files'.
9956 (remember-data-directory, remember-directory-file-name-format):
9957 New options.
9958 (remember-store-in-files): New function to store remember notes
9959 as separate files within a directory.
9960
9961 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9962
9963 * progmodes/compile.el (compilation-next-error-function):
9964 Pass "formats" to compilation-find-file (bug#11777).
9965
9966 2013-04-24 Glenn Morris <rgm@gnu.org>
9967
9968 * vc/vc-bzr.el (vc-bzr-print-log):
9969 * vc/vc-hg.el (vc-hg-print-log):
9970 * vc/vc-svn.el (vc-svn-print-log):
9971 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9972
9973 * vc/vc-bzr.el (vc-bzr-print-log):
9974 * vc/vc-cvs.el (vc-cvs-print-log):
9975 * vc/vc-git.el (vc-git-print-log):
9976 * vc/vc-hg.el (vc-hg-print-log):
9977 * vc/vc-mtn.el (vc-mtn-print-log):
9978 * vc/vc-rcs.el (vc-rcs-print-log):
9979 * vc/vc-sccs.el (vc-sccs-print-log):
9980 * vc/vc-svn.el (vc-svn-print-log):
9981 * vc/vc.el (vc-print-log-internal): Doc fixes.
9982
9983 2013-04-23 Glenn Morris <rgm@gnu.org>
9984
9985 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9986 Remove venerable code attempting to avoid substitute-command-keys.
9987
9988 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9989
9990 * textmodes/reftex-vars.el (reftex-label-regexps):
9991 Call `reftex-compile-variables' after changes to this variable.
9992
9993 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9996 Use lexical-binding.
9997 (jit-lock-force-redisplay): Use markers, check buffer's continued
9998 existence and beware narrowed buffers.
9999 (jit-lock-fontify-now): Adjust call accordingly.
10000
10001 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10002
10003 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10004 to avoid misleading the user.
10005
10006 2013-04-22 Leo Liu <sdl.web@gmail.com>
10007
10008 * info-look.el: Prefer latex2e.info. (Bug#14240)
10009
10010 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10011
10012 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10013
10014 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10015 * net/tramp.el (tramp-call-process): ... here.
10016 (tramp-set-completion-function, tramp-parse-putty):
10017 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10018 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10019 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10020 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10021 (tramp-call-local-coding-command): Use `tramp-call-process'
10022 instead of `tramp-compat-call-process'.
10023
10024 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10025 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10026 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10027 (tramp-find-inline-compress): Improve traces.
10028 (tramp-maybe-send-script): Check for Perl binary.
10029 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10030
10031 2013-04-22 Daiki Ueno <ueno@gnu.org>
10032
10033 * epg.el (epg-context-pinentry-mode): New function.
10034 (epg-context-set-pinentry-mode): New function.
10035 (epg--start): Pass --pinentry-mode option to gpg command.
10036
10037 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10038
10039 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10040 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10041 `completion-at-point'. (Bug#13774)
10042
10043 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10044 default key binding for `describe-distribution' has been moved to
10045 `C-h C-o'. (Bug#13970)
10046
10047 2013-04-21 Glenn Morris <rgm@gnu.org>
10048
10049 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10050 Add doc strings.
10051 (vc-print-log): Clarify interactive prompt.
10052
10053 2013-04-20 Glenn Morris <rgm@gnu.org>
10054
10055 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10056 No longer include timestamp etc information.
10057
10058 2013-04-20 Roland Winkler <winkler@gnu.org>
10059
10060 * faces.el (read-face-name): Bug fix, return just one face if arg
10061 multiple is nil. (Bug#14209)
10062
10063 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10066 (remove-function): Autoload.
10067
10068 * comint.el (comint-redirect-original-filter-function): Remove.
10069 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10070 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10071 (vc-cvs-annotate-command):
10072 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10073 * progmodes/prolog.el (prolog-consult-compile):
10074 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10075 Use add/remove-function instead.
10076 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10077 (gud-tooltip-process-output, gud-tooltip-tips):
10078 Use add/remove-function instead.
10079 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10080 (scheme-interaction-mode, exit-scheme-interaction-mode):
10081 Use add/remove-function instead.
10082
10083 * vc/vc-dispatcher.el: Use lexical-binding.
10084 (vc--process-sentinel): Rename from vc-process-sentinel.
10085 Change last arg to be the code to run. Don't use vc-previous-sentinel
10086 and vc-sentinel-commands any more.
10087 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10088 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10089
10090 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10091
10092 * progmodes/sh-script.el (sh-imenu-generic-expression):
10093 Handle function names with a single character. (Bug#14111)
10094
10095 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10096
10097 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10098 for subroutines defined in an eval (bug#14182).
10099
10100 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10101
10102 * bookmark.el (bookmark-completing-read): Improve handling of empty
10103 string (bug#14176).
10104
10105 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10106
10107 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10108
10109 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10110
10111 New faster Imenu implementation (bug#14058).
10112 * progmodes/python.el:
10113 (python-imenu-prev-index-position):
10114 (python-imenu-format-item-label-function)
10115 (python-imenu-format-parent-item-label-function)
10116 (python-imenu-format-parent-item-jump-label-function):
10117 New vars.
10118 (python-imenu-format-item-label)
10119 (python-imenu-format-parent-item-label)
10120 (python-imenu-format-parent-item-jump-label)
10121 (python-imenu--put-parent, python-imenu--build-tree)
10122 (python-imenu-create-index, python-imenu-create-flat-index)
10123 (python-util-popn): New functions.
10124 (python-mode): Set imenu-create-index-function to
10125 python-imenu-create-index.
10126
10127 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10128
10129 * winner.el (winner-active-region): Use region-active-p, activate-mark
10130 and deactivate-mark (bug#14225).
10131
10132 * simple.el (deactivate-mark): Don't inline it.
10133
10134 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10135
10136 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10137
10138 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10139
10140 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10141 file extensions from the archive-mode entry in order to prefer
10142 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10143
10144 2013-04-18 Leo Liu <sdl.web@gmail.com>
10145
10146 * bindings.el (help-event-list): Add ?\?.
10147
10148 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10149
10150 * subr.el (with-wrapper-hook): Declare obsolete.
10151 * simple.el (filter-buffer-substring-function): New hook.
10152 (filter-buffer-substring): Use it.
10153 (filter-buffer-substring-functions): Mark obsolete.
10154 * minibuffer.el (completion-in-region-function): New hook.
10155 (completion-in-region): Use it.
10156 (completion-in-region-functions): Mark obsolete.
10157 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10158 * abbrev.el (abbrev-expand-function): New hook.
10159 (expand-abbrev): Use it.
10160 (abbrev-expand-functions): Mark obsolete.
10161 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10162 and :filter-return.
10163
10164 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10165
10166 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10167 and do not care about match data.
10168
10169 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10170
10171 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10172 completion tables when completing error conditions and
10173 `declare' arguments.
10174 (lisp-complete-symbol, field-complete): Mark as obsolete.
10175 (check-parens): Unmatched parens are user errors.
10176 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10177
10178 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10179
10180 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10181 command changed buffer (ie. `flyspell-pre-buffer' is not current
10182 buffer), which prevents making decisions based on invalid value of
10183 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10184 cause an error when `flyspell-pre-point' was nil after switching
10185 buffers.
10186 (flyspell-post-command-hook): No longer needs to change buffers when
10187 checking pre-word. While at it remove unnecessary progn.
10188
10189 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10190
10191 * textmodes/ispell.el (ispell-add-per-file-word-list):
10192 Fix `flyspell-correct-word-before-point' error when accepting
10193 words and `coment-padding' is an integer by using
10194 `comment-normalize-vars' (Bug #14214).
10195
10196 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10197
10198 New defun movement commands.
10199 * progmodes/python.el (python-nav--syntactically)
10200 (python-nav--forward-defun, python-nav-backward-defun)
10201 (python-nav-forward-defun): New functions.
10202
10203 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10204
10205 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10206 (python-syntax-context): Use named compiler-macro for backwards
10207 compatibility with Emacs 24.x.
10208
10209 2013-04-17 Leo Liu <sdl.web@gmail.com>
10210
10211 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10212 octave-hide-process-buffer.
10213
10214 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10217 (bug#14216).
10218
10219 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10220
10221 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10222 Fix adjustment of offset when receiving incomplete responses from GDB
10223 (bug#14129).
10224
10225 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10228 python-mode-abbrev-table.
10229 (python-skeleton-define): Adjust accordingly.
10230 (python-mode-abbrev-table): New table that inherits from it so that
10231 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10232
10233 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10234 (abbrev-symbol): Use it.
10235 (abbrev--before-point): Use it since we already handle inheritance.
10236
10237 2013-04-16 Leo Liu <sdl.web@gmail.com>
10238
10239 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10240 binding to info-lookup-symbol.
10241
10242 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10243
10244 * minibuffer.el (completion--twq-all):
10245 * term/ns-win.el (ns-initialize-window-system):
10246 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10247
10248 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10249
10250 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10251 global bindings.
10252
10253 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10254
10255 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10256
10257 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10258 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10259 to nil.
10260 (ruby-end-of-defun): Remove the unused arg, change the docstring
10261 to reflect that this function is only used as the value of
10262 `end-of-defun-function'.
10263 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10264 to reflect an earlier change that beginning/end-of-defun functions
10265 jump between methods in a class definition, as well as top-level
10266 functions.
10267
10268 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10269
10270 * minibuffer.el (minibuffer-complete): Don't just scroll
10271 a *Completions* that's been iconified.
10272 (minibuffer-force-complete): Make sure repetitions do cycle when going
10273 through completion-in-region -> minibuffer-complete.
10274
10275 2013-04-15 Alan Mackenzie <acm@muc.de>
10276
10277 Correct the placement of c-cpp-delimiters when there're #s not at
10278 col 0.
10279
10280 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10281 place a submatch around the #.
10282 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10283 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10284 on the #, not BOL.
10285
10286 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10287
10288 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10289 (advice--member-p): New arg `name'.
10290 (advice--add-function, advice-member-p): Use it (bug#14202).
10291
10292 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10293
10294 Reformulate java imenu-generic-expression.
10295 The old expression contained ill formed regexps.
10296
10297 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10298 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10299 (cc-imenu-java-method-arg-regexp): New defconsts.
10300 (cc-imenu-java-build-type-args-regex): New defun.
10301 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10302 handling of spaces in the regexp.
10303
10304 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10305
10306 * textmodes/ispell.el (ispell-command-loop): Remove
10307 flyspell highlight of a word when ispell accepts it (bug #14178).
10308
10309 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10310
10311 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10312 uses code from the previous `ange-ftp-run-real-handler'.
10313 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10314 only in case that function exist. This is needed for proper
10315 unloading of Tramp.
10316
10317 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10318
10319 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10320
10321 * textmodes/reftex.el (reftex-compile-variables): Use it.
10322
10323 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * files.el (normal-mode): Only use default major-mode if no other mode
10326 was specified.
10327
10328 * emacs-lisp/trace.el (trace-values): New function.
10329
10330 * files.el: Allow : in local variables (bug#14089).
10331 (hack-local-variable-regexp): New var.
10332 (hack-local-variables-prop-line, hack-local-variables): Use it.
10333
10334 2013-04-13 Roland Winkler <winkler@gnu.org>
10335
10336 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10337 data before it gets modified by bibtex-beginning-of-entry.
10338
10339 2013-04-13 Roland Winkler <winkler@gnu.org>
10340
10341 * textmodes/bibtex.el (bibtex-url): Doc fix.
10342
10343 2013-04-13 Roland Winkler <winkler@gnu.org>
10344
10345 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10346 does not visit a BibTeX file, exclude it from the list of buffers
10347 returned by bibtex-initialize.
10348
10349 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10350
10351 * window.el (split-window): Remove interactive form, since as a
10352 command this function is a special case of split-window-below.
10353 Correct doc string.
10354
10355 2013-04-12 Roland Winkler <winkler@gnu.org>
10356
10357 * faces.el (read-face-name): Do not override value of arg default.
10358 Allow single faces and strings as default values. Remove those
10359 elements from return value that are not faces.
10360 (describe-face): Simplify.
10361 (face-at-point): New optional args thing and multiple so that this
10362 function can provide the same functionality previously provided by
10363 read-face-name.
10364 (make-face-bold, make-face-unbold, make-face-italic)
10365 (make-face-unitalic, make-face-bold-italic, invert-face)
10366 (modify-face, read-face-and-attribute): Use face-at-point.
10367
10368 * cus-edit.el (customize-face, customize-face-other-window)
10369 * cus-theme.el (custom-theme-add-face)
10370 * face-remap.el (buffer-face-set)
10371 * facemenu.el (facemenu-set-face): Use face-at-point.
10372
10373 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10374
10375 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10376
10377 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10378
10379 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10380 off leading { and trailing } from field values.
10381
10382 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * emacs-lisp/timer.el (timer--check): New function.
10385 (timer--time, timer-set-function, timer-event-handler): Use it.
10386 (timer-set-idle-time): Simplify.
10387 (timer--activate): CSE.
10388 (timer-event-handler): Give more info in error message.
10389 (internal-timer-start-idle): New function, moved from C.
10390
10391 * mpc.el (mpc-proc): Add `restart' argument.
10392 (mpc-proc-cmd): Use it.
10393 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10394 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10395 less often.
10396
10397 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10398
10399 * progmodes/sh-script.el: Implement `sh-mode' own
10400 `add-log-current-defun-function' (bug#14112).
10401 (sh-current-defun-name): New function.
10402 (sh-mode): Use the function.
10403
10404 2013-04-09 Bastien Guerry <bzg@gnu.org>
10405
10406 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10407
10408 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10411
10412 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10413 timer (bug#14156).
10414
10415 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10416
10417 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10418 declaration.
10419
10420 2013-04-07 Leo Liu <sdl.web@gmail.com>
10421
10422 * pcmpl-x.el: New file.
10423
10424 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10425
10426 Do not set x-display-name until X connection is established.
10427 This is needed to prevent from weird situation described at
10428 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10429 * frame.el (make-frame): Set x-display-name after call to
10430 window system initialization function, not before.
10431 * term/x-win.el (x-initialize-window-system): Add optional
10432 display argument and use it.
10433 * term/w32-win.el (w32-initialize-window-system):
10434 * term/ns-win.el (ns-initialize-window-system):
10435 * term/pc-win.el (msdos-initialize-window-system):
10436 Add compatible optional display argument.
10437
10438 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10439
10440 * files.el (normal-backup-enable-predicate): On MS-Windows and
10441 MS-DOS compare truenames of temporary-file-directory and of the
10442 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10443 don't fail comparison by compare-strings. Also, compare file
10444 names case-insensitively on MS-Windows and MS-DOS.
10445
10446 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10449 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10450
10451 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10452
10453 * whitespace.el (whitespace-color-on, whitespace-color-off):
10454 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10455
10456 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10457
10458 * ispell.el (ispell-set-spellchecker-params):
10459 Really set `ispell-args' for all equivs.
10460
10461 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * ido.el (ido-completions): Use extra elements of ido-decorations
10464 (bug#14143).
10465 (ido-decorations): Update docstring.
10466
10467 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10468
10469 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10470 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10471 nil during initialization, in order not to miss changes since the
10472 file was opened. (Bug#14140)
10473
10474 2013-04-05 Leo Liu <sdl.web@gmail.com>
10475
10476 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10477
10478 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10479
10480 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10481
10482 2013-04-04 Glenn Morris <rgm@gnu.org>
10483
10484 * electric.el (electric-pair-inhibit-predicate): Add :version.
10485
10486 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10489 when a package is required several times (bug#14082).
10490
10491 2013-04-04 Roland Winkler <winkler@gnu.org>
10492
10493 * faces.el (read-face-name): Behave as promised by the docstring.
10494 Assume that arg default is a list of faces.
10495 (describe-face): Call read-face-name with list of default faces.
10496
10497 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10498
10499 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10500 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10501 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10502 the header.
10503 (bookmark-exit-hook-internal): Save even if list is empty.
10504
10505 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10506
10507 * emacs-lisp/package.el (package-pinned-packages): New var.
10508 (package--add-to-archive-contents): Obey it (bug#14118).
10509
10510 2013-04-03 Alan Mackenzie <acm@muc.de>
10511
10512 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10513 Also adapt to the new values of element 7 of a parse state.
10514
10515 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10516 parameter `not-in-delimiter'. Handle being inside comment opener.
10517 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10518 character in case we're typing a '*' after a '/'.
10519 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10520 instead by passing the parameter to c-state-pp-to-literal.
10521
10522 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10523 for elt. 7 of a parse state.
10524
10525 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10526
10527 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10528 * international/latin1-disp.el, international/mule-util.el:
10529 * language/cyril-util.el, language/european.el, language/ind-util.el:
10530 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10531 * language/tibetan.el, language/viet-util.el:
10532 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10533
10534 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10537 (electric-pair-post-self-insert-function): Use it.
10538 (electric-pair-default-inhibit): New function, extracted from
10539 electric-pair-post-self-insert-function.
10540
10541 2013-03-31 Roland Winkler <winkler@gnu.org>
10542
10543 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10544
10545 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10546
10547 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10548
10549 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10550
10551 Un-indent after "pass" and "return" statements (Bug#13888)
10552 * progmodes/python.el (python-indent-block-enders): New var.
10553 (python-indent-calculate-indentation): Use it.
10554
10555 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10556
10557 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10558 defun. Defining it as defalias could introduce too eager
10559 byte-compiler optimization. (Bug#14030)
10560
10561 2013-03-30 Chong Yidong <cyd@gnu.org>
10562
10563 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10564
10565 2013-03-30 Leo Liu <sdl.web@gmail.com>
10566
10567 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10568 (kmacro-execute-from-register): Pass the keyboard macro to
10569 kmacro-call-macro or repeating won't work correctly.
10570
10571 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10572
10573 * progmodes/subword.el: Back to using `forward-symbol'.
10574
10575 * subr.el (forward-whitespace, forward-symbol)
10576 (forward-same-syntax): Move from thingatpt.el.
10577
10578 2013-03-29 Leo Liu <sdl.web@gmail.com>
10579
10580 * kmacro.el (kmacro-to-register): New command.
10581 (kmacro-execute-from-register): New function.
10582 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10583
10584 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10585
10586 * mpc.el: Use defvar-local and setq-local.
10587 (mpc--proc-connect): Connection failures are not bugs.
10588 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10589 (mpc-volume-map): Bind to the up-events.
10590
10591 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10592
10593 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10594 instead of `forward-symbol'.
10595
10596 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10599 (edebug--recursive-edit): Use it.
10600 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10601 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10602
10603 2013-03-28 Leo Liu <sdl.web@gmail.com>
10604
10605 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10606
10607 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10608
10609 * facemenu.el (list-colors-callback): New defvar.
10610 (list-colors-redisplay): New function.
10611 (list-colors-display): Install list-colors-redisplay as the
10612 revert-buffer-function. (Bug#14063)
10613
10614 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10615
10616 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10617 and suffixes don't overlap (bug#14061).
10618
10619 * case-table.el: Use lexical-binding.
10620 (case-table-get-table): New function.
10621 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10622
10623 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10624
10625 * progmodes/subword.el: Add `superword-mode' to do word motion
10626 over symbol_words (parallels and leverages `subword-mode' which
10627 does word motion inside MixedCaseWords).
10628
10629 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10630
10631 * eshell/em-unix.el: Move su and sudo to...
10632 * eshell/em-tramp.el: ...Eshell tramp module.
10633
10634 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10637 Change return value to be a sexp. Delay `get-buffer' to after
10638 restoring the desktop (bug#13951).
10639
10640 2013-03-26 Leo Liu <sdl.web@gmail.com>
10641
10642 * register.el: Move semantic tag handling back to
10643 cedet/semantic/senator.el. (Bug#14052)
10644
10645 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10646
10647 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10648 into the prompt either (bug#13963).
10649
10650 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10653 part of "(error-foo)".
10654
10655 2013-03-24 Juri Linkov <juri@jurta.org>
10656
10657 * replace.el (list-matching-lines-prefix-face): New defcustom.
10658 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10659 `occur-engine' if `face-differs-from-default-p' returns t.
10660 (occur-engine): Add `,' inside backquote construct to evaluate
10661 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10662 Pass `prefix-face' to the functions `occur-context-lines' and
10663 `occur-engine-add-prefix'.
10664 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10665 `prefix-face' and propertize the prefix with `prefix-face'.
10666 (Bug#14017)
10667
10668 2013-03-24 Leo Liu <sdl.web@gmail.com>
10669
10670 * nxml/rng-valid.el (rng-validate-while-idle)
10671 (rng-validate-quick-while-idle): Guard against deleted buffer.
10672 (Bug#13999)
10673
10674 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10675 is the last entry in kill-buffer-hook.
10676
10677 * files.el (kill-buffer-hook): Doc fix.
10678
10679 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10680
10681 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10682 Make it safe-local.
10683
10684 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10685
10686 2013-03-23 Leo Liu <sdl.web@gmail.com>
10687
10688 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10689 Remove.
10690
10691 * nxml/rng-valid.el (rng-validate-mode)
10692 (rng-after-change-function, rng-do-some-validation):
10693 * nxml/rng-maint.el (rng-validate-buffer):
10694 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10695 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10696 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10697 (nxml-extend-after-change-region): Use with-silent-modifications.
10698
10699 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10700 timer-idle-list.
10701
10702 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10703 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10704 timer-idle-list. (Bug#13999)
10705
10706 2013-03-23 Juri Linkov <juri@jurta.org>
10707
10708 * info.el (info-index-match): New face.
10709 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10710 main pattern and add text properties with the new face to matches
10711 in index entries relative to the beginning of the index entry.
10712 (Bug#14015)
10713
10714 2013-03-21 Eric Ludlam <zappo@gnu.org>
10715
10716 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10717 Inhibit read only while inserting objects.
10718
10719 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10720
10721 * progmodes/cfengine.el: Update docs to mention
10722 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10723 symbol motion. Remove "_" from the word syntax.
10724
10725 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10726
10727 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10728 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10729
10730 2013-03-20 Juri Linkov <juri@jurta.org>
10731
10732 * info.el (Info-next-reference-or-link)
10733 (Info-prev-reference-or-link): New functions.
10734 (Info-next-reference, Info-prev-reference): Use them.
10735 (Info-try-follow-nearest-node): Handle footnote navigation.
10736 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10737
10738 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10739
10740 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10741 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10742
10743 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10744
10745 Suppress unnecessary non-ASCII chatter during build process.
10746 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10747 (batch-skkdic-convert): Suppress most of the chatter.
10748 It's not needed so much now that machines are faster,
10749 and its non-ASCII component was confusing; see Dmitry Gutov in
10750 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10751
10752 2013-03-20 Leo Liu <sdl.web@gmail.com>
10753
10754 * ido.el (ido-chop): Fix bug#10994.
10755
10756 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10757
10758 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10759 Remove vars.
10760 (whitespace-color-on, whitespace-color-off):
10761 Use `font-lock-fontify-buffer' (Bug#13817).
10762
10763 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10766 remapping in mode-line.
10767 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10768
10769 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10770
10771 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10772 value for `whitespace-line' face (Bug#13875).
10773 (whitespace-font-lock-keywords): Change description.
10774 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10775 the constructed keywords instead.
10776 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10777
10778 2013-03-19 Leo Liu <sdl.web@gmail.com>
10779
10780 * progmodes/compile.el (compilation-display-error): New command.
10781 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10782 C-o. (Bug#13992)
10783
10784 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10785
10786 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10787
10788 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10789
10790 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10791
10792 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10793
10794 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10795
10796 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10797 * net/tramp-gvfs.el (top):
10798 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10799 (tramp-handle-shell-command): Use it.
10800 (tramp-dissect-file-name): Raise an error when hostname is a
10801 method name, and neither method nor user is specified.
10802
10803 * net/trampver.el: Update release number.
10804
10805 2013-03-18 Leo Liu <sdl.web@gmail.com>
10806
10807 Make sure eldoc can be turned off properly.
10808 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10809 eldoc-mode.
10810 (eldoc-display-message-p): Revert last change.
10811 (eldoc-display-message-no-interference-p)
10812 (eldoc-print-current-symbol-info): Tweak.
10813
10814 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10815
10816 * doc-view.el (doc-view-new-window-function): Check the new window
10817 overlay's display property instead the char property of the
10818 buffer's first char. Use `with-selected-window' instead of
10819 `save-window-excursion' with `select-window'.
10820 (doc-view-document->bitmap): Check the current doc-view overlay's
10821 display property instead the char property of the buffer's first char.
10822
10823 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10824
10825 Automate the build of ja-dic.el (Bug#13984).
10826 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10827 from the input, rather than assume that it's been done for us by the
10828 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10829 the current date into a ja-dic.el comment, as that complicates
10830 regression testing.
10831
10832 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10833
10834 * whitespace.el: Fix double evaluation.
10835 (whitespace-space, whitespace-hspace, whitespace-tab)
10836 (whitespace-newline, whitespace-trailing, whitespace-line)
10837 (whitespace-space-before-tab, whitespace-indentation)
10838 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10839 obsolete defvars.
10840 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10841 (whitespace-color-on): Use a single font-lock-add-keywords call.
10842 Fix double-evaluation of face variables.
10843
10844 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10845
10846 * net/tramp-adb.el (tramp-adb-parse-device-names):
10847 Use `start-process' instead of `call-process'. Otherwise, the
10848 function might be blocked under MS Windows. (Bug#13299)
10849
10850 2013-03-17 Leo Liu <sdl.web@gmail.com>
10851
10852 Extend eldoc to display info in the mode-line. (Bug#13978)
10853 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10854 (eldoc-mode-line-string): New variable.
10855 (eldoc-minibuffer-message): New function.
10856 (eldoc-message-function): New variable.
10857 (eldoc-message): Use it.
10858 (eldoc-display-message-p)
10859 (eldoc-display-message-no-interference-p):
10860 Support eldoc-post-insert-mode.
10861
10862 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10863 (eval-expression): Run it.
10864
10865 2013-03-17 Roland Winkler <winkler@gnu.org>
10866
10867 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10868 strings in the list of return values.
10869
10870 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10871
10872 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10873 radix before checking for HMS forms.
10874
10875 2013-03-16 Leo Liu <sdl.web@gmail.com>
10876
10877 * progmodes/scheme.el: Add indentation and font-locking for λ.
10878 (Bug#13975)
10879
10880 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10883 token before point (bug#13942).
10884
10885 2013-03-16 Leo Liu <sdl.web@gmail.com>
10886
10887 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10888
10889 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10890
10891 * startup.el (command-line-normalize-file-name): Fix handling of
10892 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10893 <xfq.free@gmail.com> in
10894 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10895
10896 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10897
10898 Sync with Tramp 2.2.7.
10899
10900 * net/trampver.el: Update release number.
10901
10902 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10903
10904 * doc-view.el: Fix bug#13887.
10905 (doc-view-insert-image): Don't modify overlay associated to
10906 non-live windows, and implement horizontal centering of image in
10907 case it's smaller than the window.
10908 (doc-view-new-window-function): Force redisplay of new windows on
10909 doc-view buffers.
10910
10911 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10912
10913 * saveplace.el (save-place-alist-to-file): Don't sort
10914 `save-place-alist', just pretty-print it (bug#13882).
10915
10916 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10917
10918 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10919 Check whether `default-file-name-coding-system' is bound.
10920 It isn't in XEmacs.
10921
10922 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10923
10924 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10925 backquotes for `obsolete' (bug#13929).
10926
10927 * international/mule.el (find-auto-coding): Include file name in
10928 obsolescence warning (bug#13922).
10929
10930 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10931
10932 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10933 for CFEngine 3-specific indentation.
10934 (cfengine3-indent-line): Use it. Fix up category regex.
10935 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10936
10937 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10938
10939 * type-break.el (type-break-file-name):
10940 * textmodes/remember.el (remember-data-file):
10941 * strokes.el (strokes-file):
10942 * shadowfile.el (shadow-initialize):
10943 * saveplace.el (save-place-file):
10944 * ps-bdf.el (bdf-cache-file):
10945 * progmodes/idlwave.el (idlwave-config-directory):
10946 * net/quickurl.el (quickurl-url-file):
10947 * international/kkc.el (kkc-init-file-name):
10948 * ido.el (ido-save-directory-list-file):
10949 * emulation/viper.el (viper-custom-file-name):
10950 * emulation/vip.el (vip-startup-file):
10951 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10952 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10953
10954 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10955
10956 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10957 * language/thai-word.el: Switch to UTF-8.
10958
10959 See ChangeLog.16 for earlier changes.
10960
10961 ;; Local Variables:
10962 ;; coding: utf-8
10963 ;; End:
10964
10965 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10966
10967 This file is part of GNU Emacs.
10968
10969 GNU Emacs is free software: you can redistribute it and/or modify
10970 it under the terms of the GNU General Public License as published by
10971 the Free Software Foundation, either version 3 of the License, or
10972 (at your option) any later version.
10973
10974 GNU Emacs is distributed in the hope that it will be useful,
10975 but WITHOUT ANY WARRANTY; without even the implied warranty of
10976 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10977 GNU General Public License for more details.
10978
10979 You should have received a copy of the GNU General Public License
10980 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.