* lisp/emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
4 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
5 when the advice is pending.
6 (advice-remove): Remove this marker when not needed any more.
7
8 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
9
10 * frameset.el: Separate options for reusing frames and cleaning up.
11 (frameset--reuse-list): Remove definition; declare.
12 (frameset--action-map): Declare.
13 (frameset--find-frame-if): Doc fix.
14 (frameset--restore-frame): Cache frame action.
15 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
16 how to clean up the frame list after restoring. Remove cleaning
17 options from REUSE-FRAMES. Change all keyword values to symbols.
18 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
19
20 * desktop.el (desktop-restore-forces-onscreen)
21 (desktop-restore-reuses-frames): Use non-keyword values.
22 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
23
24 2014-03-10 Glenn Morris <rgm@gnu.org>
25
26 * files.el (find-file): Doc fix: update info node name.
27
28 * emacs-lisp/advice.el (ad-add-advice, defadvice):
29 Doc fix: remove references to deleted info nodes.
30
31 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
32
33 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
34 Do not add `nil' to the environment, when there's no remote `locale'.
35 (tramp-find-inline-encoding): Check, that the remote host has
36 installed perl, before sending scripts.
37
38 2014-03-10 Leo Liu <sdl.web@gmail.com>
39
40 * emacs-lisp/eldoc.el (eldoc-minibuffer-message): Clear
41 eldoc-last-message. (Bug#16920)
42
43 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
46 (bug#14430).
47
48 2014-03-09 Juri Linkov <juri@jurta.org>
49
50 * ansi-color.el (ansi-color-names-vector): Copy default colors
51 from `xterm-standard-colors' that look well on the default white
52 background (and also on the black background) to avoid illegible
53 color combinations like yellow-on-white and white-on-white.
54 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
55
56 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
57
58 * frameset.el (frameset-restore): When no frame is visible, do not
59 generate a list of frames, just make visible the selected one.
60
61 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
62
63 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
64 it only contains the repository root. (Bug#16897)
65
66 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
67
68 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
69 only when `remote-file-name-inhibit-cache' is nil.
70 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
71
72 2014-03-06 Martin Rudalics <rudalics@gmx.at>
73
74 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
75 Fix doc-strings.
76 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
77 fit-frame-to-buffer variable. Fix doc-string.
78 (fit-window-to-buffer): Set ONLY argument in call of
79 fit-frame-to-buffer. Fix doc-string.
80
81 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
82
83 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
84 (tramp-action-password): Clear password cache if needed.
85 (tramp-read-passwd): Do not clear password cache.
86
87 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
88 cache unless it is the first password request.
89
90 2014-03-06 Glenn Morris <rgm@gnu.org>
91
92 * simple.el (newline): Doc tweak.
93
94 * emacs-lisp/shadow.el (load-path-shadows-find):
95 Ignore dir-locals. (Bug#12357)
96
97 2014-03-05 Glenn Morris <rgm@gnu.org>
98
99 * files.el (interpreter-mode-alist):
100 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
101
102 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
103
104 * frameset.el (frameset--initial-params): Filter out null entries.
105
106 2014-03-05 Martin Rudalics <rudalics@gmx.at>
107
108 * window.el (window-min-height, window-min-width):
109 Rewrite doc-strings.
110 (window-body-size): Add PIXELWISE argument to make it consistent
111 with its callees.
112
113 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
114
115 * finder.el (finder-mode-map, finder-mode-syntax-table):
116 Revert part of 2014-02-28 change.
117
118 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
119
120 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
121 (eww-setup-buffer): Clear next/prev/etc more reliably.
122 (eww-textarea-map): [tab] doesn't work on tty.
123 Reported by Mario Lang.
124
125 * net/shr.el (shr-map): Ditto.
126
127 2014-03-04 Glenn Morris <rgm@gnu.org>
128
129 * minibuffer.el (completion-hilit-commonality):
130 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
131
132 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
133
134 * hilit-chg.el (hilit-chg-unload-function): New function.
135 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
136 (hilit-chg-map-changes): Prefer cardinal number to digit.
137 (hilit-chg-display-changes): Reflow docstring.
138 (highlight-changes-rotate-faces): Remove superfluous backslash.
139
140 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
141
142 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
143 `tramp-send-command-and-check'.
144
145 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
146
147 * hexl.el (hexl-address-region, hexl-ascii-region)
148 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
149 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
150 (hexl-forward-word, hexl-previous-line, hexl-next-line):
151 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
152 (hexl-mode): Doc fix.
153 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
154 (hexl-mode-ruler): Fix typos in docstrings.
155
156 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
157 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
158 Remove superfluous backslashes.
159 (strokes-last-stroke, strokes-global-map, strokes-mode):
160 Reflow docstrings.
161 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
162 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
163 (strokes-distance-squared, strokes-global-set-stroke)
164 (strokes-global-set-stroke-string): Doc fixes.
165 (strokes-help): Fix typos; reflow docstring.
166
167 2014-03-04 Martin Rudalics <rudalics@gmx.at>
168
169 * window.el (window-in-direction): Fix doc-string.
170
171 2014-03-04 Glenn Morris <rgm@gnu.org>
172
173 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
174 Explicit error if no grammar.
175 (smie-config-save): Doc fix. Fix quote typo.
176
177 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
180 electric-indent-mode-hook if we obey electric-indent-mode.
181 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
182 decide whether we obey electric-indent-mode.
183 (c-change-set-fl-decl-start, c-extend-after-change-region):
184 Silence warnings.
185 (c-electric-indent-mode-hook): Assume we do want to obey
186 electric-indent-mode.
187
188 * electric.el (electric-indent-mode-has-been-called): Remove.
189 (electric-indent-mode): Fix accordingly.
190
191 * files.el (hack-local-variables): Mention file name in warning.
192
193 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
194
195 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
196
197 * binding.el: Add comment describing why C-d binds to `delete-char'.
198 * simple.el (delete-forward-char): Mark as interactive-only.
199
200 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
201
202 * icomplete.el (icomplete-completions):
203 Follow-up to 2014-03-01 change.
204
205 * icomplete.el: Miscellaneous doc fixes.
206 Use Icomplete everywhere instead of icomplete for consistency.
207 (icomplete-max-delay-chars): Fix typo.
208 (icomplete-mode): Use \[].
209 (icomplete-tidy, icomplete-exhibit): Reflow.
210 (icomplete-minibuffer-setup-hook, icomplete-completions):
211 Remove superfluous backlashes.
212
213 * ido.el: Miscellaneous doc fixes.
214 Use Ido everywhere instead of ido or `ido' for consistency.
215 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
216 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
217 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
218 (ido-separator): Extract obsolescence info from docstring and declare
219 with make-obsolete-variable.
220 (ido-minibuffer-setup-hook): Simplify example.
221 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
222 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
223 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
224 (ido-everywhere): Reflow docstring.
225 (ido-toggle-vc): Doc fix.
226 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
227 of long list of keybindings.
228
229 2014-03-03 Glenn Morris <rgm@gnu.org>
230
231 * frame.el (display-pixel-height, display-pixel-width)
232 (display-mm-dimensions-alist, display-mm-height)
233 (display-mm-width): Doc tweaks.
234
235 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
236
237 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
238 case of undo in region.
239
240 2014-03-02 Martin Rudalics <rudalics@gmx.at>
241
242 * window.el (fit-window-to-buffer): Fix argument in window-size
243 call when window is horizontally combined.
244
245 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
246
247 * icomplete.el (icomplete-completions): Use string-width.
248 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
249
250 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
251
252 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
253 Highlight regexp options. (Bug#16914)
254
255 2014-03-01 Martin Rudalics <rudalics@gmx.at>
256
257 * window.el (window--max-delta-1): Round down when calculating
258 how many lines/columns we can get from a window.
259
260 2014-03-01 Glenn Morris <rgm@gnu.org>
261
262 * isearch.el (search-invisible): Doc fix.
263
264 * minibuffer.el (completion-hilit-commonality):
265 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
266 * comint.el (comint-dynamic-list-completions): Doc fix.
267 * comint.el (comint-dynamic-list-completions):
268 * filecache.el (file-cache-minibuffer-complete):
269 * tempo.el (tempo-display-completions):
270 * eshell/em-hist.el (eshell-list-history):
271 Replace use of obsolete argument of display-completion-list.
272
273 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
274
275 * icomplete.el (icomplete-completions):
276 Revert back to using "..." when ?… cannot be displayed.
277
278 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
279
280 * finder.el (finder-unload-function): New function.
281
282 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
283
284 * dframe.el (dframe-detach):
285 * find-dired.el (find-dired, find-name-dired):
286 * finder.el (finder-mode-map, finder-mode-syntax-table)
287 (finder-headmark, finder-select, finder-mouse-select):
288 Fix docstring typos.
289
290 2014-02-28 Martin Rudalics <rudalics@gmx.at>
291
292 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
293 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
294 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
295 Fix doc-string based on a suggestion by Nicolas Richard
296 <theonewiththeevillook@yahoo.fr>.
297 * help.el (with-help-window): Fix doc-string.
298
299 2014-02-28 Ivan Kanis <ivan@kanis.fr>
300
301 * net/shr.el (shr-image-animate): New option.
302 (shr-put-image): Respect shr-image-animate.
303
304 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
305
306 * net/tramp-adb.el (tramp-adb-parse-device-names):
307 Use `accept-process-output'.
308 (tramp-adb-handle-file-truename): Cache the localname only.
309 (tramp-adb-handle-make-directory)
310 (tramp-adb-handle-delete-directory): Flush file properties correctly.
311 (tramp-adb-handle-set-file-modes): Do not raise an error when file
312 modes cannot be changed.
313
314 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
315 file properties of symlinks.
316
317 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
318
319 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
320 required/optional fields to match development biblatex. (Bug#16781)
321
322 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
323
324 * saveplace.el (toggle-save-place):
325 Fix argument handling. (Bug#16673)
326
327 2014-02-28 Glenn Morris <rgm@gnu.org>
328
329 * minibuffer.el (completions-first-difference)
330 (completions-common-part, completion-hilit-commonality): Doc fixes.
331
332 2014-02-28 Karl Berry <karl@gnu.org>
333
334 * info.el (Info-mode-map): Add H for describe-mode,
335 to synchronize with standalone Info.
336
337 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
338
339 * progmodes/sql.el (sql-interactive-mode):
340 Avoid setting global comint-input-ring-separator. (Bug#16814)
341
342 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
343
344 * net/dbus.el (dbus--init-bus): Declare function.
345 (dbus-path-local, dbus-interface-local): New defconst.
346 (dbus-init-bus): Use them.
347 (dbus-return-values-table): Extend doc.
348 (dbus-handle-bus-disconnect): Extend error message.
349
350 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
351
352 * subr.el (y-or-n-p): Fix double space issue in message.
353
354 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
355
356 * net/tramp.el (tramp-call-process): Improve trace message.
357 (tramp-handle-insert-file-contents): Trace error case.
358
359 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
360 <insert-directory>: Use `tramp-handle-insert-directory'.
361 (tramp-adb-handle-insert-directory): Remove function.
362 (tramp-adb-send-command-and-check): New defun, replacing
363 `tramp-adb-command-exit-status'. Change all callees.
364 (tramp-adb-handle-file-attributes)
365 (tramp-adb-handle-directory-files-and-attributes): Use it.
366 (tramp-adb-ls-output-name-less-p):
367 Use `directory-listing-before-filename-regexp'.
368 (tramp-adb-handle-delete-directory): Flush also file properties of
369 the truename of directory.
370 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
371 (tramp-adb-handle-file-local-copy): Make the local copy readable.
372 (tramp-adb-handle-write-region): Implement APPEND.
373 (tramp-adb-handle-rename-file): Make it more robust. Flush file
374 properties correctly.
375 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
376 variables. Check for connected devices only when needed.
377
378 2014-02-27 Glenn Morris <rgm@gnu.org>
379
380 * minibuffer.el (completion-table-dynamic)
381 (completion-table-with-cache): Doc fixes.
382
383 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
384 (completing-read-multiple): Doc fixes.
385
386 2014-02-27 Daniel Colascione <dancol@dancol.org>
387
388 * minibuffer.el (completion--nth-completion): Fix indentation.
389
390 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
391 explicit tramp path is empty.
392
393 2014-02-27 Glenn Morris <rgm@gnu.org>
394
395 * emacs-lisp/crm.el (completing-read-multiple):
396 Empower help-enable-auto-load.
397
398 2014-02-26 Glenn Morris <rgm@gnu.org>
399
400 * startup.el (command-line): Don't init the tty in daemon mode.
401
402 Avoid calling tty-setup-hook twice, eg if a term file
403 explicitly calls tty-run-terminal-initialization. (Bug#16859)
404 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
405 (tty-create-frame-with-faces): Use it.
406 * startup.el (command-line): Pass run-hook argument
407 to tty-run-terminal-initialization.
408
409 * dired.el (dired-restore-desktop-buffer): Demote errors;
410 eg in case a glob match fails. (Bug#16884)
411
412 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
413
414 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
415 error from `read-from-string'. (Bug#16850)
416
417 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
418 result of `completing-read' in the interactive form. (Bug#16854)
419
420 2014-02-25 Glenn Morris <rgm@gnu.org>
421
422 * image.el (image-animate, image-animate-timeout):
423 Stop animating images in dead buffers. (Bug#16878)
424
425 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
426
427 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
428 Doc fixes.
429 * startup.el (term-setup-hook): Doc fix. Make obsolete.
430 * term/sun.el (sun-raw-prefix-hooks):
431 Use tty-setup-hook instead of term-setup-hook.
432 (terminal-init-sun): Construct message from bytecomp plist.
433 * term/wyse50.el (enable-arrow-keys): Doc fix.
434
435 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
436
437 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
438 Fix docstring typos.
439
440 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
441
442 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
443
444 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
445
446 * minibuffer.el (completion--try-word-completion):
447 Fix error when completing M-x commands (bug#16808).
448
449 2014-02-24 Leo Liu <sdl.web@gmail.com>
450
451 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
452
453 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
454
455 * apropos.el (apropos-print): Avoid formatting error when
456 apropos-do-all and apropos-compact-layout are both t.
457
458 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
459
460 * apropos.el (apropos-property, apropos-all-words-regexp)
461 (apropos-true-hit, apropos-variable, apropos-print):
462 Fix docstring typos, and remove obsolete comment.
463
464 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
465
466 * net/tramp-sh.el (tramp-sh-handle-file-truename):
467 Preserve trailing "/". (Bug#16851)
468
469 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
470
471 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
472 after `=>' (bug#16811).
473 (ruby-smie-rules): Handle the inconsistent second element of the
474 list returned by `smie-indent--parent'.
475 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
476 method call.
477
478 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
479
480 * elec-pair.el (electric-pair-text-syntax-table)
481 (electric-pair-syntax-info, electric-pair--syntax-ppss)
482 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
483 (electric-pair--looking-at-unterminated-string-p): Doc fix.
484 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
485
486 2014-02-22 Glenn Morris <rgm@gnu.org>
487
488 * imenu.el (imenu--generic-function): Doc fix.
489
490 * register.el (frame-configuration-to-register): Make obsolete.
491
492 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
493
494 * desktop.el (desktop-save-buffer-p): Do not fail when
495 desktop-files-not-to-save is nil. Return t for true result
496 as the doc says.
497
498 2014-02-22 Daniel Colascione <dancol@dancol.org>
499
500 * net/secrets.el (secrets-create-item, secrets-search-items):
501 Check that attribute values are strings, avoiding the construction
502 of invalid dbus messages.
503
504 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
505
506 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
507 defun-declarations-alist.
508
509 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
512 (bug#16829).
513
514 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
515
516 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
517 (whitespace-newline, whitespace-trailing, whitespace-line)
518 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
519 (whitespace-space-after-tab): Fix typo in docstrings.
520
521 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
522
523 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
524
525 * electric.el (electric-indent-functions-without-reindent):
526 Add `yaml-indent-line'.
527
528 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
529
530 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
531 It has done nothing for years; should be removed after the release.
532
533 * simple.el (choose-completion): Fix docstring typo.
534 (read-quoted-char-radix): Remove unneeded * in docstring.
535 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
536 Don't escape parentheses unnecessarily in docstrings.
537
538 2014-02-21 Martin Rudalics <rudalics@gmx.at>
539
540 Fix handling of window-min-height/-width (Bug#16738).
541 * window.el (window--dump-window, window--dump-frame):
542 New functions.
543 (window--min-size-1): Account for window dividers.
544 When window-resize-pixelwise is nil, delay rounding till after the
545 sum of the window components has been calculated.
546 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
547 nil make sure at least one text line and two text columns remain
548 fully visible.
549 (window-resize): Signal an error when window-resize-apply fails.
550 (window--resize-child-windows): Fix calculation of by how many
551 pixels a window can still be shrunk via window-new-normal.
552 (adjust-window-trailing-edge): Call window--resizable with
553 correct TRAIL argument.
554
555 (with-temp-buffer-window): Don't evaluate BODY within
556 with-current-buffer (Bug#16816).
557
558 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
559
560 * net/tramp.el (tramp-check-cached-permissions):
561 Call `file-attributes' with `suffix' being a symbol but a string.
562
563 2014-02-21 Daniel Colascione <dancol@dancol.org>
564
565 * net/dbus.el (dbus-init-bus-1): Declare new subr.
566 (dbus-init-bus): New function: call into dbus-init-bus-1
567 and installs a handler for the disconnect signal.
568 (dbus-call-method): Rewrite to look for result in cons.
569 (dbus-call-method-handler): Store result in cons.
570 (dbus-check-event): Recognize events with nil sender as valid.
571 (dbus-handle-bus-disconnect): New function. React to bus
572 disconnection signal by synthesizing dbus error for each
573 pending synchronous or asynchronous call.
574 (dbus-notice-synchronous-call-errors): New function.
575 (dbus-handle-event): Raise errors directly only when `dbus-debug'
576 is true, not all the time.
577
578 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
579
580 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
581 Remove obsolescence declarations, these variables do not exist anymore.
582
583 * savehist.el (savehist-save-minibuffer-history)
584 (savehist-additional-variables, savehist-file, savehist-mode-hook)
585 (savehist-save-hook, savehist-coding-system, savehist-loaded)
586 (savehist-load, savehist-install, savehist-autosave): Fix typos;
587 mostly, refer to "Savehist mode" when talking about the mode,
588 and not the function.
589
590 * saveplace.el (save-place): Remove redundant info in docstring.
591 (save-place-forget-unreadable-files, toggle-save-place)
592 (save-place-forget-unreadable-files, save-place-dired-hook):
593 Fix typos and remove unneeded backslashes.
594
595 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
596
597 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
598 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
599
600 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
601 <insert-directory>: Use `tramp-handle-insert-directory'.
602 (tramp-gvfs-handle-insert-directory): Remove function.
603
604 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
605 Call `tramp-handle-insert-directory'.
606
607 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
608
609 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
610 before the start of buffer/region (bug#16799).
611
612 2014-02-20 Glenn Morris <rgm@gnu.org>
613
614 * isearch.el (search-invisible): Doc fix.
615
616 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
617
618 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
619 (bug#16657).
620
621 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
622
623 * frameset.el (frameset-restore): Delay removing an old frame's
624 duplicate id until the new frame has been correctly created.
625
626 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
627
628 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
629 (tramp-check-cached-permissions): Call `file-attributes' if the
630 cache is empty.
631
632 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
633 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
634
635 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
636 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
637 (tramp-gvfs-maybe-open-connection): Set always connection
638 properties, even if target is mounted already.
639
640 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
641 Set tramp-autoload cookie.
642 (tramp-get-remote-touch): New defun.
643 (tramp-sh-handle-set-file-times): Use it.
644 (tramp-sh-handle-directory-files-and-attributes):
645 Use `tramp-handle-directory-files-and-attributes' if neither stat
646 nor perl are available on the remote host.
647
648 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
649 "/". Write long listing only when "l" belongs to the switches.
650
651 * net/trampver.el: Update release number.
652
653 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
654
655 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
656
657 2014-02-19 Martin Rudalics <rudalics@gmx.at>
658
659 * window.el (window-state-put): Allow WINDOW to refer to an
660 internal window (Bug#16793).
661
662 2014-02-19 Glenn Morris <rgm@gnu.org>
663
664 * textmodes/remember.el: Move provide statement to end.
665 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
666 (remember-notes): Doc fixes.
667
668 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * delsel.el (delete-char): Restore incorrectly erased property
671 (bug#16795).
672
673 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
674
675 * frameset.el (frameset--restore-frame): When a frame is being reused
676 and its root window is not alive, delete all the frame's windows before
677 restoring the window state. This works around the issue in bug#16793.
678
679 2014-02-18 Glenn Morris <rgm@gnu.org>
680
681 * textmodes/remember.el (remember-data-directory)
682 (remember-directory-file-name-format, remember-store-in-files)
683 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
684 (remember-notes-save-and-bury-buffer)
685 (remember-notes--kill-buffer-query): Doc fixes.
686
687 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
688
689 2014-02-17 Alan Mackenzie <acm@muc.de>
690
691 Connect electric-indent-mode up with CC Mode. Bug #15478.
692 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
693 to electric-indent-{,local-}-mode.
694 (c-basic-common-init): Set electric-indent-inhibit.
695 Initialise c-electric-flag from electric-indent-mode.
696 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
697 New hook functions which propagate electric-indent-mode to CC mode.
698
699 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
700 hit, toggle electric-indent-local-mode.
701
702 * electric.el (electric-indent-mode-has-been-called):
703 New variable.
704
705 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
706
707 * frameset.el (frameset-cfg-id): New function.
708 (frameset--reuse-frame, frameset-restore): Use it.
709 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
710
711 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * ido.el (ido-file-internal): Remove unused var `d'.
714 Use \` for to match BoS. Fit within 80n columns.
715
716 2014-02-17 Daniel Colascione <dancol@dancol.org>
717
718 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
719 dbus-call-method check for completion using a busy-wait loop with
720 gradual backoff.
721
722 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
723
724 Sync with Tramp 2.2.9.
725
726 * net/trampver.el: Update release number.
727
728 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
729
730 * ido.el (ido-file-internal): Don't add the name of an existing
731 directory twice. (Bug#16747)
732
733 2014-02-16 Glenn Morris <rgm@gnu.org>
734
735 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
736 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
737
738 2014-02-15 Michael R. Mauger <michael@mauger.com>
739
740 * progmodes/sql.el: Version 3.4
741 (sql-oracle-options): New default value ("-L").
742 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
743 (sql-placeholders-filter): Correct placeholder pattern.
744 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
745 (sql-login-delay): New variable.
746 (sql-product-interactive): Use it.
747
748 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
749
750 * frameset.el (frameset--jump-to-register): Check that buffer is live
751 (bug#16749).
752
753 2014-02-15 Glenn Morris <rgm@gnu.org>
754
755 * info.el (info-initialize): Revert 2014-01-10 change.
756
757 2014-02-14 Glenn Morris <rgm@gnu.org>
758
759 * replace.el (map-query-replace-regexp)
760 (read-regexp-defaults-function, read-regexp): Doc fixes.
761
762 * dired.el (dired-read-regexp):
763 * faces.el (list-faces-display):
764 * misearch.el (multi-isearch-read-matching-buffers)
765 (multi-isearch-read-matching-files):
766 * play/cookie1.el (cookie-apropos):
767 * progmodes/grep.el (grep-read-regexp): Doc fixes.
768
769 * textmodes/remember.el (remember): Use frameset-to-register
770 rather than frame-configuration-to-register.
771
772 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
773
774 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
775 incorrect keybinding.
776
777 2014-02-13 Daniel Colascione <dancol@dancol.org>
778
779 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
780 when adding overlays so that line numbers from compiler match line
781 numbers we use.
782
783 2014-02-13 Glenn Morris <rgm@gnu.org>
784
785 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
786
787 * jit-lock.el (jit-lock-mode): Doc fix.
788
789 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
790
791 * apropos.el (apropos-read-pattern): When the user passes an empty
792 string, give a more helpful error message than "Wrong type
793 argument: stringp, nil".
794
795 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
798
799 2014-02-13 Glenn Morris <rgm@gnu.org>
800
801 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
802
803 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
806 shift-select commands.
807
808 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
809
810 * progmodes/js.el (js-indent-line): Don't widen.
811 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
812
813 2014-02-12 Glenn Morris <rgm@gnu.org>
814
815 * icomplete.el (icomplete): Add info-link to defgroup.
816 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
817 (icomplete-minibuffer-map, icomplete-mode)
818 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
819
820 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
821 (package-menu-filter): Rename from package-menu-filter-interactive.
822 Doc fix.
823
824 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
825
826 * frameset.el (frameset--jump-to-register): Select the required
827 window and buffer before restoring position (bug#16696).
828
829 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
830
831 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
832
833 2014-02-10 Glenn Morris <rgm@gnu.org>
834
835 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
836
837 2014-02-10 Eli Zaretskii <eliz@gnu.org>
838
839 * w32-common-fns.el (x-get-selection): Doc fix.
840 * select.el (x-get-selection): Doc fix. (Bug#15109)
841
842 * face-remap.el (face-remap-add-relative)
843 (face-remap-remove-relative, face-remap-reset-base)
844 (face-remap-set-base): Call force-mode-line-update to redisplay
845 the current buffer due to potential change in faces. (Bug#16709)
846
847 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
848
849 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
850 script more robustly.
851
852 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
853
854 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
855
856 * simple.el (choose-completion): Doc fix (bug#14160).
857
858 * subr.el (event-start): Say what a nil EVENT value means.
859
860 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
861 (bug#14197).
862
863 * progmodes/grep.el (find-program): Doc fix (bug#14289).
864
865 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
866
867 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
868
869 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
870 predicate function (bug#15455).
871
872 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
873
874 * ielm.el (inferior-emacs-lisp-mode): Instead of
875 `comment-use-global-state', set `comment-use-syntax'.
876
877 2014-02-10 Glenn Morris <rgm@gnu.org>
878
879 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
880
881 2014-02-09 Alan Mackenzie <acm@muc.de>
882
883 Fix c-invalidate-state-cache on narrowed buffers.
884 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
885 Widen when setting and clearing the CPP delimiter properties.
886
887 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
888
889 * help.el (describe-bindings): Doc fix (bug#9888).
890
891 * files.el (save-buffer): Use ARG as the parameter name for
892 consistency (bug#10346).
893 (save-buffer): Clarify the 0 argument (bug#10346).
894
895 * cus-edit.el (customize-apropos): Fix error string.
896 (custom-buffer-create): Doc fix (bug#11122).
897 (custom-sort-items): Doc fix (bug#11121).
898
899 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
900
901 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
902 (icomplete-simple-completing-p): Mention the previous variable.
903
904 * font-lock.el (font-lock-value-in-major-mode): Clarify the
905 meaning of the parameter (bug#12282).
906
907 * files.el (find-file-noselect): Clarify prompt when changing
908 readedness (bug#13261).
909 (locate-file): Suffixes aren't returned, so don't say that they
910 are (bug#12674).
911 (backup-inhibited): Doc clarification (bug#12525).
912
913 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
914 before we actually start to delete things (bug#16331).
915
916 * subr.el (event-start): Doc fix (bug#14228).
917 (event-end): Ditto.
918
919 2014-02-09 Glenn Morris <rgm@gnu.org>
920
921 * emacs-lisp/warnings.el (lwarn):
922 Empower help-enable-auto-load. (Bug#15940)
923
924 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
925
926 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
927 (Bug#16690)
928
929 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
930
931 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
932 Insert output at end of buffer. (Bug#16120)
933
934 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
935
936 * simple.el (choose-completion-string-functions): Document new
937 calling convention (bug#14153).
938 (execute-extended-command): Clarify doc string (bug#13373).
939
940 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
941
942 * find-dired.el (find-name-dired): Doc fix (bug#14290).
943 (find-grep-dired): Doc fix (bug#14288).
944
945 2014-02-08 Juri Linkov <juri@jurta.org>
946
947 * isearch.el (isearch-quote-char): Check character validity
948 like in `quoted-insert' (bug#16677).
949
950 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
951
952 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
953
954 * isearch.el (isearch-hide-immediately): Doc clarification
955 (bug#14723).
956
957 * simple.el (line-move): Document utility function used many
958 places in the Emacs sources (bug#14843).
959
960 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
961 (dired-prev-marked-file): Doc fix (bug#14855).
962 (dired-up-directory): Doc fix (bug#14848).
963
964 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
965
966 * files.el (file-relative-name): Doc fix (bug#15159).
967
968 * fringe.el (fringe-styles): Doc fix (bug#15239).
969
970 * isearch.el (isearch-filter-predicate): Documentation typo fix
971 (bug#15474).
972
973 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
974
975 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
976
977 * replace.el (replace-match-maybe-edit): Doc clarification
978 (bug#15632).
979
980 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
981
982 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
983
984 2014-02-08 Glenn Morris <rgm@gnu.org>
985
986 * help-fns.el (describe-variable):
987 Check {file,dir}-local-variables-alist, and buffer-file-name,
988 in the correct buffer.
989
990 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
991
992 * help-fns.el (describe-variable): Fix the case where
993 a value is directory-local with no dir-locals file. (Bug#16635)
994
995 2014-02-08 Glenn Morris <rgm@gnu.org>
996
997 * abbrev.el (edit-abbrevs-mode):
998 Derive from fundamental-mode. (Bug#16682)
999
1000 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1001
1002 * simple.el (quoted-insert): Check character validity (bug#16677).
1003
1004 2014-02-07 Juri Linkov <juri@jurta.org>
1005
1006 * desktop.el (desktop-read): Claim the lock when the owner is not
1007 the current process. (Bug#16157)
1008
1009 2014-02-07 Juri Linkov <juri@jurta.org>
1010
1011 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1012 to "\\` ". (Bug#16651)
1013
1014 2014-02-07 Juri Linkov <juri@jurta.org>
1015
1016 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1017 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1018 (desktop-auto-save-cancel-timer): New function with some code from
1019 `desktop-auto-save-set-timer'.
1020 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1021 Instead of setting `desktop-save-mode' to nil, call
1022 `desktop-save-mode' with arg 0. (Bug#16630)
1023
1024 2014-02-07 Glenn Morris <rgm@gnu.org>
1025
1026 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1027 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1028 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1029
1030 * obsolete/iswitchb.el: Move to obsolete/.
1031 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1032 since obsolete/ is not scanned for autoloads.
1033 * emacs-lisp/authors.el (authors-valid-file-names):
1034 Add iswitchb.el.
1035
1036 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1037 Disable now non-functional find-file-hook.
1038
1039 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1040
1041 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1042 instead of ";" in order to avoid additional prompts. Let heredoc
1043 scripts read from tty. (Bug#16582)
1044 (tramp-send-command): No special handling of heredocs, it isn't
1045 necessary anymore.
1046
1047 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1050 with a space (bug#16664). Limit the symbols considered to the ones
1051 that are bound or fbound (bug#16646).
1052
1053 2014-02-06 Glenn Morris <rgm@gnu.org>
1054
1055 * epa.el (epa-mail-aliases): Doc fix.
1056
1057 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1058
1059 * emacs-lisp/lisp.el (lisp-completion-at-point):
1060 Use `completion-table-merge' instead of `completion-table-in-turn'
1061 (bug#16604).
1062
1063 * minibuffer.el (completion-table-merge): New function.
1064
1065 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1066
1067 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1068 (tramp-sh-handle-set-file-acl)
1069 (tramp-sh-handle-start-file-process)
1070 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1071 (tramp-find-executable, tramp-send-command): Use it.
1072
1073 2014-02-05 Glenn Morris <rgm@gnu.org>
1074
1075 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1076
1077 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1078
1079 * progmodes/python.el (python-shell-send-string)
1080 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1081
1082 2014-02-04 Anders Lindgren <andlind@gmail.com>
1083
1084 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1085 the names (bug#16620).
1086
1087 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1088
1089 * faces.el (window-divider): New default value. Rewrite doc-string.
1090 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1091
1092 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1093
1094 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1095 `protected' and `public' can also be called without arguments.
1096
1097 2014-02-03 Glenn Morris <rgm@gnu.org>
1098
1099 * register.el (window-configuration-to-register)
1100 (frame-configuration-to-register): Unadvertise unused argument.
1101 * frameset.el (frameset-to-register): Remove unused argument.
1102
1103 * frameset.el (frameset-to-register):
1104 * kmacro.el (kmacro-to-register):
1105 * register.el (increment-register):
1106 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1107 (calc-append-to-register, calc-prepend-to-register):
1108 * play/gametree.el (gametree-layout-to-register)
1109 (gametree-apply-register-layout):
1110 * textmodes/picture.el (picture-clear-rectangle-to-register)
1111 (picture-yank-rectangle-from-register):
1112 * vc/emerge.el (emerge-combine-versions-register):
1113 Use register-read-with-preview to read registers.
1114
1115 2014-02-03 João Távora <joaotavora@gmail.com>
1116
1117 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1118 when at beginning of (possibly narrowed) buffer.
1119
1120 2014-02-02 Daniel Colascione <dancol@dancol.org>
1121
1122 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1123 Also try to display local help from just before point.
1124
1125 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1126
1127 c-parse-state. Don't "append-lower-brace-pair" in certain
1128 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1129 recognised as a comment.
1130
1131 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1132 as well as normal comment starter.
1133 (c-parse-state-get-strategy): Extra return possibility
1134 'back-and-forward.
1135 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1136 return value list to indicate replacement of a brace-pair cons
1137 with its car.
1138 (c-parse-state-1): With 'back-and-forward, only call
1139 c-append-lower-brace-pair-to state-cache when cons-separated.
1140
1141 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1142
1143 * term/ns-win.el (ns-suspend-error): New function.
1144 (ns-initialize-window-system): Add ns-suspend-error to
1145 suspend-hook (Bug#16612).
1146
1147 2014-02-02 Daniel Colascione <dancol@dancol.org>
1148
1149 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1150 Make loading cc-mode silent.
1151
1152 2014-02-02 Daniel Colascione <dancol@dancol.org>
1153
1154 * comint.el (comint-prompt-read-only): Change doc to suggest
1155 remap keybinding.
1156
1157 2014-02-02 Glenn Morris <rgm@gnu.org>
1158
1159 * register.el (register-read-with-preview, point-to-register)
1160 (window-configuration-to-register, frame-configuration-to-register)
1161 (jump-to-register, number-to-register, view-register, insert-register)
1162 (copy-to-register, append-to-register, prepend-to-register)
1163 (copy-rectangle-to-register): Doc fixes.
1164
1165 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1168 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1169 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1170 * help-fns.el (describe-function-1): Use it.
1171
1172 2014-02-02 Glenn Morris <rgm@gnu.org>
1173
1174 * register.el (register-preview-default): New function,
1175 split from register-preview.
1176 (register-preview-function): Rename from register-preview-functions,
1177 make it not a hook.
1178 (register-preview): Use register-preview-function.
1179 (register-read-with-preview): Error on non-character event. (Bug#16595)
1180
1181 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1182
1183 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1184 `:' before binary operators (bug#16609). Don't check for `:'
1185 before `[' and `(', or their syntax status. A percent literal
1186 can't end with either.
1187 (ruby-font-lock-keywords): For built-ins that require arguments,
1188 check that they're followed by something that looks like argument
1189 (bug#16610).
1190
1191 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1192
1193 * subr.el (butlast): Document what an omitted N means (bug#13437).
1194 (nbutlast): Ditto.
1195
1196 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1197
1198 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1199 depth shallower (bug#16587).
1200 (shr-tag-svg): Respect `shr-inhibit-images'.
1201 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1202
1203 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1204
1205 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1206 (ruby-smie-grammar): Make "." right-associative. Make its priority
1207 lower than the ternary and all binary operators.
1208 (ruby-smie-rules): Indent "(" relative to the first non-"."
1209 parent, or the first "." parent at indentation.
1210 Use `ruby-align-chained-calls' for indentation of "." tokens.
1211 (Bug#16593)
1212
1213 2014-01-31 Juri Linkov <juri@jurta.org>
1214
1215 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1216 from `make-hash-table'.
1217
1218 * textmodes/ispell.el (ispell-init-process): Change message format
1219 to be consistent with other messages.
1220
1221 2014-01-31 Glenn Morris <rgm@gnu.org>
1222
1223 * delsel.el (delete-selection-mode): Doc fix.
1224
1225 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1226 (trace-function-background): Doc fixes.
1227
1228 * ido.el (ido-use-virtual-buffers): Doc fix.
1229 Reset :version, since the default value has not changed.
1230
1231 * register.el (register-preview-delay, register-read-with-preview):
1232 Doc fixes.
1233
1234 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1235 do not mess with mail-buffer position (fixes 2009-11-03 change).
1236 * progmodes/cc-mode.el (c-submit-bug-report):
1237 Check auto-fill-mode is bound. (Bug#16592)
1238
1239 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1240
1241 * startup.el (fancy-splash-image-file): New function,
1242 split from fancy-splash-head.
1243 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1244 so that we are both using the same image. (Bug#16574)
1245
1246 2014-01-30 Glenn Morris <rgm@gnu.org>
1247
1248 * simple.el (eval-expression): Doc fix.
1249
1250 * hexl.el (hexl-mode-hook):
1251 * ielm.el (ielm-mode-hook):
1252 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1253 (lisp-interaction-mode-hook):
1254 * progmodes/cfengine.e (cfengine3-documentation-function):
1255 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1256
1257 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1260 is a symbol (bug#16584).
1261
1262 2014-01-30 Glenn Morris <rgm@gnu.org>
1263
1264 * help.el (help-for-help-internal): Add "P" to text.
1265
1266 2014-01-29 Glenn Morris <rgm@gnu.org>
1267
1268 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1269
1270 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1271
1272 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1273 height constraints.
1274
1275 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1276
1277 * progmodes/hideif.el: Extend to full CPP expression syntax.
1278 (hif-token-alist): Add missing tokens.
1279 (hif-token-regexp): Add support for float/octal/hex immediates.
1280 (hif-string-literal-regexp): New const.
1281 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1282 (hif-exprlist): New function.
1283 (hif-parse-if-exp): Use it.
1284 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1285 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1286 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1287 (hif-logxor, hif-comma): New functions.
1288
1289 2014-01-28 Glenn Morris <rgm@gnu.org>
1290
1291 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1292
1293 * indent.el (tab-stop-list): Doc fix. Add :version.
1294
1295 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1296 (cvs-append-to-ignore): Add compatibility alias.
1297
1298 2014-01-27 Glenn Morris <rgm@gnu.org>
1299
1300 * dired.el (dired-hide-details-mode): Don't autoload it,
1301 since it cannot be used outside Dired buffers anyway.
1302
1303 * emulation/cua-base.el (cua-mode): Doc fix.
1304
1305 * dired.el (dired-hide-details-hide-symlink-targets)
1306 (dired-hide-details-hide-information-lines)
1307 (dired-hide-details-mode): Doc fixes.
1308
1309 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1310 * strokes.el (strokes-file): Doc fix. Bump :version.
1311 (strokes-help): Doc fix.
1312 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1313 * emulation/viper.el (viper): Doc fix for custom group.
1314 (top-level): Remove oh-so-no-longer-relevant text about vip.
1315 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1316
1317 * ido.el (ido-save-directory-list-file):
1318 * saveplace.el (save-place-file):
1319 * calendar/timeclock.el (timeclock-file):
1320 * net/quickurl.el (quickurl-url-file):
1321 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1322 * progmodes/idlwave.el (idlwave-config-directory):
1323 * textmodes/remember.el (remember-data-file):
1324 Bump :version.
1325
1326 2014-01-26 Glenn Morris <rgm@gnu.org>
1327
1328 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1329 Doc fix. Make obsolete.
1330 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1331
1332 * sort.el (delete-duplicate-lines): Doc fix.
1333
1334 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1335
1336 * progmodes/ada-mode.el (ada):
1337 * woman.el (woman): Link to info manual and Commentary section.
1338
1339 * progmodes/flymake.el (flymake):
1340 * nxml/nxml-mode.el (nxml):
1341 * net/eww.el (eww):
1342 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1343 * htmlfontify.el (htmlfontify):
1344 * ses.el (ses):
1345 * epa.el (epa):
1346 * ido.el (ido): Link to info manual.
1347
1348 2014-01-25 Leo Liu <sdl.web@gmail.com>
1349
1350 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1351
1352 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1353
1354 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1355 (bug#16537).
1356
1357 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1358
1359 * net/eww.el (eww-download-callback):
1360 Fix reference to eww-download-directory.
1361
1362 * emacs-lisp/bytecomp.el (byte-compile-file):
1363 Remove unused local variable `file-name'.
1364
1365 2014-01-24 Glenn Morris <rgm@gnu.org>
1366
1367 * woman.el (woman-default-faces, woman-monochrome-faces):
1368 Fix obsolescence specification.
1369
1370 * subr.el (with-demoted-errors): Doc fix.
1371
1372 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1375 (cl--macroexp-fboundp): New function.
1376 (cl--make-type-test): Use it.
1377
1378 2014-01-23 Glenn Morris <rgm@gnu.org>
1379
1380 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1381 * simple.el (eval-expression): Doc fixes.
1382
1383 2014-01-22 Glenn Morris <rgm@gnu.org>
1384
1385 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1386
1387 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1388
1389 * emacs-lisp/package.el: Write files silently.
1390 (package-autoload-ensure-default-file, package--write-file-no-coding)
1391 (package-generate-description-file, package--download-one-archive)
1392 (package-install-from-archive): Tell `write-region' to stay quiet.
1393 (package-menu-mode, package-menu--print-info): Omit the Archive column
1394 if there's only one archive.
1395 (package-all-keywords, package--has-keyword-p): Remove dead code.
1396
1397 2014-01-22 Glenn Morris <rgm@gnu.org>
1398
1399 * version.el (emacs-bzr-version-bzr): Fix typo.
1400
1401 * version.el (emacs-repository-get-version):
1402 Check either .bzr or .git, but not both.
1403 Make the git case actually use the DIR argument, and return nil
1404 rather than the empty string.
1405 Avoid error if .git exists but the git executable is not found.
1406
1407 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1408
1409 Fixes in window size functions around Bug#16430 and Bug#16470.
1410 * window.el (window-total-size, window-size): New argument ROUND.
1411 (window--min-delta-1, window-min-delta, window--max-delta-1):
1412 Be more conservative when calculating the numbers of lines or
1413 columns a window can shrink (Bug#16430).
1414 (fit-window-to-buffer): Simplify code.
1415 * term.el (term-window-width): Call window-body-width again.
1416
1417 2014-01-22 Glenn Morris <rgm@gnu.org>
1418
1419 * image.el (image-format-suffixes): Doc fix.
1420
1421 * international/quail.el (quail-define-package): Doc fix.
1422
1423 * emacs-lisp/authors.el (authors-valid-file-names)
1424 (authors-renamed-files-alist): Additions.
1425
1426 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1427 reverts 2014-01-09 change. (Bug#16422)
1428
1429 * calc/calc-embed.el (thing-at-point-looking-at):
1430 * emacs-lisp/map-ynp.el (x-popup-dialog):
1431 * obsolete/lmenu.el (x-popup-dialog):
1432 * emacs-lisp/package.el (url-recreate-url):
1433 * mail/mailclient.el (clipboard-kill-ring-save):
1434 * subr.el (x-popup-dialog): Update declaration.
1435 * mail/rmail.el (rmail-mime-message-p):
1436 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1437
1438 2014-01-21 Daniel Colascione <dancol@dancol.org>
1439
1440 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1441 Correctly detect when we're inside an arithmetic expansion form
1442 containing nested parenthesis.
1443 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1444 to detect cases where we shouldn't expand "<<" to a heredoc
1445 skeleton.
1446
1447 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1450 (eldoc--message-command-p): New function.
1451 (eldoc-display-message-p): Use it.
1452 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1453 message is not automatically erased for us.
1454 (eldoc-print-current-symbol-info): Erase previous message, if any.
1455
1456 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1457
1458 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1459 specify it's an interactive function.
1460
1461 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1462 Fix regex used for scanning for citation keys which failed for
1463 citations with optional arguments.
1464
1465 2014-01-21 Leo Liu <sdl.web@gmail.com>
1466
1467 * simple.el (read--expression): Don't enable eldoc-mode.
1468
1469 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * simple.el (move-beginning-of-line): Make sure we don't move forward
1472 (bug#16497).
1473
1474 2014-01-20 Juri Linkov <juri@jurta.org>
1475
1476 * saveplace.el (toggle-save-place, save-place-to-alist)
1477 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1478 'dired-mode) before checking for dired-directory. (Bug#16477)
1479
1480 2014-01-20 Juri Linkov <juri@jurta.org>
1481
1482 * indent.el (indent-line-to): Use backward-to-indentation
1483 instead of back-to-indentation. (Bug#16461)
1484
1485 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1486
1487 Revert some of the CANNOT_DUMP fix (Bug#16494).
1488 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1489 but fixing this can wait until after the next release.
1490 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1491
1492 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1493
1494 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1495 Use `password-word-equivalents'.
1496 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1497 to t. (Bug#5664, Bug#13124)
1498
1499 2014-01-19 Alan Mackenzie <acm@muc.de>
1500
1501 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1502 points.
1503 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1504 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1505 * progmodes/cc-mode.el (c-before-change, c-after-change)
1506 (c-font-lock-fontify-region): Bind it here.
1507
1508 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1509
1510 * term.el (term-window-width): Call window-text-width instead of
1511 window-width (Bug#16470).
1512
1513 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1514
1515 * simple.el (password-word-equivalents): Remove duplicates.
1516 Sort, to make this easier next time.
1517 Downcase. Omit ": " after "jelszó".
1518
1519 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1520
1521 * term/common-win.el (saved-region-selection): Defvar it.
1522 (x-select-text): Set saved-region-selection (Bug#16382).
1523
1524 2014-01-18 Glenn Morris <rgm@gnu.org>
1525
1526 * emacs-lisp/authors.el (authors-aliases)
1527 (authors-renamed-files-alist): Add some entries.
1528
1529 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1530
1531 * net/tramp.el (tramp-password-prompt-regexp):
1532 Use `password-word-equivalents' if available.
1533 (tramp-action-password, tramp-process-one-action)
1534 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1535
1536 2014-01-17 Chong Yidong <cyd@gnu.org>
1537
1538 * simple.el (password-word-equivalents): New defcustom.
1539 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1540 to 24.4.
1541 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1542 to t. (Bug#13124)
1543
1544 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1545
1546 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1547 (ruby-align-to-stmt-keywords): Change the default value.
1548 Use `ruby-alignable-keywords' to generate the possible customization
1549 choices.
1550 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1551 keywords, check against the value of `ruby-alignable-keywords'
1552 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1553
1554 2014-01-17 Glenn Morris <rgm@gnu.org>
1555
1556 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1557
1558 Make M-x authors return zero *Authors Errors* from current logs.
1559 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1560 (authors-ignored-files): Add some entries, remove others.
1561 (authors-ambiguous-files, authors-valid-file-names):
1562 Add some entries.
1563 (authors-renamed-files-alist): Add, remove, and adjust entries.
1564 (authors-renamed-files-regexps): Add some entries.
1565 Remove some very broad ones. Make some entries `lax'.
1566 (authors-lax-changelogs): New constant.
1567 (authors-disambiguate-file-name): Treat top-level specially.
1568 (authors-lax-changelog-p): New function.
1569 (authors-canonical-file-name): Check file as written against
1570 authors-valid-file-names. Do not special-case etc/.
1571 Handle `lax' logs and authors-renamed-files-regexps elements.
1572
1573 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1574
1575 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1576 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1577 callers.
1578
1579 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1582 Assume we're already in the proper buffer.
1583 Inspired by Anders Lindgren <andlind@gmail.com>.
1584 (follow-post-command-hook): Call it from the right buffer.
1585 (follow-comint-scroll-to-bottom): Adjust call.
1586 (follow-all-followers): Use get-buffer-window-list.
1587
1588 2014-01-15 Daniel Colascione <dancol@dancol.org>
1589
1590 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1591 `buffer-file-name' in interactive-form so that we don't leave
1592 pathless file names in `file-name-history'.
1593
1594 2014-01-15 Juri Linkov <juri@jurta.org>
1595
1596 * indent.el (indent-rigidly): Set deactivate-mark to nil
1597 in transient indentation mode. (Bug#16438)
1598
1599 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1600
1601 * emacs-lisp/package.el (package-desc-keywords): New function
1602 (Bug#16222).
1603 (describe-package-1, package-all-keywords)
1604 (package--has-keyword-p): Use it.
1605
1606 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1607
1608 * simple.el (define-alternatives): When creating the
1609 COMMAND-alternatives variable, assign COMMAND as its definition
1610 name so that `describe-variable' can relocate it.
1611
1612 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1613
1614 * font-lock.el (font-lock-keywords): Fix typo in docstring
1615 (bug#16307).
1616
1617 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1618
1619 * ispell.el (ispell-region): Reset `in-comment' for new line
1620 instead of wrongly reset `add-coment' (bug#13577).
1621
1622 2014-01-14 Daiki Ueno <ueno@gnu.org>
1623
1624 * epa-file.el (epa-file-write-region): Encode the region according
1625 to `buffer-file-format'. Problem reported at:
1626 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1627
1628 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1629
1630 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1631 so it applies in the right buffer (bug#16410).
1632
1633 2014-01-13 Daniel Colascione <dancol@dancol.org>
1634
1635 * textmodes/rst.el (rst-define-key): Provide deprecated
1636 keybindings through named functions instead of anonymous ones so
1637 that "??" doesn't appear in describe-mode output.
1638
1639 2014-01-13 Bastien Guerry <bzg@gnu.org>
1640
1641 * simple.el (define-alternatives): Call the selected command
1642 interactively. When setting `COMMAND--implementation' for the
1643 first time, tell the user how to chose another implementation.
1644 Enhance the docstring.
1645
1646 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1649 (log-edit--match-first-line): New function.
1650 (log-edit-font-lock-keywords): Use it.
1651 (log-edit-mode): Make jit-lock-defer-multiline work.
1652
1653 2014-01-13 Bastien Guerry <bzg@gnu.org>
1654
1655 * rect.el (rectangle-mark-mode): When the region is not active,
1656 display a message saying that the mark as been set and that
1657 rectangle mode is in use.
1658 (rectangle--highlight-for-redisplay): Only put an overlay with a
1659 visible vertical bar when (display-graphic-p) is non-nil.
1660 This partially fixes Bug#16403.
1661
1662 2014-01-13 Juri Linkov <juri@jurta.org>
1663
1664 * info.el (Info-find-file): Go to DIR before displaying the error
1665 about a nonexistent file if no previous Info file is visited.
1666 Use `user-error' instead of `error' for "Info file %s does not exist".
1667 (Info-find-node-2): In case of a nonexistent node in unwind forms
1668 go to the Top node if there is no previous node to revert to.
1669 (Bug#16405)
1670
1671 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1672
1673 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1674 * window.el (fit-frame-to-buffer): Fix doc-string.
1675 Respect window-min-height/-width. Fit pixelwise when
1676 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1677 when avoiding that frame goes partially off-screen.
1678 (fit-window-to-buffer): Respect window-min-height/-width
1679 (Bug#14096).
1680
1681 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1682
1683 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1684 after an empty line.
1685
1686 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * net/shr.el (shr-render-region): Autoload.
1689
1690 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1691
1692 * net/eww.el (eww-download-directory): Rename from
1693 `eww-download-path' (Bug#16419).
1694
1695 2014-01-12 Leo Liu <sdl.web@gmail.com>
1696
1697 * dired-x.el (dired-mode-map): Fix last change.
1698
1699 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1700
1701 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1702
1703 Spelling fixes.
1704 * emacs-lisp/generic.el (generic--normalize-comments):
1705 Rename from generic--normalise-comments. All uses changed.
1706 * play/bubbles.el (bubbles--neighborhood-score)
1707 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1708 (bubbles--neighborhood-available)
1709 (bubbles--update-neighborhood-score):
1710 Rename from names with 'neighbourhood'. All uses changed.
1711
1712 2014-01-12 Leo Liu <sdl.web@gmail.com>
1713
1714 Re-implement the feature of showing eldoc info after editing.
1715 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1716 (eldoc-edit-message-commands): New function.
1717 (eldoc-print-after-edit): New variable.
1718 (eldoc-pre-command-refresh-echo-area): Emit message only by
1719 eldoc-message-commands.
1720 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1721 if eldoc-print-after-edit is set. (Bug#16346)
1722 * simple.el (read--expression): Enable eldoc-mode.
1723 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1724
1725 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1726 Eric S. Raymond <esr@thyrsus.com>
1727
1728 * version.el (emacs-repository-get-version): Enhance so the
1729 function works correctly in either a Bazaar or Git repo.
1730
1731 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1732
1733 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1734 Goes with removal of the joke manpages from /etc.
1735
1736 2014-01-10 Kenichi Handa <handa@gnu.org>
1737
1738 * mail/rmail.el (rmail-get-coding-system):
1739 Check rmail-get-coding-function before "funcall"ing it.
1740
1741 2014-01-10 Glenn Morris <rgm@gnu.org>
1742
1743 * emacs-lisp/authors.el (authors-fixed-entries):
1744 Update for files that no longer exist.
1745
1746 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1747
1748 * version.el (emacs-bzr-get-version): Restore compatibilty with
1749 24.3 (Tested).
1750
1751 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1752
1753 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1754 and Podfile.
1755
1756 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1757
1758 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1759
1760 2014-01-10 Chong Yidong <cyd@gnu.org>
1761
1762 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1763
1764 2014-01-10 Anders Lindgren <andlind@gmail.com>
1765
1766 * follow.el (follow-cache-command-list): Include right-char and
1767 left-char.
1768
1769 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1770
1771 Spelling fixes.
1772 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1773 * woman.el (woman-mark-horizontal-position):
1774 Rename from woman-mark-horizonal-position. Use changed.
1775
1776 2014-01-10 Glenn Morris <rgm@gnu.org>
1777
1778 * info.el (info-initialize): If running uninstalled, ensure our
1779 own info files are always found first, even if INFOPATH is set.
1780
1781 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1782
1783 2014-01-09 David Engster <deng@randomsample.de>
1784
1785 * emacs-lisp/eieio-custom.el:
1786 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1787 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1788 * emacs-lisp/eieio.el: Regenerate autoloads.
1789
1790 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1791
1792 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1793 following renames. (Bug#8756)
1794
1795 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1796
1797 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1798 (bug#16382).
1799 (activate-mark): Add `no-tmm' argument.
1800 (set-mark, push-mark-command): Use it instead of running
1801 activate-mark-hook by hand.
1802
1803 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1804
1805 In preparation for the move to git, sanitize out some
1806 Bazaar-specific names.
1807
1808 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1809
1810 * version.el (emacs-bzr-version): Name changed to
1811 emacs-repository-version. Obsolete-variable alias made.
1812 * loadup.el: Follow through on this name change.
1813 * mail/emacsbug.el (report-emacs-bug): Factor out any
1814 assumption about the version control system in use.
1815
1816 2014-01-08 David Engster <deng@randomsample.de>
1817
1818 * help-fns.el (help-fns-describe-function-functions):
1819 New variable to call functions for augmenting help buffers.
1820 (describe-function-1): Remove explicit calls to
1821 `help-fns--compiler-macro', `help-fns--parent-mode' and
1822 `help-fns--obsolete'. Put them in above new variable instead, and
1823 call them through `run-hook-with-args'.
1824 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1825 `eieio-describe-class'. Not meant for interactive use anymore,
1826 but to augment existing help buffers. Remove optional second
1827 argument. Create proper button for file location.
1828 Rewrite function to use `insert' instead of `princ' and `prin1' where
1829 possible.
1830 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1831 (eieio-method-def, eieio-class-def): Move further up.
1832 (describe-method, describe-generic, eieio-describe-method):
1833 Remove aliases.
1834 (eieio-help-constructor, eieio-help-generic): Rename from
1835 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1836 Rewrite to use `insert' in the current buffer and use proper help
1837 buttons.
1838 (eieio-help-find-method-definition)
1839 (eieio-help-find-class-definition): Also accept symbols as
1840 arguments.
1841 (eieio-help-mode-augmentation-maybee): Remove.
1842 (eieio-describe-class-sb): Use `describe-function'.
1843 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1844 Add `eieio-help-generic' and `eieio-help-constructor'.
1845
1846 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1847
1848 Spelling fixes.
1849 * language/china-util.el (hz-ascii-designation):
1850 Rename from hz-ascii-designnation.
1851 (hz-ascii-designation): Rename from hz-ascii-designnation.
1852 All uses changed.
1853
1854 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1857 package-alist.
1858
1859 2014-01-08 Bastien Guerry <bzg@gnu.org>
1860
1861 * emacs-lisp/package.el (package-delete):
1862 Correctly delete the package from package-alist.
1863
1864 2014-01-08 Daiki Ueno <ueno@gnu.org>
1865
1866 * emacs-lisp/package.el (url-recreate-url): Declare.
1867 (url-http-target-url): Declare.
1868 (package-handle-response): Include requested URL in the error message.
1869 (package--check-signature): Don't re-signal errors from
1870 package--with-work-buffer. Suggested by Stefan Monnier.
1871
1872 2014-01-07 Bastien Guerry <bzg@gnu.org>
1873
1874 * minibuffer.el (completion--try-word-completion): When both a
1875 hyphen and a space are possible candidates for the character
1876 following a word, display both candidates. (Bug#15980)
1877
1878 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1879
1880 * window.el (balance-windows-2): While rounding don't give a
1881 window more than the remainder. Bug#16351, bug#16383.
1882
1883 2014-01-07 Glenn Morris <rgm@gnu.org>
1884
1885 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1886 (menu-bar-help-menu): Use view-external-packages instead.
1887
1888 2014-01-07 Bastien Guerry <bzg@gnu.org>
1889
1890 * emacs-lisp/package.el (package-delete): Also delete the package
1891 name from `package-alist', not its description only.
1892
1893 2014-01-07 Glenn Morris <rgm@gnu.org>
1894
1895 * help.el (view-external-packages):
1896 * menu-bar.el (menu-bar-help-extra-packages):
1897 Visit efaq.info rather than etc/MORE.STUFF.
1898
1899 2014-01-07 Juri Linkov <juri@jurta.org>
1900
1901 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1902 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1903
1904 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1905 that shadows RET. (Bug#16342)
1906
1907 2014-01-07 Chong Yidong <cyd@gnu.org>
1908
1909 * isearch.el (isearch-yank-char, isearch-yank-word)
1910 (isearch-yank-line): Doc fix.
1911
1912 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1915 * emacs-lisp/elint.el (elint-find-builtins):
1916 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1917 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1918 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1919 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1920 * apropos.el (apropos-safe-documentation):
1921 * subr.el (symbol-file): Remove redundant fboundp.
1922 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1923
1924 2014-01-06 Bastien Guerry <bzg@gnu.org>
1925
1926 * hl-line.el (global-hl-line-overlay): Make a local variable.
1927 (global-hl-line-overlays): New variable to store all overlays.
1928 (global-hl-line-mode): Don't delete overlays from the current
1929 buffer when `global-hl-line-sticky-flag' is non-nil.
1930 (global-hl-line-highlight): Add new overlays to
1931 `global-hl-line-overlays'.
1932 (global-hl-line-unhighlight-all): New function to delete all
1933 overlays when turning off `global-hl-line-mode'.
1934 This fixes Bug#16183.
1935
1936 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * subr.el (set-transient-map): Fix nested case and docstring.
1939
1940 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1941
1942 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1943 `Texinfo' entry.
1944
1945 2014-01-06 Daniel Colascione <dancol@dancol.org>
1946
1947 Fix defun navigation in vc log view.
1948
1949 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1950 like `beginning-of-defun'.
1951 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1952 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1953 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1954 (log-view-extract-comment): Call `log-view-current-entry' directly
1955 instead of relying on broken `log-view-beginning-of-defun' behavior.
1956
1957 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1958
1959 Spelling fixes.
1960 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1961 * emacs-lisp/debug.el (cancel-debug-on-entry):
1962 * epg.el (epg-error-to-string):
1963 * files.el (recover-file):
1964 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1965 * mail/emacsbug.el (report-emacs-bug-hook):
1966 * mail/sendmail.el (mail-recover):
1967 * ses.el (ses-yank-resize):
1968 * term/ns-win.el (ns-print-buffer):
1969 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1970 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1971 All uses changed.
1972 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1973
1974 2014-01-06 Leo Liu <sdl.web@gmail.com>
1975
1976 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1977 to avoid shadowing global key. (Bug#16354)
1978
1979 2014-01-06 Daniel Colascione <dancol@dancol.org>
1980
1981 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1982 rst-mode.
1983
1984 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1985
1986 * window.el (balance-windows): Add mising t to fix Bug#16351.
1987
1988 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1989
1990 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1991 (bug#16285).
1992 (shr-insert): If we have a word that's longer than `shr-width',
1993 break after it anyway. Otherwise we'll do no breaking once we get
1994 such a long word.
1995
1996 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1997
1998 * net/eww.el (eww): Support single/double quote for search.
1999 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2000 (eww-history-quit): Delete and use quit-window.
2001 (eww-history-kill): Delete, because it doesn't work well and
2002 not necessary.
2003 (eww-history-mode-map): Delete some keys and add easy-menu.
2004
2005 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2006
2007 Fix misspelling of 'chinese' in rx (Bug#16237).
2008 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2009 chinese-two-byte.
2010
2011 Change subword regexps back to vars (Bug#16296).
2012 * progmodes/subword.el (subword-forward-regexp)
2013 (subword-backward-regexp): Change these back to variables.
2014
2015 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2018 syntax-begin-function (bug#16247).
2019
2020 2014-01-03 Chong Yidong <cyd@gnu.org>
2021
2022 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2023 (advice--docstring): Delete variable.
2024 (advice--make-1): Leave the docstring empty.
2025 (advice-add): Use function-documentation for advised docstring.
2026
2027 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2028 Ignore function-documentation property when getting documentation.
2029 (ad-activate-advised-definition): Use function-documentation
2030 generate the docstring.
2031 (ad-make-advised-definition): Don't call
2032 ad-make-advised-definition-docstring.
2033 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2034 Delete functions.
2035
2036 * progmodes/sql.el (sql-help): Use function-documentation instead
2037 of dynamic-docstring-function property. No need to autoload now.
2038 (sql--help-docstring): New variable.
2039 (sql--make-help-docstring): Use it.
2040
2041 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * ielm.el (ielm-tab): Retarget.
2044 (ielm-map): Use ielm-tab for tab.
2045 (ielm-complete-filename): Use comint-filename-completion.
2046 (ielm-complete-symbol): Remove.
2047 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2048 remove ielm-tab from completion-at-point-functions (bug#16224).
2049
2050 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2051 Beware signals raised by predicates (bug#16201).
2052
2053 2014-01-02 Richard Stallman <rms@gnu.org>
2054
2055 * dired-aux.el (dired-do-print): Handle printer-name.
2056
2057 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2058 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2059 (rmail-epa-decrypt): Turn off mime processing.
2060
2061 * mail/rmail.el (rmail-make-in-reply-to-field):
2062 Add parens in message-id.
2063
2064 * mail/rmail.el (rmail-get-coding-function): Variable.
2065 (rmail-get-coding-system): Use it.
2066
2067 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2068
2069 * international/mule-conf.el: Unify the charset indian-is13194.
2070 (indian-is13194): Specify unify-map.
2071
2072 2013-12-31 Leo Liu <sdl.web@gmail.com>
2073
2074 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2075
2076 2013-12-30 Daniel Colascione <dancol@dancol.org>
2077
2078 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2079 of printing a useless when we resume from sleep.
2080
2081 * progmodes/sh-script.el
2082 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2083 in indentation code. (Bug#16233)
2084
2085 2013-12-28 João Távora <joaotavora@gmail.com>
2086
2087 * elec-pair.el (electric-pair-post-self-insert-function):
2088 Don't open extra newlines at beginning of buffer. (Bug#16272)
2089
2090 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2091
2092 * frame.el (window-system-for-display): Don't allow to create a
2093 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2094
2095 2013-12-28 Glenn Morris <rgm@gnu.org>
2096
2097 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2098 Update callers.
2099
2100 * apropos.el (apropos-match-face):
2101 * calculator.el (calculator-displayer):
2102 * dabbrev.el (dabbrev-search-these-buffers-only):
2103 * face-remap.el (buffer-face-mode-face):
2104 * simple.el (yank-handled-properties):
2105 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2106 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2107 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2108 (hashcash-double-spend-database):
2109 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2110 (ruby-deep-indent-paren-style):
2111 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2112 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2113 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2114 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2115 Specify custom types.
2116
2117 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2118 * bookmark.el (bookmark-bmenu-use-header-line):
2119 * doc-view.el (doc-view-scale-internally):
2120 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2121 * register.el (register-preview-delay):
2122 * net/shr.el (shr-bullet):
2123 * progmodes/cfengine.el (cfengine-cf-promises)
2124 (cfengine-parameters-indent):
2125 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2126 * textmodes/reftex-vars.el (reftex-label-regexps):
2127 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2128
2129 * net/tls.el (tls-certtool-program): Fix default value.
2130
2131 * desktop.el (desktop-restore-in-current-display):
2132 * newcomment.el (comment-empty-lines):
2133 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2134 (idlwave-pad-keyword):
2135 * progmodes/tcl.el (tcl-tab-always-indent):
2136 * textmodes/reftex-vars.el (reftex-index-default-tag):
2137 * elec-pair.el (electric-pair-skip-whitespace):
2138 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2139
2140 * emacs-lisp/authors.el (authors-ignored-files)
2141 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2142
2143 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2144
2145 * shell.el (shell-dynamic-complete-command): Doc fix.
2146 (shell--command-completion-data): Shell completion now matches
2147 executable filenames from the current buffer's directory, on
2148 systems in which this behavior is the default (windows-nt, ms-dos).
2149
2150 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2151
2152 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2153
2154 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2155
2156 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2157 (bug#16251).
2158
2159 * electric.el: Move all electric-pair-* to elec-pair.el.
2160 * elec-pair.el: New file, split from electric.el.
2161
2162 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2163
2164 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2165 indentation level is larger than the width, because that will
2166 infloop.
2167 (shr-insert): Fill repeatedly long texts, so that Japanese is
2168 formatted correctly (bug#16263).
2169 (shr-find-fill-point): Off by one error in comparison with the
2170 indentation.
2171
2172 2013-12-26 João Távora <joaotavora@gmail.com>
2173
2174 * electric.el (electric-pair-mode): More flexible engine for skip-
2175 and inhibit predicates, new options for pairing-related functionality.
2176 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2177 if that keeps or improves their balance in buffers.
2178 (electric-pair-delete-adjacent-pairs): Delete the pair when
2179 backspacing over adjacent matched delimiters.
2180 (electric-pair-open-extra-newline): Open extra newline when
2181 inserting newlines between adjacent matched delimiters.
2182 (electric--sort-post-self-insertion-hook):
2183 Sort post-self-insert-hook according to priority values when
2184 minor-modes are activated.
2185 * simple.el (newline-and-indent): Call newline with interactive
2186 set to t.
2187 (blink-paren-post-self-insert-function): Set priority to 100.
2188 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2189 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2190 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2191 electric-pair-open-newline-between-pairs to nil.
2192
2193 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2194
2195 * progmodes/python.el: Use lexical-binding.
2196 (python-nav-beginning-of-defun): Stop searching ASAP.
2197
2198 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2199
2200 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2201 Fix interactive spec. Doc fix. (Bug#15754)
2202
2203 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2204
2205 * emacs-lisp/byte-run.el (eval-when-compile):
2206 * progmodes/cc-defs.el (cc-eval-when-compile):
2207 Fix edebug spec (bug#16184).
2208
2209 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2210
2211 * net/shr.el (shr-visit-file): Remove debugging function.
2212 (shr-insert): Don't infloop if we can't find a good place to break
2213 the line (bug#16256).
2214
2215 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2216
2217 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2218 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2219 python-nav-lisp-forward-sexp-safe.
2220 (python-nav--forward-sexp): New argument SAFE allows switching
2221 forward sexp movement behavior for parens.
2222 (python-nav-forward-sexp): Throw errors on unterminated parens
2223 (Bug#16191).
2224 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2225 (python-nav-backward-sexp-safe): New functions.
2226 (python-shell-buffer-substring):
2227 Use `python-nav-forward-sexp-safe'.
2228
2229 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2230
2231 * net/shr.el (shr-find-fill-point): Don't break lines before a
2232 quotation mark.
2233 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2234 (shr-find-fill-point): Remove the special checks for the quotation
2235 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2236
2237 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2238
2239 * net/eww.el (eww-form-textarea): Use a different face for
2240 textareas than text input since they have different keymaps
2241 (bug#16142).
2242
2243 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2244
2245 * progmodes/python.el (python-nav-beginning-of-statement):
2246 Speed up (Bug#15295).
2247
2248 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2249
2250 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2251 the window configuration.
2252
2253 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2254
2255 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2256 we run on MS-Windows or MS-DOS.
2257
2258 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2259
2260 * window.el (balance-windows-area): Call window-size instead of
2261 window-height and window-width. Bug#16241.
2262
2263 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2264
2265 * net/eww.el (eww-bookmark-quit): Remove.
2266 (eww-bookmark-browse): Restore the window configuration when you
2267 choose a bookmark (bug#16144).
2268
2269 2013-12-24 Daniel Colascione <dancol@dancol.org>
2270
2271 * icomplete.el: Remove redundant :group arguments to `defcustom'
2272 throughout.
2273 (icomplete-show-matches-on-no-input): New customizable variable.
2274 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2275 we have something to show.
2276 (icomplete-exhibit): Compute completions even if we have no user input.
2277
2278 2013-12-23 Daniel Colascione <dancol@dancol.org>
2279
2280 * icomplete.el: Move `provide' to end of file.
2281
2282 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2283
2284 * net/gnutls.el (gnutls-verify-error): Add version tag.
2285
2286 2013-12-23 Chong Yidong <cyd@gnu.org>
2287
2288 * subr.el (set-transient-map): Rename from
2289 set-temporary-overlay-map. Doc fix.
2290
2291 * face-remap.el (text-scale-adjust):
2292 * indent.el (indent-rigidly):
2293 * kmacro.el (kmacro-call-macro):
2294 * minibuffer.el (minibuffer-force-complete):
2295 * repeat.el (repeat):
2296 * simple.el (universal-argument--mode):
2297 * calendar/todo-mode.el (todo-insert-item--next-param):
2298 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2299
2300 * indent.el (indent-rigidly): Use substitute-command-keys.
2301
2302 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2303
2304 * net/eww.el (eww-tag-select): Add text-property to jump to next
2305 select field.
2306 (eww): Add non-supported ftp error.
2307
2308 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2309
2310 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2311 comments. Handle electric indent after typing `?' and `!'.
2312
2313 2013-12-22 Chong Yidong <cyd@gnu.org>
2314
2315 * faces.el (face-spec-recalc): If the theme specs are not
2316 applicable to a frame, fall back on the defface spec.
2317 This prevents themes from obliterating faces on low-color terminals.
2318
2319 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2320
2321 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2322 after `{'. We need it after block openers, and it doesn't seem
2323 to hurt after hash openers.
2324
2325 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2326
2327 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2328 extracted from `ruby-smie-rules'.
2329 (ruby--electric-indent-chars): New variable.
2330 (ruby--electric-indent-p): New function.
2331 (ruby-mode): Use `electric-indent-functions' instead of
2332 `electric-indent-chars'.
2333
2334 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2335
2336 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2337 docstring.
2338 (ruby-smie-rules): Indent plus one level after `=>'.
2339
2340 2013-12-21 Richard Stallman <rms@gnu.org>
2341
2342 * simple.el (newline): Doc fix.
2343
2344 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2345
2346 * net/eww.el (eww-list-histories, eww-list-histories)
2347 (eww-history-browse, eww-history-quit, eww-history-kill)
2348 (eww-history-mode-map, eww-history-mode): New command and
2349 functions to list browser histories.
2350 (eww-form-text): Support text form with disabled
2351 and readonly attributes.
2352 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2353
2354 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2355
2356 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2357 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2358 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2359 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2360 Use `user-error'.
2361 (eww-bookmark-mode-map): Add menu.
2362 (eww-render, eww-mode): Use `setq-local'.
2363 (eww-tool-bar-map): New variable.
2364 (eww-mode): Set `tool-bar-map'.
2365 (eww-view-source): Check for `html-mode' with `fboundp'.
2366
2367 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2368
2369 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2370 elements with text inside. Also remove debugging.
2371
2372 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2373
2374 * cus-start.el (all): Add ns-use-srgb-colorspace.
2375
2376 2013-12-21 Chong Yidong <cyd@gnu.org>
2377
2378 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2379 undefined. Thus, theme settings for undefined faces do not take
2380 effect until the faces are defined with defface, the same as with
2381 theme variables.
2382
2383 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2384 (face-spec-reset-face): Don't assign extra properties in temacs.
2385 (face-spec-recalc): Apply X resources too.
2386
2387 2013-12-21 Chong Yidong <cyd@gnu.org>
2388
2389 * faces.el (face-spec-set):
2390 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2391 * custom.el (defface): Doc fixes (Bug#16203).
2392
2393 * indent.el (indent-rigidly-map): Add docstring, and move commands
2394 into named functions.
2395 (indent-rigidly-left, indent-rigidly-right)
2396 (indent-rigidly-left-to-tab-stop)
2397 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2398 indentation direction based on bidi direction, and accumulate
2399 sequential commands in a single undo boundary.
2400 (indent-rigidly--pop-undo): New utility function.
2401
2402 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2403
2404 * faces.el (read-face-name): Require crm.el when using crm-separator.
2405
2406 2013-12-20 Daniel Colascione <dancol@dancol.org>
2407
2408 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2409 so that we don't reflow comments into the shebang line.
2410
2411 2013-12-20 Juri Linkov <juri@jurta.org>
2412
2413 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2414 a position when `dired-directory' is non-nil. Check integer
2415 positions with `integerp'.
2416 (toggle-save-place, save-places-to-alist): Add check for
2417 `dired-directory'.
2418 (save-place-find-file-hook): Check integer positions with
2419 `integerp'.
2420 (save-place-dired-hook): Use `dired-goto-file' when
2421 `dired-filename' is found in the assoc list. Check integer
2422 positions with `integerp'.
2423 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2424
2425 * dired.el (dired-initial-position-hook): Rename back from
2426 `dired-initial-point-hook'.
2427 (dired-initial-position): Rename `dired-initial-point-hook' to
2428 `dired-initial-position-hook'.
2429 (dired-file-name-at-point): Doc fix. (Bug#15329)
2430
2431 2013-12-20 Juri Linkov <juri@jurta.org>
2432
2433 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2434 (read-regexp-suggestions): New function.
2435 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2436 Use `read-regexp-suggestions'. Add non-empty default to history
2437 for empty input.
2438 (occur-read-regexp-defaults-function): Remove function.
2439 (occur-read-primary-args): Use `regexp-history-last' instead of
2440 `occur-read-regexp-defaults-function'.
2441
2442 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2443 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2444 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2445 `hi-lock-read-regexp-defaults-function'. Doc fix.
2446 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2447 with `find-tag-default-as-symbol-regexp'. Doc fix.
2448 (hi-lock-read-regexp-defaults): Remove function.
2449 (hi-lock-regexp-okay): Add check for null.
2450
2451 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2452 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2453
2454 * subr.el (find-tag-default-as-symbol-regexp): New function.
2455 (find-tag-default-as-regexp): Move symbol regexp formatting to
2456 `find-tag-default-as-symbol-regexp'.
2457
2458 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2459
2460 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2461 (Bug#14179)
2462
2463 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2464
2465 * calendar/todo-mode.el: New implementation of item insertion
2466 commands and key bindings.
2467 (todo-key-prompt): New face.
2468 (todo-insert-item): New command.
2469 (todo-insert-item--parameters): New defconst, replacing defvar
2470 todo-insertion-commands-args-genlist.
2471 (todo-insert-item--param-key-alist): New defconst, replacing
2472 defvar todo-insertion-commands-arg-key-list.
2473 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2474 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2475 (todo-insert-item--next-param): New functions.
2476 (todo-insert-item--args, todo-insert-item--argleft)
2477 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2478 New variables.
2479 (todo-key-bindings-t): Change binding of "i" from
2480 todo-insertion-map to todo-insert-item.
2481 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2482 (todo-insertion-command-name, todo-insertion-commands-names)
2483 (todo-define-insertion-command, todo-insertion-commands)
2484 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2485
2486 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2487
2488 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2489 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2490 eval-when-compile.
2491 (todo-move-category): Allow choosing a non-existing todo file to
2492 move the category to, and create that file.
2493 (todo-default-priority): New user option.
2494 (todo-set-item-priority): Use it.
2495 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2496 (desktop-restore-file-buffer): Declare.
2497 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2498 (todo-modes-set-2): Locally set desktop-save-buffer to
2499 todo-desktop-save-buffer.
2500 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2501 (auto-mode-alist): Add autoload cookie.
2502
2503 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2504
2505 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2506 helpers.el was a poor choice of name.
2507 (string-remove-prefix): New function.
2508 (string-remove-suffix): New function.
2509
2510 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2511
2512 Fix assignment for new window total sizes.
2513 * window.el (window--pixel-to-size): Remove function.
2514 (window--pixel-to-total-1, window--pixel-to-total):
2515 Fix calculation of new total sizes.
2516
2517 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2518
2519 * comint.el (comint-output-filter): Fix rear-nonsticky property
2520 placement (Bug#16010).
2521
2522 2013-12-20 Chong Yidong <cyd@gnu.org>
2523
2524 * faces.el (read-color): Minor fix for completion function.
2525
2526 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2527
2528 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2529 New option. (Bug#16182)
2530 (ruby-smie--indent-to-stmt-p): Use it.
2531 (ruby-smie-rules): Revert the logic in the handling of `when'.
2532 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2533 (ruby-deep-arglist, ruby-deep-indent-paren)
2534 (ruby-deep-indent-paren-style): Update docstrings to note that the
2535 vars don't have any effect with SMIE.
2536
2537 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2538
2539 * calc/calc.el (calc-enter, calc-pop): Use the variable
2540 `calc-context-sensitive-enter'.
2541
2542 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2543
2544 * net/shr.el (shr-insert): Protect against infloops in degenerate
2545 tables.
2546
2547 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2548
2549 * progmodes/octave.el (octave): Add link to manual and octave
2550 homepage.
2551 (octave-mode-menu): Link to octave-mode manual.
2552
2553 2013-12-20 Leo Liu <sdl.web@gmail.com>
2554
2555 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2556 insertion using skeleton-end-newline. (Bug#16138)
2557
2558 2013-12-20 Juri Linkov <juri@jurta.org>
2559
2560 * replace.el (occur-engine): Use `add-face-text-property'
2561 to add the face property to matches and titles. (Bug#14645)
2562
2563 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2564 the palette of other hi-lock colors.
2565 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2566
2567 2013-12-19 Juri Linkov <juri@jurta.org>
2568
2569 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2570 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2571 (minibuffer-history-symbol): Move variable declaration closer to
2572 its usage.
2573
2574 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2575 (Bug#14785)
2576
2577 2013-12-19 Juri Linkov <juri@jurta.org>
2578
2579 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2580 New function.
2581 (log-edit-hook): Add it to :options. (Bug#16170)
2582
2583 2013-12-19 Juri Linkov <juri@jurta.org>
2584
2585 * simple.el (eval-expression-print-format): Don't check for
2586 command names and the last command. Always display additional
2587 formats of the integer result in the echo area, and insert them
2588 to the current buffer only with a zero prefix arg.
2589 Display character when char-displayable-p is non-nil.
2590 (eval-expression): With a zero prefix arg, set `print-length' and
2591 `print-level' to nil, and insert the integer values from
2592 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2593
2594 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2595 `eval-last-sexp-arg-internal'. Doc fix.
2596 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2597 `eval-last-sexp-print-value'. Doc fix.
2598 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2599 Set `print-length' and `print-level' to nil when arg is zero.
2600 (eval-last-sexp): Doc fix.
2601 (eval-defun-2): Print the integer values from
2602 `eval-expression-print-format' at the end.
2603
2604 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2605 values from `eval-expression-print-format' at the end.
2606
2607 * ielm.el (ielm-eval-input): Print the integer
2608 values from `eval-expression-print-format' at the end.
2609
2610 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2611
2612 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2613 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2614
2615 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2618 (hl-line-highlight, global-hl-line-highlight): Use it.
2619 (hl-line-overlay): Use defvar-local.
2620
2621 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2622
2623 * term/ns-win.el: Require dnd.
2624 (global-map): Remove drag items.
2625 (ns-insert-text, ns-set-foreground-at-mouse)
2626 (ns-set-background-at-mouse):
2627 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2628 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2629 New functions.
2630
2631 2013-12-19 Glenn Morris <rgm@gnu.org>
2632
2633 * emacs-lisp/ert.el (ert-select-tests):
2634 Fix string/symbol mixup. (Bug#16121)
2635
2636 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2637
2638 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2639 keywords to their parent.
2640
2641 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2642
2643 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2644 first arg to be a string (fixed dead code), or an operator symbol.
2645 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2646 operator symbols.
2647 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2648 did nothing. Don't respond to `(:after ".")', it will be called
2649 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2650 change anything. Only return indentation for binary operators
2651 when they are hanging. De-dent opening paren when its parent is
2652 `.', otherwise it looks bad when the dot is not at bol or eol
2653 (bug#16182).
2654
2655 2013-12-19 Juri Linkov <juri@jurta.org>
2656
2657 * replace.el (query-replace-read-args): Split a non-negative arg
2658 and a negative arg into separate elements.
2659 (query-replace, query-replace-regexp, replace-string)
2660 (replace-regexp): Add arg `backward'. Doc fix.
2661 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2662 move point to the beginning of the match.
2663 (replace-search, replace-highlight): Use new arg `backward'
2664 to set the value of `isearch-forward'.
2665 (perform-replace): Add arg `backward' and use it to perform
2666 replacement backward. (Bug#14979)
2667
2668 * isearch.el (isearch-query-replace): Use a negative prefix arg
2669 to call `perform-replace' with a non-nil arg `backward'.
2670
2671 2013-12-18 Juri Linkov <juri@jurta.org>
2672
2673 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2674 to the default list. Move `log-edit-show-files' to the end.
2675 Add more available functions to options.
2676 (log-edit): Move default specific settings to
2677 `log-edit-insert-message-template'. Don't move point.
2678 (log-edit-insert-message-template): New function.
2679 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2680 (Bug#16170)
2681
2682 2013-12-18 Juri Linkov <juri@jurta.org>
2683
2684 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2685 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2686
2687 2013-12-18 Leo Liu <sdl.web@gmail.com>
2688
2689 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2690 (Bug#16186)
2691
2692 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2693
2694 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2695 formats for displaying file sizes when the -s switch is given.
2696 Instead, compute a separate format for displaying the size in
2697 blocks, which is displayed in addition to the "regular" size.
2698 When -h is given in addition to -s, produce size in blocks in
2699 human-readable form as well. (Bug#16179)
2700
2701 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2702
2703 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2704 Reference tables with ~\ref{...} instead of only \ref{...}.
2705
2706 2013-12-18 Chong Yidong <cyd@gnu.org>
2707
2708 * cus-edit.el (custom-magic-alist): Fix "themed" description
2709 (Bug#14348).
2710
2711 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2712 is non-nil, do not create a new entry in the symbol's theme-value
2713 or theme-face property; update theme-settings only (Bug#14664).
2714 (custom-available-themes): Doc fix.
2715
2716 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2717 (Bug#15674).
2718
2719 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2720
2721 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2722
2723 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2724 (Bug#13914).
2725
2726 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2727
2728 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2729
2730 2013-12-18 Glenn Morris <rgm@gnu.org>
2731
2732 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2733 * cus-start.el (load-prefer-newer): New option.
2734
2735 2013-12-18 Le Wang <l26wang@gmail.com>
2736
2737 * comint.el (comint-previous-matching-input-from-input):
2738 Retain point (Bug#13404).
2739
2740 2013-12-18 Chong Yidong <cyd@gnu.org>
2741
2742 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2743
2744 2013-12-18 Glenn Morris <rgm@gnu.org>
2745
2746 * mail/emacsbug.el (report-emacs-bug):
2747 Only mention enable-multibyte-characters if non-standard.
2748
2749 2013-12-17 Juri Linkov <juri@jurta.org>
2750
2751 * arc-mode.el (archive-extract-by-file): Check if directory exists
2752 before deletion to not show irrelevant errors if it doesn't exist.
2753
2754 2013-12-17 Juri Linkov <juri@jurta.org>
2755
2756 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2757 (Bug#14751)
2758
2759 * net/eww.el (browse-web): Add alias to `eww'.
2760 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2761 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2762
2763 * net/browse-url.el (browse-url-browser-function): Move `eww'
2764 closer to similar functions.
2765
2766 * startup.el (fancy-startup-screen, fancy-about-screen):
2767 Set browse-url-browser-function to eww-browse-url locally.
2768 (Bug#14751)
2769
2770 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * window.el (window--pixel-to-total): Remove unused `mini' var.
2773 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2774 (split-window): Remove unused `new' var.
2775 (window--display-buffer): Remove unused `frame' and `delta' vars.
2776 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2777 and display-width'.
2778
2779 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2780
2781 * dired.el (dired-mark-pop-up):
2782 * register.el (register-preview): Don't bind
2783 split-height-threshold here since it's now done in
2784 display-buffer-below-selected.
2785
2786 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2787
2788 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2789 xterm-rgb-convert-to-16bit.
2790 (rxvt-register-default-colors): Standardize with
2791 xterm-register-default-colors (Bug#14078).
2792
2793 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2794
2795 * simple.el (kill-region): Pass mark first, then point, so that
2796 kill-append works right (Bug#12819).
2797 (copy-region-as-kill, kill-ring-save): Likewise.
2798
2799 2013-12-17 Leo Liu <sdl.web@gmail.com>
2800
2801 * net/rcirc.el (rcirc-add-face):
2802 * eshell/em-prompt.el (eshell-emit-prompt):
2803 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2804 (Bug#16167)
2805
2806 2013-12-17 Chong Yidong <cyd@gnu.org>
2807
2808 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2809 Suggested by Xue Fuqiao.
2810
2811 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2812
2813 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2814
2815 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * net/shr.el (shr-insert-document): Remove unused var
2818 `shr-preliminary-table-render'.
2819 (shr-rescale-image): Remove unused arg `force'.
2820 (shr-put-image): Update calls accordingly.
2821 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2822
2823 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2824
2825 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2826 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2827 :close-all, to see which indentation method to use (Bug#16116).
2828 (smie-rules-function): Document the method :close-all.
2829
2830 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2831
2832 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2833
2834 * net/eww.el (eww-display-html): If we can't find the anchor we're
2835 looking for, then go to point-min.
2836
2837 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2838
2839 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2840 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2841 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2842 Expand dir too, in case it's relative.
2843
2844 2013-12-16 Juri Linkov <juri@jurta.org>
2845
2846 * desktop.el (desktop-auto-save-timeout): Change default to
2847 `auto-save-timeout'. Doc fix.
2848 (desktop-save): Skip the timestamp in desktop-saved-frameset
2849 when checking for auto-save changes.
2850 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2851 `desktop-auto-save' is called repeatedly by the idle timer.
2852 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2853 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2854 (Bug#15331)
2855
2856 2013-12-16 Juri Linkov <juri@jurta.org>
2857
2858 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2859 (Bug#16035)
2860 (isearch-pre-command-hook): Check `this-command' for symbolp.
2861
2862 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2865
2866 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2867
2868 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2869 (cfengine3--current-function): Bring in the current-function
2870 functionality from `cfengine3--current-word'.
2871 (cfengine3-completion-function): Bring in the
2872 bounds-of-current-word functionality from
2873 `cfengine3--current-word'.
2874
2875 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2876
2877 * window.el (display-buffer-below-selected):
2878 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2879
2880 2013-12-16 Leo Liu <sdl.web@gmail.com>
2881
2882 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2883 Remove NOMSG arg and all uses changed.
2884
2885 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2886
2887 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2888 (cua--deactivate-rectangle): Don't deactivate the mark.
2889 (cua-set-rectangle-mark): Don't set mark-active since
2890 cua--activate-rectangle already does it for us.
2891 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2892 non-rectangular region.
2893
2894 * emulation/cua-base.el (cua-repeat-replace-region):
2895 Use with-current-buffer.
2896
2897 * net/gnutls.el: Use cl-lib.
2898 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2899
2900 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2901
2902 * emacs-lisp/package.el (package-built-in-p): Support both
2903 built-in and the package.el converted package descriptions.
2904 (package-show-package-list): Allow keywords.
2905 (package-keyword-button-action): Use it instead of
2906 `finder-list-matches'.
2907 (package-menu-filter-interactive): Interactive filtering (by
2908 keyword) function.
2909 (package-menu--generate): Support keywords and change keymappings
2910 and headers when they are given.
2911 (package--has-keyword-p): Helper function.
2912 (package-menu--refresh): Use it.
2913 (package--mapc): Helper function.
2914 (package-all-keywords): Use it.
2915 (package-menu-mode-map): Set up menu items and keybindings to
2916 provide a filtering UI.
2917
2918 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2919
2920 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2921 the behavior when a certificate fails validation. Defaults to
2922 old behavior: never abort, just warn.
2923 (gnutls-negotiate): Use it.
2924
2925 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2926
2927 * window.el (display-buffer-below-selected): Never split window
2928 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2929
2930 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2931
2932 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2933 (package-buffer-info): Use it (bug#15108).
2934
2935 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * icomplete.el (icomplete-completions): Make sure the prefix is already
2938 displayed elsewhere before hiding it (bug#16219).
2939
2940 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2941
2942 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2943 open-paren tokens when preceded by a open-paren, too.
2944 (ruby-smie-rules): Handle virtual indentation after open-paren
2945 tokens specially. If there is code between it and eol, return the
2946 column where is starts (Bug#16118).
2947
2948 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2949
2950 * progmodes/cfengine.el: Fix `add-hook' doc.
2951 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2952 (cfengine3--current-word): Fix parameters.
2953 (cfengine3-make-syntax-cache): Simplify further.
2954 (cfengine3-completion-function, cfengine3--current-function):
2955 Use `assq' for symbols.
2956 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2957
2958 2013-12-13 Glenn Morris <rgm@gnu.org>
2959
2960 * loadup.el (load-path): Warn if site-load or site-init changes it.
2961 No more need to reset it when bootstrapping.
2962
2963 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2964
2965 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2966 locations for cf-promises.
2967 (cfengine-mode-syntax-functions-regex): New caching variable.
2968 (cfengine3-fallback-syntax): Fallback syntax for cases where
2969 cf-promises doesn't run.
2970 (cfengine3--current-word): Reimplement using
2971 `cfengine-mode-syntax-functions-regex'.
2972 (cfengine3-completion-function, cfengine3--current-function):
2973 Use `cfengine3-make-syntax-cache' directly.
2974 (cfengine3-clear-syntax-cache): New function.
2975 (cfengine3-make-syntax-cache): Simplify and create
2976 `cfengine-mode-syntax-functions-regex' on demand.
2977 (cfengine3-format-function-docstring): Don't call
2978 `cfengine3-make-syntax-cache' explicitly.
2979
2980 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2981
2982 Fix windmove-find-other-window broken after pixelwise resizing
2983 (Bug#16017).
2984 * windmove.el (windmove-other-window-loc): Revert change from
2985 2013-12-04.
2986 (windmove-find-other-window): Call window-in-direction.
2987 * window.el (window-in-direction): New arguments SIGN, WRAP and
2988 MINI to emulate original windmove-find-other-window behavior.
2989
2990 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2991
2992 * simple.el (blink-matching--overlay): New variable.
2993 (blink-matching-open): Instead of moving point, highlight the
2994 matching paren with an overlay
2995 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2996
2997 * faces.el (paren-showing-faces, show-paren-match)
2998 (show-paren-mismatch): Move from paren.el.
2999
3000 2013-12-13 Leo Liu <sdl.web@gmail.com>
3001
3002 * indent.el (indent-region): Disable progress reporter in
3003 minibuffer. (Bug#16108)
3004
3005 * bindings.el (visual-order-cursor-movement): Fix version.
3006
3007 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3008
3009 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3010 Also match after beginning of line.
3011 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3012 files. Thanks to Russell Sim. (Bug#15378)
3013
3014 2013-12-13 Juri Linkov <juri@jurta.org>
3015
3016 * simple.el <Keypad support>: Remove key bindings duplicated
3017 with bindings.el. (Bug#14397)
3018
3019 2013-12-13 Juri Linkov <juri@jurta.org>
3020
3021 * comint.el (comint-mode-map): Replace `delete-char' with
3022 `delete-forward-char'. (Bug#16109)
3023
3024 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3025
3026 * progmodes/python.el (python-indent-calculate-indentation):
3027 Fix de-denters cornercase. (Bug#15731)
3028
3029 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3032 (advice--make): Pay attention to `depth'.
3033 (advice--make-1): Don't autoload commands eagerly.
3034 * emacs-lisp/elp.el (elp-instrument-function):
3035 * emacs-lisp/trace.el (trace-function-internal):
3036 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3037
3038 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3039
3040 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3041
3042 * term/w32-win.el (w32-handle-dropped-file):
3043 * startup.el (normal-top-level):
3044 * net/browse-url.el (browse-url-file-url):
3045 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3046 decode file names using 'utf-8' rather than
3047 file-name-coding-system.
3048
3049 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3050
3051 * progmodes/python.el (python-indent-context)
3052 (python-indent-calculate-indentation): Fix auto-identation
3053 behavior for comment blocks. (Bug#15916)
3054
3055 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3056
3057 * progmodes/python.el (python-indent-calculate-indentation):
3058 When determining indentation, don't treat "return", "pass", etc., as
3059 operators when they are just string constituents. (Bug#15812)
3060
3061 2013-12-12 Juri Linkov <juri@jurta.org>
3062
3063 * uniquify.el (uniquify-buffer-name-style): Change default to
3064 `post-forward-angle-brackets'.
3065
3066 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3067 `uniquify'. Change default to `post-forward-angle-brackets'.
3068
3069 2013-12-11 Glenn Morris <rgm@gnu.org>
3070
3071 * emacs-lisp/package.el (finder-list-matches):
3072 Autoload rather than falsely declaring.
3073
3074 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3075
3076 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3077 (eww-mode-map): Use them.
3078
3079 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3080
3081 * window.el (display-buffer-in-side-window): Fix doc-string
3082 (Bug#16115).
3083
3084 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3085
3086 * vc/vc-git.el: Silence byte-compiler warnings.
3087 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3088 (log-edit-set-header): Declare.
3089
3090 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3091
3092 * Makefile.in (custom-deps, finder-data): Run output file names
3093 through unmsys--file-name. (Bug#16099)
3094
3095 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3098 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3099
3100 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3101 instead of deleting the selection "by hand" (bug#16098).
3102 Rely on insert-for-yank to yank rectangles.
3103 (cua-highlight-region-shift-only): Mark obsolete.
3104 (cua-mode): Don't enable/disable transient-mark-mode,
3105 shift-select-mode (cua-mode works both with and without them), and
3106 pc-selection-mode (obsolete).
3107 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3108 (cua--deactivate-rectangle): Deactivate it.
3109
3110 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3111 (delete-selection-helper): Make sure yank starts at the top of the
3112 deleted region.
3113 (minibuffer-keyboard-quit): Use region-active-p.
3114
3115 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3116
3117 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3118 to `delete' (bug#16109).
3119
3120 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3121
3122 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3123 info manual and show keybindings and set `:group' keyword.
3124
3125 2013-12-11 Juri Linkov <juri@jurta.org>
3126
3127 * delsel.el (delete-active-region): Let-bind `this-command'
3128 to prevent `kill-region' from changing its original value.
3129 (delete-selection-helper): Handle `overwrite-mode' for the type
3130 `kill' exactly the same way as for the type `t'.
3131 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3132 Support more commands. (Bug#13312)
3133
3134 2013-12-11 Juri Linkov <juri@jurta.org>
3135
3136 * bindings.el: Map kp keys to non-kp keys systematically
3137 with basic modifiers control, meta and shift. (Bug#14397)
3138
3139 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3140
3141 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3142 "Close browser" menu items. Fix wrong function of "List
3143 bookmarks".
3144
3145 2013-12-11 Juri Linkov <juri@jurta.org>
3146
3147 * misearch.el (multi-isearch-buffers): Set the value of
3148 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3149 arg of isearch-forward to t.
3150 (multi-isearch-buffers-regexp): Set the value of
3151 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3152 arg of isearch-forward-regexp to t.
3153 (multi-isearch-files): Set the value of
3154 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3155 arg of isearch-forward to t.
3156 (multi-isearch-files-regexp): Set the value of
3157 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3158 arg of isearch-forward-regexp to t. (Bug#16035)
3159
3160 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3161 arg of isearch-forward to t.
3162 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3163 arg of isearch-forward-regexp to t.
3164 (dired-isearch-filter-filenames): Remove unnecessary check for
3165 `dired-isearch-filenames'.
3166
3167 * comint.el (comint-history-isearch-backward):
3168 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3169 (comint-history-isearch-backward-regexp):
3170 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3171
3172 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3173
3174 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3175 unmsys--file-name. (Bug#16099)
3176
3177 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3178
3179 * emacs-lisp/package.el (package-keyword-button-action):
3180 Remove finder.el require dependency.
3181
3182 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3183
3184 * emacs-lisp/package.el: Require finder.el.
3185 (describe-package-1): Add keyword buttons.
3186 (package-make-button): New convenience function.
3187 (package-keyword-button-action): Keyword button action using
3188 `finder-list-matches'.
3189
3190 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3191
3192 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3193 last commit.
3194
3195 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3196
3197 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3198 symlinked files.
3199
3200 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3201
3202 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3203 after the end of a percent literal.
3204
3205 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3206
3207 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3208 Handle caret-delimited strings (Bug#16079).
3209
3210 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3211
3212 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3213 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3214 `ruby-parse-partial' (Bug#16078).
3215
3216 2013-12-09 Leo Liu <sdl.web@gmail.com>
3217
3218 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3219
3220 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3221
3222 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3223 (js-switch-indent-offset): New option.
3224 (js--proper-indentation): Use it. And handle the case when
3225 "default" is actually a key in an object literal.
3226 (js--same-line): New function.
3227 (js--multi-line-declaration-indentation): Use it.
3228 (js--indent-in-array-comp, js--array-comp-indentation):
3229 New functions.
3230 (js--proper-indentation): Use them, to handle array comprehension
3231 continuations.
3232
3233 2013-12-08 Leo Liu <sdl.web@gmail.com>
3234
3235 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3236 (flymake-make-overlay): Remove arg MOUSE-FACE.
3237 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3238
3239 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3242 New function.
3243 (redisplay-highlight-region-function): Use it.
3244
3245 * emulation/cua-base.el (cua--explicit-region-start)
3246 (cua--last-region-shifted): Remove.
3247 (cua--deactivate): Use deactivate-mark.
3248 (cua--pre-command-handler-1): Don't handle shift-selection.
3249 (cua--post-command-handler-1): Don't change transient-mark-mode.
3250 (cua--select-keymaps): Use region-active-p rather than
3251 cua--explicit-region-start or cua--last-region-shifted.
3252 (cua-mode): Enable shift-select-mode.
3253
3254 2013-12-08 Leo Liu <sdl.web@gmail.com>
3255
3256 * progmodes/flymake.el (flymake-popup-current-error-menu):
3257 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3258 (flymake-posn-at-point-as-event, flymake-popup-menu)
3259 (flymake-make-emacs-menu): Remove. (Bug#16077)
3260
3261 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * rect.el (rectangle-mark-mode): Activate mark even if
3264 transient-mark-mode is off (bug#16066).
3265 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3266 is > mark and at bolp.
3267
3268 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3269 (region-extract-function): Use it.
3270 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3271 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3272 Delete functions.
3273 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3274 kill-ring-save, kill-region, delete-char, delete-forward-char.
3275 Ignore self-insert-iso.
3276
3277 * emulation/cua-gmrk.el (cua--init-global-mark):
3278 Ignore `self-insert-iso'.
3279
3280 * emulation/cua-base.el (cua--prefix-copy-handler)
3281 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3282 checking cua--rectangle.
3283 (cua-delete-region): Use region-extract-function.
3284 (cua-replace-region): Delete function.
3285 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3286 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3287 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3288 (cua--init-keymaps): Don't remap delete-selection commands.
3289 (cua-mode): Use delete-selection-mode instead of rolling our own
3290 (bug#16085).
3291
3292 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3293 Obey region-extract-function.
3294
3295 Make registers and delete-selection-mode work on rectangles.
3296 * register.el (describe-register-1): Don't modify the register's value.
3297 (copy-to-register): Obey region-extract-function.
3298 * delsel.el (delete-active-region): Obey region-extract-function.
3299
3300 2013-12-08 Leo Liu <sdl.web@gmail.com>
3301
3302 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3303 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3304 (flymake-compilation-prevents-syntax-check)
3305 (flymake-start-syntax-check-on-newline)
3306 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3307 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3308 (flymake-xml-program, flymake-master-file-dirs)
3309 (flymake-master-file-count-limit)
3310 (flymake-allowed-file-name-masks): Relocate.
3311 (flymake-makehash, flymake-float-time)
3312 (flymake-replace-regexp-in-string, flymake-split-string)
3313 (flymake-get-temp-dir): Remove.
3314 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3315 (flymake-current-row, flymake-selected-frame)
3316 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3317 related functions. (Bug#16077)
3318
3319 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3320
3321 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3322
3323 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3324
3325 * help-fns.el (describe-function-1): Use new advice-* functions
3326 rather than old ad-* functions. Fix function type description and
3327 source links for advised functions and subrs.
3328
3329 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3330
3331 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3332
3333 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3334
3335 * progmodes/compile.el (compilation-start):
3336 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3337
3338 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3339 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3340
3341 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3342
3343 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3344 Touch up the last change.
3345
3346 2013-12-06 Leo Liu <sdl.web@gmail.com>
3347
3348 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3349 (inferior-octave-startup): Always use "octave> " for prompt.
3350 (octave-goto-function-definition)
3351 (octave-sync-function-file-names)
3352 (octave-find-definition-default-filename): Remove redundant backquotes.
3353
3354 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3355
3356 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3357 syntax for `?'.
3358 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3359 where appropriate already.
3360 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3361 end of method names (Bug#15874).
3362
3363 2013-12-06 Juri Linkov <juri@jurta.org>
3364
3365 * isearch.el (isearch--saved-overriding-local-map):
3366 New internal variable.
3367 (isearch-mode): Set it to the initial value of
3368 `overriding-terminal-local-map'.
3369 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3370 with `isearch--saved-overriding-local-map'. (Bug#16035)
3371
3372 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3373
3374 * progmodes/octave.el (inferior-octave-completion-table):
3375 Turn back into function, use `completion-table-with-cache'
3376 (Bug#11906). Update all references.
3377
3378 * minibuffer.el (completion-table-with-cache): New function.
3379
3380 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3381
3382 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3383
3384 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3385
3386 * net/eww.el (eww-current-source): New variable to store page
3387 source.
3388 (eww-display-html, eww-mode, eww-save-history)
3389 (eww-restore-history): Use it.
3390 (eww-view-source): New command to view page source.
3391 Opportunistically uses `html-mode' to highlight the buffer.
3392 (eww-mode-map): Install it.
3393
3394 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3395
3396 * net/dbus.el (dbus-unregister-service)
3397 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3398 Fix docstring.
3399 (dbus-unregister-service): Skip :serial entries in
3400 `dbus-registered-objects-table'.
3401 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3402
3403 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3404
3405 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3406 around keywords with extra `split-string' argument.
3407
3408 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3409
3410 * windmove.el (windmove-other-window-loc): Handle navigation
3411 between windows (excluding the minibuffer window - Bug#16017).
3412
3413 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3414
3415 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3416 in D-Bus type syntax.
3417 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3418 preserve unibyte strings. (Bug#16048)
3419
3420 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3423 Call force-mode-line-update is the proper buffer (bug#16042).
3424
3425 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3426
3427 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3428 `log-edit-remember-comment', make argument optional. Adjust all
3429 callers.
3430 (log-edit-mode): Add `log-edit-remember-comment' to
3431 `kill-buffer-hook' locally.
3432 (log-edit-kill-buffer): Don't remember comment explicitly since
3433 the buffer is killed anyway.
3434
3435 2013-12-04 Juri Linkov <juri@jurta.org>
3436
3437 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3438 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3439
3440 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3441
3442 * notifications.el (notifications-close-notification): Call the
3443 D-Bus method with ID being a `:uint32'. (Bug#16030)
3444
3445 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3446
3447 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3448
3449 2013-12-03 Juri Linkov <juri@jurta.org>
3450
3451 * progmodes/compile.el (compilation-start): Rename window alist
3452 entry `no-display-ok' to `allow-no-window'.
3453
3454 * simple.el (shell-command): Add window alist entry
3455 `allow-no-window' to `display-buffer'.
3456 (async-shell-command): Doc fix.
3457
3458 * window.el (display-buffer-no-window): New action function.
3459 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3460
3461 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3462
3463 * vc/log-edit.el (log-edit-set-header): Extract from
3464 `log-edit-toggle-header'.
3465 (log-edit-extract-headers): Separate the summary, when extracted
3466 from header, from the rest of the message with an empty line.
3467
3468 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3469 line, if present, to the Summary header.
3470
3471 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3473 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3474 in current-buffer (bug#16029).
3475
3476 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3477
3478 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3479 (debugger-mode-map): Bind it.
3480 (debugger--backtrace-base): New function.
3481 (debugger-eval-expression): Use it.
3482 (debugger-frame-number): Skip local vars when present.
3483 (debugger--locals-visible-p, debugger--insert-locals)
3484 (debugger--show-locals, debugger--hide-locals): New functions.
3485
3486 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3487
3488 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3489 "LC_ALL".
3490 (tramp-get-remote-locale): New defun.
3491 (tramp-open-connection-setup-interactive-shell): Use it.
3492
3493 2013-12-02 Leo Liu <sdl.web@gmail.com>
3494
3495 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3496
3497 * progmodes/sh-script.el (sh-shell-process):
3498 * progmodes/octave.el (inferior-octave-process-live-p):
3499 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3500 (gdb-inferior-io-sentinel):
3501 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3502
3503 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3504
3505 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3506 `save-selected-window' to `log-edit-hide-buf'. This makes
3507 `log-edit-show-files' idempotent.
3508 (log-edit-show-files): Mark the new window as dedicated.
3509
3510 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3511
3512 * vc/log-edit.el (log-edit-mode-map): Add binding for
3513 `log-edit-kill-biffer'.
3514 (log-edit-hide-buf): Add a FIXME comment.
3515 (log-edit-add-new-comment): New function, extracted from
3516 `log-edit-done'.
3517 (log-edit-done, log-edit-add-to-changelog): Use it.
3518 (log-edit-kill-buffer): New command.
3519
3520 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3521
3522 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3523 instead of killing the buffer.
3524
3525 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3526
3527 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3528
3529 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3530
3531 * net/eww.el (eww-form-checkbox-selected-symbol)
3532 (eww-form-checkbox-symbol): New customizable variable.
3533 (eww-form-checkbox, eww-toggle-checkbox):
3534 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3535
3536 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3537 (shr--get-media-pref, shr--extract-best-source): New function.
3538 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3539 no :src tag was specified.
3540
3541 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3542 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3543 Use \\` to match beginning of string instead of ^.
3544 (eww-browse-with-external-browser): Provide optional URL parameter.
3545 (eww-render): Set `eww-current-title' back to "".
3546
3547 * net/shr.el (shr-tag-video): Display content for video if no
3548 poster is available.
3549 (shr-tag-audio): Add support for <audio> tag.
3550
3551 * net/eww.el (eww-text-input-types): New const.
3552 (eww-process-text-input): Treat input types in
3553 `eww-text-input-types' as text.
3554
3555 * net/shr.el (shr-tag-table): Fix comment typo.
3556
3557 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3558
3559 * net/eww.el (eww-follow-link): New command to avoid reloading
3560 pages when we follow #target links (bug#15243).
3561 (eww-quit): Special mode buffers shouldn't query before exiting.
3562
3563 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3564
3565 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3566 forms.
3567
3568 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3569
3570 * net/eww.el (eww-restore-history): Update the window title after
3571 moving in the history.
3572 (eww-current-dom): New variable used to save the current DOM.
3573
3574 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3575
3576 * vc/log-edit.el (log-edit-mode-map): Add binding for
3577 `log-edit-beginning-of-line'.
3578 (log-edit-setup-add-author): New user option.
3579 (log-edit-beginning-of-line): New command.
3580 (log-edit): Move major mode call above the contents setup so that
3581 the local variable values are already applied.
3582 (log-edit): Only insert "Author: " when
3583 `log-edit-setup-add-author' is non-nil.
3584 (log-edit): When SETUP is non-nil, position point after ": "
3585 instead of point-min.
3586
3587 2013-12-01 Glenn Morris <rgm@gnu.org>
3588
3589 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3590
3591 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3592
3593 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3594 redisplay to make sure the initial frame gets a chance to become
3595 visible. (Bug#16014)
3596
3597 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3598
3599 Support resizing frames and windows pixelwise.
3600 * cus-start.el (frame-resize-pixelwise)
3601 (window-resize-pixelwise): New entries.
3602 * emacs-lisp/debug.el (debug): Use window-total-height instead
3603 of window-total-size.
3604 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3605 * help.el (describe-bindings-internal): Use help-buffer as
3606 argument for with-help-window.
3607 (temp-buffer-max-width): New option.
3608 (resize-temp-buffer-window, help-window-setup)
3609 (with-help-window): Rewrite.
3610 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3611 dragging dividers.
3612 * window.el (frame-char-size, window-min-pixel-height)
3613 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3614 (window-min-pixel-width, window-safe-min-pixel-size)
3615 (window-combination-p, window-safe-min-size)
3616 (window-resizable-p, window--size-to-pixel)
3617 (window--pixel-to-size, window--resize-apply-p): New functions.
3618 (window-safe-min-height): Fix doc-string.
3619 (window-size, window-min-size, window--min-size-1)
3620 (window-sizable, window-sizable-p, window--min-delta-1)
3621 (window-min-delta, window--max-delta-1, window-max-delta)
3622 (window--resizable, window--resizable-p, window-resizable)
3623 (window-full-height-p, window-full-width-p, window-at-side-p)
3624 (window--in-direction-2, window-in-direction)
3625 (window--resize-reset-1, window--resize-mini-window)
3626 (window-resize, window-resize-no-error)
3627 (window--resize-child-windows-normal)
3628 (window--resize-child-windows, window--resize-siblings)
3629 (window--resize-this-window, window--resize-root-window)
3630 (window--resize-root-window-vertically)
3631 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3632 (maximize-window, minimize-window, delete-window)
3633 (quit-restore-window, window-split-min-size, split-window)
3634 (balance-windows-2, balance-windows)
3635 (balance-windows-area-adjust, balance-windows-area)
3636 (window--state-get-1, window-state-get, window--state-put-1)
3637 (window--state-put-2, window-state-put)
3638 (display-buffer-record-window, window--display-buffer):
3639 Make functions handle pixelwise sizing of windows.
3640 (display-buffer--action-function-custom-type)
3641 (display-buffer-fallback-action):
3642 Add display-buffer-in-previous-window.
3643 (display-buffer-use-some-window): Resize window to height it had
3644 before.
3645 (fit-window-to-buffer-horizontally): New option.
3646 (fit-frame-to-buffer): Describe new values.
3647 (fit-frame-to-buffer-bottom-margin): Replace with
3648 fit-frame-to-buffer-margins.
3649 (window--sanitize-margin): New function.
3650 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3651 using window-text-pixel-size.
3652
3653 2013-11-30 Glenn Morris <rgm@gnu.org>
3654
3655 * emacs-lisp/bytecomp.el (byte-compile-form):
3656 Make the `interactive-only' warning like the `obsolete' one.
3657 * comint.el (comint-run):
3658 * files.el (insert-file-literally, insert-file):
3659 * replace.el (replace-string, replace-regexp):
3660 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3661 (goto-line, insert-buffer, next-line, previous-line):
3662 Tweak `interactive-only' spec.
3663
3664 Stop keeping (most) generated cedet grammar files in the repository.
3665 * Makefile.in (semantic): New.
3666 (compile-main): Depend on semantic.
3667
3668 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3671 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3672
3673 * uniquify.el (uniquify-buffer-name-style): Change default.
3674
3675 * loadup.el: Preload "uniquify".
3676
3677 * time.el (display-time-update): Update all mode lines (bug#15999).
3678
3679 * electric.el (electric-indent-mode): Enable by default.
3680 * loadup.el: Preload "electric".
3681
3682 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3683
3684 * emacs-lisp/helpers.el (string-empty-p): New function.
3685 (string-blank-p): New function.
3686
3687 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3688
3689 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3690 (Bug#14029).
3691
3692 2013-11-29 Andreas Politz <politza@fh-trier.de>
3693 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3694 allow non-lambda lists as functions.
3695 (imenu--in-alist): Don't recurse into non-subalists.
3696 (imenu): Don't pass function itself as an argument (Bug#14029).
3697
3698 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * progmodes/python.el (python-mode-map): Remove binding for ":".
3701 (python-indent-electric-colon): Remove command.
3702 (python-indent-post-self-insert-function): Integrate the previous code
3703 of python-indent-electric-colon. Make it conditional on
3704 electric-indent-mode.
3705 (python-mode): Add ?: to electric-indent-chars.
3706 Move python-indent-post-self-insert-function to the end of
3707 post-self-insert-hook.
3708
3709 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * doc-view.el (doc-view-goto-page): Update mode-line.
3712
3713 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3714
3715 2013-11-27 Glenn Morris <rgm@gnu.org>
3716
3717 * international/charprop.el, international/uni-bidi.el:
3718 * international/uni-category.el, international/uni-combining.el:
3719 * international/uni-comment.el, international/uni-decimal.el:
3720 * international/uni-decomposition.el, international/uni-digit.el:
3721 * international/uni-lowercase.el, international/uni-mirrored.el:
3722 * international/uni-name.el, international/uni-numeric.el:
3723 * international/uni-old-name.el, international/uni-titlecase.el:
3724 * international/uni-uppercase.el:
3725 Remove generated files from VCS repository.
3726
3727 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3728
3729 * filenotify.el (file-notify-add-watch): Don't special-case
3730 w32notify when computing the directory to watch.
3731
3732 2013-11-27 Glenn Morris <rgm@gnu.org>
3733
3734 Make bootstrap without generated uni-*.el files possible again.
3735 * loadup.el: Update command-line-args checking for unidata-gen.
3736 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3737 * composite.el, international/characters.el:
3738 Handle unicode tables being undefined.
3739
3740 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3741 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3742 (compile-main): Depend on leim rule.
3743 (leim): New rule.
3744 * loadup.el: Move leim-list.el to leim/ subdirectory.
3745 * startup.el (normal-top-level): No more leim directory.
3746 * international/ja-dic-cnv.el (skkdic-convert):
3747 Disable version-control and autoloads in output files.
3748 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3749 Disable version-control and autoloads in output files.
3750 * leim/quail: Move here from ../leim.
3751 * leim/quail/hangul.el (hangul-input-method-activate):
3752 Add autoload cookie.
3753 (generated-autoload-load-name): Set file-local value.
3754 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3755 (generated-autoload-load-name): Set file-local value.
3756
3757 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3758
3759 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3760 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3761 (eww-quit): Ask confirmation before quitting eww.
3762
3763 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3764
3765 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3766 reading output from Diff on MS-Windows and MS-DOS.
3767
3768 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3769
3770 * emacs-lisp/helpers.el (string-reverse): New function.
3771
3772 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3773
3774 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3775 names on MS Windows, like "/[::1]:".
3776
3777 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3778 SWITCHES.
3779
3780 2013-11-26 Glenn Morris <rgm@gnu.org>
3781
3782 * progmodes/python.el (python-indent-guess-indent-offset):
3783 Avoid corner-case error. (Bug#15975)
3784
3785 Preload leim-list.el. (Bug#4789)
3786 * loadup.el: Load leim-list.el when found.
3787 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3788
3789 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3790
3791 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3792
3793 * emacs-lisp/helpers.el (string-join): New function.
3794
3795 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3796
3797 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3798 Mark as obsolete and replace it with a symbol property.
3799 (byte-compile-form): Use new 'interactive-only property.
3800 * comint.el, files.el, replace.el, simple.el:
3801 Apply new 'interactive-only properly.
3802
3803 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3804
3805 * window.el (display-buffer-at-bottom): Make sure that
3806 split-window-sensibly creates the new window on bottom
3807 (Bug#15961).
3808
3809 2013-11-23 David Kastrup <dak@gnu.org>
3810
3811 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3812 on the conflict markers when available.
3813 (smerge--get-marker): New function.
3814 (smerge-end-re, smerge-base-re): Add subgroup.
3815
3816 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3817
3818 * frame.el (handle-focus-in, handle-focus-out): Add missing
3819 interactive spec.
3820
3821 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3822
3823 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3824 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3825
3826 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3829 (gomoku--last-pos): New var.
3830 (gomoku--intangible-chars): New const.
3831 (gomoku--intangible): New function.
3832 (gomoku-mode): Use it. Derive from special-mode.
3833 (gomoku-move-up): Adjust line count.
3834 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3835 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3836 Simplify accordingly.
3837
3838 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3839 Remove blink-cursor code.
3840 (blink-cursor-timer-function, blink-cursor-suspend):
3841 Don't special-case GUIs.
3842 (blink-cursor-mode): Use focus-in/out-hook.
3843
3844 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3845
3846 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3847 work when annotation is invisible (Bug#13886).
3848
3849 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3850
3851 * json.el (json-alist-p): Only return non-nil if the alist has
3852 simple keys (Bug#13518).
3853
3854 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3855
3856 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3857 when control-statement is the first statement in a buffer (Bug#15956).
3858
3859 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3860
3861 * imenu.el (imenu-generic-skip-comments-and-strings):
3862 New option (Bug#15560).
3863 (imenu--generic-function): Use it.
3864
3865 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3866
3867 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3868 (Bug#13898)
3869
3870 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3871
3872 * emacs-lisp/helpers.el: Add some string helpers.
3873 (string-trim-left): Removes leading whitespace.
3874 (string-trim-right): Removes trailing whitespace.
3875 (string-trim): Removes leading and trailing whitespace.
3876
3877 * subr.el (string-suffix-p): New function.
3878
3879 2013-11-23 Glenn Morris <rgm@gnu.org>
3880
3881 * progmodes/python.el (python-shell-send-file):
3882 Add option to delete file when done. (Bug#15647)
3883 (python-shell-send-string, python-shell-send-region): Use it.
3884
3885 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3886
3887 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3888 to set buffer-read-only to t, never to nil. (Bug#15938)
3889
3890 * textmodes/tex-mode.el (latex-noindent-environments):
3891 Add safe-local-variable property. (Bug#15936)
3892
3893 2013-11-23 Glenn Morris <rgm@gnu.org>
3894
3895 * textmodes/enriched.el (enriched-mode): Doc fix.
3896 * emacs-lisp/authors.el (authors-renamed-files-alist):
3897 Add enriched.doc -> enriched.txt.
3898
3899 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3900
3901 2013-11-22 Leo Liu <sdl.web@gmail.com>
3902
3903 * progmodes/octave.el (inferior-octave-startup): Spit out error
3904 message.
3905
3906 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3907
3908 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3909 Improve docstring.
3910 Add :version.
3911 (ruby-encoding-magic-comment-style): Add :version.
3912
3913 2013-11-22 Leo Liu <sdl.web@gmail.com>
3914
3915 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3916 (Bug#15076)
3917 (octave-help-mode): Adapt to change to help-mode-finish to use
3918 derived-mode-p on 2013-09-17.
3919 (inferior-octave-prompt): Also match octave-gui.
3920 (octave-kill-process): Don't ask twice. (Bug#10564)
3921
3922 2013-11-22 Leo Liu <sdl.web@gmail.com>
3923
3924 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3925 (inferior-octave-startup, inferior-octave-check-process)
3926 (inferior-octave-track-window-width-change)
3927 (octave-completion-at-point, octave-eldoc-function): Use it.
3928 (octave-kill-process): Provide confirmation. (Bug#10564)
3929
3930 2013-11-21 Leo Liu <sdl.web@gmail.com>
3931
3932 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3933 Fix obsolete variable comment-use-global-state.
3934
3935 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3936
3937 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3938 Add `octave-source-file'.
3939 (octave-source-file): New function. (Bug#15935)
3940
3941 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3942
3943 * net/eww.el (eww-local-regex): New variable.
3944 (eww): Use it to detect localhost and similar.
3945
3946 2013-11-21 Leo Liu <sdl.web@gmail.com>
3947
3948 Add completion for command `ag'.
3949 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3950 (pcomplete/ag): New function.
3951 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3952
3953 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3954
3955 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3956 (bug#14646).
3957 (make-obsolete): Remove interactive spec.
3958
3959 2013-11-21 Glenn Morris <rgm@gnu.org>
3960
3961 * startup.el (command-line-1): Use path-separator with -L.
3962
3963 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3964
3965 * emacs-lisp/package.el (describe-package-1): Add package archive
3966 to shown fields.
3967
3968 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3969
3970 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3971 Change default to "# encoding: %s" to differentiate it from the
3972 default Ruby encoding comment template.
3973
3974 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3975
3976 * ses.el (ses-mode): Doc fix. (Bug#14748)
3977
3978 2013-11-20 Leo Liu <sdl.web@gmail.com>
3979
3980 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3981
3982 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3983
3984 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3985 when rebase or bisect are in progress.
3986
3987 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3988
3989 * filenotify.el (file-notify-add-watch): Doc fix.
3990
3991 2013-11-19 Leo Liu <sdl.web@gmail.com>
3992
3993 * obsolete/rcompile.el: Mark obsolete.
3994
3995 * progmodes/compile.el (compilation-start)
3996 (compilation-goto-locus, compilation-find-file):
3997 Pass no-display-ok and handle nil value from display-buffer.
3998 (Bug#13594)
3999
4000 * window.el (display-buffer-alist, display-buffer): Document the
4001 new parameter no-display-ok. Return either a window or nil
4002 but never a non-window value.
4003
4004 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * electric.el (electric-indent-mode-map): Remove.
4007 (electric-indent-mode): Change the global-map instead (bug#15915).
4008
4009 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4010 Use add-function.
4011
4012 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4013
4014 * emacs-lisp/nadvice.el (remove-function): Align with
4015 add-function's behavior.
4016
4017 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4018 (gdb--string-regexp): New constant.
4019 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4020 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4021 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4022 submatch 1.
4023 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4024 Adjust use accordingly.
4025 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4026
4027 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4028
4029 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4030 interpolation curlies (Bug#15914).
4031
4032 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4033
4034 * calc/calc.el (calc-context-sensitive-enter): New variable.
4035 (calc-enter): Use `calc-context-sensitive-enter'.
4036
4037 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4038
4039 * progmodes/cfengine.el: Version bump.
4040 (cfengine-cf-promises): New defcustom to locate cf-promises.
4041 (cfengine3-vartypes): Add new "data" type.
4042 (cfengine3--current-word): New function to get current name-like
4043 word or its bounds.
4044 (cfengine3--current-function): New function to look up a CFEngine
4045 function's definition.
4046 (cfengine3-format-function-docstring): New function.
4047 (cfengine3-make-syntax-cache): New function.
4048 (cfengine3-documentation-function): New function: ElDoc glue.
4049 (cfengine3-completion-function): New function: completion glue.
4050 (cfengine3-mode): Set `compile-command',
4051 `eldoc-documentation-function', and add to
4052 `completion-at-point-functions'.
4053
4054 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4055
4056 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4057 `tramp-current-connection'.
4058
4059 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4060
4061 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4062 nil/self/true/false with "end of symbol".
4063
4064 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4065
4066 * subr.el (version-regexp-alist): Fix a typo.
4067
4068 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4069
4070 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4071 "en_US.utf8" and "LC_CTYPE" to "".
4072 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4073 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4074
4075 2013-11-15 Leo Liu <sdl.web@gmail.com>
4076
4077 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4078
4079 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * progmodes/gud.el (ctl-x-map):
4082 Remove C-x SPC binding. (Bug#12342)
4083 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4084
4085 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4086
4087 * subr.el (version-regexp-alist):
4088 Recognize hg, svn and darcs versions as snapshot versions.
4089
4090 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4091 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4092 (ruby--encoding-comment-required-p): Extract from
4093 `ruby-mode-set-encoding'.
4094 (ruby-mode-set-encoding): Add the ability to always insert an
4095 utf-8 encoding comment. Fix and simplify coding comment update
4096 logic.
4097
4098 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4099
4100 * net/tramp-gvfs.el (top): Run init code only when
4101 `tramp-gvfs-enabled' is not nil.
4102 (tramp-gvfs-enabled): Check also :system bus.
4103
4104 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 Sync with upstream verilog-mode revision 78e66ba.
4107 * progmodes/verilog-mode.el (verilog-end-of-defun)
4108 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4109 (verilog-get-end-of-defun): Remove unused argument.
4110 (verilog-comment-depth): Remove unused local `e'.
4111 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4112 Don't pass arg to verilog-get-end-of-defun.
4113
4114 2013-11-14 Glenn Morris <rgm@gnu.org>
4115
4116 * obsolete/assoc.el (aget): Prefix dynamic variable.
4117
4118 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4119
4120 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * widget.el, hfy-cmap.el: Remove bogus package version number.
4123
4124 2013-11-13 Glenn Morris <rgm@gnu.org>
4125
4126 * replace.el (replace-eval-replacement):
4127 Try to give more helpful error message. (Bug#15836)
4128
4129 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4130 (archive-7z-update): Avoid custom type mismatches.
4131
4132 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4133
4134 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4135
4136 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4137 address can be empty.
4138
4139 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4140 Accept nil SWITCHES.
4141 (tramp-gvfs-handle-write-region): Implement APPEND.
4142
4143 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4144
4145 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4146 binary "|" operator and closing block args delimiter.
4147 Remove FIXME comment referring to Ruby 1.8-only syntax.
4148 (ruby-smie--implicit-semi-p): Not after "|" operator.
4149 (ruby-smie--closing-pipe-p): New function.
4150 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4151 (ruby-smie-rules): Indent after "|".
4152
4153 2013-11-12 Glenn Morris <rgm@gnu.org>
4154
4155 * ps-print.el (ps-face-attribute-list):
4156 Handle anonymous faces. (Bug#15827)
4157
4158 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4159
4160 * window.el (display-buffer-other-frame): Fix doc-string.
4161 (Bug#15868)
4162
4163 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4164
4165 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4166
4167 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4168
4169 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4170 (tramp-sh-handle-file-local-copy): Don't write a message when
4171 saving temporary files.
4172
4173 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4174 both directories are remote.
4175 (tramp-smb-handle-directory-files): Do not return double entries.
4176 Do not expand full file names.
4177 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4178 (tramp-smb-handle-write-region): Implement APPEND.
4179 (tramp-smb-get-stat-capability): Fix a stupid bug.
4180
4181 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4184
4185 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4186
4187 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4188 throwing error over malformed let/let* (bug#15814).
4189
4190 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * iswitchb.el (iswitchb-mode): Mark obsolete.
4193
4194 2013-11-11 Glenn Morris <rgm@gnu.org>
4195
4196 * international/uni-bidi.el, international/uni-category.el:
4197 * international/uni-name.el, international/uni-numeric.el:
4198 Regenerate for Unicode 6.3.0.
4199
4200 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4201
4202 * net/tramp.el (tramp-methods):
4203 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4204 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4205
4206 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4207
4208 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4209 Force highlighting text after Summary keyword in doc face for rpm.
4210
4211 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4212
4213 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4214 available and the word has no wildcards, append one to the grep pattern.
4215 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4216 (ispell-complete-word): Call `ispell-lookup-words' with the value
4217 independent of `ispell-look-p'.
4218
4219 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4220
4221 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4222 Not after "||".
4223 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4224 their parent.
4225
4226 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4229 (ruby-font-lock-keywords): Use backquote.
4230
4231 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4232
4233 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4234 (ruby-smie--backward-token): Only consider full-string matches.
4235
4236 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4237
4238 * faces.el (describe-face): Add distant-foreground.
4239
4240 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4241
4242 * progmodes/ruby-mode.el: Improve encoding comment handling.
4243 (ruby-encoding-magic-comment-style): New option.
4244 (ruby-custom-encoding-magic-comment-template): New option.
4245 (ruby--insert-coding-comment, ruby--detect-encoding):
4246 New functions extracted from `ruby-mode-set-encoding'.
4247 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4248 to control the style of the auto-inserted encoding comment.
4249
4250 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4251
4252 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4253 Use `smie-backward-sexp' with token argument.
4254
4255 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4256
4257 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4258 Remove instrumentation code.
4259
4260 2013-11-08 Glenn Morris <rgm@gnu.org>
4261
4262 * progmodes/autoconf.el (autoconf-mode):
4263 Tweak comment-start-skip. (Bug#15822)
4264
4265 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4268 at bobp (bug#15826).
4269 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4270
4271 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4272
4273 * man.el (Man-start-calling): New macro, extracted from
4274 Man-getpage-in-background.
4275 (Man-getpage-in-background): Use it.
4276 (Man-update-manpage): New command.
4277 (Man-mode-map): Bind it.
4278
4279 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4280
4281 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4282 of "and", "or", "&&" and "||".
4283 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4284 argument. Prohibit opening curly brace because it could only be a
4285 block opener in that position.
4286 (ruby-smie--forward-token, ruby-smie--backward-token):
4287 Separate "|" from "&" or "*" going after it. That can happen in block
4288 arguments.
4289 (ruby-smie--indent-to-stmt): New function, seeks the end of
4290 previous statement or beginning of buffer.
4291 (ruby-smie-rules): Use it.
4292 (ruby-smie-rules): Check if there's a ":" before a curly block
4293 opener candidate; if there is, it's a hash.
4294
4295 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4298 (cl--block-wrapper): Fix last accidental change.
4299
4300 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4301
4302 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4303 Instrument, in order to hunt failure on hydra.
4304
4305 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4306
4307 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4308 malformed bindings form (bug#15814).
4309
4310 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4311
4312 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4313 "." compared to " @ ". This incidentally fixes some indentation
4314 examples with "do".
4315 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4316 (ruby-smie-grammar): New tokens: "and" and "or".
4317 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4318 Exclude "and" and "or". Remove "do" in order to work around token
4319 priorities.
4320 (ruby-smie-rules): Add all infix tokens. Handle the case of
4321 beginning-of-buffer.
4322
4323 2013-11-06 Glenn Morris <rgm@gnu.org>
4324
4325 * Makefile.in (setwins_almost, setwins_for_subdirs):
4326 Avoid accidental matches.
4327
4328 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * menu-bar.el (popup-menu): Use key-binding.
4331
4332 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4333
4334 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4335 menus, support also the menus produced by minor modes.
4336 (Bug#15817)
4337
4338 2013-11-06 Leo Liu <sdl.web@gmail.com>
4339
4340 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4341 DISTANCE to bound the search. All uses changed. (Bug#15808)
4342
4343 2013-11-06 Glenn Morris <rgm@gnu.org>
4344
4345 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4346 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4347 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4348
4349 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * electric.el (electric-indent-just-newline): New command.
4352 (electric-indent-mode-map): New keymap.
4353 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4354 Re-add :group which weren't redundant.
4355
4356 * electric.el (electric-indent-local-mode): New minor mode.
4357 (electric-indent-functions-without-reindent): New var.
4358 (electric-indent-post-self-insert-function): Use it.
4359 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4360
4361 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4362
4363 * international/quail.el (quail-help): Be more explicit about the
4364 meaning of the labels shown on the keys. (Bug#15800)
4365
4366 * startup.el (normal-top-level): Load the subdirs.el files before
4367 setting the locale environment. (Bug#15805)
4368
4369 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4372 via arguments so as to get the right ones (bug#15418).
4373
4374 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4375
4376 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4377
4378 Fix problems found while writing a test suite.
4379
4380 * net/tramp-compat.el (tramp-compat-load): New defun.
4381 * net/tramp.el (tramp-handle-load): Use it.
4382
4383 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4384 "(numberp ok-if-already-exists)" correctly.
4385
4386 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4387
4388 * international/characters.el (glyphless-char-display-control):
4389 Add usage note.
4390
4391 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4392
4393 * progmodes/python.el (python-mode):
4394 * progmodes/scheme.el (scheme-mode):
4395 * progmodes/prolog.el (prolog-mode):
4396 * progmodes/ruby-mode.el (ruby-mode):
4397 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4398 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4399
4400 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * rect.el (rectangle--highlight-for-redisplay):
4403 * emacs-lisp/smie.el (smie--next-indent-change):
4404 Use buffer-chars-modified-tick.
4405
4406 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4407
4408 * electric.el (electric-indent-post-self-insert-function):
4409 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4410
4411 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4412
4413 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4414
4415 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4416
4417 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4418 (bug#15786).
4419
4420 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4423
4424 * progmodes/python.el: Fix up last change.
4425 (python-shell--save-temp-file): New function.
4426 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4427 `string' comes from the current buffer.
4428 (python-shell-send-string-no-output): Remove `msg' arg.
4429 (python--use-fake-loc): New var.
4430 (python-shell-buffer-substring): Obey it. Try to compensate for the
4431 extra coding line added by python-shell--save-temp-file.
4432 (python-shell-send-region): Use python-shell--save-temp-file and
4433 python-shell-send-file directly. Add `nomain' argument.
4434 (python-shell-send-buffer): Use python-shell-send-region.
4435 (python-electric-pair-string-delimiter): New function.
4436 (python-mode): Use it.
4437
4438 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4439
4440 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4441 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4442 environment and decoding all of the default-directory's to here
4443 from command-line.
4444 (command-line): Decode also argv[0].
4445
4446 * loadup.el: Error out if default-directory is a multibyte string
4447 when we are dumping.
4448
4449 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4450
4451 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4452
4453 * emacs-lisp/package.el (package-menu-mode)
4454 (package-menu--print-info, package-menu--archive-predicate):
4455 Add Archive column to package list.
4456
4457 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4458
4459 Fix problems found while writing a test suite.
4460
4461 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4462 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4463 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4464 to nil when running original file name handler. Otherwise,
4465 there are problems with constructs like "$$FOO".
4466
4467 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4468 for `localname'.
4469
4470 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4471
4472 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4473
4474 * subr.el (version<, version<=, version=):
4475 Update docstrings with information for snapshot versions.
4476
4477 * helpers.el: New library for misc helper functions.
4478 (hash-table-keys): New function returning a list of hash keys.
4479 (hash-table-values): New function returning a list of hash values.
4480
4481 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4482
4483 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4484 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4485
4486 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4487
4488 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4489 checking whether point is after a 1-letter word.
4490
4491 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4492
4493 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4494 Don't infloop when expanding region over `multiline' syntax-type that
4495 begins a line (bug#15778).
4496
4497 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4500 Make it into a proper minor mode.
4501 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4502 (rectangle-mark-mode-map): New keymap.
4503 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4504
4505 2013-11-04 Glenn Morris <rgm@gnu.org>
4506
4507 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4508
4509 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4512 (ruby-smie-rules): Use smie-rule-parent instead.
4513
4514 * emacs-lisp/smie.el (smie-rule-parent): Always call
4515 smie-indent-virtual rather than only for hanging tokens.
4516 (smie--next-indent-change): New helper command.
4517
4518 2013-11-03 Glenn Morris <rgm@gnu.org>
4519
4520 * Makefile.in (abs_srcdir): Remove.
4521 (emacs): Unset EMACSLOADPATH.
4522
4523 2013-11-02 Glenn Morris <rgm@gnu.org>
4524
4525 * Makefile.in (EMACS): Use a relative filename.
4526 (abs_top_builddir): Remove.
4527 (custom-deps, finder-data, autoloads): Use --chdir.
4528
4529 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4530
4531 Use relative filenames in TAGS files.
4532 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4533 (lisptagsfiles4, TAGS): Use relative file names.
4534 (TAGS-LISP): Remove.
4535 (maintainer-clean): No more TAGS-LISP file.
4536
4537 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4538 (lisptagsfiles4): Use absolute filenames again.
4539 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4540 Remove all *loaddefs files, not just the first. Remove esh-groups.
4541 (maintainer-clean): Delete TAGS, TAGS-LISP.
4542
4543 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4544
4545 * emacs-lisp/package.el (package-version-join):
4546 Recognize snapshot versions.
4547
4548 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4549
4550 * subr.el (version-regexp-alist): Add support for snapshot versions.
4551
4552 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4553
4554 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4555 New function, replacement for `smie-rule-parent' for when we want to
4556 skip over our direct parent if it's an assignment token..
4557 (ruby-smie-rules): Use it.
4558
4559 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4560
4561 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4562 unconditionally. Remove now unnecessary forward declarations.
4563 Remove XEmacs-specific setup.
4564 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4565 (ruby-font-lock-syntactic-keywords)
4566 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4567 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4568 (ruby-here-doc-end-syntax): Remove.
4569 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4570 defined as function.
4571
4572 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4573
4574 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4575
4576 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4577
4578 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4579 table and abbrev table, `define-derived-mode' does that for us
4580 anyway.
4581
4582 2013-11-01 Glenn Morris <rgm@gnu.org>
4583
4584 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4585 files is atomic for some time, so no parallel compilation issues).
4586
4587 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4588
4589 * faces.el (face-x-resources): Add :distant-foreground.
4590 (region): Use :distant-foreground for gtk and ns.
4591
4592 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4593
4594 Allow multiple bibliographies when BibLaTeX is used rather than
4595 BibTeX.
4596 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4597 (reftex-locate-bibliography-files): Us it.
4598
4599 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4600
4601 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4602 allow comments in pbm files.
4603
4604 * term/w32-win.el (dynamic-library-alist): Support newer versions
4605 of libjpeg starting with v7: look only for the DLL from the
4606 version against which Emacs was built.
4607 Support versions of libpng beyond 1.4.x.
4608 Support libtiff v4.x.
4609
4610 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4611
4612 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4613 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4614 Add property :safe.
4615 (ruby-deep-arglist): Add property :type.
4616
4617 2013-10-31 Glenn Morris <rgm@gnu.org>
4618
4619 * Makefile.in (custom-deps, finder-data): No need to setq the target
4620 variables, we are in the right directory and the defaults work fine.
4621
4622 2013-10-30 Glenn Morris <rgm@gnu.org>
4623
4624 * Makefile.in (autoloads): Do not use abs_lisp.
4625
4626 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4627 `newline' does not respect `standard-output', so use `princ'.
4628
4629 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4630
4631 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4632 * buff-menu.el (Buffer-menu--unmark): New function.
4633 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4634
4635 2013-10-30 Glenn Morris <rgm@gnu.org>
4636
4637 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4638
4639 * emacs-lisp/package.el (lm-homepage): Declare.
4640
4641 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4642 Fix doc typos.
4643
4644 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4645
4646 * Makefile.in (finder-data, autoloads, update-subdirs)
4647 (compile-main, compile-clean, compile-always, bootstrap-clean):
4648 Check return value of cd.
4649 (compile-calc): Remove.
4650
4651 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4654
4655 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4656 (byte-compile-and-folded): New function.
4657 (=, <, >, <=, >=): Use it.
4658
4659 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4660 (path-separator, null-device, buffer-file-coding-system)
4661 (lpr-headers-switches): Check system-type before modifying them.
4662 (find-buffer-file-type-coding-system): Mark obsolete.
4663 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4664 find-file-not-found-set-buffer-file-coding-system.
4665 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4666 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4667 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4668 (w32-direct-print-region-helper, w32-direct-print-region-function)
4669 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4670 * startup.el (normal-top-level-add-subdirs-to-load-path):
4671 * ps-print.el (ps-print-region-function):
4672 * lpr.el (print-region-function): Use new name.
4673
4674 * subr.el (custom-declare-variable-early): Remove function.
4675 (custom-declare-variable-list): Remove var.
4676 (error, user-error): Remove `while' loop.
4677 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4678 (user-emacs-directory-warning, locate-user-emacs-file):
4679 Move to files.el.
4680 * simple.el (read-quoted-char-radix, read-quoted-char):
4681 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4682 Move from subr.el.
4683 * custom.el (custom-declare-variable-list): Don't process
4684 custom-declare-variable-list.
4685
4686 * progmodes/python.el (python-shell-get-buffer): New function.
4687 (python-shell-get-process): Use it.
4688 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4689 Python which encoding was used. Don't split-string since we only care
4690 about the first line. Return the temp-file, if applicable.
4691 (python-shell-send-region): Tell compile.el how to turn locations in
4692 the temp-file into locations in the source buffer.
4693
4694 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * subr.el (undefined): Add missing behavior from the C code for
4697 unbound keys.
4698
4699 * rect.el: Use lexical-binding. Add new rectangular region support.
4700 (rectangle-mark): New command.
4701 (rectangle--region): New var.
4702 (deactivate-mark-hook): Reset rectangle--region.
4703 (rectangle--extract-region, rectangle--insert-for-yank)
4704 (rectangle--highlight-for-redisplay)
4705 (rectangle--unhighlight-for-redisplay): New functions.
4706 (region-extract-function, redisplay-unhighlight-region-function)
4707 (redisplay-highlight-region-function): Use them to handle
4708 rectangular region.
4709 * simple.el (region-extract-function): New var.
4710 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4711 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4712 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4713 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4714 (redisplay-unhighlight-region-function)
4715 (redisplay-highlight-region-function): New vars.
4716 (redisplay--update-region-highlight): New function.
4717 (pre-redisplay-function): Use it.
4718 (exchange-point-and-mark): Don't deactivate the mark before
4719 reactivate-it anyway.
4720 * comint.el (comint-kill-region): Remove yank-handler argument.
4721 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4722 (delete-char): Remove property, since it's now part of their
4723 default behavior.
4724 (self-insert-iso): Remove property since this command doesn't exist.
4725
4726 * emacs-lisp/package.el (package--download-one-archive)
4727 (describe-package-1): Don't query the user about final newline.
4728
4729 2013-10-29 Daniel Colascione <dancol@dancol.org>
4730
4731 * net/tramp.el (tramp-methods): Document new functionality.
4732 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4733 tramp-hostname-checker if method provides one instead of scanning
4734 argument list for "%h" to decide hostname acceptability.
4735
4736 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4737
4738 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4739 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4740 Handle COPY-CONTENTS. (Bug#15737)
4741
4742 2013-10-28 Daiki Ueno <ueno@gnu.org>
4743
4744 * epa-file.el
4745 (epa-file-cache-passphrase-for-symmetric-encryption):
4746 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4747
4748 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4749
4750 * image.el (defimage, image-load-path): Doc fixes.
4751
4752 2013-10-27 Alan Mackenzie <acm@muc.de>
4753
4754 Indent statements in macros following "##" correctly.
4755 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4756 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4757
4758 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4759
4760 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4761
4762 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4763
4764 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4765 after `=' is probably a new expression.
4766
4767 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4768
4769 * man.el (man-imenu-title): New option.
4770 (Man-mode-map): Add menu. (Bug#15722)
4771 (Man-mode): Add imenu to menu.
4772
4773 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4774
4775 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4776 specific in what the first arg can be: a non-keyword word,
4777 string/regexp/percent literal opener, opening paren, or unary
4778 operator followed directly by word.
4779
4780 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4783 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4784 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4785 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4786 Remove vars, they do not apply any more.
4787 (prolog-mode-abbrev-table): Remove redundant declaration.
4788 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4789 (prolog-use-smie): Remove.
4790 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4791 supported by prolog-electric-if-then-else-flag.
4792 (prolog-mode-variables, prolog-menu): Use setq-local.
4793 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4794 Remove binding to `Backspace' since this key doesn't exist anyway.
4795 Remove bindings for electric self-inserting keys.
4796 (prog-mode): Assume it's defined.
4797 (prolog-post-self-insert): New function.
4798 (prolog-mode): Use it.
4799 (prolog-indent-line, prolog-indent-level)
4800 (prolog-find-indent-of-matching-paren)
4801 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4802 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4803 (prolog-goto-next-paren, prolog-in-string-or-comment)
4804 (prolog-tokenize, prolog-inside-mline-comment)
4805 (prolog-find-start-of-mline-comment): Remove functions.
4806 (prolog-find-unmatched-paren, prolog-clause-end)
4807 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4808 (prolog-electric--if-then-else): Rename from
4809 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4810 (prolog-tokenize-searchkey): Remove const.
4811 (prolog-clause-info): Use forward-sexp.
4812 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4813 (prolog-electric-if-then-else): Remove commands.
4814 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4815 for use in post-self-insert-hook.
4816 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4817 for use in post-self-insert-hook.
4818 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4819 for use in post-self-insert-hook.
4820 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4821 adapt it for use in post-self-insert-hook.
4822
4823 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4824
4825 * emacs-lisp/ert.el (ert-run-tests-interactively):
4826 Use `completing-read'. (Bug#9756)
4827
4828 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4829
4830 * simple.el (line-move): Call line-move-1 instead of
4831 line-move-visual when the current window hscroll is zero, but
4832 temporary-goal-column indicates we will need to hscroll as result
4833 of the movement. (Bug#15712)
4834
4835 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4836
4837 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4838 capitalization. Use :visible instead of :active.
4839 Fix `ruby-indent-exp' reference. Add menu items for the generic
4840 commands that are used with SMIE.
4841 (ruby-do-end-to-brace): Insert space after `{'.
4842
4843 2013-10-25 John Anthony <john@jo.hnanthony.com>
4844
4845 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4846
4847 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4848
4849 2013-10-25 Glenn Morris <rgm@gnu.org>
4850
4851 * vc/vc.el (vc-print-log): Don't use a working revision unless
4852 one was explicitly specified. (Bug#15322)
4853
4854 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * subr.el (add-to-list): Preserve return value in compiler-macro
4857 (bug#15692).
4858
4859 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4860
4861 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4862 result. Ask user to retry using '-all' flag. (Bug#15701)
4863
4864 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * emacs-lisp/smie.el: New smie-config system.
4867 (smie-config): New defcustom.
4868 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4869 (smie-config-guess, smie-config-save): New commands.
4870 (smie-config--mode-local, smie-config--buffer-local)
4871 (smie-config--trace, smie-config--modefuns): New vars.
4872 (smie-config--advice, smie-config--mode-hook)
4873 (smie-config--setter, smie-config-local, smie-config--get-trace)
4874 (smie-config--guess-value, smie-config--guess): New functions.
4875 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4876 text properties. Treat "string fence" syntax like string syntax.
4877
4878 * progmodes/sh-script.el (sh-use-smie): Change default.
4879 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4880 (sh-var-value): Simplify by CSE.
4881 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4882 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4883 is used.
4884 (sh-guess-basic-offset): Use cl-incf.
4885 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4886
4887 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4888
4889 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4890 (bug#15699).
4891
4892 2013-10-24 Glenn Morris <rgm@gnu.org>
4893
4894 * Makefile.in (abs_top_srcdir): Remove.
4895 (update-subdirs): Use relative path to update-subdirs.
4896
4897 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4898
4899 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4900 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4901 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4902 Call unmsys--file-name before expand-file-name, not after it.
4903
4904 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4905
4906 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4907 (ert-test-skipped): New error.
4908 (ert-skip, ert-stats-skipped): New defuns.
4909 (ert--skip-unless): New macro.
4910 (ert-test-skipped): New struct.
4911 (ert--run-test-debugger, ert-test-result-type-p)
4912 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4913 (ert--stats-set-test-and-result, ert-char-for-test-result)
4914 (ert-string-for-test-result, ert-run-tests-batch)
4915 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4916 Handle skipped tests. (Bug#9803)
4917
4918 2013-10-24 Glenn Morris <rgm@gnu.org>
4919
4920 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4921
4922 * Makefile.in (abs_top_srcdir): New, set by configure.
4923 (update-subdirs): Correct build-aux location.
4924
4925 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4926
4927 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4928 value, whether we could auto-deduce `backend', or not.
4929
4930 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4931 with parameters" example. Simplify the "is it block or is it
4932 hash" check, but also make it more thorough.
4933
4934 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4935
4936 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4937
4938 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4941 { if it is hanging.
4942
4943 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4944 :before ";".
4945
4946 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4947
4948 * progmodes/compile.el (compilation-directory-matcher)
4949 (compilation-page-delimiter):
4950 Support GNU Make-4.0 directory quoting. (Bug#15678)
4951
4952 2013-10-23 Leo Liu <sdl.web@gmail.com>
4953
4954 * ido.el (ido-tidy): Handle read-only text.
4955
4956 2013-10-23 Glenn Morris <rgm@gnu.org>
4957
4958 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4959 (emacs, compile, compile-always):
4960 Quote entities that might contain whitespace.
4961 (custom-deps, finder-data, autoloads): Use abs_lisp.
4962 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4963 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4964 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4965
4966 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4967
4968 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4969 Use `following-char'.
4970
4971 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4974 * progmodes/ruby-mode.el (ruby-smie-rules):
4975 Remove corresponding workaround. Fix indentation rule of ";" so it
4976 also applies when ";" is the parent.
4977
4978 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4979
4980 * frame.el (display-screens, display-pixel-height)
4981 (display-pixel-width, display-mm-width, display-backing-store)
4982 (display-save-under, display-planes, display-color-cells)
4983 (display-visual-class, display-monitor-attributes-list):
4984 Mention the optional ‘display’ argument in doc strings.
4985
4986 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4987
4988 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4989 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4990
4991 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4992
4993 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4994 TODO. Add "." after " @ ".
4995 (ruby-smie--at-dot-call): New function. Checks if point at method
4996 call with explicit target.
4997 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4998 to the method name tokens when it precedes them.
4999 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5000 (ruby-smie-rules): Add rule for indentation before and after "."
5001 token.
5002
5003 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * textmodes/remember.el (remember-diary-extract-entries):
5006 Avoid add-to-list.
5007
5008 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5009 an instruction.
5010
5011 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5012
5013 * progmodes/ruby-mode.el (ruby-smie-grammar):
5014 Add (almost) all infix operators.
5015 (ruby-smie--implicit-semi-p): Add new operator chars.
5016
5017 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5018 `smie-down-list'.
5019 (ruby-smie--args-separator-p): Check that there's no newline
5020 between method call and its arguments.
5021
5022 2013-10-20 Alan Mackenzie <acm@muc.de>
5023
5024 Allow comma separated lists after Java "implements".
5025
5026 * progmodes/cc-engine.el (c-backward-over-enum-header):
5027 Parse commas.
5028 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5029 from a "disallowed" list in enum fontification.
5030
5031 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5032
5033 * startup.el (default-frame-background-mode): Remove unused defvar.
5034
5035 * progmodes/verilog-mode.el (verilog-mode): Don't set
5036 comment-indent-function globally.
5037
5038 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5039
5040 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5041 Move Info menu item creation to ns-win.el.
5042
5043 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5044 in menu bar.
5045
5046 * menu-bar.el: Move GNUstep specific menus...
5047
5048 * term/ns-win.el (ns-initialize-window-system): ... to here.
5049
5050 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * simple.el (newline): Only run post-self-insert-hook when
5053 called interactively.
5054
5055 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5056
5057 * icomplete.el (icomplete-with-completion-tables): Add :version.
5058
5059 2013-10-19 Alan Mackenzie <acm@muc.de>
5060
5061 Fix fontification bugs with constructors and const.
5062
5063 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5064 CASE 2) Remove the check for the absence of a suffix construct
5065 after a function declaration with only types (no identifiers) in
5066 the parentheses. Also, accept a function declaration with just a
5067 type inside the parentheses, if this type can be positively
5068 recognised as such, or if a prefix keyword like "explicit" nails
5069 down the construct as a declaration.
5070
5071 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5072
5073 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5074 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5075 the problem whereby selecting a menu item that leads to a
5076 minibuffer prompt moves the cursor out of the minibuffer window,
5077 making it hard to type at the prompt. Suggested by Stefan Monnier
5078 <monnier@iro.umontreal.ca>.
5079
5080 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5081
5082 * menu-bar.el: Don't make Services menu.
5083
5084 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5085
5086 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5087 (ffap-alist): Use ffap-c++-mode for c++-mode.
5088 (ffap-c++-path): New variable.
5089 (ffap-c++-mode): New function.
5090
5091 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5092
5093 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5094
5095 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5096
5097 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5098 introduced on 2013-09-08, which results in an infinite loop
5099 requesting a password.
5100
5101 2013-10-18 Glenn Morris <rgm@gnu.org>
5102
5103 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5104
5105 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5106
5107 Sync with upstream verilog-mode revision 1a6ecec7.
5108 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5109 (verilog-mode-release-date): Remove.
5110 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5111 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5112 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5113 (verilog-auto-tieoff-ignore-regexp)
5114 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5115 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5116 (verilog-signals-with, verilog-dir-cache-preserving)
5117 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5118 Doc fixes.
5119 (verilog-case-fold): New option, to control case folding in
5120 regexp searches, bug597.
5121 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5122 (verilog-string-match-fold, verilog-in-paren-count)
5123 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5124 (verilog-at-close-struct-p): New functions.
5125 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5126 (verilog-forward-sexp, verilog-set-auto-endcomments)
5127 (verilog-leap-to-case-head): Handle "unique0" case.
5128 (verilog-in-constraint-re): New constant.
5129 (verilog-keywords, verilog-type-font-keywords):
5130 Add some SystemVerilog 1800-2012 keywords.
5131 (verilog-label-be): Remove unimplemented argument, bug669.
5132 (verilog-batch-execute-func): When batch expanding clear
5133 create-lockfiles to prevent spurious user locks when a file ends
5134 up not changing.
5135 (verilog-calculate-indent, verilog-calc-1)
5136 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5137 (verilog-do-indent): Fix indentation of nested constraints
5138 and structures.
5139 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5140 (verilog-auto-inst-param): Use verilog-string-match-fold.
5141 (verilog-read-inst-module-matcher):
5142 Fix AUTOINST on gate primitives with #1.
5143 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5144 Reads all user-defined typed variables.
5145 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5146 (verilog-signals-matching-regexp)
5147 (verilog-signals-not-matching-regexp, verilog-auto):
5148 Respect verilog-case-fold.
5149 (verilog-diff-report): Fix line count.
5150 (verilog-auto-assign-modport): Remove unused local `modi'.
5151 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5152 better handle multidimensional arrays.
5153 Fix packed array ports misadding bit index in AUTOINST, bug637.
5154 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5155 to not double-declare existing outputs and inputs, respectively.
5156 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5157 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5158 (verilog-sk-uvm-component): New skeleton.
5159 (verilog-submit-bug-report): Add verilog-case-fold,
5160 remove verilog-mode-release-date.
5161
5162 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5163
5164 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5165 as before.
5166
5167 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5168
5169 * textmodes/remember.el (remember): Set buffer-offer-save in
5170 remember buffers (bug#13566).
5171
5172 2013-10-18 Daniel Colascione <dancol@dancol.org>
5173
5174 When evaluating forms in ielm, direct standard output to ielm
5175 buffer. Add new ielm-return-for-effect command. Remove trailing
5176 whitespace throughout.
5177
5178 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5179 (ielm-return-for-effect): New command.
5180 (ielm-send-input): Accept optional `for-effect' parameter.
5181 (ielm-eval-input): Accept optional `for-effect' parameter.
5182 Bind `standard-output' to stream we create using
5183 `ielm-standard-output-impl'. Suppress printing result when
5184 `for-effect'.
5185 (ielm-standard-output-impl): New function.
5186 (inferior-emacs-lisp-mode): Explain new features in documentation.
5187
5188 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5189
5190 Code cleanup.
5191
5192 * net/tramp.el (tramp-debug-message): Do not check for connection
5193 buffer.
5194 (tramp-message): Use "vector" connection property.
5195
5196 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5197 (tramp-equal-remote, tramp-eshell-directory-change)
5198 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5199 (tramp-adb-handle-rename-file)
5200 * net/tramp-cmds.el (tramp-list-remote-buffers)
5201 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5202 * net/tramp-compat.el (tramp-compat-process-running-p)
5203 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5204 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5205 (tramp-gvfs-handle-rename-file)
5206 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5207 (tramp-set-file-uid-gid)
5208 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5209 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5210 of `file-remote-p'.
5211
5212 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5213 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5214 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5215 (tramp-gw-open-network-stream): Suppress unrelated traces.
5216
5217 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5218 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5219 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5220 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5221 connection property.
5222
5223 * net/tramp-cache.el (top): Suppress traces when reading
5224 persistency file.
5225
5226 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5227 Refactor common code. Improve debug message.
5228 (tramp-maybe-open-connection)
5229 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5230 connection buffer too early.
5231
5232 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5233 from `tramp-smb-actions-with-acl'.
5234 (tramp-smb-actions-set-acl): New defconst.
5235 (tramp-smb-handle-copy-directory)
5236 (tramp-smb-action-get-acl): New defun, renamed from
5237 `tramp-smb-action-with-acl'.
5238 (tramp-smb-action-set-acl): New defun.
5239 (tramp-smb-handle-set-file-acl): Rewrite.
5240
5241 2013-10-17 Glenn Morris <rgm@gnu.org>
5242
5243 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5244
5245 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5246
5247 * skeleton.el (skeleton-newline): Remove.
5248 (skeleton-internal-1): Use (insert "\n") instead.
5249
5250 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5251 let-bindings.
5252
5253 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5254 forward-sexp-function while we redo its job (bug#15613).
5255
5256 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5257
5258 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5259 represented by lists.
5260
5261 2013-10-16 Glenn Morris <rgm@gnu.org>
5262
5263 * tmm.el (tmm--history): New dynamic variable.
5264 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5265
5266 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5267
5268 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5269 (tramp-smb-errors): Add error messages.
5270 (tramp-smb-actions-with-acl): New defconst.
5271 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5272 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5273 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5274 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5275 (tramp-smb-get-stat-capability): Fix tests.
5276
5277 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5278
5279 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5280 (bug#15580).
5281
5282 2013-10-16 Glenn Morris <rgm@gnu.org>
5283
5284 * ansi-color.el (ansi-color-drop-regexp):
5285 Add 1J, 1K, 2K. (Bug#15617)
5286
5287 * files.el (hack-local-variables--warned-lexical): New.
5288 (hack-local-variables):
5289 Warn about misplaced lexical-binding. (Bug#15616)
5290
5291 * net/eww.el (eww-render): Always set eww-current-url,
5292 and update header line. (Bug#15622)
5293 (eww-display-html): ... Rather than just doing it here.
5294
5295 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5296
5297 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5298 menu navigations commands.
5299
5300 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5301
5302 * progmodes/subword.el (subword-capitalize): Be careful when
5303 the search for [[:alpha:]] fails (bug#15580).
5304
5305 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5306
5307 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5308 to commands that scroll the menu.
5309
5310 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5311
5312 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5313 Handle methods ending with `?' and `!'.
5314
5315 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5316
5317 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5318 `japanese-cp932' to `cp932' to fix the problem where saving a
5319 source file written in Shift_JIS twice would end up having
5320 `coding: japanese-cp932' which Ruby could not recognize.
5321 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5322 in `ruby-encoding-map'.
5323 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5324 doesn't need to be explicitly declared in magic comment.
5325 (ruby-encoding-map): Add type declaration for better customize UI.
5326
5327 2013-10-13 Glenn Morris <rgm@gnu.org>
5328
5329 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5330 Occur buffers are read-only. http://bugs.debian.org/720775
5331
5332 * emacs-lisp/authors.el (authors-fixed-entries):
5333 Comment out old alpha stuff.
5334
5335 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5336
5337 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5338 to `after-save-hook' instead of `before-save-hook'.
5339 (ruby-mode-set-encoding): Use the value of coding system used to
5340 write the file. Call `basic-save-buffer-1' after modifying the
5341 buffer.
5342
5343 2013-10-13 Alan Mackenzie <acm@muc.de>
5344
5345 Fix indentation/fontification of Java enum with
5346 "implements"/generic.
5347
5348 * progmodes/cc-engine.el (c-backward-over-enum-header):
5349 Extracted from the three other places and enhanced to handle generics.
5350 (c-inside-bracelist-p): Uses new function above.
5351 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5352 function above.
5353 (c-font-lock-enum-tail): Uses new function above.
5354
5355 2013-10-13 Kenichi Handa <handa@gnu.org>
5356
5357 * international/mule-cmds.el (select-safe-coding-system): Remove a
5358 superfluous condition in chekcing whether a coding system is safe
5359 or not.
5360
5361 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5362
5363 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5364
5365 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5366
5367 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5368
5369 2013-10-13 Glenn Morris <rgm@gnu.org>
5370
5371 * menu-bar.el (menu-bar-update-buffers):
5372 Unify Buffers menu prompt string. (Bug#15576)
5373
5374 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5375
5376 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5377 Add some entries.
5378 (authors-fixed-entries): Use accented form of name.
5379
5380 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5383 method calls (bug#15594).
5384 (ruby-smie--args-separator-p): New function.
5385 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5386 recognize paren-free method calls.
5387
5388 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5389 internals of universal-argument.
5390
5391 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5392
5393 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5394 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5395 dropped menu on second mouse click on the menu bar.
5396
5397 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5400 (explicit-shell-file-name): Declare.
5401 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5402 (sh-completion-at-point-function): New function.
5403 (sh-mode): Use it.
5404 (sh-smie--keyword-p): Remove unused argument.
5405 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5406 vars.
5407 (sh-set-shell): Always setup SMIE, even if we use the
5408 old indentation code.
5409
5410 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5411
5412 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5413 cases of ? and =.
5414 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5415 predicate would return nil are almost non-existent.
5416 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5417
5418 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5419 cache also after commands that modify the buffer but don't move
5420 point.
5421
5422 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5423
5424 * env.el (substitute-env-in-file-name): New function.
5425 (substitute-env-vars): Extend the meaning of the optional arg.
5426
5427 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5428
5429 * term/w32-win.el (dynamic-library-alist): Define separate lists
5430 of GIF DLLs for versions before and after 5.0.0 of giflib.
5431 (Bug#15531)
5432
5433 2013-10-10 João Távora <joaotavora@gmail.com>
5434
5435 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5436 not locked, use last revision and current source as
5437 defaults. (Bug#15569)
5438
5439 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5440
5441 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5442 menu-bar is hidden.
5443
5444 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5445
5446 * window.el (pop-to-buffer-same-window): Fix doc-string.
5447 (Bug#15492)
5448
5449 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5452
5453 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5454
5455 * calendar/icalendar.el (icalendar-import-file):
5456 Fix interactive spec. (Bug#15482)
5457
5458 2013-10-10 Glenn Morris <rgm@gnu.org>
5459
5460 * desktop.el (desktop-save): Default to saving in .emacs.d,
5461 since PWD is no longer in desktop-path by default. (Bug#15319)
5462
5463 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5464 now that text mode has a menu with the same entry.
5465 (menu-bar-text-mode-auto-fill): Remove now unused func.
5466 * textmodes/text-mode.el (text-mode-map):
5467 Use auto-fill help text from menu-bar.el.
5468
5469 2013-10-10 John Anthony <john@jo.hnanthony.com>
5470
5471 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5472
5473 2013-10-09 Juri Linkov <juri@jurta.org>
5474
5475 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5476 instead of this-command-keys. Add universal-argument-more and
5477 universal-argument-minus to the list of prefix commands. (Bug#15568)
5478
5479 2013-10-09 Glenn Morris <rgm@gnu.org>
5480
5481 * vc/vc-svn.el (vc-svn-create-repo):
5482 Expand paths in file://... url. (Bug#15446)
5483
5484 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5485 Add some entries.
5486 (authors): Remove unused local variables.
5487
5488 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * profiler.el: Create a more coherent calltree from partial backtraces.
5491 (profiler-format): Hide the tail with `invisible' so that C-s can still
5492 find the hidden elements.
5493 (profiler-calltree-depth): Don't recurse so enthusiastically.
5494 (profiler-function-equal): New hash-table-test.
5495 (profiler-calltree-build-unified): New function.
5496 (profiler-calltree-build): Use it.
5497 (profiler-report-make-name-part): Indent the calltree less.
5498 (profiler-report-mode): Add visibility specs for profiler-format.
5499 (profiler-report-expand-entry, profiler-report-toggle-entry):
5500 Expand the whole subtree when provided with a prefix arg.
5501
5502 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5503
5504 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5505 iuwu-mod token.
5506 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5507 hanging iuwu-mod token.
5508 (ruby-smie--forward-token): Do not include a dot after a token in
5509 that token.
5510 (ruby-smie--backward-token): Likewise.
5511
5512 2013-10-08 Juri Linkov <juri@jurta.org>
5513
5514 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5515 to isearch-other-control-char.
5516 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5517 and isearch-post-command-hook to post-command-hook.
5518 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5519 and isearch-post-command-hook from post-command-hook.
5520 (isearch-unread-key-sequence)
5521 (isearch-reread-key-sequence-naturally)
5522 (isearch-lookup-scroll-key, isearch-other-control-char)
5523 (isearch-other-meta-char): Remove functions.
5524 (isearch-pre-command-hook, isearch-post-command-hook):
5525 New functions based on isearch-other-meta-char rewritten
5526 relying on the new behavior of overriding-terminal-local-map
5527 that does not replace the local keymaps any more. (Bug#15200)
5528
5529 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5530
5531 Support menus on text-mode terminals.
5532 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5533 functionality.
5534
5535 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5536
5537 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5538 Move here from mouse.el.
5539 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5540 and arrow keys.
5541 (tty-menu-navigation-map): New map for TTY menu navigation.
5542
5543 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5544
5545 * frame.el (display-mouse-p): Report text-mode mouse as available
5546 on w32.
5547 (display-popup-menus-p): Report availability if mouse is
5548 available; don't condition on window-system.
5549
5550 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5551 (tty-menu-selected-face): New faces.
5552
5553 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5556 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5557 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5558 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5559 New constants.
5560 (lisp-mode-variables): New `elisp' argument.
5561 (emacs-lisp-mode): Use it.
5562 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5563 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5564
5565 * indent.el: Use lexical-binding.
5566 (indent-region): Add progress reporter.
5567 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5568 last step.
5569 (indent--next-tab-stop): New function to implement this behavior.
5570 (tab-to-tab-stop, move-to-tab-stop): Use it.
5571
5572 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5573
5574 * indent.el (indent-rigidly--current-indentation): New function.
5575 (indent-rigidly-map): New var.
5576 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5577
5578 2013-10-08 Bastien Guerry <bzg@gnu.org>
5579
5580 * register.el (insert-register): Fix 2013-10-07 change.
5581
5582 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * progmodes/perl-mode.el: Use lexical-binding.
5585 Remove redundant :group args.
5586 (perl-nochange): Change default to be closer to other major modes's
5587 standard behavior.
5588 (perl-indent-line): Don't consider text on current line as a
5589 valid beginning of function from which to indent.
5590
5591 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5592 with more than one argument (bug#15538).
5593
5594 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5595
5596 * vc/pcvs.el: Use lexical-binding.
5597 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5598 environment of `eval'.
5599 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5600 than a list of expressions. Adjust callers.
5601 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5602
5603 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5604
5605 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5606 case of the dot in a chained method call being on the following line.
5607
5608 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * electric.el (electric-indent-inhibit): New var.
5611 (electric-indent-post-self-insert-function): Use it.
5612 * progmodes/python.el (python-mode): Set it.
5613
5614 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5615 open braces.
5616
5617 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5618
5619 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5620 (css-mode): Use electric-indent-chars.
5621
5622 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5623 (font-lock-beg, font-lock-end): Move before first use.
5624 (nxml-mode): Use syntax-propertize-function.
5625 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5626 (nxml-extend-after-change-region): Remove.
5627 * nxml/xmltok.el: Use lexical-binding.
5628 (xmltok-save): Use `declare'.
5629 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5630 * nxml/nxml-util.el: Use lexical-binding.
5631 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5632 Use `declare'.
5633 * nxml/nxml-ns.el: Use lexical-binding.
5634 (nxml-ns-save): Use `declare'.
5635 (nxml-ns-prefixes-for): Avoid add-to-list.
5636 * nxml/rng-match.el: Use lexical-binding.
5637 (rng--ipattern): Use cl-defstruct.
5638 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5639 (rng-cons-group-after, rng-subst-group-after)
5640 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5641 Use closures instead of `(lambda...).
5642
5643 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5644
5645 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5646 of BEG and END.
5647
5648 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5649 Use `tramp-handle-insert-file-contents'.
5650 (tramp-gvfs-handle-insert-file-contents): Remove function.
5651
5652 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5653 Use `save-restriction' in order to keep markers.
5654
5655 * net/trampver.el: Update release number.
5656
5657 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * progmodes/compile.el (compilation-parse-errors):
5660 Use compilation--put-prop.
5661 (compilation--ensure-parse): Check compilation-multiline.
5662
5663 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5664
5665 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5666 lexical-binding.
5667
5668 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5669
5670 * progmodes/ruby-mode.el: Fix recently added tests.
5671 (ruby-smie-grammar): Add - and +.
5672 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5673 (ruby-smie--backward-id): New functions.
5674 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5675 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5676 any more.
5677
5678 2013-10-07 Leo Liu <sdl.web@gmail.com>
5679
5680 * register.el (register-preview-delay)
5681 (register-preview-functions): New variables.
5682 (register-read-with-preview, register-preview)
5683 (register-describe-oneline): New functions.
5684 (point-to-register, window-configuration-to-register)
5685 (frame-configuration-to-register, jump-to-register)
5686 (number-to-register, view-register, insert-register)
5687 (copy-to-register, append-to-register, prepend-to-register)
5688 (copy-rectangle-to-register): Use register-read-with-preview to
5689 read register. (Bug#15525)
5690
5691 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5692
5693 * net/network-stream.el (network-stream-open-starttls): Don't add
5694 --insecure if it's already present, because that gnutls-cli
5695 rejects getting that parameter twice.
5696
5697 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5698
5699 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5700 keyword, too.
5701
5702 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5703
5704 * newcomment.el (comment-use-global-state): Change default value
5705 to t, mark obsolete (Bug#15251).
5706 (comment-beginning): In addition to `comment-to-syntax', check the
5707 value of `comment-use-global-state'.
5708
5709 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5712 (ruby-comment-column): Follow the global default, by default.
5713 (ruby-smie-grammar): Add assignment syntax.
5714 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5715 open-paren, a comma, or a \.
5716 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5717 and line continuations.
5718 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5719 followed by implicit semi-colons. Add rule for string concatenation
5720 and for indentation at BOB.
5721 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
5722
5723 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5724 calling next-sexp, since next-token may have skipped chars which
5725 next-sexp doesn't know should be skipped!
5726
5727 2013-10-05 Leo Liu <sdl.web@gmail.com>
5728
5729 * progmodes/octave.el (octave-send-region):
5730 Call compilation-forget-errors.
5731
5732 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5733
5734 * vc/vc-svn.el (vc-svn-find-admin-dir):
5735 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5736 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5737 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5738 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5739
5740 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5741
5742 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5743
5744 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5745
5746 * subr.el (read-passwd): Hide chars even when called within a context
5747 where after-change-functions is disabled (bug#15501).
5748 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5749 until we removed ourself from overriding-terminal-local-map.
5750
5751 2013-10-04 Leo Liu <sdl.web@gmail.com>
5752
5753 * progmodes/octave.el (inferior-octave-mode):
5754 Call compilation-forget-errors.
5755
5756 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5757
5758 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5759
5760 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5761
5762 * net/secrets.el (secrets-create-collection): Add optional
5763 argument ALIAS. Use proper Label keyword. Append ALIAS as
5764 dbus-call-method argument. (Bug#15516)
5765
5766 2013-10-04 Leo Liu <sdl.web@gmail.com>
5767
5768 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5769 (inferior-octave-compilation-font-lock-keywords): New variables.
5770 (compilation-error-regexp-alist)
5771 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5772 (inferior-octave-mode): Use compilation-shell-minor-mode.
5773
5774 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5775
5776 * minibuffer.el (completion--replace): Be careful that `end' might be
5777 a marker.
5778
5779 2013-10-03 Daiki Ueno <ueno@gnu.org>
5780
5781 Add support for package signature checking.
5782 * emacs-lisp/package.el (url-http-file-exists-p)
5783 (epg-make-context, epg-context-set-home-directory)
5784 (epg-verify-string, epg-context-result-for)
5785 (epg-signature-status, epg-signature-to-string)
5786 (epg-check-configuration, epg-configuration)
5787 (epg-import-keys-from-file): Declare.
5788 (package-check-signature): New user option.
5789 (package-unsigned-archives): New user option.
5790 (package-desc): Add `signed' field.
5791 (package-load-descriptor): Set `signed' field if .signed file exists.
5792 (package--archive-file-exists-p): New function.
5793 (package--check-signature): New function.
5794 (package-install-from-archive): Check package signature.
5795 (package--download-one-archive): Check archive signature.
5796 (package-delete): Remove .signed file.
5797 (package-import-keyring): New command.
5798 (package-refresh-contents): Import default keyring.
5799 (package-desc-status): Add "unsigned" status.
5800 (describe-package-1, package-menu--print-info)
5801 (package-menu-mark-delete, package-menu--find-upgrades)
5802 (package-menu--status-predicate): Support "unsigned" status.
5803
5804 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5807 the new compilation scheme using the new byte-codes.
5808
5809 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5810 (byte-pophandler): New byte codes.
5811 (byte-goto-ops): Adjust accordingly.
5812 (byte-compile--use-old-handlers): New var.
5813 (byte-compile-catch): Use new byte codes depending on
5814 byte-compile--use-old-handlers.
5815 (byte-compile-condition-case--old): Rename from
5816 byte-compile-condition-case.
5817 (byte-compile-condition-case--new): New function.
5818 (byte-compile-condition-case): New function that dispatches depending
5819 on byte-compile--use-old-handlers.
5820 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5821 when we can.
5822
5823 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5824 Optimize under `condition-case' and `catch' if
5825 byte-compile--use-old-handlers is nil.
5826 (disassemble-offset): Handle new bytecodes.
5827
5828 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5829
5830 * subr.el (error): Use `declare'.
5831 (decode-char, encode-char): Use advertised-calling-convention instead
5832 of the docstring to discourage use of the `restriction' arg.
5833
5834 2013-10-03 Daiki Ueno <ueno@gnu.org>
5835
5836 * epg.el (epg-verify-file): Add a comment saying that it does not
5837 notify verification error as a return value nor a signal.
5838 (epg-verify-string): Ditto.
5839
5840 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5841
5842 * progmodes/compile.el (compilation-start): Try globbing the arg to
5843 `cd' (bug#15417).
5844
5845 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5846
5847 Sync with Tramp 2.2.8.
5848
5849 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5850 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5851 * net/trampver.el: Update release number.
5852
5853 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5854
5855 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5856 and default-process-coding-system for darwin only.
5857
5858 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5861
5862 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5863
5864 * vc/vc-git.el (vc-git-grep): Disable pager.
5865
5866 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5867
5868 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5869 Use :url instead of :homepage, as per
5870 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5871
5872 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5873 non-nil, use `syntax-ppss' (Bug#15251).
5874
5875 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5876
5877 * progmodes/octave.el (inferior-octave-startup-file):
5878 Prefer ~/.emacs.d/init_octave.m.
5879
5880 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5881
5882 * emacs-lisp/package.el (package-desc-from-define):
5883 Accept additional arguments as plist, convert them to an alist and store
5884 them in the `extras' slot.
5885 (package-generate-description-file): Convert extras alist back to
5886 plist and append to the `define-package' form arguments.
5887 (package--alist-to-plist): New function.
5888 (package--ac-desc): Add `extras' slot.
5889 (package--add-to-archive-contents): Check if the archive-contents
5890 vector is long enough, and if it is, pass its `extras' slot value
5891 to `package-desc-create'.
5892 (package-buffer-info): Call `lm-homepage', pass the returned value
5893 to `package-desc-from-define'.
5894 (describe-package-1): Render the homepage button (Bug#13291).
5895
5896 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5897 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5898
5899 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5900
5901 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5902 and default-process-coding-system to utf-8-unix (Bug#15402).
5903
5904 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5905
5906 * subr.el (looking-back): Do not recommend using looking-back.
5907
5908 2013-09-28 Alan Mackenzie <acm@muc.de>
5909
5910 Fix indentation/fontification of Java enum with "implements".
5911
5912 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5913 regexp which matches "implements", etc., in Java.
5914 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5915 specifier clauses coming after "enum".
5916 * progmodes/cc-fonts.el (c-font-lock-declarations)
5917 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5918 after "enum".
5919
5920 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5921
5922 * faces.el (region): Change ns_selection_color to
5923 ns_selection_fg_color, add ns_selection_bg_color.
5924
5925 2013-09-28 Leo Liu <sdl.web@gmail.com>
5926
5927 * progmodes/octave.el (inferior-octave-completion-table)
5928 (inferior-octave-completion-at-point): Minor tweaks.
5929
5930 * textmodes/ispell.el (ispell-lookup-words): Rename from
5931 lookup-words. (Bug#15460)
5932 (lookup-words): Obsolete.
5933 (ispell-complete-word, ispell-command-loop): All uses changed.
5934
5935 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5936
5937 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5938 (octave-mode-menu): Add octave-send-buffer.
5939 (octave-send-buffer): New function.
5940
5941 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5942
5943 * progmodes/octave.el (octave-mode-map): Add key binding for
5944 octave-lookfor.
5945 (octave-mode-menu): Add octave-lookfor.
5946 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5947 octave-lookfor.
5948 (octave-lookfor): New function.
5949
5950 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
5953 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5954 its convention.
5955 (cl--loop-set-iterator-function): New function.
5956 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5957 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5958 Bind `it' with `let' instead of substituting it with `cl-subst'.
5959 (cl--unused-var-p): New function.
5960 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5961 Eliminate some unused variable warnings (bug#15326).
5962
5963 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5964
5965 * doc-view.el (doc-view-scale-reset): Rename from
5966 `doc-view-reset-zoom-level'.
5967 (doc-view-scale-adjust): New command.
5968 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5969 `doc-view-scale-adjust'.
5970
5971 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5972
5973 * doc-view.el (doc-view-reset-zoom-level): New command.
5974 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5975 zoom commands (bug#15466).
5976
5977 2013-09-26 Kenichi Handa <handa@gnu.org>
5978
5979 * international/quail.el (quail-help): Make it not a command.
5980
5981 2013-09-26 Leo Liu <sdl.web@gmail.com>
5982
5983 * minibuffer.el (completion-all-sorted-completions): Make args
5984 optional as they are.
5985
5986 2013-09-25 Daniel Colascione <dancol@dancol.org>
5987
5988 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5989 specs are and that they're not evaluated.
5990
5991 2013-09-24 Sam Steingold <sds@gnu.org>
5992
5993 * midnight.el (clean-buffer-list-kill-regexps)
5994 (clean-buffer-list-kill-buffer-names): Update for the new Man
5995 buffer naming which includes the object name.
5996
5997 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6000 (eshell-parse-command, eshell-parse-pipeline): Use it since
6001 eshell-separate-commands requires a dynamic scoped var.
6002 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6003
6004 2013-09-23 Leo Liu <sdl.web@gmail.com>
6005
6006 * autoinsert.el (auto-insert-alist): Make the value of
6007 lexical-binding match its file setting.
6008
6009 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6010
6011 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6012
6013 * autoarg.el (autoarg-kp-digit-argument):
6014 * electric.el (Electric-command-loop):
6015 * kmacro.el (kmacro-step-edit-insert):
6016 Do not set universal-argument-num-events.
6017
6018 2013-09-22 Leo Liu <sdl.web@gmail.com>
6019
6020 * files.el (interpreter-mode-alist): Add octave.
6021
6022 2013-09-21 Alan Mackenzie <acm@muc.de>
6023
6024 C++: fontify identifier in declaration following "public:" correctly.
6025 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6026 to match "public", etc.
6027 (c-decl-prefix-re): Add ":" into the C++ value.
6028 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6029 bit. Add a check for a ":" preceded by "public", etc.
6030
6031 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6032
6033 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6034 recognized by GDB 7.5 and later.
6035
6036 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6037
6038 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6039
6040 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6041
6042 * subr.el (internal--call-interactively): New const.
6043 (called-interactively-p): Use it (bug#3984).
6044
6045 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6046
6047 * vc/pcvs.el (cvs-mode-ignore):
6048 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6049 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6050
6051 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6052
6053 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6054 (eshell-ls-orig-insert-directory): Remove.
6055 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6056 (eshell-ls-use-in-dired): Use advice-add/remove.
6057 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6058 Add `orig-fun' arg for use in :around advice.
6059 Make it check (redundantly) eshell-ls-use-in-dired.
6060
6061 2013-09-19 Glenn Morris <rgm@gnu.org>
6062
6063 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6064
6065 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6066
6067 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6068
6069 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6070
6071 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6072 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6073 (tramp-get-remote-python): New defuns.
6074 (tramp-get-remote-uid-with-perl)
6075 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6076 contributed by yary <not.com@gmail.com> (tiny change).
6077 (tramp-get-remote-uid-with-python)
6078 (tramp-get-remote-gid-with-python): New defuns. Python code
6079 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6080 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6081
6082 2013-09-19 Glenn Morris <rgm@gnu.org>
6083
6084 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6085
6086 * eshell/em-unix.el (eshell-remove-entries):
6087 Rename argument to avoid name-clash with global `top-level'.
6088
6089 * eshell/esh-proc.el (eshell-kill-process-function):
6090 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6091 (eshell-reset-after-proc): Remove unused arg `proc'.
6092
6093 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6094 (directory-files-and-attributes): Mark unused arg.
6095
6096 * eshell/em-unix.el (eshell-remove-entries):
6097 Remove unused arg `path'. Update callers.
6098
6099 * eshell/em-hist.el (eshell-hist-parse-arguments):
6100 Remove unused arg `silent'. Update callers.
6101
6102 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6103 Fix (f)boundp mix-up.
6104
6105 * eshell/em-smart.el (eshell-smart-scroll-window)
6106 (eshell-disable-after-change):
6107 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6108
6109 2013-09-18 Alan Mackenzie <acm@muc.de>
6110
6111 Fix fontification of type when followed by "const".
6112 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6113 "known" types from fontification.
6114
6115 2013-09-18 Glenn Morris <rgm@gnu.org>
6116
6117 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6118 (chart-face-list): Drop Emacsen without display-color-p.
6119
6120 * net/eww.el (libxml-parse-html-region): Declare.
6121 (eww-display-html): Explicit error if no libxml2 support.
6122
6123 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6124
6125 * image.el (image-type-from-buffer, image-multi-frame-p):
6126 Remove --without-x warning/error.
6127
6128 * mouse.el (mouse-yank-primary):
6129 * term.el (term-mouse-paste):
6130 Reorder to silence --without-x compilation.
6131
6132 * mpc.el (doc-view-mode): Silence --without-x compilation.
6133
6134 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6135 Silence --without-x compilation.
6136
6137 * progmodes/gud.el (gud-find-file, gud-mode):
6138 Silence --without-x compilation.
6139 (tooltip-mode): Declare.
6140
6141 * wdired.el (dired-backup-overwrite): Remove declaration.
6142 (wdired-mode-map): Add doc string.
6143
6144 * custom.el (x-get-resource): Declare.
6145
6146 * eshell/em-glob.el (ange-cache):
6147 * eshell/em-unix.el (ange-cache): Declare.
6148
6149 * faces.el (x-display-list, x-open-connection, x-get-resource):
6150 Declare.
6151
6152 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6153 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6154 Declare.
6155
6156 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6157
6158 * net/gnutls.el (gnutls-log-level): Declare.
6159
6160 * net/shr.el (image-size, image-animate): Declare.
6161
6162 * simple.el (font-info): Declare.
6163
6164 * subr.el (x-popup-dialog): Declare.
6165
6166 * term/common-win.el (x-select-enable-primary)
6167 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6168 Declare.
6169
6170 * term/ns-win.el (x-handle-args): Declare.
6171
6172 * term/x-win.el (x-select-enable-clipboard): Declare.
6173
6174 * term/w32-win.el (create-default-fontset): Declare.
6175
6176 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6177 Declare.
6178
6179 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6180 (fit-frame-to-buffer): Explicit error if --without-x.
6181 (mouse-autoselect-window-select): Silence compiler.
6182
6183 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6184
6185 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6186 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6187 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6188 * eshell/esh-util.el (eshell-sublist):
6189 Remove unused local variables.
6190
6191 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6192
6193 * textmodes/two-column.el: Make 2C-split work for --without-x.
6194 (scroll-bar-columns): Autoload.
6195 (top-level): Require fringe when compiling.
6196
6197 2013-09-18 Leo Liu <sdl.web@gmail.com>
6198
6199 * subr.el (add-hook): Robustify to handle closure as well.
6200
6201 2013-09-17 Glenn Morris <rgm@gnu.org>
6202
6203 * simple.el (messages-buffer-mode-map): Unbind "g".
6204
6205 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * help-mode.el (help-mode-finish): Use derived-mode-p.
6208 Remove obsolete highlighting.
6209
6210 * play/life.el (life-mode): Use define-derived-mode. Derive from
6211 special-mode.
6212 (life): Let-bind inhibit-read-only.
6213 (life-setup): Avoid `setq'. Use `life-mode'.
6214
6215 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6216 which should not be needed any more.
6217 (package-menu-refresh, package-menu-describe-package): Use user-error.
6218
6219 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6220 (eshell-post-rewrite-command-hook): Make obsolete.
6221 (eshell-parse-command): Simplify.
6222 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6223 (eshell--cmd): Declare.
6224 (eshell-parse-pipeline): Remove unused var `final-p'.
6225 Pass a dynvar to eshell-post-rewrite-command-hook.
6226 Implement the new eshell-post-rewrite-command-function.
6227 (eshell-invoke-directly): Remove unused arg `input'.
6228 * eshell/esh-io.el (eshell-io-initialize):
6229 Use eshell-post-rewrite-command-function (bug#15399).
6230 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6231 adjust to new calling convention.
6232 (eshell-create-handles): Rename args to avoid clashing with dynvar
6233 `standard-output'.
6234
6235 2013-09-17 Glenn Morris <rgm@gnu.org>
6236
6237 * simple.el (messages-buffer-mode): New major mode.
6238 (messages-buffer): New function.
6239 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6240 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6241 (ert-run-test): Use `messages-buffer' function.
6242 (ert--force-message-log-buffer-truncation): Ignore read-only.
6243 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6244 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6245
6246 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6247
6248 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6249
6250 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6251
6252 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * icomplete.el (icomplete-in-buffer): New var.
6255 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6256 vars and replace them with functions.
6257 (icomplete-minibuffer-setup): Adjust accordingly.
6258 (icomplete--completion-table, icomplete--completion-predicate)
6259 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6260 New functions.
6261 (icomplete-forward-completions, icomplete-backward-completions)
6262 (icomplete-simple-completing-p, icomplete-exhibit)
6263 (icomplete-completions): Use them.
6264 (icomplete--in-region-buffer): New var.
6265 (icomplete--in-region-setup): New function.
6266 (icomplete-mode): Use it.
6267
6268 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6269 (bug#15379).
6270 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6271 return args and options.
6272 (eshell-eval-using-options): Use the new return value of
6273 eshell--do-opts to set the options's vars in their scope.
6274 (eshell--set-option): Rename from eshell-set-option.
6275 Add arg `opt-vals'.
6276 (eshell--process-option): Rename from eshell-process-option.
6277 Add arg `opt-vals'.
6278 (eshell--process-args): Use an `opt-vals' alist to store the options's
6279 values during their processing and return them additionally to the
6280 remaining args.
6281
6282 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6283
6284 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6285 continuation character an operator, as far as indentation is
6286 concerned (Bug#15369).
6287
6288 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6289
6290 * window.el (window--state-put-2): Don't process buffer state
6291 when buffer doesn't exist any more (Bug#15382).
6292
6293 2013-09-15 Glenn Morris <rgm@gnu.org>
6294
6295 * eshell/em-unix.el (eshell/rm):
6296 Make -f ignore missing files. (Bug#15373)
6297
6298 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6299 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6300 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6301
6302 2013-09-14 Glenn Morris <rgm@gnu.org>
6303
6304 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6305
6306 2013-09-13 Glenn Morris <rgm@gnu.org>
6307
6308 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6309 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6310
6311 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6312
6313 * frame.el (x-focus-frame): Mark as declared in frame.c.
6314
6315 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * ls-lisp.el: Use advice-add.
6318 (original-insert-directory): Remove.
6319 (ls-lisp--insert-directory): Rename from insert-directory; add
6320 `orig-fun' argument.
6321 (insert-directory): Advise.
6322
6323 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6324
6325 * term.el (term-emulate-terminal): Decode the command string
6326 before passing it to term-command-hook. (Bug#15337)
6327
6328 2013-09-13 Glenn Morris <rgm@gnu.org>
6329
6330 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6331
6332 * eshell/esh-ext.el (eshell-search-path): Declare.
6333
6334 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6335 Otherwise an error occurs if eshell-dirs module not loaded.
6336
6337 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6338
6339 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6340
6341 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6342 `tramp-check-proper-host'. Check for a valid method name.
6343
6344 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6345 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6346 * net/tramp-sh.el (tramp-maybe-open-connection):
6347 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6348
6349 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6350 also for hash values.
6351
6352 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6353
6354 * term/ns-win.el (parameters): Don't declare as dynamic.
6355 (before-make-frame-hook): Don't add ineffective function.
6356
6357 * eshell/*.el: Use lexical-binding (bug#15231).
6358
6359 2013-09-12 Kenichi Handa <handa@gnu.org>
6360
6361 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6362
6363 2013-09-12 Glenn Morris <rgm@gnu.org>
6364
6365 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6366 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6367
6368 * subr.el (do-after-load-evaluation): Also give compiler warnings
6369 when obsolete files are used (except by obsolete files).
6370
6371 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6372 in the status output, assume `filename' is the first. (Bug#15322)
6373
6374 * vc/vc.el (vc-deduce-fileset): Doc fix.
6375
6376 * calc/calc-help.el (Info-goto-node):
6377 * progmodes/cperl-mode.el (Info-find-node):
6378 * vc/ediff.el (Info-goto-node): Update declarations.
6379
6380 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6381
6382 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6383 (vc-bzr-pull): Require vc-dispatcher.
6384 * vc/vc-git.el (vc-compilation-mode): Declare.
6385 (vc-git-pull): Require vc-dispatcher.
6386
6387 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6388
6389 * progmodes/octave.el (help-button-action): Declare.
6390
6391 * shell.el (shell-directory-tracker): Output error as a message
6392 rather than just returning it as a string.
6393 (shell-process-pushd): Remove useless use of message.
6394
6395 * dframe.el (dframe-timer-fn):
6396 * files.el (dir-locals-read-from-file):
6397 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6398 (mpc-format):
6399 * reveal.el (reveal-post-command):
6400 * saveplace.el (load-save-place-alist-from-file):
6401 * shell.el (shell-resync-dirs):
6402 * w32-common-fns.el (x-get-selection-value):
6403 * emacs-lisp/copyright.el (copyright-find-copyright):
6404 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6405 * emulation/tpu-edt.el (tpu-copy-keyfile):
6406 * play/bubbles.el (bubbles--mark-neighbourhood):
6407 * progmodes/executable.el
6408 (executable-make-buffer-file-executable-if-script-p):
6409 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6410
6411 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 Cleanup Eshell to rely less on dynamic scoping.
6414 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6415 last-value, and ext-command here. Bind `args' closer to `body'.
6416 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6417 (eshell--args): Declare new dynamic var.
6418 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6419 last-value, and ext-command. Pass `args' to `body'.
6420 (eshell-process-args): Bind eshell--args.
6421 (eshell-set-option): Use eshell--args.
6422 * eshell/eshell.el (eshell): Use derived-mode-p.
6423 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6424 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6425 (eshell-glob-function): Declare.
6426 * eshell/esh-util.el: Require cl-lib.
6427 (eshell-read-hosts-file): Avoid add-to-list.
6428 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6429 `err'.
6430 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6431 Declare.
6432 (eshell/diff): Remove unused var `err'.
6433 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6434 `killflag'.
6435 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6436 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6437 first use.
6438 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6439 Move declaration before first use.
6440 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6441 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6442 rely on cl-return.
6443
6444 2013-09-12 Glenn Morris <rgm@gnu.org>
6445
6446 * term/ns-win.el (global-map): Remove binding for ispell-next,
6447 deleted 1999-05-29. (Bug#15357)
6448
6449 2013-09-11 Glenn Morris <rgm@gnu.org>
6450
6451 * echistory.el (electric-command-history): Remove call to deleted func.
6452
6453 * play/landmark.el (landmark-mode): Fix typos.
6454
6455 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6456 Check cvs-sort-ignore-file is bound.
6457
6458 * savehist.el: No need for cl when compiling on Emacs.
6459
6460 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6463 (bug#15338).
6464 (eshell-self-insert-command, eshell-send-invisible):
6465 Remove unused argument.
6466 (eshell-handle-control-codes): Remove unused var `orig'.
6467 Avoid delete-backward-char.
6468
6469 * files.el (set-auto-mode): Simplify a bit further.
6470
6471 2013-09-11 Glenn Morris <rgm@gnu.org>
6472
6473 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6474 (set-auto-mode): Don't regexp-quote elements.
6475 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6476 * progmodes/cc-mode.el (interpreter-mode-alist):
6477 * progmodes/ruby-mode.el (interpreter-mode-alist):
6478 Revert previous change.
6479
6480 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 * play/snake.el (snake-mode):
6483 * play/mpuz.el (mpuz-mode):
6484 * play/landmark.el (lm-mode):
6485 * play/blackbox.el (blackbox-mode):
6486 * play/5x5.el (5x5-mode):
6487 * obsolete/options.el (Edit-options-mode):
6488 * net/quickurl.el (quickurl-list-mode):
6489 * net/newst-treeview.el (newsticker-treeview-mode):
6490 * mail/rmailsum.el (rmail-summary-mode):
6491 * mail/mspools.el (mspools-mode):
6492 * locate.el (locate-mode):
6493 * ibuffer.el (ibuffer-mode):
6494 * emulation/ws-mode.el (wordstar-mode):
6495 * emacs-lisp/debug.el (debugger-mode):
6496 * array.el (array-mode):
6497 * net/eudc.el (eudc-mode): Use define-derived-mode.
6498 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6499 Move initialization into declaration.
6500 (mairix-searches-mode): Use define-derived-mode.
6501 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6502 (eudc-edit-hotlist): Use dolist.
6503 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6504 (Man-mode): Use define-derived-mode.
6505 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6506 (Info-edit-mode): Use define-derived-mode.
6507 (Info-cease-edit): Use Info-mode.
6508 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6509 into declaration.
6510 (eshell-mode): Use define-derived-mode.
6511 * chistory.el (command-history-mode-map): Rename from
6512 command-history-map.
6513 (command-history-mode): Use define-derived-mode.
6514 (Command-history-setup): Remove function.
6515 * calc/calc.el (calc-trail-mode-map): New var.
6516 (calc-trail-mode): Use define-derived-mode.
6517 (calc-trail-buffer): Set calc-main-buffer manually.
6518 * bookmark.el (bookmark-insert-annotation): New function.
6519 (bookmark-edit-annotation): Use it.
6520 (bookmark-edit-annotation-mode): Make it a proper major mode.
6521 (bookmark-send-edited-annotation): Use derived-mode-p.
6522 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6523 closer to its ideal place. Use \' to match EOS.
6524
6525 * profiler.el (profiler-calltree-find): Use function-equal.
6526
6527 2013-09-10 Glenn Morris <rgm@gnu.org>
6528
6529 * files.el (interpreter-mode-alist): Convert to regexps.
6530 (set-auto-mode): Adapt for this. (Bug#15306)
6531 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6532 Comment out unused variable.
6533 * progmodes/cc-mode.el (interpreter-mode-alist):
6534 * progmodes/python.el (interpreter-mode-alist):
6535 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6536 * progmodes/sh-script.el (sh-set-shell):
6537 No longer use interpreter-mode-alist to get list of shells.
6538
6539 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6540
6541 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * simple.el: Use set-temporary-overlay-map for universal-argument.
6544 (universal-argument-map): Don't use default-bindings (bug#15317).
6545 Bind switch-frame explicitly. Replace universal-argument-minus with
6546 a conditional binding.
6547 (universal-argument-num-events, saved-overriding-map): Remove.
6548 (restore-overriding-map): Remove.
6549 (universal-argument--mode): Rename from save&set-overriding-map,
6550 and rewrite.
6551 (universal-argument, universal-argument-more, negative-argument)
6552 (digit-argument): Adjust accordingly.
6553 (universal-argument-minus): Remove.
6554 (universal-argument-other-key): Remove.
6555
6556 * subr.el (with-demoted-errors): Add `format' argument.
6557
6558 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6559
6560 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6561 `tramp-cleanup-connection'.
6562
6563 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6564 parameters KEEP-DEBUG and KEEP-PASSWORD.
6565
6566 * net/tramp.el (tramp-file-name-handler):
6567 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6568 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6569 (tramp-maybe-open-connection):
6570 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6571 Use `tramp-cleanup-connection'.
6572
6573 * net/tramp-sh.el (tramp-maybe-open-connection):
6574 Catch 'uname-changed inside the progress reporter.
6575
6576 2013-09-10 Glenn Morris <rgm@gnu.org>
6577
6578 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6579
6580 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6581 returns "alternate access method" in mode (eg "-rw-r--r--.").
6582
6583 2013-09-08 Glenn Morris <rgm@gnu.org>
6584
6585 * saveplace.el (load-save-place-alist-from-file):
6586 Demote errors. (Bug#15305)
6587
6588 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6589
6590 Improve compatibility with older Emacsen, and XEmacs.
6591
6592 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6593 only if it is bound. It isn't for XEmacs.
6594 (with-tramp-progress-reporter): Do not let-bind `result'.
6595 This yields to scoping errors in XEmacs.
6596 (tramp-handle-make-auto-save-file-name): New function, moved from
6597 tramp-sh.el.
6598
6599 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6600 for `make-auto-save-file-name'.
6601 (tramp-adb--gnu-switches-to-ash):
6602 Use `tramp-compat-replace-regexp-in-string'.
6603
6604 * net/tramp-cache.el (tramp-cache-print): Call
6605 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6606
6607 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6608 bound. It isn't for XEmacs.
6609
6610 * net/tramp-compat.el (tramp-compat-copy-file):
6611 Catch `wrong-number-of-arguments' error.
6612 (tramp-compat-replace-regexp-in-string): New defun.
6613
6614 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6615 for `make-auto-save-file-name'.
6616 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6617 `copy-file'.
6618 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6619 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6620 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6621
6622 * net/tramp-gw.el (tramp-gw-open-network-stream):
6623 Use `tramp-compat-replace-regexp-in-string'.
6624
6625 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6626 Call `tramp-handle-make-auto-save-file-name'.
6627 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6628 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6629 (tramp-sh-file-inotifywait-process-filter):
6630 Use `tramp-compat-replace-regexp-in-string'.
6631 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6632
6633 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6634 for `make-auto-save-file-name'.
6635 (tramp-smb-handle-copy-directory):
6636 Call `tramp-compat-replace-regexp-in-string'.
6637 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6638 (tramp-smb-handle-copy-file): Improve error message.
6639 (tramp-smb-handle-rename-file): Rename directly only in case
6640 `newname' does not exist yet. This is a restriction of smbclient.
6641 (tramp-smb-maybe-open-connection): Rerun the function only when
6642 `auth-sources' is non-nil.
6643
6644 2013-09-08 Kenichi Handa <handa@gnu.org>
6645
6646 * international/characters.el: Set category "^" (Combining) for
6647 more characters.
6648
6649 2013-09-07 Alan Mackenzie <acm@muc.de>
6650
6651 Correctly fontify Java class constructors.
6652 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6653 in Java Mode.
6654 (c-recognize-typeless-decls): Set the Java value to t.
6655 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6656 While handling a "(", add a check for, effectively, Java, and handle a
6657 "typeless" declaration there.
6658
6659 2013-09-07 Roland Winkler <winkler@gnu.org>
6660
6661 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6662 field subtitle for entry type book.
6663
6664 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 * minibuffer.el: Make minibuffer-complete call completion-in-region
6667 rather than other way around.
6668 (completion--some, completion-pcm--find-all-completions):
6669 Don't delay signals when debugging.
6670 (minibuffer-completion-contents): Beware fields within the
6671 minibuffer contents.
6672 (completion-all-sorted-completions): Use defvar-local.
6673 (completion--do-completion, completion--cache-all-sorted-completions)
6674 (completion-all-sorted-completions, minibuffer-force-complete):
6675 Add args `beg' and `end'.
6676 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6677 (minibuffer-complete): Use completion-in-region.
6678 (completion-complete-and-exit): New fun, extracted from
6679 minibuffer-complete-and-exit.
6680 (minibuffer-complete-and-exit): Use it.
6681 (completion--complete-and-exit): Rename from
6682 minibuffer--complete-and-exit.
6683 (completion-in-region--single-word): New function, extracted from
6684 minibuffer-complete-word.
6685 (minibuffer-complete-word): Use it.
6686 (display-completion-list): Make `common-substring' argument obsolete.
6687 (completion--in-region): Call completion--in-region-1 instead of
6688 minibuffer-complete.
6689 (completion-help-at-point): Pass boundaries to
6690 minibuffer-completion-help as args rather than via an overlay.
6691 (completion-pcm--string->pattern): Use `any-delim'.
6692 (completion-pcm--optimize-pattern): New function.
6693 (completion-pcm--pattern->regex): Handle `any-delim'.
6694 * icomplete.el (icomplete-forward-completions)
6695 (icomplete-backward-completions, icomplete-completions):
6696 Adjust calls to completion-all-sorted-completions and
6697 completion--cache-all-sorted-completions.
6698 (icomplete-with-completion-tables): Default to t.
6699 * emacs-lisp/crm.el (crm--current-element): Rename from
6700 crm--select-current-element. Don't put an overlay but return the
6701 boundaries instead.
6702 (crm--completion-command): Take two new args to bind to the boundaries.
6703 (crm-completion-help): Adjust accordingly.
6704 (crm-complete): Use completion-in-region.
6705 (crm-complete-word): Use completion-in-region--single-word.
6706 (crm-complete-and-exit): Use completion-complete-and-exit.
6707
6708 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6711 than dynamically.
6712
6713 2013-09-06 Juri Linkov <juri@jurta.org>
6714
6715 * info.el (Info-display-images-node): When image file doesn't exist
6716 display text version of the image if it's provided in the Info file.
6717 Otherwise, display the location of missing image from SRC attribute.
6718 Add help-echo text property from ALT attribute. (Bug#15279)
6719
6720 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6723 (edit-abbrevs-mode): Use define-derived-mode.
6724
6725 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6726 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6727 that it's defined.
6728 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6729 Use define-derived-mode.
6730
6731 * epg.el (epg-start-encrypt): Minor CSE simplification.
6732
6733 2013-09-06 William Xu <william.xwl@gmail.com>
6734
6735 * arc-mode.el: Add support for 7za (bug#15264).
6736 (archive-7z-program): New var.
6737 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6738 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6739 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6740
6741 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6742
6743 Remove URL syntax.
6744
6745 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6746 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6747 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6748 (tramp-postfix-host-format, tramp-file-name-regexp)
6749 (tramp-completion-file-name-regexp)
6750 (tramp-completion-dissect-file-name)
6751 (tramp-handle-substitute-in-file-name): Remove 'url case.
6752 (tramp-file-name-regexp-url)
6753 (tramp-completion-file-name-regexp-url): Remove constants.
6754
6755 2013-09-06 Glenn Morris <rgm@gnu.org>
6756
6757 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6758
6759 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6760
6761 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6762 keywords" below "here-doc beginnings" (Bug#15270).
6763
6764 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * subr.el (pop): Use `car-safe'.
6767 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6768 to detect unused `pop' return value.
6769
6770 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6771 var `block-regexp'.
6772 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6773 (python-fill-string): Remove unused var `marker'.
6774 (python-skeleton-add-menu-items): Remove unused var `items'.
6775
6776 * international/mule-cmds.el: Require CL.
6777 (find-coding-systems-for-charsets): Avoid add-to-list.
6778 (sanitize-coding-system-list): New function, extracted from
6779 select-safe-coding-system-interactively.
6780 (select-safe-coding-system-interactively): Use it.
6781 (read-input-method-name): Accept symbols for `default'.
6782
6783 * emacs-lisp/advice.el (defadvice): Add indent rule.
6784
6785 2013-09-05 Daniel Hackney <dan@haxney.org>
6786
6787 * dired-x.el:
6788 * net/ange-ftp.el:
6789 * net/browse-url.el:
6790 * net/dbus.el:
6791 * net/eudc.el:
6792 * net/eudcb-ldap.el:
6793 * net/eww.el:
6794 * net/imap.el:
6795 * printing.el:
6796 * vc/ediff-diff.el:
6797 * vc/ediff-init.el:
6798 * vc/ediff-merg.el:
6799 * vc/ediff-mult.el:
6800 * vc/ediff-util.el:
6801 * vc/ediff-wind.el:
6802 * vc/ediff.el:
6803 * vc/emerge.el:
6804 * vc/pcvs.el:
6805 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6806 byte compiler. Remove some unused let-bound variables.
6807
6808 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6811 a "ref-cell", since it gets better optimized (bug#14883).
6812
6813 2013-09-05 Glenn Morris <rgm@gnu.org>
6814
6815 * progmodes/cc-awk.el (c-forward-sws): Declare.
6816
6817 2013-09-04 Glenn Morris <rgm@gnu.org>
6818
6819 * generic-x.el [rul-generic-mode]: Require cc-mode.
6820 (c++-mode-syntax-table): Declare.
6821 (rul-generic-mode-syntax-table): Init in the defvar.
6822
6823 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6824
6825 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6826 (vc-do-command, vc-set-async-update):
6827 * vc/vc-mtn.el (vc-mtn-dir-status):
6828 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6829 (vc-hg-pull, vc-hg-merge-branch):
6830 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6831 (vc-git-merge-branch):
6832 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6833 (vc-cvs-dir-status-files):
6834 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6835 (vc-bzr-dir-status-files):
6836 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6837 * vc/vc-annotate.el: Use lexical-binding.
6838 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6839 (vc-sentinel-movepoint): Declare.
6840 (vc-annotate): Don't use `goto-line'.
6841 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6842 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6843 (vc-sentinel-movepoint): Declare.
6844 * vc/vc-svn.el: Use lexical-binding.
6845 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6846 * vc/vc-sccs.el:
6847 * vc/vc-rcs.el: Use lexical-binding.
6848
6849 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6850 `deleted'. Don't drop errors silently.
6851
6852 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6853
6854 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6855
6856 * vc/vc.el (vc-ignore): Rewrite.
6857 (vc-default-ignore): New function.
6858 (vc-default-ignore-completion-table): Use find-ignore-file.
6859
6860 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6861 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6862 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6863 Remove. Most code moved to vc.el.
6864
6865 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6868 * net/tramp-smb.el (tramp-smb-get-file-entries):
6869 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6870 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6871
6872 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6873 Update call to it.
6874 (eww-change-select): Remove unused var `properties'.
6875 (eww-make-unique-file-name): Remove unused var `base'.
6876
6877 * finder.el (finder-compile-keywords): Don't mess with windows.
6878
6879 * calculator.el (calculator-funcall): Fix typo in last change.
6880
6881 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6882
6883 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6884 <pkg>-autoloads.el file stop us.
6885
6886 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6887 warnings, and factor out common code.
6888
6889 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6890
6891 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6892 two-character operators and whether the character preceding them
6893 changes their meaning (Bug#15208).
6894
6895 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6896
6897 Format code sent to Python shell for robustness.
6898 * progmodes/python.el (python-shell-buffer-substring):
6899 New function.
6900 (python-shell-send-region, python-shell-send-buffer): Use it.
6901
6902 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6903
6904 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6905 * net/tramp.el (tramp-user-error): ... here.
6906 (tramp-find-method, tramp-check-proper-host)
6907 (tramp-dissect-file-name, tramp-debug-message)
6908 (tramp-handle-shell-command):
6909 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6910 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6911
6912 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6913
6914 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6915
6916 * avoid.el (mouse-avoidance-point-position)
6917 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6918 returns nil.
6919
6920 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6921
6922 * progmodes/python.el (python-shell-completion-get-completions):
6923 Drop use of deleted `comint-last-prompt-overlay'.
6924 (python-nav-if-name-main): New command.
6925
6926 2013-09-01 Glenn Morris <rgm@gnu.org>
6927
6928 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6929 Avoid leading space in $wins. Otherwise the sed command used by
6930 eg compile-main ends up containing "/*.el". (Bug#15170)
6931
6932 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6933
6934 2013-08-30 Glenn Morris <rgm@gnu.org>
6935
6936 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6937 Fix is-this-a-directory logic. (Bug#15220)
6938
6939 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * textmodes/css-mode.el: Use SMIE.
6942 (css-smie-grammar): New var.
6943 (css-smie--forward-token, css-smie--backward-token)
6944 (css-smie-rules): New functions.
6945 (css-mode): Use them.
6946 (css-navigation-syntax-table): Remove var.
6947 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6948 (css-indent-calculate, css-indent-line): Remove functions.
6949
6950 Misc changes to reduce use of `(lambda...); and other cleanups.
6951 * cus-edit.el: Use lexical-binding.
6952 (customize-push-and-save, customize-apropos)
6953 (custom-buffer-create-internal): Use closures.
6954 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6955 * progmodes/ada-xref.el: Use setq.
6956 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6957 * dframe.el: Use lexical-binding.
6958 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6959 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6960 * descr-text.el: Use lexical-binding.
6961 (describe-text-widget, describe-text-sexp, describe-property-list):
6962 Use closures.
6963 * comint.el (comint-history-isearch-push-state): Use a closure.
6964 * calculator.el: Use lexical-binding.
6965 (calculator-number-to-string): Make it work with lexical-binding.
6966 (calculator-funcall): Same and use cl-letf.
6967
6968 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6969 (lisp--company-doc-string, lisp--company-location): New functions.
6970 (lisp-completion-at-point): Use them to improve Company support.
6971
6972 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6973 params of lambda expressions.
6974 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6975 (ruby-smie--opening-pipe-p): New function.
6976 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6977 symbols and matched |...| for formal params.
6978 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6979 from being treated as hanging. Handle "rescue".
6980
6981 2013-08-29 Glenn Morris <rgm@gnu.org>
6982
6983 * progmodes/cc-engine.el (c-pull-open-brace):
6984 Move definition before use.
6985
6986 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6989 are immutable. Don't use `unsafe' any more.
6990 (cl--defsubst-expand): Don't substitute at the same time as keeping
6991 a residual unused let-binding. Don't use `unsafe' any more.
6992
6993 2013-08-29 Glenn Morris <rgm@gnu.org>
6994
6995 * calendar/cal-china.el (calendar-chinese-year-cache):
6996 Recenter on 2015.
6997
6998 * nxml/nxml-util.el (nxml-debug-clear-inside):
6999 Use cl-loop rather than loop.
7000
7001 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7002
7003 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7004
7005 2013-08-28 Glenn Morris <rgm@gnu.org>
7006
7007 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7008
7009 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7010
7011 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7012
7013 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * simple.el (repeat-complex-command--called-interactively-skip):
7016 New function.
7017 (repeat-complex-command): Use it (bug#14136).
7018
7019 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7020 (c-define-abbrev-table): Add `doc' argument.
7021 (c-mode-abbrev-table, c++-mode-abbrev-table)
7022 (objc-mode-abbrev-table, java-mode-abbrev-table)
7023 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7024 (awk-mode-abbrev-table): Use it.
7025 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7026 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7027 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7028 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7029 Move initialization into the declaration; and remove any
7030 autoload cookie.
7031
7032 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7033 and dynamic let binding.
7034
7035 * vc/smerge-mode.el: Remove redundant :group args.
7036
7037 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7038 to load-path.
7039
7040 2013-08-28 Juri Linkov <juri@jurta.org>
7041
7042 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7043 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7044 (isearch-other-meta-char): Handle an undefined shifted printing
7045 character by downshifting it. (Bug#15200)
7046
7047 2013-08-28 Juri Linkov <juri@jurta.org>
7048
7049 * isearch.el (isearch-search): Change regexp error message for
7050 non-regexp searches. (Bug#15166)
7051
7052 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7053
7054 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7055 for portability to hosts where /bin/sh has problems.
7056
7057 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7060
7061 2013-08-27 Juri Linkov <juri@jurta.org>
7062
7063 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7064 in the keyboard macro. (Bug#15126)
7065
7066 2013-08-27 Juri Linkov <juri@jurta.org>
7067
7068 * isearch.el (isearch-quote-char): Comment out converting unibyte
7069 to multibyte, thus syncing with its `quoted-insert' counterpart.
7070 (Bug#15166)
7071
7072 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7073
7074 * window.el (display-buffer-use-some-window): Add missing
7075 argument in call of get-largest-window (Bug#15185).
7076 Reported by Stephen Leake.
7077
7078 2013-08-27 Glenn Morris <rgm@gnu.org>
7079
7080 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7081
7082 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7085 from a matcher-function unless there's no more matches (bug#15161).
7086
7087 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7088
7089 * minibuffer.el: Revert change from 2013-08-20.
7090
7091 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7092 with text property `tramp-default', if appropriate.
7093 (tramp-check-proper-host): New defun.
7094 (tramp-dissect-file-name): Do not check hostname. Revert change
7095 of 2013-03-18.
7096 (tramp-backtrace): Make VEC-OR-PROC optional.
7097
7098 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7099 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7100 * net/tramp-sh.el (tramp-maybe-open-connection):
7101 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7102 Apply `tramp-check-proper-host'.
7103
7104 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7105
7106 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7107 lambda expression in order to have `describe-variable' display it.
7108
7109 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7110
7111 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7112 BUF can be optional. (Bug#15186)
7113
7114 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7115
7116 * progmodes/flymake.el (flymake-get-real-file-name-function):
7117 Fix broken customization. (Bug#15184)
7118
7119 2013-08-25 Alan Mackenzie <acm@muc.de>
7120
7121 Improve indentation of bracelists defined by macros (without "=").
7122
7123 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7124 expansion begins with "{", regard it as bracelist when it doesn't
7125 contain a ";".
7126
7127 Parse C++ inher-intro when there's a template split over 2 lines.
7128
7129 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7130 rigorously the search for "class" etc. followed by ":".
7131
7132 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7133 random languages a regexp which never matches rather than nil.
7134
7135 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7136
7137 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7138 (c-awk-regexp-one-line-possibly-open-char-list-re)
7139 (c-awk-one-line-possibly-open-regexp-re)
7140 (c-awk-one-line-non-syn-ws*-re): Remove.
7141 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7142 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7143 (c-awk-space*-unclosed-regexp-/-re): New constants.
7144 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7145 aren't regexp delimiters.
7146
7147 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7148 handling for a rare situation in AWK Mode involving unterminated
7149 strings/regexps.
7150
7151 2013-08-23 Glenn Morris <rgm@gnu.org>
7152
7153 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7154
7155 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7156
7157 * files.el (create-file-buffer): If the result would begin with
7158 spaces, prepend a "|" instead of removing them. (Bug#15162)
7159
7160 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7163 text-properties (bug#15155).
7164
7165 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7166 exist any more.
7167 (calc-keypad-redraw): Remove unused var `pad'.
7168 (calc-keypad-press): Remove unused var `menu'.
7169
7170 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7171
7172 * window.el (display-buffer-pop-up-frame):
7173 Call pop-up-frame-function with BUFFER current so `make-frame' will
7174 use it as the new frame's buffer (Bug#15133).
7175
7176 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * calendar/timeclock.el: Minor cleanups.
7179 (timeclock-ask-before-exiting, timeclock-use-display-time):
7180 Use `symbol'.
7181 (timeclock-modeline-display): Define as alias before the
7182 actual definition.
7183 (timeclock-mode-line-display): Use define-minor-mode.
7184 (timeclock-day-list-template): Make it a function, add an argument.
7185 (timeclock-day-list-required, timeclock-day-list-length)
7186 (timeclock-day-list-debt, timeclock-day-list-span)
7187 (timeclock-day-list-break): Adjust calls accordingly.
7188
7189 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7190
7191 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7192 Use read--expression so that completion works again.
7193
7194 2013-08-21 Sam Steingold <sds@gnu.org>
7195
7196 Add rudimentary inferior shell interaction
7197 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7198 (sh-set-shell): Reset it.
7199 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7200 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7201
7202 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * align.el: Use lexical-binding.
7205 (align-region): Simplify accordingly.
7206
7207 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7208
7209 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7210
7211 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7212 `non-essential' up.
7213
7214 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7215
7216 * net/tramp.el:
7217 * net/tramp-adb.el:
7218 * net/tramp-cmds.el:
7219 * net/tramp-ftp.el:
7220 * net/tramp-gvfs.el:
7221 * net/tramp-gw.el:
7222 * net/tramp-sh.el: Don't wrap external variable declarations by
7223 `eval-when-compile'.
7224
7225 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7226
7227 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7228 now that Emacs supports ImageMagick animations.
7229
7230 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7231
7232 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7233 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7234
7235 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7236
7237 * window.el (mouse-autoselect-window-select): Do autoselect when
7238 mouse pointer is on margin.
7239
7240 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7241
7242 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7243
7244 2013-08-16 Glenn Morris <rgm@gnu.org>
7245
7246 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7247 Handle "Remote Directory" response of some clients. (Bug#15058)
7248
7249 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7250 Tweak warning. (Bug#14926)
7251
7252 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7253 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7254
7255 * image-mode.el (image-mode-map): Add menu items to reverse,
7256 increase, decrease, reset animation speed.
7257 (image--set-speed, image-increase-speed, image-decrease-speed)
7258 (image-reverse-speed, image-reset-speed): New functions.
7259 (image-mode-map): Add bindings for speed commands.
7260
7261 * image.el (image-animate-get-speed, image-animate-set-speed):
7262 New functions.
7263 (image-animate-timeout): Respect image :speed property.
7264
7265 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7268 previous line (bug#15101).
7269 (debugger-eval-expression, debugger-record-expression):
7270 Use read--expression (bug#15102).
7271
7272 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7273
7274 Remove byte compiler warnings, visible when compiling with
7275 `byte-compile-force-lexical-warnings' set to t.
7276
7277 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7278 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7279 (tramp-handle-unhandled-file-name-directory)
7280 (tramp-handle-file-notify-add-watch, tramp-action-login)
7281 (tramp-action-succeed, tramp-action-permission-denied)
7282 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7283 arguments with "_".
7284
7285 * net/tramp-adb.el (tramp-adb-parse-device-names)
7286 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7287 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7288 (tramp-adb-handle-file-truename): Remove unused arguments.
7289
7290 * net/tramp-cache.el (tramp-flush-directory-property)
7291 (tramp-flush-connection-property, tramp-list-connections)
7292 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7293
7294 * net/tramp-compat.el (tramp-compat-make-temp-file):
7295 Rename FILENAME to F.
7296
7297 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7298 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7299 (tramp-zeroconf-parse-workstation-device-names)
7300 (tramp-zeroconf-parse-webdav-device-names)
7301 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7302
7303 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7304 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7305
7306 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7307 arguments.
7308 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7309 (tramp-sh-handle-insert-file-contents-literally)
7310 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7311 with "_".
7312 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7313 Remove unused variables.
7314
7315 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7316 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7317 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7318
7319 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7320 Make them a defconst.
7321 (tramp-uuencode-region): Remove unused variable.
7322
7323 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7324
7325 * frameset.el (frameset--prop-setter): New function.
7326 (frameset-prop): Add gv-setter declaration.
7327 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7328 parameter was already set in FILTERED. Doc fix.
7329 (frameset--record-minibuffer-relationships): Allow saving a
7330 minibufferless frame without its corresponding minibuffer frame.
7331 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7332 frame, if the frame id matches.
7333 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7334 frames before orphaned ones.
7335 (frameset-restore): Warn about orphaned windows, instead of error out.
7336
7337 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7338
7339 * window.el (window-make-atom): Don't overwrite parameter
7340 already present.
7341 (display-buffer-in-atom-window): Handle special case where we
7342 split an already atomic window.
7343 (window--major-non-side-window, display-buffer-in-side-window)
7344 (window--side-check): Ignore minibuffer window when walking
7345 window tree.
7346 (window-deletable-p): Return 'frame only if no other frame uses
7347 our minibuffer window.
7348 (record-window-buffer): Run buffer-list-update-hook.
7349 (split-window): Make sure window--check-frame won't destroy an
7350 existing atomic window in case the new window gets nested
7351 inside.
7352 (display-buffer-at-bottom): Ignore minibuffer window when
7353 walking window tree. Don't split a side window.
7354 (pop-to-buffer): Don't set-buffer here, the select-window call
7355 should do that.
7356 (mouse-autoselect-window-select): Autoselect only if we are in the
7357 text portion of the window.
7358
7359 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7360
7361 * net/shr.el (shr-parse-image-data): New function to grab both the
7362 data itself and the Content-Type.
7363 (shr-put-image): Use it.
7364
7365 * net/eww.el (eww-display-image): Ditto.
7366
7367 * image.el (image-content-type-suffixes): New variable.
7368
7369 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7370
7371 * progmodes/python.el (python-imenu--build-tree)
7372 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7373
7374 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7375
7376 * simple.el (backward-word): Mention the optional argument.
7377
7378 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * frameset.el (frameset--make): Rename constructor from make-frameset.
7381 (frameset-p, frameset-valid-p): Don't autoload.
7382 (frameset-valid-p): Use normal accessors.
7383
7384 2013-08-13 Glenn Morris <rgm@gnu.org>
7385
7386 * progmodes/compile.el (compile-command): Tweak example in doc.
7387 * obsolete/scribe.el (scribe-mode):
7388 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7389
7390 * mail/feedmail.el (feedmail-confirm-outgoing)
7391 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7392
7393 * cus-start.el (truncate-partial-width-windows): Fix type.
7394
7395 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7396
7397 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7398
7399 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7400
7401 * emacs-lisp/timer.el (timer--time-setter): New function.
7402 (timer--time): Use it as gv-setter.
7403
7404 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7405 setter is not a symbol.
7406
7407 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7408
7409 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7410 if sending fails. This makes debugging easier.
7411
7412 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7413
7414 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7415 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7416 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7417
7418 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7419
7420 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7421
7422 2013-08-12 Glenn Morris <rgm@gnu.org>
7423
7424 * format.el (format-annotate-function):
7425 Handle read-only text properties in the source. (Bug#14887)
7426
7427 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7428
7429 * net/eww.el (eww-display-html): Ignore coding system errors.
7430 One web site uses "utf-8lias" as the coding system.
7431
7432 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7433
7434 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7435
7436 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7437
7438 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7439 (tutorial--detailed-help): Remove unused local variables.
7440 (tutorial--save-tutorial-to): Use ignore-errors.
7441 (help-with-tutorial): Use looking-at-p.
7442
7443 * view.el (view-buffer-other-window, view-buffer-other-frame):
7444 Mark unused arguments.
7445
7446 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7447 (woman-select-symbol-fonts, woman, woman-find-file)
7448 (woman-insert-file-contents, woman-non-underline-faces):
7449 Use string-match-p.
7450 (woman1-unquote): Move declaration.
7451
7452 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7453 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7454 argument. Remove unused local variable.
7455 (xml-parse-elem-type): Use string-match-p.
7456 (xml-substitute-numeric-entities): Use ignore-errors.
7457
7458 * calculator.el (calculator): Mark unused argument.
7459 (calculator-paste, calculator-quit, calculator-integer-p):
7460 Use ignore-errors.
7461 (calculator-string-to-number, calculator-decimal, calculator-exp)
7462 (calculator-op-or-exp): Use string-match-p.
7463
7464 * dired.el (dired-buffer-more-recently-used-p): Declare.
7465 (dired-insert-set-properties, dired-insert-old-subdirs):
7466 Use ignore-errors.
7467
7468 * dired-aux.el (dired-compress): Use ignore-errors.
7469 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7470 (dired-do-async-shell-command, dired-do-shell-command)
7471 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7472 (dired-insert-subdir-validate): Use string-match-p.
7473 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7474 (dired-add-entry): Use string-match-p, looking-at-p.
7475 (dired-insert-subdir-newpos): Remove unused local variable.
7476
7477 * filenotify.el (file-notify-callback): Remove unused local variable.
7478
7479 * filesets.el (filesets-error): Mark unused argument.
7480 (filesets-which-command-p, filesets-filter-dir-names)
7481 (filesets-directory-files, filesets-get-external-viewer)
7482 (filesets-ingroup-get-data): Use string-match-p.
7483
7484 * find-file.el (ff-other-file-name, ff-other-file-name)
7485 (ff-find-the-other-file, ff-cc-hh-converter):
7486 Remove unused local variables.
7487 (ff-get-file-name): Use string-match-p.
7488 (ff-all-dirs-under): Use ignore-errors.
7489
7490 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7491 (follow-select-if-visible): Remove unused local variable.
7492
7493 * forms.el (read-file-filter): Move declaration.
7494 (forms--make-format, forms--make-parser, forms-insert-record):
7495 Quote function with #'.
7496 (forms--update): Use string-match-p. Quote function with #'.
7497
7498 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7499 (help-make-xrefs): Use looking-at-p.
7500 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7501
7502 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7503 (ibuffer-confirm-operation-on): Use string-match-p.
7504
7505 * msb.el (msb-item-handler, msb-dired-item-handler):
7506 Mark unused arguments.
7507
7508 * ses.el (ses-decode-cell-symbol)
7509 (ses-kill-override): Remove unused local variable.
7510 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7511 (ses-load): Use ignore-errors, looking-at-p.
7512 (ses-jump-safe): Use ignore-errors.
7513 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7514
7515 * tabify.el (untabify, tabify): Mark unused arguments.
7516
7517 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7518 Mark unused argument.
7519 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7520 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7521
7522 * emacs-lisp/timer.el (timer--time): Define setter with
7523 gv-define-setter to avoid deprecation warning.
7524
7525 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7526 (*record-cmpl-statistics-p*): Remove (was commented out).
7527 (cmpl-statistics-block): Remove (body was commented out).
7528 All callers changed.
7529 (add-completions-from-buffer, load-completions-from-file):
7530 Remove unused variables.
7531
7532 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7533
7534 * filecache.el (file-cache-delete-file-list):
7535 Print message only when told so.
7536 (file-cache-files-matching): Use #' in mapconcat argument.
7537
7538 * ffap.el (ffap-url-at-point): Fix reference to variable
7539 thing-at-point-default-mail-uri-scheme.
7540
7541 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * subr.el (define-error): New function.
7544 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7545 error-file-not-found and define with define-error.
7546 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7547 and define with define-error.
7548 * userlock.el (file-locked, file-supersession):
7549 * simple.el (mark-inactive):
7550 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7551 * progmodes/ada-mode.el (ada-mode-errors):
7552 * play/life.el (life-extinct):
7553 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7554 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7555 * nxml/rng-util.el (rng-error):
7556 * nxml/rng-uri.el (rng-uri-error):
7557 * nxml/rng-match.el (rng-compile-error):
7558 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7559 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7560 * nxml/nxml-rap.el (nxml-scan-error):
7561 * nxml/nxml-outln.el (nxml-outline-error):
7562 * net/soap-client.el (soap-error):
7563 * net/gnutls.el (gnutls-error):
7564 * net/ange-ftp.el (ftp-error):
7565 * mpc.el (mpc-proc-error):
7566 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7567 (json-number-format, json-string-escape, json-string-format)
7568 (json-key-format, json-object-format):
7569 * jka-compr.el (compression-error):
7570 * international/quail.el (quail-error):
7571 * international/kkc.el (kkc-error):
7572 * emacs-lisp/ert.el (ert-test-failed):
7573 * calc/calc.el (calc-error, inexact-result, math-overflow)
7574 (math-underflow):
7575 * bookmark.el (bookmark-error-no-filename):
7576 * epg.el (epg-error): Define with define-error.
7577
7578 * time.el (display-time-event-handler)
7579 (display-time-next-load-average): Don't call sit-for since it seems
7580 unnecessary (bug#15045).
7581
7582 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7583 Use #' instead of ' to quote functions.
7584 (checkdoc-output-mode): Use setq-local.
7585 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7586 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7587 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7588 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7589 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7590 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7591 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7592 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7593
7594 * ido.el (ido-completion-help): Fix up compiler warning.
7595
7596 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7597
7598 * frameset.el (frameset-p): Add autoload cookie.
7599 (frameset--jump-to-register): New function, based on code moved from
7600 register.el.
7601 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7602
7603 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7604 (frameset-restore, frameset-save, frameset-session-filter-alist):
7605 Remove declarations.
7606 (register-alist): Doc fix.
7607 (frameset-to-register): Move to frameset.el.
7608 (jump-to-register, describe-register-1): Remove frameset-specific code.
7609
7610 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7611
7612 * allout-widgets.el (allout-widgets-pre-command-business)
7613 (allout-widgets-post-command-business)
7614 (allout-widgets-after-change-handler)
7615 (allout-decorate-item-and-context, allout-set-boundary-marker)
7616 (allout-body-modification-handler)
7617 (allout-graphics-modification-handler): Mark ignored arguments.
7618 (allout-widgets-post-command-business)
7619 (allout-widgets-exposure-change-processor)
7620 (allout-widgets-exposure-undo-processor)
7621 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7622 (allout-parse-item-at-point, allout-decorate-item-guides)
7623 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7624 * allout.el (epa-passphrase-callback-function): Declare.
7625 (allout-overlay-insert-in-front-handler)
7626 (allout-overlay-interior-modification-handler)
7627 (allout-isearch-end-handler, allout-chart-siblings)
7628 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7629 (allout-yank-processing, allout-process-exposed)
7630 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7631 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7632 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7633 (lisp-indent-defform): Mark ignored arguments.
7634 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7635 (calculate-lisp-indent): Remove unused variables.
7636 * international/characters.el (indian-2-column, arabic-2-column)
7637 (tibetan): Mark ignored arguments.
7638 (use-cjk-char-width-table): Mark ignored arguments.
7639 Remove unused variables.
7640 * international/fontset.el (build-default-fontset-data)
7641 (x-compose-font-name, create-fontset-from-fontset-spec):
7642 Mark ignored arguments.
7643 (fontset-plain-name): Remove unused variables.
7644 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7645 (keyboard-coding-system): Mark ignored arguments.
7646 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7647 * help.el (resize-temp-buffer-window):
7648 * window.el (display-buffer-in-major-side-window)
7649 (display-buffer-in-side-window, display-buffer-in-previous-window):
7650 Remove unused variables.
7651 * isearch.el (isearch-forward-symbol):
7652 * version.el (emacs-bzr-version-bzr):
7653 * international/mule-cmds.el (current-language-environment):
7654 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7655 (x-handle-display):
7656 * term/pc-win.el (x-list-fonts, x-display-planes)
7657 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7658 (x-server-version, x-display-screens, x-display-mm-height)
7659 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7660 (x-selection-owner-p, x-own-selection-internal)
7661 (x-disown-selection-internal, x-get-selection-internal)
7662 (msdos-initialize-window-system):
7663 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7664 * term/x-win.el (x-handle-no-bitmap-icon):
7665 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7666 (vc-default-find-file-hook, vc-default-extra-menu):
7667 Mark ignored arguments.
7668
7669 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7672 break-condition in the context of the debugged code (bug#12685).
7673
7674 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7675
7676 * comint.el:
7677 Do not use an overlay to highlight the last prompt. (Bug#14744)
7678 (comint-mode): Make comint-last-prompt buffer local.
7679 (comint-last-prompt): New variable.
7680 (comint-last-prompt-overlay): Remove. Superseded by
7681 comint-last-prompt.
7682 (comint-snapshot-last-prompt, comint-output-filter):
7683 Use comint-last-prompt.
7684
7685 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7686
7687 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7688 (frameset-save): Check validity of the resulting frameset.
7689
7690 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7691
7692 * ido.el (ido-record-command): Add doc string.
7693
7694 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7695
7696 * frameset.el (frameset): Do not disable creation of the default
7697 frameset-p predicate. Doc fix.
7698 (frameset-valid-p): New function, copied from the old predicate-p.
7699 Add additional checks.
7700 (frameset-restore): Check with frameset-valid-p.
7701 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7702 (frameset-name, frameset-description, frameset-properties)
7703 (frameset-states): Add docstring.
7704 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7705 (frameset-filter-alist): Doc fixes.
7706
7707 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7708
7709 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7710
7711 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7712
7713 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7714 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7715 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7716 (byte-compile-normal-call): Remove obsolescence check.
7717
7718 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7719
7720 * frameset.el (frameset-restore): Doc fix.
7721
7722 * register.el (frameset-frame-id, frameset-frame-with-id)
7723 (frameset-p, frameset-restore, frameset-save): Declare.
7724 (register-alist): Document framesets.
7725 (frameset-session-filter-alist): Declare.
7726 (frameset-to-register): New function.
7727 (jump-to-register): Implement jumping to framesets. Doc fix.
7728 (describe-register-1): Describe framesets.
7729
7730 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7731
7732 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7733
7734 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7735 Use lexical-binding.
7736
7737 * frameset.el (frameset): Use type vector, not list (incompatible
7738 change). Do not declare a new constructor, use the default one.
7739 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7740 `name' and `description', respectively, and add read-only slot
7741 `timestamp'. Doc fixes.
7742 (frameset-copy, frameset-persistent-filter-alist)
7743 (frameset-filter-alist, frameset-switch-to-gui-p)
7744 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7745 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7746 (frameset-filter-iconified, frameset-keep-original-display-p):
7747 Doc fixes.
7748 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7749 Rename from frameset-filter-(save|restore)-param. All callers changed.
7750 Doc fix.
7751 (frameset-p): Adapt to change to vector and be more thorough.
7752 Change arg name to OBJECT. Doc fix.
7753 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7754 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7755 All callers changed.
7756 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7757 All callers changed.
7758 (frameset--record-minibuffer-relationships): Rename from
7759 frameset--process-minibuffer-frames. All callers changed.
7760 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7761 Use new default constructor (again). Doc fix.
7762 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7763 All callers changed.
7764 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7765 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7766 Doc fix.
7767 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7768 PARAMETERS and WINDOW-STATE, respectively.
7769 (frameset-restore): Add new keyword argument PREDICATE.
7770 Reset frameset--target-display to nil. Doc fix.
7771
7772 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7775 (bat-mode): Use it.
7776 (bat-mode-syntax-table): Mark \n as end-of-comment.
7777 (bat-font-lock-keywords): Remove comment rule.
7778
7779 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7780 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7781
7782 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7783 (byte-compile-callargs-warn): Use `push'.
7784 (byte-compile-arglist-warn): Ignore higher-order "calls".
7785 (byte-compile-file-form-autoload): Use `pcase'.
7786 (byte-compile-function-form): If quoting a symbol, check that it exists.
7787
7788 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7789
7790 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7791 and add a few popular commands found in batch files.
7792 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7793 (dos-mode): Doc fixes.
7794
7795 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7796
7797 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7798 (dos-mode): Use setq-local. Add space after "rem".
7799 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7800 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7801
7802 2013-08-07 Arni Magnusson <arnima@hafro.is>
7803
7804 * progmodes/dos.el: New file.
7805 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7806 dos-mode.
7807
7808 2013-08-06 Glenn Morris <rgm@gnu.org>
7809
7810 * calendar/calendar.el: Add new faces, and day-header-array.
7811 (calendar-weekday-header, calendar-weekend-header)
7812 (calendar-month-header): New faces.
7813 (calendar-day-header-construct): New function.
7814 (calendar-day-header-width): Also :set calendar-day-header-array.
7815 (calendar-american-month-header, calendar-european-month-header)
7816 (calendar-iso-month-header): Use calendar- faces.
7817 (calendar-generate-month):
7818 Use calendar-day-header-array for day headers; apply faces to them.
7819 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7820 (calendar-abbrev-construct): Add optional maxlen argument.
7821 (calendar-day-name-array): Doc fix.
7822 (calendar-day-name-array, calendar-abbrev-length)
7823 (calendar-day-abbrev-array):
7824 Also :set calendar-day-header-array, and maybe redraw.
7825 (calendar-day-header-array): New option. (Bug#15007)
7826 (calendar-font-lock-keywords): Set to nil and make obsolete.
7827 (calendar-day-name): Add option to use header array.
7828
7829 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7830
7831 * net/shr.el (shr-render-td): Remove debugging.
7832 (shr-render-td): Make width computation consistent by defaulting
7833 all zero-width columns to 10 characters. This may not be optimal,
7834 but it's at least consistent.
7835 (shr-make-table-1): Redo last change to fix the real problem in
7836 colspan handling.
7837
7838 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7839
7840 * files.el (cache-long-line-scans):
7841 Make obsolete alias to `cache-long-scans'.
7842
7843 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7844
7845 * frameset.el (frameset, frameset-filter-alist)
7846 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7847 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7848 (frameset-compute-pos): Rename from frameset--compute-pos,
7849 and add docstring.
7850 (frameset-move-onscreen): Use frameset-compute-pos.
7851 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7852
7853 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7854 Fix typos in docstrings.
7855
7856 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7857
7858 * frame.el (get-other-frame): Tiny cleanup.
7859
7860 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7861
7862 * vc/vc.el (vc-default-ignore-completion-table):
7863 Silence byte-compiler warning.
7864
7865 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7866 slot, which can indeed be nil.
7867 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7868 Move entry for `left' from persistent to live filter alist.
7869 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7870 Doc fixes.
7871 (frameset-filter-params): When restoring a frame, copy items added to
7872 `filtered', to avoid unwittingly modifying the original parameters.
7873 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7874 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7875
7876 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7877 to use looking-at-p instead of looking-at. (Bug#15028)
7878
7879 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 Revert introduction of isearch-filter-predicates (bug#14714).
7882 Rely on add-function instead.
7883 * isearch.el (isearch-filter-predicates): Rename it back to
7884 isearch-filter-predicate.
7885 (isearch-message-prefix): Use advice-function-mapc and advice
7886 properties to get the isearch-message-prefix.
7887 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7888 instead of run-hook-with-args-until-failure.
7889 (isearch-filter-visible): Not obsolete any more.
7890 * loadup.el: Preload nadvice.
7891 * replace.el (perform-replace): Revert to funcall
7892 instead of run-hook-with-args-until-failure.
7893 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7894 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7895 dired-isearch-filenames-toggle; make it into a proper minor mode.
7896 Use add/remove-function.
7897 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7898 Call the minor-mode rather than add/remove-hook.
7899 (dired-isearch-filter-filenames):
7900 Remove isearch-message-prefix property.
7901 * info.el (Info--search-loop): New function, extracted from Info-search.
7902 Funcall isearch-filter-predicate instead of
7903 run-hook-with-args-until-failure isearch-filter-predicates.
7904 (Info-search): Use it.
7905 (Info-mode): Use isearch-filter-predicate instead of
7906 isearch-filter-predicates.
7907
7908 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7909
7910 Do not call to `selected-window' where it is assumed by default.
7911 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7912 `window-hscroll', `window-width', `window-height', `window-buffer',
7913 `window-frame', `window-start', `window-point', `next-window'
7914 and `window-display-table'.
7915 * abbrev.el (abbrev--default-expand):
7916 * bs.el (bs--show-with-configuration):
7917 * buff-menu.el (Buffer-menu-mouse-select):
7918 * calc/calc.el (calc):
7919 * calendar/calendar.el (calendar-generate-window):
7920 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7921 (diary-make-entry):
7922 * comint.el (send-invisible, comint-dynamic-complete-filename)
7923 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7924 * completion.el (complete):
7925 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7926 * disp-table.el (describe-current-display-table):
7927 * doc-view.el (doc-view-insert-image):
7928 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7929 * ehelp.el (with-electric-help):
7930 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7931 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7932 * emacs-lisp/helper.el (Helper-help-scroller):
7933 * emulation/cua-base.el (cua--post-command-handler-1):
7934 * eshell/esh-mode.el (eshell-output-filter):
7935 * ffap.el (ffap-gnus-wrapper):
7936 * help-macro.el (make-help-screen):
7937 * hilit-chg.el (highlight-compare-buffers):
7938 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7939 * hl-line.el (global-hl-line-highlight):
7940 * icomplete.el (icomplete-simple-completing-p):
7941 * isearch.el (isearch-done):
7942 * jit-lock.el (jit-lock-stealth-fontify):
7943 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7944 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7945 * mpc.el (mpc-tagbrowser, mpc):
7946 * net/rcirc.el (rcirc-any-buffer):
7947 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7948 * play/landmark.el (landmark-max-width, landmark-max-height):
7949 * play/zone.el (zone):
7950 * progmodes/compile.el (compilation-goto-locus):
7951 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7952 * progmodes/etags.el (find-tag-other-window):
7953 * progmodes/fortran.el (fortran-column-ruler):
7954 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7955 * progmodes/verilog-mode.el (verilog-point-text):
7956 * reposition.el (reposition-window):
7957 * rot13.el (toggle-rot13-mode):
7958 * server.el (server-switch-buffer):
7959 * shell.el (shell-dynamic-complete-command)
7960 (shell-dynamic-complete-environment-variable):
7961 * simple.el (insert-buffer, set-selective-display)
7962 (delete-completion-window):
7963 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7964 (speedbar-recenter):
7965 * startup.el (fancy-splash-head):
7966 * textmodes/ispell.el (ispell-command-loop):
7967 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7968 * tutorial.el (help-with-tutorial):
7969 * vc/add-log.el (add-change-log-entry):
7970 * vc/compare-w.el (compare-windows):
7971 * vc/ediff-help.el (ediff-indent-help-message):
7972 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7973 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7974 (ediff-setup-control-frame):
7975 * vc/emerge.el (emerge-position-region):
7976 * vc/pcvs-util.el (cvs-bury-buffer):
7977 * window.el (walk-windows, mouse-autoselect-window-select):
7978 * winner.el (winner-set-conf, winner-undo): Related users changed.
7979
7980 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7981
7982 * frameset.el (frameset--set-id): Doc fix.
7983 (frameset-frame-id, frameset-frame-id-equal-p)
7984 (frameset-locate-frame-id): New functions.
7985 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7986 (frameset-restore): Use them.
7987
7988 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7989
7990 Do not call to `selected-frame' where it is assumed by default.
7991 Affected functions are `raise-frame', `redraw-frame',
7992 `frame-first-window', `frame-terminal' and `delete-frame'.
7993 * calendar/appt.el (appt-disp-window):
7994 * epg.el (epg-wait-for-completion):
7995 * follow.el (follow-delete-other-windows-and-split)
7996 (follow-avoid-tail-recenter):
7997 * international/mule.el (set-terminal-coding-system):
7998 * mail/rmail.el (rmail-mail-return):
7999 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8000 * progmodes/f90.el (f90-add-imenu-menu):
8001 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8002 * server.el (server-switch-buffer):
8003 * simple.el (delete-completion-window):
8004 * talk.el (talk):
8005 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8006 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8007 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8008 * vc/ediff.el (ediff-documentation): Related users changed.
8009 * frame.el (selected-terminal): Remove the leftover.
8010
8011 2013-08-05 Glenn Morris <rgm@gnu.org>
8012
8013 * calendar/calendar.el (calendar-generate-month):
8014 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8015 (calendar-generate-month, calendar-font-lock-keywords):
8016 Fix for calendar-day-header-width > length of any day name.
8017
8018 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8019
8020 * desktop.el (desktop-clear): Use new name of sort predicate.
8021
8022 * frameset.el (frameset): Add docstring. Move :version property to its
8023 own `version' slot.
8024 (frameset-copy): Rename from copy-frameset.
8025 (frameset-p): Check more thoroughly.
8026 (frameset-prop): Do not check for :version, which is no longer a prop.
8027 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8028 Use new :never value instead of t.
8029 (frameset-filter-alist): Expand and clarify docstring.
8030 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8031 (frameset-filter-minibuffer, frameset-filter-save-param)
8032 (frameset-filter-restore-param, frameset-filter-iconified):
8033 Add pointer to docstring of frameset-filter-alist.
8034 (frameset-filter-params): Rename filter values to be more meaningful:
8035 :never instead of t, and reverse the meanings of :save and :restore.
8036 (frameset--process-minibuffer-frames): Clarify error message.
8037 (frameset-save): Avoid unnecessary and confusing call to framep.
8038 Use new BOA constructor for framesets.
8039 (frameset--reuse-list): Doc fix.
8040 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8041 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8042 (frameset-minibufferless-first-p): Doc fix.
8043 Rename from frameset-sort-frames-for-deletion.
8044 (frameset-restore): Doc fixes. Use new function names.
8045 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8046
8047 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8048
8049 * desktop.el (desktop-restore-forces-onscreen)
8050 (desktop-restore-reuses-frames): Document :keyword constant values.
8051 (desktop-filter-parameters-alist): Remove, now identical to
8052 frameset-filter-alist.
8053 (desktop--filter-tty*): Remove, moved to frameset.el.
8054 (desktop-save-frameset, desktop-restore-frameset):
8055 Do not pass :filters argument.
8056
8057 * frameset.el (frameset-live-filter-alist)
8058 (frameset-persistent-filter-alist): New variables.
8059 (frameset-filter-alist): Use them. Add autoload cookie.
8060 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8061 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8062 `frameset--id' (it's supposed to be internal to frameset.el).
8063 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8064 (frameset--initial-params): New function.
8065 (frameset--get-frame): Use it. Doc fix.
8066 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8067 Accept :all, not 'all.
8068 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8069 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8070 with fbound symbols. Fix frame id matching, and remove matching ids if
8071 the frame being restored is deleted. Obey :delete.
8072
8073 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * subr.el (macrop): New function.
8076 (text-clone--maintaining): New var.
8077 (text-clone--maintain): Rename from text-clone-maintain. Use it
8078 instead of inhibit-modification-hooks.
8079
8080 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8081 a proxy, so as handle autoloads and redefinitions of the target.
8082 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8083
8084 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8085 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8086 (pcase--mutually-exclusive-p): New function.
8087 (pcase--split-consp): Use it.
8088 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8089 mutually exclusive with the current predicate.
8090
8091 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8092 (edebug-macrop): Remove. Use `macrop' instead.
8093 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8094 (ad-macro-p):
8095 * eshell/esh-cmd.el (eshell-macrop):
8096 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8097
8098 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8099
8100 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8101 (advice-mapc): New function, using it.
8102 (advice-function-member-p): New function.
8103 (advice--normalize): Store the cdr in advice--saved-rewrite since
8104 that's the part that will be changed.
8105 (advice--symbol-function): New function.
8106 (advice-remove): Handle removal before the function is defined.
8107 Adjust to new advice--saved-rewrite.
8108 (advice-member-p): Use advice-function-member-p and
8109 advice--symbol-function.
8110
8111 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8112
8113 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8114 (frameset-filter-minibuffer): Doc fix.
8115 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8116 (frameset--set-id, frameset--process-minibuffer-frames)
8117 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8118 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8119
8120 * desktop.el (desktop-clear): Only delete frames when called
8121 interactively and desktop-restore-frames is non-nil. Doc fix.
8122 (desktop-read): Set desktop-saved-frameset to nil.
8123
8124 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8125
8126 * vc/vc.el (vc-ignore): Rewrite.
8127 (vc-default-ignore-completion-table, vc--read-lines)
8128 (vc--add-line, vc--remove-regexp): New functions.
8129
8130 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8131 (vc-svn-ignore-completion-table): New function.
8132
8133 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8134 (vc-hg-ignore-completion-table)
8135 (vc-hg-find-ignore-file): New functions.
8136
8137 * vc/vc-git.el (vc-git-ignore): Rewrite.
8138 (vc-git-ignore-completion-table)
8139 (vc-git-find-ignore-file): New functions.
8140
8141 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8142
8143 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8144 (vc-bzr-ignore-completion-table)
8145 (vc-bzr-find-ignore-file): New functions.
8146
8147 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8148
8149 * frameset.el (frameset-prop): New function and setter.
8150 (frameset-save): Do not modify frame list passed by the caller.
8151
8152 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8155
8156 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8157
8158 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8159 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8160
8161 * custom.el (custom-initialize-default, custom-initialize-set)
8162 (custom-initialize-reset, custom-initialize-changed): Affect the
8163 toplevel-default-value (bug#6275, bug#14586).
8164 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8165 for bug#6275.
8166
8167 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8168
8169 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8170 Add cl-def* expressions.
8171
8172 * frameset.el (frameset-filter-params): Fix order of arguments.
8173
8174 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8175
8176 Move code related to saving frames to frameset.el.
8177 * desktop.el: Require frameset.
8178 (desktop-restore-frames): Doc fix.
8179 (desktop-restore-reuses-frames): Rename from
8180 desktop-restoring-reuses-frames.
8181 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8182 (desktop-clear): Clear frames too.
8183 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8184 (desktop--filter-tty*, desktop-save, desktop-read):
8185 Use frameset functions.
8186 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8187 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8188 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8189 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8190 (desktop--process-minibuffer-frames, desktop-save-frames)
8191 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8192 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8193 (desktop--sort-states, desktop-restoring-frames-p)
8194 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8195 (desktop-restoring-frameset-p, desktop-restore-frameset)
8196 (desktop--check-dont-save, desktop-save-frameset): New functions.
8197 (desktop--app-id): New constant.
8198 (desktop-first-buffer, desktop-buffer-ok-count)
8199 (desktop-buffer-fail-count): Move before first use.
8200 * frameset.el: New file.
8201
8202 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * files.el: Use lexical-binding.
8205 (dir-locals-read-from-file): Remove unused `err' variable.
8206 (hack-dir-local-variables--warned-coding): New var.
8207 (hack-dir-local-variables): Use it to avoid repeated warnings.
8208 (make-backup-file-name--default-function): New function.
8209 (make-backup-file-name-function): Use it as default.
8210 (buffer-stale--default-function): New function.
8211 (buffer-stale-function): Use it as default.
8212 (revert-buffer-insert-file-contents--default-function): New function.
8213 (revert-buffer-insert-file-contents-function): Use it as default.
8214 (insert-directory): Avoid add-to-list.
8215
8216 * autorevert.el (auto-revert-handler): Simplify.
8217 Use buffer-stale--default-function.
8218
8219 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8220
8221 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8222
8223 * whitespace.el (whitespace-ensure-local-variables): New function.
8224 (whitespace-cleanup-region): Call it.
8225 (whitespace-turn-on): Call it.
8226
8227 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8228
8229 Complete file name handlers.
8230
8231 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8232 (tramp-handle-verify-visited-file-modtime)
8233 (tramp-handle-file-notify-rm-watch): New functions.
8234 (tramp-call-process): Do not bind `default-directory'.
8235
8236 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8237 Order alphabetically.
8238 <access-file, add-name-to-file, dired-call-process>:
8239 <dired-compress-file, file-acl, file-notify-rm-watch>:
8240 <file-ownership-preserved-p, file-selinux-context>:
8241 <make-directory-internal, make-symbolic-link, set-file-acl>:
8242 <set-file-selinux-context, set-visited-file-modtime>:
8243 <verify-visited-file-modtime>: Add handler.
8244 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8245
8246 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8247 <file-notify-add-watch, file-notify-rm-watch>:
8248 <set-file-times, set-visited-file-modtime>:
8249 <verify-visited-file-modtime>: Add handler.
8250 (with-tramp-gvfs-error-message)
8251 (tramp-gvfs-handle-set-visited-file-modtime)
8252 (tramp-gvfs-fuse-file-name): Remove.
8253 (tramp-gvfs-handle-file-notify-add-watch)
8254 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8255 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8256
8257 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8258 Order alphabetically.
8259 <file-notify-rm-watch>: Use default Tramp handler.
8260 <executable-find>: Remove private handler.
8261 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8262 `default-directory'.
8263 (tramp-sh-handle-executable-find)
8264 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8265 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8266 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8267 Do not use `format' in `tramp-message'.
8268
8269 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8270 <file-notify-rm-watch, set-visited-file-modtime>:
8271 <verify-visited-file-modtime>: Add handler.
8272 (tramp-smb-call-winexe): Do not bind `default-directory'.
8273
8274 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8275
8276 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8277
8278 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8279
8280 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8281 use it.
8282 (log-view-diff-changeset): Same.
8283 (log-view-diff-common): Call backend command `previous-revision'
8284 to find out the previous revision, in both cases. Swap the
8285 variables `to' and `fr', so that `fr' usually refers to the
8286 earlier revision (Bug#14989).
8287
8288 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8289
8290 * ibuf-ext.el (ibuffer-filter-by-filename):
8291 Make it work with dired buffers too.
8292
8293 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8294
8295 * emacs-lisp/re-builder.el (reb-color-display-p):
8296 * files.el (save-buffers-kill-terminal):
8297 * net/browse-url.el (browse-url):
8298 * server.el (server-save-buffers-kill-terminal):
8299 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8300 Prefer nil to selected-frame for the first arg of frame-parameter.
8301
8302 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8303
8304 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8305
8306 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8307
8308 * minibuffer.el (completion--twq-all): Try and preserve each
8309 completion's case choice (bug#14907).
8310
8311 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8312
8313 * net/network-stream.el (open-network-stream): Mention the new
8314 :nogreeting parameter.
8315 (network-stream-open-starttls): Use the :nogreeting parameter
8316 (bug#14938).
8317
8318 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8319
8320 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8321 more natural than popping.
8322
8323 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8324 (shr-urlify): Highlight under mouse.
8325
8326 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8327
8328 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8329
8330 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8331
8332 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8333 buffer for output.
8334
8335 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8336 point-min==1. Fix search string. Fix parentheses missing.
8337
8338 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8339 assume point-min==1. Fix search string. Fix parentheses missing.
8340
8341 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8342
8343 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8344 buffer for output.
8345
8346 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8347
8348 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8349 initial frame is minibuffer-less. (Bug#14841)
8350
8351 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8352
8353 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8354 option.
8355
8356 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8357 (tramp-maybe-open-connection): Use it.
8358
8359 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8360
8361 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8362 minimal set of parameters passed when creating a frame, because
8363 the minibuffer status of a frame cannot be changed later.
8364
8365 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8366
8367 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8368 replace-regexp-in-string and inadvertent omissions in previous change.
8369 (todo-filter-items): Ensure only file names are comma-separated in
8370 name of filtered items buffer.
8371
8372 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8373
8374 * desktop.el: Optionally force offscreen frames back onscreen.
8375 (desktop-restoring-reuses-frames): New option.
8376 (desktop--compute-pos, desktop--move-onscreen): New functions.
8377 (desktop--make-frame): Use desktop--move-onscreen.
8378
8379 2013-07-27 Alan Mackenzie <acm@muc.de>
8380
8381 Fontify a Java generic method as a function.
8382 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8383 value to t.
8384
8385 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8386
8387 * calendar/todo-mode.el: Add command to rename todo files.
8388 (todo-rename-file): New command.
8389 (todo-key-bindings-t): Add key binding for it. Change the
8390 bindings of todo-filter-regexp-items(-multifile) to use `x'
8391 instead of `r', since the latter is better suited to the new
8392 renaming command.
8393
8394 2013-07-27 Alan Mackenzie <acm@muc.de>
8395
8396 Make Java try-with-resources statement parse properly.
8397 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8398 (c-block-stmt-1-2-key): New language constants/variables.
8399 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8400 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8401 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8402 with c-block-stmt-1-2-key.
8403
8404 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8405
8406 * desktop.el (desktop--make-frame): Apply most frame parameters after
8407 creating the frame to force (partially or totally) offscreen frames to
8408 be restored as such.
8409
8410 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8411
8412 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8413 (Bug#14948)
8414
8415 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8418 `base' arg of backtrace-frame.
8419
8420 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8421
8422 * simple.el (list-processes): Doc fix.
8423
8424 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8425
8426 * desktop.el (desktop--select-frame):
8427 Try harder to reuse existing frames.
8428
8429 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8432 (edebug-eval): Use backtrace-eval.
8433 (edebug--display, edebug--recursive-edit): Don't let-bind the
8434 edebug-outer-* vars that keep track of variables we locally let-bind.
8435 (edebug-outside-excursion): Don't restore outside values of locally
8436 let-bound vars.
8437 (edebug--display): Use user-error.
8438 (cl-lexical-debug, cl-debug-env): Remove.
8439
8440 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8441
8442 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8443 are restored to be sure that they are visible before deleting any
8444 remaining ones.
8445
8446 2013-07-26 Matthias Meulien <orontee@gmail.com>
8447
8448 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8449 vc-print-root-log. (Bug#14948)
8450
8451 2013-07-26 Richard Stallman <rms@gnu.org>
8452
8453 Add aliases for encrypting mail.
8454 * epa.el (epa-mail-aliases): New option.
8455 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8456 Bind inhibit-read-only so read-only text doesn't ruin everything.
8457 (epa-mail-default-recipients): New subroutine broken out.
8458 Handle epa-mail-aliases.
8459
8460 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8461
8462 Add support for lexical variables to the debugger's `e' command.
8463 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8464 vars, except for debugger-outer-match-data.
8465 (debugger-frame-number): Move check for "on a function call" from
8466 callers into it. Add `skip-base' argument.
8467 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8468 (debugger-env-macro): Only reset the state stored in non-variables,
8469 i.e. current-buffer and match-data.
8470 (debugger-eval-expression): Rewrite using backtrace-eval.
8471 * subr.el (internal--called-interactively-p--get-frame): Remove.
8472 (called-interactively-p):
8473 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8474 `base' arg of backtrace-frame instead.
8475
8476 2013-07-26 Glenn Morris <rgm@gnu.org>
8477
8478 * align.el (align-regexp): Doc fix. (Bug#14857)
8479 (align-region): Explicit error if subexpression missing/does not match.
8480
8481 * simple.el (global-visual-line-mode):
8482 Do not duplicate the mode lighter. (Bug#14858)
8483
8484 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8485
8486 * window.el (display-buffer): In display-buffer bind
8487 split-window-keep-point to t, bug#14829.
8488
8489 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8490
8491 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8492 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8493 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8494 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8495 Change accordingly.
8496 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8497 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8498
8499 2013-07-25 Glenn Morris <rgm@gnu.org>
8500
8501 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8502
8503 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8504
8505 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8506 parameter to modify-frame-parameters if the value has not changed;
8507 this is a workaround for bug#14949.
8508 (desktop--make-frame): On cl-delete-if call, check parameter name,
8509 not full parameter.
8510
8511 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8512
8513 * vc/vc.el (vc-ignore): New function.
8514
8515 * vc/vc-svn.el (vc-svn-ignore): New function.
8516
8517 * vc/vc-hg.el (vc-hg-ignore): New function.
8518
8519 * vc/vc-git.el (vc-git-ignore): New function.
8520
8521 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8522 (vc-dir-ignore): New function.
8523
8524 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8525 (cvs-append-to-ignore): Move here from pcvs.el.
8526
8527 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8528
8529 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8530
8531 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8532
8533 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8534 (desktop-restore-frames): Warn when deleting an existing frame failed.
8535
8536 2013-07-24 Glenn Morris <rgm@gnu.org>
8537
8538 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8539
8540 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8541
8542 * filenotify.el (file-notify-supported-p):
8543 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8544 Remove functions.
8545
8546 * autorevert.el (auto-revert-use-notify)
8547 (auto-revert-notify-add-watch):
8548 * net/tramp.el (tramp-file-name-for-operation):
8549 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8550 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8551 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8552 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8553 Remove `file-notify-supported-p' entry.
8554
8555 2013-07-24 Glenn Morris <rgm@gnu.org>
8556
8557 * printing.el: Replace all uses of deleted ps-windows-system,
8558 ps-lp-system, ps-flatten-list with lpr- versions.
8559
8560 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8561
8562 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8563 checked with memq (bug#14935).
8564
8565 * files.el (revert-buffer-function): Use a non-nil default.
8566 (revert-buffer-preserve-modes): Declare var to
8567 provide access to the `preserve-modes' argument.
8568 (revert-buffer): Let-bind it.
8569 (revert-buffer--default): New function, extracted from revert-buffer.
8570
8571 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8572
8573 * lpr.el: Signal print errors more prominently.
8574 (print-region-function): Don't default to nil.
8575 (lpr-print-region): New function, extracted from print-region-1.
8576 Check lpr's return value and signal an error in case of problem.
8577 (print-region-1): Use it.
8578 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8579 versions instead.
8580 (ps-printer-name): Default to nil.
8581 (ps-printer-name-option): Default to lpr-printer-switch.
8582 (ps-print-region-function): Don't default to nil.
8583 (ps-postscript-code-directory): Simplify default.
8584 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8585 (ps-string-list, ps-eval-switch, ps-flatten-list)
8586 (ps-flatten-list-1): Remove.
8587 (ps-multibyte-buffer): Avoid setq.
8588 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8589 (print-region-function, ps-print-region-function): Don't set them here.
8590
8591 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8592
8593 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8594 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8595 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8596 (ido-decorations): Doc fix.
8597
8598 * ansi-color.el: Fix old URL.
8599
8600 2013-07-23 Michael R. Mauger <michael@mauger.com>
8601
8602 * progmodes/sql.el: Version 3.3
8603 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8604 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8605 (sql-interactive-remove-continuation-prompt): Rewrite, use
8606 functions above. Fix continuation prompt and complete output line
8607 handling.
8608 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8609 redirected output buffer.
8610 (sql-mode): Restore deleted code (Bug#13591).
8611
8612 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8613
8614 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8615
8616 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8617
8618 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8619
8620 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8621 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8622 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8623
8624 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8625
8626 * desktop.el (desktop-clear): Simplify; remove useless checks
8627 against invalid buffer names.
8628 (desktop-list*): Use cl-list*.
8629 (desktop-buffer-info, desktop-create-buffer): Simplify.
8630
8631 2013-07-23 Leo Liu <sdl.web@gmail.com>
8632
8633 * bookmark.el (bookmark-make-record): Restore NAME as a default
8634 value. (Bug#14933)
8635
8636 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8637
8638 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8639 extracted from autoload--insert-text.
8640 (autoload--insert-text): Remove.
8641 (autoload--print-cookie-text): New function, extracted from
8642 autoload--insert-cookie-text.
8643 (autoload--insert-cookie-text): Remove.
8644 (autoload-generate-file-autoloads): Adjust calls accordingly.
8645
8646 * winner.el (winner-hook-installed-p): Remove.
8647 (winner-mode): Simplify accordingly.
8648
8649 * subr.el (add-to-list): Fix compiler-macro when `append' is
8650 not constant. Don't use `cl-member' for the base case.
8651
8652 * progmodes/subword.el: Fix boundary case (bug#13758).
8653 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8654 own group.
8655 (subword-backward-regexp): Make it a constant.
8656 (subword-forward-internal): Don't treat a trailing capital as the
8657 beginning of a word.
8658
8659 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8660
8661 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8662 global value of tabulated-list-revert-hook (bug#14930).
8663
8664 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8665
8666 * desktop.el: Require 'cl-lib.
8667 (desktop-before-saving-frames-functions): New hook.
8668 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8669 for frames being saved. Rename from desktop--save-minibuffer-frames.
8670 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8671 Do not save frames with non-nil `desktop-dont-save' parameter.
8672 Filter out deleted frames.
8673 (desktop--find-frame): Use cl-find-if.
8674 (desktop--select-frame): Use cl-(first|second|third) to access values
8675 of desktop-mini.
8676 (desktop--make-frame): Use cl-delete-if.
8677 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8678 (desktop-restore-frames): Use cl-(first|second|third) to access values
8679 of desktop-mini. Look for visible frame at the end, not while
8680 restoring frames.
8681
8682 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8683 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8684 Use string-match-p, looking-at-p (bug#14927).
8685
8686 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8687
8688 * desktop.el (desktop-saved-frame-states):
8689 Rename from desktop--saved-states; all users changed.
8690 (desktop-save-frames): Rename from desktop--save-frames.
8691 Do not save state to desktop file.
8692 (desktop-save): Save desktop-saved-frame-states to desktop file
8693 and reset to nil.
8694 (desktop-restoring-frames-p): New function.
8695 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8696 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8697 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8698
8699 * desktop.el: Correctly restore iconified frames.
8700 (desktop--filter-iconified-position): New function.
8701 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8702
8703 2013-07-20 Glenn Morris <rgm@gnu.org>
8704
8705 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8706 Let `message' do the formatting.
8707 (def-gdb-preempt-display-buffer): Add explicit format.
8708
8709 * image-dired.el (image-dired-track-original-file):
8710 Use with-current-buffer.
8711 (image-dired-track-thumbnail): Use with-current-buffer.
8712 Avoid changing point of wrong window.
8713
8714 * image-dired.el (image-dired-track-original-file):
8715 Avoid changing point of wrong window. (Bug#14909)
8716
8717 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8718
8719 * progmodes/gdb-mi.el (gdb-done-or-error):
8720 Guard against "%" in gdb output. (Bug#14127)
8721
8722 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8723
8724 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8725 (Bug#14826)
8726
8727 * international/mule.el (coding-system-iso-2022-flags): Fix last
8728 change.
8729
8730 2013-07-20 Kenichi Handa <handa@gnu.org>
8731
8732 * international/mule.el (coding-system-iso-2022-flags):
8733 Add `8-bit-level-4'. (Bug#8522)
8734
8735 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8736
8737 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8738 (bug#14815).
8739
8740 * net/eww.el (eww-process-text-input): Allow inputting when the
8741 point is at the start of the line, as the properties aren't
8742 front-sticky.
8743
8744 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8745 degenerate widths.
8746
8747 2013-07-19 Richard Stallman <rms@gnu.org>
8748
8749 * epa.el (epa-popup-info-window): Doc fix.
8750
8751 * subr.el (split-string): New arg TRIM.
8752
8753 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8754
8755 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8756 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8757
8758 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8759
8760 * filenotify.el (file-notify--library): Rename from
8761 `file-notify-support'. Do not autoload. Adapt all uses.
8762 (file-notify-supported-p): New defun.
8763
8764 * autorevert.el (auto-revert-use-notify):
8765 Use `file-notify-supported-p' instead of `file-notify-support'.
8766 Adapt docstring.
8767 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8768
8769 * net/tramp.el (tramp-file-name-for-operation):
8770 Add `file-notify-supported-p'.
8771
8772 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8773 New defun.
8774 (tramp-sh-file-name-handler-alist): Add it as handler for
8775 `file-notify-supported-p '.
8776
8777 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8778 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8779 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8780 Add `ignore' as handler for `file-notify-*' functions.
8781
8782 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8783
8784 * simple.el (line-move-partial, line-move): Don't start vscroll or
8785 scroll-up if the current line is not taller than the window.
8786 (Bug#14881)
8787
8788 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8789
8790 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8791 highlight question marks in the method names as strings.
8792 (ruby-block-beg-keywords): Inline.
8793 (ruby-font-lock-keyword-beg-re): Extract from
8794 `ruby-font-lock-keywords'.
8795
8796 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8797
8798 * frame.el (blink-cursor-blinks): New defcustom.
8799 (blink-cursor-blinks-done): New defvar.
8800 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8801 (blink-cursor-timer-function): Check if number of blinks has been
8802 done on X and NS.
8803 (blink-cursor-suspend, blink-cursor-check): New defuns.
8804
8805 2013-07-15 Glenn Morris <rgm@gnu.org>
8806
8807 * edmacro.el (edmacro-format-keys): Fix previous change.
8808
8809 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8810
8811 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8812 The hack didn't work outside English locales anyway.
8813
8814 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8815
8816 * simple.el (define-alternatives): Rename from alternatives-define,
8817 per RMS' suggestion.
8818
8819 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8820
8821 * desktop.el (desktop-restore-frames): Change default to t.
8822 (desktop-restore-in-current-display): Now offer more options.
8823 (desktop-restoring-reuses-frames): New customization option.
8824 (desktop--saved-states): Doc fix.
8825 (desktop-filter-parameters-alist): New variable, renamed and expanded
8826 from desktop--excluded-frame-parameters.
8827 (desktop--target-display): New variable.
8828 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8829 (desktop--filter-tty*, desktop--filter-*-color)
8830 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8831 (desktop--filter-save-desktop-parm)
8832 (desktop-restore-in-original-display-p): New functions.
8833 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8834 (desktop--save-minibuffer-frames): New function, inspired by a similar
8835 function from Martin Rudalics.
8836 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8837 (desktop--restore-in-this-display-p): Remove.
8838 (desktop--find-frame): Rename from desktop--find-frame-in-display
8839 and add predicate argument.
8840 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8841 (desktop--reuse-list): New variable.
8842 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8843 New functions.
8844 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8845
8846 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8847
8848 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8849
8850 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8851
8852 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8853 Highlight conversion methods on Kernel.
8854
8855 2013-07-13 Alan Mackenzie <acm@muc.de>
8856
8857 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8858 and comment it out. This out-commenting enables certain C++
8859 declarations to be parsed correctly.
8860
8861 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8862
8863 * international/mule.el (define-coding-system): Doc fix.
8864
8865 * simple.el (default-font-height): Don't call font-info if the
8866 frame's default font didn't change since the frame was created.
8867 (Bug#14838)
8868
8869 2013-07-13 Leo Liu <sdl.web@gmail.com>
8870
8871 * ido.el (ido-read-file-name): Guard against non-symbol value.
8872
8873 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8874
8875 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8876 in nested defuns.
8877
8878 2013-07-13 Leo Liu <sdl.web@gmail.com>
8879
8880 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8881 ido-set-matches call. (Bug#6852)
8882
8883 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8884
8885 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8886 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8887 Ruby 2.0.
8888 (ruby-font-lock-keywords): Distinguish calls to functions with
8889 module-like names from module references. Highlight character
8890 literals.
8891
8892 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8893
8894 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8895 (gdb-send): Handle continued commands. (Bug#14847)
8896
8897 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8898
8899 * desktop.el (desktop--v2s): Remove unused local variable.
8900 (desktop-save-buffer): Make defvar-local; adjust docstring.
8901 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8902 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8903
8904 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8905
8906 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8907
8908 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8909
8910 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8911 (Bug#14842)
8912
8913 2013-07-12 Glenn Morris <rgm@gnu.org>
8914
8915 * doc-view.el: Require cl-lib at runtime too.
8916 (doc-view-remove-if): Remove.
8917 (doc-view-search-next-match, doc-view-search-previous-match):
8918 Use cl-remove-if.
8919
8920 * edmacro.el: Require cl-lib at runtime too.
8921 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8922 (edmacro-mismatch, edmacro-subseq): Remove.
8923
8924 * shadowfile.el: Require cl-lib.
8925 (shadow-remove-if): Remove.
8926 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8927 Use cl-remove-if.
8928
8929 * wid-edit.el: Require cl-lib.
8930 (widget-choose): Use cl-remove-if.
8931 (widget-remove-if): Remove.
8932
8933 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8934 (ebrowse-delete-if-not): Remove.
8935 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8936 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8937 Use cl-delete-if-not.
8938
8939 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8940
8941 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8942 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8943
8944 2013-07-12 Leo Liu <sdl.web@gmail.com>
8945
8946 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8947
8948 2013-07-11 Glenn Morris <rgm@gnu.org>
8949
8950 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8951 (edebug-gensym-index, edebug-gensym):
8952 Remove reimplementation of cl-gensym.
8953 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8954
8955 * thumbs.el: Require cl-lib at run-time too.
8956 (thumbs-gensym-counter, thumbs-gensym):
8957 Remove reimplementation of cl-gensym.
8958 (thumbs-temp-file): Use cl-gensym.
8959
8960 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8961 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8962 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8963 (ert--union, ert--gensym-counter, ert--gensym-counter)
8964 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8965 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8966 (ert-make-test-unbound, ert--expand-should-1)
8967 (ert--expand-should, ert--should-error-handle-error)
8968 (should-error, ert--explain-equal-rec)
8969 (ert--plist-difference-explanation, ert-select-tests)
8970 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8971 Use cl-lib functions rather than reimplementations.
8972
8973 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8974
8975 * net/tramp.el (tramp-methods): Extend docstring.
8976 (tramp-connection-timeout): New defcustom.
8977 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8978 (with-tramp-progress-reporter): Simplify.
8979 (tramp-process-actions): Improve messages.
8980
8981 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8982 * net/tramp-sh.el (tramp-maybe-open-connection):
8983 Use `tramp-connection-timeout'.
8984 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8985 (Bug#14808)
8986
8987 2013-07-11 Leo Liu <sdl.web@gmail.com>
8988
8989 * ido.el (ido-read-file-name): Conform to the requirements of
8990 read-file-name. (Bug#11861)
8991 (ido-read-directory-name): Conform to the requirements of
8992 read-directory-name.
8993
8994 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8995
8996 * subr.el (delay-warning): New function.
8997
8998 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8999
9000 * simple.el (default-line-height): New function.
9001 (line-move-partial, line-move): Use it instead of computing the
9002 line height inline.
9003 (line-move-partial): Always compute ROWH. If the last line is
9004 partially-visible, but its text is completely visible, allow
9005 cursor to enter such a partially-visible line.
9006
9007 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9008
9009 Improve error messages. (Bug#14808)
9010
9011 * net/tramp.el (tramp-current-connection): New defvar, moved from
9012 tramp-sh.el.
9013 (tramp-message-show-progress-reporter-message): Remove, not
9014 needed anymore.
9015 (tramp-error-with-buffer): Show message in minibuffer.
9016 Discard input before waiting. Reset connection timestamp.
9017 (with-tramp-progress-reporter): Improve messages.
9018 (tramp-process-actions): Use progress reporter. Delete process in
9019 case of error. Improve messages.
9020
9021 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9022 Call `tramp-error-with-buffer' with vector and buffer.
9023 (tramp-current-connection): Remove.
9024 (tramp-maybe-open-connection): The car of
9025 `tramp-current-connection' are the first 3 slots of the vector.
9026
9027 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9028
9029 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9030 inside continued strings.
9031
9032 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9033
9034 Timestamp fixes for undo (Bug#14824).
9035 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9036
9037 2013-07-10 Leo Liu <sdl.web@gmail.com>
9038
9039 * files.el (require-final-newline): Allow safe local value.
9040 (Bug#14834)
9041
9042 2013-07-09 Leo Liu <sdl.web@gmail.com>
9043
9044 * ido.el (ido-read-directory-name): Handle fallback.
9045 (ido-read-file-name): Update DIR to ido-current-directory.
9046 (Bug#1516)
9047 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9048
9049 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9050
9051 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9052 "autoload". Remove "warn lower camel case" section, previously
9053 commented out. Highlight negation char. Do not highlight the
9054 target in singleton method definitions.
9055
9056 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9057
9058 * faces.el (tty-setup-hook): Declare the hook.
9059
9060 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9061 and detect when a guard/pred depends on local vars (bug#14773).
9062 (pcase--u1): Adjust caller.
9063
9064 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9065
9066 * simple.el (line-move-partial, line-move): Account for
9067 line-spacing.
9068 (line-move-partial): Avoid setting vscroll when the last
9069 partially-visible line in window is of default height.
9070
9071 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9072
9073 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9074 been used a while.
9075
9076 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9077
9078 * subr.el (read-quoted-char): Remove unused local variable `char'.
9079
9080 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9081
9082 * ediff.el (ediff-version): Version update.
9083 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9084 (ediff-merge-with-ancestor-command, ediff-directories-command)
9085 (ediff-directories3-command, ediff-merge-directories-command)
9086 (ediff-merge-directories-with-ancestor-command): New functions.
9087 All are command-line interfaces to ediff: to facilitate calling
9088 Emacs with the appropriate ediff functions invoked.
9089
9090 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9091 (viper-save-kill-buffer): Check if buffer is modified.
9092
9093 * viper.el (viper-version): Version update.
9094 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9095
9096 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9099 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9100 (viper-intercept-ESC-key): Simplify.
9101 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9102 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9103 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9104 (viper-setup-ESC-to-escape): New functions.
9105 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9106 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9107
9108 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9109
9110 * simple.el (default-font-height, window-screen-lines):
9111 New functions.
9112 (line-move, line-move-partial): Use them instead of
9113 frame-char-height and window-text-height. This makes scrolling
9114 text smoother when the buffer's default face uses a font that is
9115 different from the frame's default font.
9116
9117 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9118
9119 * files.el (write-file): Do not display confirm dialog for NS,
9120 it does its own dialog, which can't be canceled (Bug#14578).
9121
9122 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9123
9124 * simple.el (line-move-partial): Adjust the row returned by
9125 posn-at-point for the current window-vscroll. (Bug#14567)
9126
9127 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9128
9129 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9130 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9131 spaces.
9132
9133 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9134
9135 * window.el (window-state-put-stale-windows): New variable.
9136 (window--state-put-2): Save list of windows without matching buffer.
9137 (window-state-put): Remove "bufferless" windows if possible.
9138
9139 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9140
9141 * simple.el (alternatives-define): Remove leftover :group keyword.
9142 Tweak docstring.
9143
9144 2013-07-06 Leo Liu <sdl.web@gmail.com>
9145
9146 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9147 (ido-enable-virtual-buffers): New variable.
9148 (ido-buffer-internal, ido-toggle-virtual-buffers)
9149 (ido-make-buffer-list): Use it.
9150 (ido-exhibit): Support turning on and off virtual buffers
9151 automatically.
9152
9153 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9154
9155 * simple.el (alternatives-define): New macro.
9156
9157 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * subr.el (read-quoted-char): Use read-key.
9160 (sit-for): Let read-event decode tty input (bug#14782).
9161
9162 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9163
9164 * calendar/todo-mode.el: Add handling of file deletion, both by
9165 mode command and externally. Fix various related bugs.
9166 Clarify Commentary and improve some documentation strings and code.
9167 (todo-delete-file): New command.
9168 (todo-check-file): New function.
9169 (todo-show): Handle external deletion of the file we're trying to
9170 show (bug#14688). Replace called-interactively-p by an optional
9171 prefix argument to avoid problematic interaction with catch form
9172 when byte compiled (bug#14702).
9173 (todo-quit): Handle external deletion of the archive's todo file.
9174 Make sure the buffer that was visiting the archive file is still
9175 live before trying to bury it.
9176 (todo-category-completions): Handle external deletion of any
9177 category completion files.
9178 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9179 of todo files, in case of external deletion.
9180 (todo-add-file): Replace unnecessary setq by let-binding.
9181 (todo-find-archive): Check whether there are any archives.
9182 Replace unnecessary setq by let-binding.
9183 (todo-archive-done-item): Use find-file-noselect to get the
9184 archive buffer whether or not the archive already exists.
9185 Remove superfluous code. Use file size instead of buffer-file-name to
9186 check if the archive is new; if it is, update list of archives.
9187 (todo-default-todo-file): Allow nil to be a valid value for when
9188 there are no todo files.
9189 (todo-reevaluate-default-file-defcustom): Use corrected definition
9190 of todo-default-todo-file.
9191 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9192 (todo-delete-category, todo-show-categories-table)
9193 (todo-category-number): Clarify comment.
9194 (todo-filter-items): Clarify documentation string.
9195 (todo-show-current-file, todo-display-as-todo-file)
9196 (todo-reset-and-enable-done-separator): Tweak documentation string.
9197 (todo-done-separator): Make separator length window-width, since
9198 bug#2749 is now fixed.
9199
9200 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9201
9202 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9203 Support both "gvfs-monitor-dir" and "inotifywait".
9204 (tramp-sh-file-inotifywait-process-filter): Rename from
9205 `tramp-sh-file-notify-process-filter'.
9206 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9207 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9208
9209 2013-07-05 Leo Liu <sdl.web@gmail.com>
9210
9211 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9212
9213 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9214
9215 * frame.el (display-pixel-height, display-pixel-width)
9216 (display-mm-height, display-mm-width): Mention behavior on
9217 multi-monitor setups in docstrings.
9218 (w32-display-monitor-attributes-list): Declare function.
9219 (display-monitor-attributes-list): Use it.
9220
9221 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9222
9223 * filenotify.el: New package.
9224
9225 * autorevert.el (top): Require filenotify.el.
9226 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9227 instead.
9228 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9229 (auto-revert-notify-handler): Use `file-notify-*' functions.
9230
9231 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9232
9233 * net/tramp.el (tramp-file-name-for-operation):
9234 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9235
9236 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9237 for `file-notify-add-watch' and `file-notify-rm-watch'.
9238 (tramp-process-sentinel): Improve trace.
9239 (tramp-sh-handle-file-notify-add-watch)
9240 (tramp-sh-file-notify-process-filter)
9241 (tramp-sh-handle-file-notify-rm-watch)
9242 (tramp-get-remote-inotifywait): New defuns.
9243
9244 2013-07-03 Juri Linkov <juri@jurta.org>
9245
9246 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9247 call of `occur-read-primary-args' to interactive spec.
9248
9249 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9250 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9251
9252 2013-07-03 Matthias Meulien <orontee@gmail.com>
9253
9254 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9255 `Buffer-menu-multi-occur'. Add it to the menu.
9256 (Buffer-menu-mode): Document it in docstring.
9257 (Buffer-menu-multi-occur): New command. (Bug#14673)
9258
9259 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9260
9261 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9262 keywords and built-ins.
9263
9264 2013-07-03 Glenn Morris <rgm@gnu.org>
9265
9266 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9267
9268 Make info-xref checks case-sensitive by default
9269 * info.el (Info-find-node, Info-find-in-tag-table)
9270 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9271 Add option for exact case matching of nodes.
9272 * info-xref.el (info-xref): New custom group.
9273 (info-xref-case-fold): New option.
9274 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9275
9276 2013-07-03 Leo Liu <sdl.web@gmail.com>
9277
9278 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9279
9280 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9281
9282 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9283 middle of block statement initially, lower the depth. Remove
9284 FIXME comment, not longer valid. Remove middle of block statement
9285 detection, no need to do that anymore since we've been using
9286 `ruby-parse-region' here.
9287
9288 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9289
9290 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9291
9292 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9293
9294 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9295
9296 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9297
9298 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9299 (desktop-restore-in-current-display): New customization option.
9300 (desktop--excluded-frame-parameters): Add `font'.
9301 (desktop--save-frames): Rename from desktop--save-windows.
9302 (desktop--restore-in-this-display-p): New function.
9303 (desktop--make-full-frame): Remove unwanted width/height from
9304 full(width|height) frames.
9305 (desktop--restore-frames): Rename from desktop--restore-windows.
9306 Obey desktop-restore-current-display. Do not delete old frames or
9307 select a new frame unless we were able to restore at least one frame.
9308
9309 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9310
9311 * files.el (find-file-noselect): Simplify conditional expression.
9312
9313 * textmodes/remember.el (remember-append-to-file):
9314 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9315
9316 Add `remember-notes' function to store random notes across Emacs
9317 restarts.
9318 * textmodes/remember.el (remember-data-file): Add :set callback to
9319 affect notes buffer (if any).
9320 (remember-notes): New command.
9321 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9322 New defcustoms for the `remember-notes' function.
9323 (remember-notes-save-and-bury-buffer): New command.
9324 (remember-notes-mode-map): New variable.
9325 (remember-mode): New minor mode.
9326 (remember-notes--kill-buffer-query): New function.
9327 * startup.el (initial-buffer-choice): Add notes to custom type.
9328
9329 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9330
9331 * bindings.el (right-char, left-char): Don't call sit-for, this is
9332 no longer needed. Use arithmetic comparison only for numerical
9333 arguments.
9334
9335 * international/mule-cmds.el (select-safe-coding-system):
9336 Handle the case of FROM being a string correctly. (Bug#14755)
9337
9338 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9339
9340 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9341 progression on degenerate tables.
9342 (shr-rescale-image): ImageMagick animated images currently don't work.
9343
9344 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9345
9346 Some fixes and improvements for desktop frame restoration.
9347 It is still experimental and disabled by default.
9348 * desktop.el (desktop--save-windows): Put the selected frame at
9349 the head of the list.
9350 (desktop--make-full-frame): New function.
9351 (desktop--restore-windows): Try to re-select the frame that was
9352 selected upon saving. Do not abort if some frames fail to restore,
9353 just show an error message and continue. Set up maximized frames
9354 so they have default non-maximized dimensions.
9355
9356 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9357
9358 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9359 Don't start heredoc inside a string or comment.
9360
9361 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9362
9363 * bindings.el (visual-order-cursor-movement): New defcustom.
9364 (right-char, left-char): Provide visual-order cursor motion by
9365 calling move-point-visually. Update the doc strings.
9366
9367 2013-06-28 Kenichi Handa <handa@gnu.org>
9368
9369 * international/mule.el (define-coding-system): New coding system
9370 properties :inhibit-null-byte-detection,
9371 :inhibit-iso-escape-detection, and :prefer-utf-8.
9372 (set-buffer-file-coding-system): If :charset-list property of
9373 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9374 appropriate for setting.
9375
9376 * international/mule-cmds.el (select-safe-coding-system):
9377 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9378 multibyte characters, return utf-8 (or one of its siblings).
9379
9380 * international/mule-conf.el (prefer-utf-8): New coding system.
9381 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9382 files.
9383
9384 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9385
9386 * net/shr.el (shr-render-region): New function.
9387
9388 * net/eww.el: Autoload `eww-browse-url'.
9389
9390 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9391
9392 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9393 Adapt to `package-desc-version' being a list.
9394 Use `package--ac-desc-version' to retrieve version from a package
9395 archive element.
9396
9397 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9398
9399 New experimental feature to save&restore window and frame setup.
9400 * desktop.el (desktop-save-windows): New defcustom.
9401 (desktop--saved-states): New var.
9402 (desktop--excluded-frame-parameters): New defconst.
9403 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9404 (desktop--restore-windows, desktop--save-windows): New functions.
9405 (desktop-save): Call `desktop--save-windows'.
9406 (desktop-read): Call `desktop--restore-windows'.
9407
9408 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9409
9410 * net/shr.el (add-face-text-property): Remove compat definition.
9411
9412 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9413
9414 * info.el (Info-try-follow-nearest-node): Move search for footnote
9415 above search for node name to prevent missing a footnote (bug#14717).
9416
9417 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9418
9419 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9420
9421 2013-06-27 Leo Liu <sdl.web@gmail.com>
9422
9423 * net/eww.el (eww-read-bookmarks): Check file size.
9424
9425 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9428 advice--pending if newdef is nil or an autoload (bug#13820).
9429 (advice-mapc): New function.
9430
9431 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9432
9433 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9434 probably.
9435 (eww-mode-map): Add a menu bar.
9436 (eww-add-bookmark): New command.
9437 (eww-bookmark-mode): New mode and commands.
9438 (eww-add-bookmark): Remove newlines from the title.
9439 (eww-bookmark-browse): Don't bug out if it's the only window.
9440
9441 2013-06-26 Glenn Morris <rgm@gnu.org>
9442
9443 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9444 (hfy-size): Handle ttys. (Bug#14668)
9445
9446 * info-xref.el: Update for Texinfo 5 change in *note format.
9447 (info-xref-node-re, info-xref-note-re): New constants.
9448 (info-xref-check-buffer): Use info-xref-note-re.
9449
9450 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9451
9452 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9453
9454 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9455 nil terminate the loop (bug#14718).
9456
9457 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9458
9459 * net/eww.el: Rework history traversal. When going forward/back,
9460 put these actions into the history, too, so that they can be
9461 replayed.
9462 (eww-render): Move the history reset to the correct buffer.
9463
9464 2013-06-25 Juri Linkov <juri@jurta.org>
9465
9466 * files-x.el (modify-dir-local-variable): Change the header comment
9467 in the file with directory local variables. (Bug#14692)
9468
9469 * files-x.el (read-file-local-variable-value): Add `default'.
9470 (Bug#14710)
9471
9472 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9473
9474 * net/eww.el (eww-make-unique-file-name): Create a unique file
9475 name before saving to entering `y' accidentally asynchronously.
9476
9477 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9478
9479 * net/eww.el (eww-download): New command and keystroke.
9480
9481 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9482
9483 * net/eww.el (eww-copy-page-url): Change name of command.
9484
9485 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9486 be more consistent with Info and dired.
9487
9488 * net/eww.el (eww-mode-map): Ditto.
9489
9490 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9493 packages from archives.
9494 (package-archive-contents): Change format; include obsolete packages.
9495 (package-desc): Use `dir' to mark builtin packages.
9496 (package--from-builtin): Set the `dir' field to `builtin'.
9497 (generated-autoload-file, version-control): Declare.
9498 (package-compute-transaction): Change first arg and return value to be
9499 lists of package-descs. Adjust to new package-archive-contents format.
9500 (package--add-to-archive-contents): Adjust to new
9501 package-archive-contents format.
9502 (package-download-transaction): Arg is now a list of package-descs.
9503 (package-install): If `pkg' is a package name, pass it as
9504 a requirement, so it is subject to the usual (e.g. disabled) checks.
9505 (describe-package): Accept package-desc as well.
9506 (describe-package-1): Describe a specific package-desc. Add links to
9507 other package-descs for the same package name.
9508 (package-menu-describe-package): Pass the actual package-desc.
9509 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9510 works correctly.
9511 (package-desc-status): New function.
9512 (package-menu--refresh): New function, extracted
9513 from package-menu--generate.
9514 (package-menu--generate): Use it.
9515 (package-delete): Update package-alist.
9516 (package-menu-execute): Don't call package-initialize.
9517
9518 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9519 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9520 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9521 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9522 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9523 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9524
9525 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9526
9527 * window.el (window--state-get-1): Workaround for bug#14527.
9528 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9529
9530 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9531
9532 * net/eww.el (eww-back-url): Implement the history by stashing all
9533 the data into a list.
9534 (eww-forward-url): Allow going forward in the history, too.
9535
9536 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9537
9538 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9539 for values and use read--expression for expressions (bug#14710).
9540 (read-file-local-variable): Avoid setq.
9541 (read-file-local-variable-mode): Use minor-mode-list.
9542
9543 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9544
9545 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9546 for DOI URLs.
9547
9548 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9549
9550 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9551 Update imenu-support when dialect changes.
9552
9553 2013-06-25 Leo Liu <sdl.web@gmail.com>
9554
9555 * ido.el (ido-read-internal): Allow forward slash on windows.
9556
9557 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9558
9559 * net/eww.el (eww): Start of strings is \\`, not ^.
9560
9561 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9562
9563 * net/shr.el (shr-browse-url): Fix interactive spec.
9564
9565 * net/eww.el (eww): Add a trailing slash to domain names.
9566
9567 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9568
9569 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9570
9571 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9572
9573 * net/shr.el (shr-browse-url): Use an external browser if given a
9574 prefix.
9575
9576 * net/eww.el (eww-external-browser): Move to shr.
9577
9578 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9579
9580 * net/eww.el (eww): Work more correctly for file: URLs.
9581 (eww-detect-charset): Allow quoted charsets.
9582 (eww-yank-page-url): New command and keystroke.
9583
9584 2013-06-24 Daiki Ueno <ueno@gnu.org>
9585
9586 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9587 file name of gpg executable.
9588 (epg-context-program): New function.
9589 (epg-context-home-directory): New function.
9590 (epg-context-set-program): New function.
9591 (epg-context-set-home-directory): New function.
9592 (epg--start): Use `epg-context-program' instead of
9593 'epg-gpg-program'.
9594 (epg--list-keys-1): Likewise.
9595
9596 2013-06-24 Leo Liu <sdl.web@gmail.com>
9597
9598 * ido.el (ido-read-internal): Fix bug#14620.
9599
9600 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9601
9602 * faces.el (face-documentation): Simplify.
9603 (read-face-attribute, tty-find-type, x-resolve-font-name):
9604 Use `string-match-p'.
9605 (list-faces-display): Use `string-match-p'. Simplify.
9606 (face-spec-recalc): Check face to avoid face alias loops.
9607 (read-color): Use `string-match-p' and non-capturing parenthesis.
9608
9609 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9610
9611 * net/shr.el (shr-rescale-image): Use the new
9612 :max-width/:max-height functionality.
9613
9614 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9615
9616 * net/eww.el (eww-search-prefix): New variable.
9617 (eww): Use it.
9618 (eww-external-browser): New variable.
9619 (eww-mode-map): New keystroke.
9620 (eww-browse-with-external-browser): New command.
9621
9622 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9623
9624 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9625
9626 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9627 Don't skip aligning the next header field when padding is 0;
9628 otherwise, field width is not respected unless the title is as
9629 wide as the field.
9630
9631 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * emacs-lisp/package.el (package-el-version): Remove.
9634 (package-process-define-package): Fix inf-loop.
9635 (package-install): Allow symbols as arguments again.
9636
9637 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9638
9639 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9640 add some more keyword-like methods.
9641 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9642
9643 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9644
9645 * bs.el (bs-buffer-show-mark): Make defvar-local.
9646 (bs-mode): Use setq-local.
9647
9648 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9649 (emacs-lock--try-unlocking): Make defvar-local.
9650
9651 2013-06-22 Glenn Morris <rgm@gnu.org>
9652
9653 * play/cookie1.el (cookie-apropos): Minor simplification.
9654
9655 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9656
9657 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9658
9659 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9660 `regexp-opt', it breaks the build during dumping.
9661
9662 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9663
9664 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9665 Highlight keyword-like methods on Kernel and Module with
9666 font-lock-builtin-face.
9667 (auto-mode-alist): Consolidate different entries into one regexp
9668 and add more *file-s.
9669
9670 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9671
9672 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9673
9674 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9675 (diary-entry): Use it in the action of this button type instead of
9676 diary-goto-entry.
9677
9678 * calendar/todo-mode.el: New version.
9679 (todo-add-category): Append new category to end of file and give
9680 it the highest number, instead of putting it at the beginning and
9681 giving it 0. Incorporate noninteractive functionality.
9682 (todo-forward-category): Adapt to 1-based category numbering.
9683 Allow skipping over archived categories.
9684 (todo-backward-category): Derive from todo-forward-category.
9685 (todo-backward-item, todo-forward-item): Make noninteractive and
9686 delegate interactive part to new commands. Make sensitive to done items.
9687 (todo-categories): Make value an alist of category names and
9688 vectors of item counts.
9689 (todo-category-beg): Make a defconst.
9690 (todo-category-number): Use 1 instead of 0 as initial value.
9691 (todo-category-select): Make sensitive to overlays, optional item
9692 highlighting and done items.
9693 (todo-delete-item): Make sensitive to overlays and marked and done items.
9694 (todo-edit-item): Make sensitive to overlays and editing of
9695 date/time header optional. Add format checks.
9696 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9697 no-op if point is not on an item. Advertise using todo-edit-quit.
9698 (todo-edit-mode): Make sensitive to new format, font-locking, and
9699 multiple todo files.
9700 (todo-insert-item, todo-insert-item-here): Derive from
9701 todo-basic-insert-item and extend functionality.
9702 (todo-item-end, todo-item-start): Make sensitive to done items.
9703 (todo-item-string): Don't return text properties. Restore point.
9704 (todo-jump-to-category): Make sensitive to multiple todo files and
9705 todo archives. Use extended category completion.
9706 (todo-lower-item, todo-raise-item): Rename to *-priority and
9707 derive from todo-set-item-priority.
9708 (todo-mode): Derive from special-mode. Make sensitive to new
9709 format, font-locking and multiple todo files. Make read-only.
9710 (todo-mode-map): Don't suppress digit keys, so they can supply
9711 prefix arguments. Add many new key bindings.
9712 (todo-prefix): Insert as an overlay instead of file text.
9713 Change semantics from diary date expression to purely visual mark.
9714 (todo-print): Rename to todo-print-buffer. Make buffer display
9715 features printable. Remove option to restrict number of items
9716 printed. Add option to print to file.
9717 (todo-print-function): Rename to todo-print-buffer-function.
9718 (todo-quit): Extend to handle exiting new todo modes.
9719 (todo-remove-item): Make sensitive to overlays.
9720 (todo-save): Extend to buffers of filtered items.
9721 (todo-show): Make sensitive to done items, multiple todo files and
9722 new todo modes. Offer to convert legacy todo file before creating
9723 first new todo file.
9724 (todo-show-priorities): Rename to todo-top-priorities.
9725 Change semantics of value 0.
9726 (todo-top-priorities): Rename to todo-filter-top-priorities,
9727 derive from todo-filter-items and extend functionality.
9728 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9729 and extend functionality to other types of filtered items.
9730 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9731 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9732 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9733 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9734 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9735 (todo-edit-mode-hook, todo-entry-prefix-function)
9736 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9737 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9738 (todo-initials, todo-insert-threshold, todo-item-string-start)
9739 (todo-line-string, todo-menu, todo-mode-hook)
9740 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9741 (todo-print-priorities, todo-remove-separator)
9742 (todo-save-top-priorities-too, todo-string-count-lines)
9743 (todo-string-multiline-p, todo-time-string-format)
9744 (todo-tmp-buffer-name): Remove.
9745 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9746 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9747 (todo-edit-category-diary-inclusion)
9748 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9749 (todo-edit-file, todo-edit-item-date-day)
9750 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9751 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9752 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9753 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9754 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9755 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9756 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9757 (todo-filter-top-priorities-multifile, todo-find-archive)
9758 (todo-find-filtered-items-file, todo-go-to-source-item)
9759 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9760 (todo-jump-to-archive-category, todo-lower-category)
9761 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9762 (todo-move-category, todo-move-item, todo-next-button)
9763 (todo-next-item, todo-padded-string, todo-powerset)
9764 (todo-previous-button, todo-previous-item)
9765 (todo-print-buffer-to-file, todo-raise-category)
9766 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9767 (todo-set-category-number, todo-set-item-priority)
9768 (todo-set-top-priorities-in-category)
9769 (todo-set-top-priorities-in-file, todo-show-categories-table)
9770 (todo-sort-categories-alphabetically-or-numerically)
9771 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9772 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9773 (todo-toggle-item-header, todo-toggle-item-highlighting)
9774 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9775 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9776 (todo-unarchive-items, todo-unmark-category): New commands.
9777 (todo-absolute-file-name, todo-add-to-buffer-list)
9778 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9779 (todo-basic-insert-item, todo-category-completions)
9780 (todo-category-number, todo-category-string-matcher-1)
9781 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9782 (todo-check-format, todo-clear-matches)
9783 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9784 (todo-current-category, todo-date-string-matcher)
9785 (todo-define-insertion-command, todo-diary-expired-matcher)
9786 (todo-diary-goto-entry, todo-diary-item-p)
9787 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9788 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9789 (todo-done-item-section-p, todo-done-separator)
9790 (todo-done-string-matcher, todo-files, todo-filter-items)
9791 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9792 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9793 (todo-insert-category-line, todo-insert-item-from-calendar)
9794 (todo-insert-sort-button, todo-insert-with-overlays)
9795 (todo-insertion-command-name, todo-insertion-key-bindings)
9796 (todo-label-to-key, todo-longest-category-name-length)
9797 (todo-make-categories-list, todo-mode-external-set)
9798 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9799 (todo-modes-set-3, todo-multiple-filter-files)
9800 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9801 (todo-read-category, todo-read-date, todo-read-dayname)
9802 (todo-read-file-name, todo-read-time)
9803 (todo-reevaluate-category-completions-files-defcustom)
9804 (todo-reevaluate-default-file-defcustom)
9805 (todo-reevaluate-filelist-defcustoms)
9806 (todo-reevaluate-filter-files-defcustom)
9807 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9808 (todo-reset-done-separator, todo-reset-done-separator-string)
9809 (todo-reset-done-string, todo-reset-global-current-todo-file)
9810 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9811 (todo-reset-prefix, todo-set-categories)
9812 (todo-set-date-from-calendar, todo-set-show-current-file)
9813 (todo-set-top-priorities, todo-short-file-name)
9814 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9815 (todo-total-item-counts, todo-update-buffer-list)
9816 (todo-update-categories-display, todo-update-categories-sexp)
9817 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9818 New functions.
9819 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9820 New major modes.
9821 (todo-categories, todo-display, todo-edit, todo-faces)
9822 (todo-filtered): New defgroups.
9823 (todo-archived-only, todo-button, todo-category-string, todo-date)
9824 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9825 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9826 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9827 (todo-add-item-if-new-category, todo-always-add-time-string)
9828 (todo-categories-align, todo-categories-archived-label)
9829 (todo-categories-category-label, todo-categories-diary-label)
9830 (todo-categories-done-label, todo-categories-number-separator)
9831 (todo-categories-todo-label, todo-categories-totals-label)
9832 (todo-category-completions-files, todo-completion-ignore-case)
9833 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9834 (todo-done-separator-string, todo-done-string)
9835 (todo-files-function, todo-filter-done-items, todo-filter-files)
9836 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9837 (todo-initial-category, todo-initial-file, todo-item-mark)
9838 (todo-legacy-date-time-regexp, todo-mode-line-function)
9839 (todo-nondiary-marker, todo-number-prefix)
9840 (todo-print-buffer-function, todo-show-current-file)
9841 (todo-show-done-only, todo-show-first, todo-show-with-done)
9842 (todo-skip-archived-categories, todo-top-priorities-overrides)
9843 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9844 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9845 New defcustoms.
9846 (todo-category-done, todo-date-pattern, todo-date-string-start)
9847 (todo-diary-items-buffer, todo-done-string-start)
9848 (todo-filtered-items-buffer, todo-item-start)
9849 (todo-month-abbrev-array, todo-month-name-array)
9850 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9851 (todo-top-priorities-buffer): New defconsts.
9852 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9853 (todo-categories-with-marks, todo-category-string-face)
9854 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9855 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9856 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9857 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9858 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9859 (todo-font-lock-keywords, todo-global-current-todo-file)
9860 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9861 (todo-insertion-commands-args)
9862 (todo-insertion-commands-args-genlist)
9863 (todo-insertion-commands-names, todo-insertion-map)
9864 (todo-key-bindings-t, todo-key-bindings-t+a)
9865 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9866 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9867 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9868 (todo-visited): New variables.
9869
9870 2013-06-21 Glenn Morris <rgm@gnu.org>
9871
9872 * play/cookie1.el (cookie-apropos): Add optional display argument.
9873 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9874 (psychoanalyze-pinhead): Use cookie-doctor.
9875
9876 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9877
9878 * emacs-lisp/package.el (tar-get-file-descriptor)
9879 (tar--extract): Declare.
9880
9881 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9882
9883 Extend flymake's warning predicate to be a function (bug#14217).
9884 * progmodes/flymake.el (flymake-warning-predicate): New.
9885 (flymake-parse-line): Use it.
9886 (flymake-warning-re): Make obsolete alias to
9887 `flymake-warning-predicate'.
9888
9889 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9890
9891 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9892 (package-obsolete-list): Remove.
9893 (package-activate): Remove min-version argument. Add `force' argument.
9894 Adjust to new package-alist format.
9895 (package-mark-obsolete): Remove.
9896 (package-unpack): Force reload of the package's autoloads.
9897 (package-installed-p): Check builtins if the installed package is not
9898 recent enough.
9899 (package-initialize): Don't reset package-obsolete-list.
9900 Don't specify which package version to activate.
9901 (package-process-define-package, describe-package-1)
9902 (package-menu--generate): Adjust to new package-alist format.
9903
9904 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9905
9906 * allout-widgets.el (allout-widgets-mode-off)
9907 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9908 (allout-widgets-post-command-business)
9909 (allout-widgets-after-copy-or-kill-function)
9910 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9911 (allout-decorate-item-and-context)
9912 (allout-graphics-modification-handler): Fix typos in docstrings.
9913 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9914
9915 * cmuscheme.el (scheme-start-file): Doc fix.
9916 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9917 (scheme-input-filter): Use `string-match-p'.
9918
9919 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9920
9921 * dired-x.el: Use Dired consistently in docstrings.
9922
9923 * dired.el: Use Dired consistently in docstrings.
9924 (dired-readin, dired-mode): Use `setq-local'.
9925 (dired-switches-alist): Make defvar-local.
9926 (dired-buffers-for-dir): Use `zerop'.
9927 (dired-safe-switches-p, dired-switches-escape-p)
9928 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9929 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9930 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
9931 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9932 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9933 (dired-toggle-marks, dired-mark-files-containing-regexp)
9934 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9935 (dired-flag-auto-save-files, dired-flag-backup-files):
9936 Use `looking-at-p'.
9937 (dired-mark-files-regexp, dired-build-subdir-alist):
9938 Use `string-match-p', `looking-at-p'.
9939
9940 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9941 (direct-print-region-helper): Use `string-match-p'.
9942
9943 2013-06-21 Leo Liu <sdl.web@gmail.com>
9944
9945 * comint.el (comint-redirect-results-list-from-process):
9946 Fix infinite loop.
9947
9948 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9949
9950 * net/eww.el (eww-update-header-line-format): Quote % characters.
9951
9952 2013-06-21 Glenn Morris <rgm@gnu.org>
9953
9954 * play/cookie1.el (cookie): New custom group.
9955 (cookie-file): New option.
9956 (cookie-check-file): New function.
9957 (cookie): Make it interactive. Make start and end messages optional.
9958 Interactively, display the result. Default to cookie-file.
9959 (cookie-insert): Default to cookie-file.
9960 (cookie-snarf): Make start and end messages optional.
9961 Default to cookie-file. Use with-temp-buffer.
9962 (cookie-read): Rename from read-cookie.
9963 Make start and end messages optional. Default to cookie-file.
9964 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9965 Do not autoload it.
9966 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9967 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9968
9969 2013-06-21 Leo Liu <sdl.web@gmail.com>
9970
9971 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9972
9973 2013-06-21 Glenn Morris <rgm@gnu.org>
9974
9975 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9976
9977 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9978 Daniel Hackney <dan@haxney.org>
9979
9980 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9981 Consolidate the single-file vs tarball code.
9982 (package-desc-suffix): New function.
9983 (package-desc-full-name): Don't bother inlining it.
9984 (package-load-descriptor): Return the new package-desc.
9985 (package-mark-obsolete): Remove unused arg `package'.
9986 (package-unpack): Make it work for single files as well.
9987 Make it update package-alist.
9988 (package--make-autoloads-and-stuff): Rename from
9989 package--make-autoloads-and-compile. Don't compile any more.
9990 (package--compile): New function.
9991 (package-generate-description-file): New function, extracted from
9992 package-unpack-single.
9993 (package-unpack-single): Remove.
9994 (package--with-work-buffer): Add indentation and debugging info.
9995 (package-download-single): Remove.
9996 (package-install-from-archive): Rename from package-download-tar, make
9997 it take a pkg-desc, and make it work for single files as well.
9998 (package-download-transaction): Simplify.
9999 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10000 external tar program.
10001 (package-install-from-buffer): Remove `pkg-desc' argument.
10002 Use package-tar-file-info for tar-mode buffers.
10003 (package-install-file): Simplify accordingly.
10004 (package-archive-base): Change to take a pkg-desc.
10005 * tar-mode.el (tar--check-descriptor): New function, extracted from
10006 tar-get-descriptor.
10007 (tar-get-descriptor): Use it.
10008 (tar-get-file-descriptor): New function.
10009 (tar--extract): New function, extracted from tar-extract.
10010 (tar--extract): Use it.
10011 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10012 case the summary uses non-ascii. Adjust to new calling convention of
10013 package-tar-file-info.
10014
10015 2013-06-21 Leo Liu <sdl.web@gmail.com>
10016
10017 * comint.el (comint-redirect-results-list-from-process):
10018 Fix random delay. (Bug#14681)
10019
10020 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10021
10022 * profiler.el (profiler-format-number): Use log, not log10.
10023
10024 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10025
10026 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10027
10028 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10031 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10032 yet available.
10033 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10034 (AUTOGENEL): ... here.
10035 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10036 (cl--defsubst-expand): Use it.
10037
10038 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10039
10040 * subr.el (log10): Move here from C code, and declare as obsolete.
10041 All uses of (log10 X) replaced with (log X 10).
10042
10043 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10044
10045 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10046 Declare with `defvar-local'.
10047 (tabulated-list-use-header-line, tabulated-list-entries)
10048 (tabulated-list-padding, tabulated-list-printer)
10049 (tabulated-list-sort-key): Declare with `defvar-local'.
10050 (tabulated-list-init-header, tabulated-list-print-fake-header):
10051 Use `setq-local'.
10052
10053 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10054
10055 * arc-mode.el (archive-mode): Add `archive-write-file' to
10056 `write-contents-functions' also for remote files. (Bug#14652)
10057
10058 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10059
10060 * cus-edit.el (custom-commands): Fix typos.
10061 (custom-display): Fix tooltip text.
10062 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10063 Fix typos in docstrings.
10064 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10065 (custom-unlispify-menu-entry, custom-magic-value-create)
10066 (custom-add-see-also, custom-group-value-create): Use ?\s.
10067 (custom-guess-type, customize-apropos, editable-field)
10068 (custom-face-value-create): Use `string-match-p'.
10069 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10070
10071 * custom.el (custom-load-symbol): Use `string-match-p'.
10072
10073 * ansi-color.el: Convert to lexical binding.
10074 (ansi-colors): Fix URL.
10075 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10076 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10077 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10078
10079 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10080
10081 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10082
10083 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10084
10085 2013-06-19 Tom Tromey <tromey@redhat.com>
10086
10087 * net/eww.el (eww-top-url): Remove.
10088 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10089 (eww-render): Set new variables. Don't set eww-top-url.
10090 (eww-handle-link): Handle "prev", "home", and "contents".
10091 Downcase the rel text.
10092 (eww-top-url): Choose best top URL.
10093
10094 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10095
10096 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10097 relying in widget.el. Using widget.el leads to too many
10098 user interface inconsistencies.
10099 (eww-self-insert): Implement entering commands in text fields.
10100 (eww-process-text-input): New function to make text input field editing
10101 work.
10102 (eww-submit): Rewrite to use the new-style form methods.
10103 (eww-select-display): Display the correct selected item.
10104 (eww-change-select): Implement changing the select value.
10105 (eww-toggle-checkbox): Implement radio/checkboxes.
10106 (eww-update-field): Fix compilation error.
10107 (eww-tag-textarea): Implement <textarea>.
10108
10109 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10110 we don't shadow mode-specific bindings.
10111
10112 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10113 nothing to push.
10114
10115 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10116
10117 2013-06-19 Glenn Morris <rgm@gnu.org>
10118
10119 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10120
10121 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10122
10123 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10124 not needed.
10125
10126 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10127
10128 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10129
10130 * net/browse-url.el (browse-url-browser-function):
10131 `eww-browse-url' has the right calling signature, `eww' does not.
10132
10133 2013-06-19 Glenn Morris <rgm@gnu.org>
10134
10135 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10136 Only eval autoloaded macros.
10137 (byte-compile-autoload): Only give the macro warning for macros.
10138
10139 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10140 (ps-underlined-faces): Declare.
10141
10142 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10143 (speedbar-add-supported-extension): Declare.
10144
10145 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10146 Don't include a date stamp in the header of the generated file;
10147 it leads to needless differences between output files.
10148
10149 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10150
10151 * net/secrets.el (secrets-struct-secret-content-type):
10152 Replace check of introspection data by a test call of "CreateItem".
10153 Some servers do not offer introspection.
10154
10155 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10156
10157 * electric.el (electric-pair-mode): Improve interaction with
10158 electric-layout-mode.
10159 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10160 (electric-pair-syntax): Use text-mode-syntax-table in comments
10161 and strings.
10162 (electric-pair--insert): New function.
10163 (electric-pair-post-self-insert-function): Use it and
10164 electric--after-char-pos.
10165
10166 2013-06-19 Leo Liu <sdl.web@gmail.com>
10167
10168 * progmodes/octave.el (octave-help): Fix regexp.
10169
10170 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10171
10172 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10173 (shr-table-horizontal-line): Allow nil as a value, and change the
10174 default.
10175 (shr-insert-table-ruler): Respect the nil value.
10176
10177 2013-06-18 Tom Tromey <tromey@barimba>
10178
10179 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10180 New defvars.
10181 (eww-open-file): New defun.
10182 (eww-render): Initialize new variables.
10183 (eww-display-html): Handle "link" and "a".
10184 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10185 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10186 (eww-back-url): Rename from eww-previous-url.
10187 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10188 New defuns.
10189
10190 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10191
10192 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10193 Distinguish ternary operator tokens from slash symbol and slash
10194 char literal.
10195
10196 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10197
10198 Convert symbol prettification into minor mode and global minor mode.
10199
10200 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10201 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10202 (prettify-symbols--keywords): Rename from
10203 `prog-prettify-symbols-alist' and make a local defvar.
10204 (prettify-symbols--compose-symbol): Rename from
10205 `prog--prettify-font-lock-compose-symbol'.
10206 (prettify-symbols--make-keywords): Rename from
10207 `prog-prettify-font-lock-symbols-keywords' and simplify.
10208 (prog-prettify-install): Remove.
10209 (prettify-symbols-mode): New minor mode, based on
10210 `prog-prettify-install'.
10211 (turn-on-prettify-symbols-mode): New function.
10212 (global-prettify-symbols-mode): New globalized minor mode.
10213
10214 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10215 * progmodes/cfengine.el (cfengine3-mode):
10216 * progmodes/perl-mode.el (perl-mode): Don't call
10217 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10218
10219 2013-06-18 Juri Linkov <juri@jurta.org>
10220
10221 * files-x.el (modify-file-local-variable-message): New function.
10222 (modify-file-local-variable)
10223 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10224 and call `modify-file-local-variable-message' when it's non-nil.
10225 (add-file-local-variable, delete-file-local-variable)
10226 (add-file-local-variable-prop-line)
10227 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10228 and use it. (Bug#9820)
10229
10230 2013-06-18 Juri Linkov <juri@jurta.org>
10231
10232 * emulation/vi.el (vi-shell-op):
10233 * emulation/vip.el (vip-execute-com, ex-command):
10234 * emulation/viper-cmd.el (viper-exec-bang):
10235 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10236 the call of `shell-command-on-region'. (Bug#14637)
10237
10238 * simple.el (shell-command-on-region): Doc fix.
10239
10240 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10241
10242 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10243 (bug#14633).
10244
10245 2013-06-18 Glenn Morris <rgm@gnu.org>
10246
10247 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10248
10249 * newcomment.el (comment-search-forward, comment-search-backward):
10250 Doc fix. (Bug#14376)
10251
10252 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10253
10254 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10255 (buffer-face-mode-invoke): Doc fix.
10256
10257 2013-06-18 Matthias Meulien <orontee@gmail.com>
10258
10259 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10260 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10261
10262 2013-06-18 Glenn Morris <rgm@gnu.org>
10263
10264 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10265 Replace obsolete function generic-make-keywords with its expansion.
10266
10267 * progmodes/python.el (ffap-alist): Declare.
10268
10269 * textmodes/reftex.el (bibtex-mode-map): Declare.
10270
10271 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10272
10273 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10274 (package-unpack, package-unpack-single): Return the pkg-dir.
10275 (package-download-transaction): Use it to update package-alist.
10276
10277 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10278
10279 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10280 possible choice.
10281
10282 2013-06-17 Juri Linkov <juri@jurta.org>
10283
10284 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10285
10286 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10287
10288 * emacs-lisp/package.el (package-load-descriptor):
10289 Remove `with-syntax-table' call, `read' doesn't need it.
10290 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10291
10292 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10293
10294 * startup.el (command-line): Expand package name returned by
10295 `package--description-file' (bug#14639).
10296
10297 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10298
10299 * emacs-lisp/package.el (package-load-descriptor): Do not call
10300 `emacs-lisp-mode', just use its syntax table.
10301
10302 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10303
10304 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10305 `font-lock-extra-managed-props' if any prettifying keyword is added.
10306 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10307 (prog-mode): Use `setq-local'.
10308
10309 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 * international/characters.el (standard-case-table): Set syntax of ?»
10312 and ?« to punctuation.
10313
10314 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10315
10316 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10317 Save relevant match data before calling `syntax-ppss' (bug#14595).
10318
10319 2013-06-15 Juri Linkov <juri@jurta.org>
10320
10321 * files-x.el (modify-file-local-variable-prop-line): Add local
10322 variables to the end of the existing comment on the first line.
10323 Use `file-auto-mode-skip' to skip interpreter magic line,
10324 and also skip XML declaration.
10325
10326 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10327
10328 * startup.el (package--builtin-versions): New var.
10329 (package-subdirectory-regexp): Remove.
10330 (package--description-file): Hard code its value instead.
10331
10332 * emacs-lisp/package.el: Don't activate packages older than builtin.
10333 (package-obsolete-list): Rename from package-obsolete-alist, and make
10334 it into a simple list of package-desc.
10335 (package-strip-version): Remove.
10336 (package-built-in-p): Use package--builtin-versions.
10337 (package-mark-obsolete): Simplify.
10338 (package-process-define-package): Mark it obsolete if older than the
10339 builtin version.
10340 (package-handle-response): Use line-end-position.
10341 (package-read-archive-contents, package--download-one-archive):
10342 Simplify.
10343 (package--add-to-archive-contents): Skip if older than the builtin or
10344 installed version.
10345 (package-menu-describe-package): Fix last change.
10346 (package-list-unversioned): New var.
10347 (package-menu--generate): Use it.
10348
10349 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10350 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10351 (autoload-builtin-package-versions): New variable.
10352 (autoload-generate-file-autoloads): Use them.
10353 Remove the list of autoloaded functions/macros from the
10354 (autoload...) comments.
10355
10356 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10357
10358 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10359
10360 * simple.el (line-move-partial): Don't jump to the next screen
10361 line as soon as it becomes visible. Instead, continue enlarging
10362 the vscroll until the portion of a tall screen line that's left on
10363 display is about the height of the frame's default font.
10364 (Bug#14567)
10365
10366 2013-06-15 Glenn Morris <rgm@gnu.org>
10367
10368 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10369 compilation-error-regexp-alist void, or local while let-bound.
10370
10371 * progmodes/make-mode.el (makefile-mode-syntax-table):
10372 Treat "=" as punctuation. (Bug#14614)
10373
10374 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10375
10376 * help-fns.el (describe-variable):
10377 Add extra line for permanent-local variables.
10378
10379 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10380
10381 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10382 Add export, import, library. (Bug#9164)
10383 (library): Set indent function.
10384
10385 2013-06-14 Glenn Morris <rgm@gnu.org>
10386
10387 * term/xterm.el (xterm--query):
10388 Stop after first matching handler. (Bug#14615)
10389
10390 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10391
10392 Add support for dired in saveplace.
10393 * dired.el (dired-initial-position-hook): New variable.
10394 (dired-initial-position): Call hook to place cursor position.
10395 * saveplace.el (save-place-to-alist): Add dired position.
10396 (save-place-dired-hook): New function.
10397
10398 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10401 through a symbol rather than letrec.
10402
10403 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10404 (package-desc): Add `dir' field.
10405 (package-desc-full-name): New function.
10406 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10407 (package-maybe-load-descriptor): Remove.
10408 (package-load-all-descriptors): Just call package-load-descriptor.
10409 (package--disabled-p): New function.
10410 (package-desc-vers, package-desc-doc): Remove aliases.
10411 (package--dir): Remove function.
10412 (package-activate): Check if a package is disabled.
10413 (package-process-define-package): New function, extracted from
10414 define-package.
10415 (define-package): Turn into a place holder.
10416 (package-unpack-single, package-tar-file-info):
10417 Use package--description-file.
10418 (package-compute-transaction): Use package--disabled-p.
10419 (package-download-transaction): Don't call
10420 package-maybe-load-descriptor since they're all loaded anyway.
10421 (package-install): Change argument to be a pkg-desc.
10422 (package-delete): Use a single pkg-desc argument.
10423 (describe-package-1): Use package-desc-dir instead of package--dir.
10424 Use package-desc property instead of package-symbol.
10425 (package-install-button-action): Adjust accordingly.
10426 (package--push): Rewrite.
10427 (package-menu--print-info): Adjust accordingly. Change the ID format
10428 to be a pkg-desc.
10429 (package-menu-describe-package, package-menu-get-status)
10430 (package-menu--find-upgrades, package-menu-mark-upgrades)
10431 (package-menu-execute, package-menu--name-predicate):
10432 Adjust accordingly.
10433 * startup.el (package--description-file): New function.
10434 (command-line): Use it.
10435 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10436 Use package-desc-version.
10437
10438 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10439 (byte-compile-preprocess): Use it.
10440 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10441 can't quite recognize.
10442 (byte-compile-add-to-list): Remove.
10443 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10444 (cconv-closure-convert): Add assertion.
10445
10446 * emacs-lisp/map-ynp.el: Use lexical-binding.
10447 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10448 Factor out some repeated code.
10449
10450 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 * subr.el (with-eval-after-load): New macro.
10453 (eval-after-load): Allow form to be a function.
10454 take advantage of lexical-binding.
10455 (do-after-load-evaluation): Use dolist and adjust to new format.
10456 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10457
10458 2013-06-13 Juri Linkov <juri@jurta.org>
10459
10460 * replace.el (perform-replace): Display "symbol " and other search
10461 modes from `isearch-message-prefix' in the *Help* buffer.
10462
10463 * isearch.el (isearch-query-replace): Add " symbol" and other
10464 possible search modes from `isearch-message-prefix' to the prompt.
10465 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10466 when reading a regexp to collect.
10467
10468 2013-06-13 Juri Linkov <juri@jurta.org>
10469
10470 * isearch.el (word-search-regexp): Match whitespace if the search
10471 string begins or ends in whitespace. The LAX arg is applied to
10472 both ends of the search string. Use `regexp-quote' and explicit
10473 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10474 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10475 boundaries are replaced with symbol boundaries, and characters
10476 between symbols match non-word non-symbol syntax. (Bug#14602)
10477
10478 2013-06-13 Juri Linkov <juri@jurta.org>
10479
10480 * isearch.el (isearch-del-char): Don't exceed the length of
10481 `isearch-string' by the prefix arg. (Bug#14563)
10482
10483 2013-06-13 Juri Linkov <juri@jurta.org>
10484
10485 * isearch.el (isearch-yank-word, isearch-yank-line)
10486 (isearch-char-by-name, isearch-quote-char)
10487 (isearch-printing-char, isearch-process-search-char):
10488 Add optional count prefix arg. (Bug#14563)
10489
10490 * international/isearch-x.el
10491 (isearch-process-search-multibyte-characters):
10492 Add optional count prefix arg.
10493
10494 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10495
10496 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10497 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10498 lexical-binding.
10499
10500 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10501
10502 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10503
10504 2013-06-13 Glenn Morris <rgm@gnu.org>
10505
10506 * startup.el (tty-handle-args):
10507 Don't just discard "--" and anything after. (Bug#14608)
10508
10509 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10510
10511 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10512
10513 Implement changes in Secret Service API. Make it backward compatible.
10514 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10515 (secrets-create-item): Use it. Prefix properties with interface.
10516
10517 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10518
10519 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10520 (term-emulate-terminal): Respect term-suppress-hard-newline.
10521
10522 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10523
10524 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10525 Only remove a `thumb-file' overlay. (Bug#14548)
10526
10527 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10528
10529 * mail/reporter.el (reporter-submit-bug-report):
10530 Handle missing package-name. (Bug#14600)
10531
10532 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10533
10534 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10535 (reftex-citation-prompt, reftex-default-bibliography)
10536 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10537 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10538 (reftex-bib-sort-author, reftex-bib-sort-year)
10539 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10540 (reftex-extract-bib-entries-from-thebibliography)
10541 (reftex-get-bibkey-default, reftex-get-bib-names)
10542 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10543 (reftex-format-bib-entry, reftex-parse-bibitem)
10544 (reftex-format-bibitem, reftex-do-citation)
10545 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10546 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10547 (reftex-insert-bib-matches, reftex-format-citation)
10548 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10549 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10550 existing comments into docstrings.
10551
10552 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10553
10554 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10555
10556 2013-06-12 Andreas Schwab <schwab@suse.de>
10557
10558 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10559 for auto-save files.
10560
10561 2013-06-12 Glenn Morris <rgm@gnu.org>
10562
10563 * ido.el (ido-delete-ignored-files): Remove.
10564 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10565 Go back to calling ido-ignore-item-p directly.
10566
10567 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10568
10569 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10570
10571 * ido.el (ido-delete-ignored-files): New function,
10572 split from ido-make-file-list-1.
10573 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10574 (ido-make-file-list-1): Use ido-delete-ignored-files.
10575
10576 2013-06-12 Leo Liu <sdl.web@gmail.com>
10577
10578 * progmodes/octave.el (inferior-octave-startup)
10579 (inferior-octave-completion-table)
10580 (inferior-octave-track-window-width-change)
10581 (octave-eldoc-function-signatures, octave-help)
10582 (octave-find-definition): Use single quoted strings.
10583 (inferior-octave-startup-args): Change default value.
10584 (inferior-octave-startup): Do not hard code "-i" and
10585 "--no-line-editing".
10586 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10587 (inferior-octave-directory-tracker): Use it.
10588 (octave-goto-function-definition): Robustify.
10589 (octave-help): Support highlighting operators in 'See also'.
10590 (octave-find-definition): Find subfunctions only in Octave mode.
10591
10592 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * help-fns.el (help-fns--compiler-macro): If the handler function is
10595 named, then put a link to it.
10596 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10597 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10598 (cl-typep): Use it.
10599 (cl-eval-when): Simplify debug spec.
10600 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10601 compiler-macro function instead of setting `compiler-macro-file'.
10602
10603 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10604
10605 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10606 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10607
10608 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10609 Daniel Hackney <dan@haxney.org>
10610
10611 First part of Daniel Hackney's patch to package.el.
10612 * emacs-lisp/package.el: Use defstruct.
10613 (package-desc): New, main struct.
10614 (package--bi-desc, package--ac-desc): New structs, used to describe the
10615 format in external files.
10616 (package-desc-vers): Replace with package-desc-version accessor.
10617 (package-desc-doc): Replace with package-desc-summary accessor.
10618 (package-activate-1): Remove `package' arg since the pkg-vec now
10619 includes the name.
10620 (define-package): Use package-desc-from-define.
10621 (package-unpack-single): Change file-name arg to be a symbol.
10622 (package--add-to-archive-contents): Use package-desc-create and new
10623 accessor functions to package--ac-desc.
10624 (package-buffer-info, package-tar-file-info): Return a package-desc.
10625 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10626 arg to be a package-desc.
10627 (package-install-file): Adjust accordingly. Use \' to match EOS.
10628 (package--from-builtin): New function.
10629 (describe-package-1, package-menu--generate): Use it.
10630 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10631 (package-generate-autoloads): Idem and return the name of the file.
10632 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10633 Change pkg-info arg to be a package-desc.
10634 Use package-make-ac-desc.
10635 (package-upload-file): Use \' to match EOS.
10636 * finder.el (finder-compile-keywords): Use package-make-builtin.
10637
10638 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10639
10640 * vc/vc.el (vc-deduce-fileset): Change error message.
10641 (vc-read-backend): New function.
10642 (vc-next-action): Use it.
10643
10644 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10645
10646 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10647 (prolog-font-lock-keywords): Use regexp-opt instead.
10648 Don't manually highlight strings.
10649 (prolog-mode-variables): Simplify comment-start-skip.
10650 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10651
10652 * emacs-lisp/generic.el (generic--normalise-comments)
10653 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10654 (generic-mode-set-comments): Use them.
10655 (generic-bracket-support): Use setq-local.
10656 (generic-make-keywords-list): Declare obsolete.
10657
10658 2013-06-11 Glenn Morris <rgm@gnu.org>
10659
10660 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10661 Prettify after setting font-lock-defaults. (Bug#14574)
10662
10663 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10664
10665 * replace.el (query-replace, occur-read-regexp-defaults-function)
10666 (replace-search):
10667 * subr.el (declare-function, number-sequence, local-set-key)
10668 (substitute-key-definition, locate-user-emacs-file)
10669 (with-silent-modifications, split-string, eval-after-load):
10670 Fix typos, remove unneeded backslashes and reflow some docstrings.
10671
10672 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10673
10674 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10675 default for Elisp files.
10676
10677 2013-06-11 Glenn Morris <rgm@gnu.org>
10678
10679 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10680 although define-derived-mode was doing this anyway. (Bug#14583)
10681
10682 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10683
10684 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10685 Fix make-variable-buffer-local call to refer to the correct variable.
10686
10687 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10688
10689 * eshell/em-term.el (eshell-visual-commands)
10690 (eshell-visual-subcommands, eshell-visual-options):
10691 Add summary line to docstrings. Add cross-references.
10692
10693 2013-06-10 Glenn Morris <rgm@gnu.org>
10694
10695 * epa.el (epa-read-file-name): New function. (Bug#14510)
10696 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10697
10698 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10699
10700 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10701 output redirection to be ignored with visual commands.
10702
10703 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10704
10705 * eshell/em-term.el (eshell-visual-command-p): New function.
10706 (eshell-term-initialize): Move long lambda to separate function
10707 eshell-visual-command-p.
10708 * eshell/em-dirs.el (eshell-dirs-initialize):
10709 * eshell/em-script.el (eshell-script-initialize):
10710 Add missing #' to lambda.
10711
10712 2013-06-08 Leo Liu <sdl.web@gmail.com>
10713
10714 * progmodes/octave.el (octave-add-log-current-defun): New function.
10715 (octave-mode): Set add-log-current-defun-function.
10716 (octave-goto-function-definition): Do not move point if not found.
10717 (octave-find-definition): Enhance to try subfunctions first.
10718
10719 2013-06-08 Glenn Morris <rgm@gnu.org>
10720
10721 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10722 (byte-compile-backward-char, byte-compile-backward-word):
10723 Improve previous change, to handle non-explicit nil.
10724
10725 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10728 (smie--opener/closer-at-point): New function.
10729 (smie--matching-block-data): Use it. Don't match from right after an
10730 opener or right before a closer. Obey smie-blink-matching-inners.
10731 Don't signal a mismatch for repeated inners like "switch..case..case".
10732
10733 2013-06-07 Leo Liu <sdl.web@gmail.com>
10734
10735 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10736 to t. (Bug#14303)
10737 (octave-function-header-regexp): Fix. (Bug#14570)
10738 (octave-help-mode-finish-hook, octave-help-mode-finish):
10739 Remove. Just use temp-buffer-show-hook.
10740
10741 * newcomment.el (comment-search-backward): Revert last change.
10742 (Bug#14434)
10743
10744 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10745
10746 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10747
10748 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10749 through xargs, to avoid failure due to MS-Windows limitations on
10750 command-line length.
10751
10752 2013-06-06 Glenn Morris <rgm@gnu.org>
10753
10754 * font-lock.el (lisp-font-lock-keywords-2):
10755 Treat user-error like error.
10756
10757 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10758 (byte-compile-backward-char, byte-compile-backward-word):
10759 Handle explicit nil arguments. (Bug#14565)
10760
10761 2013-06-05 Alan Mackenzie <acm@muc.de>
10762
10763 * isearch.el (isearch-allow-prefix): New user option.
10764 (isearch-other-meta-char): Don't exit isearch when a prefix
10765 argument is typed whilst `isearch-allow-prefix' is non-nil.
10766 (Bug#9706)
10767
10768 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10769
10770 * autorevert.el (auto-revert-notify-handler): Use memq.
10771 Hide assertion failure.
10772
10773 * skeleton.el: Use cl-lib.
10774 (skeleton-further-elements): Use defvar-local.
10775 (skeleton-insert): Use cl-progv.
10776
10777 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10778
10779 * progmodes/prog-mode.el (prog-prettify-symbols)
10780 (prog-prettify-install): Update docstrings.
10781
10782 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * simple.el: Move all the prog-mode code to prog-mode.el.
10785 * progmodes/prog-mode.el: New file.
10786 * loadup.el: Add prog-mode.el.
10787
10788 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10789
10790 * simple.el (prog-prettify-symbols): Add version.
10791 (prog-prettify-install): Add convenience function to prettify symbols.
10792
10793 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10794 (perl--augmented-font-lock-keywords-1)
10795 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10796 variables and use it.
10797
10798 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10799 (cfengine3-mode): Remove unneeded variable and use it.
10800
10801 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10802 (lisp--augmented-font-lock-keywords-1)
10803 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10804 Remove unneeded variables and use it.
10805
10806 2013-06-05 João Távora <joaotavora@gmail.com>
10807
10808 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10809 to point when opening the connection. (Bug#14380)
10810
10811 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10812
10813 * subr.el (load-history-regexp, load-history-filename-element)
10814 (eval-after-load, after-load-functions, do-after-load-evaluation)
10815 (eval-next-after-load, display-delayed-warnings)
10816 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10817 definition of save-match-data.
10818 (overriding-local-map): Remove accidental obsolescence declaration.
10819
10820 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10821
10822 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10823
10824 Generalize symbol prettify support to prog-mode and implement it
10825 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10826 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10827 (prog--prettify-font-lock-compose-symbol)
10828 (prog-prettify-font-lock-symbols-keywords): New variables and
10829 functions to support symbol prettification.
10830 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10831 (lisp--augmented-font-lock-keywords-1)
10832 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10833 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10834 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10835 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10836 Implement prettify of -> => :: strings.
10837 * progmodes/perl-mode.el (perl-prettify-symbols)
10838 (perl--font-lock-compose-symbol)
10839 (perl--font-lock-symbols-keywords): Move to prog-mode.
10840 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10841 (perl-font-lock-keywords-1)
10842 (perl-font-lock-keywords-2): Remove explicit prettify support.
10843 (perl--augmented-font-lock-keywords)
10844 (perl--augmented-font-lock-keywords-1)
10845 (perl--augmented-font-lock-keywords-2, perl-mode):
10846 Implement prettify support.
10847
10848 2013-06-05 Leo Liu <sdl.web@gmail.com>
10849
10850 Re-implement SMIE matching block highlight using
10851 show-paren-data-function. (Bug#14395)
10852 * emacs-lisp/smie.el (smie-matching-block-highlight)
10853 (smie--highlight-matching-block-overlay)
10854 (smie--highlight-matching-block-lastpos)
10855 (smie-highlight-matching-block)
10856 (smie-highlight-matching-block-mode): Remove.
10857 (smie--matching-block-data-cache): New variable.
10858 (smie--matching-block-data): New function.
10859 (smie-setup): Use smie--matching-block-data for
10860 show-paren-data-function.
10861
10862 * progmodes/octave.el (octave-mode-menu): Fix.
10863 (octave-find-definition): Skip garbage lines.
10864
10865 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10866
10867 Fix compilation error with simultaneous dynamic+lexical scoping.
10868 Add warning when a defvar appears after the first let-binding.
10869 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10870 (byte-compile-close-variables): Initialize it.
10871 (byte-compile--declare-var): New function.
10872 (byte-compile-file-form-defvar)
10873 (byte-compile-file-form-define-abbrev-table)
10874 (byte-compile-file-form-custom-declare-variable): Use it.
10875 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10876 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10877 (byte-compile-bind): Handle dynamic bindings that shadow
10878 lexical bindings.
10879 (byte-compile-unbind): Make arg non-optional.
10880 (byte-compile-let): Simplify.
10881 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10882 (cconv--analyse-function, cconv-analyse-form): Populate it.
10883 Protect byte-compile-bound-variables to limit the scope of defvars.
10884 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10885 Remove unneeded rule for `declare'.
10886
10887 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10888 so as to avoid depending on cl-adjoin at run-time.
10889 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10890
10891 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10892 (macroexp--warn-and-return): Use it.
10893
10894 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10895
10896 * subr.el: Convert to lexical binding.
10897 (overriding-local-map): Make obsolete.
10898 (add-to-list): Doc fix. Add compiler macro.
10899 (read-key): Swap values of local maps.
10900
10901 2013-06-05 Leo Liu <sdl.web@gmail.com>
10902
10903 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10904
10905 2013-06-04 Leo Liu <sdl.web@gmail.com>
10906
10907 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10908 (compilation-auto-jump): Suppress the "Mark set" message to give
10909 way to exit message.
10910
10911 2013-06-04 Alan Mackenzie <acm@muc.de>
10912
10913 Remove faulty optimisation from indentation calculation.
10914 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10915 search limit based on 2000 characters back from indent-point.
10916
10917 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10918
10919 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10920
10921 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10922
10923 * emacs-lisp/lisp.el: Use lexical-binding.
10924 (lisp--local-variables-1, lisp--local-variables): New functions.
10925 (lisp--local-variables-completion-table): New var.
10926 (lisp-completion-at-point): Use it complete let-bound vars.
10927
10928 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10929 eagerly (bug#14422).
10930
10931 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10932
10933 * autorevert.el (auto-revert-notify-enabled)
10934 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10935 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10936 (auto-revert-notify-handler): Handle also gfilenotify.
10937
10938 * subr.el (file-notify-handle-event): New defun. Replacing ...
10939 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10940 Remove.
10941
10942 2013-06-03 Juri Linkov <juri@jurta.org>
10943
10944 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10945 `M-s h .'. (Bug#14427)
10946
10947 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10948 command `hi-lock-face-symbol-at-point'.
10949 (hi-lock-face-symbol-at-point): New command.
10950 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10951 (hi-lock-menu): Add `highlight-symbol-at-point'.
10952 (hi-lock-mode): Doc fix.
10953
10954 * isearch.el (isearch-forward-symbol-at-point): New command.
10955 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10956 (isearch-highlight-regexp): Add a regexp which matches
10957 words/symbols for word/symbol mode.
10958
10959 * subr.el (find-tag-default-bounds): New function with the body
10960 mostly moved from `find-tag-default'.
10961 (find-tag-default): Move most code to `find-tag-default-bounds',
10962 call it and apply `buffer-substring-no-properties' afterwards.
10963
10964 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10965
10966 * eshell/em-term.el (eshell-term-initialize):
10967 Use `cl-intersection' rather than `intersection'.
10968
10969 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10970
10971 * vc/log-view.el: Doc fix.
10972 (log-view-mode-map): Copy keymap from `special-mode-map'.
10973
10974 2013-06-02 Eric Ludlam <zappo@gnu.org>
10975
10976 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10977 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10978 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10979 (eieio-unbound, eieio-default-superclass)
10980 (eieio--define-field-accessors, method-static, method-before)
10981 (method-primary, method-after, method-num-lists)
10982 (method-generic-before, method-generic-primary)
10983 (method-generic-after, method-num-slots)
10984 (eieio-specialized-key-to-generic-key)
10985 (eieio--check-type, class-v, class-p)
10986 (eieio-class-name, define-obsolete-function-alias)
10987 (eieio-class-parents-fast, eieio-class-children-fast)
10988 (same-class-fast-p, class-constructor, generic-p)
10989 (generic-primary-only-p, generic-primary-only-one-p)
10990 (class-option-assoc, class-option, eieio-object-p)
10991 (class-abstract-p, class-method-invocation-order)
10992 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10993 (eieio-class-un-autoload, eieio-defclass)
10994 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10995 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10996 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10997 (eieio-defgeneric-reset-generic-form)
10998 (eieio-defgeneric-form-primary-only)
10999 (eieio-defgeneric-reset-generic-form-primary-only)
11000 (eieio-defgeneric-form-primary-only-one)
11001 (eieio-defgeneric-reset-generic-form-primary-only-one)
11002 (eieio-unbind-method-implementations)
11003 (eieio--defmethod, eieio--typep)
11004 (eieio-perform-slot-validation, eieio-validate-slot-value)
11005 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11006 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11007 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11008 (eieio-slot-name-index, eieio-class-slot-name-index)
11009 (eieio-set-defaults, eieio-initarg-to-attribute)
11010 (eieio-attribute-to-initarg, eieio-c3-candidate)
11011 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11012 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11013 (eieio-class-precedence-list, eieio-generic-call-methodname)
11014 (eieio-generic-call-arglst, eieio-generic-call-key)
11015 (eieio-generic-call-next-method-list)
11016 (eieio-pre-method-execution-functions, eieio-generic-call)
11017 (eieio-generic-call-primary-only, eieiomt-method-list)
11018 (eieiomt-optimizing-obarray, eieiomt-install)
11019 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11020 (eieio-generic-form, eieio-defmethod, make-obsolete)
11021 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11022 (defclass): Remove `eval-and-compile' from macro.
11023 (call-next-method, shared-initialize): Instead of using
11024 `scoped-class' variable, use new eieio--scoped-class, and
11025 eieio--with-scoped-class.
11026 (initialize-instance): Rename local variable 'scoped-class' to
11027 'this-class' to remove ambiguitity from old global.
11028
11029 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11030 eieio.el.
11031 (eieio--scoped-class-stack): New variable.
11032 (eieio--scoped-class): New fcn.
11033 (eieio--with-scoped-class): New scoping macro.
11034 (eieio-defclass): Use pushnew instead of add-to-list.
11035 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11036 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11037 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11038 `scoped-class' variable, use new eieio--scoped-class, and
11039 eieio--with-scoped-class.
11040
11041 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11042
11043 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11044
11045 * eshell/esh-ext.el (eshell-external-command): Pass args to
11046 `eshell-find-interpreter'.
11047 (eshell-find-interpreter): Add new second parameter ARGS.
11048
11049 * eshell/em-script.el (eshell-script-initialize): Add second arg
11050 to the function added as MATCH to `eshell-interpreter-alist'.
11051
11052 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11053 the function added as MATCH to `eshell-interpreter-alist'.
11054
11055 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11056 (eshell-visual-options): New defcustom.
11057 (eshell-escape-control-x): Adapt docstring.
11058 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11059 `eshell-visual-options' in addition to `eshell-visual-commands'.
11060 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11061
11062 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11063
11064 * progmodes/python.el (python-indent-block-enders): Add break,
11065 continue and raise keywords.
11066
11067 2013-06-01 Glenn Morris <rgm@gnu.org>
11068
11069 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11070
11071 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11072 * progmodes/cc-cmds.el (delete-forward-p):
11073 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11074 * progmodes/cc-engine.el (buffer-syntactic-context):
11075 * progmodes/cc-fonts.el (face-property-instance):
11076 * progmodes/cc-mode.el (set-keymap-parents):
11077 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11078 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11079 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11080 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11081 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11082
11083 * progmodes/cc-vars.el (other): Emacs has this widget since
11084 at least 21.1, so don't (re)define it.
11085
11086 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11087 Replace the obsolete alias pcomplete-arg-quote-list.
11088
11089 2013-06-01 Leo Liu <sdl.web@gmail.com>
11090
11091 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11092 punctuation syntax.
11093 (inferior-octave-minimal-columns)
11094 (inferior-octave-last-column-width): New variables.
11095 (inferior-octave-track-window-width-change): New function.
11096 (inferior-octave-mode): Adjust column width so that Octave output,
11097 for example from 'ls', can fit into the window nicely.
11098
11099 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11100
11101 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11102 Highlight expansions inside regexp literals.
11103
11104 2013-05-31 Glenn Morris <rgm@gnu.org>
11105
11106 * obsolete/sym-comp.el (symbol-complete):
11107 Replace obsolete completion-annotate-function.
11108
11109 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11110
11111 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11112
11113 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11114 New function, checks if point is inside a literal that allows
11115 expression expansion.
11116 (ruby-syntax-propertize-expansion): Use it.
11117 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11118 around the body.
11119
11120 2013-05-30 Juri Linkov <juri@jurta.org>
11121
11122 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11123 to "\M-si".
11124 (isearch-invisible): New variable.
11125 (isearch-forward): Doc fix.
11126 (isearch-mode): Set `isearch-invisible'
11127 to the value of `search-invisible'.
11128 (isearch-toggle-case-fold): Doc fix.
11129 (isearch-toggle-invisible): New command.
11130 (isearch-query-replace): Let-bind `search-invisible'
11131 to the value of `isearch-invisible'.
11132 (isearch-search): Use `isearch-invisible' instead of
11133 `search-invisible'. Let-bind `search-invisible'
11134 to the value of `isearch-invisible'. (Bug#11378)
11135
11136 2013-05-30 Juri Linkov <juri@jurta.org>
11137
11138 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11139 call when `query-flag' is nil and `search-invisible' is non-nil.
11140 (Bug#11746)
11141
11142 2013-05-30 Glenn Morris <rgm@gnu.org>
11143
11144 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11145
11146 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11147 (cc-require): Suppress spurious "noruntime" warnings.
11148 (cc-require-when-compile): Use fboundp, for sake of compiler.
11149
11150 * progmodes/cc-mode.el: Move load of cc-vars before that of
11151 cc-langs (which in turn loads cc-vars), to quieten compiler.
11152
11153 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11154
11155 * paren.el: Simplify the code.
11156 (show-paren-mode): Always start the timer.
11157 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11158 (show-paren--overlay, show-paren--overlay-1): Rename from
11159 show-paren-overlay and show-paren-overlay-1, and initialize to an
11160 overlay rather than to nil.
11161 (show-paren-function): Misc cleanup and simplifications.
11162
11163 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * paren.el (show-paren-data-function): New hook.
11166 (show-paren--default): New function, extracted from show-paren-function.
11167 (show-paren-function): Use show-paren-data-function.
11168
11169 2013-05-30 Glenn Morris <rgm@gnu.org>
11170
11171 * ielm.el (ielm-map, ielm-complete-symbol):
11172 Use completion-at-point rather than obsolete functions.
11173 (inferior-emacs-lisp-mode): Doc fix.
11174 Set completion-at-point-functions, rather than
11175 comint-dynamic-complete-functions.
11176
11177 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11178 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11179 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11180
11181 * image.el (image-animated-p): Tweak definition.
11182
11183 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11184 (rlogin-process-connection-type): Tweak default. Add set-after.
11185 (rlogin-host): Doc fix.
11186 (rlogin): Tweak prompt.
11187 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11188
11189 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11190 * progmodes/tcl.el (inferior-tcl-mode-map):
11191 Use completion-at-point rather than obsolete alias.
11192
11193 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11194
11195 * minibuffer.el (read-file-name-completion-ignore-case):
11196 Move before completion--in-region, for eager macro expansion.
11197
11198 2013-05-29 Juri Linkov <juri@jurta.org>
11199
11200 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11201 for total count of matching lines. Add `global-matches' for total
11202 count of matches. Rename `matches' to `lines' for count of
11203 matching lines. Add `matches' for count of matches.
11204 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11205 to `prev-line' for line number of prev match endpt.
11206 Increment `matches' for every match. Print the number of
11207 matching lines in the header.
11208 (occur-context-lines): Rename `lines' to `curr-line'.
11209 Rename `prev-lines' to `prev-line'. (Bug#14017)
11210
11211 2013-05-29 Juri Linkov <juri@jurta.org>
11212
11213 * replace.el (perform-replace): Add `skip-read-only-count',
11214 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11215 Increment them for corresponding conditions and report the number
11216 of skipped occurrences in the final message. (Bug#11746)
11217 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11218 (replace-string, replace-regexp): Doc fix.
11219
11220 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11223
11224 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11225 prog-mode-map (bug#14504).
11226
11227 2013-05-29 Leo Liu <sdl.web@gmail.com>
11228
11229 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11230 (octave-help): Small simplification.
11231
11232 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11233 off the highlight first.
11234
11235 2013-05-29 Glenn Morris <rgm@gnu.org>
11236
11237 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11238 Handle idlwave-last-system-routine-info-cons-cell being nil.
11239
11240 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11241 (idlwave-write-paths): Simplify via with-temp-buffer.
11242
11243 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11244 * emulation/cua-rect.el: Also load cua-base at run time.
11245
11246 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11247 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11248 (cperl-imenu-on-info): Require imenu.
11249
11250 2013-05-28 Alan Mackenzie <acm@muc.de>
11251
11252 Handle "capitalised keywords" correctly.
11253 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11254
11255 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11256
11257 * eshell/em-unix.el: Add -r option to cp.
11258
11259 2013-05-28 Glenn Morris <rgm@gnu.org>
11260
11261 * vc/vc-arch.el (vc-exec-after): Declare.
11262 (vc-switches): Autoload.
11263 * vc/vc-bzr.el: No need to require vc when compiling.
11264 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11265 (vc-resynch-buffer, vc-dir-refresh): Declare.
11266 (vc-setup-buffer, vc-switches): Autoload.
11267 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11268 (vc-resynch-buffer): Declare.
11269 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11270 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11271 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11272 (grep-read-regexp, grep-read-files, grep-expand-template)
11273 (vc-dir-refresh): Declare.
11274 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11275 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11276 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11277 * vc/vc-mtn.el (vc-exec-after): Declare.
11278 (vc-switches): Autoload.
11279 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11280 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11281 (vc-file-tree-walk): Declare.
11282 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11283 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11284 (vc-tag-precondition, vc-rename-master): Autoload.
11285 * vc/vc-svn.el (vc-exec-after): Declare.
11286 (vc-switches, vc-setup-buffer): Autoload.
11287 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11288 Autoload.
11289 (vc-resynch-buffer): Declare.
11290
11291 * obsolete/fast-lock.el (byte-compile-warnings):
11292 Don't warn about obsolete features in this obsolete file.
11293
11294 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11295 Move definition before use.
11296
11297 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11298 (dun-unix-verbs): Remove dun-zippy.
11299 (dun-zippy): Remove function.
11300
11301 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11302
11303 2013-05-27 Juri Linkov <juri@jurta.org>
11304
11305 * replace.el (replace-search): New function with code moved out
11306 from `perform-replace'.
11307 (replace-highlight, replace-dehighlight): Move function definitions
11308 up closer to `replace-search'. (Bug#11746)
11309
11310 2013-05-27 Juri Linkov <juri@jurta.org>
11311
11312 * replace.el (perform-replace): Ignore invisible matches.
11313 In addition to checking `query-replace-skip-read-only', also
11314 filter out matches by calling `run-hook-with-args-until-failure'
11315 on `isearch-filter-predicates', and also check `search-invisible'
11316 for t or call `isearch-range-invisible'.
11317 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11318
11319 2013-05-27 Juri Linkov <juri@jurta.org>
11320
11321 * isearch.el (isearch-filter-predicates): Rename from
11322 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11323 (isearch-message-prefix): Display text from the property
11324 `isearch-message-prefix' of the currently active filters.
11325 (isearch-search): Don't compare `isearch-filter-predicate' with
11326 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11327 on `isearch-filter-predicates'. Also check `search-invisible' for t
11328 or call `isearch-range-invisible'.
11329 (isearch-filter-visible): Make obsolete.
11330 (isearch-lazy-highlight-search):
11331 Call `run-hook-with-args-until-failure' on
11332 `isearch-filter-predicates' and use `isearch-range-invisible'.
11333
11334 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11335 `isearch-filter-predicates' instead of `funcall'ing
11336 `isearch-filter-predicate'.
11337 (Info-mode): Set `Info-isearch-filter' to
11338 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11339
11340 * dired-aux.el (dired-isearch-filter-predicate-orig):
11341 Remove variable.
11342 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11343 (dired-isearch-filenames-end): Add and remove
11344 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11345 instead of changing the value of `isearch-filter-predicate'.
11346 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11347 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11348 Put property `isearch-message-prefix' to "filename " on
11349 `dired-isearch-filter-filenames'.
11350
11351 * wdired.el (wdired-change-to-wdired-mode):
11352 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11353 locally instead of changing `isearch-filter-predicate'.
11354 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11355
11356 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11357
11358 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11359 return the commit hash (Bug#14459). Also set the
11360 `vc-git-detached' property.
11361 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11362 (vc-git-mode-line-string): Use the same help-echo format whether
11363 in detached mode or not, because we know the actual revision now.
11364 When in detached mode, shorten the revision to 7 chars.
11365
11366 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * emacs-lisp/easy-mmode.el (define-minor-mode):
11369 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11370 mode hook and provide a docstring.
11371
11372 2013-05-27 Alan Mackenzie <acm@muc.de>
11373
11374 Remove spurious syntax-table text properties inserted by C-y.
11375 * progmodes/cc-mode.el (c-after-change): Also clear hard
11376 syntax-table property with value nil.
11377
11378 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11379
11380 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11381 when reading the events; the buffer layout shall not be changed.
11382
11383 2013-05-27 Leo Liu <sdl.web@gmail.com>
11384
11385 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11386 New variable.
11387 (inferior-octave-directory-tracker): Automatically re-sync
11388 default-directory.
11389 (octave-help): Improve handling of 'See also'.
11390
11391 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11392
11393 * doc-view.el: Minor naming convention tweaks.
11394 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11395
11396 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11397 even if there's no `display' property yet (bug#14435).
11398
11399 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11400
11401 * subr.el (unmsys--file-name): Rename from reveal-filename.
11402
11403 * Makefile.in (custom-deps, finder-data, autoloads)
11404 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11405 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11406 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11407
11408 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11409
11410 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11411 error-completion on the first 2 args of condition-case (bug#14446).
11412 Don't burp at EOB.
11413
11414 2013-05-25 Leo Liu <sdl.web@gmail.com>
11415
11416 * comint.el (comint-previous-matching-input): Do not flood the
11417 *Messages* buffer with trivial messages.
11418
11419 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * progmodes/flymake.el (flymake-nop): Don't return a string.
11422 (flymake-set-at): Fix typo.
11423
11424 * simple.el (read--expression): New function, extracted from
11425 eval-expression. Set completion-at-point-functions (bug#14465).
11426 (eval-expression, eval-minibuffer): Use it.
11427
11428 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11429
11430 * progmodes/flymake.el (flymake-save-buffer-in-file)
11431 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11432 (flymake-selected-frame, flymake-log, flymake-ins-after)
11433 (flymake-set-at, flymake-get-buildfile-from-cache)
11434 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11435 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11436 Refine the doc string.
11437 (flymake-get-file-name-mode-and-masks): Reformat.
11438 (flymake-get-real-file-name-function): Fix a minor bug.
11439
11440 2013-05-24 Juri Linkov <juri@jurta.org>
11441
11442 * progmodes/grep.el (grep-mode-font-lock-keywords):
11443 Support =linenumber= format used by git-grep for lines with
11444 function names. (Bug#13549)
11445
11446 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11447
11448 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11449 0 after a semi-colon; it works better for smie-auto-fill.
11450 (octave--indent-new-comment-line): New function.
11451 (octave-indent-new-comment-line): Use it (indirectly).
11452 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11453 modify comment-line-break-function.
11454
11455 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11456 (smie-setup): Use add-function to set it.
11457
11458 2013-05-24 Sam Steingold <sds@gnu.org>
11459
11460 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11461 argument (before the `interactive' argument).
11462
11463 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11464
11465 * image-mode.el (image-mode-winprops): Add winprops to
11466 image-mode-winprops-alist before running
11467 image-mode-new-window-functions.
11468 * doc-view.el (doc-view-new-window-function): Don't delay
11469 doc-view-goto-page via timers (bug#14435).
11470
11471 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11472
11473 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11474 (doc-view-desktop-save-buffer): New function.
11475 (doc-view-restore-desktop-buffer): New function.
11476 (desktop-buffer-mode-handlers):
11477 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11478 handler.
11479 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11480 `desktop-save-buffer' function.
11481
11482 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11483
11484 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11485 (tramp-gvfs-file-name-handler): Raise a user error when
11486 `tramp-gvfs-enabled' is nil.
11487 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11488 Do not raise a user error when loading package. (Bug#14447)
11489
11490 * net/xesam.el: Move to obsolete/.
11491
11492 2013-05-24 Glenn Morris <rgm@gnu.org>
11493
11494 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11495
11496 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11497
11498 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11499 (Info-find-node, Man-getpage-in-background): Declare.
11500
11501 * mail/unrmail.el (unrmail):
11502 Replace obsolete detect-coding-with-priority.
11503
11504 * net/socks.el (socks-split-string): Use this rather than split-string.
11505 (socks-nslookup-host): Update for above change.
11506 (dynamic-choice, s5-dynamic-choice-match)
11507 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11508 Comment out unused code.
11509
11510 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11511 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11512 (gud-tooltip-echo-area): Make obsolete.
11513 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11514
11515 * progmodes/js.el (js--optimize-arglist): Declare.
11516
11517 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11518
11519 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11520 (ediff-window-C): Declare.
11521
11522 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11523 Tweak requires to silence compiler.
11524
11525 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11526 (he-search-string, he-tried-table, he-expand-list)
11527 (he-init-string, he-string-member, he-substitute-string)
11528 (he-reset-string): Declare.
11529
11530 * obsolete/options.el (list-options): Use custom-variable-p,
11531 rather than obsolete alias.
11532
11533 2013-05-23 Sam Steingold <sds@gnu.org>
11534
11535 * simple.el (shell-command-on-region): Pass the `replace' argument
11536 down to `call-process-region' to comply with the doc as reported on
11537 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11538
11539 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * emacs-lisp/smie.el (smie-indent-forward-token)
11542 (smie-indent-backward-token): Handle string tokens (bug#14381).
11543
11544 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11545
11546 * ielm.el (ielm-menu): New menu.
11547 (inferior-emacs-lisp-mode): Set comment-start.
11548
11549 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11550
11551 * textmodes/reftex.el (reftex-ref-style-toggle):
11552 Fix deactivate action.
11553
11554 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11555 Add cleveref macros.
11556
11557 * textmodes/reftex-parse.el
11558 (reftex-locate-bibliography-files): Accept options for
11559 bibliography commands.
11560 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11561 Add addbibresource. Basic Biblatex support.
11562
11563 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11564
11565 * net/tramp-gvfs.el (top):
11566 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11567 when loading package. (Bug#14447)
11568
11569 2013-05-23 Glenn Morris <rgm@gnu.org>
11570
11571 * progmodes/js.el: No need to load comint when compiling.
11572 (ring-insert, comint-send-string, comint-send-input)
11573 (comint-last-input-end, ido-chop): Declare.
11574
11575 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11576 * vc/ediff-mult.el: Adjust requires.
11577 (ediff-directories-internal, ediff-directory-revisions-internal)
11578 (ediff-patch-file-internal): Declare.
11579 * vc/ediff-ptch.el: Adjust requires.
11580 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11581 (ediff-find-file): Autoload.
11582 * vc/ediff-util.el: No need to load ediff when compiling.
11583 (ediff-regions-internal): Declare.
11584 * vc/ediff-wind.el: Adjust requires.
11585 (ediff-compute-toolbar-width): Define when compiling.
11586 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11587 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11588 (dired-get-filename, dired-get-marked-files)
11589 (ediff-last-dir-patch, ediff-patch-default-directory)
11590 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11591 (ediff-patch-buffer-internal): Declare.
11592
11593 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11594 (ispell-process, ispell-buffer-local-words, lm-summary)
11595 (lm-section-start, lm-section-end): Declare.
11596 (checkdoc-ispell-init): Simplify.
11597
11598 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11599 (he-string-member, he-reset-string, he-substitute-string): Declare.
11600
11601 * eshell/em-ls.el: Adjust requires.
11602 (eshell-glob-regexp): Declare.
11603 * eshell/em-tramp.el: Adjust requires.
11604 (eshell-parse-command): Autoload.
11605 * eshell/em-xtra.el: Adjust requires.
11606 (eshell-parse-command): Autoload.
11607 * eshell/esh-ext.el: Adjust requires.
11608 (eshell-parse-command, eshell-close-handles): Autoload.
11609 * eshell/esh-io.el: Adjust requires.
11610 (eshell-output-filter): Autoload.
11611 * eshell/esh-util.el: No need to load tramp when compiling.
11612 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11613 Declare.
11614 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11615 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11616 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11617 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11618 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11619 * eshell/esh-opt.el, eshell/esh-proc.el:
11620 * eshell/esh-var.el: Adjust requires.
11621 * eshell/eshell.el: Do not require esh-util twice.
11622 (eshell-add-input-to-history): Declare.
11623 (eshell-command): Check history module is active before using it.
11624
11625 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11626
11627 2013-05-22 Leo Liu <sdl.web@gmail.com>
11628
11629 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11630
11631 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11632
11633 * autorevert.el (auto-revert-notify-add-watch)
11634 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11635 it indicates changes in file modification time.
11636
11637 2013-05-22 Glenn Morris <rgm@gnu.org>
11638
11639 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11640 Always delete the autoloaded function from the noruntime and
11641 unresolved functions lists.
11642
11643 * allout.el: No need to load epa, epg, overlay when compiling.
11644 (epg-context-set-passphrase-callback, epg-list-keys)
11645 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11646 (epg-key-user-id-list): Declare.
11647
11648 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11649 (viper-set-parsing-style-toggling-macro)
11650 (viper-set-emacs-state-searchstyle-macros):
11651 Use called-interactively-p on Emacs.
11652 (viper-looking-back): Make it an obsolete alias. Update callers.
11653 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11654 Use looking-back rather than viper-looking-back.
11655 (viper-tmp-insert-at-eob, viper-enlarge-region)
11656 (viper-read-string-with-history, viper-register-to-point)
11657 (viper-append-to-register, viper-change-state-to-vi)
11658 (viper-backward-char-carefully, viper-forward-char-carefully)
11659 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11660 (viper-change-state-to-emacs): Declare.
11661 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11662 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11663 * emulation/viper-mous.el: Do not load viper-cmd.
11664 (viper-backward-char-carefully, viper-forward-char-carefully)
11665 (viper-forward-word, viper-adjust-window): Declare.
11666
11667 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11668
11669 * progmodes/idlw-help.el (idlwave-help-fontify):
11670 Use called-interactively-p.
11671
11672 * term/w32console.el (w32-get-console-codepage)
11673 (w32-get-console-output-codepage): Declare.
11674
11675 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11676 Remove unnecessary declarations.
11677 (dframe-message): Doc fix.
11678
11679 * info.el (dframe-select-attached-frame, dframe-current-frame):
11680 Declare.
11681
11682 * speedbar.el (speedbar-message): Make it an obsolete alias.
11683 Update all callers.
11684 (speedbar-with-attached-buffer)
11685 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11686 (speedbar-with-writable): Use backquote.
11687 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11688 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11689 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11690 rather than speedbar- aliases.
11691 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11692 (speedbar-make-specialized-keymap, speedbar-insert-button)
11693 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11694 (speedbar-do-function-pointer): Declare.
11695 (rmail-speedbar-button, rmail-speedbar-find-file)
11696 (rmail-speedbar-move-message):
11697 Use dframe-with-attached-buffer rather than speedbar- alias.
11698 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11699 (dframe-message, speedbar-make-specialized-keymap)
11700 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11701 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11702 (speedbar-insert-button, dframe-select-attached-frame)
11703 (dframe-maybee-jump-to-attached-frame)
11704 (speedbar-change-initial-expansion-list)
11705 (speedbar-previously-used-expansion-list-name): Declare.
11706 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11707 Use dframe-message, dframe-with-attached-buffer rather than
11708 speedbar- aliases.
11709 (gud-sentinel): Silence compiler.
11710 * progmodes/vhdl-mode.el (speedbar-refresh)
11711 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11712 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11713 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11714 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11715 (speedbar-file-lists, speedbar-make-tag-line)
11716 (speedbar-line-directory, speedbar-goto-this-file)
11717 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11718 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11719 (speedbar-make-button, speedbar-reset-scanners)
11720 (speedbar-files-item-info, speedbar-line-text)
11721 (speedbar-find-file-in-frame, speedbar-set-timer)
11722 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11723 (speedbar-with-writable): Do not (re)define it.
11724 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11725 rather than speedbar- alias.
11726
11727 2013-05-21 Leo Liu <sdl.web@gmail.com>
11728
11729 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11730 menu items.
11731 (octave-mode): Tweak fill-nobreak-predicate.
11732 (inferior-octave-startup): Check process to avoid infinite loop.
11733 (inferior-octave): Pop to buffer first to show abornmal process
11734 exit information.
11735
11736 2013-05-21 Glenn Morris <rgm@gnu.org>
11737
11738 * printing.el (pr-menu-bar): Define when compiling.
11739
11740 2013-05-21 Leo Liu <sdl.web@gmail.com>
11741
11742 * progmodes/octave.el (octave-auto-fill): Remove.
11743 (octave-indent-new-comment-line): Improve.
11744 (octave-mode): Use auto fill mode through
11745 comment-line-break-function and fill-nobreak-predicate.
11746 (octave-goto-function-definition): Support DEFUN_DLD.
11747 (octave-beginning-of-defun): Small tweak.
11748 (octave-help): Show parent directory.
11749
11750 2013-05-21 Glenn Morris <rgm@gnu.org>
11751
11752 * files.el (dired-unmark):
11753 * progmodes/gud.el (gdb-input): Update declarations.
11754
11755 * calculator.el (electric, ehelp): No need to load when compiling.
11756 (Electric-command-loop, electric-describe-mode): Declare.
11757
11758 * doc-view.el (doc-view-current-converter-processes): Move before use.
11759
11760 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11761 Move MODE-set-explicitly definition before use.
11762
11763 * international/mule-diag.el (mule-diag):
11764 Don't use obsolete window-system-version.
11765
11766 * mail/feedmail.el (smtpmail): No need to load when compiling.
11767 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11768
11769 * mail/mail-utils.el (rfc822): No need to load when compiling.
11770 (rfc822-addresses): Autoload it.
11771 (mail-strip-quoted-names): Trivial simplification.
11772
11773 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11774 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11775
11776 * net/snmp-mode.el (tempo): Don't duplicate requires.
11777
11778 * progmodes/prolog.el (info): No need to load when compiling.
11779 (comint): Require before shell requires it.
11780 (Info-goto-node): Autoload it.
11781 (Info-follow-nearest-node): Declare.
11782 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11783
11784 * textmodes/artist.el (picture-mode-exit): Declare.
11785
11786 * textmodes/reftex-parse.el (reftex-parse-from-file):
11787 Trivial rewrite so the compiler can parse it better.
11788
11789 2013-05-20 Leo Liu <sdl.web@gmail.com>
11790
11791 * progmodes/octave.el (octave-help-mode-map)
11792 (octave-help-mode-finish-hook): New variables.
11793 (octave-help-mode, octave-help-mode-finish): New functions.
11794 (octave-help): Use octave-help-mode.
11795
11796 2013-05-20 Glenn Morris <rgm@gnu.org>
11797
11798 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11799
11800 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11801
11802 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11803 start at point, so that expansion starting right after opening
11804 slash in a regexp is recognized.
11805 (ruby-syntax-before-regexp-re): New defvar, extracted from
11806 ruby-syntax-propertize-function. Since the value of this regexp
11807 is looked up at runtime now, we should be able to turn
11808 `ruby-syntax-methods-before-regexp' into a defcustom later.
11809 (ruby-syntax-propertize-function): Split regexp matching into two
11810 parts, for opening and closing slashes. That allows us to skip
11811 over string interpolations and support multiline regexps.
11812 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11813 for them, which calls `ruby-syntax-propertize-expansion'.
11814 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11815 call to `ruby-syntax-propertize-function'.
11816 (ruby-syntax-propertize-expansion): Extracted from
11817 `ruby-syntax-propertize-expansions'. Handles one expansion.
11818 (ruby-syntax-propertize-percent-literal): Leave point right after
11819 the percent symbol, so that the expression expansion rule can
11820 propertize the contents.
11821 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11822 heredoc openers.
11823 (ruby-syntax-propertize-expansions): Remove.
11824
11825 2013-05-18 Juri Linkov <juri@jurta.org>
11826
11827 * man.el (Man-default-man-entry): Remove `-' from the end
11828 of the default value. (Bug#14400)
11829
11830 2013-05-18 Glenn Morris <rgm@gnu.org>
11831
11832 * comint.el (comint-password-prompt-regexp):
11833 Allow "password for XXX" where XXX contains colons (eg https://...).
11834
11835 2013-05-18 Leo Liu <sdl.web@gmail.com>
11836
11837 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11838 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11839 (octave-source-directories): Don't check process.
11840 (octave-source-directories, octave-find-definition): Doc fix.
11841
11842 2013-05-18 Glenn Morris <rgm@gnu.org>
11843
11844 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11845 Remove backspace/delete bindings. (Bug#14392)
11846
11847 * cus-dep.el (custom-make-dependencies): Sort the output.
11848 (custom-versions-load-alist): Convert comment to doc.
11849
11850 2013-05-17 Leo Liu <sdl.web@gmail.com>
11851
11852 * newcomment.el (comment-search-backward): Stricter in finding
11853 comment start. (Bug#14303)
11854
11855 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11856 (octave-comment-start-skip): Properly anchored.
11857
11858 2013-05-17 Leo Liu <sdl.web@gmail.com>
11859
11860 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11861 Clean up when turned off. (Bug#14395)
11862 (smie--highlight-matching-block-overlay): No longer buffer-local.
11863 (smie-highlight-matching-block): Adjust.
11864
11865 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11866
11867 Doc string fix for "nanoseconds" (Bug#14406).
11868 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11869 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11870
11871 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11872
11873 * calc/calc-units.el (math-extract-units): Preserve powers
11874 of units.
11875
11876 2013-05-17 Leo Liu <sdl.web@gmail.com>
11877
11878 * subr.el (delete-consecutive-dups): New function.
11879 * ido.el (ido-set-matches-1): Use it.
11880 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11881 * ido.el (ido-remove-consecutive-dups): Remove.
11882
11883 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11884
11885 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11886 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11887 regexp-opt's `words'.
11888
11889 2013-05-16 Leo Liu <sdl.web@gmail.com>
11890
11891 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11892 (smie--highlight-matching-block-overlay)
11893 (smie--highlight-matching-block-lastpos)
11894 (smie--highlight-matching-block-timer): New variables.
11895 (smie-highlight-matching-block): New function.
11896 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11897 (smie-setup): Conditionally enable smie-blink-matching-open.
11898
11899 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11900
11901 Sync with upstream verilog-mode r840.
11902 * progmodes/verilog-mode.el (verilog-mode-version)
11903 (verilog-mode-release-date): Update.
11904 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11905 (verilog-sig-tieoff): Fix string error on
11906 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11907 (verilog-read-decls): Fix parameters confusing
11908 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11909
11910 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11911
11912 * subr.el (reveal-filename): New function.
11913
11914 * loadup.el: Compute Emacs executable versions on MS-Windows,
11915 where executables have the .exe extension. Add a hard link
11916 emacs-XX.YY.ZZ.exe on MS-Windows.
11917
11918 * Makefile.in (XARGS_LIMIT): New variable.
11919 (custom-deps, finder-data, autoloads)
11920 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11921 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11922 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11923 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11924
11925 2013-05-16 Leo Liu <sdl.web@gmail.com>
11926
11927 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11928 (octave-mode-menu, octave-mode-map): Remove its uses.
11929
11930 2013-05-16 Reto Zimmermann <reto@gnu.org>
11931
11932 Sync with upstream vhdl mode v3.34.2.
11933 * progmodes/vhdl-mode.el: Use `push' throughout.
11934 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11935 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11936 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11937 (vhdl-actual-generic-name): New option to derive actual generic name.
11938 (vhdl-port-paste-signals): Replace formal by actual generics.
11939 (vhdl-beautify): New name for old group vhdl-align. Update users.
11940 (vhdl-beautify-options): New option.
11941 (vhdl-last-input-event): New compat alias. Use throughout.
11942 (vhdl-goto-line): Replace user level function `goto-line'.
11943 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11944 vhdl-fix-statement-buffer.
11945 (vhdl-create-mode-menu): Add some entries.
11946 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11947 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11948 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11949 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11950 to force statements on one line.
11951 (vhdl-remove-trailing-spaces-region):
11952 New, split from vhdl-remove-trailing-spaces.
11953 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11954 Respect vhdl-beautify-options.
11955 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11956 (vhdl-update-sensitivity-list): Not add with index if exists without.
11957 Not include array index with signal. Ignore keywords in comments.
11958 (vhdl-get-visible-signals): Regexp tweaks.
11959 (vhdl-template-component-inst): Handle empty library.
11960 (vhdl-template-type): Add template for 'enum' type.
11961 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11962 Use vhdl-replace-string.
11963 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11964 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11965 (vhdl-speedbar-initialize): Update for above name change.
11966 (vhdl-compose-wire-components): Fix in handling of constants.
11967 (vhdl-error-regexp-emacs-alist): New variable.
11968 (vhdl-error-regexp-add-emacs): New function;
11969 adds support for new compile.el (Emacs 22+)
11970 (vhdl-generate-makefile-1): Change target order for single lib. units.
11971 Allow use of absolute file names.
11972
11973 2013-05-16 Leo Liu <sdl.web@gmail.com>
11974
11975 * simple.el (prog-indent-sexp): Indent enclosing defun.
11976
11977 2013-05-15 Glenn Morris <rgm@gnu.org>
11978
11979 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11980 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11981 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11982 (whitespace-highlight): Move to whitespace group.
11983
11984 * comint.el (comint-source):
11985 * pcmpl-linux.el (pcmpl-linux):
11986 * shell.el (shell-faces):
11987 * eshell/esh-opt.el (eshell-opt):
11988 * international/ccl.el (ccl): Remove empty custom groups.
11989
11990 * completion.el (dynamic-completion-mode):
11991 * jit-lock.el (jit-lock-debug-mode):
11992 * minibuffer.el (completion-in-region-mode):
11993 * type-break.el (type-break-mode-line-message-mode)
11994 (type-break-query-mode):
11995 * emulation/tpu-edt.el (tpu-edt-mode):
11996 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11997 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11998 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11999
12000 * term/xterm.el (xterm): Change parent group to terminals.
12001
12002 * master.el (master): Remove empty custom group.
12003 (master-mode): Remove unused :group argument.
12004 * textmodes/refill.el (refill): Remove empty custom group.
12005 (refill-mode): Remove unused :group argument.
12006
12007 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12008
12009 * cus-dep.el: Provide a feature.
12010 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12011 Don't mistakenly ignore files whose basenames match a basename
12012 from preloaded-file-list (eg cedet/ede/simple.el).
12013 Add a fallback method for getting :group.
12014
12015 2013-05-15 Juri Linkov <juri@jurta.org>
12016
12017 * isearch.el (isearch-char-by-name): Rename from
12018 `isearch-insert-char-by-name'. Doc fix.
12019 (isearch-forward): Mention `isearch-char-by-name' in
12020 the docstring. (Bug#13348)
12021
12022 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12023 `exit-minibuffer' instead of
12024 `isearch-nonincremental-exit-minibuffer'.
12025 (isearch-edit-string): Remove mention of
12026 `isearch-nonincremental-exit-minibuffer' from docstring.
12027 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12028 (isearch-forward-exit-minibuffer)
12029 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12030
12031 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * loadup.el: Just use unversioned DOC.
12034
12035 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12036 literals as extending to EOB.
12037 (nxml-last-fontify-end): Remove unused variable.
12038 (nxml-after-change1): Use with-silent-modifications.
12039 (nxml-extend-after-change-region): Simplify.
12040 (nxml-extend-after-change-region1): Remove function.
12041 (nxml-after-change1): Don't adjust for dependent regions.
12042 (nxml-fontify-matcher): Simplify.
12043 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12044 (xmltok-add-dependent): Remove function.
12045 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12046 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12047 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12048 unclosed <[[, <?, comment, and other literals as extending to EOB.
12049 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12050 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12051 Remove functions.
12052 (rng-do-some-validation-1): Don't mark dependent regions.
12053 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12054 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12055 (nxml-clear-dependent-regions): Remove functions.
12056 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12057 (nxml-ensure-scan-up-to-date):
12058 Don't clear&mark dependent regions.
12059
12060 2013-05-15 Leo Liu <sdl.web@gmail.com>
12061
12062 * progmodes/octave.el (octave-goto-function-definition):
12063 Improve and fix callers.
12064
12065 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12068 the setter (bug#14387).
12069
12070 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12071 surrounding group (bug#14402).
12072
12073 2013-05-14 Juri Linkov <juri@jurta.org>
12074
12075 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12076 (Bug#14390)
12077
12078 2013-05-14 Glenn Morris <rgm@gnu.org>
12079
12080 * progmodes/f90.el (f90-imenu-generic-expression):
12081 Fix typo in 2013-05-08 change. (Bug#14402)
12082
12083 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12084
12085 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12086 Remove signals for which replies are never received.
12087
12088 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12089
12090 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12091 (gdb-handler-alist, gdb-handler-number): Remove variables.
12092 (gdb-handler-list): New variable.
12093 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12094 (gdb-pending-handler-p, gdb-handle-reply)
12095 (gdb-remove-all-pending-triggers): New functions.
12096 (gdb-discard-unordered-replies): New defcustom.
12097 (gdb-handler): New defstruct.
12098 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12099 instead of gdb-pending-triggers. Update docstring.
12100 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12101 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12102 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12103 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12104 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12105 (gdb-frame-handler): Pending triggers are now automatically managed.
12106 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12107 Remove argument.
12108 (gdb-input): Automatically handles pending triggers. Update docstring.
12109 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12110 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12111 Update comments.
12112 (gdb-done-or-error): Now use gdb-handle-reply.
12113
12114 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12115
12116 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12117 gdb-debug-log.
12118
12119 2013-05-14 Glenn Morris <rgm@gnu.org>
12120
12121 * subr.el (user-emacs-directory-warning): New option.
12122 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12123
12124 2013-05-14 Leo Liu <sdl.web@gmail.com>
12125
12126 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12127 during redisplay.
12128 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12129 (octave-font-lock-texinfo-comment): Fix invalid search bound
12130 error: wrong side of point.
12131
12132 2013-05-14 Glenn Morris <rgm@gnu.org>
12133
12134 * progmodes/flymake.el (flymake-xml-program): New option.
12135 (flymake-xml-init): Use it.
12136
12137 * term/xterm.el: Provide a feature.
12138
12139 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12140
12141 2013-05-13 Glenn Morris <rgm@gnu.org>
12142
12143 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12144 Add compat aliases as a hack workaround. (Bug#14384)
12145
12146 2013-05-13 Leo Liu <sdl.web@gmail.com>
12147
12148 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12149 ###, and %!.
12150 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12151 C-M-q.
12152 (octave-comment-start-skip): Include %!.
12153 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12154
12155 2013-05-12 Leo Liu <sdl.web@gmail.com>
12156
12157 * progmodes/octave.el (inferior-octave-startup): Store the value
12158 of __octave_srcdir__ for octave-source-directories.
12159 (inferior-octave-check-process): New function refactored out of
12160 inferior-octave-send-list-and-digest.
12161 (octave-source-directories)
12162 (octave-find-definition-filename-function): New variables.
12163 (octave-source-directories)
12164 (octave-find-definition-default-filename): New functions.
12165 (octave-find-definition): Improve to find functions implemented in C++.
12166
12167 2013-05-12 Glenn Morris <rgm@gnu.org>
12168
12169 * calendar/diary-lib.el (diary-outlook-format-1):
12170 Don't include dayname in the output. (Bug#14349)
12171
12172 2013-05-11 Glenn Morris <rgm@gnu.org>
12173
12174 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12175
12176 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12177 Treat cc-provide like provide.
12178
12179 2013-05-11 Kevin Ryde <user42@zip.com.au>
12180
12181 * cus-dep.el (custom-make-dependencies):
12182 Use generated-autoload-load-name for the sake of files such
12183 such cedet/semantic/bovine/c.el, where the base file name
12184 is not in load-path. (Bug#5277)
12185
12186 2013-05-11 Glenn Morris <rgm@gnu.org>
12187
12188 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12189 Provide features.
12190
12191 2013-05-11 Leo Liu <sdl.web@gmail.com>
12192
12193 * progmodes/octave.el (octave-indent-comment): Improve.
12194 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12195 (octave-eldoc-function-signatures, octave-eldoc-function):
12196 New functions.
12197 (octave-mode, inferior-octave-mode): Add eldoc support.
12198
12199 2013-05-11 Richard Stallman <rms@gnu.org>
12200
12201 * epa.el (epa-decrypt-file): Take output file name as argument
12202 and read it using `interactive'.
12203
12204 2013-05-11 Leo Liu <sdl.web@gmail.com>
12205
12206 * progmodes/octave.el (octave-beginning-of-line)
12207 (octave-end-of-line): Check before using up-list because it jumps
12208 out of more syntactic contructs since moving to smie.
12209 (octave-indent-comment): New function.
12210 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12211 (octave-begin-keywords, octave-end-keywords)
12212 (octave-reserved-words, octave-smie-bnf-table)
12213 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12214
12215 2013-05-11 Glenn Morris <rgm@gnu.org>
12216
12217 * faces.el (internal-face-x-get-resource):
12218 * frame.el (ns-display-monitor-attributes-list):
12219 * calc/calc-aent.el (math-to-radians-2):
12220 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12221 Fix declarations.
12222
12223 * calc/calc-menu.el: Make it loadable in isolation.
12224
12225 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12226 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12227 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12228 (eudc-bbdb-query-internal): Require 'bbdb.
12229
12230 * lpr.el (lpr-headers-switches):
12231 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12232
12233 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12234
12235 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12236
12237 * term.el (term-set-escape-char): Make it idempotent.
12238
12239 2013-05-10 Leo Liu <sdl.web@gmail.com>
12240
12241 * progmodes/octave.el (inferior-octave-completion-table):
12242 No longer a function and all uses changed. Use cache to speed up
12243 completion due to bug#11906.
12244 (octave-beginning-of-defun): Re-write to be more general.
12245
12246 2013-05-10 Glenn Morris <rgm@gnu.org>
12247
12248 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12249
12250 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12251
12252 * comint.el (comint-redirect-send-command-to-process): Use :around
12253 rather than :override for comint-redirect-filter.
12254 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12255 Call it instead of comint-redirect-original-filter-function (which
12256 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12257
12258 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12259
12260 * frame.el (display-monitor-attributes-list): Add NS case.
12261 (ns-display-monitor-attributes-list): Declare.
12262
12263 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12264
12265 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12266
12267 2013-05-09 Glenn Morris <rgm@gnu.org>
12268
12269 * international/fontset.el (vertical-centering-font-regexp):
12270 Set standard-value.
12271
12272 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12273
12274 * bookmark.el (bookmark-search-delay):
12275 * cus-start.el (vertical-centering-font-regexp):
12276 * ps-mule.el (ps-mule-font-info-database-default):
12277 * ps-print.el (ps-default-fg, ps-default-bg):
12278 * type-break.el (type-break-good-break-interval):
12279 * whitespace.el (whitespace-indentation-regexp)
12280 (whitespace-space-after-tab-regexp):
12281 * emacs-lisp/testcover.el (testcover-1value-functions)
12282 (testcover-noreturn-functions, testcover-progn-functions)
12283 (testcover-prog1-functions):
12284 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12285 * eshell/em-glob.el (eshell-glob-translate-alist):
12286 * play/tetris.el (tetris-tty-colors):
12287 * progmodes/cpp.el (cpp-face-default-list):
12288 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12289 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12290 (idlwave-help-browser-generic-args):
12291 * progmodes/make-mode.el (makefile-special-targets-list):
12292 * progmodes/python.el (python-shell-virtualenv-path):
12293 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12294 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12295 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12296 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12297 * textmodes/reftex-vars.el (reftex-format-label-function):
12298 * textmodes/remember.el (remember-diary-file): Fix custom types.
12299
12300 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12301 Add :version.
12302
12303 2013-05-09 Leo Liu <sdl.web@gmail.com>
12304
12305 * progmodes/octave.el (inferior-octave-completion-at-point):
12306 Restore file completion. (Bug#14300)
12307 (inferior-octave-startup): Fix incorrect highlighting for the
12308 first prompt.
12309
12310 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12311
12312 * progmodes/ruby-mode.el: First cut at SMIE support.
12313 (ruby-use-smie): New var.
12314 (ruby-smie-grammar): New constant.
12315 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12316 (ruby-smie--forward-token, ruby-smie--backward-token)
12317 (ruby-smie-rules): New functions.
12318 (ruby-mode-variables): Setup SMIE if applicable.
12319
12320 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12321
12322 * simple.el (line-move-visual): Signal beginning/end of buffer
12323 only if vertical-motion moved less than it was requested. Avoids
12324 silly incorrect error messages when there are display strings with
12325 multiple newlines at EOL.
12326
12327 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12328
12329 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12330 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12331 (prolog-char-quote-workaround):
12332 * progmodes/cperl-mode.el (cperl-under-as-char):
12333 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12334 Mark as obsolete.
12335 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12336 their declaration.
12337 (vhdl-mode-syntax-table-init): Remove.
12338
12339 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12340 last change.
12341
12342 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12343 syntax for "_".
12344 (ld-script-font-lock-keywords):
12345 Change regexps to use things like \_< and \_>.
12346
12347 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12348 Change all regexps to use things like \_< and \_>.
12349
12350 * progmodes/autoconf.el (autoconf-definition-regexp)
12351 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12352 Handle a _ with symbol syntax.
12353 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12354
12355 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12356 Consolidate declaration.
12357 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12358 the declaration.
12359 (ada-create-syntax-table): Remove.
12360 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12361 already has the right syntax nowadays.
12362 (ada-goto-next-word): Don't change the syntax of "_".
12363
12364 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12365 with-wrapper-hook.
12366
12367 2013-05-08 Sam Steingold <sds@gnu.org>
12368
12369 * thingatpt.el (thing-at-point): Accept optional second argument
12370 NO-PROPERTIES to strip the text properties from the return value.
12371 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12372 to `thing-at-point' instead of stripping the properties ourselves.
12373 Also, when `thing-at-point' fails to find a url, prepend "http://"
12374 to the filename at point on the assumption that the user is
12375 pointing at something like gnu.org/gnu.
12376
12377 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12378
12379 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12380 * faces.el (crm-separator):
12381 Silence byte-compiler.
12382
12383 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12384 (tool-bar-map): Remove unneeded defvars.
12385
12386 2013-05-08 Leo Liu <sdl.web@gmail.com>
12387
12388 Re-work a fix for bug#10994 based on Le Wang's patch.
12389 * ido.el (ido-remove-consecutive-dups): New helper.
12390 (ido-completing-read): Use it.
12391 (ido-chop): Revert fix for bug#10994.
12392
12393 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12394
12395 * cus-edit.el (custom-save-variables):
12396 Pretty-print long values. (Bug#14187)
12397
12398 2013-05-08 Glenn Morris <rgm@gnu.org>
12399
12400 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12401 (m4-mode-syntax-table): Init in the defvar.
12402 (m4-mode-abbrev-table): Let define-derived-mode define it.
12403
12404 2013-05-08 Tom Tromey <tromey@redhat.com>
12405
12406 * progmodes/m4-mode.el (m4-mode-syntax-table):
12407 Do not treat "_" as word constituent. (Bug#14167)
12408
12409 2013-05-07 Glenn Morris <rgm@gnu.org>
12410
12411 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12412 Remove explicit eshell-isearch-cancel-map.
12413
12414 * progmodes/f90.el (f90-smart-end-names): New option.
12415 (f90-smart-end): Doc fix.
12416 (f90-end-block-optional-name): New constant.
12417 (f90-block-match): Respect f90-smart-end-names.
12418
12419 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12420
12421 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12422 about implicit semi-colons (bug#14218).
12423
12424 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12425
12426 * frame.el (display-monitor-attributes-list)
12427 (frame-monitor-attributes): New functions.
12428
12429 2013-05-06 Leo Liu <sdl.web@gmail.com>
12430
12431 * progmodes/octave.el (octave-syntax-propertize-function): Change
12432 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12433 (octave-font-lock-keywords): Use octave-operator-regexp.
12434 (octave-completion-at-point): Rename from
12435 octave-completion-at-point-function.
12436 (inferior-octave-directory-tracker): Robustify.
12437 (octave-text-functions): Remove and fix its uses. No such things
12438 any more.
12439
12440 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12441
12442 * emacs-lisp/trace.el (trace--display-buffer): New function.
12443 (trace-make-advice): Use it.
12444
12445 2013-05-06 Juri Linkov <juri@jurta.org>
12446
12447 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12448 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12449 Doc fix.
12450 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12451 in the help string. (Bug#12985)
12452
12453 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12454
12455 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12456
12457 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * progmodes/perl-mode.el: Add support for here documents.
12460 (perl-syntax-propertize-function): Match here-doc markers.
12461 (perl-syntax-propertize-special-constructs): Find their end.
12462 (perl-imenu-generic-expression): Use [:alnum:].
12463
12464 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12465 (advice--add-function): Refresh the advice if already present
12466 (bug#14317).
12467
12468 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12469
12470 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12471
12472 2013-05-06 Glenn Morris <rgm@gnu.org>
12473
12474 * w32-fns.el (w32-charset-info-alist): Declare.
12475
12476 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12477 of its defcustom properties.
12478 (eshell-cmpl-initialize): No need to load pcomplete.
12479
12480 * generic-x.el: No need to require comint when compiling.
12481
12482 * net/eudc-export.el: Make it loadable without bbdb.
12483 (top-level): Use require rather than load-library.
12484 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12485 (eudc-batch-export-records-to-bbdb)
12486 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12487 Require bbdb.
12488
12489 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12490
12491 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12492 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12493 some tweaks, instead.
12494
12495 2013-05-05 Leo Liu <sdl.web@gmail.com>
12496
12497 * progmodes/octave.el (octave-font-lock-keywords)
12498 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12499 (inferior-octave-send-list-and-digest): Improve error message.
12500 (octave-mode, inferior-octave-mode): Use setq-local.
12501 (octave-help): Set info-lookup-mode.
12502
12503 2013-05-05 Richard Stallman <rms@gnu.org>
12504
12505 * vc/compare-w.el (compare-windows-whitespace):
12506 Treat no-break space as whitespace.
12507
12508 * mail/rmailsum.el (rmail-summary-rmail-update):
12509 Detect empty summary and don't change selected message.
12510 (rmail-summary-goto-msg): Likewise.
12511
12512 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12513 Doc fixes, rename args.
12514
12515 2013-05-05 Alan Mackenzie <acm@muc.de>
12516
12517 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12518
12519 2013-05-05 Juri Linkov <juri@jurta.org>
12520
12521 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12522 to not add the length of the summary segment to the return value.
12523 (Bug#14125)
12524
12525 2013-05-05 Leo Liu <sdl.web@gmail.com>
12526
12527 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12528 (inferior-octave-output-filter): Remove.
12529 (octave-send-region, inferior-octave-startup): Fix callers.
12530 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12531 (octave-binary-file-extensions): New user variable.
12532 (octave-find-definition): Confirm if opening binary files.
12533 (octave-help-file): Use octave-find-definition to get the binary
12534 confirmation.
12535 (octave-help): Adjust for octave-help-file change.
12536
12537 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12538
12539 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12540 Merge the two entries that handle function definitions.
12541 (pascal--syntax-propertize): New const.
12542 (pascal-mode): Use it. Use setq-local.
12543
12544 2013-05-04 Glenn Morris <rgm@gnu.org>
12545
12546 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12547 (diary-from-outlook): Respect diary-from-outlook-function.
12548
12549 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12550
12551 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12552 Move the declaration from C.
12553 (read-minibuffer, eval-minibuffer): Move from C.
12554 (completion-setup-function): Avoid minibuffer-completion-contents.
12555
12556 2013-05-03 Leo Liu <sdl.web@gmail.com>
12557
12558 * progmodes/octave.el (octave-font-lock-keywords): Do not
12559 dehighlight 'end' in comments or strings.
12560 (octave-completing-read, octave-goto-function-definition):
12561 New helpers.
12562 (octave-help-buffer): New user variable.
12563 (octave-help-file, octave-help-function): New button types.
12564 (octave-help): New command and bind it to C-h ;.
12565 (octave-find-definition): New command and bind it to M-.
12566 (user-error): Alias to error if not defined.
12567
12568 2013-05-02 Leo Liu <sdl.web@gmail.com>
12569
12570 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12571 for \. (bug#14332)
12572 (octave-font-lock-keywords): Include [ and {.
12573
12574 2013-05-02 Leo Liu <sdl.web@gmail.com>
12575
12576 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12577 (inferior-octave): Remove calling comint-mode and return the buffer.
12578 (inferior-octave-startup): Cosmetic changes.
12579
12580 2013-05-02 Leo Liu <sdl.web@gmail.com>
12581
12582 * progmodes/octave.el (octave-syntax-propertize-function):
12583 Include the case when ' is at line beginning. (Bug#14336)
12584
12585 2013-05-02 Glenn Morris <rgm@gnu.org>
12586
12587 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12588 * desktop.el (vc-dir-mode): Just autoload it here.
12589
12590 2013-05-02 Alan Mackenzie <acm@muc.de>
12591
12592 Eliminate variable c-standard-font-lock-fontify-region-function.
12593 * progmodes/cc-mode.el
12594 (c-standard-font-lock-fontify-region-function): Remove.
12595 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12596
12597 2013-05-01 Leo Liu <sdl.web@gmail.com>
12598
12599 * progmodes/octave.el: Compatible with older emacs-24 releases.
12600 (inferior-octave-has-built-in-variables): Remove. Built-in
12601 variables were removed from Octave in 2007.
12602 (inferior-octave-startup): Fix uses.
12603 (comint-line-beginning-position): Remove compatibility code for
12604 emacs 21.
12605
12606 2013-05-01 Juri Linkov <juri@jurta.org>
12607
12608 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12609
12610 2013-05-01 Juri Linkov <juri@jurta.org>
12611
12612 * comint.el (comint-previous-matching-input): Don't print message
12613 "History item: %d" when `isearch-mode' is active.
12614 (comint-history-isearch-message): Print message "History item: %d"
12615 when `comint-input-ring-index' is not empty and this function is
12616 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12617
12618 2013-05-01 Leo Liu <sdl.web@gmail.com>
12619
12620 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12621 definitions. Use completion-at-point to insert keywords.
12622 (octave-abbrev-start): Remove.
12623 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12624
12625 2013-04-30 Leo Liu <sdl.web@gmail.com>
12626
12627 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12628 change.
12629
12630 2013-04-30 Alan Mackenzie <acm@muc.de>
12631
12632 Handle arbitrarily long C++ member initialisation lists.
12633 * progmodes/cc-engine.el (c-back-over-member-initializers):
12634 new function.
12635 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12636 (most) member init lists.
12637
12638 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12639
12640 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12641 variable.
12642
12643 2013-04-30 Leo Liu <sdl.web@gmail.com>
12644
12645 * progmodes/octave.el (octave-variables): Remove. No builtin
12646 variables any more. All converted to functions.
12647 (octave-font-lock-keywords, octave-completion-at-point-function):
12648 Fix uses.
12649 (octave-font-lock-texinfo-comment): New user variable.
12650 (octave-texinfo-font-lock-keywords): New variable for texinfo
12651 comment block.
12652 (octave-function-comment-block): New face.
12653 (octave-font-lock-texinfo-comment): New function.
12654 (octave-mode): Font lock texinfo comment block.
12655
12656 2013-04-29 Leo Liu <sdl.web@gmail.com>
12657
12658 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12659 indexing expression.
12660 (octave-continuation-string): Do not use \.
12661 (inferior-octave-complete-impossible): Remove.
12662 (inferior-octave-completion-table)
12663 (inferior-octave-completion-at-point): Remove its uses.
12664 (inferior-octave-startup): completion_matches was introduced to
12665 Octave in 1996 so safe to assume it.
12666 (octave-function-file-comment): Improve to follow how Octave does it.
12667 (octave-update-function-file-comment): Tweak.
12668
12669 2013-04-29 Leo Liu <sdl.web@gmail.com>
12670
12671 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12672 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12673 (octave-function-file-comment): Fix typo.
12674 (octave-sync-function-file-names): Use read-char-choice.
12675
12676 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12677
12678 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12679 to t for the less important warnings.
12680
12681 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12682
12683 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12684
12685 2013-04-27 Glenn Morris <rgm@gnu.org>
12686
12687 * vc/log-view.el (log-view-current-entry):
12688 Treat "---" separator lines as part of the following rev. (Bug#14169)
12689
12690 2013-04-27 Juri Linkov <juri@jurta.org>
12691
12692 * subr.el (read-number): Doc fix about using it by interactive
12693 code letter `n'. (Bug#14254)
12694
12695 2013-04-27 Juri Linkov <juri@jurta.org>
12696
12697 * desktop.el (desktop-auto-save-timeout): New option.
12698 (desktop-file-checksum): New variable.
12699 (desktop-save): Add optional arg `auto-save' and don't auto-save
12700 if nothing changed.
12701 (desktop-auto-save-timer): New variable.
12702 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12703 (after-init-hook): Call `desktop-auto-save-set-timer'.
12704 Suggested by Reuben Thomas <rrt@sc3d.org> in
12705 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12706
12707 2013-04-27 Leo Liu <sdl.web@gmail.com>
12708
12709 * progmodes/octave.el (octave-function-file-p)
12710 (octave-skip-comment-forward, octave-function-file-comment)
12711 (octave-update-function-file-comment): New functions.
12712 (octave-mode-map): Bind C-c ; to
12713 octave-update-function-file-comment.
12714 (octave-mode-menu): Add octave-update-function-file-comment.
12715 (octave-mode, inferior-octave-mode): Fix doc-string.
12716 (octave-insert-defun): Conform to Octave's coding convention.
12717 (Bug#14285)
12718
12719 * files.el (basic-save-buffer): Don't let errors in
12720 before-save-hook prevent saving buffer.
12721
12722 2013-04-20 Roland Winkler <winkler@gnu.org>
12723
12724 * faces.el (read-face-name): Use completing-read if arg multiple
12725 is nil.
12726
12727 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12728
12729 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12730 displayed, move point to after the totals line.
12731 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12732 for the details.
12733
12734 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12735
12736 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12737 Add current dir to the load-path.
12738 (package-generate-autoloads): Don't rely on
12739 autoload-ensure-default-file.
12740
12741 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12742
12743 * textmodes/remember.el (remember-store-in-files): Document that
12744 the file name format is passed to `format-time-string'.
12745
12746 2013-04-26 Leo Liu <sdl.web@gmail.com>
12747
12748 * progmodes/octave.el (octave-sync-function-file-names): New function.
12749 (octave-mode): Use it in before-save-hook.
12750
12751 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12752
12753 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12754 (bug#14274).
12755
12756 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12757 \n and comment, even if it's not an implicit ; (bug#14218).
12758
12759 2013-04-26 Glenn Morris <rgm@gnu.org>
12760
12761 * subr.el (read-number): Once more use `read' rather than
12762 `string-to-number', to trap non-numeric input. (Bug#14254)
12763
12764 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12765
12766 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12767 Use `syntax-multiline' text property consistently instead of
12768 `font-lock-multiline'. (Bug#14237)
12769
12770 2013-04-26 Glenn Morris <rgm@gnu.org>
12771
12772 * emacs-lisp/shadow.el (list-load-path-shadows):
12773 No longer necessary to check for duplicate simple.el, since
12774 2012-07-07 change to init_lread to not include installation lisp
12775 directories in load-path when running uninstalled. (Bug#14270)
12776
12777 2013-04-26 Leo Liu <sdl.web@gmail.com>
12778
12779 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12780 (octave-mode, inferior-octave-mode): Use setq-local.
12781 (octave-not-in-string-or-comment-p): Rename to
12782 octave-in-string-or-comment-p.
12783 (octave-in-comment-p, octave-in-string-p)
12784 (octave-in-string-or-comment-p): Replace defsubst with defun.
12785
12786 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12787
12788 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12789
12790 2013-04-25 Bastien Guerry <bzg@gnu.org>
12791
12792 * textmodes/remember.el (remember-data-directory)
12793 (remember-directory-file-name-format): Fix custom types.
12794
12795 2013-04-25 Leo Liu <sdl.web@gmail.com>
12796
12797 * progmodes/octave.el (octave-completion-at-point-function):
12798 Make use of inferior octave process.
12799 (octave-initialize-completions): Remove.
12800 (inferior-octave-completion-table): New function.
12801 (inferior-octave-completion-at-point): Use it.
12802 (octave-completion-alist): Remove.
12803
12804 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12805
12806 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12807 (opascal-mode-syntax-table): New var.
12808 (opascal-literal-kind, opascal-is-literal-end)
12809 (opascal-literal-token-at): Rewrite.
12810 (opascal--literal-start-re, opascal-font-lock-keywords)
12811 (opascal--syntax-propertize): New constants.
12812 (opascal-font-lock-defaults): Adjust.
12813 (opascal-mode): Use them. Set comment-<foo> variables as well.
12814 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12815 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12816 (delphi-other-face, opascal-other-face): Remove face variables.
12817 (opascal-save-state): Remove macro.
12818 (opascal-fontifying-progress-step): Remove constant.
12819 (opascal--ignore-changes): Remove var.
12820 (opascal-set-token-property, opascal-parse-next-literal)
12821 (opascal-is-stable-literal, opascal-complete-literal)
12822 (opascal-is-literal-start, opascal-face-of)
12823 (opascal-parse-region, opascal-parse-region-until-stable)
12824 (opascal-fontify-region, opascal-after-change)
12825 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12826 (opascal-debug-parse-region, opascal-debug-parse-window)
12827 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12828 (opascal-debug-fontify-buffer): Remove.
12829 (opascal-debug-mode-map): Adjust accordingly.
12830
12831 2013-04-25 Leo Liu <sdl.web@gmail.com>
12832
12833 Merge octave-mod.el and octave-inf.el into octave.el with some
12834 cleanups.
12835 * progmodes/octave.el: New file renamed from octave-mod.el.
12836 * progmodes/octave-inf.el: Merged into octave.el.
12837 * progmodes/octave-mod.el: Renamed to octave.el.
12838
12839 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12840
12841 * textmodes/reftex-vars.el
12842 (reftex-label-ignored-macros-and-environments): New defcustom.
12843
12844 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12845
12846 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12849 (smie-indent-keyword): Improve the check to ensure that the next
12850 comment is really on the same line.
12851 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12852
12853 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12854 semi-colons if the line is not otherwise empty (bug#14218).
12855
12856 2013-04-25 Glenn Morris <rgm@gnu.org>
12857
12858 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12859
12860 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12861
12862 * progmodes/opascal.el (opascal-set-token-property): Rename from
12863 opascal-set-text-properties and only set `token' (bug#14134).
12864 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12865 (opascal-literal-text-properties): Remove.
12866 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12867 Adjust callers.
12868
12869 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12870
12871 * textmodes/remember.el (remember-handler-functions): Add an
12872 option for a new handler `remember-store-in-files'.
12873 (remember-data-directory, remember-directory-file-name-format):
12874 New options.
12875 (remember-store-in-files): New function to store remember notes
12876 as separate files within a directory.
12877
12878 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12879
12880 * progmodes/compile.el (compilation-next-error-function):
12881 Pass "formats" to compilation-find-file (bug#11777).
12882
12883 2013-04-24 Glenn Morris <rgm@gnu.org>
12884
12885 * vc/vc-bzr.el (vc-bzr-print-log):
12886 * vc/vc-hg.el (vc-hg-print-log):
12887 * vc/vc-svn.el (vc-svn-print-log):
12888 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12889
12890 * vc/vc-bzr.el (vc-bzr-print-log):
12891 * vc/vc-cvs.el (vc-cvs-print-log):
12892 * vc/vc-git.el (vc-git-print-log):
12893 * vc/vc-hg.el (vc-hg-print-log):
12894 * vc/vc-mtn.el (vc-mtn-print-log):
12895 * vc/vc-rcs.el (vc-rcs-print-log):
12896 * vc/vc-sccs.el (vc-sccs-print-log):
12897 * vc/vc-svn.el (vc-svn-print-log):
12898 * vc/vc.el (vc-print-log-internal): Doc fixes.
12899
12900 2013-04-23 Glenn Morris <rgm@gnu.org>
12901
12902 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12903 Remove venerable code attempting to avoid substitute-command-keys.
12904
12905 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12906
12907 * textmodes/reftex-vars.el (reftex-label-regexps):
12908 Call `reftex-compile-variables' after changes to this variable.
12909
12910 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12913 Use lexical-binding.
12914 (jit-lock-force-redisplay): Use markers, check buffer's continued
12915 existence and beware narrowed buffers.
12916 (jit-lock-fontify-now): Adjust call accordingly.
12917
12918 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12921 to avoid misleading the user.
12922
12923 2013-04-22 Leo Liu <sdl.web@gmail.com>
12924
12925 * info-look.el: Prefer latex2e.info. (Bug#14240)
12926
12927 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12928
12929 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12930
12931 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12932 * net/tramp.el (tramp-call-process): ... here.
12933 (tramp-set-completion-function, tramp-parse-putty):
12934 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12935 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12936 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12937 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12938 (tramp-call-local-coding-command): Use `tramp-call-process'
12939 instead of `tramp-compat-call-process'.
12940
12941 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12942 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12943 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
12944 (tramp-find-inline-compress): Improve traces.
12945 (tramp-maybe-send-script): Check for Perl binary.
12946 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12947
12948 2013-04-22 Daiki Ueno <ueno@gnu.org>
12949
12950 * epg.el (epg-context-pinentry-mode): New function.
12951 (epg-context-set-pinentry-mode): New function.
12952 (epg--start): Pass --pinentry-mode option to gpg command.
12953
12954 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12955
12956 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12957 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12958 `completion-at-point'. (Bug#13774)
12959
12960 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12961 default key binding for `describe-distribution' has been moved to
12962 `C-h C-o'. (Bug#13970)
12963
12964 2013-04-21 Glenn Morris <rgm@gnu.org>
12965
12966 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12967 Add doc strings.
12968 (vc-print-log): Clarify interactive prompt.
12969
12970 2013-04-20 Glenn Morris <rgm@gnu.org>
12971
12972 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12973 No longer include timestamp etc information.
12974
12975 2013-04-20 Roland Winkler <winkler@gnu.org>
12976
12977 * faces.el (read-face-name): Bug fix, return just one face if arg
12978 multiple is nil. (Bug#14209)
12979
12980 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12981
12982 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12983 (remove-function): Autoload.
12984
12985 * comint.el (comint-redirect-original-filter-function): Remove.
12986 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12987 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12988 (vc-cvs-annotate-command):
12989 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12990 * progmodes/prolog.el (prolog-consult-compile):
12991 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12992 Use add/remove-function instead.
12993 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12994 (gud-tooltip-process-output, gud-tooltip-tips):
12995 Use add/remove-function instead.
12996 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12997 (scheme-interaction-mode, exit-scheme-interaction-mode):
12998 Use add/remove-function instead.
12999
13000 * vc/vc-dispatcher.el: Use lexical-binding.
13001 (vc--process-sentinel): Rename from vc-process-sentinel.
13002 Change last arg to be the code to run. Don't use vc-previous-sentinel
13003 and vc-sentinel-commands any more.
13004 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13005 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13006
13007 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13008
13009 * progmodes/sh-script.el (sh-imenu-generic-expression):
13010 Handle function names with a single character. (Bug#14111)
13011
13012 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13013
13014 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13015 for subroutines defined in an eval (bug#14182).
13016
13017 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13018
13019 * bookmark.el (bookmark-completing-read): Improve handling of empty
13020 string (bug#14176).
13021
13022 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13023
13024 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13025
13026 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13027
13028 New faster Imenu implementation (bug#14058).
13029 * progmodes/python.el:
13030 (python-imenu-prev-index-position):
13031 (python-imenu-format-item-label-function)
13032 (python-imenu-format-parent-item-label-function)
13033 (python-imenu-format-parent-item-jump-label-function):
13034 New vars.
13035 (python-imenu-format-item-label)
13036 (python-imenu-format-parent-item-label)
13037 (python-imenu-format-parent-item-jump-label)
13038 (python-imenu--put-parent, python-imenu--build-tree)
13039 (python-imenu-create-index, python-imenu-create-flat-index)
13040 (python-util-popn): New functions.
13041 (python-mode): Set imenu-create-index-function to
13042 python-imenu-create-index.
13043
13044 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13045
13046 * winner.el (winner-active-region): Use region-active-p, activate-mark
13047 and deactivate-mark (bug#14225).
13048
13049 * simple.el (deactivate-mark): Don't inline it.
13050
13051 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13052
13053 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13054
13055 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13056
13057 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13058 file extensions from the archive-mode entry in order to prefer
13059 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13060
13061 2013-04-18 Leo Liu <sdl.web@gmail.com>
13062
13063 * bindings.el (help-event-list): Add ?\?.
13064
13065 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13066
13067 * subr.el (with-wrapper-hook): Declare obsolete.
13068 * simple.el (filter-buffer-substring-function): New hook.
13069 (filter-buffer-substring): Use it.
13070 (filter-buffer-substring-functions): Mark obsolete.
13071 * minibuffer.el (completion-in-region-function): New hook.
13072 (completion-in-region): Use it.
13073 (completion-in-region-functions): Mark obsolete.
13074 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13075 * abbrev.el (abbrev-expand-function): New hook.
13076 (expand-abbrev): Use it.
13077 (abbrev-expand-functions): Mark obsolete.
13078 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13079 and :filter-return.
13080
13081 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13082
13083 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13084 and do not care about match data.
13085
13086 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13089 completion tables when completing error conditions and
13090 `declare' arguments.
13091 (lisp-complete-symbol, field-complete): Mark as obsolete.
13092 (check-parens): Unmatched parens are user errors.
13093 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13094
13095 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13096
13097 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13098 command changed buffer (ie. `flyspell-pre-buffer' is not current
13099 buffer), which prevents making decisions based on invalid value of
13100 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13101 cause an error when `flyspell-pre-point' was nil after switching
13102 buffers.
13103 (flyspell-post-command-hook): No longer needs to change buffers when
13104 checking pre-word. While at it remove unnecessary progn.
13105
13106 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13107
13108 * textmodes/ispell.el (ispell-add-per-file-word-list):
13109 Fix `flyspell-correct-word-before-point' error when accepting
13110 words and `coment-padding' is an integer by using
13111 `comment-normalize-vars' (Bug #14214).
13112
13113 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13114
13115 New defun movement commands.
13116 * progmodes/python.el (python-nav--syntactically)
13117 (python-nav--forward-defun, python-nav-backward-defun)
13118 (python-nav-forward-defun): New functions.
13119
13120 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13121
13122 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13123 (python-syntax-context): Use named compiler-macro for backwards
13124 compatibility with Emacs 24.x.
13125
13126 2013-04-17 Leo Liu <sdl.web@gmail.com>
13127
13128 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13129 octave-hide-process-buffer.
13130
13131 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13132
13133 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13134 (bug#14216).
13135
13136 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13137
13138 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13139 Fix adjustment of offset when receiving incomplete responses from GDB
13140 (bug#14129).
13141
13142 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13145 python-mode-abbrev-table.
13146 (python-skeleton-define): Adjust accordingly.
13147 (python-mode-abbrev-table): New table that inherits from it so that
13148 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13149
13150 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13151 (abbrev-symbol): Use it.
13152 (abbrev--before-point): Use it since we already handle inheritance.
13153
13154 2013-04-16 Leo Liu <sdl.web@gmail.com>
13155
13156 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13157 binding to info-lookup-symbol.
13158
13159 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13160
13161 * minibuffer.el (completion--twq-all):
13162 * term/ns-win.el (ns-initialize-window-system):
13163 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13164
13165 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13166
13167 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13168 global bindings.
13169
13170 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13171
13172 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13173
13174 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13175 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13176 to nil.
13177 (ruby-end-of-defun): Remove the unused arg, change the docstring
13178 to reflect that this function is only used as the value of
13179 `end-of-defun-function'.
13180 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13181 to reflect an earlier change that beginning/end-of-defun functions
13182 jump between methods in a class definition, as well as top-level
13183 functions.
13184
13185 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13186
13187 * minibuffer.el (minibuffer-complete): Don't just scroll
13188 a *Completions* that's been iconified.
13189 (minibuffer-force-complete): Make sure repetitions do cycle when going
13190 through completion-in-region -> minibuffer-complete.
13191
13192 2013-04-15 Alan Mackenzie <acm@muc.de>
13193
13194 Correct the placement of c-cpp-delimiters when there're #s not at
13195 col 0.
13196
13197 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13198 place a submatch around the #.
13199 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13200 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13201 on the #, not BOL.
13202
13203 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13204
13205 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13206 (advice--member-p): New arg `name'.
13207 (advice--add-function, advice-member-p): Use it (bug#14202).
13208
13209 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13210
13211 Reformulate java imenu-generic-expression.
13212 The old expression contained ill formed regexps.
13213
13214 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13215 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13216 (cc-imenu-java-method-arg-regexp): New defconsts.
13217 (cc-imenu-java-build-type-args-regex): New defun.
13218 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13219 handling of spaces in the regexp.
13220
13221 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13222
13223 * textmodes/ispell.el (ispell-command-loop): Remove
13224 flyspell highlight of a word when ispell accepts it (bug #14178).
13225
13226 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13227
13228 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13229 uses code from the previous `ange-ftp-run-real-handler'.
13230 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13231 only in case that function exist. This is needed for proper
13232 unloading of Tramp.
13233
13234 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13235
13236 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13237
13238 * textmodes/reftex.el (reftex-compile-variables): Use it.
13239
13240 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13241
13242 * files.el (normal-mode): Only use default major-mode if no other mode
13243 was specified.
13244
13245 * emacs-lisp/trace.el (trace-values): New function.
13246
13247 * files.el: Allow : in local variables (bug#14089).
13248 (hack-local-variable-regexp): New var.
13249 (hack-local-variables-prop-line, hack-local-variables): Use it.
13250
13251 2013-04-13 Roland Winkler <winkler@gnu.org>
13252
13253 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13254 data before it gets modified by bibtex-beginning-of-entry.
13255
13256 2013-04-13 Roland Winkler <winkler@gnu.org>
13257
13258 * textmodes/bibtex.el (bibtex-url): Doc fix.
13259
13260 2013-04-13 Roland Winkler <winkler@gnu.org>
13261
13262 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13263 does not visit a BibTeX file, exclude it from the list of buffers
13264 returned by bibtex-initialize.
13265
13266 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13267
13268 * window.el (split-window): Remove interactive form, since as a
13269 command this function is a special case of split-window-below.
13270 Correct doc string.
13271
13272 2013-04-12 Roland Winkler <winkler@gnu.org>
13273
13274 * faces.el (read-face-name): Do not override value of arg default.
13275 Allow single faces and strings as default values. Remove those
13276 elements from return value that are not faces.
13277 (describe-face): Simplify.
13278 (face-at-point): New optional args thing and multiple so that this
13279 function can provide the same functionality previously provided by
13280 read-face-name.
13281 (make-face-bold, make-face-unbold, make-face-italic)
13282 (make-face-unitalic, make-face-bold-italic, invert-face)
13283 (modify-face, read-face-and-attribute): Use face-at-point.
13284
13285 * cus-edit.el (customize-face, customize-face-other-window)
13286 * cus-theme.el (custom-theme-add-face)
13287 * face-remap.el (buffer-face-set)
13288 * facemenu.el (facemenu-set-face): Use face-at-point.
13289
13290 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13291
13292 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13293
13294 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13295
13296 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13297 off leading { and trailing } from field values.
13298
13299 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 * emacs-lisp/timer.el (timer--check): New function.
13302 (timer--time, timer-set-function, timer-event-handler): Use it.
13303 (timer-set-idle-time): Simplify.
13304 (timer--activate): CSE.
13305 (timer-event-handler): Give more info in error message.
13306 (internal-timer-start-idle): New function, moved from C.
13307
13308 * mpc.el (mpc-proc): Add `restart' argument.
13309 (mpc-proc-cmd): Use it.
13310 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13311 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13312 less often.
13313
13314 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13315
13316 * progmodes/sh-script.el: Implement `sh-mode' own
13317 `add-log-current-defun-function' (bug#14112).
13318 (sh-current-defun-name): New function.
13319 (sh-mode): Use the function.
13320
13321 2013-04-09 Bastien Guerry <bzg@gnu.org>
13322
13323 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13324
13325 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13326
13327 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13328
13329 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13330 timer (bug#14156).
13331
13332 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13333
13334 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13335 declaration.
13336
13337 2013-04-07 Leo Liu <sdl.web@gmail.com>
13338
13339 * pcmpl-x.el: New file.
13340
13341 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13342
13343 Do not set x-display-name until X connection is established.
13344 This is needed to prevent from weird situation described at
13345 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13346 * frame.el (make-frame): Set x-display-name after call to
13347 window system initialization function, not before.
13348 * term/x-win.el (x-initialize-window-system): Add optional
13349 display argument and use it.
13350 * term/w32-win.el (w32-initialize-window-system):
13351 * term/ns-win.el (ns-initialize-window-system):
13352 * term/pc-win.el (msdos-initialize-window-system):
13353 Add compatible optional display argument.
13354
13355 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13356
13357 * files.el (normal-backup-enable-predicate): On MS-Windows and
13358 MS-DOS compare truenames of temporary-file-directory and of the
13359 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13360 don't fail comparison by compare-strings. Also, compare file
13361 names case-insensitively on MS-Windows and MS-DOS.
13362
13363 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13364
13365 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13366 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13367
13368 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13369
13370 * whitespace.el (whitespace-color-on, whitespace-color-off):
13371 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13372
13373 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13374
13375 * ispell.el (ispell-set-spellchecker-params):
13376 Really set `ispell-args' for all equivs.
13377
13378 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13379
13380 * ido.el (ido-completions): Use extra elements of ido-decorations
13381 (bug#14143).
13382 (ido-decorations): Update docstring.
13383
13384 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13385
13386 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13387 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13388 nil during initialization, in order not to miss changes since the
13389 file was opened. (Bug#14140)
13390
13391 2013-04-05 Leo Liu <sdl.web@gmail.com>
13392
13393 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13394
13395 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13396
13397 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13398
13399 2013-04-04 Glenn Morris <rgm@gnu.org>
13400
13401 * electric.el (electric-pair-inhibit-predicate): Add :version.
13402
13403 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13404
13405 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13406 when a package is required several times (bug#14082).
13407
13408 2013-04-04 Roland Winkler <winkler@gnu.org>
13409
13410 * faces.el (read-face-name): Behave as promised by the docstring.
13411 Assume that arg default is a list of faces.
13412 (describe-face): Call read-face-name with list of default faces.
13413
13414 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13415
13416 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13417 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13418 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13419 the header.
13420 (bookmark-exit-hook-internal): Save even if list is empty.
13421
13422 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13423
13424 * emacs-lisp/package.el (package-pinned-packages): New var.
13425 (package--add-to-archive-contents): Obey it (bug#14118).
13426
13427 2013-04-03 Alan Mackenzie <acm@muc.de>
13428
13429 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13430 Also adapt to the new values of element 7 of a parse state.
13431
13432 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13433 parameter `not-in-delimiter'. Handle being inside comment opener.
13434 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13435 character in case we're typing a '*' after a '/'.
13436 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13437 instead by passing the parameter to c-state-pp-to-literal.
13438
13439 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13440 for elt. 7 of a parse state.
13441
13442 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13443
13444 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13445 * international/latin1-disp.el, international/mule-util.el:
13446 * language/cyril-util.el, language/european.el, language/ind-util.el:
13447 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13448 * language/tibetan.el, language/viet-util.el:
13449 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13450
13451 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13452
13453 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13454 (electric-pair-post-self-insert-function): Use it.
13455 (electric-pair-default-inhibit): New function, extracted from
13456 electric-pair-post-self-insert-function.
13457
13458 2013-03-31 Roland Winkler <winkler@gnu.org>
13459
13460 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13461
13462 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13463
13464 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13465
13466 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13467
13468 Un-indent after "pass" and "return" statements (Bug#13888)
13469 * progmodes/python.el (python-indent-block-enders): New var.
13470 (python-indent-calculate-indentation): Use it.
13471
13472 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13473
13474 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13475 defun. Defining it as defalias could introduce too eager
13476 byte-compiler optimization. (Bug#14030)
13477
13478 2013-03-30 Chong Yidong <cyd@gnu.org>
13479
13480 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13481
13482 2013-03-30 Leo Liu <sdl.web@gmail.com>
13483
13484 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13485 (kmacro-execute-from-register): Pass the keyboard macro to
13486 kmacro-call-macro or repeating won't work correctly.
13487
13488 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13489
13490 * progmodes/subword.el: Back to using `forward-symbol'.
13491
13492 * subr.el (forward-whitespace, forward-symbol)
13493 (forward-same-syntax): Move from thingatpt.el.
13494
13495 2013-03-29 Leo Liu <sdl.web@gmail.com>
13496
13497 * kmacro.el (kmacro-to-register): New command.
13498 (kmacro-execute-from-register): New function.
13499 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13500
13501 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * mpc.el: Use defvar-local and setq-local.
13504 (mpc--proc-connect): Connection failures are not bugs.
13505 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13506 (mpc-volume-map): Bind to the up-events.
13507
13508 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13509
13510 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13511 instead of `forward-symbol'.
13512
13513 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13514
13515 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13516 (edebug--recursive-edit): Use it.
13517 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13518 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13519
13520 2013-03-28 Leo Liu <sdl.web@gmail.com>
13521
13522 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13523
13524 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13525
13526 * facemenu.el (list-colors-callback): New defvar.
13527 (list-colors-redisplay): New function.
13528 (list-colors-display): Install list-colors-redisplay as the
13529 revert-buffer-function. (Bug#14063)
13530
13531 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13532
13533 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13534 and suffixes don't overlap (bug#14061).
13535
13536 * case-table.el: Use lexical-binding.
13537 (case-table-get-table): New function.
13538 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13539
13540 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13541
13542 * progmodes/subword.el: Add `superword-mode' to do word motion
13543 over symbol_words (parallels and leverages `subword-mode' which
13544 does word motion inside MixedCaseWords).
13545
13546 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13547
13548 * eshell/em-unix.el: Move su and sudo to...
13549 * eshell/em-tramp.el: ...Eshell tramp module.
13550
13551 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13552
13553 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13554 Change return value to be a sexp. Delay `get-buffer' to after
13555 restoring the desktop (bug#13951).
13556
13557 2013-03-26 Leo Liu <sdl.web@gmail.com>
13558
13559 * register.el: Move semantic tag handling back to
13560 cedet/semantic/senator.el. (Bug#14052)
13561
13562 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13563
13564 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13565 into the prompt either (bug#13963).
13566
13567 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13568
13569 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13570 part of "(error-foo)".
13571
13572 2013-03-24 Juri Linkov <juri@jurta.org>
13573
13574 * replace.el (list-matching-lines-prefix-face): New defcustom.
13575 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13576 `occur-engine' if `face-differs-from-default-p' returns t.
13577 (occur-engine): Add `,' inside backquote construct to evaluate
13578 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13579 Pass `prefix-face' to the functions `occur-context-lines' and
13580 `occur-engine-add-prefix'.
13581 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13582 `prefix-face' and propertize the prefix with `prefix-face'.
13583 (Bug#14017)
13584
13585 2013-03-24 Leo Liu <sdl.web@gmail.com>
13586
13587 * nxml/rng-valid.el (rng-validate-while-idle)
13588 (rng-validate-quick-while-idle): Guard against deleted buffer.
13589 (Bug#13999)
13590
13591 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13592 is the last entry in kill-buffer-hook.
13593
13594 * files.el (kill-buffer-hook): Doc fix.
13595
13596 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13597
13598 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13599 Make it safe-local.
13600
13601 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13602
13603 2013-03-23 Leo Liu <sdl.web@gmail.com>
13604
13605 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13606 Remove.
13607
13608 * nxml/rng-valid.el (rng-validate-mode)
13609 (rng-after-change-function, rng-do-some-validation):
13610 * nxml/rng-maint.el (rng-validate-buffer):
13611 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13612 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13613 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13614 (nxml-extend-after-change-region): Use with-silent-modifications.
13615
13616 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13617 timer-idle-list.
13618
13619 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13620 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13621 timer-idle-list. (Bug#13999)
13622
13623 2013-03-23 Juri Linkov <juri@jurta.org>
13624
13625 * info.el (info-index-match): New face.
13626 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13627 main pattern and add text properties with the new face to matches
13628 in index entries relative to the beginning of the index entry.
13629 (Bug#14015)
13630
13631 2013-03-21 Eric Ludlam <zappo@gnu.org>
13632
13633 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13634 Inhibit read only while inserting objects.
13635
13636 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13637
13638 * progmodes/cfengine.el: Update docs to mention
13639 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13640 symbol motion. Remove "_" from the word syntax.
13641
13642 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13643
13644 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13645 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13646
13647 2013-03-20 Juri Linkov <juri@jurta.org>
13648
13649 * info.el (Info-next-reference-or-link)
13650 (Info-prev-reference-or-link): New functions.
13651 (Info-next-reference, Info-prev-reference): Use them.
13652 (Info-try-follow-nearest-node): Handle footnote navigation.
13653 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13654
13655 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13656
13657 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13658 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13659
13660 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13661
13662 Suppress unnecessary non-ASCII chatter during build process.
13663 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13664 (batch-skkdic-convert): Suppress most of the chatter.
13665 It's not needed so much now that machines are faster,
13666 and its non-ASCII component was confusing; see Dmitry Gutov in
13667 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13668
13669 2013-03-20 Leo Liu <sdl.web@gmail.com>
13670
13671 * ido.el (ido-chop): Fix bug#10994.
13672
13673 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13674
13675 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13676 Remove vars.
13677 (whitespace-color-on, whitespace-color-off):
13678 Use `font-lock-fontify-buffer' (Bug#13817).
13679
13680 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13681
13682 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13683 remapping in mode-line.
13684 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13685
13686 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13687
13688 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13689 value for `whitespace-line' face (Bug#13875).
13690 (whitespace-font-lock-keywords): Change description.
13691 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13692 the constructed keywords instead.
13693 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13694
13695 2013-03-19 Leo Liu <sdl.web@gmail.com>
13696
13697 * progmodes/compile.el (compilation-display-error): New command.
13698 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13699 C-o. (Bug#13992)
13700
13701 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13702
13703 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13704
13705 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13706
13707 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13708
13709 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13710
13711 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13712
13713 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13714 * net/tramp-gvfs.el (top):
13715 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13716 (tramp-handle-shell-command): Use it.
13717 (tramp-dissect-file-name): Raise an error when hostname is a
13718 method name, and neither method nor user is specified.
13719
13720 * net/trampver.el: Update release number.
13721
13722 2013-03-18 Leo Liu <sdl.web@gmail.com>
13723
13724 Make sure eldoc can be turned off properly.
13725 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13726 eldoc-mode.
13727 (eldoc-display-message-p): Revert last change.
13728 (eldoc-display-message-no-interference-p)
13729 (eldoc-print-current-symbol-info): Tweak.
13730
13731 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13732
13733 * doc-view.el (doc-view-new-window-function): Check the new window
13734 overlay's display property instead the char property of the
13735 buffer's first char. Use `with-selected-window' instead of
13736 `save-window-excursion' with `select-window'.
13737 (doc-view-document->bitmap): Check the current doc-view overlay's
13738 display property instead the char property of the buffer's first char.
13739
13740 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13741
13742 Automate the build of ja-dic.el (Bug#13984).
13743 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13744 from the input, rather than assume that it's been done for us by the
13745 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13746 the current date into a ja-dic.el comment, as that complicates
13747 regression testing.
13748
13749 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 * whitespace.el: Fix double evaluation.
13752 (whitespace-space, whitespace-hspace, whitespace-tab)
13753 (whitespace-newline, whitespace-trailing, whitespace-line)
13754 (whitespace-space-before-tab, whitespace-indentation)
13755 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13756 obsolete defvars.
13757 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13758 (whitespace-color-on): Use a single font-lock-add-keywords call.
13759 Fix double-evaluation of face variables.
13760
13761 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13762
13763 * net/tramp-adb.el (tramp-adb-parse-device-names):
13764 Use `start-process' instead of `call-process'. Otherwise, the
13765 function might be blocked under MS Windows. (Bug#13299)
13766
13767 2013-03-17 Leo Liu <sdl.web@gmail.com>
13768
13769 Extend eldoc to display info in the mode-line. (Bug#13978)
13770 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13771 (eldoc-mode-line-string): New variable.
13772 (eldoc-minibuffer-message): New function.
13773 (eldoc-message-function): New variable.
13774 (eldoc-message): Use it.
13775 (eldoc-display-message-p)
13776 (eldoc-display-message-no-interference-p):
13777 Support eldoc-post-insert-mode.
13778
13779 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13780 (eval-expression): Run it.
13781
13782 2013-03-17 Roland Winkler <winkler@gnu.org>
13783
13784 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13785 strings in the list of return values.
13786
13787 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13788
13789 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13790 radix before checking for HMS forms.
13791
13792 2013-03-16 Leo Liu <sdl.web@gmail.com>
13793
13794 * progmodes/scheme.el: Add indentation and font-locking for λ.
13795 (Bug#13975)
13796
13797 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13798
13799 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13800 token before point (bug#13942).
13801
13802 2013-03-16 Leo Liu <sdl.web@gmail.com>
13803
13804 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13805
13806 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13807
13808 * startup.el (command-line-normalize-file-name): Fix handling of
13809 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13810 <xfq.free@gmail.com> in
13811 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13812
13813 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13814
13815 Sync with Tramp 2.2.7.
13816
13817 * net/trampver.el: Update release number.
13818
13819 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13820
13821 * doc-view.el: Fix bug#13887.
13822 (doc-view-insert-image): Don't modify overlay associated to
13823 non-live windows, and implement horizontal centering of image in
13824 case it's smaller than the window.
13825 (doc-view-new-window-function): Force redisplay of new windows on
13826 doc-view buffers.
13827
13828 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13829
13830 * saveplace.el (save-place-alist-to-file): Don't sort
13831 `save-place-alist', just pretty-print it (bug#13882).
13832
13833 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13834
13835 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13836 Check whether `default-file-name-coding-system' is bound.
13837 It isn't in XEmacs.
13838
13839 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13840
13841 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13842 backquotes for `obsolete' (bug#13929).
13843
13844 * international/mule.el (find-auto-coding): Include file name in
13845 obsolescence warning (bug#13922).
13846
13847 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13848
13849 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13850 for CFEngine 3-specific indentation.
13851 (cfengine3-indent-line): Use it. Fix up category regex.
13852 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13853
13854 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13855
13856 * type-break.el (type-break-file-name):
13857 * textmodes/remember.el (remember-data-file):
13858 * strokes.el (strokes-file):
13859 * shadowfile.el (shadow-initialize):
13860 * saveplace.el (save-place-file):
13861 * ps-bdf.el (bdf-cache-file):
13862 * progmodes/idlwave.el (idlwave-config-directory):
13863 * net/quickurl.el (quickurl-url-file):
13864 * international/kkc.el (kkc-init-file-name):
13865 * ido.el (ido-save-directory-list-file):
13866 * emulation/viper.el (viper-custom-file-name):
13867 * emulation/vip.el (vip-startup-file):
13868 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13869 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13870
13871 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13872
13873 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13874 * language/thai-word.el: Switch to UTF-8.
13875
13876 See ChangeLog.16 for earlier changes.
13877
13878 ;; Local Variables:
13879 ;; coding: utf-8
13880 ;; End:
13881
13882 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13883
13884 This file is part of GNU Emacs.
13885
13886 GNU Emacs is free software: you can redistribute it and/or modify
13887 it under the terms of the GNU General Public License as published by
13888 the Free Software Foundation, either version 3 of the License, or
13889 (at your option) any later version.
13890
13891 GNU Emacs is distributed in the hope that it will be useful,
13892 but WITHOUT ANY WARRANTY; without even the implied warranty of
13893 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13894 GNU General Public License for more details.
13895
13896 You should have received a copy of the GNU General Public License
13897 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.