lisp/vc/pcvs*.el: Fix typos.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2
3 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
4 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
5 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
6 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
7 (cvs-dired-use-hook): Fix docstring typos.
8 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
9 Doc fixes.
10
11 * vc/pcvs-defs.el (cvs-auto-remove-handled)
12 (cvs-auto-remove-directories, cvs-default-ignore-marks)
13 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
14 (cvs-execute-single-dir): Fix docstring typos.
15
16 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
17 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
18
19 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
20
21 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
22 Fix docstring typos.
23
24 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
25
26 * frameset.el (frameset--jump-to-register): Add autoload; it could be
27 called from jump-to-register after unloading the frameset package.
28
29 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
32 (bug#16975). Deactivate the mark before setting it to nil.
33 (activate-mark): Do nothing if region is already active.
34
35 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
36
37 * frameset.el (frameset--target-display): Remove definition; declare.
38 (frameset-save, frameset-restore): Let-bind frameset--target-display.
39
40 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
41
42 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
43 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
44 when the advice is pending.
45 (advice-remove): Remove this marker when not needed any more.
46
47 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
48
49 * frameset.el: Separate options for reusing frames and cleaning up.
50 (frameset--reuse-list): Remove definition; declare.
51 (frameset--action-map): Declare.
52 (frameset--find-frame-if): Doc fix.
53 (frameset--restore-frame): Cache frame action.
54 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
55 how to clean up the frame list after restoring. Remove cleaning
56 options from REUSE-FRAMES. Change all keyword values to symbols.
57 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
58
59 * desktop.el (desktop-restore-forces-onscreen)
60 (desktop-restore-reuses-frames): Use non-keyword values.
61 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
62
63 2014-03-10 Glenn Morris <rgm@gnu.org>
64
65 * files.el (find-file): Doc fix: update info node name.
66
67 * emacs-lisp/advice.el (ad-add-advice, defadvice):
68 Doc fix: remove references to deleted info nodes.
69
70 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
71
72 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
73 Do not add `nil' to the environment, when there's no remote `locale'.
74 (tramp-find-inline-encoding): Check, that the remote host has
75 installed perl, before sending scripts.
76
77 2014-03-10 Leo Liu <sdl.web@gmail.com>
78
79 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
80 Clear eldoc-last-message. (Bug#16920)
81
82 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
83
84 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
85 (bug#14430).
86
87 2014-03-09 Juri Linkov <juri@jurta.org>
88
89 * ansi-color.el (ansi-color-names-vector): Copy default colors
90 from `xterm-standard-colors' that look well on the default white
91 background (and also on the black background) to avoid illegible
92 color combinations like yellow-on-white and white-on-white.
93 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
94
95 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
96
97 * frameset.el (frameset-restore): When no frame is visible, do not
98 generate a list of frames, just make visible the selected one.
99
100 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
101
102 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
103 it only contains the repository root. (Bug#16897)
104
105 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
106
107 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
108 only when `remote-file-name-inhibit-cache' is nil.
109 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
110
111 2014-03-06 Martin Rudalics <rudalics@gmx.at>
112
113 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
114 Fix doc-strings.
115 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
116 fit-frame-to-buffer variable. Fix doc-string.
117 (fit-window-to-buffer): Set ONLY argument in call of
118 fit-frame-to-buffer. Fix doc-string.
119
120 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
121
122 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
123 (tramp-action-password): Clear password cache if needed.
124 (tramp-read-passwd): Do not clear password cache.
125
126 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
127 cache unless it is the first password request.
128
129 2014-03-06 Glenn Morris <rgm@gnu.org>
130
131 * simple.el (newline): Doc tweak.
132
133 * emacs-lisp/shadow.el (load-path-shadows-find):
134 Ignore dir-locals. (Bug#12357)
135
136 2014-03-05 Glenn Morris <rgm@gnu.org>
137
138 * files.el (interpreter-mode-alist):
139 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
140
141 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
142
143 * frameset.el (frameset--initial-params): Filter out null entries.
144
145 2014-03-05 Martin Rudalics <rudalics@gmx.at>
146
147 * window.el (window-min-height, window-min-width):
148 Rewrite doc-strings.
149 (window-body-size): Add PIXELWISE argument to make it consistent
150 with its callees.
151
152 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
153
154 * finder.el (finder-mode-map, finder-mode-syntax-table):
155 Revert part of 2014-02-28 change.
156
157 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
158
159 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
160 (eww-setup-buffer): Clear next/prev/etc more reliably.
161 (eww-textarea-map): [tab] doesn't work on tty.
162 Reported by Mario Lang.
163
164 * net/shr.el (shr-map): Ditto.
165
166 2014-03-04 Glenn Morris <rgm@gnu.org>
167
168 * minibuffer.el (completion-hilit-commonality):
169 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
170
171 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
172
173 * hilit-chg.el (hilit-chg-unload-function): New function.
174 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
175 (hilit-chg-map-changes): Prefer cardinal number to digit.
176 (hilit-chg-display-changes): Reflow docstring.
177 (highlight-changes-rotate-faces): Remove superfluous backslash.
178
179 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
180
181 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
182 `tramp-send-command-and-check'.
183
184 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
185
186 * hexl.el (hexl-address-region, hexl-ascii-region)
187 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
188 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
189 (hexl-forward-word, hexl-previous-line, hexl-next-line):
190 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
191 (hexl-mode): Doc fix.
192 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
193 (hexl-mode-ruler): Fix typos in docstrings.
194
195 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
196 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
197 Remove superfluous backslashes.
198 (strokes-last-stroke, strokes-global-map, strokes-mode):
199 Reflow docstrings.
200 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
201 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
202 (strokes-distance-squared, strokes-global-set-stroke)
203 (strokes-global-set-stroke-string): Doc fixes.
204 (strokes-help): Fix typos; reflow docstring.
205
206 2014-03-04 Martin Rudalics <rudalics@gmx.at>
207
208 * window.el (window-in-direction): Fix doc-string.
209
210 2014-03-04 Glenn Morris <rgm@gnu.org>
211
212 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
213 Explicit error if no grammar.
214 (smie-config-save): Doc fix. Fix quote typo.
215
216 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
219 electric-indent-mode-hook if we obey electric-indent-mode.
220 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
221 decide whether we obey electric-indent-mode.
222 (c-change-set-fl-decl-start, c-extend-after-change-region):
223 Silence warnings.
224 (c-electric-indent-mode-hook): Assume we do want to obey
225 electric-indent-mode.
226
227 * electric.el (electric-indent-mode-has-been-called): Remove.
228 (electric-indent-mode): Fix accordingly.
229
230 * files.el (hack-local-variables): Mention file name in warning.
231
232 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
233
234 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
235
236 * binding.el: Add comment describing why C-d binds to `delete-char'.
237 * simple.el (delete-forward-char): Mark as interactive-only.
238
239 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
240
241 * icomplete.el (icomplete-completions):
242 Follow-up to 2014-03-01 change.
243
244 * icomplete.el: Miscellaneous doc fixes.
245 Use Icomplete everywhere instead of icomplete for consistency.
246 (icomplete-max-delay-chars): Fix typo.
247 (icomplete-mode): Use \[].
248 (icomplete-tidy, icomplete-exhibit): Reflow.
249 (icomplete-minibuffer-setup-hook, icomplete-completions):
250 Remove superfluous backlashes.
251
252 * ido.el: Miscellaneous doc fixes.
253 Use Ido everywhere instead of ido or `ido' for consistency.
254 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
255 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
256 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
257 (ido-separator): Extract obsolescence info from docstring and declare
258 with make-obsolete-variable.
259 (ido-minibuffer-setup-hook): Simplify example.
260 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
261 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
262 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
263 (ido-everywhere): Reflow docstring.
264 (ido-toggle-vc): Doc fix.
265 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
266 of long list of keybindings.
267
268 2014-03-03 Glenn Morris <rgm@gnu.org>
269
270 * frame.el (display-pixel-height, display-pixel-width)
271 (display-mm-dimensions-alist, display-mm-height)
272 (display-mm-width): Doc tweaks.
273
274 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
275
276 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
277 case of undo in region.
278
279 2014-03-02 Martin Rudalics <rudalics@gmx.at>
280
281 * window.el (fit-window-to-buffer): Fix argument in window-size
282 call when window is horizontally combined.
283
284 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
285
286 * icomplete.el (icomplete-completions): Use string-width.
287 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
288
289 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
290
291 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
292 Highlight regexp options. (Bug#16914)
293
294 2014-03-01 Martin Rudalics <rudalics@gmx.at>
295
296 * window.el (window--max-delta-1): Round down when calculating
297 how many lines/columns we can get from a window.
298
299 2014-03-01 Glenn Morris <rgm@gnu.org>
300
301 * isearch.el (search-invisible): Doc fix.
302
303 * minibuffer.el (completion-hilit-commonality):
304 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
305 * comint.el (comint-dynamic-list-completions): Doc fix.
306 * comint.el (comint-dynamic-list-completions):
307 * filecache.el (file-cache-minibuffer-complete):
308 * tempo.el (tempo-display-completions):
309 * eshell/em-hist.el (eshell-list-history):
310 Replace use of obsolete argument of display-completion-list.
311
312 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
313
314 * icomplete.el (icomplete-completions):
315 Revert back to using "..." when ?… cannot be displayed.
316
317 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
318
319 * finder.el (finder-unload-function): New function.
320
321 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
322
323 * dframe.el (dframe-detach):
324 * find-dired.el (find-dired, find-name-dired):
325 * finder.el (finder-mode-map, finder-mode-syntax-table)
326 (finder-headmark, finder-select, finder-mouse-select):
327 Fix docstring typos.
328
329 2014-02-28 Martin Rudalics <rudalics@gmx.at>
330
331 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
332 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
333 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
334 Fix doc-string based on a suggestion by Nicolas Richard
335 <theonewiththeevillook@yahoo.fr>.
336 * help.el (with-help-window): Fix doc-string.
337
338 2014-02-28 Ivan Kanis <ivan@kanis.fr>
339
340 * net/shr.el (shr-image-animate): New option.
341 (shr-put-image): Respect shr-image-animate.
342
343 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
344
345 * net/tramp-adb.el (tramp-adb-parse-device-names):
346 Use `accept-process-output'.
347 (tramp-adb-handle-file-truename): Cache the localname only.
348 (tramp-adb-handle-make-directory)
349 (tramp-adb-handle-delete-directory): Flush file properties correctly.
350 (tramp-adb-handle-set-file-modes): Do not raise an error when file
351 modes cannot be changed.
352
353 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
354 file properties of symlinks.
355
356 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
357
358 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
359 required/optional fields to match development biblatex. (Bug#16781)
360
361 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
362
363 * saveplace.el (toggle-save-place):
364 Fix argument handling. (Bug#16673)
365
366 2014-02-28 Glenn Morris <rgm@gnu.org>
367
368 * minibuffer.el (completions-first-difference)
369 (completions-common-part, completion-hilit-commonality): Doc fixes.
370
371 2014-02-28 Karl Berry <karl@gnu.org>
372
373 * info.el (Info-mode-map): Add H for describe-mode,
374 to synchronize with standalone Info.
375
376 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
377
378 * progmodes/sql.el (sql-interactive-mode):
379 Avoid setting global comint-input-ring-separator. (Bug#16814)
380
381 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
382
383 * net/dbus.el (dbus--init-bus): Declare function.
384 (dbus-path-local, dbus-interface-local): New defconst.
385 (dbus-init-bus): Use them.
386 (dbus-return-values-table): Extend doc.
387 (dbus-handle-bus-disconnect): Extend error message.
388
389 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
390
391 * subr.el (y-or-n-p): Fix double space issue in message.
392
393 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
394
395 * net/tramp.el (tramp-call-process): Improve trace message.
396 (tramp-handle-insert-file-contents): Trace error case.
397
398 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
399 <insert-directory>: Use `tramp-handle-insert-directory'.
400 (tramp-adb-handle-insert-directory): Remove function.
401 (tramp-adb-send-command-and-check): New defun, replacing
402 `tramp-adb-command-exit-status'. Change all callees.
403 (tramp-adb-handle-file-attributes)
404 (tramp-adb-handle-directory-files-and-attributes): Use it.
405 (tramp-adb-ls-output-name-less-p):
406 Use `directory-listing-before-filename-regexp'.
407 (tramp-adb-handle-delete-directory): Flush also file properties of
408 the truename of directory.
409 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
410 (tramp-adb-handle-file-local-copy): Make the local copy readable.
411 (tramp-adb-handle-write-region): Implement APPEND.
412 (tramp-adb-handle-rename-file): Make it more robust. Flush file
413 properties correctly.
414 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
415 variables. Check for connected devices only when needed.
416
417 2014-02-27 Glenn Morris <rgm@gnu.org>
418
419 * minibuffer.el (completion-table-dynamic)
420 (completion-table-with-cache): Doc fixes.
421
422 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
423 (completing-read-multiple): Doc fixes.
424
425 2014-02-27 Daniel Colascione <dancol@dancol.org>
426
427 * minibuffer.el (completion--nth-completion): Fix indentation.
428
429 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
430 explicit tramp path is empty.
431
432 2014-02-27 Glenn Morris <rgm@gnu.org>
433
434 * emacs-lisp/crm.el (completing-read-multiple):
435 Empower help-enable-auto-load.
436
437 2014-02-26 Glenn Morris <rgm@gnu.org>
438
439 * startup.el (command-line): Don't init the tty in daemon mode.
440
441 Avoid calling tty-setup-hook twice, eg if a term file
442 explicitly calls tty-run-terminal-initialization. (Bug#16859)
443 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
444 (tty-create-frame-with-faces): Use it.
445 * startup.el (command-line): Pass run-hook argument
446 to tty-run-terminal-initialization.
447
448 * dired.el (dired-restore-desktop-buffer): Demote errors;
449 eg in case a glob match fails. (Bug#16884)
450
451 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
452
453 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
454 error from `read-from-string'. (Bug#16850)
455
456 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
457 result of `completing-read' in the interactive form. (Bug#16854)
458
459 2014-02-25 Glenn Morris <rgm@gnu.org>
460
461 * image.el (image-animate, image-animate-timeout):
462 Stop animating images in dead buffers. (Bug#16878)
463
464 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
465
466 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
467 Doc fixes.
468 * startup.el (term-setup-hook): Doc fix. Make obsolete.
469 * term/sun.el (sun-raw-prefix-hooks):
470 Use tty-setup-hook instead of term-setup-hook.
471 (terminal-init-sun): Construct message from bytecomp plist.
472 * term/wyse50.el (enable-arrow-keys): Doc fix.
473
474 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
475
476 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
477 Fix docstring typos.
478
479 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
480
481 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
482
483 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
484
485 * minibuffer.el (completion--try-word-completion):
486 Fix error when completing M-x commands (bug#16808).
487
488 2014-02-24 Leo Liu <sdl.web@gmail.com>
489
490 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
491
492 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
493
494 * apropos.el (apropos-print): Avoid formatting error when
495 apropos-do-all and apropos-compact-layout are both t.
496
497 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
498
499 * apropos.el (apropos-property, apropos-all-words-regexp)
500 (apropos-true-hit, apropos-variable, apropos-print):
501 Fix docstring typos, and remove obsolete comment.
502
503 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
504
505 * net/tramp-sh.el (tramp-sh-handle-file-truename):
506 Preserve trailing "/". (Bug#16851)
507
508 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
509
510 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
511 after `=>' (bug#16811).
512 (ruby-smie-rules): Handle the inconsistent second element of the
513 list returned by `smie-indent--parent'.
514 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
515 method call.
516
517 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
518
519 * elec-pair.el (electric-pair-text-syntax-table)
520 (electric-pair-syntax-info, electric-pair--syntax-ppss)
521 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
522 (electric-pair--looking-at-unterminated-string-p): Doc fix.
523 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
524
525 2014-02-22 Glenn Morris <rgm@gnu.org>
526
527 * imenu.el (imenu--generic-function): Doc fix.
528
529 * register.el (frame-configuration-to-register): Make obsolete.
530
531 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
532
533 * desktop.el (desktop-save-buffer-p): Do not fail when
534 desktop-files-not-to-save is nil. Return t for true result
535 as the doc says.
536
537 2014-02-22 Daniel Colascione <dancol@dancol.org>
538
539 * net/secrets.el (secrets-create-item, secrets-search-items):
540 Check that attribute values are strings, avoiding the construction
541 of invalid dbus messages.
542
543 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
544
545 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
546 defun-declarations-alist.
547
548 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
549
550 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
551 (bug#16829).
552
553 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
554
555 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
556 (whitespace-newline, whitespace-trailing, whitespace-line)
557 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
558 (whitespace-space-after-tab): Fix typo in docstrings.
559
560 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
561
562 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
563
564 * electric.el (electric-indent-functions-without-reindent):
565 Add `yaml-indent-line'.
566
567 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
568
569 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
570 It has done nothing for years; should be removed after the release.
571
572 * simple.el (choose-completion): Fix docstring typo.
573 (read-quoted-char-radix): Remove unneeded * in docstring.
574 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
575 Don't escape parentheses unnecessarily in docstrings.
576
577 2014-02-21 Martin Rudalics <rudalics@gmx.at>
578
579 Fix handling of window-min-height/-width (Bug#16738).
580 * window.el (window--dump-window, window--dump-frame):
581 New functions.
582 (window--min-size-1): Account for window dividers.
583 When window-resize-pixelwise is nil, delay rounding till after the
584 sum of the window components has been calculated.
585 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
586 nil make sure at least one text line and two text columns remain
587 fully visible.
588 (window-resize): Signal an error when window-resize-apply fails.
589 (window--resize-child-windows): Fix calculation of by how many
590 pixels a window can still be shrunk via window-new-normal.
591 (adjust-window-trailing-edge): Call window--resizable with
592 correct TRAIL argument.
593
594 (with-temp-buffer-window): Don't evaluate BODY within
595 with-current-buffer (Bug#16816).
596
597 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
598
599 * net/tramp.el (tramp-check-cached-permissions):
600 Call `file-attributes' with `suffix' being a symbol but a string.
601
602 2014-02-21 Daniel Colascione <dancol@dancol.org>
603
604 * net/dbus.el (dbus-init-bus-1): Declare new subr.
605 (dbus-init-bus): New function: call into dbus-init-bus-1
606 and installs a handler for the disconnect signal.
607 (dbus-call-method): Rewrite to look for result in cons.
608 (dbus-call-method-handler): Store result in cons.
609 (dbus-check-event): Recognize events with nil sender as valid.
610 (dbus-handle-bus-disconnect): New function. React to bus
611 disconnection signal by synthesizing dbus error for each
612 pending synchronous or asynchronous call.
613 (dbus-notice-synchronous-call-errors): New function.
614 (dbus-handle-event): Raise errors directly only when `dbus-debug'
615 is true, not all the time.
616
617 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
618
619 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
620 Remove obsolescence declarations, these variables do not exist anymore.
621
622 * savehist.el (savehist-save-minibuffer-history)
623 (savehist-additional-variables, savehist-file, savehist-mode-hook)
624 (savehist-save-hook, savehist-coding-system, savehist-loaded)
625 (savehist-load, savehist-install, savehist-autosave): Fix typos;
626 mostly, refer to "Savehist mode" when talking about the mode,
627 and not the function.
628
629 * saveplace.el (save-place): Remove redundant info in docstring.
630 (save-place-forget-unreadable-files, toggle-save-place)
631 (save-place-forget-unreadable-files, save-place-dired-hook):
632 Fix typos and remove unneeded backslashes.
633
634 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
635
636 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
637 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
638
639 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
640 <insert-directory>: Use `tramp-handle-insert-directory'.
641 (tramp-gvfs-handle-insert-directory): Remove function.
642
643 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
644 Call `tramp-handle-insert-directory'.
645
646 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
647
648 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
649 before the start of buffer/region (bug#16799).
650
651 2014-02-20 Glenn Morris <rgm@gnu.org>
652
653 * isearch.el (search-invisible): Doc fix.
654
655 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
656
657 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
658 (bug#16657).
659
660 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
661
662 * frameset.el (frameset-restore): Delay removing an old frame's
663 duplicate id until the new frame has been correctly created.
664
665 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
666
667 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
668 (tramp-check-cached-permissions): Call `file-attributes' if the
669 cache is empty.
670
671 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
672 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
673
674 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
675 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
676 (tramp-gvfs-maybe-open-connection): Set always connection
677 properties, even if target is mounted already.
678
679 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
680 Set tramp-autoload cookie.
681 (tramp-get-remote-touch): New defun.
682 (tramp-sh-handle-set-file-times): Use it.
683 (tramp-sh-handle-directory-files-and-attributes):
684 Use `tramp-handle-directory-files-and-attributes' if neither stat
685 nor perl are available on the remote host.
686
687 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
688 "/". Write long listing only when "l" belongs to the switches.
689
690 * net/trampver.el: Update release number.
691
692 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
693
694 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
695
696 2014-02-19 Martin Rudalics <rudalics@gmx.at>
697
698 * window.el (window-state-put): Allow WINDOW to refer to an
699 internal window (Bug#16793).
700
701 2014-02-19 Glenn Morris <rgm@gnu.org>
702
703 * textmodes/remember.el: Move provide statement to end.
704 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
705 (remember-notes): Doc fixes.
706
707 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
708
709 * delsel.el (delete-char): Restore incorrectly erased property
710 (bug#16795).
711
712 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
713
714 * frameset.el (frameset--restore-frame): When a frame is being reused
715 and its root window is not alive, delete all the frame's windows before
716 restoring the window state. This works around the issue in bug#16793.
717
718 2014-02-18 Glenn Morris <rgm@gnu.org>
719
720 * textmodes/remember.el (remember-data-directory)
721 (remember-directory-file-name-format, remember-store-in-files)
722 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
723 (remember-notes-save-and-bury-buffer)
724 (remember-notes--kill-buffer-query): Doc fixes.
725
726 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
727
728 2014-02-17 Alan Mackenzie <acm@muc.de>
729
730 Connect electric-indent-mode up with CC Mode. Bug #15478.
731 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
732 to electric-indent-{,local-}-mode.
733 (c-basic-common-init): Set electric-indent-inhibit.
734 Initialise c-electric-flag from electric-indent-mode.
735 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
736 New hook functions which propagate electric-indent-mode to CC mode.
737
738 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
739 hit, toggle electric-indent-local-mode.
740
741 * electric.el (electric-indent-mode-has-been-called):
742 New variable.
743
744 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
745
746 * frameset.el (frameset-cfg-id): New function.
747 (frameset--reuse-frame, frameset-restore): Use it.
748 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
749
750 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * ido.el (ido-file-internal): Remove unused var `d'.
753 Use \` for to match BoS. Fit within 80n columns.
754
755 2014-02-17 Daniel Colascione <dancol@dancol.org>
756
757 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
758 dbus-call-method check for completion using a busy-wait loop with
759 gradual backoff.
760
761 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
762
763 Sync with Tramp 2.2.9.
764
765 * net/trampver.el: Update release number.
766
767 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
768
769 * ido.el (ido-file-internal): Don't add the name of an existing
770 directory twice. (Bug#16747)
771
772 2014-02-16 Glenn Morris <rgm@gnu.org>
773
774 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
775 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
776
777 2014-02-15 Michael R. Mauger <michael@mauger.com>
778
779 * progmodes/sql.el: Version 3.4
780 (sql-oracle-options): New default value ("-L").
781 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
782 (sql-placeholders-filter): Correct placeholder pattern.
783 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
784 (sql-login-delay): New variable.
785 (sql-product-interactive): Use it.
786
787 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
788
789 * frameset.el (frameset--jump-to-register): Check that buffer is live
790 (bug#16749).
791
792 2014-02-15 Glenn Morris <rgm@gnu.org>
793
794 * info.el (info-initialize): Revert 2014-01-10 change.
795
796 2014-02-14 Glenn Morris <rgm@gnu.org>
797
798 * replace.el (map-query-replace-regexp)
799 (read-regexp-defaults-function, read-regexp): Doc fixes.
800
801 * dired.el (dired-read-regexp):
802 * faces.el (list-faces-display):
803 * misearch.el (multi-isearch-read-matching-buffers)
804 (multi-isearch-read-matching-files):
805 * play/cookie1.el (cookie-apropos):
806 * progmodes/grep.el (grep-read-regexp): Doc fixes.
807
808 * textmodes/remember.el (remember): Use frameset-to-register
809 rather than frame-configuration-to-register.
810
811 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
812
813 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
814 incorrect keybinding.
815
816 2014-02-13 Daniel Colascione <dancol@dancol.org>
817
818 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
819 when adding overlays so that line numbers from compiler match line
820 numbers we use.
821
822 2014-02-13 Glenn Morris <rgm@gnu.org>
823
824 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
825
826 * jit-lock.el (jit-lock-mode): Doc fix.
827
828 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
829
830 * apropos.el (apropos-read-pattern): When the user passes an empty
831 string, give a more helpful error message than "Wrong type
832 argument: stringp, nil".
833
834 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
837
838 2014-02-13 Glenn Morris <rgm@gnu.org>
839
840 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
841
842 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
845 shift-select commands.
846
847 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
848
849 * progmodes/js.el (js-indent-line): Don't widen.
850 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
851
852 2014-02-12 Glenn Morris <rgm@gnu.org>
853
854 * icomplete.el (icomplete): Add info-link to defgroup.
855 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
856 (icomplete-minibuffer-map, icomplete-mode)
857 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
858
859 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
860 (package-menu-filter): Rename from package-menu-filter-interactive.
861 Doc fix.
862
863 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
864
865 * frameset.el (frameset--jump-to-register): Select the required
866 window and buffer before restoring position (bug#16696).
867
868 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
869
870 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
871
872 2014-02-10 Glenn Morris <rgm@gnu.org>
873
874 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
875
876 2014-02-10 Eli Zaretskii <eliz@gnu.org>
877
878 * w32-common-fns.el (x-get-selection): Doc fix.
879 * select.el (x-get-selection): Doc fix. (Bug#15109)
880
881 * face-remap.el (face-remap-add-relative)
882 (face-remap-remove-relative, face-remap-reset-base)
883 (face-remap-set-base): Call force-mode-line-update to redisplay
884 the current buffer due to potential change in faces. (Bug#16709)
885
886 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
887
888 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
889 script more robustly.
890
891 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
892
893 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
894
895 * simple.el (choose-completion): Doc fix (bug#14160).
896
897 * subr.el (event-start): Say what a nil EVENT value means.
898
899 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
900 (bug#14197).
901
902 * progmodes/grep.el (find-program): Doc fix (bug#14289).
903
904 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
905
906 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
907
908 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
909 predicate function (bug#15455).
910
911 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
912
913 * ielm.el (inferior-emacs-lisp-mode): Instead of
914 `comment-use-global-state', set `comment-use-syntax'.
915
916 2014-02-10 Glenn Morris <rgm@gnu.org>
917
918 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
919
920 2014-02-09 Alan Mackenzie <acm@muc.de>
921
922 Fix c-invalidate-state-cache on narrowed buffers.
923 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
924 Widen when setting and clearing the CPP delimiter properties.
925
926 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
927
928 * help.el (describe-bindings): Doc fix (bug#9888).
929
930 * files.el (save-buffer): Use ARG as the parameter name for
931 consistency (bug#10346).
932 (save-buffer): Clarify the 0 argument (bug#10346).
933
934 * cus-edit.el (customize-apropos): Fix error string.
935 (custom-buffer-create): Doc fix (bug#11122).
936 (custom-sort-items): Doc fix (bug#11121).
937
938 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
939
940 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
941 (icomplete-simple-completing-p): Mention the previous variable.
942
943 * font-lock.el (font-lock-value-in-major-mode): Clarify the
944 meaning of the parameter (bug#12282).
945
946 * files.el (find-file-noselect): Clarify prompt when changing
947 readedness (bug#13261).
948 (locate-file): Suffixes aren't returned, so don't say that they
949 are (bug#12674).
950 (backup-inhibited): Doc clarification (bug#12525).
951
952 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
953 before we actually start to delete things (bug#16331).
954
955 * subr.el (event-start): Doc fix (bug#14228).
956 (event-end): Ditto.
957
958 2014-02-09 Glenn Morris <rgm@gnu.org>
959
960 * emacs-lisp/warnings.el (lwarn):
961 Empower help-enable-auto-load. (Bug#15940)
962
963 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
964
965 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
966 (Bug#16690)
967
968 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
969
970 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
971 Insert output at end of buffer. (Bug#16120)
972
973 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
974
975 * simple.el (choose-completion-string-functions): Document new
976 calling convention (bug#14153).
977 (execute-extended-command): Clarify doc string (bug#13373).
978
979 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
980
981 * find-dired.el (find-name-dired): Doc fix (bug#14290).
982 (find-grep-dired): Doc fix (bug#14288).
983
984 2014-02-08 Juri Linkov <juri@jurta.org>
985
986 * isearch.el (isearch-quote-char): Check character validity
987 like in `quoted-insert' (bug#16677).
988
989 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
990
991 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
992
993 * isearch.el (isearch-hide-immediately): Doc clarification
994 (bug#14723).
995
996 * simple.el (line-move): Document utility function used many
997 places in the Emacs sources (bug#14843).
998
999 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1000 (dired-prev-marked-file): Doc fix (bug#14855).
1001 (dired-up-directory): Doc fix (bug#14848).
1002
1003 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1004
1005 * files.el (file-relative-name): Doc fix (bug#15159).
1006
1007 * fringe.el (fringe-styles): Doc fix (bug#15239).
1008
1009 * isearch.el (isearch-filter-predicate): Documentation typo fix
1010 (bug#15474).
1011
1012 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1013
1014 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1015
1016 * replace.el (replace-match-maybe-edit): Doc clarification
1017 (bug#15632).
1018
1019 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1020
1021 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1022
1023 2014-02-08 Glenn Morris <rgm@gnu.org>
1024
1025 * help-fns.el (describe-variable):
1026 Check {file,dir}-local-variables-alist, and buffer-file-name,
1027 in the correct buffer.
1028
1029 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1030
1031 * help-fns.el (describe-variable): Fix the case where
1032 a value is directory-local with no dir-locals file. (Bug#16635)
1033
1034 2014-02-08 Glenn Morris <rgm@gnu.org>
1035
1036 * abbrev.el (edit-abbrevs-mode):
1037 Derive from fundamental-mode. (Bug#16682)
1038
1039 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1040
1041 * simple.el (quoted-insert): Check character validity (bug#16677).
1042
1043 2014-02-07 Juri Linkov <juri@jurta.org>
1044
1045 * desktop.el (desktop-read): Claim the lock when the owner is not
1046 the current process. (Bug#16157)
1047
1048 2014-02-07 Juri Linkov <juri@jurta.org>
1049
1050 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1051 to "\\` ". (Bug#16651)
1052
1053 2014-02-07 Juri Linkov <juri@jurta.org>
1054
1055 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1056 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1057 (desktop-auto-save-cancel-timer): New function with some code from
1058 `desktop-auto-save-set-timer'.
1059 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1060 Instead of setting `desktop-save-mode' to nil, call
1061 `desktop-save-mode' with arg 0. (Bug#16630)
1062
1063 2014-02-07 Glenn Morris <rgm@gnu.org>
1064
1065 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1066 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1067 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1068
1069 * obsolete/iswitchb.el: Move to obsolete/.
1070 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1071 since obsolete/ is not scanned for autoloads.
1072 * emacs-lisp/authors.el (authors-valid-file-names):
1073 Add iswitchb.el.
1074
1075 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1076 Disable now non-functional find-file-hook.
1077
1078 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1081 instead of ";" in order to avoid additional prompts. Let heredoc
1082 scripts read from tty. (Bug#16582)
1083 (tramp-send-command): No special handling of heredocs, it isn't
1084 necessary anymore.
1085
1086 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1089 with a space (bug#16664). Limit the symbols considered to the ones
1090 that are bound or fbound (bug#16646).
1091
1092 2014-02-06 Glenn Morris <rgm@gnu.org>
1093
1094 * epa.el (epa-mail-aliases): Doc fix.
1095
1096 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1097
1098 * emacs-lisp/lisp.el (lisp-completion-at-point):
1099 Use `completion-table-merge' instead of `completion-table-in-turn'
1100 (bug#16604).
1101
1102 * minibuffer.el (completion-table-merge): New function.
1103
1104 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1105
1106 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1107 (tramp-sh-handle-set-file-acl)
1108 (tramp-sh-handle-start-file-process)
1109 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1110 (tramp-find-executable, tramp-send-command): Use it.
1111
1112 2014-02-05 Glenn Morris <rgm@gnu.org>
1113
1114 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1115
1116 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1117
1118 * progmodes/python.el (python-shell-send-string)
1119 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1120
1121 2014-02-04 Anders Lindgren <andlind@gmail.com>
1122
1123 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1124 the names (bug#16620).
1125
1126 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1127
1128 * faces.el (window-divider): New default value. Rewrite doc-string.
1129 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1130
1131 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1132
1133 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1134 `protected' and `public' can also be called without arguments.
1135
1136 2014-02-03 Glenn Morris <rgm@gnu.org>
1137
1138 * register.el (window-configuration-to-register)
1139 (frame-configuration-to-register): Unadvertise unused argument.
1140 * frameset.el (frameset-to-register): Remove unused argument.
1141
1142 * frameset.el (frameset-to-register):
1143 * kmacro.el (kmacro-to-register):
1144 * register.el (increment-register):
1145 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1146 (calc-append-to-register, calc-prepend-to-register):
1147 * play/gametree.el (gametree-layout-to-register)
1148 (gametree-apply-register-layout):
1149 * textmodes/picture.el (picture-clear-rectangle-to-register)
1150 (picture-yank-rectangle-from-register):
1151 * vc/emerge.el (emerge-combine-versions-register):
1152 Use register-read-with-preview to read registers.
1153
1154 2014-02-03 João Távora <joaotavora@gmail.com>
1155
1156 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1157 when at beginning of (possibly narrowed) buffer.
1158
1159 2014-02-02 Daniel Colascione <dancol@dancol.org>
1160
1161 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1162 Also try to display local help from just before point.
1163
1164 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1165
1166 c-parse-state. Don't "append-lower-brace-pair" in certain
1167 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1168 recognised as a comment.
1169
1170 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1171 as well as normal comment starter.
1172 (c-parse-state-get-strategy): Extra return possibility
1173 'back-and-forward.
1174 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1175 return value list to indicate replacement of a brace-pair cons
1176 with its car.
1177 (c-parse-state-1): With 'back-and-forward, only call
1178 c-append-lower-brace-pair-to state-cache when cons-separated.
1179
1180 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1181
1182 * term/ns-win.el (ns-suspend-error): New function.
1183 (ns-initialize-window-system): Add ns-suspend-error to
1184 suspend-hook (Bug#16612).
1185
1186 2014-02-02 Daniel Colascione <dancol@dancol.org>
1187
1188 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1189 Make loading cc-mode silent.
1190
1191 2014-02-02 Daniel Colascione <dancol@dancol.org>
1192
1193 * comint.el (comint-prompt-read-only): Change doc to suggest
1194 remap keybinding.
1195
1196 2014-02-02 Glenn Morris <rgm@gnu.org>
1197
1198 * register.el (register-read-with-preview, point-to-register)
1199 (window-configuration-to-register, frame-configuration-to-register)
1200 (jump-to-register, number-to-register, view-register, insert-register)
1201 (copy-to-register, append-to-register, prepend-to-register)
1202 (copy-rectangle-to-register): Doc fixes.
1203
1204 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1207 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1208 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1209 * help-fns.el (describe-function-1): Use it.
1210
1211 2014-02-02 Glenn Morris <rgm@gnu.org>
1212
1213 * register.el (register-preview-default): New function,
1214 split from register-preview.
1215 (register-preview-function): Rename from register-preview-functions,
1216 make it not a hook.
1217 (register-preview): Use register-preview-function.
1218 (register-read-with-preview): Error on non-character event. (Bug#16595)
1219
1220 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1221
1222 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1223 `:' before binary operators (bug#16609). Don't check for `:'
1224 before `[' and `(', or their syntax status. A percent literal
1225 can't end with either.
1226 (ruby-font-lock-keywords): For built-ins that require arguments,
1227 check that they're followed by something that looks like argument
1228 (bug#16610).
1229
1230 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1231
1232 * subr.el (butlast): Document what an omitted N means (bug#13437).
1233 (nbutlast): Ditto.
1234
1235 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1236
1237 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1238 depth shallower (bug#16587).
1239 (shr-tag-svg): Respect `shr-inhibit-images'.
1240 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1241
1242 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1243
1244 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1245 (ruby-smie-grammar): Make "." right-associative. Make its priority
1246 lower than the ternary and all binary operators.
1247 (ruby-smie-rules): Indent "(" relative to the first non-"."
1248 parent, or the first "." parent at indentation.
1249 Use `ruby-align-chained-calls' for indentation of "." tokens.
1250 (Bug#16593)
1251
1252 2014-01-31 Juri Linkov <juri@jurta.org>
1253
1254 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1255 from `make-hash-table'.
1256
1257 * textmodes/ispell.el (ispell-init-process): Change message format
1258 to be consistent with other messages.
1259
1260 2014-01-31 Glenn Morris <rgm@gnu.org>
1261
1262 * delsel.el (delete-selection-mode): Doc fix.
1263
1264 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1265 (trace-function-background): Doc fixes.
1266
1267 * ido.el (ido-use-virtual-buffers): Doc fix.
1268 Reset :version, since the default value has not changed.
1269
1270 * register.el (register-preview-delay, register-read-with-preview):
1271 Doc fixes.
1272
1273 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1274 do not mess with mail-buffer position (fixes 2009-11-03 change).
1275 * progmodes/cc-mode.el (c-submit-bug-report):
1276 Check auto-fill-mode is bound. (Bug#16592)
1277
1278 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1279
1280 * startup.el (fancy-splash-image-file): New function,
1281 split from fancy-splash-head.
1282 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1283 so that we are both using the same image. (Bug#16574)
1284
1285 2014-01-30 Glenn Morris <rgm@gnu.org>
1286
1287 * simple.el (eval-expression): Doc fix.
1288
1289 * hexl.el (hexl-mode-hook):
1290 * ielm.el (ielm-mode-hook):
1291 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1292 (lisp-interaction-mode-hook):
1293 * progmodes/cfengine.e (cfengine3-documentation-function):
1294 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1295
1296 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1299 is a symbol (bug#16584).
1300
1301 2014-01-30 Glenn Morris <rgm@gnu.org>
1302
1303 * help.el (help-for-help-internal): Add "P" to text.
1304
1305 2014-01-29 Glenn Morris <rgm@gnu.org>
1306
1307 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1308
1309 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1310
1311 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1312 height constraints.
1313
1314 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1315
1316 * progmodes/hideif.el: Extend to full CPP expression syntax.
1317 (hif-token-alist): Add missing tokens.
1318 (hif-token-regexp): Add support for float/octal/hex immediates.
1319 (hif-string-literal-regexp): New const.
1320 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1321 (hif-exprlist): New function.
1322 (hif-parse-if-exp): Use it.
1323 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1324 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1325 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1326 (hif-logxor, hif-comma): New functions.
1327
1328 2014-01-28 Glenn Morris <rgm@gnu.org>
1329
1330 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1331
1332 * indent.el (tab-stop-list): Doc fix. Add :version.
1333
1334 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1335 (cvs-append-to-ignore): Add compatibility alias.
1336
1337 2014-01-27 Glenn Morris <rgm@gnu.org>
1338
1339 * dired.el (dired-hide-details-mode): Don't autoload it,
1340 since it cannot be used outside Dired buffers anyway.
1341
1342 * emulation/cua-base.el (cua-mode): Doc fix.
1343
1344 * dired.el (dired-hide-details-hide-symlink-targets)
1345 (dired-hide-details-hide-information-lines)
1346 (dired-hide-details-mode): Doc fixes.
1347
1348 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1349 * strokes.el (strokes-file): Doc fix. Bump :version.
1350 (strokes-help): Doc fix.
1351 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1352 * emulation/viper.el (viper): Doc fix for custom group.
1353 (top-level): Remove oh-so-no-longer-relevant text about vip.
1354 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1355
1356 * ido.el (ido-save-directory-list-file):
1357 * saveplace.el (save-place-file):
1358 * calendar/timeclock.el (timeclock-file):
1359 * net/quickurl.el (quickurl-url-file):
1360 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1361 * progmodes/idlwave.el (idlwave-config-directory):
1362 * textmodes/remember.el (remember-data-file):
1363 Bump :version.
1364
1365 2014-01-26 Glenn Morris <rgm@gnu.org>
1366
1367 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1368 Doc fix. Make obsolete.
1369 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1370
1371 * sort.el (delete-duplicate-lines): Doc fix.
1372
1373 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1374
1375 * progmodes/ada-mode.el (ada):
1376 * woman.el (woman): Link to info manual and Commentary section.
1377
1378 * progmodes/flymake.el (flymake):
1379 * nxml/nxml-mode.el (nxml):
1380 * net/eww.el (eww):
1381 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1382 * htmlfontify.el (htmlfontify):
1383 * ses.el (ses):
1384 * epa.el (epa):
1385 * ido.el (ido): Link to info manual.
1386
1387 2014-01-25 Leo Liu <sdl.web@gmail.com>
1388
1389 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1390
1391 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1392
1393 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1394 (bug#16537).
1395
1396 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1397
1398 * net/eww.el (eww-download-callback):
1399 Fix reference to eww-download-directory.
1400
1401 * emacs-lisp/bytecomp.el (byte-compile-file):
1402 Remove unused local variable `file-name'.
1403
1404 2014-01-24 Glenn Morris <rgm@gnu.org>
1405
1406 * woman.el (woman-default-faces, woman-monochrome-faces):
1407 Fix obsolescence specification.
1408
1409 * subr.el (with-demoted-errors): Doc fix.
1410
1411 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1412
1413 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1414 (cl--macroexp-fboundp): New function.
1415 (cl--make-type-test): Use it.
1416
1417 2014-01-23 Glenn Morris <rgm@gnu.org>
1418
1419 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1420 * simple.el (eval-expression): Doc fixes.
1421
1422 2014-01-22 Glenn Morris <rgm@gnu.org>
1423
1424 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1425
1426 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * emacs-lisp/package.el: Write files silently.
1429 (package-autoload-ensure-default-file, package--write-file-no-coding)
1430 (package-generate-description-file, package--download-one-archive)
1431 (package-install-from-archive): Tell `write-region' to stay quiet.
1432 (package-menu-mode, package-menu--print-info): Omit the Archive column
1433 if there's only one archive.
1434 (package-all-keywords, package--has-keyword-p): Remove dead code.
1435
1436 2014-01-22 Glenn Morris <rgm@gnu.org>
1437
1438 * version.el (emacs-bzr-version-bzr): Fix typo.
1439
1440 * version.el (emacs-repository-get-version):
1441 Check either .bzr or .git, but not both.
1442 Make the git case actually use the DIR argument, and return nil
1443 rather than the empty string.
1444 Avoid error if .git exists but the git executable is not found.
1445
1446 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1447
1448 Fixes in window size functions around Bug#16430 and Bug#16470.
1449 * window.el (window-total-size, window-size): New argument ROUND.
1450 (window--min-delta-1, window-min-delta, window--max-delta-1):
1451 Be more conservative when calculating the numbers of lines or
1452 columns a window can shrink (Bug#16430).
1453 (fit-window-to-buffer): Simplify code.
1454 * term.el (term-window-width): Call window-body-width again.
1455
1456 2014-01-22 Glenn Morris <rgm@gnu.org>
1457
1458 * image.el (image-format-suffixes): Doc fix.
1459
1460 * international/quail.el (quail-define-package): Doc fix.
1461
1462 * emacs-lisp/authors.el (authors-valid-file-names)
1463 (authors-renamed-files-alist): Additions.
1464
1465 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1466 reverts 2014-01-09 change. (Bug#16422)
1467
1468 * calc/calc-embed.el (thing-at-point-looking-at):
1469 * emacs-lisp/map-ynp.el (x-popup-dialog):
1470 * obsolete/lmenu.el (x-popup-dialog):
1471 * emacs-lisp/package.el (url-recreate-url):
1472 * mail/mailclient.el (clipboard-kill-ring-save):
1473 * subr.el (x-popup-dialog): Update declaration.
1474 * mail/rmail.el (rmail-mime-message-p):
1475 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1476
1477 2014-01-21 Daniel Colascione <dancol@dancol.org>
1478
1479 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1480 Correctly detect when we're inside an arithmetic expansion form
1481 containing nested parenthesis.
1482 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1483 to detect cases where we shouldn't expand "<<" to a heredoc
1484 skeleton.
1485
1486 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1487
1488 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1489 (eldoc--message-command-p): New function.
1490 (eldoc-display-message-p): Use it.
1491 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1492 message is not automatically erased for us.
1493 (eldoc-print-current-symbol-info): Erase previous message, if any.
1494
1495 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1496
1497 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1498 specify it's an interactive function.
1499
1500 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1501 Fix regex used for scanning for citation keys which failed for
1502 citations with optional arguments.
1503
1504 2014-01-21 Leo Liu <sdl.web@gmail.com>
1505
1506 * simple.el (read--expression): Don't enable eldoc-mode.
1507
1508 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * simple.el (move-beginning-of-line): Make sure we don't move forward
1511 (bug#16497).
1512
1513 2014-01-20 Juri Linkov <juri@jurta.org>
1514
1515 * saveplace.el (toggle-save-place, save-place-to-alist)
1516 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1517 'dired-mode) before checking for dired-directory. (Bug#16477)
1518
1519 2014-01-20 Juri Linkov <juri@jurta.org>
1520
1521 * indent.el (indent-line-to): Use backward-to-indentation
1522 instead of back-to-indentation. (Bug#16461)
1523
1524 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1525
1526 Revert some of the CANNOT_DUMP fix (Bug#16494).
1527 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1528 but fixing this can wait until after the next release.
1529 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1530
1531 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1532
1533 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1534 Use `password-word-equivalents'.
1535 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1536 to t. (Bug#5664, Bug#13124)
1537
1538 2014-01-19 Alan Mackenzie <acm@muc.de>
1539
1540 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1541 points.
1542 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1543 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1544 * progmodes/cc-mode.el (c-before-change, c-after-change)
1545 (c-font-lock-fontify-region): Bind it here.
1546
1547 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1548
1549 * term.el (term-window-width): Call window-text-width instead of
1550 window-width (Bug#16470).
1551
1552 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1553
1554 * simple.el (password-word-equivalents): Remove duplicates.
1555 Sort, to make this easier next time.
1556 Downcase. Omit ": " after "jelszó".
1557
1558 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1559
1560 * term/common-win.el (saved-region-selection): Defvar it.
1561 (x-select-text): Set saved-region-selection (Bug#16382).
1562
1563 2014-01-18 Glenn Morris <rgm@gnu.org>
1564
1565 * emacs-lisp/authors.el (authors-aliases)
1566 (authors-renamed-files-alist): Add some entries.
1567
1568 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1569
1570 * net/tramp.el (tramp-password-prompt-regexp):
1571 Use `password-word-equivalents' if available.
1572 (tramp-action-password, tramp-process-one-action)
1573 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1574
1575 2014-01-17 Chong Yidong <cyd@gnu.org>
1576
1577 * simple.el (password-word-equivalents): New defcustom.
1578 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1579 to 24.4.
1580 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1581 to t. (Bug#13124)
1582
1583 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1584
1585 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1586 (ruby-align-to-stmt-keywords): Change the default value.
1587 Use `ruby-alignable-keywords' to generate the possible customization
1588 choices.
1589 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1590 keywords, check against the value of `ruby-alignable-keywords'
1591 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1592
1593 2014-01-17 Glenn Morris <rgm@gnu.org>
1594
1595 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1596
1597 Make M-x authors return zero *Authors Errors* from current logs.
1598 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1599 (authors-ignored-files): Add some entries, remove others.
1600 (authors-ambiguous-files, authors-valid-file-names):
1601 Add some entries.
1602 (authors-renamed-files-alist): Add, remove, and adjust entries.
1603 (authors-renamed-files-regexps): Add some entries.
1604 Remove some very broad ones. Make some entries `lax'.
1605 (authors-lax-changelogs): New constant.
1606 (authors-disambiguate-file-name): Treat top-level specially.
1607 (authors-lax-changelog-p): New function.
1608 (authors-canonical-file-name): Check file as written against
1609 authors-valid-file-names. Do not special-case etc/.
1610 Handle `lax' logs and authors-renamed-files-regexps elements.
1611
1612 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1613
1614 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1615 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1616 callers.
1617
1618 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1619
1620 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1621 Assume we're already in the proper buffer.
1622 Inspired by Anders Lindgren <andlind@gmail.com>.
1623 (follow-post-command-hook): Call it from the right buffer.
1624 (follow-comint-scroll-to-bottom): Adjust call.
1625 (follow-all-followers): Use get-buffer-window-list.
1626
1627 2014-01-15 Daniel Colascione <dancol@dancol.org>
1628
1629 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1630 `buffer-file-name' in interactive-form so that we don't leave
1631 pathless file names in `file-name-history'.
1632
1633 2014-01-15 Juri Linkov <juri@jurta.org>
1634
1635 * indent.el (indent-rigidly): Set deactivate-mark to nil
1636 in transient indentation mode. (Bug#16438)
1637
1638 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1639
1640 * emacs-lisp/package.el (package-desc-keywords): New function
1641 (Bug#16222).
1642 (describe-package-1, package-all-keywords)
1643 (package--has-keyword-p): Use it.
1644
1645 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1646
1647 * simple.el (define-alternatives): When creating the
1648 COMMAND-alternatives variable, assign COMMAND as its definition
1649 name so that `describe-variable' can relocate it.
1650
1651 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1652
1653 * font-lock.el (font-lock-keywords): Fix typo in docstring
1654 (bug#16307).
1655
1656 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1657
1658 * ispell.el (ispell-region): Reset `in-comment' for new line
1659 instead of wrongly reset `add-coment' (bug#13577).
1660
1661 2014-01-14 Daiki Ueno <ueno@gnu.org>
1662
1663 * epa-file.el (epa-file-write-region): Encode the region according
1664 to `buffer-file-format'. Problem reported at:
1665 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1666
1667 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1670 so it applies in the right buffer (bug#16410).
1671
1672 2014-01-13 Daniel Colascione <dancol@dancol.org>
1673
1674 * textmodes/rst.el (rst-define-key): Provide deprecated
1675 keybindings through named functions instead of anonymous ones so
1676 that "??" doesn't appear in describe-mode output.
1677
1678 2014-01-13 Bastien Guerry <bzg@gnu.org>
1679
1680 * simple.el (define-alternatives): Call the selected command
1681 interactively. When setting `COMMAND--implementation' for the
1682 first time, tell the user how to chose another implementation.
1683 Enhance the docstring.
1684
1685 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1688 (log-edit--match-first-line): New function.
1689 (log-edit-font-lock-keywords): Use it.
1690 (log-edit-mode): Make jit-lock-defer-multiline work.
1691
1692 2014-01-13 Bastien Guerry <bzg@gnu.org>
1693
1694 * rect.el (rectangle-mark-mode): When the region is not active,
1695 display a message saying that the mark as been set and that
1696 rectangle mode is in use.
1697 (rectangle--highlight-for-redisplay): Only put an overlay with a
1698 visible vertical bar when (display-graphic-p) is non-nil.
1699 This partially fixes Bug#16403.
1700
1701 2014-01-13 Juri Linkov <juri@jurta.org>
1702
1703 * info.el (Info-find-file): Go to DIR before displaying the error
1704 about a nonexistent file if no previous Info file is visited.
1705 Use `user-error' instead of `error' for "Info file %s does not exist".
1706 (Info-find-node-2): In case of a nonexistent node in unwind forms
1707 go to the Top node if there is no previous node to revert to.
1708 (Bug#16405)
1709
1710 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1711
1712 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1713 * window.el (fit-frame-to-buffer): Fix doc-string.
1714 Respect window-min-height/-width. Fit pixelwise when
1715 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1716 when avoiding that frame goes partially off-screen.
1717 (fit-window-to-buffer): Respect window-min-height/-width
1718 (Bug#14096).
1719
1720 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1723 after an empty line.
1724
1725 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1726
1727 * net/shr.el (shr-render-region): Autoload.
1728
1729 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1730
1731 * net/eww.el (eww-download-directory): Rename from
1732 `eww-download-path' (Bug#16419).
1733
1734 2014-01-12 Leo Liu <sdl.web@gmail.com>
1735
1736 * dired-x.el (dired-mode-map): Fix last change.
1737
1738 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1739
1740 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1741
1742 Spelling fixes.
1743 * emacs-lisp/generic.el (generic--normalize-comments):
1744 Rename from generic--normalise-comments. All uses changed.
1745 * play/bubbles.el (bubbles--neighborhood-score)
1746 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1747 (bubbles--neighborhood-available)
1748 (bubbles--update-neighborhood-score):
1749 Rename from names with 'neighbourhood'. All uses changed.
1750
1751 2014-01-12 Leo Liu <sdl.web@gmail.com>
1752
1753 Re-implement the feature of showing eldoc info after editing.
1754 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1755 (eldoc-edit-message-commands): New function.
1756 (eldoc-print-after-edit): New variable.
1757 (eldoc-pre-command-refresh-echo-area): Emit message only by
1758 eldoc-message-commands.
1759 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1760 if eldoc-print-after-edit is set. (Bug#16346)
1761 * simple.el (read--expression): Enable eldoc-mode.
1762 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1763
1764 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1765 Eric S. Raymond <esr@thyrsus.com>
1766
1767 * version.el (emacs-repository-get-version): Enhance so the
1768 function works correctly in either a Bazaar or Git repo.
1769
1770 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1771
1772 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1773 Goes with removal of the joke manpages from /etc.
1774
1775 2014-01-10 Kenichi Handa <handa@gnu.org>
1776
1777 * mail/rmail.el (rmail-get-coding-system):
1778 Check rmail-get-coding-function before "funcall"ing it.
1779
1780 2014-01-10 Glenn Morris <rgm@gnu.org>
1781
1782 * emacs-lisp/authors.el (authors-fixed-entries):
1783 Update for files that no longer exist.
1784
1785 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1786
1787 * version.el (emacs-bzr-get-version): Restore compatibilty with
1788 24.3 (Tested).
1789
1790 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1791
1792 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1793 and Podfile.
1794
1795 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1796
1797 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1798
1799 2014-01-10 Chong Yidong <cyd@gnu.org>
1800
1801 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1802
1803 2014-01-10 Anders Lindgren <andlind@gmail.com>
1804
1805 * follow.el (follow-cache-command-list): Include right-char and
1806 left-char.
1807
1808 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1809
1810 Spelling fixes.
1811 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1812 * woman.el (woman-mark-horizontal-position):
1813 Rename from woman-mark-horizonal-position. Use changed.
1814
1815 2014-01-10 Glenn Morris <rgm@gnu.org>
1816
1817 * info.el (info-initialize): If running uninstalled, ensure our
1818 own info files are always found first, even if INFOPATH is set.
1819
1820 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1821
1822 2014-01-09 David Engster <deng@randomsample.de>
1823
1824 * emacs-lisp/eieio-custom.el:
1825 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1826 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1827 * emacs-lisp/eieio.el: Regenerate autoloads.
1828
1829 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1830
1831 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1832 following renames. (Bug#8756)
1833
1834 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1837 (bug#16382).
1838 (activate-mark): Add `no-tmm' argument.
1839 (set-mark, push-mark-command): Use it instead of running
1840 activate-mark-hook by hand.
1841
1842 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1843
1844 In preparation for the move to git, sanitize out some
1845 Bazaar-specific names.
1846
1847 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1848
1849 * version.el (emacs-bzr-version): Name changed to
1850 emacs-repository-version. Obsolete-variable alias made.
1851 * loadup.el: Follow through on this name change.
1852 * mail/emacsbug.el (report-emacs-bug): Factor out any
1853 assumption about the version control system in use.
1854
1855 2014-01-08 David Engster <deng@randomsample.de>
1856
1857 * help-fns.el (help-fns-describe-function-functions):
1858 New variable to call functions for augmenting help buffers.
1859 (describe-function-1): Remove explicit calls to
1860 `help-fns--compiler-macro', `help-fns--parent-mode' and
1861 `help-fns--obsolete'. Put them in above new variable instead, and
1862 call them through `run-hook-with-args'.
1863 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1864 `eieio-describe-class'. Not meant for interactive use anymore,
1865 but to augment existing help buffers. Remove optional second
1866 argument. Create proper button for file location.
1867 Rewrite function to use `insert' instead of `princ' and `prin1' where
1868 possible.
1869 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1870 (eieio-method-def, eieio-class-def): Move further up.
1871 (describe-method, describe-generic, eieio-describe-method):
1872 Remove aliases.
1873 (eieio-help-constructor, eieio-help-generic): Rename from
1874 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1875 Rewrite to use `insert' in the current buffer and use proper help
1876 buttons.
1877 (eieio-help-find-method-definition)
1878 (eieio-help-find-class-definition): Also accept symbols as
1879 arguments.
1880 (eieio-help-mode-augmentation-maybee): Remove.
1881 (eieio-describe-class-sb): Use `describe-function'.
1882 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1883 Add `eieio-help-generic' and `eieio-help-constructor'.
1884
1885 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1886
1887 Spelling fixes.
1888 * language/china-util.el (hz-ascii-designation):
1889 Rename from hz-ascii-designnation.
1890 (hz-ascii-designation): Rename from hz-ascii-designnation.
1891 All uses changed.
1892
1893 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1894
1895 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1896 package-alist.
1897
1898 2014-01-08 Bastien Guerry <bzg@gnu.org>
1899
1900 * emacs-lisp/package.el (package-delete):
1901 Correctly delete the package from package-alist.
1902
1903 2014-01-08 Daiki Ueno <ueno@gnu.org>
1904
1905 * emacs-lisp/package.el (url-recreate-url): Declare.
1906 (url-http-target-url): Declare.
1907 (package-handle-response): Include requested URL in the error message.
1908 (package--check-signature): Don't re-signal errors from
1909 package--with-work-buffer. Suggested by Stefan Monnier.
1910
1911 2014-01-07 Bastien Guerry <bzg@gnu.org>
1912
1913 * minibuffer.el (completion--try-word-completion): When both a
1914 hyphen and a space are possible candidates for the character
1915 following a word, display both candidates. (Bug#15980)
1916
1917 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1918
1919 * window.el (balance-windows-2): While rounding don't give a
1920 window more than the remainder. Bug#16351, bug#16383.
1921
1922 2014-01-07 Glenn Morris <rgm@gnu.org>
1923
1924 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1925 (menu-bar-help-menu): Use view-external-packages instead.
1926
1927 2014-01-07 Bastien Guerry <bzg@gnu.org>
1928
1929 * emacs-lisp/package.el (package-delete): Also delete the package
1930 name from `package-alist', not its description only.
1931
1932 2014-01-07 Glenn Morris <rgm@gnu.org>
1933
1934 * help.el (view-external-packages):
1935 * menu-bar.el (menu-bar-help-extra-packages):
1936 Visit efaq.info rather than etc/MORE.STUFF.
1937
1938 2014-01-07 Juri Linkov <juri@jurta.org>
1939
1940 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1941 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1942
1943 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1944 that shadows RET. (Bug#16342)
1945
1946 2014-01-07 Chong Yidong <cyd@gnu.org>
1947
1948 * isearch.el (isearch-yank-char, isearch-yank-word)
1949 (isearch-yank-line): Doc fix.
1950
1951 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1954 * emacs-lisp/elint.el (elint-find-builtins):
1955 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1956 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1957 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1958 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1959 * apropos.el (apropos-safe-documentation):
1960 * subr.el (symbol-file): Remove redundant fboundp.
1961 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1962
1963 2014-01-06 Bastien Guerry <bzg@gnu.org>
1964
1965 * hl-line.el (global-hl-line-overlay): Make a local variable.
1966 (global-hl-line-overlays): New variable to store all overlays.
1967 (global-hl-line-mode): Don't delete overlays from the current
1968 buffer when `global-hl-line-sticky-flag' is non-nil.
1969 (global-hl-line-highlight): Add new overlays to
1970 `global-hl-line-overlays'.
1971 (global-hl-line-unhighlight-all): New function to delete all
1972 overlays when turning off `global-hl-line-mode'.
1973 This fixes Bug#16183.
1974
1975 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * subr.el (set-transient-map): Fix nested case and docstring.
1978
1979 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1980
1981 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1982 `Texinfo' entry.
1983
1984 2014-01-06 Daniel Colascione <dancol@dancol.org>
1985
1986 Fix defun navigation in vc log view.
1987
1988 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1989 like `beginning-of-defun'.
1990 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1991 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1992 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1993 (log-view-extract-comment): Call `log-view-current-entry' directly
1994 instead of relying on broken `log-view-beginning-of-defun' behavior.
1995
1996 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1997
1998 Spelling fixes.
1999 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2000 * emacs-lisp/debug.el (cancel-debug-on-entry):
2001 * epg.el (epg-error-to-string):
2002 * files.el (recover-file):
2003 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2004 * mail/emacsbug.el (report-emacs-bug-hook):
2005 * mail/sendmail.el (mail-recover):
2006 * ses.el (ses-yank-resize):
2007 * term/ns-win.el (ns-print-buffer):
2008 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2009 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2010 All uses changed.
2011 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2012
2013 2014-01-06 Leo Liu <sdl.web@gmail.com>
2014
2015 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2016 to avoid shadowing global key. (Bug#16354)
2017
2018 2014-01-06 Daniel Colascione <dancol@dancol.org>
2019
2020 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2021 rst-mode.
2022
2023 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2024
2025 * window.el (balance-windows): Add mising t to fix Bug#16351.
2026
2027 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2028
2029 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2030 (bug#16285).
2031 (shr-insert): If we have a word that's longer than `shr-width',
2032 break after it anyway. Otherwise we'll do no breaking once we get
2033 such a long word.
2034
2035 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2036
2037 * net/eww.el (eww): Support single/double quote for search.
2038 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2039 (eww-history-quit): Delete and use quit-window.
2040 (eww-history-kill): Delete, because it doesn't work well and
2041 not necessary.
2042 (eww-history-mode-map): Delete some keys and add easy-menu.
2043
2044 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2045
2046 Fix misspelling of 'chinese' in rx (Bug#16237).
2047 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2048 chinese-two-byte.
2049
2050 Change subword regexps back to vars (Bug#16296).
2051 * progmodes/subword.el (subword-forward-regexp)
2052 (subword-backward-regexp): Change these back to variables.
2053
2054 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2055
2056 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2057 syntax-begin-function (bug#16247).
2058
2059 2014-01-03 Chong Yidong <cyd@gnu.org>
2060
2061 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2062 (advice--docstring): Delete variable.
2063 (advice--make-1): Leave the docstring empty.
2064 (advice-add): Use function-documentation for advised docstring.
2065
2066 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2067 Ignore function-documentation property when getting documentation.
2068 (ad-activate-advised-definition): Use function-documentation
2069 generate the docstring.
2070 (ad-make-advised-definition): Don't call
2071 ad-make-advised-definition-docstring.
2072 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2073 Delete functions.
2074
2075 * progmodes/sql.el (sql-help): Use function-documentation instead
2076 of dynamic-docstring-function property. No need to autoload now.
2077 (sql--help-docstring): New variable.
2078 (sql--make-help-docstring): Use it.
2079
2080 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2081
2082 * ielm.el (ielm-tab): Retarget.
2083 (ielm-map): Use ielm-tab for tab.
2084 (ielm-complete-filename): Use comint-filename-completion.
2085 (ielm-complete-symbol): Remove.
2086 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2087 remove ielm-tab from completion-at-point-functions (bug#16224).
2088
2089 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2090 Beware signals raised by predicates (bug#16201).
2091
2092 2014-01-02 Richard Stallman <rms@gnu.org>
2093
2094 * dired-aux.el (dired-do-print): Handle printer-name.
2095
2096 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2097 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2098 (rmail-epa-decrypt): Turn off mime processing.
2099
2100 * mail/rmail.el (rmail-make-in-reply-to-field):
2101 Add parens in message-id.
2102
2103 * mail/rmail.el (rmail-get-coding-function): Variable.
2104 (rmail-get-coding-system): Use it.
2105
2106 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2107
2108 * international/mule-conf.el: Unify the charset indian-is13194.
2109 (indian-is13194): Specify unify-map.
2110
2111 2013-12-31 Leo Liu <sdl.web@gmail.com>
2112
2113 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2114
2115 2013-12-30 Daniel Colascione <dancol@dancol.org>
2116
2117 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2118 of printing a useless when we resume from sleep.
2119
2120 * progmodes/sh-script.el
2121 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2122 in indentation code. (Bug#16233)
2123
2124 2013-12-28 João Távora <joaotavora@gmail.com>
2125
2126 * elec-pair.el (electric-pair-post-self-insert-function):
2127 Don't open extra newlines at beginning of buffer. (Bug#16272)
2128
2129 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2130
2131 * frame.el (window-system-for-display): Don't allow to create a
2132 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2133
2134 2013-12-28 Glenn Morris <rgm@gnu.org>
2135
2136 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2137 Update callers.
2138
2139 * apropos.el (apropos-match-face):
2140 * calculator.el (calculator-displayer):
2141 * dabbrev.el (dabbrev-search-these-buffers-only):
2142 * face-remap.el (buffer-face-mode-face):
2143 * simple.el (yank-handled-properties):
2144 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2145 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2146 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2147 (hashcash-double-spend-database):
2148 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2149 (ruby-deep-indent-paren-style):
2150 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2151 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2152 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2153 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2154 Specify custom types.
2155
2156 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2157 * bookmark.el (bookmark-bmenu-use-header-line):
2158 * doc-view.el (doc-view-scale-internally):
2159 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2160 * register.el (register-preview-delay):
2161 * net/shr.el (shr-bullet):
2162 * progmodes/cfengine.el (cfengine-cf-promises)
2163 (cfengine-parameters-indent):
2164 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2165 * textmodes/reftex-vars.el (reftex-label-regexps):
2166 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2167
2168 * net/tls.el (tls-certtool-program): Fix default value.
2169
2170 * desktop.el (desktop-restore-in-current-display):
2171 * newcomment.el (comment-empty-lines):
2172 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2173 (idlwave-pad-keyword):
2174 * progmodes/tcl.el (tcl-tab-always-indent):
2175 * textmodes/reftex-vars.el (reftex-index-default-tag):
2176 * elec-pair.el (electric-pair-skip-whitespace):
2177 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2178
2179 * emacs-lisp/authors.el (authors-ignored-files)
2180 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2181
2182 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2183
2184 * shell.el (shell-dynamic-complete-command): Doc fix.
2185 (shell--command-completion-data): Shell completion now matches
2186 executable filenames from the current buffer's directory, on
2187 systems in which this behavior is the default (windows-nt, ms-dos).
2188
2189 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2190
2191 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2192
2193 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2196 (bug#16251).
2197
2198 * electric.el: Move all electric-pair-* to elec-pair.el.
2199 * elec-pair.el: New file, split from electric.el.
2200
2201 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2202
2203 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2204 indentation level is larger than the width, because that will
2205 infloop.
2206 (shr-insert): Fill repeatedly long texts, so that Japanese is
2207 formatted correctly (bug#16263).
2208 (shr-find-fill-point): Off by one error in comparison with the
2209 indentation.
2210
2211 2013-12-26 João Távora <joaotavora@gmail.com>
2212
2213 * electric.el (electric-pair-mode): More flexible engine for skip-
2214 and inhibit predicates, new options for pairing-related functionality.
2215 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2216 if that keeps or improves their balance in buffers.
2217 (electric-pair-delete-adjacent-pairs): Delete the pair when
2218 backspacing over adjacent matched delimiters.
2219 (electric-pair-open-extra-newline): Open extra newline when
2220 inserting newlines between adjacent matched delimiters.
2221 (electric--sort-post-self-insertion-hook):
2222 Sort post-self-insert-hook according to priority values when
2223 minor-modes are activated.
2224 * simple.el (newline-and-indent): Call newline with interactive
2225 set to t.
2226 (blink-paren-post-self-insert-function): Set priority to 100.
2227 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2228 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2229 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2230 electric-pair-open-newline-between-pairs to nil.
2231
2232 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2233
2234 * progmodes/python.el: Use lexical-binding.
2235 (python-nav-beginning-of-defun): Stop searching ASAP.
2236
2237 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2238
2239 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2240 Fix interactive spec. Doc fix. (Bug#15754)
2241
2242 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2243
2244 * emacs-lisp/byte-run.el (eval-when-compile):
2245 * progmodes/cc-defs.el (cc-eval-when-compile):
2246 Fix edebug spec (bug#16184).
2247
2248 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2249
2250 * net/shr.el (shr-visit-file): Remove debugging function.
2251 (shr-insert): Don't infloop if we can't find a good place to break
2252 the line (bug#16256).
2253
2254 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2255
2256 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2257 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2258 python-nav-lisp-forward-sexp-safe.
2259 (python-nav--forward-sexp): New argument SAFE allows switching
2260 forward sexp movement behavior for parens.
2261 (python-nav-forward-sexp): Throw errors on unterminated parens
2262 (Bug#16191).
2263 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2264 (python-nav-backward-sexp-safe): New functions.
2265 (python-shell-buffer-substring):
2266 Use `python-nav-forward-sexp-safe'.
2267
2268 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2269
2270 * net/shr.el (shr-find-fill-point): Don't break lines before a
2271 quotation mark.
2272 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2273 (shr-find-fill-point): Remove the special checks for the quotation
2274 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2275
2276 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2277
2278 * net/eww.el (eww-form-textarea): Use a different face for
2279 textareas than text input since they have different keymaps
2280 (bug#16142).
2281
2282 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2283
2284 * progmodes/python.el (python-nav-beginning-of-statement):
2285 Speed up (Bug#15295).
2286
2287 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2288
2289 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2290 the window configuration.
2291
2292 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2293
2294 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2295 we run on MS-Windows or MS-DOS.
2296
2297 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2298
2299 * window.el (balance-windows-area): Call window-size instead of
2300 window-height and window-width. Bug#16241.
2301
2302 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2303
2304 * net/eww.el (eww-bookmark-quit): Remove.
2305 (eww-bookmark-browse): Restore the window configuration when you
2306 choose a bookmark (bug#16144).
2307
2308 2013-12-24 Daniel Colascione <dancol@dancol.org>
2309
2310 * icomplete.el: Remove redundant :group arguments to `defcustom'
2311 throughout.
2312 (icomplete-show-matches-on-no-input): New customizable variable.
2313 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2314 we have something to show.
2315 (icomplete-exhibit): Compute completions even if we have no user input.
2316
2317 2013-12-23 Daniel Colascione <dancol@dancol.org>
2318
2319 * icomplete.el: Move `provide' to end of file.
2320
2321 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2322
2323 * net/gnutls.el (gnutls-verify-error): Add version tag.
2324
2325 2013-12-23 Chong Yidong <cyd@gnu.org>
2326
2327 * subr.el (set-transient-map): Rename from
2328 set-temporary-overlay-map. Doc fix.
2329
2330 * face-remap.el (text-scale-adjust):
2331 * indent.el (indent-rigidly):
2332 * kmacro.el (kmacro-call-macro):
2333 * minibuffer.el (minibuffer-force-complete):
2334 * repeat.el (repeat):
2335 * simple.el (universal-argument--mode):
2336 * calendar/todo-mode.el (todo-insert-item--next-param):
2337 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2338
2339 * indent.el (indent-rigidly): Use substitute-command-keys.
2340
2341 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2342
2343 * net/eww.el (eww-tag-select): Add text-property to jump to next
2344 select field.
2345 (eww): Add non-supported ftp error.
2346
2347 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2348
2349 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2350 comments. Handle electric indent after typing `?' and `!'.
2351
2352 2013-12-22 Chong Yidong <cyd@gnu.org>
2353
2354 * faces.el (face-spec-recalc): If the theme specs are not
2355 applicable to a frame, fall back on the defface spec.
2356 This prevents themes from obliterating faces on low-color terminals.
2357
2358 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2359
2360 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2361 after `{'. We need it after block openers, and it doesn't seem
2362 to hurt after hash openers.
2363
2364 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2365
2366 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2367 extracted from `ruby-smie-rules'.
2368 (ruby--electric-indent-chars): New variable.
2369 (ruby--electric-indent-p): New function.
2370 (ruby-mode): Use `electric-indent-functions' instead of
2371 `electric-indent-chars'.
2372
2373 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2374
2375 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2376 docstring.
2377 (ruby-smie-rules): Indent plus one level after `=>'.
2378
2379 2013-12-21 Richard Stallman <rms@gnu.org>
2380
2381 * simple.el (newline): Doc fix.
2382
2383 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2384
2385 * net/eww.el (eww-list-histories, eww-list-histories)
2386 (eww-history-browse, eww-history-quit, eww-history-kill)
2387 (eww-history-mode-map, eww-history-mode): New command and
2388 functions to list browser histories.
2389 (eww-form-text): Support text form with disabled
2390 and readonly attributes.
2391 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2392
2393 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2394
2395 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2396 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2397 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2398 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2399 Use `user-error'.
2400 (eww-bookmark-mode-map): Add menu.
2401 (eww-render, eww-mode): Use `setq-local'.
2402 (eww-tool-bar-map): New variable.
2403 (eww-mode): Set `tool-bar-map'.
2404 (eww-view-source): Check for `html-mode' with `fboundp'.
2405
2406 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2407
2408 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2409 elements with text inside. Also remove debugging.
2410
2411 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2412
2413 * cus-start.el (all): Add ns-use-srgb-colorspace.
2414
2415 2013-12-21 Chong Yidong <cyd@gnu.org>
2416
2417 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2418 undefined. Thus, theme settings for undefined faces do not take
2419 effect until the faces are defined with defface, the same as with
2420 theme variables.
2421
2422 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2423 (face-spec-reset-face): Don't assign extra properties in temacs.
2424 (face-spec-recalc): Apply X resources too.
2425
2426 2013-12-21 Chong Yidong <cyd@gnu.org>
2427
2428 * faces.el (face-spec-set):
2429 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2430 * custom.el (defface): Doc fixes (Bug#16203).
2431
2432 * indent.el (indent-rigidly-map): Add docstring, and move commands
2433 into named functions.
2434 (indent-rigidly-left, indent-rigidly-right)
2435 (indent-rigidly-left-to-tab-stop)
2436 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2437 indentation direction based on bidi direction, and accumulate
2438 sequential commands in a single undo boundary.
2439 (indent-rigidly--pop-undo): New utility function.
2440
2441 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2442
2443 * faces.el (read-face-name): Require crm.el when using crm-separator.
2444
2445 2013-12-20 Daniel Colascione <dancol@dancol.org>
2446
2447 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2448 so that we don't reflow comments into the shebang line.
2449
2450 2013-12-20 Juri Linkov <juri@jurta.org>
2451
2452 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2453 a position when `dired-directory' is non-nil. Check integer
2454 positions with `integerp'.
2455 (toggle-save-place, save-places-to-alist): Add check for
2456 `dired-directory'.
2457 (save-place-find-file-hook): Check integer positions with
2458 `integerp'.
2459 (save-place-dired-hook): Use `dired-goto-file' when
2460 `dired-filename' is found in the assoc list. Check integer
2461 positions with `integerp'.
2462 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2463
2464 * dired.el (dired-initial-position-hook): Rename back from
2465 `dired-initial-point-hook'.
2466 (dired-initial-position): Rename `dired-initial-point-hook' to
2467 `dired-initial-position-hook'.
2468 (dired-file-name-at-point): Doc fix. (Bug#15329)
2469
2470 2013-12-20 Juri Linkov <juri@jurta.org>
2471
2472 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2473 (read-regexp-suggestions): New function.
2474 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2475 Use `read-regexp-suggestions'. Add non-empty default to history
2476 for empty input.
2477 (occur-read-regexp-defaults-function): Remove function.
2478 (occur-read-primary-args): Use `regexp-history-last' instead of
2479 `occur-read-regexp-defaults-function'.
2480
2481 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2482 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2483 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2484 `hi-lock-read-regexp-defaults-function'. Doc fix.
2485 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2486 with `find-tag-default-as-symbol-regexp'. Doc fix.
2487 (hi-lock-read-regexp-defaults): Remove function.
2488 (hi-lock-regexp-okay): Add check for null.
2489
2490 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2491 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2492
2493 * subr.el (find-tag-default-as-symbol-regexp): New function.
2494 (find-tag-default-as-regexp): Move symbol regexp formatting to
2495 `find-tag-default-as-symbol-regexp'.
2496
2497 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2498
2499 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2500 (Bug#14179)
2501
2502 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2503
2504 * calendar/todo-mode.el: New implementation of item insertion
2505 commands and key bindings.
2506 (todo-key-prompt): New face.
2507 (todo-insert-item): New command.
2508 (todo-insert-item--parameters): New defconst, replacing defvar
2509 todo-insertion-commands-args-genlist.
2510 (todo-insert-item--param-key-alist): New defconst, replacing
2511 defvar todo-insertion-commands-arg-key-list.
2512 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2513 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2514 (todo-insert-item--next-param): New functions.
2515 (todo-insert-item--args, todo-insert-item--argleft)
2516 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2517 New variables.
2518 (todo-key-bindings-t): Change binding of "i" from
2519 todo-insertion-map to todo-insert-item.
2520 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2521 (todo-insertion-command-name, todo-insertion-commands-names)
2522 (todo-define-insertion-command, todo-insertion-commands)
2523 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2524
2525 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2526
2527 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2528 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2529 eval-when-compile.
2530 (todo-move-category): Allow choosing a non-existing todo file to
2531 move the category to, and create that file.
2532 (todo-default-priority): New user option.
2533 (todo-set-item-priority): Use it.
2534 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2535 (desktop-restore-file-buffer): Declare.
2536 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2537 (todo-modes-set-2): Locally set desktop-save-buffer to
2538 todo-desktop-save-buffer.
2539 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2540 (auto-mode-alist): Add autoload cookie.
2541
2542 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2543
2544 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2545 helpers.el was a poor choice of name.
2546 (string-remove-prefix): New function.
2547 (string-remove-suffix): New function.
2548
2549 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2550
2551 Fix assignment for new window total sizes.
2552 * window.el (window--pixel-to-size): Remove function.
2553 (window--pixel-to-total-1, window--pixel-to-total):
2554 Fix calculation of new total sizes.
2555
2556 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2557
2558 * comint.el (comint-output-filter): Fix rear-nonsticky property
2559 placement (Bug#16010).
2560
2561 2013-12-20 Chong Yidong <cyd@gnu.org>
2562
2563 * faces.el (read-color): Minor fix for completion function.
2564
2565 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2566
2567 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2568 New option. (Bug#16182)
2569 (ruby-smie--indent-to-stmt-p): Use it.
2570 (ruby-smie-rules): Revert the logic in the handling of `when'.
2571 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2572 (ruby-deep-arglist, ruby-deep-indent-paren)
2573 (ruby-deep-indent-paren-style): Update docstrings to note that the
2574 vars don't have any effect with SMIE.
2575
2576 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2577
2578 * calc/calc.el (calc-enter, calc-pop): Use the variable
2579 `calc-context-sensitive-enter'.
2580
2581 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2582
2583 * net/shr.el (shr-insert): Protect against infloops in degenerate
2584 tables.
2585
2586 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2587
2588 * progmodes/octave.el (octave): Add link to manual and octave
2589 homepage.
2590 (octave-mode-menu): Link to octave-mode manual.
2591
2592 2013-12-20 Leo Liu <sdl.web@gmail.com>
2593
2594 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2595 insertion using skeleton-end-newline. (Bug#16138)
2596
2597 2013-12-20 Juri Linkov <juri@jurta.org>
2598
2599 * replace.el (occur-engine): Use `add-face-text-property'
2600 to add the face property to matches and titles. (Bug#14645)
2601
2602 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2603 the palette of other hi-lock colors.
2604 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2605
2606 2013-12-19 Juri Linkov <juri@jurta.org>
2607
2608 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2609 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2610 (minibuffer-history-symbol): Move variable declaration closer to
2611 its usage.
2612
2613 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2614 (Bug#14785)
2615
2616 2013-12-19 Juri Linkov <juri@jurta.org>
2617
2618 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2619 New function.
2620 (log-edit-hook): Add it to :options. (Bug#16170)
2621
2622 2013-12-19 Juri Linkov <juri@jurta.org>
2623
2624 * simple.el (eval-expression-print-format): Don't check for
2625 command names and the last command. Always display additional
2626 formats of the integer result in the echo area, and insert them
2627 to the current buffer only with a zero prefix arg.
2628 Display character when char-displayable-p is non-nil.
2629 (eval-expression): With a zero prefix arg, set `print-length' and
2630 `print-level' to nil, and insert the integer values from
2631 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2632
2633 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2634 `eval-last-sexp-arg-internal'. Doc fix.
2635 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2636 `eval-last-sexp-print-value'. Doc fix.
2637 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2638 Set `print-length' and `print-level' to nil when arg is zero.
2639 (eval-last-sexp): Doc fix.
2640 (eval-defun-2): Print the integer values from
2641 `eval-expression-print-format' at the end.
2642
2643 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2644 values from `eval-expression-print-format' at the end.
2645
2646 * ielm.el (ielm-eval-input): Print the integer
2647 values from `eval-expression-print-format' at the end.
2648
2649 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2650
2651 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2652 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2653
2654 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2655
2656 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2657 (hl-line-highlight, global-hl-line-highlight): Use it.
2658 (hl-line-overlay): Use defvar-local.
2659
2660 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2661
2662 * term/ns-win.el: Require dnd.
2663 (global-map): Remove drag items.
2664 (ns-insert-text, ns-set-foreground-at-mouse)
2665 (ns-set-background-at-mouse):
2666 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2667 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2668 New functions.
2669
2670 2013-12-19 Glenn Morris <rgm@gnu.org>
2671
2672 * emacs-lisp/ert.el (ert-select-tests):
2673 Fix string/symbol mixup. (Bug#16121)
2674
2675 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2676
2677 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2678 keywords to their parent.
2679
2680 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2681
2682 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2683 first arg to be a string (fixed dead code), or an operator symbol.
2684 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2685 operator symbols.
2686 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2687 did nothing. Don't respond to `(:after ".")', it will be called
2688 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2689 change anything. Only return indentation for binary operators
2690 when they are hanging. De-dent opening paren when its parent is
2691 `.', otherwise it looks bad when the dot is not at bol or eol
2692 (bug#16182).
2693
2694 2013-12-19 Juri Linkov <juri@jurta.org>
2695
2696 * replace.el (query-replace-read-args): Split a non-negative arg
2697 and a negative arg into separate elements.
2698 (query-replace, query-replace-regexp, replace-string)
2699 (replace-regexp): Add arg `backward'. Doc fix.
2700 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2701 move point to the beginning of the match.
2702 (replace-search, replace-highlight): Use new arg `backward'
2703 to set the value of `isearch-forward'.
2704 (perform-replace): Add arg `backward' and use it to perform
2705 replacement backward. (Bug#14979)
2706
2707 * isearch.el (isearch-query-replace): Use a negative prefix arg
2708 to call `perform-replace' with a non-nil arg `backward'.
2709
2710 2013-12-18 Juri Linkov <juri@jurta.org>
2711
2712 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2713 to the default list. Move `log-edit-show-files' to the end.
2714 Add more available functions to options.
2715 (log-edit): Move default specific settings to
2716 `log-edit-insert-message-template'. Don't move point.
2717 (log-edit-insert-message-template): New function.
2718 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2719 (Bug#16170)
2720
2721 2013-12-18 Juri Linkov <juri@jurta.org>
2722
2723 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2724 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2725
2726 2013-12-18 Leo Liu <sdl.web@gmail.com>
2727
2728 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2729 (Bug#16186)
2730
2731 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2732
2733 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2734 formats for displaying file sizes when the -s switch is given.
2735 Instead, compute a separate format for displaying the size in
2736 blocks, which is displayed in addition to the "regular" size.
2737 When -h is given in addition to -s, produce size in blocks in
2738 human-readable form as well. (Bug#16179)
2739
2740 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2741
2742 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2743 Reference tables with ~\ref{...} instead of only \ref{...}.
2744
2745 2013-12-18 Chong Yidong <cyd@gnu.org>
2746
2747 * cus-edit.el (custom-magic-alist): Fix "themed" description
2748 (Bug#14348).
2749
2750 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2751 is non-nil, do not create a new entry in the symbol's theme-value
2752 or theme-face property; update theme-settings only (Bug#14664).
2753 (custom-available-themes): Doc fix.
2754
2755 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2756 (Bug#15674).
2757
2758 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2759
2760 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2761
2762 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2763 (Bug#13914).
2764
2765 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2766
2767 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2768
2769 2013-12-18 Glenn Morris <rgm@gnu.org>
2770
2771 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2772 * cus-start.el (load-prefer-newer): New option.
2773
2774 2013-12-18 Le Wang <l26wang@gmail.com>
2775
2776 * comint.el (comint-previous-matching-input-from-input):
2777 Retain point (Bug#13404).
2778
2779 2013-12-18 Chong Yidong <cyd@gnu.org>
2780
2781 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2782
2783 2013-12-18 Glenn Morris <rgm@gnu.org>
2784
2785 * mail/emacsbug.el (report-emacs-bug):
2786 Only mention enable-multibyte-characters if non-standard.
2787
2788 2013-12-17 Juri Linkov <juri@jurta.org>
2789
2790 * arc-mode.el (archive-extract-by-file): Check if directory exists
2791 before deletion to not show irrelevant errors if it doesn't exist.
2792
2793 2013-12-17 Juri Linkov <juri@jurta.org>
2794
2795 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2796 (Bug#14751)
2797
2798 * net/eww.el (browse-web): Add alias to `eww'.
2799 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2800 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2801
2802 * net/browse-url.el (browse-url-browser-function): Move `eww'
2803 closer to similar functions.
2804
2805 * startup.el (fancy-startup-screen, fancy-about-screen):
2806 Set browse-url-browser-function to eww-browse-url locally.
2807 (Bug#14751)
2808
2809 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 * window.el (window--pixel-to-total): Remove unused `mini' var.
2812 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2813 (split-window): Remove unused `new' var.
2814 (window--display-buffer): Remove unused `frame' and `delta' vars.
2815 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2816 and display-width'.
2817
2818 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2819
2820 * dired.el (dired-mark-pop-up):
2821 * register.el (register-preview): Don't bind
2822 split-height-threshold here since it's now done in
2823 display-buffer-below-selected.
2824
2825 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2826
2827 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2828 xterm-rgb-convert-to-16bit.
2829 (rxvt-register-default-colors): Standardize with
2830 xterm-register-default-colors (Bug#14078).
2831
2832 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2833
2834 * simple.el (kill-region): Pass mark first, then point, so that
2835 kill-append works right (Bug#12819).
2836 (copy-region-as-kill, kill-ring-save): Likewise.
2837
2838 2013-12-17 Leo Liu <sdl.web@gmail.com>
2839
2840 * net/rcirc.el (rcirc-add-face):
2841 * eshell/em-prompt.el (eshell-emit-prompt):
2842 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2843 (Bug#16167)
2844
2845 2013-12-17 Chong Yidong <cyd@gnu.org>
2846
2847 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2848 Suggested by Xue Fuqiao.
2849
2850 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2851
2852 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2853
2854 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * net/shr.el (shr-insert-document): Remove unused var
2857 `shr-preliminary-table-render'.
2858 (shr-rescale-image): Remove unused arg `force'.
2859 (shr-put-image): Update calls accordingly.
2860 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2861
2862 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2863
2864 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2865 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2866 :close-all, to see which indentation method to use (Bug#16116).
2867 (smie-rules-function): Document the method :close-all.
2868
2869 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2870
2871 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2872
2873 * net/eww.el (eww-display-html): If we can't find the anchor we're
2874 looking for, then go to point-min.
2875
2876 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2877
2878 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2879 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2880 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2881 Expand dir too, in case it's relative.
2882
2883 2013-12-16 Juri Linkov <juri@jurta.org>
2884
2885 * desktop.el (desktop-auto-save-timeout): Change default to
2886 `auto-save-timeout'. Doc fix.
2887 (desktop-save): Skip the timestamp in desktop-saved-frameset
2888 when checking for auto-save changes.
2889 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2890 `desktop-auto-save' is called repeatedly by the idle timer.
2891 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2892 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2893 (Bug#15331)
2894
2895 2013-12-16 Juri Linkov <juri@jurta.org>
2896
2897 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2898 (Bug#16035)
2899 (isearch-pre-command-hook): Check `this-command' for symbolp.
2900
2901 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2904
2905 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2906
2907 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2908 (cfengine3--current-function): Bring in the current-function
2909 functionality from `cfengine3--current-word'.
2910 (cfengine3-completion-function): Bring in the
2911 bounds-of-current-word functionality from
2912 `cfengine3--current-word'.
2913
2914 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2915
2916 * window.el (display-buffer-below-selected):
2917 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2918
2919 2013-12-16 Leo Liu <sdl.web@gmail.com>
2920
2921 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2922 Remove NOMSG arg and all uses changed.
2923
2924 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2927 (cua--deactivate-rectangle): Don't deactivate the mark.
2928 (cua-set-rectangle-mark): Don't set mark-active since
2929 cua--activate-rectangle already does it for us.
2930 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2931 non-rectangular region.
2932
2933 * emulation/cua-base.el (cua-repeat-replace-region):
2934 Use with-current-buffer.
2935
2936 * net/gnutls.el: Use cl-lib.
2937 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2938
2939 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2940
2941 * emacs-lisp/package.el (package-built-in-p): Support both
2942 built-in and the package.el converted package descriptions.
2943 (package-show-package-list): Allow keywords.
2944 (package-keyword-button-action): Use it instead of
2945 `finder-list-matches'.
2946 (package-menu-filter-interactive): Interactive filtering (by
2947 keyword) function.
2948 (package-menu--generate): Support keywords and change keymappings
2949 and headers when they are given.
2950 (package--has-keyword-p): Helper function.
2951 (package-menu--refresh): Use it.
2952 (package--mapc): Helper function.
2953 (package-all-keywords): Use it.
2954 (package-menu-mode-map): Set up menu items and keybindings to
2955 provide a filtering UI.
2956
2957 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2958
2959 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2960 the behavior when a certificate fails validation. Defaults to
2961 old behavior: never abort, just warn.
2962 (gnutls-negotiate): Use it.
2963
2964 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2965
2966 * window.el (display-buffer-below-selected): Never split window
2967 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2968
2969 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2970
2971 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2972 (package-buffer-info): Use it (bug#15108).
2973
2974 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * icomplete.el (icomplete-completions): Make sure the prefix is already
2977 displayed elsewhere before hiding it (bug#16219).
2978
2979 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2980
2981 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2982 open-paren tokens when preceded by a open-paren, too.
2983 (ruby-smie-rules): Handle virtual indentation after open-paren
2984 tokens specially. If there is code between it and eol, return the
2985 column where is starts (Bug#16118).
2986
2987 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2988
2989 * progmodes/cfengine.el: Fix `add-hook' doc.
2990 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2991 (cfengine3--current-word): Fix parameters.
2992 (cfengine3-make-syntax-cache): Simplify further.
2993 (cfengine3-completion-function, cfengine3--current-function):
2994 Use `assq' for symbols.
2995 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2996
2997 2013-12-13 Glenn Morris <rgm@gnu.org>
2998
2999 * loadup.el (load-path): Warn if site-load or site-init changes it.
3000 No more need to reset it when bootstrapping.
3001
3002 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3003
3004 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3005 locations for cf-promises.
3006 (cfengine-mode-syntax-functions-regex): New caching variable.
3007 (cfengine3-fallback-syntax): Fallback syntax for cases where
3008 cf-promises doesn't run.
3009 (cfengine3--current-word): Reimplement using
3010 `cfengine-mode-syntax-functions-regex'.
3011 (cfengine3-completion-function, cfengine3--current-function):
3012 Use `cfengine3-make-syntax-cache' directly.
3013 (cfengine3-clear-syntax-cache): New function.
3014 (cfengine3-make-syntax-cache): Simplify and create
3015 `cfengine-mode-syntax-functions-regex' on demand.
3016 (cfengine3-format-function-docstring): Don't call
3017 `cfengine3-make-syntax-cache' explicitly.
3018
3019 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3020
3021 Fix windmove-find-other-window broken after pixelwise resizing
3022 (Bug#16017).
3023 * windmove.el (windmove-other-window-loc): Revert change from
3024 2013-12-04.
3025 (windmove-find-other-window): Call window-in-direction.
3026 * window.el (window-in-direction): New arguments SIGN, WRAP and
3027 MINI to emulate original windmove-find-other-window behavior.
3028
3029 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3030
3031 * simple.el (blink-matching--overlay): New variable.
3032 (blink-matching-open): Instead of moving point, highlight the
3033 matching paren with an overlay
3034 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3035
3036 * faces.el (paren-showing-faces, show-paren-match)
3037 (show-paren-mismatch): Move from paren.el.
3038
3039 2013-12-13 Leo Liu <sdl.web@gmail.com>
3040
3041 * indent.el (indent-region): Disable progress reporter in
3042 minibuffer. (Bug#16108)
3043
3044 * bindings.el (visual-order-cursor-movement): Fix version.
3045
3046 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3047
3048 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3049 Also match after beginning of line.
3050 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3051 files. Thanks to Russell Sim. (Bug#15378)
3052
3053 2013-12-13 Juri Linkov <juri@jurta.org>
3054
3055 * simple.el <Keypad support>: Remove key bindings duplicated
3056 with bindings.el. (Bug#14397)
3057
3058 2013-12-13 Juri Linkov <juri@jurta.org>
3059
3060 * comint.el (comint-mode-map): Replace `delete-char' with
3061 `delete-forward-char'. (Bug#16109)
3062
3063 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3064
3065 * progmodes/python.el (python-indent-calculate-indentation):
3066 Fix de-denters cornercase. (Bug#15731)
3067
3068 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3071 (advice--make): Pay attention to `depth'.
3072 (advice--make-1): Don't autoload commands eagerly.
3073 * emacs-lisp/elp.el (elp-instrument-function):
3074 * emacs-lisp/trace.el (trace-function-internal):
3075 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3076
3077 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3078
3079 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3080
3081 * term/w32-win.el (w32-handle-dropped-file):
3082 * startup.el (normal-top-level):
3083 * net/browse-url.el (browse-url-file-url):
3084 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3085 decode file names using 'utf-8' rather than
3086 file-name-coding-system.
3087
3088 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3089
3090 * progmodes/python.el (python-indent-context)
3091 (python-indent-calculate-indentation): Fix auto-identation
3092 behavior for comment blocks. (Bug#15916)
3093
3094 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3095
3096 * progmodes/python.el (python-indent-calculate-indentation):
3097 When determining indentation, don't treat "return", "pass", etc., as
3098 operators when they are just string constituents. (Bug#15812)
3099
3100 2013-12-12 Juri Linkov <juri@jurta.org>
3101
3102 * uniquify.el (uniquify-buffer-name-style): Change default to
3103 `post-forward-angle-brackets'.
3104
3105 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3106 `uniquify'. Change default to `post-forward-angle-brackets'.
3107
3108 2013-12-11 Glenn Morris <rgm@gnu.org>
3109
3110 * emacs-lisp/package.el (finder-list-matches):
3111 Autoload rather than falsely declaring.
3112
3113 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3114
3115 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3116 (eww-mode-map): Use them.
3117
3118 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3119
3120 * window.el (display-buffer-in-side-window): Fix doc-string
3121 (Bug#16115).
3122
3123 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3124
3125 * vc/vc-git.el: Silence byte-compiler warnings.
3126 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3127 (log-edit-set-header): Declare.
3128
3129 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3130
3131 * Makefile.in (custom-deps, finder-data): Run output file names
3132 through unmsys--file-name. (Bug#16099)
3133
3134 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3135
3136 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3137 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3138
3139 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3140 instead of deleting the selection "by hand" (bug#16098).
3141 Rely on insert-for-yank to yank rectangles.
3142 (cua-highlight-region-shift-only): Mark obsolete.
3143 (cua-mode): Don't enable/disable transient-mark-mode,
3144 shift-select-mode (cua-mode works both with and without them), and
3145 pc-selection-mode (obsolete).
3146 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3147 (cua--deactivate-rectangle): Deactivate it.
3148
3149 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3150 (delete-selection-helper): Make sure yank starts at the top of the
3151 deleted region.
3152 (minibuffer-keyboard-quit): Use region-active-p.
3153
3154 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3155
3156 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3157 to `delete' (bug#16109).
3158
3159 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3160
3161 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3162 info manual and show keybindings and set `:group' keyword.
3163
3164 2013-12-11 Juri Linkov <juri@jurta.org>
3165
3166 * delsel.el (delete-active-region): Let-bind `this-command'
3167 to prevent `kill-region' from changing its original value.
3168 (delete-selection-helper): Handle `overwrite-mode' for the type
3169 `kill' exactly the same way as for the type `t'.
3170 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3171 Support more commands. (Bug#13312)
3172
3173 2013-12-11 Juri Linkov <juri@jurta.org>
3174
3175 * bindings.el: Map kp keys to non-kp keys systematically
3176 with basic modifiers control, meta and shift. (Bug#14397)
3177
3178 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3179
3180 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3181 "Close browser" menu items. Fix wrong function of "List
3182 bookmarks".
3183
3184 2013-12-11 Juri Linkov <juri@jurta.org>
3185
3186 * misearch.el (multi-isearch-buffers): Set the value of
3187 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3188 arg of isearch-forward to t.
3189 (multi-isearch-buffers-regexp): Set the value of
3190 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3191 arg of isearch-forward-regexp to t.
3192 (multi-isearch-files): Set the value of
3193 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3194 arg of isearch-forward to t.
3195 (multi-isearch-files-regexp): Set the value of
3196 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3197 arg of isearch-forward-regexp to t. (Bug#16035)
3198
3199 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3200 arg of isearch-forward to t.
3201 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3202 arg of isearch-forward-regexp to t.
3203 (dired-isearch-filter-filenames): Remove unnecessary check for
3204 `dired-isearch-filenames'.
3205
3206 * comint.el (comint-history-isearch-backward):
3207 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3208 (comint-history-isearch-backward-regexp):
3209 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3210
3211 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3212
3213 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3214 unmsys--file-name. (Bug#16099)
3215
3216 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3217
3218 * emacs-lisp/package.el (package-keyword-button-action):
3219 Remove finder.el require dependency.
3220
3221 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3222
3223 * emacs-lisp/package.el: Require finder.el.
3224 (describe-package-1): Add keyword buttons.
3225 (package-make-button): New convenience function.
3226 (package-keyword-button-action): Keyword button action using
3227 `finder-list-matches'.
3228
3229 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3230
3231 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3232 last commit.
3233
3234 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3235
3236 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3237 symlinked files.
3238
3239 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3240
3241 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3242 after the end of a percent literal.
3243
3244 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3245
3246 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3247 Handle caret-delimited strings (Bug#16079).
3248
3249 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3250
3251 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3252 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3253 `ruby-parse-partial' (Bug#16078).
3254
3255 2013-12-09 Leo Liu <sdl.web@gmail.com>
3256
3257 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3258
3259 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3260
3261 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3262 (js-switch-indent-offset): New option.
3263 (js--proper-indentation): Use it. And handle the case when
3264 "default" is actually a key in an object literal.
3265 (js--same-line): New function.
3266 (js--multi-line-declaration-indentation): Use it.
3267 (js--indent-in-array-comp, js--array-comp-indentation):
3268 New functions.
3269 (js--proper-indentation): Use them, to handle array comprehension
3270 continuations.
3271
3272 2013-12-08 Leo Liu <sdl.web@gmail.com>
3273
3274 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3275 (flymake-make-overlay): Remove arg MOUSE-FACE.
3276 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3277
3278 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3281 New function.
3282 (redisplay-highlight-region-function): Use it.
3283
3284 * emulation/cua-base.el (cua--explicit-region-start)
3285 (cua--last-region-shifted): Remove.
3286 (cua--deactivate): Use deactivate-mark.
3287 (cua--pre-command-handler-1): Don't handle shift-selection.
3288 (cua--post-command-handler-1): Don't change transient-mark-mode.
3289 (cua--select-keymaps): Use region-active-p rather than
3290 cua--explicit-region-start or cua--last-region-shifted.
3291 (cua-mode): Enable shift-select-mode.
3292
3293 2013-12-08 Leo Liu <sdl.web@gmail.com>
3294
3295 * progmodes/flymake.el (flymake-popup-current-error-menu):
3296 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3297 (flymake-posn-at-point-as-event, flymake-popup-menu)
3298 (flymake-make-emacs-menu): Remove. (Bug#16077)
3299
3300 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * rect.el (rectangle-mark-mode): Activate mark even if
3303 transient-mark-mode is off (bug#16066).
3304 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3305 is > mark and at bolp.
3306
3307 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3308 (region-extract-function): Use it.
3309 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3310 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3311 Delete functions.
3312 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3313 kill-ring-save, kill-region, delete-char, delete-forward-char.
3314 Ignore self-insert-iso.
3315
3316 * emulation/cua-gmrk.el (cua--init-global-mark):
3317 Ignore `self-insert-iso'.
3318
3319 * emulation/cua-base.el (cua--prefix-copy-handler)
3320 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3321 checking cua--rectangle.
3322 (cua-delete-region): Use region-extract-function.
3323 (cua-replace-region): Delete function.
3324 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3325 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3326 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3327 (cua--init-keymaps): Don't remap delete-selection commands.
3328 (cua-mode): Use delete-selection-mode instead of rolling our own
3329 (bug#16085).
3330
3331 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3332 Obey region-extract-function.
3333
3334 Make registers and delete-selection-mode work on rectangles.
3335 * register.el (describe-register-1): Don't modify the register's value.
3336 (copy-to-register): Obey region-extract-function.
3337 * delsel.el (delete-active-region): Obey region-extract-function.
3338
3339 2013-12-08 Leo Liu <sdl.web@gmail.com>
3340
3341 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3342 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3343 (flymake-compilation-prevents-syntax-check)
3344 (flymake-start-syntax-check-on-newline)
3345 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3346 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3347 (flymake-xml-program, flymake-master-file-dirs)
3348 (flymake-master-file-count-limit)
3349 (flymake-allowed-file-name-masks): Relocate.
3350 (flymake-makehash, flymake-float-time)
3351 (flymake-replace-regexp-in-string, flymake-split-string)
3352 (flymake-get-temp-dir): Remove.
3353 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3354 (flymake-current-row, flymake-selected-frame)
3355 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3356 related functions. (Bug#16077)
3357
3358 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3359
3360 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3361
3362 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3363
3364 * help-fns.el (describe-function-1): Use new advice-* functions
3365 rather than old ad-* functions. Fix function type description and
3366 source links for advised functions and subrs.
3367
3368 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3369
3370 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3371
3372 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3373
3374 * progmodes/compile.el (compilation-start):
3375 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3376
3377 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3378 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3379
3380 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3381
3382 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3383 Touch up the last change.
3384
3385 2013-12-06 Leo Liu <sdl.web@gmail.com>
3386
3387 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3388 (inferior-octave-startup): Always use "octave> " for prompt.
3389 (octave-goto-function-definition)
3390 (octave-sync-function-file-names)
3391 (octave-find-definition-default-filename): Remove redundant backquotes.
3392
3393 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3394
3395 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3396 syntax for `?'.
3397 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3398 where appropriate already.
3399 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3400 end of method names (Bug#15874).
3401
3402 2013-12-06 Juri Linkov <juri@jurta.org>
3403
3404 * isearch.el (isearch--saved-overriding-local-map):
3405 New internal variable.
3406 (isearch-mode): Set it to the initial value of
3407 `overriding-terminal-local-map'.
3408 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3409 with `isearch--saved-overriding-local-map'. (Bug#16035)
3410
3411 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3412
3413 * progmodes/octave.el (inferior-octave-completion-table):
3414 Turn back into function, use `completion-table-with-cache'
3415 (Bug#11906). Update all references.
3416
3417 * minibuffer.el (completion-table-with-cache): New function.
3418
3419 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3420
3421 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3422
3423 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3424
3425 * net/eww.el (eww-current-source): New variable to store page
3426 source.
3427 (eww-display-html, eww-mode, eww-save-history)
3428 (eww-restore-history): Use it.
3429 (eww-view-source): New command to view page source.
3430 Opportunistically uses `html-mode' to highlight the buffer.
3431 (eww-mode-map): Install it.
3432
3433 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3434
3435 * net/dbus.el (dbus-unregister-service)
3436 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3437 Fix docstring.
3438 (dbus-unregister-service): Skip :serial entries in
3439 `dbus-registered-objects-table'.
3440 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3441
3442 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3443
3444 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3445 around keywords with extra `split-string' argument.
3446
3447 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3448
3449 * windmove.el (windmove-other-window-loc): Handle navigation
3450 between windows (excluding the minibuffer window - Bug#16017).
3451
3452 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3453
3454 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3455 in D-Bus type syntax.
3456 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3457 preserve unibyte strings. (Bug#16048)
3458
3459 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3462 Call force-mode-line-update is the proper buffer (bug#16042).
3463
3464 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3465
3466 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3467 `log-edit-remember-comment', make argument optional. Adjust all
3468 callers.
3469 (log-edit-mode): Add `log-edit-remember-comment' to
3470 `kill-buffer-hook' locally.
3471 (log-edit-kill-buffer): Don't remember comment explicitly since
3472 the buffer is killed anyway.
3473
3474 2013-12-04 Juri Linkov <juri@jurta.org>
3475
3476 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3477 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3478
3479 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3480
3481 * notifications.el (notifications-close-notification): Call the
3482 D-Bus method with ID being a `:uint32'. (Bug#16030)
3483
3484 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3485
3486 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3487
3488 2013-12-03 Juri Linkov <juri@jurta.org>
3489
3490 * progmodes/compile.el (compilation-start): Rename window alist
3491 entry `no-display-ok' to `allow-no-window'.
3492
3493 * simple.el (shell-command): Add window alist entry
3494 `allow-no-window' to `display-buffer'.
3495 (async-shell-command): Doc fix.
3496
3497 * window.el (display-buffer-no-window): New action function.
3498 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3499
3500 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3501
3502 * vc/log-edit.el (log-edit-set-header): Extract from
3503 `log-edit-toggle-header'.
3504 (log-edit-extract-headers): Separate the summary, when extracted
3505 from header, from the rest of the message with an empty line.
3506
3507 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3508 line, if present, to the Summary header.
3509
3510 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3513 in current-buffer (bug#16029).
3514
3515 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3516
3517 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3518 (debugger-mode-map): Bind it.
3519 (debugger--backtrace-base): New function.
3520 (debugger-eval-expression): Use it.
3521 (debugger-frame-number): Skip local vars when present.
3522 (debugger--locals-visible-p, debugger--insert-locals)
3523 (debugger--show-locals, debugger--hide-locals): New functions.
3524
3525 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3526
3527 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3528 "LC_ALL".
3529 (tramp-get-remote-locale): New defun.
3530 (tramp-open-connection-setup-interactive-shell): Use it.
3531
3532 2013-12-02 Leo Liu <sdl.web@gmail.com>
3533
3534 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3535
3536 * progmodes/sh-script.el (sh-shell-process):
3537 * progmodes/octave.el (inferior-octave-process-live-p):
3538 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3539 (gdb-inferior-io-sentinel):
3540 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3541
3542 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3543
3544 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3545 `save-selected-window' to `log-edit-hide-buf'. This makes
3546 `log-edit-show-files' idempotent.
3547 (log-edit-show-files): Mark the new window as dedicated.
3548
3549 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3550
3551 * vc/log-edit.el (log-edit-mode-map): Add binding for
3552 `log-edit-kill-biffer'.
3553 (log-edit-hide-buf): Add a FIXME comment.
3554 (log-edit-add-new-comment): New function, extracted from
3555 `log-edit-done'.
3556 (log-edit-done, log-edit-add-to-changelog): Use it.
3557 (log-edit-kill-buffer): New command.
3558
3559 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3560
3561 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3562 instead of killing the buffer.
3563
3564 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3565
3566 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3567
3568 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3569
3570 * net/eww.el (eww-form-checkbox-selected-symbol)
3571 (eww-form-checkbox-symbol): New customizable variable.
3572 (eww-form-checkbox, eww-toggle-checkbox):
3573 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3574
3575 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3576 (shr--get-media-pref, shr--extract-best-source): New function.
3577 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3578 no :src tag was specified.
3579
3580 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3581 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3582 Use \\` to match beginning of string instead of ^.
3583 (eww-browse-with-external-browser): Provide optional URL parameter.
3584 (eww-render): Set `eww-current-title' back to "".
3585
3586 * net/shr.el (shr-tag-video): Display content for video if no
3587 poster is available.
3588 (shr-tag-audio): Add support for <audio> tag.
3589
3590 * net/eww.el (eww-text-input-types): New const.
3591 (eww-process-text-input): Treat input types in
3592 `eww-text-input-types' as text.
3593
3594 * net/shr.el (shr-tag-table): Fix comment typo.
3595
3596 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3597
3598 * net/eww.el (eww-follow-link): New command to avoid reloading
3599 pages when we follow #target links (bug#15243).
3600 (eww-quit): Special mode buffers shouldn't query before exiting.
3601
3602 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3603
3604 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3605 forms.
3606
3607 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3608
3609 * net/eww.el (eww-restore-history): Update the window title after
3610 moving in the history.
3611 (eww-current-dom): New variable used to save the current DOM.
3612
3613 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3614
3615 * vc/log-edit.el (log-edit-mode-map): Add binding for
3616 `log-edit-beginning-of-line'.
3617 (log-edit-setup-add-author): New user option.
3618 (log-edit-beginning-of-line): New command.
3619 (log-edit): Move major mode call above the contents setup so that
3620 the local variable values are already applied.
3621 (log-edit): Only insert "Author: " when
3622 `log-edit-setup-add-author' is non-nil.
3623 (log-edit): When SETUP is non-nil, position point after ": "
3624 instead of point-min.
3625
3626 2013-12-01 Glenn Morris <rgm@gnu.org>
3627
3628 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3629
3630 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3631
3632 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3633 redisplay to make sure the initial frame gets a chance to become
3634 visible. (Bug#16014)
3635
3636 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3637
3638 Support resizing frames and windows pixelwise.
3639 * cus-start.el (frame-resize-pixelwise)
3640 (window-resize-pixelwise): New entries.
3641 * emacs-lisp/debug.el (debug): Use window-total-height instead
3642 of window-total-size.
3643 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3644 * help.el (describe-bindings-internal): Use help-buffer as
3645 argument for with-help-window.
3646 (temp-buffer-max-width): New option.
3647 (resize-temp-buffer-window, help-window-setup)
3648 (with-help-window): Rewrite.
3649 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3650 dragging dividers.
3651 * window.el (frame-char-size, window-min-pixel-height)
3652 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3653 (window-min-pixel-width, window-safe-min-pixel-size)
3654 (window-combination-p, window-safe-min-size)
3655 (window-resizable-p, window--size-to-pixel)
3656 (window--pixel-to-size, window--resize-apply-p): New functions.
3657 (window-safe-min-height): Fix doc-string.
3658 (window-size, window-min-size, window--min-size-1)
3659 (window-sizable, window-sizable-p, window--min-delta-1)
3660 (window-min-delta, window--max-delta-1, window-max-delta)
3661 (window--resizable, window--resizable-p, window-resizable)
3662 (window-full-height-p, window-full-width-p, window-at-side-p)
3663 (window--in-direction-2, window-in-direction)
3664 (window--resize-reset-1, window--resize-mini-window)
3665 (window-resize, window-resize-no-error)
3666 (window--resize-child-windows-normal)
3667 (window--resize-child-windows, window--resize-siblings)
3668 (window--resize-this-window, window--resize-root-window)
3669 (window--resize-root-window-vertically)
3670 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3671 (maximize-window, minimize-window, delete-window)
3672 (quit-restore-window, window-split-min-size, split-window)
3673 (balance-windows-2, balance-windows)
3674 (balance-windows-area-adjust, balance-windows-area)
3675 (window--state-get-1, window-state-get, window--state-put-1)
3676 (window--state-put-2, window-state-put)
3677 (display-buffer-record-window, window--display-buffer):
3678 Make functions handle pixelwise sizing of windows.
3679 (display-buffer--action-function-custom-type)
3680 (display-buffer-fallback-action):
3681 Add display-buffer-in-previous-window.
3682 (display-buffer-use-some-window): Resize window to height it had
3683 before.
3684 (fit-window-to-buffer-horizontally): New option.
3685 (fit-frame-to-buffer): Describe new values.
3686 (fit-frame-to-buffer-bottom-margin): Replace with
3687 fit-frame-to-buffer-margins.
3688 (window--sanitize-margin): New function.
3689 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3690 using window-text-pixel-size.
3691
3692 2013-11-30 Glenn Morris <rgm@gnu.org>
3693
3694 * emacs-lisp/bytecomp.el (byte-compile-form):
3695 Make the `interactive-only' warning like the `obsolete' one.
3696 * comint.el (comint-run):
3697 * files.el (insert-file-literally, insert-file):
3698 * replace.el (replace-string, replace-regexp):
3699 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3700 (goto-line, insert-buffer, next-line, previous-line):
3701 Tweak `interactive-only' spec.
3702
3703 Stop keeping (most) generated cedet grammar files in the repository.
3704 * Makefile.in (semantic): New.
3705 (compile-main): Depend on semantic.
3706
3707 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3710 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3711
3712 * uniquify.el (uniquify-buffer-name-style): Change default.
3713
3714 * loadup.el: Preload "uniquify".
3715
3716 * time.el (display-time-update): Update all mode lines (bug#15999).
3717
3718 * electric.el (electric-indent-mode): Enable by default.
3719 * loadup.el: Preload "electric".
3720
3721 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3722
3723 * emacs-lisp/helpers.el (string-empty-p): New function.
3724 (string-blank-p): New function.
3725
3726 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3727
3728 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3729 (Bug#14029).
3730
3731 2013-11-29 Andreas Politz <politza@fh-trier.de>
3732 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3733 allow non-lambda lists as functions.
3734 (imenu--in-alist): Don't recurse into non-subalists.
3735 (imenu): Don't pass function itself as an argument (Bug#14029).
3736
3737 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * progmodes/python.el (python-mode-map): Remove binding for ":".
3740 (python-indent-electric-colon): Remove command.
3741 (python-indent-post-self-insert-function): Integrate the previous code
3742 of python-indent-electric-colon. Make it conditional on
3743 electric-indent-mode.
3744 (python-mode): Add ?: to electric-indent-chars.
3745 Move python-indent-post-self-insert-function to the end of
3746 post-self-insert-hook.
3747
3748 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * doc-view.el (doc-view-goto-page): Update mode-line.
3751
3752 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3753
3754 2013-11-27 Glenn Morris <rgm@gnu.org>
3755
3756 * international/charprop.el, international/uni-bidi.el:
3757 * international/uni-category.el, international/uni-combining.el:
3758 * international/uni-comment.el, international/uni-decimal.el:
3759 * international/uni-decomposition.el, international/uni-digit.el:
3760 * international/uni-lowercase.el, international/uni-mirrored.el:
3761 * international/uni-name.el, international/uni-numeric.el:
3762 * international/uni-old-name.el, international/uni-titlecase.el:
3763 * international/uni-uppercase.el:
3764 Remove generated files from VCS repository.
3765
3766 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3767
3768 * filenotify.el (file-notify-add-watch): Don't special-case
3769 w32notify when computing the directory to watch.
3770
3771 2013-11-27 Glenn Morris <rgm@gnu.org>
3772
3773 Make bootstrap without generated uni-*.el files possible again.
3774 * loadup.el: Update command-line-args checking for unidata-gen.
3775 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3776 * composite.el, international/characters.el:
3777 Handle unicode tables being undefined.
3778
3779 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3780 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3781 (compile-main): Depend on leim rule.
3782 (leim): New rule.
3783 * loadup.el: Move leim-list.el to leim/ subdirectory.
3784 * startup.el (normal-top-level): No more leim directory.
3785 * international/ja-dic-cnv.el (skkdic-convert):
3786 Disable version-control and autoloads in output files.
3787 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3788 Disable version-control and autoloads in output files.
3789 * leim/quail: Move here from ../leim.
3790 * leim/quail/hangul.el (hangul-input-method-activate):
3791 Add autoload cookie.
3792 (generated-autoload-load-name): Set file-local value.
3793 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3794 (generated-autoload-load-name): Set file-local value.
3795
3796 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3797
3798 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3799 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3800 (eww-quit): Ask confirmation before quitting eww.
3801
3802 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3803
3804 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3805 reading output from Diff on MS-Windows and MS-DOS.
3806
3807 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3808
3809 * emacs-lisp/helpers.el (string-reverse): New function.
3810
3811 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3812
3813 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3814 names on MS Windows, like "/[::1]:".
3815
3816 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3817 SWITCHES.
3818
3819 2013-11-26 Glenn Morris <rgm@gnu.org>
3820
3821 * progmodes/python.el (python-indent-guess-indent-offset):
3822 Avoid corner-case error. (Bug#15975)
3823
3824 Preload leim-list.el. (Bug#4789)
3825 * loadup.el: Load leim-list.el when found.
3826 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3827
3828 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3829
3830 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3831
3832 * emacs-lisp/helpers.el (string-join): New function.
3833
3834 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3835
3836 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3837 Mark as obsolete and replace it with a symbol property.
3838 (byte-compile-form): Use new 'interactive-only property.
3839 * comint.el, files.el, replace.el, simple.el:
3840 Apply new 'interactive-only properly.
3841
3842 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3843
3844 * window.el (display-buffer-at-bottom): Make sure that
3845 split-window-sensibly creates the new window on bottom
3846 (Bug#15961).
3847
3848 2013-11-23 David Kastrup <dak@gnu.org>
3849
3850 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3851 on the conflict markers when available.
3852 (smerge--get-marker): New function.
3853 (smerge-end-re, smerge-base-re): Add subgroup.
3854
3855 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * frame.el (handle-focus-in, handle-focus-out): Add missing
3858 interactive spec.
3859
3860 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3861
3862 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3863 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3864
3865 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3868 (gomoku--last-pos): New var.
3869 (gomoku--intangible-chars): New const.
3870 (gomoku--intangible): New function.
3871 (gomoku-mode): Use it. Derive from special-mode.
3872 (gomoku-move-up): Adjust line count.
3873 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3874 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3875 Simplify accordingly.
3876
3877 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3878 Remove blink-cursor code.
3879 (blink-cursor-timer-function, blink-cursor-suspend):
3880 Don't special-case GUIs.
3881 (blink-cursor-mode): Use focus-in/out-hook.
3882
3883 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3884
3885 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3886 work when annotation is invisible (Bug#13886).
3887
3888 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3889
3890 * json.el (json-alist-p): Only return non-nil if the alist has
3891 simple keys (Bug#13518).
3892
3893 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3894
3895 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3896 when control-statement is the first statement in a buffer (Bug#15956).
3897
3898 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3899
3900 * imenu.el (imenu-generic-skip-comments-and-strings):
3901 New option (Bug#15560).
3902 (imenu--generic-function): Use it.
3903
3904 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3905
3906 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3907 (Bug#13898)
3908
3909 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3910
3911 * emacs-lisp/helpers.el: Add some string helpers.
3912 (string-trim-left): Removes leading whitespace.
3913 (string-trim-right): Removes trailing whitespace.
3914 (string-trim): Removes leading and trailing whitespace.
3915
3916 * subr.el (string-suffix-p): New function.
3917
3918 2013-11-23 Glenn Morris <rgm@gnu.org>
3919
3920 * progmodes/python.el (python-shell-send-file):
3921 Add option to delete file when done. (Bug#15647)
3922 (python-shell-send-string, python-shell-send-region): Use it.
3923
3924 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3925
3926 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3927 to set buffer-read-only to t, never to nil. (Bug#15938)
3928
3929 * textmodes/tex-mode.el (latex-noindent-environments):
3930 Add safe-local-variable property. (Bug#15936)
3931
3932 2013-11-23 Glenn Morris <rgm@gnu.org>
3933
3934 * textmodes/enriched.el (enriched-mode): Doc fix.
3935 * emacs-lisp/authors.el (authors-renamed-files-alist):
3936 Add enriched.doc -> enriched.txt.
3937
3938 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3939
3940 2013-11-22 Leo Liu <sdl.web@gmail.com>
3941
3942 * progmodes/octave.el (inferior-octave-startup): Spit out error
3943 message.
3944
3945 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3946
3947 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3948 Improve docstring.
3949 Add :version.
3950 (ruby-encoding-magic-comment-style): Add :version.
3951
3952 2013-11-22 Leo Liu <sdl.web@gmail.com>
3953
3954 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3955 (Bug#15076)
3956 (octave-help-mode): Adapt to change to help-mode-finish to use
3957 derived-mode-p on 2013-09-17.
3958 (inferior-octave-prompt): Also match octave-gui.
3959 (octave-kill-process): Don't ask twice. (Bug#10564)
3960
3961 2013-11-22 Leo Liu <sdl.web@gmail.com>
3962
3963 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3964 (inferior-octave-startup, inferior-octave-check-process)
3965 (inferior-octave-track-window-width-change)
3966 (octave-completion-at-point, octave-eldoc-function): Use it.
3967 (octave-kill-process): Provide confirmation. (Bug#10564)
3968
3969 2013-11-21 Leo Liu <sdl.web@gmail.com>
3970
3971 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3972 Fix obsolete variable comment-use-global-state.
3973
3974 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3975
3976 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3977 Add `octave-source-file'.
3978 (octave-source-file): New function. (Bug#15935)
3979
3980 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3981
3982 * net/eww.el (eww-local-regex): New variable.
3983 (eww): Use it to detect localhost and similar.
3984
3985 2013-11-21 Leo Liu <sdl.web@gmail.com>
3986
3987 Add completion for command `ag'.
3988 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3989 (pcomplete/ag): New function.
3990 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3991
3992 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3993
3994 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3995 (bug#14646).
3996 (make-obsolete): Remove interactive spec.
3997
3998 2013-11-21 Glenn Morris <rgm@gnu.org>
3999
4000 * startup.el (command-line-1): Use path-separator with -L.
4001
4002 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4003
4004 * emacs-lisp/package.el (describe-package-1): Add package archive
4005 to shown fields.
4006
4007 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4008
4009 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4010 Change default to "# encoding: %s" to differentiate it from the
4011 default Ruby encoding comment template.
4012
4013 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4014
4015 * ses.el (ses-mode): Doc fix. (Bug#14748)
4016
4017 2013-11-20 Leo Liu <sdl.web@gmail.com>
4018
4019 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4020
4021 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4022
4023 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4024 when rebase or bisect are in progress.
4025
4026 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4027
4028 * filenotify.el (file-notify-add-watch): Doc fix.
4029
4030 2013-11-19 Leo Liu <sdl.web@gmail.com>
4031
4032 * obsolete/rcompile.el: Mark obsolete.
4033
4034 * progmodes/compile.el (compilation-start)
4035 (compilation-goto-locus, compilation-find-file):
4036 Pass no-display-ok and handle nil value from display-buffer.
4037 (Bug#13594)
4038
4039 * window.el (display-buffer-alist, display-buffer): Document the
4040 new parameter no-display-ok. Return either a window or nil
4041 but never a non-window value.
4042
4043 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * electric.el (electric-indent-mode-map): Remove.
4046 (electric-indent-mode): Change the global-map instead (bug#15915).
4047
4048 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4049 Use add-function.
4050
4051 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * emacs-lisp/nadvice.el (remove-function): Align with
4054 add-function's behavior.
4055
4056 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4057 (gdb--string-regexp): New constant.
4058 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4059 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4060 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4061 submatch 1.
4062 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4063 Adjust use accordingly.
4064 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4065
4066 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4067
4068 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4069 interpolation curlies (Bug#15914).
4070
4071 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4072
4073 * calc/calc.el (calc-context-sensitive-enter): New variable.
4074 (calc-enter): Use `calc-context-sensitive-enter'.
4075
4076 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4077
4078 * progmodes/cfengine.el: Version bump.
4079 (cfengine-cf-promises): New defcustom to locate cf-promises.
4080 (cfengine3-vartypes): Add new "data" type.
4081 (cfengine3--current-word): New function to get current name-like
4082 word or its bounds.
4083 (cfengine3--current-function): New function to look up a CFEngine
4084 function's definition.
4085 (cfengine3-format-function-docstring): New function.
4086 (cfengine3-make-syntax-cache): New function.
4087 (cfengine3-documentation-function): New function: ElDoc glue.
4088 (cfengine3-completion-function): New function: completion glue.
4089 (cfengine3-mode): Set `compile-command',
4090 `eldoc-documentation-function', and add to
4091 `completion-at-point-functions'.
4092
4093 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4094
4095 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4096 `tramp-current-connection'.
4097
4098 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4099
4100 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4101 nil/self/true/false with "end of symbol".
4102
4103 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4104
4105 * subr.el (version-regexp-alist): Fix a typo.
4106
4107 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4108
4109 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4110 "en_US.utf8" and "LC_CTYPE" to "".
4111 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4112 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4113
4114 2013-11-15 Leo Liu <sdl.web@gmail.com>
4115
4116 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4117
4118 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * progmodes/gud.el (ctl-x-map):
4121 Remove C-x SPC binding. (Bug#12342)
4122 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4123
4124 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4125
4126 * subr.el (version-regexp-alist):
4127 Recognize hg, svn and darcs versions as snapshot versions.
4128
4129 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4130 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4131 (ruby--encoding-comment-required-p): Extract from
4132 `ruby-mode-set-encoding'.
4133 (ruby-mode-set-encoding): Add the ability to always insert an
4134 utf-8 encoding comment. Fix and simplify coding comment update
4135 logic.
4136
4137 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4138
4139 * net/tramp-gvfs.el (top): Run init code only when
4140 `tramp-gvfs-enabled' is not nil.
4141 (tramp-gvfs-enabled): Check also :system bus.
4142
4143 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 Sync with upstream verilog-mode revision 78e66ba.
4146 * progmodes/verilog-mode.el (verilog-end-of-defun)
4147 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4148 (verilog-get-end-of-defun): Remove unused argument.
4149 (verilog-comment-depth): Remove unused local `e'.
4150 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4151 Don't pass arg to verilog-get-end-of-defun.
4152
4153 2013-11-14 Glenn Morris <rgm@gnu.org>
4154
4155 * obsolete/assoc.el (aget): Prefix dynamic variable.
4156
4157 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4158
4159 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 * widget.el, hfy-cmap.el: Remove bogus package version number.
4162
4163 2013-11-13 Glenn Morris <rgm@gnu.org>
4164
4165 * replace.el (replace-eval-replacement):
4166 Try to give more helpful error message. (Bug#15836)
4167
4168 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4169 (archive-7z-update): Avoid custom type mismatches.
4170
4171 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4172
4173 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4174
4175 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4176 address can be empty.
4177
4178 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4179 Accept nil SWITCHES.
4180 (tramp-gvfs-handle-write-region): Implement APPEND.
4181
4182 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4183
4184 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4185 binary "|" operator and closing block args delimiter.
4186 Remove FIXME comment referring to Ruby 1.8-only syntax.
4187 (ruby-smie--implicit-semi-p): Not after "|" operator.
4188 (ruby-smie--closing-pipe-p): New function.
4189 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4190 (ruby-smie-rules): Indent after "|".
4191
4192 2013-11-12 Glenn Morris <rgm@gnu.org>
4193
4194 * ps-print.el (ps-face-attribute-list):
4195 Handle anonymous faces. (Bug#15827)
4196
4197 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4198
4199 * window.el (display-buffer-other-frame): Fix doc-string.
4200 (Bug#15868)
4201
4202 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4205
4206 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4207
4208 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4209 (tramp-sh-handle-file-local-copy): Don't write a message when
4210 saving temporary files.
4211
4212 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4213 both directories are remote.
4214 (tramp-smb-handle-directory-files): Do not return double entries.
4215 Do not expand full file names.
4216 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4217 (tramp-smb-handle-write-region): Implement APPEND.
4218 (tramp-smb-get-stat-capability): Fix a stupid bug.
4219
4220 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4221
4222 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4223
4224 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4225
4226 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4227 throwing error over malformed let/let* (bug#15814).
4228
4229 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * iswitchb.el (iswitchb-mode): Mark obsolete.
4232
4233 2013-11-11 Glenn Morris <rgm@gnu.org>
4234
4235 * international/uni-bidi.el, international/uni-category.el:
4236 * international/uni-name.el, international/uni-numeric.el:
4237 Regenerate for Unicode 6.3.0.
4238
4239 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4240
4241 * net/tramp.el (tramp-methods):
4242 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4243 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4244
4245 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4246
4247 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4248 Force highlighting text after Summary keyword in doc face for rpm.
4249
4250 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4251
4252 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4253 available and the word has no wildcards, append one to the grep pattern.
4254 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4255 (ispell-complete-word): Call `ispell-lookup-words' with the value
4256 independent of `ispell-look-p'.
4257
4258 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4259
4260 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4261 Not after "||".
4262 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4263 their parent.
4264
4265 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4268 (ruby-font-lock-keywords): Use backquote.
4269
4270 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4271
4272 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4273 (ruby-smie--backward-token): Only consider full-string matches.
4274
4275 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4276
4277 * faces.el (describe-face): Add distant-foreground.
4278
4279 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4280
4281 * progmodes/ruby-mode.el: Improve encoding comment handling.
4282 (ruby-encoding-magic-comment-style): New option.
4283 (ruby-custom-encoding-magic-comment-template): New option.
4284 (ruby--insert-coding-comment, ruby--detect-encoding):
4285 New functions extracted from `ruby-mode-set-encoding'.
4286 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4287 to control the style of the auto-inserted encoding comment.
4288
4289 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4290
4291 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4292 Use `smie-backward-sexp' with token argument.
4293
4294 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4295
4296 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4297 Remove instrumentation code.
4298
4299 2013-11-08 Glenn Morris <rgm@gnu.org>
4300
4301 * progmodes/autoconf.el (autoconf-mode):
4302 Tweak comment-start-skip. (Bug#15822)
4303
4304 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4307 at bobp (bug#15826).
4308 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4309
4310 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4311
4312 * man.el (Man-start-calling): New macro, extracted from
4313 Man-getpage-in-background.
4314 (Man-getpage-in-background): Use it.
4315 (Man-update-manpage): New command.
4316 (Man-mode-map): Bind it.
4317
4318 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4319
4320 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4321 of "and", "or", "&&" and "||".
4322 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4323 argument. Prohibit opening curly brace because it could only be a
4324 block opener in that position.
4325 (ruby-smie--forward-token, ruby-smie--backward-token):
4326 Separate "|" from "&" or "*" going after it. That can happen in block
4327 arguments.
4328 (ruby-smie--indent-to-stmt): New function, seeks the end of
4329 previous statement or beginning of buffer.
4330 (ruby-smie-rules): Use it.
4331 (ruby-smie-rules): Check if there's a ":" before a curly block
4332 opener candidate; if there is, it's a hash.
4333
4334 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4337 (cl--block-wrapper): Fix last accidental change.
4338
4339 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4340
4341 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4342 Instrument, in order to hunt failure on hydra.
4343
4344 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4345
4346 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4347 malformed bindings form (bug#15814).
4348
4349 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4350
4351 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4352 "." compared to " @ ". This incidentally fixes some indentation
4353 examples with "do".
4354 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4355 (ruby-smie-grammar): New tokens: "and" and "or".
4356 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4357 Exclude "and" and "or". Remove "do" in order to work around token
4358 priorities.
4359 (ruby-smie-rules): Add all infix tokens. Handle the case of
4360 beginning-of-buffer.
4361
4362 2013-11-06 Glenn Morris <rgm@gnu.org>
4363
4364 * Makefile.in (setwins_almost, setwins_for_subdirs):
4365 Avoid accidental matches.
4366
4367 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * menu-bar.el (popup-menu): Use key-binding.
4370
4371 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4372
4373 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4374 menus, support also the menus produced by minor modes.
4375 (Bug#15817)
4376
4377 2013-11-06 Leo Liu <sdl.web@gmail.com>
4378
4379 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4380 DISTANCE to bound the search. All uses changed. (Bug#15808)
4381
4382 2013-11-06 Glenn Morris <rgm@gnu.org>
4383
4384 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4385 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4386 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4387
4388 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * electric.el (electric-indent-just-newline): New command.
4391 (electric-indent-mode-map): New keymap.
4392 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4393 Re-add :group which weren't redundant.
4394
4395 * electric.el (electric-indent-local-mode): New minor mode.
4396 (electric-indent-functions-without-reindent): New var.
4397 (electric-indent-post-self-insert-function): Use it.
4398 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4399
4400 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4401
4402 * international/quail.el (quail-help): Be more explicit about the
4403 meaning of the labels shown on the keys. (Bug#15800)
4404
4405 * startup.el (normal-top-level): Load the subdirs.el files before
4406 setting the locale environment. (Bug#15805)
4407
4408 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4411 via arguments so as to get the right ones (bug#15418).
4412
4413 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4414
4415 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4416
4417 Fix problems found while writing a test suite.
4418
4419 * net/tramp-compat.el (tramp-compat-load): New defun.
4420 * net/tramp.el (tramp-handle-load): Use it.
4421
4422 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4423 "(numberp ok-if-already-exists)" correctly.
4424
4425 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4426
4427 * international/characters.el (glyphless-char-display-control):
4428 Add usage note.
4429
4430 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4431
4432 * progmodes/python.el (python-mode):
4433 * progmodes/scheme.el (scheme-mode):
4434 * progmodes/prolog.el (prolog-mode):
4435 * progmodes/ruby-mode.el (ruby-mode):
4436 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4437 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4438
4439 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4440
4441 * rect.el (rectangle--highlight-for-redisplay):
4442 * emacs-lisp/smie.el (smie--next-indent-change):
4443 Use buffer-chars-modified-tick.
4444
4445 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4446
4447 * electric.el (electric-indent-post-self-insert-function):
4448 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4449
4450 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4451
4452 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4453
4454 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4455
4456 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4457 (bug#15786).
4458
4459 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4460
4461 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4462
4463 * progmodes/python.el: Fix up last change.
4464 (python-shell--save-temp-file): New function.
4465 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4466 `string' comes from the current buffer.
4467 (python-shell-send-string-no-output): Remove `msg' arg.
4468 (python--use-fake-loc): New var.
4469 (python-shell-buffer-substring): Obey it. Try to compensate for the
4470 extra coding line added by python-shell--save-temp-file.
4471 (python-shell-send-region): Use python-shell--save-temp-file and
4472 python-shell-send-file directly. Add `nomain' argument.
4473 (python-shell-send-buffer): Use python-shell-send-region.
4474 (python-electric-pair-string-delimiter): New function.
4475 (python-mode): Use it.
4476
4477 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4478
4479 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4480 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4481 environment and decoding all of the default-directory's to here
4482 from command-line.
4483 (command-line): Decode also argv[0].
4484
4485 * loadup.el: Error out if default-directory is a multibyte string
4486 when we are dumping.
4487
4488 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4489
4490 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4491
4492 * emacs-lisp/package.el (package-menu-mode)
4493 (package-menu--print-info, package-menu--archive-predicate):
4494 Add Archive column to package list.
4495
4496 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4497
4498 Fix problems found while writing a test suite.
4499
4500 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4501 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4502 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4503 to nil when running original file name handler. Otherwise,
4504 there are problems with constructs like "$$FOO".
4505
4506 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4507 for `localname'.
4508
4509 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4510
4511 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4512
4513 * subr.el (version<, version<=, version=):
4514 Update docstrings with information for snapshot versions.
4515
4516 * helpers.el: New library for misc helper functions.
4517 (hash-table-keys): New function returning a list of hash keys.
4518 (hash-table-values): New function returning a list of hash values.
4519
4520 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4521
4522 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4523 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4524
4525 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4526
4527 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4528 checking whether point is after a 1-letter word.
4529
4530 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4531
4532 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4533 Don't infloop when expanding region over `multiline' syntax-type that
4534 begins a line (bug#15778).
4535
4536 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4539 Make it into a proper minor mode.
4540 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4541 (rectangle-mark-mode-map): New keymap.
4542 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4543
4544 2013-11-04 Glenn Morris <rgm@gnu.org>
4545
4546 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4547
4548 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4551 (ruby-smie-rules): Use smie-rule-parent instead.
4552
4553 * emacs-lisp/smie.el (smie-rule-parent): Always call
4554 smie-indent-virtual rather than only for hanging tokens.
4555 (smie--next-indent-change): New helper command.
4556
4557 2013-11-03 Glenn Morris <rgm@gnu.org>
4558
4559 * Makefile.in (abs_srcdir): Remove.
4560 (emacs): Unset EMACSLOADPATH.
4561
4562 2013-11-02 Glenn Morris <rgm@gnu.org>
4563
4564 * Makefile.in (EMACS): Use a relative filename.
4565 (abs_top_builddir): Remove.
4566 (custom-deps, finder-data, autoloads): Use --chdir.
4567
4568 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4569
4570 Use relative filenames in TAGS files.
4571 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4572 (lisptagsfiles4, TAGS): Use relative file names.
4573 (TAGS-LISP): Remove.
4574 (maintainer-clean): No more TAGS-LISP file.
4575
4576 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4577 (lisptagsfiles4): Use absolute filenames again.
4578 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4579 Remove all *loaddefs files, not just the first. Remove esh-groups.
4580 (maintainer-clean): Delete TAGS, TAGS-LISP.
4581
4582 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4583
4584 * emacs-lisp/package.el (package-version-join):
4585 Recognize snapshot versions.
4586
4587 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4588
4589 * subr.el (version-regexp-alist): Add support for snapshot versions.
4590
4591 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4592
4593 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4594 New function, replacement for `smie-rule-parent' for when we want to
4595 skip over our direct parent if it's an assignment token..
4596 (ruby-smie-rules): Use it.
4597
4598 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4599
4600 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4601 unconditionally. Remove now unnecessary forward declarations.
4602 Remove XEmacs-specific setup.
4603 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4604 (ruby-font-lock-syntactic-keywords)
4605 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4606 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4607 (ruby-here-doc-end-syntax): Remove.
4608 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4609 defined as function.
4610
4611 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4612
4613 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4614
4615 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4616
4617 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4618 table and abbrev table, `define-derived-mode' does that for us
4619 anyway.
4620
4621 2013-11-01 Glenn Morris <rgm@gnu.org>
4622
4623 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4624 files is atomic for some time, so no parallel compilation issues).
4625
4626 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4627
4628 * faces.el (face-x-resources): Add :distant-foreground.
4629 (region): Use :distant-foreground for gtk and ns.
4630
4631 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4632
4633 Allow multiple bibliographies when BibLaTeX is used rather than
4634 BibTeX.
4635 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4636 (reftex-locate-bibliography-files): Us it.
4637
4638 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4639
4640 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4641 allow comments in pbm files.
4642
4643 * term/w32-win.el (dynamic-library-alist): Support newer versions
4644 of libjpeg starting with v7: look only for the DLL from the
4645 version against which Emacs was built.
4646 Support versions of libpng beyond 1.4.x.
4647 Support libtiff v4.x.
4648
4649 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4650
4651 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4652 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4653 Add property :safe.
4654 (ruby-deep-arglist): Add property :type.
4655
4656 2013-10-31 Glenn Morris <rgm@gnu.org>
4657
4658 * Makefile.in (custom-deps, finder-data): No need to setq the target
4659 variables, we are in the right directory and the defaults work fine.
4660
4661 2013-10-30 Glenn Morris <rgm@gnu.org>
4662
4663 * Makefile.in (autoloads): Do not use abs_lisp.
4664
4665 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4666 `newline' does not respect `standard-output', so use `princ'.
4667
4668 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4669
4670 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4671 * buff-menu.el (Buffer-menu--unmark): New function.
4672 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4673
4674 2013-10-30 Glenn Morris <rgm@gnu.org>
4675
4676 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4677
4678 * emacs-lisp/package.el (lm-homepage): Declare.
4679
4680 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4681 Fix doc typos.
4682
4683 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4684
4685 * Makefile.in (finder-data, autoloads, update-subdirs)
4686 (compile-main, compile-clean, compile-always, bootstrap-clean):
4687 Check return value of cd.
4688 (compile-calc): Remove.
4689
4690 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4693
4694 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4695 (byte-compile-and-folded): New function.
4696 (=, <, >, <=, >=): Use it.
4697
4698 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4699 (path-separator, null-device, buffer-file-coding-system)
4700 (lpr-headers-switches): Check system-type before modifying them.
4701 (find-buffer-file-type-coding-system): Mark obsolete.
4702 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4703 find-file-not-found-set-buffer-file-coding-system.
4704 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4705 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4706 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4707 (w32-direct-print-region-helper, w32-direct-print-region-function)
4708 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4709 * startup.el (normal-top-level-add-subdirs-to-load-path):
4710 * ps-print.el (ps-print-region-function):
4711 * lpr.el (print-region-function): Use new name.
4712
4713 * subr.el (custom-declare-variable-early): Remove function.
4714 (custom-declare-variable-list): Remove var.
4715 (error, user-error): Remove `while' loop.
4716 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4717 (user-emacs-directory-warning, locate-user-emacs-file):
4718 Move to files.el.
4719 * simple.el (read-quoted-char-radix, read-quoted-char):
4720 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4721 Move from subr.el.
4722 * custom.el (custom-declare-variable-list): Don't process
4723 custom-declare-variable-list.
4724
4725 * progmodes/python.el (python-shell-get-buffer): New function.
4726 (python-shell-get-process): Use it.
4727 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4728 Python which encoding was used. Don't split-string since we only care
4729 about the first line. Return the temp-file, if applicable.
4730 (python-shell-send-region): Tell compile.el how to turn locations in
4731 the temp-file into locations in the source buffer.
4732
4733 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * subr.el (undefined): Add missing behavior from the C code for
4736 unbound keys.
4737
4738 * rect.el: Use lexical-binding. Add new rectangular region support.
4739 (rectangle-mark): New command.
4740 (rectangle--region): New var.
4741 (deactivate-mark-hook): Reset rectangle--region.
4742 (rectangle--extract-region, rectangle--insert-for-yank)
4743 (rectangle--highlight-for-redisplay)
4744 (rectangle--unhighlight-for-redisplay): New functions.
4745 (region-extract-function, redisplay-unhighlight-region-function)
4746 (redisplay-highlight-region-function): Use them to handle
4747 rectangular region.
4748 * simple.el (region-extract-function): New var.
4749 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4750 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4751 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4752 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4753 (redisplay-unhighlight-region-function)
4754 (redisplay-highlight-region-function): New vars.
4755 (redisplay--update-region-highlight): New function.
4756 (pre-redisplay-function): Use it.
4757 (exchange-point-and-mark): Don't deactivate the mark before
4758 reactivate-it anyway.
4759 * comint.el (comint-kill-region): Remove yank-handler argument.
4760 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4761 (delete-char): Remove property, since it's now part of their
4762 default behavior.
4763 (self-insert-iso): Remove property since this command doesn't exist.
4764
4765 * emacs-lisp/package.el (package--download-one-archive)
4766 (describe-package-1): Don't query the user about final newline.
4767
4768 2013-10-29 Daniel Colascione <dancol@dancol.org>
4769
4770 * net/tramp.el (tramp-methods): Document new functionality.
4771 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4772 tramp-hostname-checker if method provides one instead of scanning
4773 argument list for "%h" to decide hostname acceptability.
4774
4775 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4776
4777 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4778 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4779 Handle COPY-CONTENTS. (Bug#15737)
4780
4781 2013-10-28 Daiki Ueno <ueno@gnu.org>
4782
4783 * epa-file.el
4784 (epa-file-cache-passphrase-for-symmetric-encryption):
4785 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4786
4787 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4788
4789 * image.el (defimage, image-load-path): Doc fixes.
4790
4791 2013-10-27 Alan Mackenzie <acm@muc.de>
4792
4793 Indent statements in macros following "##" correctly.
4794 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4795 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4796
4797 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4798
4799 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4800
4801 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4802
4803 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4804 after `=' is probably a new expression.
4805
4806 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4807
4808 * man.el (man-imenu-title): New option.
4809 (Man-mode-map): Add menu. (Bug#15722)
4810 (Man-mode): Add imenu to menu.
4811
4812 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4813
4814 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4815 specific in what the first arg can be: a non-keyword word,
4816 string/regexp/percent literal opener, opening paren, or unary
4817 operator followed directly by word.
4818
4819 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4822 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4823 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4824 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4825 Remove vars, they do not apply any more.
4826 (prolog-mode-abbrev-table): Remove redundant declaration.
4827 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4828 (prolog-use-smie): Remove.
4829 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4830 supported by prolog-electric-if-then-else-flag.
4831 (prolog-mode-variables, prolog-menu): Use setq-local.
4832 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4833 Remove binding to `Backspace' since this key doesn't exist anyway.
4834 Remove bindings for electric self-inserting keys.
4835 (prog-mode): Assume it's defined.
4836 (prolog-post-self-insert): New function.
4837 (prolog-mode): Use it.
4838 (prolog-indent-line, prolog-indent-level)
4839 (prolog-find-indent-of-matching-paren)
4840 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4841 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4842 (prolog-goto-next-paren, prolog-in-string-or-comment)
4843 (prolog-tokenize, prolog-inside-mline-comment)
4844 (prolog-find-start-of-mline-comment): Remove functions.
4845 (prolog-find-unmatched-paren, prolog-clause-end)
4846 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4847 (prolog-electric--if-then-else): Rename from
4848 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4849 (prolog-tokenize-searchkey): Remove const.
4850 (prolog-clause-info): Use forward-sexp.
4851 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4852 (prolog-electric-if-then-else): Remove commands.
4853 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4854 for use in post-self-insert-hook.
4855 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4856 for use in post-self-insert-hook.
4857 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4858 for use in post-self-insert-hook.
4859 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4860 adapt it for use in post-self-insert-hook.
4861
4862 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4863
4864 * emacs-lisp/ert.el (ert-run-tests-interactively):
4865 Use `completing-read'. (Bug#9756)
4866
4867 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4868
4869 * simple.el (line-move): Call line-move-1 instead of
4870 line-move-visual when the current window hscroll is zero, but
4871 temporary-goal-column indicates we will need to hscroll as result
4872 of the movement. (Bug#15712)
4873
4874 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4875
4876 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4877 capitalization. Use :visible instead of :active.
4878 Fix `ruby-indent-exp' reference. Add menu items for the generic
4879 commands that are used with SMIE.
4880 (ruby-do-end-to-brace): Insert space after `{'.
4881
4882 2013-10-25 John Anthony <john@jo.hnanthony.com>
4883
4884 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4885
4886 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4887
4888 2013-10-25 Glenn Morris <rgm@gnu.org>
4889
4890 * vc/vc.el (vc-print-log): Don't use a working revision unless
4891 one was explicitly specified. (Bug#15322)
4892
4893 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * subr.el (add-to-list): Preserve return value in compiler-macro
4896 (bug#15692).
4897
4898 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4899
4900 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4901 result. Ask user to retry using '-all' flag. (Bug#15701)
4902
4903 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * emacs-lisp/smie.el: New smie-config system.
4906 (smie-config): New defcustom.
4907 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4908 (smie-config-guess, smie-config-save): New commands.
4909 (smie-config--mode-local, smie-config--buffer-local)
4910 (smie-config--trace, smie-config--modefuns): New vars.
4911 (smie-config--advice, smie-config--mode-hook)
4912 (smie-config--setter, smie-config-local, smie-config--get-trace)
4913 (smie-config--guess-value, smie-config--guess): New functions.
4914 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4915 text properties. Treat "string fence" syntax like string syntax.
4916
4917 * progmodes/sh-script.el (sh-use-smie): Change default.
4918 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4919 (sh-var-value): Simplify by CSE.
4920 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4921 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4922 is used.
4923 (sh-guess-basic-offset): Use cl-incf.
4924 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4925
4926 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4927
4928 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4929 (bug#15699).
4930
4931 2013-10-24 Glenn Morris <rgm@gnu.org>
4932
4933 * Makefile.in (abs_top_srcdir): Remove.
4934 (update-subdirs): Use relative path to update-subdirs.
4935
4936 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4937
4938 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4939 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4940 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4941 Call unmsys--file-name before expand-file-name, not after it.
4942
4943 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4944
4945 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4946 (ert-test-skipped): New error.
4947 (ert-skip, ert-stats-skipped): New defuns.
4948 (ert--skip-unless): New macro.
4949 (ert-test-skipped): New struct.
4950 (ert--run-test-debugger, ert-test-result-type-p)
4951 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4952 (ert--stats-set-test-and-result, ert-char-for-test-result)
4953 (ert-string-for-test-result, ert-run-tests-batch)
4954 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4955 Handle skipped tests. (Bug#9803)
4956
4957 2013-10-24 Glenn Morris <rgm@gnu.org>
4958
4959 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4960
4961 * Makefile.in (abs_top_srcdir): New, set by configure.
4962 (update-subdirs): Correct build-aux location.
4963
4964 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4965
4966 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4967 value, whether we could auto-deduce `backend', or not.
4968
4969 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4970 with parameters" example. Simplify the "is it block or is it
4971 hash" check, but also make it more thorough.
4972
4973 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4974
4975 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4976
4977 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4978
4979 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4980 { if it is hanging.
4981
4982 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4983 :before ";".
4984
4985 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4986
4987 * progmodes/compile.el (compilation-directory-matcher)
4988 (compilation-page-delimiter):
4989 Support GNU Make-4.0 directory quoting. (Bug#15678)
4990
4991 2013-10-23 Leo Liu <sdl.web@gmail.com>
4992
4993 * ido.el (ido-tidy): Handle read-only text.
4994
4995 2013-10-23 Glenn Morris <rgm@gnu.org>
4996
4997 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4998 (emacs, compile, compile-always):
4999 Quote entities that might contain whitespace.
5000 (custom-deps, finder-data, autoloads): Use abs_lisp.
5001 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5002 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5003 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5004
5005 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5006
5007 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5008 Use `following-char'.
5009
5010 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5011
5012 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5013 * progmodes/ruby-mode.el (ruby-smie-rules):
5014 Remove corresponding workaround. Fix indentation rule of ";" so it
5015 also applies when ";" is the parent.
5016
5017 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5018
5019 * frame.el (display-screens, display-pixel-height)
5020 (display-pixel-width, display-mm-width, display-backing-store)
5021 (display-save-under, display-planes, display-color-cells)
5022 (display-visual-class, display-monitor-attributes-list):
5023 Mention the optional ‘display’ argument in doc strings.
5024
5025 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5026
5027 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5028 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5029
5030 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5031
5032 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5033 TODO. Add "." after " @ ".
5034 (ruby-smie--at-dot-call): New function. Checks if point at method
5035 call with explicit target.
5036 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5037 to the method name tokens when it precedes them.
5038 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5039 (ruby-smie-rules): Add rule for indentation before and after "."
5040 token.
5041
5042 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5043
5044 * textmodes/remember.el (remember-diary-extract-entries):
5045 Avoid add-to-list.
5046
5047 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5048 an instruction.
5049
5050 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5051
5052 * progmodes/ruby-mode.el (ruby-smie-grammar):
5053 Add (almost) all infix operators.
5054 (ruby-smie--implicit-semi-p): Add new operator chars.
5055
5056 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5057 `smie-down-list'.
5058 (ruby-smie--args-separator-p): Check that there's no newline
5059 between method call and its arguments.
5060
5061 2013-10-20 Alan Mackenzie <acm@muc.de>
5062
5063 Allow comma separated lists after Java "implements".
5064
5065 * progmodes/cc-engine.el (c-backward-over-enum-header):
5066 Parse commas.
5067 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5068 from a "disallowed" list in enum fontification.
5069
5070 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5071
5072 * startup.el (default-frame-background-mode): Remove unused defvar.
5073
5074 * progmodes/verilog-mode.el (verilog-mode): Don't set
5075 comment-indent-function globally.
5076
5077 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5078
5079 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5080 Move Info menu item creation to ns-win.el.
5081
5082 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5083 in menu bar.
5084
5085 * menu-bar.el: Move GNUstep specific menus...
5086
5087 * term/ns-win.el (ns-initialize-window-system): ... to here.
5088
5089 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 * simple.el (newline): Only run post-self-insert-hook when
5092 called interactively.
5093
5094 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5095
5096 * icomplete.el (icomplete-with-completion-tables): Add :version.
5097
5098 2013-10-19 Alan Mackenzie <acm@muc.de>
5099
5100 Fix fontification bugs with constructors and const.
5101
5102 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5103 CASE 2) Remove the check for the absence of a suffix construct
5104 after a function declaration with only types (no identifiers) in
5105 the parentheses. Also, accept a function declaration with just a
5106 type inside the parentheses, if this type can be positively
5107 recognised as such, or if a prefix keyword like "explicit" nails
5108 down the construct as a declaration.
5109
5110 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5111
5112 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5113 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5114 the problem whereby selecting a menu item that leads to a
5115 minibuffer prompt moves the cursor out of the minibuffer window,
5116 making it hard to type at the prompt. Suggested by Stefan Monnier
5117 <monnier@iro.umontreal.ca>.
5118
5119 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5120
5121 * menu-bar.el: Don't make Services menu.
5122
5123 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5124
5125 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5126 (ffap-alist): Use ffap-c++-mode for c++-mode.
5127 (ffap-c++-path): New variable.
5128 (ffap-c++-mode): New function.
5129
5130 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5131
5132 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5133
5134 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5135
5136 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5137 introduced on 2013-09-08, which results in an infinite loop
5138 requesting a password.
5139
5140 2013-10-18 Glenn Morris <rgm@gnu.org>
5141
5142 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5143
5144 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5145
5146 Sync with upstream verilog-mode revision 1a6ecec7.
5147 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5148 (verilog-mode-release-date): Remove.
5149 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5150 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5151 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5152 (verilog-auto-tieoff-ignore-regexp)
5153 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5154 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5155 (verilog-signals-with, verilog-dir-cache-preserving)
5156 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5157 Doc fixes.
5158 (verilog-case-fold): New option, to control case folding in
5159 regexp searches, bug597.
5160 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5161 (verilog-string-match-fold, verilog-in-paren-count)
5162 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5163 (verilog-at-close-struct-p): New functions.
5164 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5165 (verilog-forward-sexp, verilog-set-auto-endcomments)
5166 (verilog-leap-to-case-head): Handle "unique0" case.
5167 (verilog-in-constraint-re): New constant.
5168 (verilog-keywords, verilog-type-font-keywords):
5169 Add some SystemVerilog 1800-2012 keywords.
5170 (verilog-label-be): Remove unimplemented argument, bug669.
5171 (verilog-batch-execute-func): When batch expanding clear
5172 create-lockfiles to prevent spurious user locks when a file ends
5173 up not changing.
5174 (verilog-calculate-indent, verilog-calc-1)
5175 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5176 (verilog-do-indent): Fix indentation of nested constraints
5177 and structures.
5178 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5179 (verilog-auto-inst-param): Use verilog-string-match-fold.
5180 (verilog-read-inst-module-matcher):
5181 Fix AUTOINST on gate primitives with #1.
5182 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5183 Reads all user-defined typed variables.
5184 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5185 (verilog-signals-matching-regexp)
5186 (verilog-signals-not-matching-regexp, verilog-auto):
5187 Respect verilog-case-fold.
5188 (verilog-diff-report): Fix line count.
5189 (verilog-auto-assign-modport): Remove unused local `modi'.
5190 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5191 better handle multidimensional arrays.
5192 Fix packed array ports misadding bit index in AUTOINST, bug637.
5193 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5194 to not double-declare existing outputs and inputs, respectively.
5195 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5196 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5197 (verilog-sk-uvm-component): New skeleton.
5198 (verilog-submit-bug-report): Add verilog-case-fold,
5199 remove verilog-mode-release-date.
5200
5201 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5202
5203 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5204 as before.
5205
5206 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5207
5208 * textmodes/remember.el (remember): Set buffer-offer-save in
5209 remember buffers (bug#13566).
5210
5211 2013-10-18 Daniel Colascione <dancol@dancol.org>
5212
5213 When evaluating forms in ielm, direct standard output to ielm
5214 buffer. Add new ielm-return-for-effect command. Remove trailing
5215 whitespace throughout.
5216
5217 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5218 (ielm-return-for-effect): New command.
5219 (ielm-send-input): Accept optional `for-effect' parameter.
5220 (ielm-eval-input): Accept optional `for-effect' parameter.
5221 Bind `standard-output' to stream we create using
5222 `ielm-standard-output-impl'. Suppress printing result when
5223 `for-effect'.
5224 (ielm-standard-output-impl): New function.
5225 (inferior-emacs-lisp-mode): Explain new features in documentation.
5226
5227 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5228
5229 Code cleanup.
5230
5231 * net/tramp.el (tramp-debug-message): Do not check for connection
5232 buffer.
5233 (tramp-message): Use "vector" connection property.
5234
5235 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5236 (tramp-equal-remote, tramp-eshell-directory-change)
5237 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5238 (tramp-adb-handle-rename-file)
5239 * net/tramp-cmds.el (tramp-list-remote-buffers)
5240 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5241 * net/tramp-compat.el (tramp-compat-process-running-p)
5242 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5243 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5244 (tramp-gvfs-handle-rename-file)
5245 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5246 (tramp-set-file-uid-gid)
5247 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5248 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5249 of `file-remote-p'.
5250
5251 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5252 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5253 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5254 (tramp-gw-open-network-stream): Suppress unrelated traces.
5255
5256 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5257 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5258 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5259 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5260 connection property.
5261
5262 * net/tramp-cache.el (top): Suppress traces when reading
5263 persistency file.
5264
5265 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5266 Refactor common code. Improve debug message.
5267 (tramp-maybe-open-connection)
5268 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5269 connection buffer too early.
5270
5271 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5272 from `tramp-smb-actions-with-acl'.
5273 (tramp-smb-actions-set-acl): New defconst.
5274 (tramp-smb-handle-copy-directory)
5275 (tramp-smb-action-get-acl): New defun, renamed from
5276 `tramp-smb-action-with-acl'.
5277 (tramp-smb-action-set-acl): New defun.
5278 (tramp-smb-handle-set-file-acl): Rewrite.
5279
5280 2013-10-17 Glenn Morris <rgm@gnu.org>
5281
5282 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5283
5284 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * skeleton.el (skeleton-newline): Remove.
5287 (skeleton-internal-1): Use (insert "\n") instead.
5288
5289 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5290 let-bindings.
5291
5292 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5293 forward-sexp-function while we redo its job (bug#15613).
5294
5295 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5296
5297 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5298 represented by lists.
5299
5300 2013-10-16 Glenn Morris <rgm@gnu.org>
5301
5302 * tmm.el (tmm--history): New dynamic variable.
5303 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5304
5305 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5306
5307 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5308 (tramp-smb-errors): Add error messages.
5309 (tramp-smb-actions-with-acl): New defconst.
5310 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5311 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5312 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5313 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5314 (tramp-smb-get-stat-capability): Fix tests.
5315
5316 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5317
5318 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5319 (bug#15580).
5320
5321 2013-10-16 Glenn Morris <rgm@gnu.org>
5322
5323 * ansi-color.el (ansi-color-drop-regexp):
5324 Add 1J, 1K, 2K. (Bug#15617)
5325
5326 * files.el (hack-local-variables--warned-lexical): New.
5327 (hack-local-variables):
5328 Warn about misplaced lexical-binding. (Bug#15616)
5329
5330 * net/eww.el (eww-render): Always set eww-current-url,
5331 and update header line. (Bug#15622)
5332 (eww-display-html): ... Rather than just doing it here.
5333
5334 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5335
5336 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5337 menu navigations commands.
5338
5339 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5340
5341 * progmodes/subword.el (subword-capitalize): Be careful when
5342 the search for [[:alpha:]] fails (bug#15580).
5343
5344 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5345
5346 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5347 to commands that scroll the menu.
5348
5349 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5350
5351 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5352 Handle methods ending with `?' and `!'.
5353
5354 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5355
5356 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5357 `japanese-cp932' to `cp932' to fix the problem where saving a
5358 source file written in Shift_JIS twice would end up having
5359 `coding: japanese-cp932' which Ruby could not recognize.
5360 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5361 in `ruby-encoding-map'.
5362 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5363 doesn't need to be explicitly declared in magic comment.
5364 (ruby-encoding-map): Add type declaration for better customize UI.
5365
5366 2013-10-13 Glenn Morris <rgm@gnu.org>
5367
5368 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5369 Occur buffers are read-only. http://bugs.debian.org/720775
5370
5371 * emacs-lisp/authors.el (authors-fixed-entries):
5372 Comment out old alpha stuff.
5373
5374 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5375
5376 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5377 to `after-save-hook' instead of `before-save-hook'.
5378 (ruby-mode-set-encoding): Use the value of coding system used to
5379 write the file. Call `basic-save-buffer-1' after modifying the
5380 buffer.
5381
5382 2013-10-13 Alan Mackenzie <acm@muc.de>
5383
5384 Fix indentation/fontification of Java enum with
5385 "implements"/generic.
5386
5387 * progmodes/cc-engine.el (c-backward-over-enum-header):
5388 Extracted from the three other places and enhanced to handle generics.
5389 (c-inside-bracelist-p): Uses new function above.
5390 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5391 function above.
5392 (c-font-lock-enum-tail): Uses new function above.
5393
5394 2013-10-13 Kenichi Handa <handa@gnu.org>
5395
5396 * international/mule-cmds.el (select-safe-coding-system): Remove a
5397 superfluous condition in chekcing whether a coding system is safe
5398 or not.
5399
5400 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5401
5402 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5403
5404 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5405
5406 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5407
5408 2013-10-13 Glenn Morris <rgm@gnu.org>
5409
5410 * menu-bar.el (menu-bar-update-buffers):
5411 Unify Buffers menu prompt string. (Bug#15576)
5412
5413 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5414
5415 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5416 Add some entries.
5417 (authors-fixed-entries): Use accented form of name.
5418
5419 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5422 method calls (bug#15594).
5423 (ruby-smie--args-separator-p): New function.
5424 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5425 recognize paren-free method calls.
5426
5427 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5428 internals of universal-argument.
5429
5430 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5431
5432 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5433 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5434 dropped menu on second mouse click on the menu bar.
5435
5436 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5437
5438 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5439 (explicit-shell-file-name): Declare.
5440 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5441 (sh-completion-at-point-function): New function.
5442 (sh-mode): Use it.
5443 (sh-smie--keyword-p): Remove unused argument.
5444 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5445 vars.
5446 (sh-set-shell): Always setup SMIE, even if we use the
5447 old indentation code.
5448
5449 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5450
5451 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5452 cases of ? and =.
5453 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5454 predicate would return nil are almost non-existent.
5455 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5456
5457 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5458 cache also after commands that modify the buffer but don't move
5459 point.
5460
5461 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * env.el (substitute-env-in-file-name): New function.
5464 (substitute-env-vars): Extend the meaning of the optional arg.
5465
5466 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5467
5468 * term/w32-win.el (dynamic-library-alist): Define separate lists
5469 of GIF DLLs for versions before and after 5.0.0 of giflib.
5470 (Bug#15531)
5471
5472 2013-10-10 João Távora <joaotavora@gmail.com>
5473
5474 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5475 not locked, use last revision and current source as
5476 defaults. (Bug#15569)
5477
5478 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5479
5480 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5481 menu-bar is hidden.
5482
5483 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5484
5485 * window.el (pop-to-buffer-same-window): Fix doc-string.
5486 (Bug#15492)
5487
5488 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5491
5492 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5493
5494 * calendar/icalendar.el (icalendar-import-file):
5495 Fix interactive spec. (Bug#15482)
5496
5497 2013-10-10 Glenn Morris <rgm@gnu.org>
5498
5499 * desktop.el (desktop-save): Default to saving in .emacs.d,
5500 since PWD is no longer in desktop-path by default. (Bug#15319)
5501
5502 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5503 now that text mode has a menu with the same entry.
5504 (menu-bar-text-mode-auto-fill): Remove now unused func.
5505 * textmodes/text-mode.el (text-mode-map):
5506 Use auto-fill help text from menu-bar.el.
5507
5508 2013-10-10 John Anthony <john@jo.hnanthony.com>
5509
5510 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5511
5512 2013-10-09 Juri Linkov <juri@jurta.org>
5513
5514 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5515 instead of this-command-keys. Add universal-argument-more and
5516 universal-argument-minus to the list of prefix commands. (Bug#15568)
5517
5518 2013-10-09 Glenn Morris <rgm@gnu.org>
5519
5520 * vc/vc-svn.el (vc-svn-create-repo):
5521 Expand paths in file://... url. (Bug#15446)
5522
5523 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5524 Add some entries.
5525 (authors): Remove unused local variables.
5526
5527 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5528
5529 * profiler.el: Create a more coherent calltree from partial backtraces.
5530 (profiler-format): Hide the tail with `invisible' so that C-s can still
5531 find the hidden elements.
5532 (profiler-calltree-depth): Don't recurse so enthusiastically.
5533 (profiler-function-equal): New hash-table-test.
5534 (profiler-calltree-build-unified): New function.
5535 (profiler-calltree-build): Use it.
5536 (profiler-report-make-name-part): Indent the calltree less.
5537 (profiler-report-mode): Add visibility specs for profiler-format.
5538 (profiler-report-expand-entry, profiler-report-toggle-entry):
5539 Expand the whole subtree when provided with a prefix arg.
5540
5541 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5542
5543 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5544 iuwu-mod token.
5545 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5546 hanging iuwu-mod token.
5547 (ruby-smie--forward-token): Do not include a dot after a token in
5548 that token.
5549 (ruby-smie--backward-token): Likewise.
5550
5551 2013-10-08 Juri Linkov <juri@jurta.org>
5552
5553 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5554 to isearch-other-control-char.
5555 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5556 and isearch-post-command-hook to post-command-hook.
5557 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5558 and isearch-post-command-hook from post-command-hook.
5559 (isearch-unread-key-sequence)
5560 (isearch-reread-key-sequence-naturally)
5561 (isearch-lookup-scroll-key, isearch-other-control-char)
5562 (isearch-other-meta-char): Remove functions.
5563 (isearch-pre-command-hook, isearch-post-command-hook):
5564 New functions based on isearch-other-meta-char rewritten
5565 relying on the new behavior of overriding-terminal-local-map
5566 that does not replace the local keymaps any more. (Bug#15200)
5567
5568 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5569
5570 Support menus on text-mode terminals.
5571 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5572 functionality.
5573
5574 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5575
5576 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5577 Move here from mouse.el.
5578 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5579 and arrow keys.
5580 (tty-menu-navigation-map): New map for TTY menu navigation.
5581
5582 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5583
5584 * frame.el (display-mouse-p): Report text-mode mouse as available
5585 on w32.
5586 (display-popup-menus-p): Report availability if mouse is
5587 available; don't condition on window-system.
5588
5589 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5590 (tty-menu-selected-face): New faces.
5591
5592 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5593
5594 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5595 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5596 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5597 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5598 New constants.
5599 (lisp-mode-variables): New `elisp' argument.
5600 (emacs-lisp-mode): Use it.
5601 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5602 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5603
5604 * indent.el: Use lexical-binding.
5605 (indent-region): Add progress reporter.
5606 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5607 last step.
5608 (indent--next-tab-stop): New function to implement this behavior.
5609 (tab-to-tab-stop, move-to-tab-stop): Use it.
5610
5611 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5612
5613 * indent.el (indent-rigidly--current-indentation): New function.
5614 (indent-rigidly-map): New var.
5615 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5616
5617 2013-10-08 Bastien Guerry <bzg@gnu.org>
5618
5619 * register.el (insert-register): Fix 2013-10-07 change.
5620
5621 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * progmodes/perl-mode.el: Use lexical-binding.
5624 Remove redundant :group args.
5625 (perl-nochange): Change default to be closer to other major modes's
5626 standard behavior.
5627 (perl-indent-line): Don't consider text on current line as a
5628 valid beginning of function from which to indent.
5629
5630 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5631 with more than one argument (bug#15538).
5632
5633 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5634
5635 * vc/pcvs.el: Use lexical-binding.
5636 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5637 environment of `eval'.
5638 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5639 than a list of expressions. Adjust callers.
5640 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5641
5642 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5643
5644 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5645 case of the dot in a chained method call being on the following line.
5646
5647 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5648
5649 * electric.el (electric-indent-inhibit): New var.
5650 (electric-indent-post-self-insert-function): Use it.
5651 * progmodes/python.el (python-mode): Set it.
5652
5653 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5654 open braces.
5655
5656 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5657
5658 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5659 (css-mode): Use electric-indent-chars.
5660
5661 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5662 (font-lock-beg, font-lock-end): Move before first use.
5663 (nxml-mode): Use syntax-propertize-function.
5664 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5665 (nxml-extend-after-change-region): Remove.
5666 * nxml/xmltok.el: Use lexical-binding.
5667 (xmltok-save): Use `declare'.
5668 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5669 * nxml/nxml-util.el: Use lexical-binding.
5670 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5671 Use `declare'.
5672 * nxml/nxml-ns.el: Use lexical-binding.
5673 (nxml-ns-save): Use `declare'.
5674 (nxml-ns-prefixes-for): Avoid add-to-list.
5675 * nxml/rng-match.el: Use lexical-binding.
5676 (rng--ipattern): Use cl-defstruct.
5677 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5678 (rng-cons-group-after, rng-subst-group-after)
5679 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5680 Use closures instead of `(lambda...).
5681
5682 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5683
5684 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5685 of BEG and END.
5686
5687 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5688 Use `tramp-handle-insert-file-contents'.
5689 (tramp-gvfs-handle-insert-file-contents): Remove function.
5690
5691 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5692 Use `save-restriction' in order to keep markers.
5693
5694 * net/trampver.el: Update release number.
5695
5696 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * progmodes/compile.el (compilation-parse-errors):
5699 Use compilation--put-prop.
5700 (compilation--ensure-parse): Check compilation-multiline.
5701
5702 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5703
5704 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5705 lexical-binding.
5706
5707 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5708
5709 * progmodes/ruby-mode.el: Fix recently added tests.
5710 (ruby-smie-grammar): Add - and +.
5711 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5712 (ruby-smie--backward-id): New functions.
5713 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5714 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5715 any more.
5716
5717 2013-10-07 Leo Liu <sdl.web@gmail.com>
5718
5719 * register.el (register-preview-delay)
5720 (register-preview-functions): New variables.
5721 (register-read-with-preview, register-preview)
5722 (register-describe-oneline): New functions.
5723 (point-to-register, window-configuration-to-register)
5724 (frame-configuration-to-register, jump-to-register)
5725 (number-to-register, view-register, insert-register)
5726 (copy-to-register, append-to-register, prepend-to-register)
5727 (copy-rectangle-to-register): Use register-read-with-preview to
5728 read register. (Bug#15525)
5729
5730 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5731
5732 * net/network-stream.el (network-stream-open-starttls): Don't add
5733 --insecure if it's already present, because that gnutls-cli
5734 rejects getting that parameter twice.
5735
5736 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5737
5738 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5739 keyword, too.
5740
5741 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5742
5743 * newcomment.el (comment-use-global-state): Change default value
5744 to t, mark obsolete (Bug#15251).
5745 (comment-beginning): In addition to `comment-to-syntax', check the
5746 value of `comment-use-global-state'.
5747
5748 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5751 (ruby-comment-column): Follow the global default, by default.
5752 (ruby-smie-grammar): Add assignment syntax.
5753 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5754 open-paren, a comma, or a \.
5755 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5756 and line continuations.
5757 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5758 followed by implicit semi-colons. Add rule for string concatenation
5759 and for indentation at BOB.
5760 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
5761
5762 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5763 calling next-sexp, since next-token may have skipped chars which
5764 next-sexp doesn't know should be skipped!
5765
5766 2013-10-05 Leo Liu <sdl.web@gmail.com>
5767
5768 * progmodes/octave.el (octave-send-region):
5769 Call compilation-forget-errors.
5770
5771 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5772
5773 * vc/vc-svn.el (vc-svn-find-admin-dir):
5774 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5775 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5776 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5777 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5778
5779 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5782
5783 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * subr.el (read-passwd): Hide chars even when called within a context
5786 where after-change-functions is disabled (bug#15501).
5787 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5788 until we removed ourself from overriding-terminal-local-map.
5789
5790 2013-10-04 Leo Liu <sdl.web@gmail.com>
5791
5792 * progmodes/octave.el (inferior-octave-mode):
5793 Call compilation-forget-errors.
5794
5795 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5796
5797 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5798
5799 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5800
5801 * net/secrets.el (secrets-create-collection): Add optional
5802 argument ALIAS. Use proper Label keyword. Append ALIAS as
5803 dbus-call-method argument. (Bug#15516)
5804
5805 2013-10-04 Leo Liu <sdl.web@gmail.com>
5806
5807 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5808 (inferior-octave-compilation-font-lock-keywords): New variables.
5809 (compilation-error-regexp-alist)
5810 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5811 (inferior-octave-mode): Use compilation-shell-minor-mode.
5812
5813 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5814
5815 * minibuffer.el (completion--replace): Be careful that `end' might be
5816 a marker.
5817
5818 2013-10-03 Daiki Ueno <ueno@gnu.org>
5819
5820 Add support for package signature checking.
5821 * emacs-lisp/package.el (url-http-file-exists-p)
5822 (epg-make-context, epg-context-set-home-directory)
5823 (epg-verify-string, epg-context-result-for)
5824 (epg-signature-status, epg-signature-to-string)
5825 (epg-check-configuration, epg-configuration)
5826 (epg-import-keys-from-file): Declare.
5827 (package-check-signature): New user option.
5828 (package-unsigned-archives): New user option.
5829 (package-desc): Add `signed' field.
5830 (package-load-descriptor): Set `signed' field if .signed file exists.
5831 (package--archive-file-exists-p): New function.
5832 (package--check-signature): New function.
5833 (package-install-from-archive): Check package signature.
5834 (package--download-one-archive): Check archive signature.
5835 (package-delete): Remove .signed file.
5836 (package-import-keyring): New command.
5837 (package-refresh-contents): Import default keyring.
5838 (package-desc-status): Add "unsigned" status.
5839 (describe-package-1, package-menu--print-info)
5840 (package-menu-mark-delete, package-menu--find-upgrades)
5841 (package-menu--status-predicate): Support "unsigned" status.
5842
5843 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5844
5845 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5846 the new compilation scheme using the new byte-codes.
5847
5848 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5849 (byte-pophandler): New byte codes.
5850 (byte-goto-ops): Adjust accordingly.
5851 (byte-compile--use-old-handlers): New var.
5852 (byte-compile-catch): Use new byte codes depending on
5853 byte-compile--use-old-handlers.
5854 (byte-compile-condition-case--old): Rename from
5855 byte-compile-condition-case.
5856 (byte-compile-condition-case--new): New function.
5857 (byte-compile-condition-case): New function that dispatches depending
5858 on byte-compile--use-old-handlers.
5859 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5860 when we can.
5861
5862 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5863 Optimize under `condition-case' and `catch' if
5864 byte-compile--use-old-handlers is nil.
5865 (disassemble-offset): Handle new bytecodes.
5866
5867 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * subr.el (error): Use `declare'.
5870 (decode-char, encode-char): Use advertised-calling-convention instead
5871 of the docstring to discourage use of the `restriction' arg.
5872
5873 2013-10-03 Daiki Ueno <ueno@gnu.org>
5874
5875 * epg.el (epg-verify-file): Add a comment saying that it does not
5876 notify verification error as a return value nor a signal.
5877 (epg-verify-string): Ditto.
5878
5879 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5880
5881 * progmodes/compile.el (compilation-start): Try globbing the arg to
5882 `cd' (bug#15417).
5883
5884 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5885
5886 Sync with Tramp 2.2.8.
5887
5888 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5889 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5890 * net/trampver.el: Update release number.
5891
5892 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5893
5894 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5895 and default-process-coding-system for darwin only.
5896
5897 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5900
5901 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5902
5903 * vc/vc-git.el (vc-git-grep): Disable pager.
5904
5905 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5906
5907 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5908 Use :url instead of :homepage, as per
5909 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5910
5911 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5912 non-nil, use `syntax-ppss' (Bug#15251).
5913
5914 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5915
5916 * progmodes/octave.el (inferior-octave-startup-file):
5917 Prefer ~/.emacs.d/init_octave.m.
5918
5919 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5920
5921 * emacs-lisp/package.el (package-desc-from-define):
5922 Accept additional arguments as plist, convert them to an alist and store
5923 them in the `extras' slot.
5924 (package-generate-description-file): Convert extras alist back to
5925 plist and append to the `define-package' form arguments.
5926 (package--alist-to-plist): New function.
5927 (package--ac-desc): Add `extras' slot.
5928 (package--add-to-archive-contents): Check if the archive-contents
5929 vector is long enough, and if it is, pass its `extras' slot value
5930 to `package-desc-create'.
5931 (package-buffer-info): Call `lm-homepage', pass the returned value
5932 to `package-desc-from-define'.
5933 (describe-package-1): Render the homepage button (Bug#13291).
5934
5935 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5936 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5937
5938 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5939
5940 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5941 and default-process-coding-system to utf-8-unix (Bug#15402).
5942
5943 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5944
5945 * subr.el (looking-back): Do not recommend using looking-back.
5946
5947 2013-09-28 Alan Mackenzie <acm@muc.de>
5948
5949 Fix indentation/fontification of Java enum with "implements".
5950
5951 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5952 regexp which matches "implements", etc., in Java.
5953 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5954 specifier clauses coming after "enum".
5955 * progmodes/cc-fonts.el (c-font-lock-declarations)
5956 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5957 after "enum".
5958
5959 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5960
5961 * faces.el (region): Change ns_selection_color to
5962 ns_selection_fg_color, add ns_selection_bg_color.
5963
5964 2013-09-28 Leo Liu <sdl.web@gmail.com>
5965
5966 * progmodes/octave.el (inferior-octave-completion-table)
5967 (inferior-octave-completion-at-point): Minor tweaks.
5968
5969 * textmodes/ispell.el (ispell-lookup-words): Rename from
5970 lookup-words. (Bug#15460)
5971 (lookup-words): Obsolete.
5972 (ispell-complete-word, ispell-command-loop): All uses changed.
5973
5974 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5975
5976 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5977 (octave-mode-menu): Add octave-send-buffer.
5978 (octave-send-buffer): New function.
5979
5980 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5981
5982 * progmodes/octave.el (octave-mode-map): Add key binding for
5983 octave-lookfor.
5984 (octave-mode-menu): Add octave-lookfor.
5985 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5986 octave-lookfor.
5987 (octave-lookfor): New function.
5988
5989 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
5992 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5993 its convention.
5994 (cl--loop-set-iterator-function): New function.
5995 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5996 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5997 Bind `it' with `let' instead of substituting it with `cl-subst'.
5998 (cl--unused-var-p): New function.
5999 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6000 Eliminate some unused variable warnings (bug#15326).
6001
6002 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6003
6004 * doc-view.el (doc-view-scale-reset): Rename from
6005 `doc-view-reset-zoom-level'.
6006 (doc-view-scale-adjust): New command.
6007 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6008 `doc-view-scale-adjust'.
6009
6010 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6011
6012 * doc-view.el (doc-view-reset-zoom-level): New command.
6013 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6014 zoom commands (bug#15466).
6015
6016 2013-09-26 Kenichi Handa <handa@gnu.org>
6017
6018 * international/quail.el (quail-help): Make it not a command.
6019
6020 2013-09-26 Leo Liu <sdl.web@gmail.com>
6021
6022 * minibuffer.el (completion-all-sorted-completions): Make args
6023 optional as they are.
6024
6025 2013-09-25 Daniel Colascione <dancol@dancol.org>
6026
6027 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6028 specs are and that they're not evaluated.
6029
6030 2013-09-24 Sam Steingold <sds@gnu.org>
6031
6032 * midnight.el (clean-buffer-list-kill-regexps)
6033 (clean-buffer-list-kill-buffer-names): Update for the new Man
6034 buffer naming which includes the object name.
6035
6036 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6037
6038 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6039 (eshell-parse-command, eshell-parse-pipeline): Use it since
6040 eshell-separate-commands requires a dynamic scoped var.
6041 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6042
6043 2013-09-23 Leo Liu <sdl.web@gmail.com>
6044
6045 * autoinsert.el (auto-insert-alist): Make the value of
6046 lexical-binding match its file setting.
6047
6048 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6049
6050 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6051
6052 * autoarg.el (autoarg-kp-digit-argument):
6053 * electric.el (Electric-command-loop):
6054 * kmacro.el (kmacro-step-edit-insert):
6055 Do not set universal-argument-num-events.
6056
6057 2013-09-22 Leo Liu <sdl.web@gmail.com>
6058
6059 * files.el (interpreter-mode-alist): Add octave.
6060
6061 2013-09-21 Alan Mackenzie <acm@muc.de>
6062
6063 C++: fontify identifier in declaration following "public:" correctly.
6064 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6065 to match "public", etc.
6066 (c-decl-prefix-re): Add ":" into the C++ value.
6067 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6068 bit. Add a check for a ":" preceded by "public", etc.
6069
6070 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6071
6072 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6073 recognized by GDB 7.5 and later.
6074
6075 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6076
6077 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6078
6079 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6080
6081 * subr.el (internal--call-interactively): New const.
6082 (called-interactively-p): Use it (bug#3984).
6083
6084 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6085
6086 * vc/pcvs.el (cvs-mode-ignore):
6087 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6088 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6089
6090 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6093 (eshell-ls-orig-insert-directory): Remove.
6094 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6095 (eshell-ls-use-in-dired): Use advice-add/remove.
6096 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6097 Add `orig-fun' arg for use in :around advice.
6098 Make it check (redundantly) eshell-ls-use-in-dired.
6099
6100 2013-09-19 Glenn Morris <rgm@gnu.org>
6101
6102 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6103
6104 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6105
6106 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6107
6108 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6109
6110 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6111 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6112 (tramp-get-remote-python): New defuns.
6113 (tramp-get-remote-uid-with-perl)
6114 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6115 contributed by yary <not.com@gmail.com> (tiny change).
6116 (tramp-get-remote-uid-with-python)
6117 (tramp-get-remote-gid-with-python): New defuns. Python code
6118 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6119 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6120
6121 2013-09-19 Glenn Morris <rgm@gnu.org>
6122
6123 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6124
6125 * eshell/em-unix.el (eshell-remove-entries):
6126 Rename argument to avoid name-clash with global `top-level'.
6127
6128 * eshell/esh-proc.el (eshell-kill-process-function):
6129 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6130 (eshell-reset-after-proc): Remove unused arg `proc'.
6131
6132 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6133 (directory-files-and-attributes): Mark unused arg.
6134
6135 * eshell/em-unix.el (eshell-remove-entries):
6136 Remove unused arg `path'. Update callers.
6137
6138 * eshell/em-hist.el (eshell-hist-parse-arguments):
6139 Remove unused arg `silent'. Update callers.
6140
6141 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6142 Fix (f)boundp mix-up.
6143
6144 * eshell/em-smart.el (eshell-smart-scroll-window)
6145 (eshell-disable-after-change):
6146 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6147
6148 2013-09-18 Alan Mackenzie <acm@muc.de>
6149
6150 Fix fontification of type when followed by "const".
6151 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6152 "known" types from fontification.
6153
6154 2013-09-18 Glenn Morris <rgm@gnu.org>
6155
6156 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6157 (chart-face-list): Drop Emacsen without display-color-p.
6158
6159 * net/eww.el (libxml-parse-html-region): Declare.
6160 (eww-display-html): Explicit error if no libxml2 support.
6161
6162 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6163
6164 * image.el (image-type-from-buffer, image-multi-frame-p):
6165 Remove --without-x warning/error.
6166
6167 * mouse.el (mouse-yank-primary):
6168 * term.el (term-mouse-paste):
6169 Reorder to silence --without-x compilation.
6170
6171 * mpc.el (doc-view-mode): Silence --without-x compilation.
6172
6173 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6174 Silence --without-x compilation.
6175
6176 * progmodes/gud.el (gud-find-file, gud-mode):
6177 Silence --without-x compilation.
6178 (tooltip-mode): Declare.
6179
6180 * wdired.el (dired-backup-overwrite): Remove declaration.
6181 (wdired-mode-map): Add doc string.
6182
6183 * custom.el (x-get-resource): Declare.
6184
6185 * eshell/em-glob.el (ange-cache):
6186 * eshell/em-unix.el (ange-cache): Declare.
6187
6188 * faces.el (x-display-list, x-open-connection, x-get-resource):
6189 Declare.
6190
6191 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6192 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6193 Declare.
6194
6195 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6196
6197 * net/gnutls.el (gnutls-log-level): Declare.
6198
6199 * net/shr.el (image-size, image-animate): Declare.
6200
6201 * simple.el (font-info): Declare.
6202
6203 * subr.el (x-popup-dialog): Declare.
6204
6205 * term/common-win.el (x-select-enable-primary)
6206 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6207 Declare.
6208
6209 * term/ns-win.el (x-handle-args): Declare.
6210
6211 * term/x-win.el (x-select-enable-clipboard): Declare.
6212
6213 * term/w32-win.el (create-default-fontset): Declare.
6214
6215 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6216 Declare.
6217
6218 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6219 (fit-frame-to-buffer): Explicit error if --without-x.
6220 (mouse-autoselect-window-select): Silence compiler.
6221
6222 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6223
6224 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6225 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6226 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6227 * eshell/esh-util.el (eshell-sublist):
6228 Remove unused local variables.
6229
6230 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6231
6232 * textmodes/two-column.el: Make 2C-split work for --without-x.
6233 (scroll-bar-columns): Autoload.
6234 (top-level): Require fringe when compiling.
6235
6236 2013-09-18 Leo Liu <sdl.web@gmail.com>
6237
6238 * subr.el (add-hook): Robustify to handle closure as well.
6239
6240 2013-09-17 Glenn Morris <rgm@gnu.org>
6241
6242 * simple.el (messages-buffer-mode-map): Unbind "g".
6243
6244 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * help-mode.el (help-mode-finish): Use derived-mode-p.
6247 Remove obsolete highlighting.
6248
6249 * play/life.el (life-mode): Use define-derived-mode. Derive from
6250 special-mode.
6251 (life): Let-bind inhibit-read-only.
6252 (life-setup): Avoid `setq'. Use `life-mode'.
6253
6254 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6255 which should not be needed any more.
6256 (package-menu-refresh, package-menu-describe-package): Use user-error.
6257
6258 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6259 (eshell-post-rewrite-command-hook): Make obsolete.
6260 (eshell-parse-command): Simplify.
6261 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6262 (eshell--cmd): Declare.
6263 (eshell-parse-pipeline): Remove unused var `final-p'.
6264 Pass a dynvar to eshell-post-rewrite-command-hook.
6265 Implement the new eshell-post-rewrite-command-function.
6266 (eshell-invoke-directly): Remove unused arg `input'.
6267 * eshell/esh-io.el (eshell-io-initialize):
6268 Use eshell-post-rewrite-command-function (bug#15399).
6269 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6270 adjust to new calling convention.
6271 (eshell-create-handles): Rename args to avoid clashing with dynvar
6272 `standard-output'.
6273
6274 2013-09-17 Glenn Morris <rgm@gnu.org>
6275
6276 * simple.el (messages-buffer-mode): New major mode.
6277 (messages-buffer): New function.
6278 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6279 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6280 (ert-run-test): Use `messages-buffer' function.
6281 (ert--force-message-log-buffer-truncation): Ignore read-only.
6282 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6283 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6284
6285 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6288
6289 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6290
6291 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * icomplete.el (icomplete-in-buffer): New var.
6294 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6295 vars and replace them with functions.
6296 (icomplete-minibuffer-setup): Adjust accordingly.
6297 (icomplete--completion-table, icomplete--completion-predicate)
6298 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6299 New functions.
6300 (icomplete-forward-completions, icomplete-backward-completions)
6301 (icomplete-simple-completing-p, icomplete-exhibit)
6302 (icomplete-completions): Use them.
6303 (icomplete--in-region-buffer): New var.
6304 (icomplete--in-region-setup): New function.
6305 (icomplete-mode): Use it.
6306
6307 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6308 (bug#15379).
6309 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6310 return args and options.
6311 (eshell-eval-using-options): Use the new return value of
6312 eshell--do-opts to set the options's vars in their scope.
6313 (eshell--set-option): Rename from eshell-set-option.
6314 Add arg `opt-vals'.
6315 (eshell--process-option): Rename from eshell-process-option.
6316 Add arg `opt-vals'.
6317 (eshell--process-args): Use an `opt-vals' alist to store the options's
6318 values during their processing and return them additionally to the
6319 remaining args.
6320
6321 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6322
6323 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6324 continuation character an operator, as far as indentation is
6325 concerned (Bug#15369).
6326
6327 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6328
6329 * window.el (window--state-put-2): Don't process buffer state
6330 when buffer doesn't exist any more (Bug#15382).
6331
6332 2013-09-15 Glenn Morris <rgm@gnu.org>
6333
6334 * eshell/em-unix.el (eshell/rm):
6335 Make -f ignore missing files. (Bug#15373)
6336
6337 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6338 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6339 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6340
6341 2013-09-14 Glenn Morris <rgm@gnu.org>
6342
6343 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6344
6345 2013-09-13 Glenn Morris <rgm@gnu.org>
6346
6347 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6348 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6349
6350 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6351
6352 * frame.el (x-focus-frame): Mark as declared in frame.c.
6353
6354 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * ls-lisp.el: Use advice-add.
6357 (original-insert-directory): Remove.
6358 (ls-lisp--insert-directory): Rename from insert-directory; add
6359 `orig-fun' argument.
6360 (insert-directory): Advise.
6361
6362 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6363
6364 * term.el (term-emulate-terminal): Decode the command string
6365 before passing it to term-command-hook. (Bug#15337)
6366
6367 2013-09-13 Glenn Morris <rgm@gnu.org>
6368
6369 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6370
6371 * eshell/esh-ext.el (eshell-search-path): Declare.
6372
6373 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6374 Otherwise an error occurs if eshell-dirs module not loaded.
6375
6376 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6377
6378 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6379
6380 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6381 `tramp-check-proper-host'. Check for a valid method name.
6382
6383 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6384 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6385 * net/tramp-sh.el (tramp-maybe-open-connection):
6386 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6387
6388 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6389 also for hash values.
6390
6391 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * term/ns-win.el (parameters): Don't declare as dynamic.
6394 (before-make-frame-hook): Don't add ineffective function.
6395
6396 * eshell/*.el: Use lexical-binding (bug#15231).
6397
6398 2013-09-12 Kenichi Handa <handa@gnu.org>
6399
6400 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6401
6402 2013-09-12 Glenn Morris <rgm@gnu.org>
6403
6404 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6405 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6406
6407 * subr.el (do-after-load-evaluation): Also give compiler warnings
6408 when obsolete files are used (except by obsolete files).
6409
6410 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6411 in the status output, assume `filename' is the first. (Bug#15322)
6412
6413 * vc/vc.el (vc-deduce-fileset): Doc fix.
6414
6415 * calc/calc-help.el (Info-goto-node):
6416 * progmodes/cperl-mode.el (Info-find-node):
6417 * vc/ediff.el (Info-goto-node): Update declarations.
6418
6419 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6420
6421 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6422 (vc-bzr-pull): Require vc-dispatcher.
6423 * vc/vc-git.el (vc-compilation-mode): Declare.
6424 (vc-git-pull): Require vc-dispatcher.
6425
6426 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6427
6428 * progmodes/octave.el (help-button-action): Declare.
6429
6430 * shell.el (shell-directory-tracker): Output error as a message
6431 rather than just returning it as a string.
6432 (shell-process-pushd): Remove useless use of message.
6433
6434 * dframe.el (dframe-timer-fn):
6435 * files.el (dir-locals-read-from-file):
6436 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6437 (mpc-format):
6438 * reveal.el (reveal-post-command):
6439 * saveplace.el (load-save-place-alist-from-file):
6440 * shell.el (shell-resync-dirs):
6441 * w32-common-fns.el (x-get-selection-value):
6442 * emacs-lisp/copyright.el (copyright-find-copyright):
6443 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6444 * emulation/tpu-edt.el (tpu-copy-keyfile):
6445 * play/bubbles.el (bubbles--mark-neighbourhood):
6446 * progmodes/executable.el
6447 (executable-make-buffer-file-executable-if-script-p):
6448 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6449
6450 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 Cleanup Eshell to rely less on dynamic scoping.
6453 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6454 last-value, and ext-command here. Bind `args' closer to `body'.
6455 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6456 (eshell--args): Declare new dynamic var.
6457 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6458 last-value, and ext-command. Pass `args' to `body'.
6459 (eshell-process-args): Bind eshell--args.
6460 (eshell-set-option): Use eshell--args.
6461 * eshell/eshell.el (eshell): Use derived-mode-p.
6462 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6463 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6464 (eshell-glob-function): Declare.
6465 * eshell/esh-util.el: Require cl-lib.
6466 (eshell-read-hosts-file): Avoid add-to-list.
6467 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6468 `err'.
6469 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6470 Declare.
6471 (eshell/diff): Remove unused var `err'.
6472 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6473 `killflag'.
6474 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6475 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6476 first use.
6477 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6478 Move declaration before first use.
6479 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6480 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6481 rely on cl-return.
6482
6483 2013-09-12 Glenn Morris <rgm@gnu.org>
6484
6485 * term/ns-win.el (global-map): Remove binding for ispell-next,
6486 deleted 1999-05-29. (Bug#15357)
6487
6488 2013-09-11 Glenn Morris <rgm@gnu.org>
6489
6490 * echistory.el (electric-command-history): Remove call to deleted func.
6491
6492 * play/landmark.el (landmark-mode): Fix typos.
6493
6494 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6495 Check cvs-sort-ignore-file is bound.
6496
6497 * savehist.el: No need for cl when compiling on Emacs.
6498
6499 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6502 (bug#15338).
6503 (eshell-self-insert-command, eshell-send-invisible):
6504 Remove unused argument.
6505 (eshell-handle-control-codes): Remove unused var `orig'.
6506 Avoid delete-backward-char.
6507
6508 * files.el (set-auto-mode): Simplify a bit further.
6509
6510 2013-09-11 Glenn Morris <rgm@gnu.org>
6511
6512 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6513 (set-auto-mode): Don't regexp-quote elements.
6514 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6515 * progmodes/cc-mode.el (interpreter-mode-alist):
6516 * progmodes/ruby-mode.el (interpreter-mode-alist):
6517 Revert previous change.
6518
6519 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * play/snake.el (snake-mode):
6522 * play/mpuz.el (mpuz-mode):
6523 * play/landmark.el (lm-mode):
6524 * play/blackbox.el (blackbox-mode):
6525 * play/5x5.el (5x5-mode):
6526 * obsolete/options.el (Edit-options-mode):
6527 * net/quickurl.el (quickurl-list-mode):
6528 * net/newst-treeview.el (newsticker-treeview-mode):
6529 * mail/rmailsum.el (rmail-summary-mode):
6530 * mail/mspools.el (mspools-mode):
6531 * locate.el (locate-mode):
6532 * ibuffer.el (ibuffer-mode):
6533 * emulation/ws-mode.el (wordstar-mode):
6534 * emacs-lisp/debug.el (debugger-mode):
6535 * array.el (array-mode):
6536 * net/eudc.el (eudc-mode): Use define-derived-mode.
6537 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6538 Move initialization into declaration.
6539 (mairix-searches-mode): Use define-derived-mode.
6540 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6541 (eudc-edit-hotlist): Use dolist.
6542 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6543 (Man-mode): Use define-derived-mode.
6544 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6545 (Info-edit-mode): Use define-derived-mode.
6546 (Info-cease-edit): Use Info-mode.
6547 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6548 into declaration.
6549 (eshell-mode): Use define-derived-mode.
6550 * chistory.el (command-history-mode-map): Rename from
6551 command-history-map.
6552 (command-history-mode): Use define-derived-mode.
6553 (Command-history-setup): Remove function.
6554 * calc/calc.el (calc-trail-mode-map): New var.
6555 (calc-trail-mode): Use define-derived-mode.
6556 (calc-trail-buffer): Set calc-main-buffer manually.
6557 * bookmark.el (bookmark-insert-annotation): New function.
6558 (bookmark-edit-annotation): Use it.
6559 (bookmark-edit-annotation-mode): Make it a proper major mode.
6560 (bookmark-send-edited-annotation): Use derived-mode-p.
6561 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6562 closer to its ideal place. Use \' to match EOS.
6563
6564 * profiler.el (profiler-calltree-find): Use function-equal.
6565
6566 2013-09-10 Glenn Morris <rgm@gnu.org>
6567
6568 * files.el (interpreter-mode-alist): Convert to regexps.
6569 (set-auto-mode): Adapt for this. (Bug#15306)
6570 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6571 Comment out unused variable.
6572 * progmodes/cc-mode.el (interpreter-mode-alist):
6573 * progmodes/python.el (interpreter-mode-alist):
6574 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6575 * progmodes/sh-script.el (sh-set-shell):
6576 No longer use interpreter-mode-alist to get list of shells.
6577
6578 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6579
6580 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * simple.el: Use set-temporary-overlay-map for universal-argument.
6583 (universal-argument-map): Don't use default-bindings (bug#15317).
6584 Bind switch-frame explicitly. Replace universal-argument-minus with
6585 a conditional binding.
6586 (universal-argument-num-events, saved-overriding-map): Remove.
6587 (restore-overriding-map): Remove.
6588 (universal-argument--mode): Rename from save&set-overriding-map,
6589 and rewrite.
6590 (universal-argument, universal-argument-more, negative-argument)
6591 (digit-argument): Adjust accordingly.
6592 (universal-argument-minus): Remove.
6593 (universal-argument-other-key): Remove.
6594
6595 * subr.el (with-demoted-errors): Add `format' argument.
6596
6597 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6598
6599 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6600 `tramp-cleanup-connection'.
6601
6602 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6603 parameters KEEP-DEBUG and KEEP-PASSWORD.
6604
6605 * net/tramp.el (tramp-file-name-handler):
6606 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6607 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6608 (tramp-maybe-open-connection):
6609 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6610 Use `tramp-cleanup-connection'.
6611
6612 * net/tramp-sh.el (tramp-maybe-open-connection):
6613 Catch 'uname-changed inside the progress reporter.
6614
6615 2013-09-10 Glenn Morris <rgm@gnu.org>
6616
6617 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6618
6619 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6620 returns "alternate access method" in mode (eg "-rw-r--r--.").
6621
6622 2013-09-08 Glenn Morris <rgm@gnu.org>
6623
6624 * saveplace.el (load-save-place-alist-from-file):
6625 Demote errors. (Bug#15305)
6626
6627 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6628
6629 Improve compatibility with older Emacsen, and XEmacs.
6630
6631 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6632 only if it is bound. It isn't for XEmacs.
6633 (with-tramp-progress-reporter): Do not let-bind `result'.
6634 This yields to scoping errors in XEmacs.
6635 (tramp-handle-make-auto-save-file-name): New function, moved from
6636 tramp-sh.el.
6637
6638 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6639 for `make-auto-save-file-name'.
6640 (tramp-adb--gnu-switches-to-ash):
6641 Use `tramp-compat-replace-regexp-in-string'.
6642
6643 * net/tramp-cache.el (tramp-cache-print): Call
6644 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6645
6646 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6647 bound. It isn't for XEmacs.
6648
6649 * net/tramp-compat.el (tramp-compat-copy-file):
6650 Catch `wrong-number-of-arguments' error.
6651 (tramp-compat-replace-regexp-in-string): New defun.
6652
6653 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6654 for `make-auto-save-file-name'.
6655 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6656 `copy-file'.
6657 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6658 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6659 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6660
6661 * net/tramp-gw.el (tramp-gw-open-network-stream):
6662 Use `tramp-compat-replace-regexp-in-string'.
6663
6664 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6665 Call `tramp-handle-make-auto-save-file-name'.
6666 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6667 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6668 (tramp-sh-file-inotifywait-process-filter):
6669 Use `tramp-compat-replace-regexp-in-string'.
6670 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6671
6672 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6673 for `make-auto-save-file-name'.
6674 (tramp-smb-handle-copy-directory):
6675 Call `tramp-compat-replace-regexp-in-string'.
6676 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6677 (tramp-smb-handle-copy-file): Improve error message.
6678 (tramp-smb-handle-rename-file): Rename directly only in case
6679 `newname' does not exist yet. This is a restriction of smbclient.
6680 (tramp-smb-maybe-open-connection): Rerun the function only when
6681 `auth-sources' is non-nil.
6682
6683 2013-09-08 Kenichi Handa <handa@gnu.org>
6684
6685 * international/characters.el: Set category "^" (Combining) for
6686 more characters.
6687
6688 2013-09-07 Alan Mackenzie <acm@muc.de>
6689
6690 Correctly fontify Java class constructors.
6691 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6692 in Java Mode.
6693 (c-recognize-typeless-decls): Set the Java value to t.
6694 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6695 While handling a "(", add a check for, effectively, Java, and handle a
6696 "typeless" declaration there.
6697
6698 2013-09-07 Roland Winkler <winkler@gnu.org>
6699
6700 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6701 field subtitle for entry type book.
6702
6703 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * minibuffer.el: Make minibuffer-complete call completion-in-region
6706 rather than other way around.
6707 (completion--some, completion-pcm--find-all-completions):
6708 Don't delay signals when debugging.
6709 (minibuffer-completion-contents): Beware fields within the
6710 minibuffer contents.
6711 (completion-all-sorted-completions): Use defvar-local.
6712 (completion--do-completion, completion--cache-all-sorted-completions)
6713 (completion-all-sorted-completions, minibuffer-force-complete):
6714 Add args `beg' and `end'.
6715 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6716 (minibuffer-complete): Use completion-in-region.
6717 (completion-complete-and-exit): New fun, extracted from
6718 minibuffer-complete-and-exit.
6719 (minibuffer-complete-and-exit): Use it.
6720 (completion--complete-and-exit): Rename from
6721 minibuffer--complete-and-exit.
6722 (completion-in-region--single-word): New function, extracted from
6723 minibuffer-complete-word.
6724 (minibuffer-complete-word): Use it.
6725 (display-completion-list): Make `common-substring' argument obsolete.
6726 (completion--in-region): Call completion--in-region-1 instead of
6727 minibuffer-complete.
6728 (completion-help-at-point): Pass boundaries to
6729 minibuffer-completion-help as args rather than via an overlay.
6730 (completion-pcm--string->pattern): Use `any-delim'.
6731 (completion-pcm--optimize-pattern): New function.
6732 (completion-pcm--pattern->regex): Handle `any-delim'.
6733 * icomplete.el (icomplete-forward-completions)
6734 (icomplete-backward-completions, icomplete-completions):
6735 Adjust calls to completion-all-sorted-completions and
6736 completion--cache-all-sorted-completions.
6737 (icomplete-with-completion-tables): Default to t.
6738 * emacs-lisp/crm.el (crm--current-element): Rename from
6739 crm--select-current-element. Don't put an overlay but return the
6740 boundaries instead.
6741 (crm--completion-command): Take two new args to bind to the boundaries.
6742 (crm-completion-help): Adjust accordingly.
6743 (crm-complete): Use completion-in-region.
6744 (crm-complete-word): Use completion-in-region--single-word.
6745 (crm-complete-and-exit): Use completion-complete-and-exit.
6746
6747 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6748
6749 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6750 than dynamically.
6751
6752 2013-09-06 Juri Linkov <juri@jurta.org>
6753
6754 * info.el (Info-display-images-node): When image file doesn't exist
6755 display text version of the image if it's provided in the Info file.
6756 Otherwise, display the location of missing image from SRC attribute.
6757 Add help-echo text property from ALT attribute. (Bug#15279)
6758
6759 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6762 (edit-abbrevs-mode): Use define-derived-mode.
6763
6764 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6765 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6766 that it's defined.
6767 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6768 Use define-derived-mode.
6769
6770 * epg.el (epg-start-encrypt): Minor CSE simplification.
6771
6772 2013-09-06 William Xu <william.xwl@gmail.com>
6773
6774 * arc-mode.el: Add support for 7za (bug#15264).
6775 (archive-7z-program): New var.
6776 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6777 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6778 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6779
6780 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6781
6782 Remove URL syntax.
6783
6784 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6785 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6786 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6787 (tramp-postfix-host-format, tramp-file-name-regexp)
6788 (tramp-completion-file-name-regexp)
6789 (tramp-completion-dissect-file-name)
6790 (tramp-handle-substitute-in-file-name): Remove 'url case.
6791 (tramp-file-name-regexp-url)
6792 (tramp-completion-file-name-regexp-url): Remove constants.
6793
6794 2013-09-06 Glenn Morris <rgm@gnu.org>
6795
6796 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6797
6798 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6799
6800 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6801 keywords" below "here-doc beginnings" (Bug#15270).
6802
6803 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * subr.el (pop): Use `car-safe'.
6806 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6807 to detect unused `pop' return value.
6808
6809 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6810 var `block-regexp'.
6811 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6812 (python-fill-string): Remove unused var `marker'.
6813 (python-skeleton-add-menu-items): Remove unused var `items'.
6814
6815 * international/mule-cmds.el: Require CL.
6816 (find-coding-systems-for-charsets): Avoid add-to-list.
6817 (sanitize-coding-system-list): New function, extracted from
6818 select-safe-coding-system-interactively.
6819 (select-safe-coding-system-interactively): Use it.
6820 (read-input-method-name): Accept symbols for `default'.
6821
6822 * emacs-lisp/advice.el (defadvice): Add indent rule.
6823
6824 2013-09-05 Daniel Hackney <dan@haxney.org>
6825
6826 * dired-x.el:
6827 * net/ange-ftp.el:
6828 * net/browse-url.el:
6829 * net/dbus.el:
6830 * net/eudc.el:
6831 * net/eudcb-ldap.el:
6832 * net/eww.el:
6833 * net/imap.el:
6834 * printing.el:
6835 * vc/ediff-diff.el:
6836 * vc/ediff-init.el:
6837 * vc/ediff-merg.el:
6838 * vc/ediff-mult.el:
6839 * vc/ediff-util.el:
6840 * vc/ediff-wind.el:
6841 * vc/ediff.el:
6842 * vc/emerge.el:
6843 * vc/pcvs.el:
6844 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6845 byte compiler. Remove some unused let-bound variables.
6846
6847 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6848
6849 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6850 a "ref-cell", since it gets better optimized (bug#14883).
6851
6852 2013-09-05 Glenn Morris <rgm@gnu.org>
6853
6854 * progmodes/cc-awk.el (c-forward-sws): Declare.
6855
6856 2013-09-04 Glenn Morris <rgm@gnu.org>
6857
6858 * generic-x.el [rul-generic-mode]: Require cc-mode.
6859 (c++-mode-syntax-table): Declare.
6860 (rul-generic-mode-syntax-table): Init in the defvar.
6861
6862 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6863
6864 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6865 (vc-do-command, vc-set-async-update):
6866 * vc/vc-mtn.el (vc-mtn-dir-status):
6867 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6868 (vc-hg-pull, vc-hg-merge-branch):
6869 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6870 (vc-git-merge-branch):
6871 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6872 (vc-cvs-dir-status-files):
6873 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6874 (vc-bzr-dir-status-files):
6875 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6876 * vc/vc-annotate.el: Use lexical-binding.
6877 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6878 (vc-sentinel-movepoint): Declare.
6879 (vc-annotate): Don't use `goto-line'.
6880 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6881 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6882 (vc-sentinel-movepoint): Declare.
6883 * vc/vc-svn.el: Use lexical-binding.
6884 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6885 * vc/vc-sccs.el:
6886 * vc/vc-rcs.el: Use lexical-binding.
6887
6888 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6889 `deleted'. Don't drop errors silently.
6890
6891 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6892
6893 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6894
6895 * vc/vc.el (vc-ignore): Rewrite.
6896 (vc-default-ignore): New function.
6897 (vc-default-ignore-completion-table): Use find-ignore-file.
6898
6899 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6900 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6901 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6902 Remove. Most code moved to vc.el.
6903
6904 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6907 * net/tramp-smb.el (tramp-smb-get-file-entries):
6908 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6909 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6910
6911 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6912 Update call to it.
6913 (eww-change-select): Remove unused var `properties'.
6914 (eww-make-unique-file-name): Remove unused var `base'.
6915
6916 * finder.el (finder-compile-keywords): Don't mess with windows.
6917
6918 * calculator.el (calculator-funcall): Fix typo in last change.
6919
6920 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6921
6922 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6923 <pkg>-autoloads.el file stop us.
6924
6925 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6926 warnings, and factor out common code.
6927
6928 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6929
6930 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6931 two-character operators and whether the character preceding them
6932 changes their meaning (Bug#15208).
6933
6934 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6935
6936 Format code sent to Python shell for robustness.
6937 * progmodes/python.el (python-shell-buffer-substring):
6938 New function.
6939 (python-shell-send-region, python-shell-send-buffer): Use it.
6940
6941 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6942
6943 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6944 * net/tramp.el (tramp-user-error): ... here.
6945 (tramp-find-method, tramp-check-proper-host)
6946 (tramp-dissect-file-name, tramp-debug-message)
6947 (tramp-handle-shell-command):
6948 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6949 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6950
6951 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6952
6953 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6954
6955 * avoid.el (mouse-avoidance-point-position)
6956 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6957 returns nil.
6958
6959 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6960
6961 * progmodes/python.el (python-shell-completion-get-completions):
6962 Drop use of deleted `comint-last-prompt-overlay'.
6963 (python-nav-if-name-main): New command.
6964
6965 2013-09-01 Glenn Morris <rgm@gnu.org>
6966
6967 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6968 Avoid leading space in $wins. Otherwise the sed command used by
6969 eg compile-main ends up containing "/*.el". (Bug#15170)
6970
6971 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6972
6973 2013-08-30 Glenn Morris <rgm@gnu.org>
6974
6975 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6976 Fix is-this-a-directory logic. (Bug#15220)
6977
6978 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * textmodes/css-mode.el: Use SMIE.
6981 (css-smie-grammar): New var.
6982 (css-smie--forward-token, css-smie--backward-token)
6983 (css-smie-rules): New functions.
6984 (css-mode): Use them.
6985 (css-navigation-syntax-table): Remove var.
6986 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6987 (css-indent-calculate, css-indent-line): Remove functions.
6988
6989 Misc changes to reduce use of `(lambda...); and other cleanups.
6990 * cus-edit.el: Use lexical-binding.
6991 (customize-push-and-save, customize-apropos)
6992 (custom-buffer-create-internal): Use closures.
6993 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6994 * progmodes/ada-xref.el: Use setq.
6995 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6996 * dframe.el: Use lexical-binding.
6997 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6998 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6999 * descr-text.el: Use lexical-binding.
7000 (describe-text-widget, describe-text-sexp, describe-property-list):
7001 Use closures.
7002 * comint.el (comint-history-isearch-push-state): Use a closure.
7003 * calculator.el: Use lexical-binding.
7004 (calculator-number-to-string): Make it work with lexical-binding.
7005 (calculator-funcall): Same and use cl-letf.
7006
7007 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7008 (lisp--company-doc-string, lisp--company-location): New functions.
7009 (lisp-completion-at-point): Use them to improve Company support.
7010
7011 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7012 params of lambda expressions.
7013 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7014 (ruby-smie--opening-pipe-p): New function.
7015 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7016 symbols and matched |...| for formal params.
7017 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7018 from being treated as hanging. Handle "rescue".
7019
7020 2013-08-29 Glenn Morris <rgm@gnu.org>
7021
7022 * progmodes/cc-engine.el (c-pull-open-brace):
7023 Move definition before use.
7024
7025 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7028 are immutable. Don't use `unsafe' any more.
7029 (cl--defsubst-expand): Don't substitute at the same time as keeping
7030 a residual unused let-binding. Don't use `unsafe' any more.
7031
7032 2013-08-29 Glenn Morris <rgm@gnu.org>
7033
7034 * calendar/cal-china.el (calendar-chinese-year-cache):
7035 Recenter on 2015.
7036
7037 * nxml/nxml-util.el (nxml-debug-clear-inside):
7038 Use cl-loop rather than loop.
7039
7040 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7041
7042 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7043
7044 2013-08-28 Glenn Morris <rgm@gnu.org>
7045
7046 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7047
7048 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7049
7050 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7051
7052 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7053
7054 * simple.el (repeat-complex-command--called-interactively-skip):
7055 New function.
7056 (repeat-complex-command): Use it (bug#14136).
7057
7058 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7059 (c-define-abbrev-table): Add `doc' argument.
7060 (c-mode-abbrev-table, c++-mode-abbrev-table)
7061 (objc-mode-abbrev-table, java-mode-abbrev-table)
7062 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7063 (awk-mode-abbrev-table): Use it.
7064 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7065 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7066 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7067 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7068 Move initialization into the declaration; and remove any
7069 autoload cookie.
7070
7071 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7072 and dynamic let binding.
7073
7074 * vc/smerge-mode.el: Remove redundant :group args.
7075
7076 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7077 to load-path.
7078
7079 2013-08-28 Juri Linkov <juri@jurta.org>
7080
7081 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7082 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7083 (isearch-other-meta-char): Handle an undefined shifted printing
7084 character by downshifting it. (Bug#15200)
7085
7086 2013-08-28 Juri Linkov <juri@jurta.org>
7087
7088 * isearch.el (isearch-search): Change regexp error message for
7089 non-regexp searches. (Bug#15166)
7090
7091 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7092
7093 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7094 for portability to hosts where /bin/sh has problems.
7095
7096 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7099
7100 2013-08-27 Juri Linkov <juri@jurta.org>
7101
7102 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7103 in the keyboard macro. (Bug#15126)
7104
7105 2013-08-27 Juri Linkov <juri@jurta.org>
7106
7107 * isearch.el (isearch-quote-char): Comment out converting unibyte
7108 to multibyte, thus syncing with its `quoted-insert' counterpart.
7109 (Bug#15166)
7110
7111 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7112
7113 * window.el (display-buffer-use-some-window): Add missing
7114 argument in call of get-largest-window (Bug#15185).
7115 Reported by Stephen Leake.
7116
7117 2013-08-27 Glenn Morris <rgm@gnu.org>
7118
7119 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7120
7121 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7124 from a matcher-function unless there's no more matches (bug#15161).
7125
7126 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7127
7128 * minibuffer.el: Revert change from 2013-08-20.
7129
7130 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7131 with text property `tramp-default', if appropriate.
7132 (tramp-check-proper-host): New defun.
7133 (tramp-dissect-file-name): Do not check hostname. Revert change
7134 of 2013-03-18.
7135 (tramp-backtrace): Make VEC-OR-PROC optional.
7136
7137 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7138 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7139 * net/tramp-sh.el (tramp-maybe-open-connection):
7140 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7141 Apply `tramp-check-proper-host'.
7142
7143 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7144
7145 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7146 lambda expression in order to have `describe-variable' display it.
7147
7148 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7149
7150 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7151 BUF can be optional. (Bug#15186)
7152
7153 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7154
7155 * progmodes/flymake.el (flymake-get-real-file-name-function):
7156 Fix broken customization. (Bug#15184)
7157
7158 2013-08-25 Alan Mackenzie <acm@muc.de>
7159
7160 Improve indentation of bracelists defined by macros (without "=").
7161
7162 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7163 expansion begins with "{", regard it as bracelist when it doesn't
7164 contain a ";".
7165
7166 Parse C++ inher-intro when there's a template split over 2 lines.
7167
7168 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7169 rigorously the search for "class" etc. followed by ":".
7170
7171 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7172 random languages a regexp which never matches rather than nil.
7173
7174 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7175
7176 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7177 (c-awk-regexp-one-line-possibly-open-char-list-re)
7178 (c-awk-one-line-possibly-open-regexp-re)
7179 (c-awk-one-line-non-syn-ws*-re): Remove.
7180 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7181 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7182 (c-awk-space*-unclosed-regexp-/-re): New constants.
7183 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7184 aren't regexp delimiters.
7185
7186 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7187 handling for a rare situation in AWK Mode involving unterminated
7188 strings/regexps.
7189
7190 2013-08-23 Glenn Morris <rgm@gnu.org>
7191
7192 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7193
7194 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7195
7196 * files.el (create-file-buffer): If the result would begin with
7197 spaces, prepend a "|" instead of removing them. (Bug#15162)
7198
7199 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7202 text-properties (bug#15155).
7203
7204 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7205 exist any more.
7206 (calc-keypad-redraw): Remove unused var `pad'.
7207 (calc-keypad-press): Remove unused var `menu'.
7208
7209 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7210
7211 * window.el (display-buffer-pop-up-frame):
7212 Call pop-up-frame-function with BUFFER current so `make-frame' will
7213 use it as the new frame's buffer (Bug#15133).
7214
7215 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 * calendar/timeclock.el: Minor cleanups.
7218 (timeclock-ask-before-exiting, timeclock-use-display-time):
7219 Use `symbol'.
7220 (timeclock-modeline-display): Define as alias before the
7221 actual definition.
7222 (timeclock-mode-line-display): Use define-minor-mode.
7223 (timeclock-day-list-template): Make it a function, add an argument.
7224 (timeclock-day-list-required, timeclock-day-list-length)
7225 (timeclock-day-list-debt, timeclock-day-list-span)
7226 (timeclock-day-list-break): Adjust calls accordingly.
7227
7228 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7231 Use read--expression so that completion works again.
7232
7233 2013-08-21 Sam Steingold <sds@gnu.org>
7234
7235 Add rudimentary inferior shell interaction
7236 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7237 (sh-set-shell): Reset it.
7238 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7239 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7240
7241 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 * align.el: Use lexical-binding.
7244 (align-region): Simplify accordingly.
7245
7246 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7247
7248 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7249
7250 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7251 `non-essential' up.
7252
7253 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7254
7255 * net/tramp.el:
7256 * net/tramp-adb.el:
7257 * net/tramp-cmds.el:
7258 * net/tramp-ftp.el:
7259 * net/tramp-gvfs.el:
7260 * net/tramp-gw.el:
7261 * net/tramp-sh.el: Don't wrap external variable declarations by
7262 `eval-when-compile'.
7263
7264 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7265
7266 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7267 now that Emacs supports ImageMagick animations.
7268
7269 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7270
7271 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7272 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7273
7274 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7275
7276 * window.el (mouse-autoselect-window-select): Do autoselect when
7277 mouse pointer is on margin.
7278
7279 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7280
7281 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7282
7283 2013-08-16 Glenn Morris <rgm@gnu.org>
7284
7285 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7286 Handle "Remote Directory" response of some clients. (Bug#15058)
7287
7288 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7289 Tweak warning. (Bug#14926)
7290
7291 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7292 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7293
7294 * image-mode.el (image-mode-map): Add menu items to reverse,
7295 increase, decrease, reset animation speed.
7296 (image--set-speed, image-increase-speed, image-decrease-speed)
7297 (image-reverse-speed, image-reset-speed): New functions.
7298 (image-mode-map): Add bindings for speed commands.
7299
7300 * image.el (image-animate-get-speed, image-animate-set-speed):
7301 New functions.
7302 (image-animate-timeout): Respect image :speed property.
7303
7304 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7305
7306 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7307 previous line (bug#15101).
7308 (debugger-eval-expression, debugger-record-expression):
7309 Use read--expression (bug#15102).
7310
7311 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7312
7313 Remove byte compiler warnings, visible when compiling with
7314 `byte-compile-force-lexical-warnings' set to t.
7315
7316 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7317 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7318 (tramp-handle-unhandled-file-name-directory)
7319 (tramp-handle-file-notify-add-watch, tramp-action-login)
7320 (tramp-action-succeed, tramp-action-permission-denied)
7321 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7322 arguments with "_".
7323
7324 * net/tramp-adb.el (tramp-adb-parse-device-names)
7325 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7326 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7327 (tramp-adb-handle-file-truename): Remove unused arguments.
7328
7329 * net/tramp-cache.el (tramp-flush-directory-property)
7330 (tramp-flush-connection-property, tramp-list-connections)
7331 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7332
7333 * net/tramp-compat.el (tramp-compat-make-temp-file):
7334 Rename FILENAME to F.
7335
7336 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7337 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7338 (tramp-zeroconf-parse-workstation-device-names)
7339 (tramp-zeroconf-parse-webdav-device-names)
7340 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7341
7342 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7343 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7344
7345 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7346 arguments.
7347 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7348 (tramp-sh-handle-insert-file-contents-literally)
7349 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7350 with "_".
7351 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7352 Remove unused variables.
7353
7354 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7355 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7356 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7357
7358 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7359 Make them a defconst.
7360 (tramp-uuencode-region): Remove unused variable.
7361
7362 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7363
7364 * frameset.el (frameset--prop-setter): New function.
7365 (frameset-prop): Add gv-setter declaration.
7366 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7367 parameter was already set in FILTERED. Doc fix.
7368 (frameset--record-minibuffer-relationships): Allow saving a
7369 minibufferless frame without its corresponding minibuffer frame.
7370 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7371 frame, if the frame id matches.
7372 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7373 frames before orphaned ones.
7374 (frameset-restore): Warn about orphaned windows, instead of error out.
7375
7376 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7377
7378 * window.el (window-make-atom): Don't overwrite parameter
7379 already present.
7380 (display-buffer-in-atom-window): Handle special case where we
7381 split an already atomic window.
7382 (window--major-non-side-window, display-buffer-in-side-window)
7383 (window--side-check): Ignore minibuffer window when walking
7384 window tree.
7385 (window-deletable-p): Return 'frame only if no other frame uses
7386 our minibuffer window.
7387 (record-window-buffer): Run buffer-list-update-hook.
7388 (split-window): Make sure window--check-frame won't destroy an
7389 existing atomic window in case the new window gets nested
7390 inside.
7391 (display-buffer-at-bottom): Ignore minibuffer window when
7392 walking window tree. Don't split a side window.
7393 (pop-to-buffer): Don't set-buffer here, the select-window call
7394 should do that.
7395 (mouse-autoselect-window-select): Autoselect only if we are in the
7396 text portion of the window.
7397
7398 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7399
7400 * net/shr.el (shr-parse-image-data): New function to grab both the
7401 data itself and the Content-Type.
7402 (shr-put-image): Use it.
7403
7404 * net/eww.el (eww-display-image): Ditto.
7405
7406 * image.el (image-content-type-suffixes): New variable.
7407
7408 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7409
7410 * progmodes/python.el (python-imenu--build-tree)
7411 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7412
7413 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7414
7415 * simple.el (backward-word): Mention the optional argument.
7416
7417 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7418
7419 * frameset.el (frameset--make): Rename constructor from make-frameset.
7420 (frameset-p, frameset-valid-p): Don't autoload.
7421 (frameset-valid-p): Use normal accessors.
7422
7423 2013-08-13 Glenn Morris <rgm@gnu.org>
7424
7425 * progmodes/compile.el (compile-command): Tweak example in doc.
7426 * obsolete/scribe.el (scribe-mode):
7427 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7428
7429 * mail/feedmail.el (feedmail-confirm-outgoing)
7430 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7431
7432 * cus-start.el (truncate-partial-width-windows): Fix type.
7433
7434 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7435
7436 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7437
7438 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * emacs-lisp/timer.el (timer--time-setter): New function.
7441 (timer--time): Use it as gv-setter.
7442
7443 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7444 setter is not a symbol.
7445
7446 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7447
7448 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7449 if sending fails. This makes debugging easier.
7450
7451 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7452
7453 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7454 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7455 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7456
7457 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7458
7459 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7460
7461 2013-08-12 Glenn Morris <rgm@gnu.org>
7462
7463 * format.el (format-annotate-function):
7464 Handle read-only text properties in the source. (Bug#14887)
7465
7466 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7467
7468 * net/eww.el (eww-display-html): Ignore coding system errors.
7469 One web site uses "utf-8lias" as the coding system.
7470
7471 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7472
7473 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7474
7475 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7476
7477 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7478 (tutorial--detailed-help): Remove unused local variables.
7479 (tutorial--save-tutorial-to): Use ignore-errors.
7480 (help-with-tutorial): Use looking-at-p.
7481
7482 * view.el (view-buffer-other-window, view-buffer-other-frame):
7483 Mark unused arguments.
7484
7485 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7486 (woman-select-symbol-fonts, woman, woman-find-file)
7487 (woman-insert-file-contents, woman-non-underline-faces):
7488 Use string-match-p.
7489 (woman1-unquote): Move declaration.
7490
7491 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7492 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7493 argument. Remove unused local variable.
7494 (xml-parse-elem-type): Use string-match-p.
7495 (xml-substitute-numeric-entities): Use ignore-errors.
7496
7497 * calculator.el (calculator): Mark unused argument.
7498 (calculator-paste, calculator-quit, calculator-integer-p):
7499 Use ignore-errors.
7500 (calculator-string-to-number, calculator-decimal, calculator-exp)
7501 (calculator-op-or-exp): Use string-match-p.
7502
7503 * dired.el (dired-buffer-more-recently-used-p): Declare.
7504 (dired-insert-set-properties, dired-insert-old-subdirs):
7505 Use ignore-errors.
7506
7507 * dired-aux.el (dired-compress): Use ignore-errors.
7508 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7509 (dired-do-async-shell-command, dired-do-shell-command)
7510 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7511 (dired-insert-subdir-validate): Use string-match-p.
7512 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7513 (dired-add-entry): Use string-match-p, looking-at-p.
7514 (dired-insert-subdir-newpos): Remove unused local variable.
7515
7516 * filenotify.el (file-notify-callback): Remove unused local variable.
7517
7518 * filesets.el (filesets-error): Mark unused argument.
7519 (filesets-which-command-p, filesets-filter-dir-names)
7520 (filesets-directory-files, filesets-get-external-viewer)
7521 (filesets-ingroup-get-data): Use string-match-p.
7522
7523 * find-file.el (ff-other-file-name, ff-other-file-name)
7524 (ff-find-the-other-file, ff-cc-hh-converter):
7525 Remove unused local variables.
7526 (ff-get-file-name): Use string-match-p.
7527 (ff-all-dirs-under): Use ignore-errors.
7528
7529 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7530 (follow-select-if-visible): Remove unused local variable.
7531
7532 * forms.el (read-file-filter): Move declaration.
7533 (forms--make-format, forms--make-parser, forms-insert-record):
7534 Quote function with #'.
7535 (forms--update): Use string-match-p. Quote function with #'.
7536
7537 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7538 (help-make-xrefs): Use looking-at-p.
7539 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7540
7541 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7542 (ibuffer-confirm-operation-on): Use string-match-p.
7543
7544 * msb.el (msb-item-handler, msb-dired-item-handler):
7545 Mark unused arguments.
7546
7547 * ses.el (ses-decode-cell-symbol)
7548 (ses-kill-override): Remove unused local variable.
7549 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7550 (ses-load): Use ignore-errors, looking-at-p.
7551 (ses-jump-safe): Use ignore-errors.
7552 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7553
7554 * tabify.el (untabify, tabify): Mark unused arguments.
7555
7556 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7557 Mark unused argument.
7558 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7559 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7560
7561 * emacs-lisp/timer.el (timer--time): Define setter with
7562 gv-define-setter to avoid deprecation warning.
7563
7564 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7565 (*record-cmpl-statistics-p*): Remove (was commented out).
7566 (cmpl-statistics-block): Remove (body was commented out).
7567 All callers changed.
7568 (add-completions-from-buffer, load-completions-from-file):
7569 Remove unused variables.
7570
7571 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7572
7573 * filecache.el (file-cache-delete-file-list):
7574 Print message only when told so.
7575 (file-cache-files-matching): Use #' in mapconcat argument.
7576
7577 * ffap.el (ffap-url-at-point): Fix reference to variable
7578 thing-at-point-default-mail-uri-scheme.
7579
7580 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7581
7582 * subr.el (define-error): New function.
7583 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7584 error-file-not-found and define with define-error.
7585 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7586 and define with define-error.
7587 * userlock.el (file-locked, file-supersession):
7588 * simple.el (mark-inactive):
7589 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7590 * progmodes/ada-mode.el (ada-mode-errors):
7591 * play/life.el (life-extinct):
7592 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7593 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7594 * nxml/rng-util.el (rng-error):
7595 * nxml/rng-uri.el (rng-uri-error):
7596 * nxml/rng-match.el (rng-compile-error):
7597 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7598 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7599 * nxml/nxml-rap.el (nxml-scan-error):
7600 * nxml/nxml-outln.el (nxml-outline-error):
7601 * net/soap-client.el (soap-error):
7602 * net/gnutls.el (gnutls-error):
7603 * net/ange-ftp.el (ftp-error):
7604 * mpc.el (mpc-proc-error):
7605 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7606 (json-number-format, json-string-escape, json-string-format)
7607 (json-key-format, json-object-format):
7608 * jka-compr.el (compression-error):
7609 * international/quail.el (quail-error):
7610 * international/kkc.el (kkc-error):
7611 * emacs-lisp/ert.el (ert-test-failed):
7612 * calc/calc.el (calc-error, inexact-result, math-overflow)
7613 (math-underflow):
7614 * bookmark.el (bookmark-error-no-filename):
7615 * epg.el (epg-error): Define with define-error.
7616
7617 * time.el (display-time-event-handler)
7618 (display-time-next-load-average): Don't call sit-for since it seems
7619 unnecessary (bug#15045).
7620
7621 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7622 Use #' instead of ' to quote functions.
7623 (checkdoc-output-mode): Use setq-local.
7624 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7625 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7626 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7627 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7628 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7629 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7630 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7631 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7632
7633 * ido.el (ido-completion-help): Fix up compiler warning.
7634
7635 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7636
7637 * frameset.el (frameset-p): Add autoload cookie.
7638 (frameset--jump-to-register): New function, based on code moved from
7639 register.el.
7640 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7641
7642 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7643 (frameset-restore, frameset-save, frameset-session-filter-alist):
7644 Remove declarations.
7645 (register-alist): Doc fix.
7646 (frameset-to-register): Move to frameset.el.
7647 (jump-to-register, describe-register-1): Remove frameset-specific code.
7648
7649 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7650
7651 * allout-widgets.el (allout-widgets-pre-command-business)
7652 (allout-widgets-post-command-business)
7653 (allout-widgets-after-change-handler)
7654 (allout-decorate-item-and-context, allout-set-boundary-marker)
7655 (allout-body-modification-handler)
7656 (allout-graphics-modification-handler): Mark ignored arguments.
7657 (allout-widgets-post-command-business)
7658 (allout-widgets-exposure-change-processor)
7659 (allout-widgets-exposure-undo-processor)
7660 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7661 (allout-parse-item-at-point, allout-decorate-item-guides)
7662 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7663 * allout.el (epa-passphrase-callback-function): Declare.
7664 (allout-overlay-insert-in-front-handler)
7665 (allout-overlay-interior-modification-handler)
7666 (allout-isearch-end-handler, allout-chart-siblings)
7667 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7668 (allout-yank-processing, allout-process-exposed)
7669 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7670 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7671 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7672 (lisp-indent-defform): Mark ignored arguments.
7673 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7674 (calculate-lisp-indent): Remove unused variables.
7675 * international/characters.el (indian-2-column, arabic-2-column)
7676 (tibetan): Mark ignored arguments.
7677 (use-cjk-char-width-table): Mark ignored arguments.
7678 Remove unused variables.
7679 * international/fontset.el (build-default-fontset-data)
7680 (x-compose-font-name, create-fontset-from-fontset-spec):
7681 Mark ignored arguments.
7682 (fontset-plain-name): Remove unused variables.
7683 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7684 (keyboard-coding-system): Mark ignored arguments.
7685 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7686 * help.el (resize-temp-buffer-window):
7687 * window.el (display-buffer-in-major-side-window)
7688 (display-buffer-in-side-window, display-buffer-in-previous-window):
7689 Remove unused variables.
7690 * isearch.el (isearch-forward-symbol):
7691 * version.el (emacs-bzr-version-bzr):
7692 * international/mule-cmds.el (current-language-environment):
7693 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7694 (x-handle-display):
7695 * term/pc-win.el (x-list-fonts, x-display-planes)
7696 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7697 (x-server-version, x-display-screens, x-display-mm-height)
7698 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7699 (x-selection-owner-p, x-own-selection-internal)
7700 (x-disown-selection-internal, x-get-selection-internal)
7701 (msdos-initialize-window-system):
7702 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7703 * term/x-win.el (x-handle-no-bitmap-icon):
7704 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7705 (vc-default-find-file-hook, vc-default-extra-menu):
7706 Mark ignored arguments.
7707
7708 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7711 break-condition in the context of the debugged code (bug#12685).
7712
7713 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7714
7715 * comint.el:
7716 Do not use an overlay to highlight the last prompt. (Bug#14744)
7717 (comint-mode): Make comint-last-prompt buffer local.
7718 (comint-last-prompt): New variable.
7719 (comint-last-prompt-overlay): Remove. Superseded by
7720 comint-last-prompt.
7721 (comint-snapshot-last-prompt, comint-output-filter):
7722 Use comint-last-prompt.
7723
7724 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7725
7726 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7727 (frameset-save): Check validity of the resulting frameset.
7728
7729 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7730
7731 * ido.el (ido-record-command): Add doc string.
7732
7733 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7734
7735 * frameset.el (frameset): Do not disable creation of the default
7736 frameset-p predicate. Doc fix.
7737 (frameset-valid-p): New function, copied from the old predicate-p.
7738 Add additional checks.
7739 (frameset-restore): Check with frameset-valid-p.
7740 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7741 (frameset-name, frameset-description, frameset-properties)
7742 (frameset-states): Add docstring.
7743 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7744 (frameset-filter-alist): Doc fixes.
7745
7746 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7747
7748 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7749
7750 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7753 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7754 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7755 (byte-compile-normal-call): Remove obsolescence check.
7756
7757 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7758
7759 * frameset.el (frameset-restore): Doc fix.
7760
7761 * register.el (frameset-frame-id, frameset-frame-with-id)
7762 (frameset-p, frameset-restore, frameset-save): Declare.
7763 (register-alist): Document framesets.
7764 (frameset-session-filter-alist): Declare.
7765 (frameset-to-register): New function.
7766 (jump-to-register): Implement jumping to framesets. Doc fix.
7767 (describe-register-1): Describe framesets.
7768
7769 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7770
7771 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7772
7773 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7774 Use lexical-binding.
7775
7776 * frameset.el (frameset): Use type vector, not list (incompatible
7777 change). Do not declare a new constructor, use the default one.
7778 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7779 `name' and `description', respectively, and add read-only slot
7780 `timestamp'. Doc fixes.
7781 (frameset-copy, frameset-persistent-filter-alist)
7782 (frameset-filter-alist, frameset-switch-to-gui-p)
7783 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7784 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7785 (frameset-filter-iconified, frameset-keep-original-display-p):
7786 Doc fixes.
7787 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7788 Rename from frameset-filter-(save|restore)-param. All callers changed.
7789 Doc fix.
7790 (frameset-p): Adapt to change to vector and be more thorough.
7791 Change arg name to OBJECT. Doc fix.
7792 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7793 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7794 All callers changed.
7795 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7796 All callers changed.
7797 (frameset--record-minibuffer-relationships): Rename from
7798 frameset--process-minibuffer-frames. All callers changed.
7799 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7800 Use new default constructor (again). Doc fix.
7801 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7802 All callers changed.
7803 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7804 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7805 Doc fix.
7806 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7807 PARAMETERS and WINDOW-STATE, respectively.
7808 (frameset-restore): Add new keyword argument PREDICATE.
7809 Reset frameset--target-display to nil. Doc fix.
7810
7811 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7812
7813 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7814 (bat-mode): Use it.
7815 (bat-mode-syntax-table): Mark \n as end-of-comment.
7816 (bat-font-lock-keywords): Remove comment rule.
7817
7818 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7819 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7820
7821 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7822 (byte-compile-callargs-warn): Use `push'.
7823 (byte-compile-arglist-warn): Ignore higher-order "calls".
7824 (byte-compile-file-form-autoload): Use `pcase'.
7825 (byte-compile-function-form): If quoting a symbol, check that it exists.
7826
7827 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7828
7829 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7830 and add a few popular commands found in batch files.
7831 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7832 (dos-mode): Doc fixes.
7833
7834 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7835
7836 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7837 (dos-mode): Use setq-local. Add space after "rem".
7838 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7839 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7840
7841 2013-08-07 Arni Magnusson <arnima@hafro.is>
7842
7843 * progmodes/dos.el: New file.
7844 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7845 dos-mode.
7846
7847 2013-08-06 Glenn Morris <rgm@gnu.org>
7848
7849 * calendar/calendar.el: Add new faces, and day-header-array.
7850 (calendar-weekday-header, calendar-weekend-header)
7851 (calendar-month-header): New faces.
7852 (calendar-day-header-construct): New function.
7853 (calendar-day-header-width): Also :set calendar-day-header-array.
7854 (calendar-american-month-header, calendar-european-month-header)
7855 (calendar-iso-month-header): Use calendar- faces.
7856 (calendar-generate-month):
7857 Use calendar-day-header-array for day headers; apply faces to them.
7858 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7859 (calendar-abbrev-construct): Add optional maxlen argument.
7860 (calendar-day-name-array): Doc fix.
7861 (calendar-day-name-array, calendar-abbrev-length)
7862 (calendar-day-abbrev-array):
7863 Also :set calendar-day-header-array, and maybe redraw.
7864 (calendar-day-header-array): New option. (Bug#15007)
7865 (calendar-font-lock-keywords): Set to nil and make obsolete.
7866 (calendar-day-name): Add option to use header array.
7867
7868 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7869
7870 * net/shr.el (shr-render-td): Remove debugging.
7871 (shr-render-td): Make width computation consistent by defaulting
7872 all zero-width columns to 10 characters. This may not be optimal,
7873 but it's at least consistent.
7874 (shr-make-table-1): Redo last change to fix the real problem in
7875 colspan handling.
7876
7877 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7878
7879 * files.el (cache-long-line-scans):
7880 Make obsolete alias to `cache-long-scans'.
7881
7882 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7883
7884 * frameset.el (frameset, frameset-filter-alist)
7885 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7886 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7887 (frameset-compute-pos): Rename from frameset--compute-pos,
7888 and add docstring.
7889 (frameset-move-onscreen): Use frameset-compute-pos.
7890 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7891
7892 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7893 Fix typos in docstrings.
7894
7895 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7896
7897 * frame.el (get-other-frame): Tiny cleanup.
7898
7899 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7900
7901 * vc/vc.el (vc-default-ignore-completion-table):
7902 Silence byte-compiler warning.
7903
7904 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7905 slot, which can indeed be nil.
7906 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7907 Move entry for `left' from persistent to live filter alist.
7908 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7909 Doc fixes.
7910 (frameset-filter-params): When restoring a frame, copy items added to
7911 `filtered', to avoid unwittingly modifying the original parameters.
7912 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7913 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7914
7915 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7916 to use looking-at-p instead of looking-at. (Bug#15028)
7917
7918 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7919
7920 Revert introduction of isearch-filter-predicates (bug#14714).
7921 Rely on add-function instead.
7922 * isearch.el (isearch-filter-predicates): Rename it back to
7923 isearch-filter-predicate.
7924 (isearch-message-prefix): Use advice-function-mapc and advice
7925 properties to get the isearch-message-prefix.
7926 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7927 instead of run-hook-with-args-until-failure.
7928 (isearch-filter-visible): Not obsolete any more.
7929 * loadup.el: Preload nadvice.
7930 * replace.el (perform-replace): Revert to funcall
7931 instead of run-hook-with-args-until-failure.
7932 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7933 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7934 dired-isearch-filenames-toggle; make it into a proper minor mode.
7935 Use add/remove-function.
7936 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7937 Call the minor-mode rather than add/remove-hook.
7938 (dired-isearch-filter-filenames):
7939 Remove isearch-message-prefix property.
7940 * info.el (Info--search-loop): New function, extracted from Info-search.
7941 Funcall isearch-filter-predicate instead of
7942 run-hook-with-args-until-failure isearch-filter-predicates.
7943 (Info-search): Use it.
7944 (Info-mode): Use isearch-filter-predicate instead of
7945 isearch-filter-predicates.
7946
7947 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7948
7949 Do not call to `selected-window' where it is assumed by default.
7950 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7951 `window-hscroll', `window-width', `window-height', `window-buffer',
7952 `window-frame', `window-start', `window-point', `next-window'
7953 and `window-display-table'.
7954 * abbrev.el (abbrev--default-expand):
7955 * bs.el (bs--show-with-configuration):
7956 * buff-menu.el (Buffer-menu-mouse-select):
7957 * calc/calc.el (calc):
7958 * calendar/calendar.el (calendar-generate-window):
7959 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7960 (diary-make-entry):
7961 * comint.el (send-invisible, comint-dynamic-complete-filename)
7962 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7963 * completion.el (complete):
7964 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7965 * disp-table.el (describe-current-display-table):
7966 * doc-view.el (doc-view-insert-image):
7967 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7968 * ehelp.el (with-electric-help):
7969 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7970 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7971 * emacs-lisp/helper.el (Helper-help-scroller):
7972 * emulation/cua-base.el (cua--post-command-handler-1):
7973 * eshell/esh-mode.el (eshell-output-filter):
7974 * ffap.el (ffap-gnus-wrapper):
7975 * help-macro.el (make-help-screen):
7976 * hilit-chg.el (highlight-compare-buffers):
7977 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7978 * hl-line.el (global-hl-line-highlight):
7979 * icomplete.el (icomplete-simple-completing-p):
7980 * isearch.el (isearch-done):
7981 * jit-lock.el (jit-lock-stealth-fontify):
7982 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7983 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7984 * mpc.el (mpc-tagbrowser, mpc):
7985 * net/rcirc.el (rcirc-any-buffer):
7986 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7987 * play/landmark.el (landmark-max-width, landmark-max-height):
7988 * play/zone.el (zone):
7989 * progmodes/compile.el (compilation-goto-locus):
7990 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7991 * progmodes/etags.el (find-tag-other-window):
7992 * progmodes/fortran.el (fortran-column-ruler):
7993 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7994 * progmodes/verilog-mode.el (verilog-point-text):
7995 * reposition.el (reposition-window):
7996 * rot13.el (toggle-rot13-mode):
7997 * server.el (server-switch-buffer):
7998 * shell.el (shell-dynamic-complete-command)
7999 (shell-dynamic-complete-environment-variable):
8000 * simple.el (insert-buffer, set-selective-display)
8001 (delete-completion-window):
8002 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8003 (speedbar-recenter):
8004 * startup.el (fancy-splash-head):
8005 * textmodes/ispell.el (ispell-command-loop):
8006 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8007 * tutorial.el (help-with-tutorial):
8008 * vc/add-log.el (add-change-log-entry):
8009 * vc/compare-w.el (compare-windows):
8010 * vc/ediff-help.el (ediff-indent-help-message):
8011 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8012 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8013 (ediff-setup-control-frame):
8014 * vc/emerge.el (emerge-position-region):
8015 * vc/pcvs-util.el (cvs-bury-buffer):
8016 * window.el (walk-windows, mouse-autoselect-window-select):
8017 * winner.el (winner-set-conf, winner-undo): Related users changed.
8018
8019 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * frameset.el (frameset--set-id): Doc fix.
8022 (frameset-frame-id, frameset-frame-id-equal-p)
8023 (frameset-locate-frame-id): New functions.
8024 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8025 (frameset-restore): Use them.
8026
8027 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8028
8029 Do not call to `selected-frame' where it is assumed by default.
8030 Affected functions are `raise-frame', `redraw-frame',
8031 `frame-first-window', `frame-terminal' and `delete-frame'.
8032 * calendar/appt.el (appt-disp-window):
8033 * epg.el (epg-wait-for-completion):
8034 * follow.el (follow-delete-other-windows-and-split)
8035 (follow-avoid-tail-recenter):
8036 * international/mule.el (set-terminal-coding-system):
8037 * mail/rmail.el (rmail-mail-return):
8038 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8039 * progmodes/f90.el (f90-add-imenu-menu):
8040 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8041 * server.el (server-switch-buffer):
8042 * simple.el (delete-completion-window):
8043 * talk.el (talk):
8044 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8045 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8046 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8047 * vc/ediff.el (ediff-documentation): Related users changed.
8048 * frame.el (selected-terminal): Remove the leftover.
8049
8050 2013-08-05 Glenn Morris <rgm@gnu.org>
8051
8052 * calendar/calendar.el (calendar-generate-month):
8053 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8054 (calendar-generate-month, calendar-font-lock-keywords):
8055 Fix for calendar-day-header-width > length of any day name.
8056
8057 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8058
8059 * desktop.el (desktop-clear): Use new name of sort predicate.
8060
8061 * frameset.el (frameset): Add docstring. Move :version property to its
8062 own `version' slot.
8063 (frameset-copy): Rename from copy-frameset.
8064 (frameset-p): Check more thoroughly.
8065 (frameset-prop): Do not check for :version, which is no longer a prop.
8066 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8067 Use new :never value instead of t.
8068 (frameset-filter-alist): Expand and clarify docstring.
8069 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8070 (frameset-filter-minibuffer, frameset-filter-save-param)
8071 (frameset-filter-restore-param, frameset-filter-iconified):
8072 Add pointer to docstring of frameset-filter-alist.
8073 (frameset-filter-params): Rename filter values to be more meaningful:
8074 :never instead of t, and reverse the meanings of :save and :restore.
8075 (frameset--process-minibuffer-frames): Clarify error message.
8076 (frameset-save): Avoid unnecessary and confusing call to framep.
8077 Use new BOA constructor for framesets.
8078 (frameset--reuse-list): Doc fix.
8079 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8080 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8081 (frameset-minibufferless-first-p): Doc fix.
8082 Rename from frameset-sort-frames-for-deletion.
8083 (frameset-restore): Doc fixes. Use new function names.
8084 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8085
8086 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * desktop.el (desktop-restore-forces-onscreen)
8089 (desktop-restore-reuses-frames): Document :keyword constant values.
8090 (desktop-filter-parameters-alist): Remove, now identical to
8091 frameset-filter-alist.
8092 (desktop--filter-tty*): Remove, moved to frameset.el.
8093 (desktop-save-frameset, desktop-restore-frameset):
8094 Do not pass :filters argument.
8095
8096 * frameset.el (frameset-live-filter-alist)
8097 (frameset-persistent-filter-alist): New variables.
8098 (frameset-filter-alist): Use them. Add autoload cookie.
8099 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8100 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8101 `frameset--id' (it's supposed to be internal to frameset.el).
8102 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8103 (frameset--initial-params): New function.
8104 (frameset--get-frame): Use it. Doc fix.
8105 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8106 Accept :all, not 'all.
8107 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8108 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8109 with fbound symbols. Fix frame id matching, and remove matching ids if
8110 the frame being restored is deleted. Obey :delete.
8111
8112 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * subr.el (macrop): New function.
8115 (text-clone--maintaining): New var.
8116 (text-clone--maintain): Rename from text-clone-maintain. Use it
8117 instead of inhibit-modification-hooks.
8118
8119 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8120 a proxy, so as handle autoloads and redefinitions of the target.
8121 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8122
8123 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8124 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8125 (pcase--mutually-exclusive-p): New function.
8126 (pcase--split-consp): Use it.
8127 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8128 mutually exclusive with the current predicate.
8129
8130 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8131 (edebug-macrop): Remove. Use `macrop' instead.
8132 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8133 (ad-macro-p):
8134 * eshell/esh-cmd.el (eshell-macrop):
8135 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8136
8137 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8140 (advice-mapc): New function, using it.
8141 (advice-function-member-p): New function.
8142 (advice--normalize): Store the cdr in advice--saved-rewrite since
8143 that's the part that will be changed.
8144 (advice--symbol-function): New function.
8145 (advice-remove): Handle removal before the function is defined.
8146 Adjust to new advice--saved-rewrite.
8147 (advice-member-p): Use advice-function-member-p and
8148 advice--symbol-function.
8149
8150 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8151
8152 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8153 (frameset-filter-minibuffer): Doc fix.
8154 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8155 (frameset--set-id, frameset--process-minibuffer-frames)
8156 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8157 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8158
8159 * desktop.el (desktop-clear): Only delete frames when called
8160 interactively and desktop-restore-frames is non-nil. Doc fix.
8161 (desktop-read): Set desktop-saved-frameset to nil.
8162
8163 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8164
8165 * vc/vc.el (vc-ignore): Rewrite.
8166 (vc-default-ignore-completion-table, vc--read-lines)
8167 (vc--add-line, vc--remove-regexp): New functions.
8168
8169 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8170 (vc-svn-ignore-completion-table): New function.
8171
8172 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8173 (vc-hg-ignore-completion-table)
8174 (vc-hg-find-ignore-file): New functions.
8175
8176 * vc/vc-git.el (vc-git-ignore): Rewrite.
8177 (vc-git-ignore-completion-table)
8178 (vc-git-find-ignore-file): New functions.
8179
8180 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8181
8182 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8183 (vc-bzr-ignore-completion-table)
8184 (vc-bzr-find-ignore-file): New functions.
8185
8186 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8187
8188 * frameset.el (frameset-prop): New function and setter.
8189 (frameset-save): Do not modify frame list passed by the caller.
8190
8191 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8194
8195 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8198 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8199
8200 * custom.el (custom-initialize-default, custom-initialize-set)
8201 (custom-initialize-reset, custom-initialize-changed): Affect the
8202 toplevel-default-value (bug#6275, bug#14586).
8203 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8204 for bug#6275.
8205
8206 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8207
8208 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8209 Add cl-def* expressions.
8210
8211 * frameset.el (frameset-filter-params): Fix order of arguments.
8212
8213 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8214
8215 Move code related to saving frames to frameset.el.
8216 * desktop.el: Require frameset.
8217 (desktop-restore-frames): Doc fix.
8218 (desktop-restore-reuses-frames): Rename from
8219 desktop-restoring-reuses-frames.
8220 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8221 (desktop-clear): Clear frames too.
8222 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8223 (desktop--filter-tty*, desktop-save, desktop-read):
8224 Use frameset functions.
8225 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8226 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8227 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8228 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8229 (desktop--process-minibuffer-frames, desktop-save-frames)
8230 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8231 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8232 (desktop--sort-states, desktop-restoring-frames-p)
8233 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8234 (desktop-restoring-frameset-p, desktop-restore-frameset)
8235 (desktop--check-dont-save, desktop-save-frameset): New functions.
8236 (desktop--app-id): New constant.
8237 (desktop-first-buffer, desktop-buffer-ok-count)
8238 (desktop-buffer-fail-count): Move before first use.
8239 * frameset.el: New file.
8240
8241 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * files.el: Use lexical-binding.
8244 (dir-locals-read-from-file): Remove unused `err' variable.
8245 (hack-dir-local-variables--warned-coding): New var.
8246 (hack-dir-local-variables): Use it to avoid repeated warnings.
8247 (make-backup-file-name--default-function): New function.
8248 (make-backup-file-name-function): Use it as default.
8249 (buffer-stale--default-function): New function.
8250 (buffer-stale-function): Use it as default.
8251 (revert-buffer-insert-file-contents--default-function): New function.
8252 (revert-buffer-insert-file-contents-function): Use it as default.
8253 (insert-directory): Avoid add-to-list.
8254
8255 * autorevert.el (auto-revert-handler): Simplify.
8256 Use buffer-stale--default-function.
8257
8258 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8259
8260 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8261
8262 * whitespace.el (whitespace-ensure-local-variables): New function.
8263 (whitespace-cleanup-region): Call it.
8264 (whitespace-turn-on): Call it.
8265
8266 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8267
8268 Complete file name handlers.
8269
8270 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8271 (tramp-handle-verify-visited-file-modtime)
8272 (tramp-handle-file-notify-rm-watch): New functions.
8273 (tramp-call-process): Do not bind `default-directory'.
8274
8275 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8276 Order alphabetically.
8277 <access-file, add-name-to-file, dired-call-process>:
8278 <dired-compress-file, file-acl, file-notify-rm-watch>:
8279 <file-ownership-preserved-p, file-selinux-context>:
8280 <make-directory-internal, make-symbolic-link, set-file-acl>:
8281 <set-file-selinux-context, set-visited-file-modtime>:
8282 <verify-visited-file-modtime>: Add handler.
8283 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8284
8285 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8286 <file-notify-add-watch, file-notify-rm-watch>:
8287 <set-file-times, set-visited-file-modtime>:
8288 <verify-visited-file-modtime>: Add handler.
8289 (with-tramp-gvfs-error-message)
8290 (tramp-gvfs-handle-set-visited-file-modtime)
8291 (tramp-gvfs-fuse-file-name): Remove.
8292 (tramp-gvfs-handle-file-notify-add-watch)
8293 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8294 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8295
8296 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8297 Order alphabetically.
8298 <file-notify-rm-watch>: Use default Tramp handler.
8299 <executable-find>: Remove private handler.
8300 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8301 `default-directory'.
8302 (tramp-sh-handle-executable-find)
8303 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8304 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8305 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8306 Do not use `format' in `tramp-message'.
8307
8308 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8309 <file-notify-rm-watch, set-visited-file-modtime>:
8310 <verify-visited-file-modtime>: Add handler.
8311 (tramp-smb-call-winexe): Do not bind `default-directory'.
8312
8313 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8314
8315 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8316
8317 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8318
8319 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8320 use it.
8321 (log-view-diff-changeset): Same.
8322 (log-view-diff-common): Call backend command `previous-revision'
8323 to find out the previous revision, in both cases. Swap the
8324 variables `to' and `fr', so that `fr' usually refers to the
8325 earlier revision (Bug#14989).
8326
8327 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8328
8329 * ibuf-ext.el (ibuffer-filter-by-filename):
8330 Make it work with dired buffers too.
8331
8332 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8333
8334 * emacs-lisp/re-builder.el (reb-color-display-p):
8335 * files.el (save-buffers-kill-terminal):
8336 * net/browse-url.el (browse-url):
8337 * server.el (server-save-buffers-kill-terminal):
8338 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8339 Prefer nil to selected-frame for the first arg of frame-parameter.
8340
8341 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8342
8343 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8344
8345 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8346
8347 * minibuffer.el (completion--twq-all): Try and preserve each
8348 completion's case choice (bug#14907).
8349
8350 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8351
8352 * net/network-stream.el (open-network-stream): Mention the new
8353 :nogreeting parameter.
8354 (network-stream-open-starttls): Use the :nogreeting parameter
8355 (bug#14938).
8356
8357 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8358
8359 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8360 more natural than popping.
8361
8362 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8363 (shr-urlify): Highlight under mouse.
8364
8365 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8366
8367 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8368
8369 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8370
8371 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8372 buffer for output.
8373
8374 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8375 point-min==1. Fix search string. Fix parentheses missing.
8376
8377 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8378 assume point-min==1. Fix search string. Fix parentheses missing.
8379
8380 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8381
8382 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8383 buffer for output.
8384
8385 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8386
8387 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8388 initial frame is minibuffer-less. (Bug#14841)
8389
8390 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8391
8392 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8393 option.
8394
8395 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8396 (tramp-maybe-open-connection): Use it.
8397
8398 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8399
8400 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8401 minimal set of parameters passed when creating a frame, because
8402 the minibuffer status of a frame cannot be changed later.
8403
8404 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8405
8406 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8407 replace-regexp-in-string and inadvertent omissions in previous change.
8408 (todo-filter-items): Ensure only file names are comma-separated in
8409 name of filtered items buffer.
8410
8411 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8412
8413 * desktop.el: Optionally force offscreen frames back onscreen.
8414 (desktop-restoring-reuses-frames): New option.
8415 (desktop--compute-pos, desktop--move-onscreen): New functions.
8416 (desktop--make-frame): Use desktop--move-onscreen.
8417
8418 2013-07-27 Alan Mackenzie <acm@muc.de>
8419
8420 Fontify a Java generic method as a function.
8421 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8422 value to t.
8423
8424 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8425
8426 * calendar/todo-mode.el: Add command to rename todo files.
8427 (todo-rename-file): New command.
8428 (todo-key-bindings-t): Add key binding for it. Change the
8429 bindings of todo-filter-regexp-items(-multifile) to use `x'
8430 instead of `r', since the latter is better suited to the new
8431 renaming command.
8432
8433 2013-07-27 Alan Mackenzie <acm@muc.de>
8434
8435 Make Java try-with-resources statement parse properly.
8436 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8437 (c-block-stmt-1-2-key): New language constants/variables.
8438 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8439 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8440 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8441 with c-block-stmt-1-2-key.
8442
8443 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8444
8445 * desktop.el (desktop--make-frame): Apply most frame parameters after
8446 creating the frame to force (partially or totally) offscreen frames to
8447 be restored as such.
8448
8449 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8450
8451 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8452 (Bug#14948)
8453
8454 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8455
8456 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8457 `base' arg of backtrace-frame.
8458
8459 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8460
8461 * simple.el (list-processes): Doc fix.
8462
8463 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8464
8465 * desktop.el (desktop--select-frame):
8466 Try harder to reuse existing frames.
8467
8468 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8469
8470 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8471 (edebug-eval): Use backtrace-eval.
8472 (edebug--display, edebug--recursive-edit): Don't let-bind the
8473 edebug-outer-* vars that keep track of variables we locally let-bind.
8474 (edebug-outside-excursion): Don't restore outside values of locally
8475 let-bound vars.
8476 (edebug--display): Use user-error.
8477 (cl-lexical-debug, cl-debug-env): Remove.
8478
8479 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8480
8481 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8482 are restored to be sure that they are visible before deleting any
8483 remaining ones.
8484
8485 2013-07-26 Matthias Meulien <orontee@gmail.com>
8486
8487 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8488 vc-print-root-log. (Bug#14948)
8489
8490 2013-07-26 Richard Stallman <rms@gnu.org>
8491
8492 Add aliases for encrypting mail.
8493 * epa.el (epa-mail-aliases): New option.
8494 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8495 Bind inhibit-read-only so read-only text doesn't ruin everything.
8496 (epa-mail-default-recipients): New subroutine broken out.
8497 Handle epa-mail-aliases.
8498
8499 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 Add support for lexical variables to the debugger's `e' command.
8502 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8503 vars, except for debugger-outer-match-data.
8504 (debugger-frame-number): Move check for "on a function call" from
8505 callers into it. Add `skip-base' argument.
8506 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8507 (debugger-env-macro): Only reset the state stored in non-variables,
8508 i.e. current-buffer and match-data.
8509 (debugger-eval-expression): Rewrite using backtrace-eval.
8510 * subr.el (internal--called-interactively-p--get-frame): Remove.
8511 (called-interactively-p):
8512 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8513 `base' arg of backtrace-frame instead.
8514
8515 2013-07-26 Glenn Morris <rgm@gnu.org>
8516
8517 * align.el (align-regexp): Doc fix. (Bug#14857)
8518 (align-region): Explicit error if subexpression missing/does not match.
8519
8520 * simple.el (global-visual-line-mode):
8521 Do not duplicate the mode lighter. (Bug#14858)
8522
8523 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8524
8525 * window.el (display-buffer): In display-buffer bind
8526 split-window-keep-point to t, bug#14829.
8527
8528 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8529
8530 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8531 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8532 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8533 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8534 Change accordingly.
8535 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8536 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8537
8538 2013-07-25 Glenn Morris <rgm@gnu.org>
8539
8540 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8541
8542 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8543
8544 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8545 parameter to modify-frame-parameters if the value has not changed;
8546 this is a workaround for bug#14949.
8547 (desktop--make-frame): On cl-delete-if call, check parameter name,
8548 not full parameter.
8549
8550 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8551
8552 * vc/vc.el (vc-ignore): New function.
8553
8554 * vc/vc-svn.el (vc-svn-ignore): New function.
8555
8556 * vc/vc-hg.el (vc-hg-ignore): New function.
8557
8558 * vc/vc-git.el (vc-git-ignore): New function.
8559
8560 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8561 (vc-dir-ignore): New function.
8562
8563 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8564 (cvs-append-to-ignore): Move here from pcvs.el.
8565
8566 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8567
8568 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8569
8570 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8571
8572 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8573 (desktop-restore-frames): Warn when deleting an existing frame failed.
8574
8575 2013-07-24 Glenn Morris <rgm@gnu.org>
8576
8577 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8578
8579 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8580
8581 * filenotify.el (file-notify-supported-p):
8582 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8583 Remove functions.
8584
8585 * autorevert.el (auto-revert-use-notify)
8586 (auto-revert-notify-add-watch):
8587 * net/tramp.el (tramp-file-name-for-operation):
8588 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8589 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8590 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8591 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8592 Remove `file-notify-supported-p' entry.
8593
8594 2013-07-24 Glenn Morris <rgm@gnu.org>
8595
8596 * printing.el: Replace all uses of deleted ps-windows-system,
8597 ps-lp-system, ps-flatten-list with lpr- versions.
8598
8599 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8602 checked with memq (bug#14935).
8603
8604 * files.el (revert-buffer-function): Use a non-nil default.
8605 (revert-buffer-preserve-modes): Declare var to
8606 provide access to the `preserve-modes' argument.
8607 (revert-buffer): Let-bind it.
8608 (revert-buffer--default): New function, extracted from revert-buffer.
8609
8610 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8611
8612 * lpr.el: Signal print errors more prominently.
8613 (print-region-function): Don't default to nil.
8614 (lpr-print-region): New function, extracted from print-region-1.
8615 Check lpr's return value and signal an error in case of problem.
8616 (print-region-1): Use it.
8617 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8618 versions instead.
8619 (ps-printer-name): Default to nil.
8620 (ps-printer-name-option): Default to lpr-printer-switch.
8621 (ps-print-region-function): Don't default to nil.
8622 (ps-postscript-code-directory): Simplify default.
8623 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8624 (ps-string-list, ps-eval-switch, ps-flatten-list)
8625 (ps-flatten-list-1): Remove.
8626 (ps-multibyte-buffer): Avoid setq.
8627 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8628 (print-region-function, ps-print-region-function): Don't set them here.
8629
8630 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8631
8632 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8633 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8634 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8635 (ido-decorations): Doc fix.
8636
8637 * ansi-color.el: Fix old URL.
8638
8639 2013-07-23 Michael R. Mauger <michael@mauger.com>
8640
8641 * progmodes/sql.el: Version 3.3
8642 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8643 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8644 (sql-interactive-remove-continuation-prompt): Rewrite, use
8645 functions above. Fix continuation prompt and complete output line
8646 handling.
8647 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8648 redirected output buffer.
8649 (sql-mode): Restore deleted code (Bug#13591).
8650
8651 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8652
8653 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8654
8655 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8656
8657 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8658
8659 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8660 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8661 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8662
8663 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8664
8665 * desktop.el (desktop-clear): Simplify; remove useless checks
8666 against invalid buffer names.
8667 (desktop-list*): Use cl-list*.
8668 (desktop-buffer-info, desktop-create-buffer): Simplify.
8669
8670 2013-07-23 Leo Liu <sdl.web@gmail.com>
8671
8672 * bookmark.el (bookmark-make-record): Restore NAME as a default
8673 value. (Bug#14933)
8674
8675 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8676
8677 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8678 extracted from autoload--insert-text.
8679 (autoload--insert-text): Remove.
8680 (autoload--print-cookie-text): New function, extracted from
8681 autoload--insert-cookie-text.
8682 (autoload--insert-cookie-text): Remove.
8683 (autoload-generate-file-autoloads): Adjust calls accordingly.
8684
8685 * winner.el (winner-hook-installed-p): Remove.
8686 (winner-mode): Simplify accordingly.
8687
8688 * subr.el (add-to-list): Fix compiler-macro when `append' is
8689 not constant. Don't use `cl-member' for the base case.
8690
8691 * progmodes/subword.el: Fix boundary case (bug#13758).
8692 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8693 own group.
8694 (subword-backward-regexp): Make it a constant.
8695 (subword-forward-internal): Don't treat a trailing capital as the
8696 beginning of a word.
8697
8698 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8699
8700 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8701 global value of tabulated-list-revert-hook (bug#14930).
8702
8703 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8704
8705 * desktop.el: Require 'cl-lib.
8706 (desktop-before-saving-frames-functions): New hook.
8707 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8708 for frames being saved. Rename from desktop--save-minibuffer-frames.
8709 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8710 Do not save frames with non-nil `desktop-dont-save' parameter.
8711 Filter out deleted frames.
8712 (desktop--find-frame): Use cl-find-if.
8713 (desktop--select-frame): Use cl-(first|second|third) to access values
8714 of desktop-mini.
8715 (desktop--make-frame): Use cl-delete-if.
8716 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8717 (desktop-restore-frames): Use cl-(first|second|third) to access values
8718 of desktop-mini. Look for visible frame at the end, not while
8719 restoring frames.
8720
8721 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8722 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8723 Use string-match-p, looking-at-p (bug#14927).
8724
8725 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8726
8727 * desktop.el (desktop-saved-frame-states):
8728 Rename from desktop--saved-states; all users changed.
8729 (desktop-save-frames): Rename from desktop--save-frames.
8730 Do not save state to desktop file.
8731 (desktop-save): Save desktop-saved-frame-states to desktop file
8732 and reset to nil.
8733 (desktop-restoring-frames-p): New function.
8734 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8735 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8736 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8737
8738 * desktop.el: Correctly restore iconified frames.
8739 (desktop--filter-iconified-position): New function.
8740 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8741
8742 2013-07-20 Glenn Morris <rgm@gnu.org>
8743
8744 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8745 Let `message' do the formatting.
8746 (def-gdb-preempt-display-buffer): Add explicit format.
8747
8748 * image-dired.el (image-dired-track-original-file):
8749 Use with-current-buffer.
8750 (image-dired-track-thumbnail): Use with-current-buffer.
8751 Avoid changing point of wrong window.
8752
8753 * image-dired.el (image-dired-track-original-file):
8754 Avoid changing point of wrong window. (Bug#14909)
8755
8756 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8757
8758 * progmodes/gdb-mi.el (gdb-done-or-error):
8759 Guard against "%" in gdb output. (Bug#14127)
8760
8761 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8762
8763 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8764 (Bug#14826)
8765
8766 * international/mule.el (coding-system-iso-2022-flags): Fix last
8767 change.
8768
8769 2013-07-20 Kenichi Handa <handa@gnu.org>
8770
8771 * international/mule.el (coding-system-iso-2022-flags):
8772 Add `8-bit-level-4'. (Bug#8522)
8773
8774 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8775
8776 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8777 (bug#14815).
8778
8779 * net/eww.el (eww-process-text-input): Allow inputting when the
8780 point is at the start of the line, as the properties aren't
8781 front-sticky.
8782
8783 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8784 degenerate widths.
8785
8786 2013-07-19 Richard Stallman <rms@gnu.org>
8787
8788 * epa.el (epa-popup-info-window): Doc fix.
8789
8790 * subr.el (split-string): New arg TRIM.
8791
8792 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8793
8794 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8795 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8796
8797 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8798
8799 * filenotify.el (file-notify--library): Rename from
8800 `file-notify-support'. Do not autoload. Adapt all uses.
8801 (file-notify-supported-p): New defun.
8802
8803 * autorevert.el (auto-revert-use-notify):
8804 Use `file-notify-supported-p' instead of `file-notify-support'.
8805 Adapt docstring.
8806 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8807
8808 * net/tramp.el (tramp-file-name-for-operation):
8809 Add `file-notify-supported-p'.
8810
8811 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8812 New defun.
8813 (tramp-sh-file-name-handler-alist): Add it as handler for
8814 `file-notify-supported-p '.
8815
8816 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8817 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8818 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8819 Add `ignore' as handler for `file-notify-*' functions.
8820
8821 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8822
8823 * simple.el (line-move-partial, line-move): Don't start vscroll or
8824 scroll-up if the current line is not taller than the window.
8825 (Bug#14881)
8826
8827 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8828
8829 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8830 highlight question marks in the method names as strings.
8831 (ruby-block-beg-keywords): Inline.
8832 (ruby-font-lock-keyword-beg-re): Extract from
8833 `ruby-font-lock-keywords'.
8834
8835 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8836
8837 * frame.el (blink-cursor-blinks): New defcustom.
8838 (blink-cursor-blinks-done): New defvar.
8839 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8840 (blink-cursor-timer-function): Check if number of blinks has been
8841 done on X and NS.
8842 (blink-cursor-suspend, blink-cursor-check): New defuns.
8843
8844 2013-07-15 Glenn Morris <rgm@gnu.org>
8845
8846 * edmacro.el (edmacro-format-keys): Fix previous change.
8847
8848 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8849
8850 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8851 The hack didn't work outside English locales anyway.
8852
8853 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8854
8855 * simple.el (define-alternatives): Rename from alternatives-define,
8856 per RMS' suggestion.
8857
8858 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8859
8860 * desktop.el (desktop-restore-frames): Change default to t.
8861 (desktop-restore-in-current-display): Now offer more options.
8862 (desktop-restoring-reuses-frames): New customization option.
8863 (desktop--saved-states): Doc fix.
8864 (desktop-filter-parameters-alist): New variable, renamed and expanded
8865 from desktop--excluded-frame-parameters.
8866 (desktop--target-display): New variable.
8867 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8868 (desktop--filter-tty*, desktop--filter-*-color)
8869 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8870 (desktop--filter-save-desktop-parm)
8871 (desktop-restore-in-original-display-p): New functions.
8872 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8873 (desktop--save-minibuffer-frames): New function, inspired by a similar
8874 function from Martin Rudalics.
8875 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8876 (desktop--restore-in-this-display-p): Remove.
8877 (desktop--find-frame): Rename from desktop--find-frame-in-display
8878 and add predicate argument.
8879 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8880 (desktop--reuse-list): New variable.
8881 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8882 New functions.
8883 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8884
8885 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8886
8887 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8888
8889 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8890
8891 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8892 Highlight conversion methods on Kernel.
8893
8894 2013-07-13 Alan Mackenzie <acm@muc.de>
8895
8896 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8897 and comment it out. This out-commenting enables certain C++
8898 declarations to be parsed correctly.
8899
8900 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8901
8902 * international/mule.el (define-coding-system): Doc fix.
8903
8904 * simple.el (default-font-height): Don't call font-info if the
8905 frame's default font didn't change since the frame was created.
8906 (Bug#14838)
8907
8908 2013-07-13 Leo Liu <sdl.web@gmail.com>
8909
8910 * ido.el (ido-read-file-name): Guard against non-symbol value.
8911
8912 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8913
8914 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8915 in nested defuns.
8916
8917 2013-07-13 Leo Liu <sdl.web@gmail.com>
8918
8919 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8920 ido-set-matches call. (Bug#6852)
8921
8922 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8923
8924 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8925 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8926 Ruby 2.0.
8927 (ruby-font-lock-keywords): Distinguish calls to functions with
8928 module-like names from module references. Highlight character
8929 literals.
8930
8931 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8932
8933 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8934 (gdb-send): Handle continued commands. (Bug#14847)
8935
8936 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8937
8938 * desktop.el (desktop--v2s): Remove unused local variable.
8939 (desktop-save-buffer): Make defvar-local; adjust docstring.
8940 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8941 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8942
8943 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8944
8945 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8946
8947 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8948
8949 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8950 (Bug#14842)
8951
8952 2013-07-12 Glenn Morris <rgm@gnu.org>
8953
8954 * doc-view.el: Require cl-lib at runtime too.
8955 (doc-view-remove-if): Remove.
8956 (doc-view-search-next-match, doc-view-search-previous-match):
8957 Use cl-remove-if.
8958
8959 * edmacro.el: Require cl-lib at runtime too.
8960 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8961 (edmacro-mismatch, edmacro-subseq): Remove.
8962
8963 * shadowfile.el: Require cl-lib.
8964 (shadow-remove-if): Remove.
8965 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8966 Use cl-remove-if.
8967
8968 * wid-edit.el: Require cl-lib.
8969 (widget-choose): Use cl-remove-if.
8970 (widget-remove-if): Remove.
8971
8972 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8973 (ebrowse-delete-if-not): Remove.
8974 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8975 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8976 Use cl-delete-if-not.
8977
8978 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8979
8980 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8981 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8982
8983 2013-07-12 Leo Liu <sdl.web@gmail.com>
8984
8985 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8986
8987 2013-07-11 Glenn Morris <rgm@gnu.org>
8988
8989 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8990 (edebug-gensym-index, edebug-gensym):
8991 Remove reimplementation of cl-gensym.
8992 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8993
8994 * thumbs.el: Require cl-lib at run-time too.
8995 (thumbs-gensym-counter, thumbs-gensym):
8996 Remove reimplementation of cl-gensym.
8997 (thumbs-temp-file): Use cl-gensym.
8998
8999 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9000 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9001 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9002 (ert--union, ert--gensym-counter, ert--gensym-counter)
9003 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9004 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9005 (ert-make-test-unbound, ert--expand-should-1)
9006 (ert--expand-should, ert--should-error-handle-error)
9007 (should-error, ert--explain-equal-rec)
9008 (ert--plist-difference-explanation, ert-select-tests)
9009 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9010 Use cl-lib functions rather than reimplementations.
9011
9012 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9013
9014 * net/tramp.el (tramp-methods): Extend docstring.
9015 (tramp-connection-timeout): New defcustom.
9016 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9017 (with-tramp-progress-reporter): Simplify.
9018 (tramp-process-actions): Improve messages.
9019
9020 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9021 * net/tramp-sh.el (tramp-maybe-open-connection):
9022 Use `tramp-connection-timeout'.
9023 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9024 (Bug#14808)
9025
9026 2013-07-11 Leo Liu <sdl.web@gmail.com>
9027
9028 * ido.el (ido-read-file-name): Conform to the requirements of
9029 read-file-name. (Bug#11861)
9030 (ido-read-directory-name): Conform to the requirements of
9031 read-directory-name.
9032
9033 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9034
9035 * subr.el (delay-warning): New function.
9036
9037 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9038
9039 * simple.el (default-line-height): New function.
9040 (line-move-partial, line-move): Use it instead of computing the
9041 line height inline.
9042 (line-move-partial): Always compute ROWH. If the last line is
9043 partially-visible, but its text is completely visible, allow
9044 cursor to enter such a partially-visible line.
9045
9046 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9047
9048 Improve error messages. (Bug#14808)
9049
9050 * net/tramp.el (tramp-current-connection): New defvar, moved from
9051 tramp-sh.el.
9052 (tramp-message-show-progress-reporter-message): Remove, not
9053 needed anymore.
9054 (tramp-error-with-buffer): Show message in minibuffer.
9055 Discard input before waiting. Reset connection timestamp.
9056 (with-tramp-progress-reporter): Improve messages.
9057 (tramp-process-actions): Use progress reporter. Delete process in
9058 case of error. Improve messages.
9059
9060 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9061 Call `tramp-error-with-buffer' with vector and buffer.
9062 (tramp-current-connection): Remove.
9063 (tramp-maybe-open-connection): The car of
9064 `tramp-current-connection' are the first 3 slots of the vector.
9065
9066 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9067
9068 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9069 inside continued strings.
9070
9071 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9072
9073 Timestamp fixes for undo (Bug#14824).
9074 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9075
9076 2013-07-10 Leo Liu <sdl.web@gmail.com>
9077
9078 * files.el (require-final-newline): Allow safe local value.
9079 (Bug#14834)
9080
9081 2013-07-09 Leo Liu <sdl.web@gmail.com>
9082
9083 * ido.el (ido-read-directory-name): Handle fallback.
9084 (ido-read-file-name): Update DIR to ido-current-directory.
9085 (Bug#1516)
9086 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9087
9088 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9089
9090 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9091 "autoload". Remove "warn lower camel case" section, previously
9092 commented out. Highlight negation char. Do not highlight the
9093 target in singleton method definitions.
9094
9095 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * faces.el (tty-setup-hook): Declare the hook.
9098
9099 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9100 and detect when a guard/pred depends on local vars (bug#14773).
9101 (pcase--u1): Adjust caller.
9102
9103 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9104
9105 * simple.el (line-move-partial, line-move): Account for
9106 line-spacing.
9107 (line-move-partial): Avoid setting vscroll when the last
9108 partially-visible line in window is of default height.
9109
9110 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9111
9112 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9113 been used a while.
9114
9115 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9116
9117 * subr.el (read-quoted-char): Remove unused local variable `char'.
9118
9119 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9120
9121 * ediff.el (ediff-version): Version update.
9122 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9123 (ediff-merge-with-ancestor-command, ediff-directories-command)
9124 (ediff-directories3-command, ediff-merge-directories-command)
9125 (ediff-merge-directories-with-ancestor-command): New functions.
9126 All are command-line interfaces to ediff: to facilitate calling
9127 Emacs with the appropriate ediff functions invoked.
9128
9129 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9130 (viper-save-kill-buffer): Check if buffer is modified.
9131
9132 * viper.el (viper-version): Version update.
9133 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9134
9135 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9138 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9139 (viper-intercept-ESC-key): Simplify.
9140 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9141 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9142 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9143 (viper-setup-ESC-to-escape): New functions.
9144 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9145 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9146
9147 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9148
9149 * simple.el (default-font-height, window-screen-lines):
9150 New functions.
9151 (line-move, line-move-partial): Use them instead of
9152 frame-char-height and window-text-height. This makes scrolling
9153 text smoother when the buffer's default face uses a font that is
9154 different from the frame's default font.
9155
9156 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9157
9158 * files.el (write-file): Do not display confirm dialog for NS,
9159 it does its own dialog, which can't be canceled (Bug#14578).
9160
9161 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9162
9163 * simple.el (line-move-partial): Adjust the row returned by
9164 posn-at-point for the current window-vscroll. (Bug#14567)
9165
9166 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9167
9168 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9169 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9170 spaces.
9171
9172 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9173
9174 * window.el (window-state-put-stale-windows): New variable.
9175 (window--state-put-2): Save list of windows without matching buffer.
9176 (window-state-put): Remove "bufferless" windows if possible.
9177
9178 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9179
9180 * simple.el (alternatives-define): Remove leftover :group keyword.
9181 Tweak docstring.
9182
9183 2013-07-06 Leo Liu <sdl.web@gmail.com>
9184
9185 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9186 (ido-enable-virtual-buffers): New variable.
9187 (ido-buffer-internal, ido-toggle-virtual-buffers)
9188 (ido-make-buffer-list): Use it.
9189 (ido-exhibit): Support turning on and off virtual buffers
9190 automatically.
9191
9192 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9193
9194 * simple.el (alternatives-define): New macro.
9195
9196 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9197
9198 * subr.el (read-quoted-char): Use read-key.
9199 (sit-for): Let read-event decode tty input (bug#14782).
9200
9201 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9202
9203 * calendar/todo-mode.el: Add handling of file deletion, both by
9204 mode command and externally. Fix various related bugs.
9205 Clarify Commentary and improve some documentation strings and code.
9206 (todo-delete-file): New command.
9207 (todo-check-file): New function.
9208 (todo-show): Handle external deletion of the file we're trying to
9209 show (bug#14688). Replace called-interactively-p by an optional
9210 prefix argument to avoid problematic interaction with catch form
9211 when byte compiled (bug#14702).
9212 (todo-quit): Handle external deletion of the archive's todo file.
9213 Make sure the buffer that was visiting the archive file is still
9214 live before trying to bury it.
9215 (todo-category-completions): Handle external deletion of any
9216 category completion files.
9217 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9218 of todo files, in case of external deletion.
9219 (todo-add-file): Replace unnecessary setq by let-binding.
9220 (todo-find-archive): Check whether there are any archives.
9221 Replace unnecessary setq by let-binding.
9222 (todo-archive-done-item): Use find-file-noselect to get the
9223 archive buffer whether or not the archive already exists.
9224 Remove superfluous code. Use file size instead of buffer-file-name to
9225 check if the archive is new; if it is, update list of archives.
9226 (todo-default-todo-file): Allow nil to be a valid value for when
9227 there are no todo files.
9228 (todo-reevaluate-default-file-defcustom): Use corrected definition
9229 of todo-default-todo-file.
9230 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9231 (todo-delete-category, todo-show-categories-table)
9232 (todo-category-number): Clarify comment.
9233 (todo-filter-items): Clarify documentation string.
9234 (todo-show-current-file, todo-display-as-todo-file)
9235 (todo-reset-and-enable-done-separator): Tweak documentation string.
9236 (todo-done-separator): Make separator length window-width, since
9237 bug#2749 is now fixed.
9238
9239 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9240
9241 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9242 Support both "gvfs-monitor-dir" and "inotifywait".
9243 (tramp-sh-file-inotifywait-process-filter): Rename from
9244 `tramp-sh-file-notify-process-filter'.
9245 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9246 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9247
9248 2013-07-05 Leo Liu <sdl.web@gmail.com>
9249
9250 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9251
9252 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9253
9254 * frame.el (display-pixel-height, display-pixel-width)
9255 (display-mm-height, display-mm-width): Mention behavior on
9256 multi-monitor setups in docstrings.
9257 (w32-display-monitor-attributes-list): Declare function.
9258 (display-monitor-attributes-list): Use it.
9259
9260 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9261
9262 * filenotify.el: New package.
9263
9264 * autorevert.el (top): Require filenotify.el.
9265 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9266 instead.
9267 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9268 (auto-revert-notify-handler): Use `file-notify-*' functions.
9269
9270 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9271
9272 * net/tramp.el (tramp-file-name-for-operation):
9273 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9274
9275 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9276 for `file-notify-add-watch' and `file-notify-rm-watch'.
9277 (tramp-process-sentinel): Improve trace.
9278 (tramp-sh-handle-file-notify-add-watch)
9279 (tramp-sh-file-notify-process-filter)
9280 (tramp-sh-handle-file-notify-rm-watch)
9281 (tramp-get-remote-inotifywait): New defuns.
9282
9283 2013-07-03 Juri Linkov <juri@jurta.org>
9284
9285 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9286 call of `occur-read-primary-args' to interactive spec.
9287
9288 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9289 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9290
9291 2013-07-03 Matthias Meulien <orontee@gmail.com>
9292
9293 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9294 `Buffer-menu-multi-occur'. Add it to the menu.
9295 (Buffer-menu-mode): Document it in docstring.
9296 (Buffer-menu-multi-occur): New command. (Bug#14673)
9297
9298 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9299
9300 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9301 keywords and built-ins.
9302
9303 2013-07-03 Glenn Morris <rgm@gnu.org>
9304
9305 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9306
9307 Make info-xref checks case-sensitive by default
9308 * info.el (Info-find-node, Info-find-in-tag-table)
9309 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9310 Add option for exact case matching of nodes.
9311 * info-xref.el (info-xref): New custom group.
9312 (info-xref-case-fold): New option.
9313 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9314
9315 2013-07-03 Leo Liu <sdl.web@gmail.com>
9316
9317 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9318
9319 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9320
9321 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9322 middle of block statement initially, lower the depth. Remove
9323 FIXME comment, not longer valid. Remove middle of block statement
9324 detection, no need to do that anymore since we've been using
9325 `ruby-parse-region' here.
9326
9327 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9328
9329 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9330
9331 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9332
9333 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9334
9335 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9336
9337 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9338 (desktop-restore-in-current-display): New customization option.
9339 (desktop--excluded-frame-parameters): Add `font'.
9340 (desktop--save-frames): Rename from desktop--save-windows.
9341 (desktop--restore-in-this-display-p): New function.
9342 (desktop--make-full-frame): Remove unwanted width/height from
9343 full(width|height) frames.
9344 (desktop--restore-frames): Rename from desktop--restore-windows.
9345 Obey desktop-restore-current-display. Do not delete old frames or
9346 select a new frame unless we were able to restore at least one frame.
9347
9348 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9349
9350 * files.el (find-file-noselect): Simplify conditional expression.
9351
9352 * textmodes/remember.el (remember-append-to-file):
9353 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9354
9355 Add `remember-notes' function to store random notes across Emacs
9356 restarts.
9357 * textmodes/remember.el (remember-data-file): Add :set callback to
9358 affect notes buffer (if any).
9359 (remember-notes): New command.
9360 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9361 New defcustoms for the `remember-notes' function.
9362 (remember-notes-save-and-bury-buffer): New command.
9363 (remember-notes-mode-map): New variable.
9364 (remember-mode): New minor mode.
9365 (remember-notes--kill-buffer-query): New function.
9366 * startup.el (initial-buffer-choice): Add notes to custom type.
9367
9368 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9369
9370 * bindings.el (right-char, left-char): Don't call sit-for, this is
9371 no longer needed. Use arithmetic comparison only for numerical
9372 arguments.
9373
9374 * international/mule-cmds.el (select-safe-coding-system):
9375 Handle the case of FROM being a string correctly. (Bug#14755)
9376
9377 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378
9379 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9380 progression on degenerate tables.
9381 (shr-rescale-image): ImageMagick animated images currently don't work.
9382
9383 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9384
9385 Some fixes and improvements for desktop frame restoration.
9386 It is still experimental and disabled by default.
9387 * desktop.el (desktop--save-windows): Put the selected frame at
9388 the head of the list.
9389 (desktop--make-full-frame): New function.
9390 (desktop--restore-windows): Try to re-select the frame that was
9391 selected upon saving. Do not abort if some frames fail to restore,
9392 just show an error message and continue. Set up maximized frames
9393 so they have default non-maximized dimensions.
9394
9395 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9396
9397 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9398 Don't start heredoc inside a string or comment.
9399
9400 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9401
9402 * bindings.el (visual-order-cursor-movement): New defcustom.
9403 (right-char, left-char): Provide visual-order cursor motion by
9404 calling move-point-visually. Update the doc strings.
9405
9406 2013-06-28 Kenichi Handa <handa@gnu.org>
9407
9408 * international/mule.el (define-coding-system): New coding system
9409 properties :inhibit-null-byte-detection,
9410 :inhibit-iso-escape-detection, and :prefer-utf-8.
9411 (set-buffer-file-coding-system): If :charset-list property of
9412 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9413 appropriate for setting.
9414
9415 * international/mule-cmds.el (select-safe-coding-system):
9416 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9417 multibyte characters, return utf-8 (or one of its siblings).
9418
9419 * international/mule-conf.el (prefer-utf-8): New coding system.
9420 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9421 files.
9422
9423 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9424
9425 * net/shr.el (shr-render-region): New function.
9426
9427 * net/eww.el: Autoload `eww-browse-url'.
9428
9429 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9430
9431 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9432 Adapt to `package-desc-version' being a list.
9433 Use `package--ac-desc-version' to retrieve version from a package
9434 archive element.
9435
9436 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9437
9438 New experimental feature to save&restore window and frame setup.
9439 * desktop.el (desktop-save-windows): New defcustom.
9440 (desktop--saved-states): New var.
9441 (desktop--excluded-frame-parameters): New defconst.
9442 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9443 (desktop--restore-windows, desktop--save-windows): New functions.
9444 (desktop-save): Call `desktop--save-windows'.
9445 (desktop-read): Call `desktop--restore-windows'.
9446
9447 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9448
9449 * net/shr.el (add-face-text-property): Remove compat definition.
9450
9451 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9452
9453 * info.el (Info-try-follow-nearest-node): Move search for footnote
9454 above search for node name to prevent missing a footnote (bug#14717).
9455
9456 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9457
9458 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9459
9460 2013-06-27 Leo Liu <sdl.web@gmail.com>
9461
9462 * net/eww.el (eww-read-bookmarks): Check file size.
9463
9464 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9465
9466 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9467 advice--pending if newdef is nil or an autoload (bug#13820).
9468 (advice-mapc): New function.
9469
9470 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9471
9472 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9473 probably.
9474 (eww-mode-map): Add a menu bar.
9475 (eww-add-bookmark): New command.
9476 (eww-bookmark-mode): New mode and commands.
9477 (eww-add-bookmark): Remove newlines from the title.
9478 (eww-bookmark-browse): Don't bug out if it's the only window.
9479
9480 2013-06-26 Glenn Morris <rgm@gnu.org>
9481
9482 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9483 (hfy-size): Handle ttys. (Bug#14668)
9484
9485 * info-xref.el: Update for Texinfo 5 change in *note format.
9486 (info-xref-node-re, info-xref-note-re): New constants.
9487 (info-xref-check-buffer): Use info-xref-note-re.
9488
9489 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9492
9493 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9494 nil terminate the loop (bug#14718).
9495
9496 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9497
9498 * net/eww.el: Rework history traversal. When going forward/back,
9499 put these actions into the history, too, so that they can be
9500 replayed.
9501 (eww-render): Move the history reset to the correct buffer.
9502
9503 2013-06-25 Juri Linkov <juri@jurta.org>
9504
9505 * files-x.el (modify-dir-local-variable): Change the header comment
9506 in the file with directory local variables. (Bug#14692)
9507
9508 * files-x.el (read-file-local-variable-value): Add `default'.
9509 (Bug#14710)
9510
9511 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9512
9513 * net/eww.el (eww-make-unique-file-name): Create a unique file
9514 name before saving to entering `y' accidentally asynchronously.
9515
9516 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9517
9518 * net/eww.el (eww-download): New command and keystroke.
9519
9520 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9521
9522 * net/eww.el (eww-copy-page-url): Change name of command.
9523
9524 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9525 be more consistent with Info and dired.
9526
9527 * net/eww.el (eww-mode-map): Ditto.
9528
9529 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9532 packages from archives.
9533 (package-archive-contents): Change format; include obsolete packages.
9534 (package-desc): Use `dir' to mark builtin packages.
9535 (package--from-builtin): Set the `dir' field to `builtin'.
9536 (generated-autoload-file, version-control): Declare.
9537 (package-compute-transaction): Change first arg and return value to be
9538 lists of package-descs. Adjust to new package-archive-contents format.
9539 (package--add-to-archive-contents): Adjust to new
9540 package-archive-contents format.
9541 (package-download-transaction): Arg is now a list of package-descs.
9542 (package-install): If `pkg' is a package name, pass it as
9543 a requirement, so it is subject to the usual (e.g. disabled) checks.
9544 (describe-package): Accept package-desc as well.
9545 (describe-package-1): Describe a specific package-desc. Add links to
9546 other package-descs for the same package name.
9547 (package-menu-describe-package): Pass the actual package-desc.
9548 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9549 works correctly.
9550 (package-desc-status): New function.
9551 (package-menu--refresh): New function, extracted
9552 from package-menu--generate.
9553 (package-menu--generate): Use it.
9554 (package-delete): Update package-alist.
9555 (package-menu-execute): Don't call package-initialize.
9556
9557 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9558 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9559 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9560 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9561 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9562 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9563
9564 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9565
9566 * window.el (window--state-get-1): Workaround for bug#14527.
9567 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9568
9569 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9570
9571 * net/eww.el (eww-back-url): Implement the history by stashing all
9572 the data into a list.
9573 (eww-forward-url): Allow going forward in the history, too.
9574
9575 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9578 for values and use read--expression for expressions (bug#14710).
9579 (read-file-local-variable): Avoid setq.
9580 (read-file-local-variable-mode): Use minor-mode-list.
9581
9582 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9583
9584 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9585 for DOI URLs.
9586
9587 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9588
9589 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9590 Update imenu-support when dialect changes.
9591
9592 2013-06-25 Leo Liu <sdl.web@gmail.com>
9593
9594 * ido.el (ido-read-internal): Allow forward slash on windows.
9595
9596 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9597
9598 * net/eww.el (eww): Start of strings is \\`, not ^.
9599
9600 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9601
9602 * net/shr.el (shr-browse-url): Fix interactive spec.
9603
9604 * net/eww.el (eww): Add a trailing slash to domain names.
9605
9606 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9607
9608 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9609
9610 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9611
9612 * net/shr.el (shr-browse-url): Use an external browser if given a
9613 prefix.
9614
9615 * net/eww.el (eww-external-browser): Move to shr.
9616
9617 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9618
9619 * net/eww.el (eww): Work more correctly for file: URLs.
9620 (eww-detect-charset): Allow quoted charsets.
9621 (eww-yank-page-url): New command and keystroke.
9622
9623 2013-06-24 Daiki Ueno <ueno@gnu.org>
9624
9625 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9626 file name of gpg executable.
9627 (epg-context-program): New function.
9628 (epg-context-home-directory): New function.
9629 (epg-context-set-program): New function.
9630 (epg-context-set-home-directory): New function.
9631 (epg--start): Use `epg-context-program' instead of
9632 'epg-gpg-program'.
9633 (epg--list-keys-1): Likewise.
9634
9635 2013-06-24 Leo Liu <sdl.web@gmail.com>
9636
9637 * ido.el (ido-read-internal): Fix bug#14620.
9638
9639 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9640
9641 * faces.el (face-documentation): Simplify.
9642 (read-face-attribute, tty-find-type, x-resolve-font-name):
9643 Use `string-match-p'.
9644 (list-faces-display): Use `string-match-p'. Simplify.
9645 (face-spec-recalc): Check face to avoid face alias loops.
9646 (read-color): Use `string-match-p' and non-capturing parenthesis.
9647
9648 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9649
9650 * net/shr.el (shr-rescale-image): Use the new
9651 :max-width/:max-height functionality.
9652
9653 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9654
9655 * net/eww.el (eww-search-prefix): New variable.
9656 (eww): Use it.
9657 (eww-external-browser): New variable.
9658 (eww-mode-map): New keystroke.
9659 (eww-browse-with-external-browser): New command.
9660
9661 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9662
9663 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9664
9665 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9666 Don't skip aligning the next header field when padding is 0;
9667 otherwise, field width is not respected unless the title is as
9668 wide as the field.
9669
9670 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9671
9672 * emacs-lisp/package.el (package-el-version): Remove.
9673 (package-process-define-package): Fix inf-loop.
9674 (package-install): Allow symbols as arguments again.
9675
9676 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9677
9678 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9679 add some more keyword-like methods.
9680 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9681
9682 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9683
9684 * bs.el (bs-buffer-show-mark): Make defvar-local.
9685 (bs-mode): Use setq-local.
9686
9687 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9688 (emacs-lock--try-unlocking): Make defvar-local.
9689
9690 2013-06-22 Glenn Morris <rgm@gnu.org>
9691
9692 * play/cookie1.el (cookie-apropos): Minor simplification.
9693
9694 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9695
9696 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9697
9698 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9699 `regexp-opt', it breaks the build during dumping.
9700
9701 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9702
9703 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9704 Highlight keyword-like methods on Kernel and Module with
9705 font-lock-builtin-face.
9706 (auto-mode-alist): Consolidate different entries into one regexp
9707 and add more *file-s.
9708
9709 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9710
9711 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9712
9713 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9714 (diary-entry): Use it in the action of this button type instead of
9715 diary-goto-entry.
9716
9717 * calendar/todo-mode.el: New version.
9718 (todo-add-category): Append new category to end of file and give
9719 it the highest number, instead of putting it at the beginning and
9720 giving it 0. Incorporate noninteractive functionality.
9721 (todo-forward-category): Adapt to 1-based category numbering.
9722 Allow skipping over archived categories.
9723 (todo-backward-category): Derive from todo-forward-category.
9724 (todo-backward-item, todo-forward-item): Make noninteractive and
9725 delegate interactive part to new commands. Make sensitive to done items.
9726 (todo-categories): Make value an alist of category names and
9727 vectors of item counts.
9728 (todo-category-beg): Make a defconst.
9729 (todo-category-number): Use 1 instead of 0 as initial value.
9730 (todo-category-select): Make sensitive to overlays, optional item
9731 highlighting and done items.
9732 (todo-delete-item): Make sensitive to overlays and marked and done items.
9733 (todo-edit-item): Make sensitive to overlays and editing of
9734 date/time header optional. Add format checks.
9735 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9736 no-op if point is not on an item. Advertise using todo-edit-quit.
9737 (todo-edit-mode): Make sensitive to new format, font-locking, and
9738 multiple todo files.
9739 (todo-insert-item, todo-insert-item-here): Derive from
9740 todo-basic-insert-item and extend functionality.
9741 (todo-item-end, todo-item-start): Make sensitive to done items.
9742 (todo-item-string): Don't return text properties. Restore point.
9743 (todo-jump-to-category): Make sensitive to multiple todo files and
9744 todo archives. Use extended category completion.
9745 (todo-lower-item, todo-raise-item): Rename to *-priority and
9746 derive from todo-set-item-priority.
9747 (todo-mode): Derive from special-mode. Make sensitive to new
9748 format, font-locking and multiple todo files. Make read-only.
9749 (todo-mode-map): Don't suppress digit keys, so they can supply
9750 prefix arguments. Add many new key bindings.
9751 (todo-prefix): Insert as an overlay instead of file text.
9752 Change semantics from diary date expression to purely visual mark.
9753 (todo-print): Rename to todo-print-buffer. Make buffer display
9754 features printable. Remove option to restrict number of items
9755 printed. Add option to print to file.
9756 (todo-print-function): Rename to todo-print-buffer-function.
9757 (todo-quit): Extend to handle exiting new todo modes.
9758 (todo-remove-item): Make sensitive to overlays.
9759 (todo-save): Extend to buffers of filtered items.
9760 (todo-show): Make sensitive to done items, multiple todo files and
9761 new todo modes. Offer to convert legacy todo file before creating
9762 first new todo file.
9763 (todo-show-priorities): Rename to todo-top-priorities.
9764 Change semantics of value 0.
9765 (todo-top-priorities): Rename to todo-filter-top-priorities,
9766 derive from todo-filter-items and extend functionality.
9767 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9768 and extend functionality to other types of filtered items.
9769 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9770 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9771 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9772 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9773 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9774 (todo-edit-mode-hook, todo-entry-prefix-function)
9775 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9776 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9777 (todo-initials, todo-insert-threshold, todo-item-string-start)
9778 (todo-line-string, todo-menu, todo-mode-hook)
9779 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9780 (todo-print-priorities, todo-remove-separator)
9781 (todo-save-top-priorities-too, todo-string-count-lines)
9782 (todo-string-multiline-p, todo-time-string-format)
9783 (todo-tmp-buffer-name): Remove.
9784 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9785 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9786 (todo-edit-category-diary-inclusion)
9787 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9788 (todo-edit-file, todo-edit-item-date-day)
9789 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9790 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9791 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9792 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9793 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9794 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9795 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9796 (todo-filter-top-priorities-multifile, todo-find-archive)
9797 (todo-find-filtered-items-file, todo-go-to-source-item)
9798 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9799 (todo-jump-to-archive-category, todo-lower-category)
9800 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9801 (todo-move-category, todo-move-item, todo-next-button)
9802 (todo-next-item, todo-padded-string, todo-powerset)
9803 (todo-previous-button, todo-previous-item)
9804 (todo-print-buffer-to-file, todo-raise-category)
9805 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9806 (todo-set-category-number, todo-set-item-priority)
9807 (todo-set-top-priorities-in-category)
9808 (todo-set-top-priorities-in-file, todo-show-categories-table)
9809 (todo-sort-categories-alphabetically-or-numerically)
9810 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9811 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9812 (todo-toggle-item-header, todo-toggle-item-highlighting)
9813 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9814 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9815 (todo-unarchive-items, todo-unmark-category): New commands.
9816 (todo-absolute-file-name, todo-add-to-buffer-list)
9817 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9818 (todo-basic-insert-item, todo-category-completions)
9819 (todo-category-number, todo-category-string-matcher-1)
9820 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9821 (todo-check-format, todo-clear-matches)
9822 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9823 (todo-current-category, todo-date-string-matcher)
9824 (todo-define-insertion-command, todo-diary-expired-matcher)
9825 (todo-diary-goto-entry, todo-diary-item-p)
9826 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9827 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9828 (todo-done-item-section-p, todo-done-separator)
9829 (todo-done-string-matcher, todo-files, todo-filter-items)
9830 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9831 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9832 (todo-insert-category-line, todo-insert-item-from-calendar)
9833 (todo-insert-sort-button, todo-insert-with-overlays)
9834 (todo-insertion-command-name, todo-insertion-key-bindings)
9835 (todo-label-to-key, todo-longest-category-name-length)
9836 (todo-make-categories-list, todo-mode-external-set)
9837 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9838 (todo-modes-set-3, todo-multiple-filter-files)
9839 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9840 (todo-read-category, todo-read-date, todo-read-dayname)
9841 (todo-read-file-name, todo-read-time)
9842 (todo-reevaluate-category-completions-files-defcustom)
9843 (todo-reevaluate-default-file-defcustom)
9844 (todo-reevaluate-filelist-defcustoms)
9845 (todo-reevaluate-filter-files-defcustom)
9846 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9847 (todo-reset-done-separator, todo-reset-done-separator-string)
9848 (todo-reset-done-string, todo-reset-global-current-todo-file)
9849 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9850 (todo-reset-prefix, todo-set-categories)
9851 (todo-set-date-from-calendar, todo-set-show-current-file)
9852 (todo-set-top-priorities, todo-short-file-name)
9853 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9854 (todo-total-item-counts, todo-update-buffer-list)
9855 (todo-update-categories-display, todo-update-categories-sexp)
9856 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9857 New functions.
9858 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9859 New major modes.
9860 (todo-categories, todo-display, todo-edit, todo-faces)
9861 (todo-filtered): New defgroups.
9862 (todo-archived-only, todo-button, todo-category-string, todo-date)
9863 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9864 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9865 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9866 (todo-add-item-if-new-category, todo-always-add-time-string)
9867 (todo-categories-align, todo-categories-archived-label)
9868 (todo-categories-category-label, todo-categories-diary-label)
9869 (todo-categories-done-label, todo-categories-number-separator)
9870 (todo-categories-todo-label, todo-categories-totals-label)
9871 (todo-category-completions-files, todo-completion-ignore-case)
9872 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9873 (todo-done-separator-string, todo-done-string)
9874 (todo-files-function, todo-filter-done-items, todo-filter-files)
9875 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9876 (todo-initial-category, todo-initial-file, todo-item-mark)
9877 (todo-legacy-date-time-regexp, todo-mode-line-function)
9878 (todo-nondiary-marker, todo-number-prefix)
9879 (todo-print-buffer-function, todo-show-current-file)
9880 (todo-show-done-only, todo-show-first, todo-show-with-done)
9881 (todo-skip-archived-categories, todo-top-priorities-overrides)
9882 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9883 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9884 New defcustoms.
9885 (todo-category-done, todo-date-pattern, todo-date-string-start)
9886 (todo-diary-items-buffer, todo-done-string-start)
9887 (todo-filtered-items-buffer, todo-item-start)
9888 (todo-month-abbrev-array, todo-month-name-array)
9889 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9890 (todo-top-priorities-buffer): New defconsts.
9891 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9892 (todo-categories-with-marks, todo-category-string-face)
9893 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9894 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9895 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9896 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9897 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9898 (todo-font-lock-keywords, todo-global-current-todo-file)
9899 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9900 (todo-insertion-commands-args)
9901 (todo-insertion-commands-args-genlist)
9902 (todo-insertion-commands-names, todo-insertion-map)
9903 (todo-key-bindings-t, todo-key-bindings-t+a)
9904 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9905 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9906 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9907 (todo-visited): New variables.
9908
9909 2013-06-21 Glenn Morris <rgm@gnu.org>
9910
9911 * play/cookie1.el (cookie-apropos): Add optional display argument.
9912 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9913 (psychoanalyze-pinhead): Use cookie-doctor.
9914
9915 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9916
9917 * emacs-lisp/package.el (tar-get-file-descriptor)
9918 (tar--extract): Declare.
9919
9920 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9921
9922 Extend flymake's warning predicate to be a function (bug#14217).
9923 * progmodes/flymake.el (flymake-warning-predicate): New.
9924 (flymake-parse-line): Use it.
9925 (flymake-warning-re): Make obsolete alias to
9926 `flymake-warning-predicate'.
9927
9928 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9929
9930 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9931 (package-obsolete-list): Remove.
9932 (package-activate): Remove min-version argument. Add `force' argument.
9933 Adjust to new package-alist format.
9934 (package-mark-obsolete): Remove.
9935 (package-unpack): Force reload of the package's autoloads.
9936 (package-installed-p): Check builtins if the installed package is not
9937 recent enough.
9938 (package-initialize): Don't reset package-obsolete-list.
9939 Don't specify which package version to activate.
9940 (package-process-define-package, describe-package-1)
9941 (package-menu--generate): Adjust to new package-alist format.
9942
9943 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9944
9945 * allout-widgets.el (allout-widgets-mode-off)
9946 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9947 (allout-widgets-post-command-business)
9948 (allout-widgets-after-copy-or-kill-function)
9949 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9950 (allout-decorate-item-and-context)
9951 (allout-graphics-modification-handler): Fix typos in docstrings.
9952 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9953
9954 * cmuscheme.el (scheme-start-file): Doc fix.
9955 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9956 (scheme-input-filter): Use `string-match-p'.
9957
9958 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9959
9960 * dired-x.el: Use Dired consistently in docstrings.
9961
9962 * dired.el: Use Dired consistently in docstrings.
9963 (dired-readin, dired-mode): Use `setq-local'.
9964 (dired-switches-alist): Make defvar-local.
9965 (dired-buffers-for-dir): Use `zerop'.
9966 (dired-safe-switches-p, dired-switches-escape-p)
9967 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9968 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9969 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
9970 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9971 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9972 (dired-toggle-marks, dired-mark-files-containing-regexp)
9973 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9974 (dired-flag-auto-save-files, dired-flag-backup-files):
9975 Use `looking-at-p'.
9976 (dired-mark-files-regexp, dired-build-subdir-alist):
9977 Use `string-match-p', `looking-at-p'.
9978
9979 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9980 (direct-print-region-helper): Use `string-match-p'.
9981
9982 2013-06-21 Leo Liu <sdl.web@gmail.com>
9983
9984 * comint.el (comint-redirect-results-list-from-process):
9985 Fix infinite loop.
9986
9987 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9988
9989 * net/eww.el (eww-update-header-line-format): Quote % characters.
9990
9991 2013-06-21 Glenn Morris <rgm@gnu.org>
9992
9993 * play/cookie1.el (cookie): New custom group.
9994 (cookie-file): New option.
9995 (cookie-check-file): New function.
9996 (cookie): Make it interactive. Make start and end messages optional.
9997 Interactively, display the result. Default to cookie-file.
9998 (cookie-insert): Default to cookie-file.
9999 (cookie-snarf): Make start and end messages optional.
10000 Default to cookie-file. Use with-temp-buffer.
10001 (cookie-read): Rename from read-cookie.
10002 Make start and end messages optional. Default to cookie-file.
10003 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10004 Do not autoload it.
10005 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10006 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10007
10008 2013-06-21 Leo Liu <sdl.web@gmail.com>
10009
10010 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10011
10012 2013-06-21 Glenn Morris <rgm@gnu.org>
10013
10014 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10015
10016 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10017 Daniel Hackney <dan@haxney.org>
10018
10019 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10020 Consolidate the single-file vs tarball code.
10021 (package-desc-suffix): New function.
10022 (package-desc-full-name): Don't bother inlining it.
10023 (package-load-descriptor): Return the new package-desc.
10024 (package-mark-obsolete): Remove unused arg `package'.
10025 (package-unpack): Make it work for single files as well.
10026 Make it update package-alist.
10027 (package--make-autoloads-and-stuff): Rename from
10028 package--make-autoloads-and-compile. Don't compile any more.
10029 (package--compile): New function.
10030 (package-generate-description-file): New function, extracted from
10031 package-unpack-single.
10032 (package-unpack-single): Remove.
10033 (package--with-work-buffer): Add indentation and debugging info.
10034 (package-download-single): Remove.
10035 (package-install-from-archive): Rename from package-download-tar, make
10036 it take a pkg-desc, and make it work for single files as well.
10037 (package-download-transaction): Simplify.
10038 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10039 external tar program.
10040 (package-install-from-buffer): Remove `pkg-desc' argument.
10041 Use package-tar-file-info for tar-mode buffers.
10042 (package-install-file): Simplify accordingly.
10043 (package-archive-base): Change to take a pkg-desc.
10044 * tar-mode.el (tar--check-descriptor): New function, extracted from
10045 tar-get-descriptor.
10046 (tar-get-descriptor): Use it.
10047 (tar-get-file-descriptor): New function.
10048 (tar--extract): New function, extracted from tar-extract.
10049 (tar--extract): Use it.
10050 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10051 case the summary uses non-ascii. Adjust to new calling convention of
10052 package-tar-file-info.
10053
10054 2013-06-21 Leo Liu <sdl.web@gmail.com>
10055
10056 * comint.el (comint-redirect-results-list-from-process):
10057 Fix random delay. (Bug#14681)
10058
10059 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10060
10061 * profiler.el (profiler-format-number): Use log, not log10.
10062
10063 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10064
10065 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10066
10067 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10068
10069 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10070 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10071 yet available.
10072 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10073 (AUTOGENEL): ... here.
10074 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10075 (cl--defsubst-expand): Use it.
10076
10077 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10078
10079 * subr.el (log10): Move here from C code, and declare as obsolete.
10080 All uses of (log10 X) replaced with (log X 10).
10081
10082 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10083
10084 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10085 Declare with `defvar-local'.
10086 (tabulated-list-use-header-line, tabulated-list-entries)
10087 (tabulated-list-padding, tabulated-list-printer)
10088 (tabulated-list-sort-key): Declare with `defvar-local'.
10089 (tabulated-list-init-header, tabulated-list-print-fake-header):
10090 Use `setq-local'.
10091
10092 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10093
10094 * arc-mode.el (archive-mode): Add `archive-write-file' to
10095 `write-contents-functions' also for remote files. (Bug#14652)
10096
10097 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10098
10099 * cus-edit.el (custom-commands): Fix typos.
10100 (custom-display): Fix tooltip text.
10101 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10102 Fix typos in docstrings.
10103 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10104 (custom-unlispify-menu-entry, custom-magic-value-create)
10105 (custom-add-see-also, custom-group-value-create): Use ?\s.
10106 (custom-guess-type, customize-apropos, editable-field)
10107 (custom-face-value-create): Use `string-match-p'.
10108 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10109
10110 * custom.el (custom-load-symbol): Use `string-match-p'.
10111
10112 * ansi-color.el: Convert to lexical binding.
10113 (ansi-colors): Fix URL.
10114 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10115 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10116 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10117
10118 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10119
10120 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10121
10122 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10123
10124 2013-06-19 Tom Tromey <tromey@redhat.com>
10125
10126 * net/eww.el (eww-top-url): Remove.
10127 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10128 (eww-render): Set new variables. Don't set eww-top-url.
10129 (eww-handle-link): Handle "prev", "home", and "contents".
10130 Downcase the rel text.
10131 (eww-top-url): Choose best top URL.
10132
10133 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10134
10135 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10136 relying in widget.el. Using widget.el leads to too many
10137 user interface inconsistencies.
10138 (eww-self-insert): Implement entering commands in text fields.
10139 (eww-process-text-input): New function to make text input field editing
10140 work.
10141 (eww-submit): Rewrite to use the new-style form methods.
10142 (eww-select-display): Display the correct selected item.
10143 (eww-change-select): Implement changing the select value.
10144 (eww-toggle-checkbox): Implement radio/checkboxes.
10145 (eww-update-field): Fix compilation error.
10146 (eww-tag-textarea): Implement <textarea>.
10147
10148 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10149 we don't shadow mode-specific bindings.
10150
10151 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10152 nothing to push.
10153
10154 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10155
10156 2013-06-19 Glenn Morris <rgm@gnu.org>
10157
10158 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10159
10160 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10161
10162 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10163 not needed.
10164
10165 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10166
10167 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10168
10169 * net/browse-url.el (browse-url-browser-function):
10170 `eww-browse-url' has the right calling signature, `eww' does not.
10171
10172 2013-06-19 Glenn Morris <rgm@gnu.org>
10173
10174 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10175 Only eval autoloaded macros.
10176 (byte-compile-autoload): Only give the macro warning for macros.
10177
10178 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10179 (ps-underlined-faces): Declare.
10180
10181 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10182 (speedbar-add-supported-extension): Declare.
10183
10184 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10185 Don't include a date stamp in the header of the generated file;
10186 it leads to needless differences between output files.
10187
10188 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10189
10190 * net/secrets.el (secrets-struct-secret-content-type):
10191 Replace check of introspection data by a test call of "CreateItem".
10192 Some servers do not offer introspection.
10193
10194 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * electric.el (electric-pair-mode): Improve interaction with
10197 electric-layout-mode.
10198 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10199 (electric-pair-syntax): Use text-mode-syntax-table in comments
10200 and strings.
10201 (electric-pair--insert): New function.
10202 (electric-pair-post-self-insert-function): Use it and
10203 electric--after-char-pos.
10204
10205 2013-06-19 Leo Liu <sdl.web@gmail.com>
10206
10207 * progmodes/octave.el (octave-help): Fix regexp.
10208
10209 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10210
10211 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10212 (shr-table-horizontal-line): Allow nil as a value, and change the
10213 default.
10214 (shr-insert-table-ruler): Respect the nil value.
10215
10216 2013-06-18 Tom Tromey <tromey@barimba>
10217
10218 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10219 New defvars.
10220 (eww-open-file): New defun.
10221 (eww-render): Initialize new variables.
10222 (eww-display-html): Handle "link" and "a".
10223 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10224 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10225 (eww-back-url): Rename from eww-previous-url.
10226 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10227 New defuns.
10228
10229 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10230
10231 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10232 Distinguish ternary operator tokens from slash symbol and slash
10233 char literal.
10234
10235 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10236
10237 Convert symbol prettification into minor mode and global minor mode.
10238
10239 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10240 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10241 (prettify-symbols--keywords): Rename from
10242 `prog-prettify-symbols-alist' and make a local defvar.
10243 (prettify-symbols--compose-symbol): Rename from
10244 `prog--prettify-font-lock-compose-symbol'.
10245 (prettify-symbols--make-keywords): Rename from
10246 `prog-prettify-font-lock-symbols-keywords' and simplify.
10247 (prog-prettify-install): Remove.
10248 (prettify-symbols-mode): New minor mode, based on
10249 `prog-prettify-install'.
10250 (turn-on-prettify-symbols-mode): New function.
10251 (global-prettify-symbols-mode): New globalized minor mode.
10252
10253 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10254 * progmodes/cfengine.el (cfengine3-mode):
10255 * progmodes/perl-mode.el (perl-mode): Don't call
10256 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10257
10258 2013-06-18 Juri Linkov <juri@jurta.org>
10259
10260 * files-x.el (modify-file-local-variable-message): New function.
10261 (modify-file-local-variable)
10262 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10263 and call `modify-file-local-variable-message' when it's non-nil.
10264 (add-file-local-variable, delete-file-local-variable)
10265 (add-file-local-variable-prop-line)
10266 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10267 and use it. (Bug#9820)
10268
10269 2013-06-18 Juri Linkov <juri@jurta.org>
10270
10271 * emulation/vi.el (vi-shell-op):
10272 * emulation/vip.el (vip-execute-com, ex-command):
10273 * emulation/viper-cmd.el (viper-exec-bang):
10274 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10275 the call of `shell-command-on-region'. (Bug#14637)
10276
10277 * simple.el (shell-command-on-region): Doc fix.
10278
10279 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10282 (bug#14633).
10283
10284 2013-06-18 Glenn Morris <rgm@gnu.org>
10285
10286 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10287
10288 * newcomment.el (comment-search-forward, comment-search-backward):
10289 Doc fix. (Bug#14376)
10290
10291 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10292
10293 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10294 (buffer-face-mode-invoke): Doc fix.
10295
10296 2013-06-18 Matthias Meulien <orontee@gmail.com>
10297
10298 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10299 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10300
10301 2013-06-18 Glenn Morris <rgm@gnu.org>
10302
10303 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10304 Replace obsolete function generic-make-keywords with its expansion.
10305
10306 * progmodes/python.el (ffap-alist): Declare.
10307
10308 * textmodes/reftex.el (bibtex-mode-map): Declare.
10309
10310 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10311
10312 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10313 (package-unpack, package-unpack-single): Return the pkg-dir.
10314 (package-download-transaction): Use it to update package-alist.
10315
10316 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10317
10318 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10319 possible choice.
10320
10321 2013-06-17 Juri Linkov <juri@jurta.org>
10322
10323 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10324
10325 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10326
10327 * emacs-lisp/package.el (package-load-descriptor):
10328 Remove `with-syntax-table' call, `read' doesn't need it.
10329 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10330
10331 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10332
10333 * startup.el (command-line): Expand package name returned by
10334 `package--description-file' (bug#14639).
10335
10336 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10337
10338 * emacs-lisp/package.el (package-load-descriptor): Do not call
10339 `emacs-lisp-mode', just use its syntax table.
10340
10341 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10342
10343 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10344 `font-lock-extra-managed-props' if any prettifying keyword is added.
10345 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10346 (prog-mode): Use `setq-local'.
10347
10348 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10349
10350 * international/characters.el (standard-case-table): Set syntax of ?»
10351 and ?« to punctuation.
10352
10353 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10354
10355 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10356 Save relevant match data before calling `syntax-ppss' (bug#14595).
10357
10358 2013-06-15 Juri Linkov <juri@jurta.org>
10359
10360 * files-x.el (modify-file-local-variable-prop-line): Add local
10361 variables to the end of the existing comment on the first line.
10362 Use `file-auto-mode-skip' to skip interpreter magic line,
10363 and also skip XML declaration.
10364
10365 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * startup.el (package--builtin-versions): New var.
10368 (package-subdirectory-regexp): Remove.
10369 (package--description-file): Hard code its value instead.
10370
10371 * emacs-lisp/package.el: Don't activate packages older than builtin.
10372 (package-obsolete-list): Rename from package-obsolete-alist, and make
10373 it into a simple list of package-desc.
10374 (package-strip-version): Remove.
10375 (package-built-in-p): Use package--builtin-versions.
10376 (package-mark-obsolete): Simplify.
10377 (package-process-define-package): Mark it obsolete if older than the
10378 builtin version.
10379 (package-handle-response): Use line-end-position.
10380 (package-read-archive-contents, package--download-one-archive):
10381 Simplify.
10382 (package--add-to-archive-contents): Skip if older than the builtin or
10383 installed version.
10384 (package-menu-describe-package): Fix last change.
10385 (package-list-unversioned): New var.
10386 (package-menu--generate): Use it.
10387
10388 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10389 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10390 (autoload-builtin-package-versions): New variable.
10391 (autoload-generate-file-autoloads): Use them.
10392 Remove the list of autoloaded functions/macros from the
10393 (autoload...) comments.
10394
10395 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10396
10397 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10398
10399 * simple.el (line-move-partial): Don't jump to the next screen
10400 line as soon as it becomes visible. Instead, continue enlarging
10401 the vscroll until the portion of a tall screen line that's left on
10402 display is about the height of the frame's default font.
10403 (Bug#14567)
10404
10405 2013-06-15 Glenn Morris <rgm@gnu.org>
10406
10407 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10408 compilation-error-regexp-alist void, or local while let-bound.
10409
10410 * progmodes/make-mode.el (makefile-mode-syntax-table):
10411 Treat "=" as punctuation. (Bug#14614)
10412
10413 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10414
10415 * help-fns.el (describe-variable):
10416 Add extra line for permanent-local variables.
10417
10418 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10419
10420 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10421 Add export, import, library. (Bug#9164)
10422 (library): Set indent function.
10423
10424 2013-06-14 Glenn Morris <rgm@gnu.org>
10425
10426 * term/xterm.el (xterm--query):
10427 Stop after first matching handler. (Bug#14615)
10428
10429 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10430
10431 Add support for dired in saveplace.
10432 * dired.el (dired-initial-position-hook): New variable.
10433 (dired-initial-position): Call hook to place cursor position.
10434 * saveplace.el (save-place-to-alist): Add dired position.
10435 (save-place-dired-hook): New function.
10436
10437 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10440 through a symbol rather than letrec.
10441
10442 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10443 (package-desc): Add `dir' field.
10444 (package-desc-full-name): New function.
10445 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10446 (package-maybe-load-descriptor): Remove.
10447 (package-load-all-descriptors): Just call package-load-descriptor.
10448 (package--disabled-p): New function.
10449 (package-desc-vers, package-desc-doc): Remove aliases.
10450 (package--dir): Remove function.
10451 (package-activate): Check if a package is disabled.
10452 (package-process-define-package): New function, extracted from
10453 define-package.
10454 (define-package): Turn into a place holder.
10455 (package-unpack-single, package-tar-file-info):
10456 Use package--description-file.
10457 (package-compute-transaction): Use package--disabled-p.
10458 (package-download-transaction): Don't call
10459 package-maybe-load-descriptor since they're all loaded anyway.
10460 (package-install): Change argument to be a pkg-desc.
10461 (package-delete): Use a single pkg-desc argument.
10462 (describe-package-1): Use package-desc-dir instead of package--dir.
10463 Use package-desc property instead of package-symbol.
10464 (package-install-button-action): Adjust accordingly.
10465 (package--push): Rewrite.
10466 (package-menu--print-info): Adjust accordingly. Change the ID format
10467 to be a pkg-desc.
10468 (package-menu-describe-package, package-menu-get-status)
10469 (package-menu--find-upgrades, package-menu-mark-upgrades)
10470 (package-menu-execute, package-menu--name-predicate):
10471 Adjust accordingly.
10472 * startup.el (package--description-file): New function.
10473 (command-line): Use it.
10474 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10475 Use package-desc-version.
10476
10477 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10478 (byte-compile-preprocess): Use it.
10479 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10480 can't quite recognize.
10481 (byte-compile-add-to-list): Remove.
10482 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10483 (cconv-closure-convert): Add assertion.
10484
10485 * emacs-lisp/map-ynp.el: Use lexical-binding.
10486 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10487 Factor out some repeated code.
10488
10489 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * subr.el (with-eval-after-load): New macro.
10492 (eval-after-load): Allow form to be a function.
10493 take advantage of lexical-binding.
10494 (do-after-load-evaluation): Use dolist and adjust to new format.
10495 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10496
10497 2013-06-13 Juri Linkov <juri@jurta.org>
10498
10499 * replace.el (perform-replace): Display "symbol " and other search
10500 modes from `isearch-message-prefix' in the *Help* buffer.
10501
10502 * isearch.el (isearch-query-replace): Add " symbol" and other
10503 possible search modes from `isearch-message-prefix' to the prompt.
10504 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10505 when reading a regexp to collect.
10506
10507 2013-06-13 Juri Linkov <juri@jurta.org>
10508
10509 * isearch.el (word-search-regexp): Match whitespace if the search
10510 string begins or ends in whitespace. The LAX arg is applied to
10511 both ends of the search string. Use `regexp-quote' and explicit
10512 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10513 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10514 boundaries are replaced with symbol boundaries, and characters
10515 between symbols match non-word non-symbol syntax. (Bug#14602)
10516
10517 2013-06-13 Juri Linkov <juri@jurta.org>
10518
10519 * isearch.el (isearch-del-char): Don't exceed the length of
10520 `isearch-string' by the prefix arg. (Bug#14563)
10521
10522 2013-06-13 Juri Linkov <juri@jurta.org>
10523
10524 * isearch.el (isearch-yank-word, isearch-yank-line)
10525 (isearch-char-by-name, isearch-quote-char)
10526 (isearch-printing-char, isearch-process-search-char):
10527 Add optional count prefix arg. (Bug#14563)
10528
10529 * international/isearch-x.el
10530 (isearch-process-search-multibyte-characters):
10531 Add optional count prefix arg.
10532
10533 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10536 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10537 lexical-binding.
10538
10539 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10540
10541 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10542
10543 2013-06-13 Glenn Morris <rgm@gnu.org>
10544
10545 * startup.el (tty-handle-args):
10546 Don't just discard "--" and anything after. (Bug#14608)
10547
10548 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10549
10550 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10551
10552 Implement changes in Secret Service API. Make it backward compatible.
10553 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10554 (secrets-create-item): Use it. Prefix properties with interface.
10555
10556 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10557
10558 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10559 (term-emulate-terminal): Respect term-suppress-hard-newline.
10560
10561 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10562
10563 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10564 Only remove a `thumb-file' overlay. (Bug#14548)
10565
10566 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10567
10568 * mail/reporter.el (reporter-submit-bug-report):
10569 Handle missing package-name. (Bug#14600)
10570
10571 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10572
10573 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10574 (reftex-citation-prompt, reftex-default-bibliography)
10575 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10576 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10577 (reftex-bib-sort-author, reftex-bib-sort-year)
10578 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10579 (reftex-extract-bib-entries-from-thebibliography)
10580 (reftex-get-bibkey-default, reftex-get-bib-names)
10581 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10582 (reftex-format-bib-entry, reftex-parse-bibitem)
10583 (reftex-format-bibitem, reftex-do-citation)
10584 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10585 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10586 (reftex-insert-bib-matches, reftex-format-citation)
10587 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10588 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10589 existing comments into docstrings.
10590
10591 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10592
10593 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10594
10595 2013-06-12 Andreas Schwab <schwab@suse.de>
10596
10597 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10598 for auto-save files.
10599
10600 2013-06-12 Glenn Morris <rgm@gnu.org>
10601
10602 * ido.el (ido-delete-ignored-files): Remove.
10603 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10604 Go back to calling ido-ignore-item-p directly.
10605
10606 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10607
10608 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10609
10610 * ido.el (ido-delete-ignored-files): New function,
10611 split from ido-make-file-list-1.
10612 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10613 (ido-make-file-list-1): Use ido-delete-ignored-files.
10614
10615 2013-06-12 Leo Liu <sdl.web@gmail.com>
10616
10617 * progmodes/octave.el (inferior-octave-startup)
10618 (inferior-octave-completion-table)
10619 (inferior-octave-track-window-width-change)
10620 (octave-eldoc-function-signatures, octave-help)
10621 (octave-find-definition): Use single quoted strings.
10622 (inferior-octave-startup-args): Change default value.
10623 (inferior-octave-startup): Do not hard code "-i" and
10624 "--no-line-editing".
10625 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10626 (inferior-octave-directory-tracker): Use it.
10627 (octave-goto-function-definition): Robustify.
10628 (octave-help): Support highlighting operators in 'See also'.
10629 (octave-find-definition): Find subfunctions only in Octave mode.
10630
10631 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * help-fns.el (help-fns--compiler-macro): If the handler function is
10634 named, then put a link to it.
10635 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10636 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10637 (cl-typep): Use it.
10638 (cl-eval-when): Simplify debug spec.
10639 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10640 compiler-macro function instead of setting `compiler-macro-file'.
10641
10642 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10643
10644 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10645 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10646
10647 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10648 Daniel Hackney <dan@haxney.org>
10649
10650 First part of Daniel Hackney's patch to package.el.
10651 * emacs-lisp/package.el: Use defstruct.
10652 (package-desc): New, main struct.
10653 (package--bi-desc, package--ac-desc): New structs, used to describe the
10654 format in external files.
10655 (package-desc-vers): Replace with package-desc-version accessor.
10656 (package-desc-doc): Replace with package-desc-summary accessor.
10657 (package-activate-1): Remove `package' arg since the pkg-vec now
10658 includes the name.
10659 (define-package): Use package-desc-from-define.
10660 (package-unpack-single): Change file-name arg to be a symbol.
10661 (package--add-to-archive-contents): Use package-desc-create and new
10662 accessor functions to package--ac-desc.
10663 (package-buffer-info, package-tar-file-info): Return a package-desc.
10664 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10665 arg to be a package-desc.
10666 (package-install-file): Adjust accordingly. Use \' to match EOS.
10667 (package--from-builtin): New function.
10668 (describe-package-1, package-menu--generate): Use it.
10669 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10670 (package-generate-autoloads): Idem and return the name of the file.
10671 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10672 Change pkg-info arg to be a package-desc.
10673 Use package-make-ac-desc.
10674 (package-upload-file): Use \' to match EOS.
10675 * finder.el (finder-compile-keywords): Use package-make-builtin.
10676
10677 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 * vc/vc.el (vc-deduce-fileset): Change error message.
10680 (vc-read-backend): New function.
10681 (vc-next-action): Use it.
10682
10683 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10684
10685 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10686 (prolog-font-lock-keywords): Use regexp-opt instead.
10687 Don't manually highlight strings.
10688 (prolog-mode-variables): Simplify comment-start-skip.
10689 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10690
10691 * emacs-lisp/generic.el (generic--normalise-comments)
10692 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10693 (generic-mode-set-comments): Use them.
10694 (generic-bracket-support): Use setq-local.
10695 (generic-make-keywords-list): Declare obsolete.
10696
10697 2013-06-11 Glenn Morris <rgm@gnu.org>
10698
10699 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10700 Prettify after setting font-lock-defaults. (Bug#14574)
10701
10702 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10703
10704 * replace.el (query-replace, occur-read-regexp-defaults-function)
10705 (replace-search):
10706 * subr.el (declare-function, number-sequence, local-set-key)
10707 (substitute-key-definition, locate-user-emacs-file)
10708 (with-silent-modifications, split-string, eval-after-load):
10709 Fix typos, remove unneeded backslashes and reflow some docstrings.
10710
10711 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10712
10713 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10714 default for Elisp files.
10715
10716 2013-06-11 Glenn Morris <rgm@gnu.org>
10717
10718 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10719 although define-derived-mode was doing this anyway. (Bug#14583)
10720
10721 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10722
10723 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10724 Fix make-variable-buffer-local call to refer to the correct variable.
10725
10726 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10727
10728 * eshell/em-term.el (eshell-visual-commands)
10729 (eshell-visual-subcommands, eshell-visual-options):
10730 Add summary line to docstrings. Add cross-references.
10731
10732 2013-06-10 Glenn Morris <rgm@gnu.org>
10733
10734 * epa.el (epa-read-file-name): New function. (Bug#14510)
10735 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10736
10737 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10738
10739 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10740 output redirection to be ignored with visual commands.
10741
10742 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10743
10744 * eshell/em-term.el (eshell-visual-command-p): New function.
10745 (eshell-term-initialize): Move long lambda to separate function
10746 eshell-visual-command-p.
10747 * eshell/em-dirs.el (eshell-dirs-initialize):
10748 * eshell/em-script.el (eshell-script-initialize):
10749 Add missing #' to lambda.
10750
10751 2013-06-08 Leo Liu <sdl.web@gmail.com>
10752
10753 * progmodes/octave.el (octave-add-log-current-defun): New function.
10754 (octave-mode): Set add-log-current-defun-function.
10755 (octave-goto-function-definition): Do not move point if not found.
10756 (octave-find-definition): Enhance to try subfunctions first.
10757
10758 2013-06-08 Glenn Morris <rgm@gnu.org>
10759
10760 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10761 (byte-compile-backward-char, byte-compile-backward-word):
10762 Improve previous change, to handle non-explicit nil.
10763
10764 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10765
10766 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10767 (smie--opener/closer-at-point): New function.
10768 (smie--matching-block-data): Use it. Don't match from right after an
10769 opener or right before a closer. Obey smie-blink-matching-inners.
10770 Don't signal a mismatch for repeated inners like "switch..case..case".
10771
10772 2013-06-07 Leo Liu <sdl.web@gmail.com>
10773
10774 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10775 to t. (Bug#14303)
10776 (octave-function-header-regexp): Fix. (Bug#14570)
10777 (octave-help-mode-finish-hook, octave-help-mode-finish):
10778 Remove. Just use temp-buffer-show-hook.
10779
10780 * newcomment.el (comment-search-backward): Revert last change.
10781 (Bug#14434)
10782
10783 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10784
10785 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10786
10787 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10788 through xargs, to avoid failure due to MS-Windows limitations on
10789 command-line length.
10790
10791 2013-06-06 Glenn Morris <rgm@gnu.org>
10792
10793 * font-lock.el (lisp-font-lock-keywords-2):
10794 Treat user-error like error.
10795
10796 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10797 (byte-compile-backward-char, byte-compile-backward-word):
10798 Handle explicit nil arguments. (Bug#14565)
10799
10800 2013-06-05 Alan Mackenzie <acm@muc.de>
10801
10802 * isearch.el (isearch-allow-prefix): New user option.
10803 (isearch-other-meta-char): Don't exit isearch when a prefix
10804 argument is typed whilst `isearch-allow-prefix' is non-nil.
10805 (Bug#9706)
10806
10807 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * autorevert.el (auto-revert-notify-handler): Use memq.
10810 Hide assertion failure.
10811
10812 * skeleton.el: Use cl-lib.
10813 (skeleton-further-elements): Use defvar-local.
10814 (skeleton-insert): Use cl-progv.
10815
10816 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10817
10818 * progmodes/prog-mode.el (prog-prettify-symbols)
10819 (prog-prettify-install): Update docstrings.
10820
10821 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10822
10823 * simple.el: Move all the prog-mode code to prog-mode.el.
10824 * progmodes/prog-mode.el: New file.
10825 * loadup.el: Add prog-mode.el.
10826
10827 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10828
10829 * simple.el (prog-prettify-symbols): Add version.
10830 (prog-prettify-install): Add convenience function to prettify symbols.
10831
10832 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10833 (perl--augmented-font-lock-keywords-1)
10834 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10835 variables and use it.
10836
10837 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10838 (cfengine3-mode): Remove unneeded variable and use it.
10839
10840 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10841 (lisp--augmented-font-lock-keywords-1)
10842 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10843 Remove unneeded variables and use it.
10844
10845 2013-06-05 João Távora <joaotavora@gmail.com>
10846
10847 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10848 to point when opening the connection. (Bug#14380)
10849
10850 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * subr.el (load-history-regexp, load-history-filename-element)
10853 (eval-after-load, after-load-functions, do-after-load-evaluation)
10854 (eval-next-after-load, display-delayed-warnings)
10855 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10856 definition of save-match-data.
10857 (overriding-local-map): Remove accidental obsolescence declaration.
10858
10859 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10860
10861 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10862
10863 Generalize symbol prettify support to prog-mode and implement it
10864 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10865 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10866 (prog--prettify-font-lock-compose-symbol)
10867 (prog-prettify-font-lock-symbols-keywords): New variables and
10868 functions to support symbol prettification.
10869 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10870 (lisp--augmented-font-lock-keywords-1)
10871 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10872 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10873 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10874 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10875 Implement prettify of -> => :: strings.
10876 * progmodes/perl-mode.el (perl-prettify-symbols)
10877 (perl--font-lock-compose-symbol)
10878 (perl--font-lock-symbols-keywords): Move to prog-mode.
10879 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10880 (perl-font-lock-keywords-1)
10881 (perl-font-lock-keywords-2): Remove explicit prettify support.
10882 (perl--augmented-font-lock-keywords)
10883 (perl--augmented-font-lock-keywords-1)
10884 (perl--augmented-font-lock-keywords-2, perl-mode):
10885 Implement prettify support.
10886
10887 2013-06-05 Leo Liu <sdl.web@gmail.com>
10888
10889 Re-implement SMIE matching block highlight using
10890 show-paren-data-function. (Bug#14395)
10891 * emacs-lisp/smie.el (smie-matching-block-highlight)
10892 (smie--highlight-matching-block-overlay)
10893 (smie--highlight-matching-block-lastpos)
10894 (smie-highlight-matching-block)
10895 (smie-highlight-matching-block-mode): Remove.
10896 (smie--matching-block-data-cache): New variable.
10897 (smie--matching-block-data): New function.
10898 (smie-setup): Use smie--matching-block-data for
10899 show-paren-data-function.
10900
10901 * progmodes/octave.el (octave-mode-menu): Fix.
10902 (octave-find-definition): Skip garbage lines.
10903
10904 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 Fix compilation error with simultaneous dynamic+lexical scoping.
10907 Add warning when a defvar appears after the first let-binding.
10908 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10909 (byte-compile-close-variables): Initialize it.
10910 (byte-compile--declare-var): New function.
10911 (byte-compile-file-form-defvar)
10912 (byte-compile-file-form-define-abbrev-table)
10913 (byte-compile-file-form-custom-declare-variable): Use it.
10914 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10915 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10916 (byte-compile-bind): Handle dynamic bindings that shadow
10917 lexical bindings.
10918 (byte-compile-unbind): Make arg non-optional.
10919 (byte-compile-let): Simplify.
10920 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10921 (cconv--analyse-function, cconv-analyse-form): Populate it.
10922 Protect byte-compile-bound-variables to limit the scope of defvars.
10923 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10924 Remove unneeded rule for `declare'.
10925
10926 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10927 so as to avoid depending on cl-adjoin at run-time.
10928 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10929
10930 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10931 (macroexp--warn-and-return): Use it.
10932
10933 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10934
10935 * subr.el: Convert to lexical binding.
10936 (overriding-local-map): Make obsolete.
10937 (add-to-list): Doc fix. Add compiler macro.
10938 (read-key): Swap values of local maps.
10939
10940 2013-06-05 Leo Liu <sdl.web@gmail.com>
10941
10942 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10943
10944 2013-06-04 Leo Liu <sdl.web@gmail.com>
10945
10946 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10947 (compilation-auto-jump): Suppress the "Mark set" message to give
10948 way to exit message.
10949
10950 2013-06-04 Alan Mackenzie <acm@muc.de>
10951
10952 Remove faulty optimisation from indentation calculation.
10953 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10954 search limit based on 2000 characters back from indent-point.
10955
10956 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10957
10958 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10959
10960 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * emacs-lisp/lisp.el: Use lexical-binding.
10963 (lisp--local-variables-1, lisp--local-variables): New functions.
10964 (lisp--local-variables-completion-table): New var.
10965 (lisp-completion-at-point): Use it complete let-bound vars.
10966
10967 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10968 eagerly (bug#14422).
10969
10970 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10971
10972 * autorevert.el (auto-revert-notify-enabled)
10973 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10974 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10975 (auto-revert-notify-handler): Handle also gfilenotify.
10976
10977 * subr.el (file-notify-handle-event): New defun. Replacing ...
10978 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10979 Remove.
10980
10981 2013-06-03 Juri Linkov <juri@jurta.org>
10982
10983 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10984 `M-s h .'. (Bug#14427)
10985
10986 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10987 command `hi-lock-face-symbol-at-point'.
10988 (hi-lock-face-symbol-at-point): New command.
10989 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10990 (hi-lock-menu): Add `highlight-symbol-at-point'.
10991 (hi-lock-mode): Doc fix.
10992
10993 * isearch.el (isearch-forward-symbol-at-point): New command.
10994 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10995 (isearch-highlight-regexp): Add a regexp which matches
10996 words/symbols for word/symbol mode.
10997
10998 * subr.el (find-tag-default-bounds): New function with the body
10999 mostly moved from `find-tag-default'.
11000 (find-tag-default): Move most code to `find-tag-default-bounds',
11001 call it and apply `buffer-substring-no-properties' afterwards.
11002
11003 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11004
11005 * eshell/em-term.el (eshell-term-initialize):
11006 Use `cl-intersection' rather than `intersection'.
11007
11008 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11009
11010 * vc/log-view.el: Doc fix.
11011 (log-view-mode-map): Copy keymap from `special-mode-map'.
11012
11013 2013-06-02 Eric Ludlam <zappo@gnu.org>
11014
11015 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11016 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11017 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11018 (eieio-unbound, eieio-default-superclass)
11019 (eieio--define-field-accessors, method-static, method-before)
11020 (method-primary, method-after, method-num-lists)
11021 (method-generic-before, method-generic-primary)
11022 (method-generic-after, method-num-slots)
11023 (eieio-specialized-key-to-generic-key)
11024 (eieio--check-type, class-v, class-p)
11025 (eieio-class-name, define-obsolete-function-alias)
11026 (eieio-class-parents-fast, eieio-class-children-fast)
11027 (same-class-fast-p, class-constructor, generic-p)
11028 (generic-primary-only-p, generic-primary-only-one-p)
11029 (class-option-assoc, class-option, eieio-object-p)
11030 (class-abstract-p, class-method-invocation-order)
11031 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11032 (eieio-class-un-autoload, eieio-defclass)
11033 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11034 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11035 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11036 (eieio-defgeneric-reset-generic-form)
11037 (eieio-defgeneric-form-primary-only)
11038 (eieio-defgeneric-reset-generic-form-primary-only)
11039 (eieio-defgeneric-form-primary-only-one)
11040 (eieio-defgeneric-reset-generic-form-primary-only-one)
11041 (eieio-unbind-method-implementations)
11042 (eieio--defmethod, eieio--typep)
11043 (eieio-perform-slot-validation, eieio-validate-slot-value)
11044 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11045 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11046 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11047 (eieio-slot-name-index, eieio-class-slot-name-index)
11048 (eieio-set-defaults, eieio-initarg-to-attribute)
11049 (eieio-attribute-to-initarg, eieio-c3-candidate)
11050 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11051 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11052 (eieio-class-precedence-list, eieio-generic-call-methodname)
11053 (eieio-generic-call-arglst, eieio-generic-call-key)
11054 (eieio-generic-call-next-method-list)
11055 (eieio-pre-method-execution-functions, eieio-generic-call)
11056 (eieio-generic-call-primary-only, eieiomt-method-list)
11057 (eieiomt-optimizing-obarray, eieiomt-install)
11058 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11059 (eieio-generic-form, eieio-defmethod, make-obsolete)
11060 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11061 (defclass): Remove `eval-and-compile' from macro.
11062 (call-next-method, shared-initialize): Instead of using
11063 `scoped-class' variable, use new eieio--scoped-class, and
11064 eieio--with-scoped-class.
11065 (initialize-instance): Rename local variable 'scoped-class' to
11066 'this-class' to remove ambiguitity from old global.
11067
11068 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11069 eieio.el.
11070 (eieio--scoped-class-stack): New variable.
11071 (eieio--scoped-class): New fcn.
11072 (eieio--with-scoped-class): New scoping macro.
11073 (eieio-defclass): Use pushnew instead of add-to-list.
11074 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11075 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11076 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11077 `scoped-class' variable, use new eieio--scoped-class, and
11078 eieio--with-scoped-class.
11079
11080 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11081
11082 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11083
11084 * eshell/esh-ext.el (eshell-external-command): Pass args to
11085 `eshell-find-interpreter'.
11086 (eshell-find-interpreter): Add new second parameter ARGS.
11087
11088 * eshell/em-script.el (eshell-script-initialize): Add second arg
11089 to the function added as MATCH to `eshell-interpreter-alist'.
11090
11091 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11092 the function added as MATCH to `eshell-interpreter-alist'.
11093
11094 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11095 (eshell-visual-options): New defcustom.
11096 (eshell-escape-control-x): Adapt docstring.
11097 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11098 `eshell-visual-options' in addition to `eshell-visual-commands'.
11099 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11100
11101 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11102
11103 * progmodes/python.el (python-indent-block-enders): Add break,
11104 continue and raise keywords.
11105
11106 2013-06-01 Glenn Morris <rgm@gnu.org>
11107
11108 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11109
11110 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11111 * progmodes/cc-cmds.el (delete-forward-p):
11112 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11113 * progmodes/cc-engine.el (buffer-syntactic-context):
11114 * progmodes/cc-fonts.el (face-property-instance):
11115 * progmodes/cc-mode.el (set-keymap-parents):
11116 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11117 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11118 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11119 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11120 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11121
11122 * progmodes/cc-vars.el (other): Emacs has this widget since
11123 at least 21.1, so don't (re)define it.
11124
11125 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11126 Replace the obsolete alias pcomplete-arg-quote-list.
11127
11128 2013-06-01 Leo Liu <sdl.web@gmail.com>
11129
11130 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11131 punctuation syntax.
11132 (inferior-octave-minimal-columns)
11133 (inferior-octave-last-column-width): New variables.
11134 (inferior-octave-track-window-width-change): New function.
11135 (inferior-octave-mode): Adjust column width so that Octave output,
11136 for example from 'ls', can fit into the window nicely.
11137
11138 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11139
11140 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11141 Highlight expansions inside regexp literals.
11142
11143 2013-05-31 Glenn Morris <rgm@gnu.org>
11144
11145 * obsolete/sym-comp.el (symbol-complete):
11146 Replace obsolete completion-annotate-function.
11147
11148 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11149
11150 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11151
11152 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11153 New function, checks if point is inside a literal that allows
11154 expression expansion.
11155 (ruby-syntax-propertize-expansion): Use it.
11156 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11157 around the body.
11158
11159 2013-05-30 Juri Linkov <juri@jurta.org>
11160
11161 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11162 to "\M-si".
11163 (isearch-invisible): New variable.
11164 (isearch-forward): Doc fix.
11165 (isearch-mode): Set `isearch-invisible'
11166 to the value of `search-invisible'.
11167 (isearch-toggle-case-fold): Doc fix.
11168 (isearch-toggle-invisible): New command.
11169 (isearch-query-replace): Let-bind `search-invisible'
11170 to the value of `isearch-invisible'.
11171 (isearch-search): Use `isearch-invisible' instead of
11172 `search-invisible'. Let-bind `search-invisible'
11173 to the value of `isearch-invisible'. (Bug#11378)
11174
11175 2013-05-30 Juri Linkov <juri@jurta.org>
11176
11177 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11178 call when `query-flag' is nil and `search-invisible' is non-nil.
11179 (Bug#11746)
11180
11181 2013-05-30 Glenn Morris <rgm@gnu.org>
11182
11183 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11184
11185 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11186 (cc-require): Suppress spurious "noruntime" warnings.
11187 (cc-require-when-compile): Use fboundp, for sake of compiler.
11188
11189 * progmodes/cc-mode.el: Move load of cc-vars before that of
11190 cc-langs (which in turn loads cc-vars), to quieten compiler.
11191
11192 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11193
11194 * paren.el: Simplify the code.
11195 (show-paren-mode): Always start the timer.
11196 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11197 (show-paren--overlay, show-paren--overlay-1): Rename from
11198 show-paren-overlay and show-paren-overlay-1, and initialize to an
11199 overlay rather than to nil.
11200 (show-paren-function): Misc cleanup and simplifications.
11201
11202 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11203
11204 * paren.el (show-paren-data-function): New hook.
11205 (show-paren--default): New function, extracted from show-paren-function.
11206 (show-paren-function): Use show-paren-data-function.
11207
11208 2013-05-30 Glenn Morris <rgm@gnu.org>
11209
11210 * ielm.el (ielm-map, ielm-complete-symbol):
11211 Use completion-at-point rather than obsolete functions.
11212 (inferior-emacs-lisp-mode): Doc fix.
11213 Set completion-at-point-functions, rather than
11214 comint-dynamic-complete-functions.
11215
11216 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11217 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11218 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11219
11220 * image.el (image-animated-p): Tweak definition.
11221
11222 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11223 (rlogin-process-connection-type): Tweak default. Add set-after.
11224 (rlogin-host): Doc fix.
11225 (rlogin): Tweak prompt.
11226 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11227
11228 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11229 * progmodes/tcl.el (inferior-tcl-mode-map):
11230 Use completion-at-point rather than obsolete alias.
11231
11232 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11233
11234 * minibuffer.el (read-file-name-completion-ignore-case):
11235 Move before completion--in-region, for eager macro expansion.
11236
11237 2013-05-29 Juri Linkov <juri@jurta.org>
11238
11239 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11240 for total count of matching lines. Add `global-matches' for total
11241 count of matches. Rename `matches' to `lines' for count of
11242 matching lines. Add `matches' for count of matches.
11243 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11244 to `prev-line' for line number of prev match endpt.
11245 Increment `matches' for every match. Print the number of
11246 matching lines in the header.
11247 (occur-context-lines): Rename `lines' to `curr-line'.
11248 Rename `prev-lines' to `prev-line'. (Bug#14017)
11249
11250 2013-05-29 Juri Linkov <juri@jurta.org>
11251
11252 * replace.el (perform-replace): Add `skip-read-only-count',
11253 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11254 Increment them for corresponding conditions and report the number
11255 of skipped occurrences in the final message. (Bug#11746)
11256 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11257 (replace-string, replace-regexp): Doc fix.
11258
11259 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11260
11261 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11262
11263 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11264 prog-mode-map (bug#14504).
11265
11266 2013-05-29 Leo Liu <sdl.web@gmail.com>
11267
11268 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11269 (octave-help): Small simplification.
11270
11271 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11272 off the highlight first.
11273
11274 2013-05-29 Glenn Morris <rgm@gnu.org>
11275
11276 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11277 Handle idlwave-last-system-routine-info-cons-cell being nil.
11278
11279 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11280 (idlwave-write-paths): Simplify via with-temp-buffer.
11281
11282 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11283 * emulation/cua-rect.el: Also load cua-base at run time.
11284
11285 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11286 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11287 (cperl-imenu-on-info): Require imenu.
11288
11289 2013-05-28 Alan Mackenzie <acm@muc.de>
11290
11291 Handle "capitalised keywords" correctly.
11292 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11293
11294 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11295
11296 * eshell/em-unix.el: Add -r option to cp.
11297
11298 2013-05-28 Glenn Morris <rgm@gnu.org>
11299
11300 * vc/vc-arch.el (vc-exec-after): Declare.
11301 (vc-switches): Autoload.
11302 * vc/vc-bzr.el: No need to require vc when compiling.
11303 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11304 (vc-resynch-buffer, vc-dir-refresh): Declare.
11305 (vc-setup-buffer, vc-switches): Autoload.
11306 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11307 (vc-resynch-buffer): Declare.
11308 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11309 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11310 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11311 (grep-read-regexp, grep-read-files, grep-expand-template)
11312 (vc-dir-refresh): Declare.
11313 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11314 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11315 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11316 * vc/vc-mtn.el (vc-exec-after): Declare.
11317 (vc-switches): Autoload.
11318 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11319 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11320 (vc-file-tree-walk): Declare.
11321 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11322 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11323 (vc-tag-precondition, vc-rename-master): Autoload.
11324 * vc/vc-svn.el (vc-exec-after): Declare.
11325 (vc-switches, vc-setup-buffer): Autoload.
11326 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11327 Autoload.
11328 (vc-resynch-buffer): Declare.
11329
11330 * obsolete/fast-lock.el (byte-compile-warnings):
11331 Don't warn about obsolete features in this obsolete file.
11332
11333 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11334 Move definition before use.
11335
11336 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11337 (dun-unix-verbs): Remove dun-zippy.
11338 (dun-zippy): Remove function.
11339
11340 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11341
11342 2013-05-27 Juri Linkov <juri@jurta.org>
11343
11344 * replace.el (replace-search): New function with code moved out
11345 from `perform-replace'.
11346 (replace-highlight, replace-dehighlight): Move function definitions
11347 up closer to `replace-search'. (Bug#11746)
11348
11349 2013-05-27 Juri Linkov <juri@jurta.org>
11350
11351 * replace.el (perform-replace): Ignore invisible matches.
11352 In addition to checking `query-replace-skip-read-only', also
11353 filter out matches by calling `run-hook-with-args-until-failure'
11354 on `isearch-filter-predicates', and also check `search-invisible'
11355 for t or call `isearch-range-invisible'.
11356 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11357
11358 2013-05-27 Juri Linkov <juri@jurta.org>
11359
11360 * isearch.el (isearch-filter-predicates): Rename from
11361 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11362 (isearch-message-prefix): Display text from the property
11363 `isearch-message-prefix' of the currently active filters.
11364 (isearch-search): Don't compare `isearch-filter-predicate' with
11365 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11366 on `isearch-filter-predicates'. Also check `search-invisible' for t
11367 or call `isearch-range-invisible'.
11368 (isearch-filter-visible): Make obsolete.
11369 (isearch-lazy-highlight-search):
11370 Call `run-hook-with-args-until-failure' on
11371 `isearch-filter-predicates' and use `isearch-range-invisible'.
11372
11373 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11374 `isearch-filter-predicates' instead of `funcall'ing
11375 `isearch-filter-predicate'.
11376 (Info-mode): Set `Info-isearch-filter' to
11377 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11378
11379 * dired-aux.el (dired-isearch-filter-predicate-orig):
11380 Remove variable.
11381 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11382 (dired-isearch-filenames-end): Add and remove
11383 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11384 instead of changing the value of `isearch-filter-predicate'.
11385 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11386 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11387 Put property `isearch-message-prefix' to "filename " on
11388 `dired-isearch-filter-filenames'.
11389
11390 * wdired.el (wdired-change-to-wdired-mode):
11391 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11392 locally instead of changing `isearch-filter-predicate'.
11393 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11394
11395 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11396
11397 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11398 return the commit hash (Bug#14459). Also set the
11399 `vc-git-detached' property.
11400 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11401 (vc-git-mode-line-string): Use the same help-echo format whether
11402 in detached mode or not, because we know the actual revision now.
11403 When in detached mode, shorten the revision to 7 chars.
11404
11405 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * emacs-lisp/easy-mmode.el (define-minor-mode):
11408 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11409 mode hook and provide a docstring.
11410
11411 2013-05-27 Alan Mackenzie <acm@muc.de>
11412
11413 Remove spurious syntax-table text properties inserted by C-y.
11414 * progmodes/cc-mode.el (c-after-change): Also clear hard
11415 syntax-table property with value nil.
11416
11417 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11418
11419 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11420 when reading the events; the buffer layout shall not be changed.
11421
11422 2013-05-27 Leo Liu <sdl.web@gmail.com>
11423
11424 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11425 New variable.
11426 (inferior-octave-directory-tracker): Automatically re-sync
11427 default-directory.
11428 (octave-help): Improve handling of 'See also'.
11429
11430 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11431
11432 * doc-view.el: Minor naming convention tweaks.
11433 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11434
11435 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11436 even if there's no `display' property yet (bug#14435).
11437
11438 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11439
11440 * subr.el (unmsys--file-name): Rename from reveal-filename.
11441
11442 * Makefile.in (custom-deps, finder-data, autoloads)
11443 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11444 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11445 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11446
11447 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11448
11449 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11450 error-completion on the first 2 args of condition-case (bug#14446).
11451 Don't burp at EOB.
11452
11453 2013-05-25 Leo Liu <sdl.web@gmail.com>
11454
11455 * comint.el (comint-previous-matching-input): Do not flood the
11456 *Messages* buffer with trivial messages.
11457
11458 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * progmodes/flymake.el (flymake-nop): Don't return a string.
11461 (flymake-set-at): Fix typo.
11462
11463 * simple.el (read--expression): New function, extracted from
11464 eval-expression. Set completion-at-point-functions (bug#14465).
11465 (eval-expression, eval-minibuffer): Use it.
11466
11467 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11468
11469 * progmodes/flymake.el (flymake-save-buffer-in-file)
11470 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11471 (flymake-selected-frame, flymake-log, flymake-ins-after)
11472 (flymake-set-at, flymake-get-buildfile-from-cache)
11473 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11474 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11475 Refine the doc string.
11476 (flymake-get-file-name-mode-and-masks): Reformat.
11477 (flymake-get-real-file-name-function): Fix a minor bug.
11478
11479 2013-05-24 Juri Linkov <juri@jurta.org>
11480
11481 * progmodes/grep.el (grep-mode-font-lock-keywords):
11482 Support =linenumber= format used by git-grep for lines with
11483 function names. (Bug#13549)
11484
11485 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11488 0 after a semi-colon; it works better for smie-auto-fill.
11489 (octave--indent-new-comment-line): New function.
11490 (octave-indent-new-comment-line): Use it (indirectly).
11491 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11492 modify comment-line-break-function.
11493
11494 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11495 (smie-setup): Use add-function to set it.
11496
11497 2013-05-24 Sam Steingold <sds@gnu.org>
11498
11499 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11500 argument (before the `interactive' argument).
11501
11502 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11503
11504 * image-mode.el (image-mode-winprops): Add winprops to
11505 image-mode-winprops-alist before running
11506 image-mode-new-window-functions.
11507 * doc-view.el (doc-view-new-window-function): Don't delay
11508 doc-view-goto-page via timers (bug#14435).
11509
11510 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11511
11512 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11513 (doc-view-desktop-save-buffer): New function.
11514 (doc-view-restore-desktop-buffer): New function.
11515 (desktop-buffer-mode-handlers):
11516 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11517 handler.
11518 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11519 `desktop-save-buffer' function.
11520
11521 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11522
11523 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11524 (tramp-gvfs-file-name-handler): Raise a user error when
11525 `tramp-gvfs-enabled' is nil.
11526 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11527 Do not raise a user error when loading package. (Bug#14447)
11528
11529 * net/xesam.el: Move to obsolete/.
11530
11531 2013-05-24 Glenn Morris <rgm@gnu.org>
11532
11533 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11534
11535 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11536
11537 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11538 (Info-find-node, Man-getpage-in-background): Declare.
11539
11540 * mail/unrmail.el (unrmail):
11541 Replace obsolete detect-coding-with-priority.
11542
11543 * net/socks.el (socks-split-string): Use this rather than split-string.
11544 (socks-nslookup-host): Update for above change.
11545 (dynamic-choice, s5-dynamic-choice-match)
11546 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11547 Comment out unused code.
11548
11549 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11550 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11551 (gud-tooltip-echo-area): Make obsolete.
11552 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11553
11554 * progmodes/js.el (js--optimize-arglist): Declare.
11555
11556 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11557
11558 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11559 (ediff-window-C): Declare.
11560
11561 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11562 Tweak requires to silence compiler.
11563
11564 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11565 (he-search-string, he-tried-table, he-expand-list)
11566 (he-init-string, he-string-member, he-substitute-string)
11567 (he-reset-string): Declare.
11568
11569 * obsolete/options.el (list-options): Use custom-variable-p,
11570 rather than obsolete alias.
11571
11572 2013-05-23 Sam Steingold <sds@gnu.org>
11573
11574 * simple.el (shell-command-on-region): Pass the `replace' argument
11575 down to `call-process-region' to comply with the doc as reported on
11576 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11577
11578 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 * emacs-lisp/smie.el (smie-indent-forward-token)
11581 (smie-indent-backward-token): Handle string tokens (bug#14381).
11582
11583 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11584
11585 * ielm.el (ielm-menu): New menu.
11586 (inferior-emacs-lisp-mode): Set comment-start.
11587
11588 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11589
11590 * textmodes/reftex.el (reftex-ref-style-toggle):
11591 Fix deactivate action.
11592
11593 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11594 Add cleveref macros.
11595
11596 * textmodes/reftex-parse.el
11597 (reftex-locate-bibliography-files): Accept options for
11598 bibliography commands.
11599 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11600 Add addbibresource. Basic Biblatex support.
11601
11602 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11603
11604 * net/tramp-gvfs.el (top):
11605 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11606 when loading package. (Bug#14447)
11607
11608 2013-05-23 Glenn Morris <rgm@gnu.org>
11609
11610 * progmodes/js.el: No need to load comint when compiling.
11611 (ring-insert, comint-send-string, comint-send-input)
11612 (comint-last-input-end, ido-chop): Declare.
11613
11614 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11615 * vc/ediff-mult.el: Adjust requires.
11616 (ediff-directories-internal, ediff-directory-revisions-internal)
11617 (ediff-patch-file-internal): Declare.
11618 * vc/ediff-ptch.el: Adjust requires.
11619 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11620 (ediff-find-file): Autoload.
11621 * vc/ediff-util.el: No need to load ediff when compiling.
11622 (ediff-regions-internal): Declare.
11623 * vc/ediff-wind.el: Adjust requires.
11624 (ediff-compute-toolbar-width): Define when compiling.
11625 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11626 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11627 (dired-get-filename, dired-get-marked-files)
11628 (ediff-last-dir-patch, ediff-patch-default-directory)
11629 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11630 (ediff-patch-buffer-internal): Declare.
11631
11632 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11633 (ispell-process, ispell-buffer-local-words, lm-summary)
11634 (lm-section-start, lm-section-end): Declare.
11635 (checkdoc-ispell-init): Simplify.
11636
11637 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11638 (he-string-member, he-reset-string, he-substitute-string): Declare.
11639
11640 * eshell/em-ls.el: Adjust requires.
11641 (eshell-glob-regexp): Declare.
11642 * eshell/em-tramp.el: Adjust requires.
11643 (eshell-parse-command): Autoload.
11644 * eshell/em-xtra.el: Adjust requires.
11645 (eshell-parse-command): Autoload.
11646 * eshell/esh-ext.el: Adjust requires.
11647 (eshell-parse-command, eshell-close-handles): Autoload.
11648 * eshell/esh-io.el: Adjust requires.
11649 (eshell-output-filter): Autoload.
11650 * eshell/esh-util.el: No need to load tramp when compiling.
11651 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11652 Declare.
11653 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11654 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11655 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11656 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11657 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11658 * eshell/esh-opt.el, eshell/esh-proc.el:
11659 * eshell/esh-var.el: Adjust requires.
11660 * eshell/eshell.el: Do not require esh-util twice.
11661 (eshell-add-input-to-history): Declare.
11662 (eshell-command): Check history module is active before using it.
11663
11664 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11665
11666 2013-05-22 Leo Liu <sdl.web@gmail.com>
11667
11668 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11669
11670 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11671
11672 * autorevert.el (auto-revert-notify-add-watch)
11673 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11674 it indicates changes in file modification time.
11675
11676 2013-05-22 Glenn Morris <rgm@gnu.org>
11677
11678 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11679 Always delete the autoloaded function from the noruntime and
11680 unresolved functions lists.
11681
11682 * allout.el: No need to load epa, epg, overlay when compiling.
11683 (epg-context-set-passphrase-callback, epg-list-keys)
11684 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11685 (epg-key-user-id-list): Declare.
11686
11687 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11688 (viper-set-parsing-style-toggling-macro)
11689 (viper-set-emacs-state-searchstyle-macros):
11690 Use called-interactively-p on Emacs.
11691 (viper-looking-back): Make it an obsolete alias. Update callers.
11692 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11693 Use looking-back rather than viper-looking-back.
11694 (viper-tmp-insert-at-eob, viper-enlarge-region)
11695 (viper-read-string-with-history, viper-register-to-point)
11696 (viper-append-to-register, viper-change-state-to-vi)
11697 (viper-backward-char-carefully, viper-forward-char-carefully)
11698 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11699 (viper-change-state-to-emacs): Declare.
11700 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11701 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11702 * emulation/viper-mous.el: Do not load viper-cmd.
11703 (viper-backward-char-carefully, viper-forward-char-carefully)
11704 (viper-forward-word, viper-adjust-window): Declare.
11705
11706 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11707
11708 * progmodes/idlw-help.el (idlwave-help-fontify):
11709 Use called-interactively-p.
11710
11711 * term/w32console.el (w32-get-console-codepage)
11712 (w32-get-console-output-codepage): Declare.
11713
11714 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11715 Remove unnecessary declarations.
11716 (dframe-message): Doc fix.
11717
11718 * info.el (dframe-select-attached-frame, dframe-current-frame):
11719 Declare.
11720
11721 * speedbar.el (speedbar-message): Make it an obsolete alias.
11722 Update all callers.
11723 (speedbar-with-attached-buffer)
11724 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11725 (speedbar-with-writable): Use backquote.
11726 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11727 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11728 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11729 rather than speedbar- aliases.
11730 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11731 (speedbar-make-specialized-keymap, speedbar-insert-button)
11732 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11733 (speedbar-do-function-pointer): Declare.
11734 (rmail-speedbar-button, rmail-speedbar-find-file)
11735 (rmail-speedbar-move-message):
11736 Use dframe-with-attached-buffer rather than speedbar- alias.
11737 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11738 (dframe-message, speedbar-make-specialized-keymap)
11739 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11740 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11741 (speedbar-insert-button, dframe-select-attached-frame)
11742 (dframe-maybee-jump-to-attached-frame)
11743 (speedbar-change-initial-expansion-list)
11744 (speedbar-previously-used-expansion-list-name): Declare.
11745 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11746 Use dframe-message, dframe-with-attached-buffer rather than
11747 speedbar- aliases.
11748 (gud-sentinel): Silence compiler.
11749 * progmodes/vhdl-mode.el (speedbar-refresh)
11750 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11751 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11752 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11753 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11754 (speedbar-file-lists, speedbar-make-tag-line)
11755 (speedbar-line-directory, speedbar-goto-this-file)
11756 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11757 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11758 (speedbar-make-button, speedbar-reset-scanners)
11759 (speedbar-files-item-info, speedbar-line-text)
11760 (speedbar-find-file-in-frame, speedbar-set-timer)
11761 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11762 (speedbar-with-writable): Do not (re)define it.
11763 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11764 rather than speedbar- alias.
11765
11766 2013-05-21 Leo Liu <sdl.web@gmail.com>
11767
11768 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11769 menu items.
11770 (octave-mode): Tweak fill-nobreak-predicate.
11771 (inferior-octave-startup): Check process to avoid infinite loop.
11772 (inferior-octave): Pop to buffer first to show abornmal process
11773 exit information.
11774
11775 2013-05-21 Glenn Morris <rgm@gnu.org>
11776
11777 * printing.el (pr-menu-bar): Define when compiling.
11778
11779 2013-05-21 Leo Liu <sdl.web@gmail.com>
11780
11781 * progmodes/octave.el (octave-auto-fill): Remove.
11782 (octave-indent-new-comment-line): Improve.
11783 (octave-mode): Use auto fill mode through
11784 comment-line-break-function and fill-nobreak-predicate.
11785 (octave-goto-function-definition): Support DEFUN_DLD.
11786 (octave-beginning-of-defun): Small tweak.
11787 (octave-help): Show parent directory.
11788
11789 2013-05-21 Glenn Morris <rgm@gnu.org>
11790
11791 * files.el (dired-unmark):
11792 * progmodes/gud.el (gdb-input): Update declarations.
11793
11794 * calculator.el (electric, ehelp): No need to load when compiling.
11795 (Electric-command-loop, electric-describe-mode): Declare.
11796
11797 * doc-view.el (doc-view-current-converter-processes): Move before use.
11798
11799 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11800 Move MODE-set-explicitly definition before use.
11801
11802 * international/mule-diag.el (mule-diag):
11803 Don't use obsolete window-system-version.
11804
11805 * mail/feedmail.el (smtpmail): No need to load when compiling.
11806 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11807
11808 * mail/mail-utils.el (rfc822): No need to load when compiling.
11809 (rfc822-addresses): Autoload it.
11810 (mail-strip-quoted-names): Trivial simplification.
11811
11812 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11813 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11814
11815 * net/snmp-mode.el (tempo): Don't duplicate requires.
11816
11817 * progmodes/prolog.el (info): No need to load when compiling.
11818 (comint): Require before shell requires it.
11819 (Info-goto-node): Autoload it.
11820 (Info-follow-nearest-node): Declare.
11821 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11822
11823 * textmodes/artist.el (picture-mode-exit): Declare.
11824
11825 * textmodes/reftex-parse.el (reftex-parse-from-file):
11826 Trivial rewrite so the compiler can parse it better.
11827
11828 2013-05-20 Leo Liu <sdl.web@gmail.com>
11829
11830 * progmodes/octave.el (octave-help-mode-map)
11831 (octave-help-mode-finish-hook): New variables.
11832 (octave-help-mode, octave-help-mode-finish): New functions.
11833 (octave-help): Use octave-help-mode.
11834
11835 2013-05-20 Glenn Morris <rgm@gnu.org>
11836
11837 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11838
11839 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11840
11841 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11842 start at point, so that expansion starting right after opening
11843 slash in a regexp is recognized.
11844 (ruby-syntax-before-regexp-re): New defvar, extracted from
11845 ruby-syntax-propertize-function. Since the value of this regexp
11846 is looked up at runtime now, we should be able to turn
11847 `ruby-syntax-methods-before-regexp' into a defcustom later.
11848 (ruby-syntax-propertize-function): Split regexp matching into two
11849 parts, for opening and closing slashes. That allows us to skip
11850 over string interpolations and support multiline regexps.
11851 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11852 for them, which calls `ruby-syntax-propertize-expansion'.
11853 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11854 call to `ruby-syntax-propertize-function'.
11855 (ruby-syntax-propertize-expansion): Extracted from
11856 `ruby-syntax-propertize-expansions'. Handles one expansion.
11857 (ruby-syntax-propertize-percent-literal): Leave point right after
11858 the percent symbol, so that the expression expansion rule can
11859 propertize the contents.
11860 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11861 heredoc openers.
11862 (ruby-syntax-propertize-expansions): Remove.
11863
11864 2013-05-18 Juri Linkov <juri@jurta.org>
11865
11866 * man.el (Man-default-man-entry): Remove `-' from the end
11867 of the default value. (Bug#14400)
11868
11869 2013-05-18 Glenn Morris <rgm@gnu.org>
11870
11871 * comint.el (comint-password-prompt-regexp):
11872 Allow "password for XXX" where XXX contains colons (eg https://...).
11873
11874 2013-05-18 Leo Liu <sdl.web@gmail.com>
11875
11876 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11877 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11878 (octave-source-directories): Don't check process.
11879 (octave-source-directories, octave-find-definition): Doc fix.
11880
11881 2013-05-18 Glenn Morris <rgm@gnu.org>
11882
11883 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11884 Remove backspace/delete bindings. (Bug#14392)
11885
11886 * cus-dep.el (custom-make-dependencies): Sort the output.
11887 (custom-versions-load-alist): Convert comment to doc.
11888
11889 2013-05-17 Leo Liu <sdl.web@gmail.com>
11890
11891 * newcomment.el (comment-search-backward): Stricter in finding
11892 comment start. (Bug#14303)
11893
11894 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11895 (octave-comment-start-skip): Properly anchored.
11896
11897 2013-05-17 Leo Liu <sdl.web@gmail.com>
11898
11899 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11900 Clean up when turned off. (Bug#14395)
11901 (smie--highlight-matching-block-overlay): No longer buffer-local.
11902 (smie-highlight-matching-block): Adjust.
11903
11904 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11905
11906 Doc string fix for "nanoseconds" (Bug#14406).
11907 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11908 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11909
11910 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11911
11912 * calc/calc-units.el (math-extract-units): Preserve powers
11913 of units.
11914
11915 2013-05-17 Leo Liu <sdl.web@gmail.com>
11916
11917 * subr.el (delete-consecutive-dups): New function.
11918 * ido.el (ido-set-matches-1): Use it.
11919 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11920 * ido.el (ido-remove-consecutive-dups): Remove.
11921
11922 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11923
11924 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11925 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11926 regexp-opt's `words'.
11927
11928 2013-05-16 Leo Liu <sdl.web@gmail.com>
11929
11930 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11931 (smie--highlight-matching-block-overlay)
11932 (smie--highlight-matching-block-lastpos)
11933 (smie--highlight-matching-block-timer): New variables.
11934 (smie-highlight-matching-block): New function.
11935 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11936 (smie-setup): Conditionally enable smie-blink-matching-open.
11937
11938 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11939
11940 Sync with upstream verilog-mode r840.
11941 * progmodes/verilog-mode.el (verilog-mode-version)
11942 (verilog-mode-release-date): Update.
11943 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11944 (verilog-sig-tieoff): Fix string error on
11945 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11946 (verilog-read-decls): Fix parameters confusing
11947 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11948
11949 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11950
11951 * subr.el (reveal-filename): New function.
11952
11953 * loadup.el: Compute Emacs executable versions on MS-Windows,
11954 where executables have the .exe extension. Add a hard link
11955 emacs-XX.YY.ZZ.exe on MS-Windows.
11956
11957 * Makefile.in (XARGS_LIMIT): New variable.
11958 (custom-deps, finder-data, autoloads)
11959 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11960 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11961 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11962 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11963
11964 2013-05-16 Leo Liu <sdl.web@gmail.com>
11965
11966 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11967 (octave-mode-menu, octave-mode-map): Remove its uses.
11968
11969 2013-05-16 Reto Zimmermann <reto@gnu.org>
11970
11971 Sync with upstream vhdl mode v3.34.2.
11972 * progmodes/vhdl-mode.el: Use `push' throughout.
11973 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11974 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11975 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11976 (vhdl-actual-generic-name): New option to derive actual generic name.
11977 (vhdl-port-paste-signals): Replace formal by actual generics.
11978 (vhdl-beautify): New name for old group vhdl-align. Update users.
11979 (vhdl-beautify-options): New option.
11980 (vhdl-last-input-event): New compat alias. Use throughout.
11981 (vhdl-goto-line): Replace user level function `goto-line'.
11982 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11983 vhdl-fix-statement-buffer.
11984 (vhdl-create-mode-menu): Add some entries.
11985 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11986 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11987 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11988 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11989 to force statements on one line.
11990 (vhdl-remove-trailing-spaces-region):
11991 New, split from vhdl-remove-trailing-spaces.
11992 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11993 Respect vhdl-beautify-options.
11994 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11995 (vhdl-update-sensitivity-list): Not add with index if exists without.
11996 Not include array index with signal. Ignore keywords in comments.
11997 (vhdl-get-visible-signals): Regexp tweaks.
11998 (vhdl-template-component-inst): Handle empty library.
11999 (vhdl-template-type): Add template for 'enum' type.
12000 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12001 Use vhdl-replace-string.
12002 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12003 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12004 (vhdl-speedbar-initialize): Update for above name change.
12005 (vhdl-compose-wire-components): Fix in handling of constants.
12006 (vhdl-error-regexp-emacs-alist): New variable.
12007 (vhdl-error-regexp-add-emacs): New function;
12008 adds support for new compile.el (Emacs 22+)
12009 (vhdl-generate-makefile-1): Change target order for single lib. units.
12010 Allow use of absolute file names.
12011
12012 2013-05-16 Leo Liu <sdl.web@gmail.com>
12013
12014 * simple.el (prog-indent-sexp): Indent enclosing defun.
12015
12016 2013-05-15 Glenn Morris <rgm@gnu.org>
12017
12018 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12019 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12020 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12021 (whitespace-highlight): Move to whitespace group.
12022
12023 * comint.el (comint-source):
12024 * pcmpl-linux.el (pcmpl-linux):
12025 * shell.el (shell-faces):
12026 * eshell/esh-opt.el (eshell-opt):
12027 * international/ccl.el (ccl): Remove empty custom groups.
12028
12029 * completion.el (dynamic-completion-mode):
12030 * jit-lock.el (jit-lock-debug-mode):
12031 * minibuffer.el (completion-in-region-mode):
12032 * type-break.el (type-break-mode-line-message-mode)
12033 (type-break-query-mode):
12034 * emulation/tpu-edt.el (tpu-edt-mode):
12035 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12036 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12037 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12038
12039 * term/xterm.el (xterm): Change parent group to terminals.
12040
12041 * master.el (master): Remove empty custom group.
12042 (master-mode): Remove unused :group argument.
12043 * textmodes/refill.el (refill): Remove empty custom group.
12044 (refill-mode): Remove unused :group argument.
12045
12046 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12047
12048 * cus-dep.el: Provide a feature.
12049 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12050 Don't mistakenly ignore files whose basenames match a basename
12051 from preloaded-file-list (eg cedet/ede/simple.el).
12052 Add a fallback method for getting :group.
12053
12054 2013-05-15 Juri Linkov <juri@jurta.org>
12055
12056 * isearch.el (isearch-char-by-name): Rename from
12057 `isearch-insert-char-by-name'. Doc fix.
12058 (isearch-forward): Mention `isearch-char-by-name' in
12059 the docstring. (Bug#13348)
12060
12061 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12062 `exit-minibuffer' instead of
12063 `isearch-nonincremental-exit-minibuffer'.
12064 (isearch-edit-string): Remove mention of
12065 `isearch-nonincremental-exit-minibuffer' from docstring.
12066 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12067 (isearch-forward-exit-minibuffer)
12068 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12069
12070 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12071
12072 * loadup.el: Just use unversioned DOC.
12073
12074 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12075 literals as extending to EOB.
12076 (nxml-last-fontify-end): Remove unused variable.
12077 (nxml-after-change1): Use with-silent-modifications.
12078 (nxml-extend-after-change-region): Simplify.
12079 (nxml-extend-after-change-region1): Remove function.
12080 (nxml-after-change1): Don't adjust for dependent regions.
12081 (nxml-fontify-matcher): Simplify.
12082 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12083 (xmltok-add-dependent): Remove function.
12084 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12085 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12086 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12087 unclosed <[[, <?, comment, and other literals as extending to EOB.
12088 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12089 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12090 Remove functions.
12091 (rng-do-some-validation-1): Don't mark dependent regions.
12092 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12093 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12094 (nxml-clear-dependent-regions): Remove functions.
12095 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12096 (nxml-ensure-scan-up-to-date):
12097 Don't clear&mark dependent regions.
12098
12099 2013-05-15 Leo Liu <sdl.web@gmail.com>
12100
12101 * progmodes/octave.el (octave-goto-function-definition):
12102 Improve and fix callers.
12103
12104 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12105
12106 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12107 the setter (bug#14387).
12108
12109 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12110 surrounding group (bug#14402).
12111
12112 2013-05-14 Juri Linkov <juri@jurta.org>
12113
12114 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12115 (Bug#14390)
12116
12117 2013-05-14 Glenn Morris <rgm@gnu.org>
12118
12119 * progmodes/f90.el (f90-imenu-generic-expression):
12120 Fix typo in 2013-05-08 change. (Bug#14402)
12121
12122 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12123
12124 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12125 Remove signals for which replies are never received.
12126
12127 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12128
12129 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12130 (gdb-handler-alist, gdb-handler-number): Remove variables.
12131 (gdb-handler-list): New variable.
12132 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12133 (gdb-pending-handler-p, gdb-handle-reply)
12134 (gdb-remove-all-pending-triggers): New functions.
12135 (gdb-discard-unordered-replies): New defcustom.
12136 (gdb-handler): New defstruct.
12137 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12138 instead of gdb-pending-triggers. Update docstring.
12139 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12140 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12141 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12142 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12143 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12144 (gdb-frame-handler): Pending triggers are now automatically managed.
12145 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12146 Remove argument.
12147 (gdb-input): Automatically handles pending triggers. Update docstring.
12148 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12149 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12150 Update comments.
12151 (gdb-done-or-error): Now use gdb-handle-reply.
12152
12153 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12154
12155 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12156 gdb-debug-log.
12157
12158 2013-05-14 Glenn Morris <rgm@gnu.org>
12159
12160 * subr.el (user-emacs-directory-warning): New option.
12161 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12162
12163 2013-05-14 Leo Liu <sdl.web@gmail.com>
12164
12165 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12166 during redisplay.
12167 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12168 (octave-font-lock-texinfo-comment): Fix invalid search bound
12169 error: wrong side of point.
12170
12171 2013-05-14 Glenn Morris <rgm@gnu.org>
12172
12173 * progmodes/flymake.el (flymake-xml-program): New option.
12174 (flymake-xml-init): Use it.
12175
12176 * term/xterm.el: Provide a feature.
12177
12178 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12179
12180 2013-05-13 Glenn Morris <rgm@gnu.org>
12181
12182 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12183 Add compat aliases as a hack workaround. (Bug#14384)
12184
12185 2013-05-13 Leo Liu <sdl.web@gmail.com>
12186
12187 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12188 ###, and %!.
12189 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12190 C-M-q.
12191 (octave-comment-start-skip): Include %!.
12192 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12193
12194 2013-05-12 Leo Liu <sdl.web@gmail.com>
12195
12196 * progmodes/octave.el (inferior-octave-startup): Store the value
12197 of __octave_srcdir__ for octave-source-directories.
12198 (inferior-octave-check-process): New function refactored out of
12199 inferior-octave-send-list-and-digest.
12200 (octave-source-directories)
12201 (octave-find-definition-filename-function): New variables.
12202 (octave-source-directories)
12203 (octave-find-definition-default-filename): New functions.
12204 (octave-find-definition): Improve to find functions implemented in C++.
12205
12206 2013-05-12 Glenn Morris <rgm@gnu.org>
12207
12208 * calendar/diary-lib.el (diary-outlook-format-1):
12209 Don't include dayname in the output. (Bug#14349)
12210
12211 2013-05-11 Glenn Morris <rgm@gnu.org>
12212
12213 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12214
12215 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12216 Treat cc-provide like provide.
12217
12218 2013-05-11 Kevin Ryde <user42@zip.com.au>
12219
12220 * cus-dep.el (custom-make-dependencies):
12221 Use generated-autoload-load-name for the sake of files such
12222 such cedet/semantic/bovine/c.el, where the base file name
12223 is not in load-path. (Bug#5277)
12224
12225 2013-05-11 Glenn Morris <rgm@gnu.org>
12226
12227 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12228 Provide features.
12229
12230 2013-05-11 Leo Liu <sdl.web@gmail.com>
12231
12232 * progmodes/octave.el (octave-indent-comment): Improve.
12233 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12234 (octave-eldoc-function-signatures, octave-eldoc-function):
12235 New functions.
12236 (octave-mode, inferior-octave-mode): Add eldoc support.
12237
12238 2013-05-11 Richard Stallman <rms@gnu.org>
12239
12240 * epa.el (epa-decrypt-file): Take output file name as argument
12241 and read it using `interactive'.
12242
12243 2013-05-11 Leo Liu <sdl.web@gmail.com>
12244
12245 * progmodes/octave.el (octave-beginning-of-line)
12246 (octave-end-of-line): Check before using up-list because it jumps
12247 out of more syntactic contructs since moving to smie.
12248 (octave-indent-comment): New function.
12249 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12250 (octave-begin-keywords, octave-end-keywords)
12251 (octave-reserved-words, octave-smie-bnf-table)
12252 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12253
12254 2013-05-11 Glenn Morris <rgm@gnu.org>
12255
12256 * faces.el (internal-face-x-get-resource):
12257 * frame.el (ns-display-monitor-attributes-list):
12258 * calc/calc-aent.el (math-to-radians-2):
12259 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12260 Fix declarations.
12261
12262 * calc/calc-menu.el: Make it loadable in isolation.
12263
12264 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12265 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12266 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12267 (eudc-bbdb-query-internal): Require 'bbdb.
12268
12269 * lpr.el (lpr-headers-switches):
12270 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12271
12272 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12273
12274 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12275
12276 * term.el (term-set-escape-char): Make it idempotent.
12277
12278 2013-05-10 Leo Liu <sdl.web@gmail.com>
12279
12280 * progmodes/octave.el (inferior-octave-completion-table):
12281 No longer a function and all uses changed. Use cache to speed up
12282 completion due to bug#11906.
12283 (octave-beginning-of-defun): Re-write to be more general.
12284
12285 2013-05-10 Glenn Morris <rgm@gnu.org>
12286
12287 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12288
12289 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12290
12291 * comint.el (comint-redirect-send-command-to-process): Use :around
12292 rather than :override for comint-redirect-filter.
12293 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12294 Call it instead of comint-redirect-original-filter-function (which
12295 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12296
12297 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12298
12299 * frame.el (display-monitor-attributes-list): Add NS case.
12300 (ns-display-monitor-attributes-list): Declare.
12301
12302 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12303
12304 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12305
12306 2013-05-09 Glenn Morris <rgm@gnu.org>
12307
12308 * international/fontset.el (vertical-centering-font-regexp):
12309 Set standard-value.
12310
12311 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12312
12313 * bookmark.el (bookmark-search-delay):
12314 * cus-start.el (vertical-centering-font-regexp):
12315 * ps-mule.el (ps-mule-font-info-database-default):
12316 * ps-print.el (ps-default-fg, ps-default-bg):
12317 * type-break.el (type-break-good-break-interval):
12318 * whitespace.el (whitespace-indentation-regexp)
12319 (whitespace-space-after-tab-regexp):
12320 * emacs-lisp/testcover.el (testcover-1value-functions)
12321 (testcover-noreturn-functions, testcover-progn-functions)
12322 (testcover-prog1-functions):
12323 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12324 * eshell/em-glob.el (eshell-glob-translate-alist):
12325 * play/tetris.el (tetris-tty-colors):
12326 * progmodes/cpp.el (cpp-face-default-list):
12327 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12328 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12329 (idlwave-help-browser-generic-args):
12330 * progmodes/make-mode.el (makefile-special-targets-list):
12331 * progmodes/python.el (python-shell-virtualenv-path):
12332 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12333 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12334 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12335 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12336 * textmodes/reftex-vars.el (reftex-format-label-function):
12337 * textmodes/remember.el (remember-diary-file): Fix custom types.
12338
12339 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12340 Add :version.
12341
12342 2013-05-09 Leo Liu <sdl.web@gmail.com>
12343
12344 * progmodes/octave.el (inferior-octave-completion-at-point):
12345 Restore file completion. (Bug#14300)
12346 (inferior-octave-startup): Fix incorrect highlighting for the
12347 first prompt.
12348
12349 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12350
12351 * progmodes/ruby-mode.el: First cut at SMIE support.
12352 (ruby-use-smie): New var.
12353 (ruby-smie-grammar): New constant.
12354 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12355 (ruby-smie--forward-token, ruby-smie--backward-token)
12356 (ruby-smie-rules): New functions.
12357 (ruby-mode-variables): Setup SMIE if applicable.
12358
12359 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12360
12361 * simple.el (line-move-visual): Signal beginning/end of buffer
12362 only if vertical-motion moved less than it was requested. Avoids
12363 silly incorrect error messages when there are display strings with
12364 multiple newlines at EOL.
12365
12366 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12369 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12370 (prolog-char-quote-workaround):
12371 * progmodes/cperl-mode.el (cperl-under-as-char):
12372 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12373 Mark as obsolete.
12374 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12375 their declaration.
12376 (vhdl-mode-syntax-table-init): Remove.
12377
12378 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12379 last change.
12380
12381 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12382 syntax for "_".
12383 (ld-script-font-lock-keywords):
12384 Change regexps to use things like \_< and \_>.
12385
12386 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12387 Change all regexps to use things like \_< and \_>.
12388
12389 * progmodes/autoconf.el (autoconf-definition-regexp)
12390 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12391 Handle a _ with symbol syntax.
12392 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12393
12394 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12395 Consolidate declaration.
12396 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12397 the declaration.
12398 (ada-create-syntax-table): Remove.
12399 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12400 already has the right syntax nowadays.
12401 (ada-goto-next-word): Don't change the syntax of "_".
12402
12403 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12404 with-wrapper-hook.
12405
12406 2013-05-08 Sam Steingold <sds@gnu.org>
12407
12408 * thingatpt.el (thing-at-point): Accept optional second argument
12409 NO-PROPERTIES to strip the text properties from the return value.
12410 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12411 to `thing-at-point' instead of stripping the properties ourselves.
12412 Also, when `thing-at-point' fails to find a url, prepend "http://"
12413 to the filename at point on the assumption that the user is
12414 pointing at something like gnu.org/gnu.
12415
12416 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12417
12418 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12419 * faces.el (crm-separator):
12420 Silence byte-compiler.
12421
12422 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12423 (tool-bar-map): Remove unneeded defvars.
12424
12425 2013-05-08 Leo Liu <sdl.web@gmail.com>
12426
12427 Re-work a fix for bug#10994 based on Le Wang's patch.
12428 * ido.el (ido-remove-consecutive-dups): New helper.
12429 (ido-completing-read): Use it.
12430 (ido-chop): Revert fix for bug#10994.
12431
12432 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12433
12434 * cus-edit.el (custom-save-variables):
12435 Pretty-print long values. (Bug#14187)
12436
12437 2013-05-08 Glenn Morris <rgm@gnu.org>
12438
12439 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12440 (m4-mode-syntax-table): Init in the defvar.
12441 (m4-mode-abbrev-table): Let define-derived-mode define it.
12442
12443 2013-05-08 Tom Tromey <tromey@redhat.com>
12444
12445 * progmodes/m4-mode.el (m4-mode-syntax-table):
12446 Do not treat "_" as word constituent. (Bug#14167)
12447
12448 2013-05-07 Glenn Morris <rgm@gnu.org>
12449
12450 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12451 Remove explicit eshell-isearch-cancel-map.
12452
12453 * progmodes/f90.el (f90-smart-end-names): New option.
12454 (f90-smart-end): Doc fix.
12455 (f90-end-block-optional-name): New constant.
12456 (f90-block-match): Respect f90-smart-end-names.
12457
12458 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12459
12460 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12461 about implicit semi-colons (bug#14218).
12462
12463 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12464
12465 * frame.el (display-monitor-attributes-list)
12466 (frame-monitor-attributes): New functions.
12467
12468 2013-05-06 Leo Liu <sdl.web@gmail.com>
12469
12470 * progmodes/octave.el (octave-syntax-propertize-function): Change
12471 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12472 (octave-font-lock-keywords): Use octave-operator-regexp.
12473 (octave-completion-at-point): Rename from
12474 octave-completion-at-point-function.
12475 (inferior-octave-directory-tracker): Robustify.
12476 (octave-text-functions): Remove and fix its uses. No such things
12477 any more.
12478
12479 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12480
12481 * emacs-lisp/trace.el (trace--display-buffer): New function.
12482 (trace-make-advice): Use it.
12483
12484 2013-05-06 Juri Linkov <juri@jurta.org>
12485
12486 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12487 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12488 Doc fix.
12489 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12490 in the help string. (Bug#12985)
12491
12492 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12493
12494 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12495
12496 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * progmodes/perl-mode.el: Add support for here documents.
12499 (perl-syntax-propertize-function): Match here-doc markers.
12500 (perl-syntax-propertize-special-constructs): Find their end.
12501 (perl-imenu-generic-expression): Use [:alnum:].
12502
12503 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12504 (advice--add-function): Refresh the advice if already present
12505 (bug#14317).
12506
12507 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12508
12509 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12510
12511 2013-05-06 Glenn Morris <rgm@gnu.org>
12512
12513 * w32-fns.el (w32-charset-info-alist): Declare.
12514
12515 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12516 of its defcustom properties.
12517 (eshell-cmpl-initialize): No need to load pcomplete.
12518
12519 * generic-x.el: No need to require comint when compiling.
12520
12521 * net/eudc-export.el: Make it loadable without bbdb.
12522 (top-level): Use require rather than load-library.
12523 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12524 (eudc-batch-export-records-to-bbdb)
12525 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12526 Require bbdb.
12527
12528 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12529
12530 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12531 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12532 some tweaks, instead.
12533
12534 2013-05-05 Leo Liu <sdl.web@gmail.com>
12535
12536 * progmodes/octave.el (octave-font-lock-keywords)
12537 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12538 (inferior-octave-send-list-and-digest): Improve error message.
12539 (octave-mode, inferior-octave-mode): Use setq-local.
12540 (octave-help): Set info-lookup-mode.
12541
12542 2013-05-05 Richard Stallman <rms@gnu.org>
12543
12544 * vc/compare-w.el (compare-windows-whitespace):
12545 Treat no-break space as whitespace.
12546
12547 * mail/rmailsum.el (rmail-summary-rmail-update):
12548 Detect empty summary and don't change selected message.
12549 (rmail-summary-goto-msg): Likewise.
12550
12551 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12552 Doc fixes, rename args.
12553
12554 2013-05-05 Alan Mackenzie <acm@muc.de>
12555
12556 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12557
12558 2013-05-05 Juri Linkov <juri@jurta.org>
12559
12560 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12561 to not add the length of the summary segment to the return value.
12562 (Bug#14125)
12563
12564 2013-05-05 Leo Liu <sdl.web@gmail.com>
12565
12566 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12567 (inferior-octave-output-filter): Remove.
12568 (octave-send-region, inferior-octave-startup): Fix callers.
12569 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12570 (octave-binary-file-extensions): New user variable.
12571 (octave-find-definition): Confirm if opening binary files.
12572 (octave-help-file): Use octave-find-definition to get the binary
12573 confirmation.
12574 (octave-help): Adjust for octave-help-file change.
12575
12576 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12577
12578 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12579 Merge the two entries that handle function definitions.
12580 (pascal--syntax-propertize): New const.
12581 (pascal-mode): Use it. Use setq-local.
12582
12583 2013-05-04 Glenn Morris <rgm@gnu.org>
12584
12585 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12586 (diary-from-outlook): Respect diary-from-outlook-function.
12587
12588 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12589
12590 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12591 Move the declaration from C.
12592 (read-minibuffer, eval-minibuffer): Move from C.
12593 (completion-setup-function): Avoid minibuffer-completion-contents.
12594
12595 2013-05-03 Leo Liu <sdl.web@gmail.com>
12596
12597 * progmodes/octave.el (octave-font-lock-keywords): Do not
12598 dehighlight 'end' in comments or strings.
12599 (octave-completing-read, octave-goto-function-definition):
12600 New helpers.
12601 (octave-help-buffer): New user variable.
12602 (octave-help-file, octave-help-function): New button types.
12603 (octave-help): New command and bind it to C-h ;.
12604 (octave-find-definition): New command and bind it to M-.
12605 (user-error): Alias to error if not defined.
12606
12607 2013-05-02 Leo Liu <sdl.web@gmail.com>
12608
12609 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12610 for \. (bug#14332)
12611 (octave-font-lock-keywords): Include [ and {.
12612
12613 2013-05-02 Leo Liu <sdl.web@gmail.com>
12614
12615 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12616 (inferior-octave): Remove calling comint-mode and return the buffer.
12617 (inferior-octave-startup): Cosmetic changes.
12618
12619 2013-05-02 Leo Liu <sdl.web@gmail.com>
12620
12621 * progmodes/octave.el (octave-syntax-propertize-function):
12622 Include the case when ' is at line beginning. (Bug#14336)
12623
12624 2013-05-02 Glenn Morris <rgm@gnu.org>
12625
12626 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12627 * desktop.el (vc-dir-mode): Just autoload it here.
12628
12629 2013-05-02 Alan Mackenzie <acm@muc.de>
12630
12631 Eliminate variable c-standard-font-lock-fontify-region-function.
12632 * progmodes/cc-mode.el
12633 (c-standard-font-lock-fontify-region-function): Remove.
12634 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12635
12636 2013-05-01 Leo Liu <sdl.web@gmail.com>
12637
12638 * progmodes/octave.el: Compatible with older emacs-24 releases.
12639 (inferior-octave-has-built-in-variables): Remove. Built-in
12640 variables were removed from Octave in 2007.
12641 (inferior-octave-startup): Fix uses.
12642 (comint-line-beginning-position): Remove compatibility code for
12643 emacs 21.
12644
12645 2013-05-01 Juri Linkov <juri@jurta.org>
12646
12647 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12648
12649 2013-05-01 Juri Linkov <juri@jurta.org>
12650
12651 * comint.el (comint-previous-matching-input): Don't print message
12652 "History item: %d" when `isearch-mode' is active.
12653 (comint-history-isearch-message): Print message "History item: %d"
12654 when `comint-input-ring-index' is not empty and this function is
12655 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12656
12657 2013-05-01 Leo Liu <sdl.web@gmail.com>
12658
12659 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12660 definitions. Use completion-at-point to insert keywords.
12661 (octave-abbrev-start): Remove.
12662 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12663
12664 2013-04-30 Leo Liu <sdl.web@gmail.com>
12665
12666 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12667 change.
12668
12669 2013-04-30 Alan Mackenzie <acm@muc.de>
12670
12671 Handle arbitrarily long C++ member initialisation lists.
12672 * progmodes/cc-engine.el (c-back-over-member-initializers):
12673 new function.
12674 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12675 (most) member init lists.
12676
12677 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12678
12679 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12680 variable.
12681
12682 2013-04-30 Leo Liu <sdl.web@gmail.com>
12683
12684 * progmodes/octave.el (octave-variables): Remove. No builtin
12685 variables any more. All converted to functions.
12686 (octave-font-lock-keywords, octave-completion-at-point-function):
12687 Fix uses.
12688 (octave-font-lock-texinfo-comment): New user variable.
12689 (octave-texinfo-font-lock-keywords): New variable for texinfo
12690 comment block.
12691 (octave-function-comment-block): New face.
12692 (octave-font-lock-texinfo-comment): New function.
12693 (octave-mode): Font lock texinfo comment block.
12694
12695 2013-04-29 Leo Liu <sdl.web@gmail.com>
12696
12697 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12698 indexing expression.
12699 (octave-continuation-string): Do not use \.
12700 (inferior-octave-complete-impossible): Remove.
12701 (inferior-octave-completion-table)
12702 (inferior-octave-completion-at-point): Remove its uses.
12703 (inferior-octave-startup): completion_matches was introduced to
12704 Octave in 1996 so safe to assume it.
12705 (octave-function-file-comment): Improve to follow how Octave does it.
12706 (octave-update-function-file-comment): Tweak.
12707
12708 2013-04-29 Leo Liu <sdl.web@gmail.com>
12709
12710 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12711 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12712 (octave-function-file-comment): Fix typo.
12713 (octave-sync-function-file-names): Use read-char-choice.
12714
12715 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12716
12717 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12718 to t for the less important warnings.
12719
12720 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12721
12722 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12723
12724 2013-04-27 Glenn Morris <rgm@gnu.org>
12725
12726 * vc/log-view.el (log-view-current-entry):
12727 Treat "---" separator lines as part of the following rev. (Bug#14169)
12728
12729 2013-04-27 Juri Linkov <juri@jurta.org>
12730
12731 * subr.el (read-number): Doc fix about using it by interactive
12732 code letter `n'. (Bug#14254)
12733
12734 2013-04-27 Juri Linkov <juri@jurta.org>
12735
12736 * desktop.el (desktop-auto-save-timeout): New option.
12737 (desktop-file-checksum): New variable.
12738 (desktop-save): Add optional arg `auto-save' and don't auto-save
12739 if nothing changed.
12740 (desktop-auto-save-timer): New variable.
12741 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12742 (after-init-hook): Call `desktop-auto-save-set-timer'.
12743 Suggested by Reuben Thomas <rrt@sc3d.org> in
12744 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12745
12746 2013-04-27 Leo Liu <sdl.web@gmail.com>
12747
12748 * progmodes/octave.el (octave-function-file-p)
12749 (octave-skip-comment-forward, octave-function-file-comment)
12750 (octave-update-function-file-comment): New functions.
12751 (octave-mode-map): Bind C-c ; to
12752 octave-update-function-file-comment.
12753 (octave-mode-menu): Add octave-update-function-file-comment.
12754 (octave-mode, inferior-octave-mode): Fix doc-string.
12755 (octave-insert-defun): Conform to Octave's coding convention.
12756 (Bug#14285)
12757
12758 * files.el (basic-save-buffer): Don't let errors in
12759 before-save-hook prevent saving buffer.
12760
12761 2013-04-20 Roland Winkler <winkler@gnu.org>
12762
12763 * faces.el (read-face-name): Use completing-read if arg multiple
12764 is nil.
12765
12766 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12767
12768 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12769 displayed, move point to after the totals line.
12770 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12771 for the details.
12772
12773 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12774
12775 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12776 Add current dir to the load-path.
12777 (package-generate-autoloads): Don't rely on
12778 autoload-ensure-default-file.
12779
12780 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12781
12782 * textmodes/remember.el (remember-store-in-files): Document that
12783 the file name format is passed to `format-time-string'.
12784
12785 2013-04-26 Leo Liu <sdl.web@gmail.com>
12786
12787 * progmodes/octave.el (octave-sync-function-file-names): New function.
12788 (octave-mode): Use it in before-save-hook.
12789
12790 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12791
12792 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12793 (bug#14274).
12794
12795 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12796 \n and comment, even if it's not an implicit ; (bug#14218).
12797
12798 2013-04-26 Glenn Morris <rgm@gnu.org>
12799
12800 * subr.el (read-number): Once more use `read' rather than
12801 `string-to-number', to trap non-numeric input. (Bug#14254)
12802
12803 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12804
12805 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12806 Use `syntax-multiline' text property consistently instead of
12807 `font-lock-multiline'. (Bug#14237)
12808
12809 2013-04-26 Glenn Morris <rgm@gnu.org>
12810
12811 * emacs-lisp/shadow.el (list-load-path-shadows):
12812 No longer necessary to check for duplicate simple.el, since
12813 2012-07-07 change to init_lread to not include installation lisp
12814 directories in load-path when running uninstalled. (Bug#14270)
12815
12816 2013-04-26 Leo Liu <sdl.web@gmail.com>
12817
12818 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12819 (octave-mode, inferior-octave-mode): Use setq-local.
12820 (octave-not-in-string-or-comment-p): Rename to
12821 octave-in-string-or-comment-p.
12822 (octave-in-comment-p, octave-in-string-p)
12823 (octave-in-string-or-comment-p): Replace defsubst with defun.
12824
12825 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12826
12827 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12828
12829 2013-04-25 Bastien Guerry <bzg@gnu.org>
12830
12831 * textmodes/remember.el (remember-data-directory)
12832 (remember-directory-file-name-format): Fix custom types.
12833
12834 2013-04-25 Leo Liu <sdl.web@gmail.com>
12835
12836 * progmodes/octave.el (octave-completion-at-point-function):
12837 Make use of inferior octave process.
12838 (octave-initialize-completions): Remove.
12839 (inferior-octave-completion-table): New function.
12840 (inferior-octave-completion-at-point): Use it.
12841 (octave-completion-alist): Remove.
12842
12843 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12844
12845 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12846 (opascal-mode-syntax-table): New var.
12847 (opascal-literal-kind, opascal-is-literal-end)
12848 (opascal-literal-token-at): Rewrite.
12849 (opascal--literal-start-re, opascal-font-lock-keywords)
12850 (opascal--syntax-propertize): New constants.
12851 (opascal-font-lock-defaults): Adjust.
12852 (opascal-mode): Use them. Set comment-<foo> variables as well.
12853 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12854 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12855 (delphi-other-face, opascal-other-face): Remove face variables.
12856 (opascal-save-state): Remove macro.
12857 (opascal-fontifying-progress-step): Remove constant.
12858 (opascal--ignore-changes): Remove var.
12859 (opascal-set-token-property, opascal-parse-next-literal)
12860 (opascal-is-stable-literal, opascal-complete-literal)
12861 (opascal-is-literal-start, opascal-face-of)
12862 (opascal-parse-region, opascal-parse-region-until-stable)
12863 (opascal-fontify-region, opascal-after-change)
12864 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12865 (opascal-debug-parse-region, opascal-debug-parse-window)
12866 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12867 (opascal-debug-fontify-buffer): Remove.
12868 (opascal-debug-mode-map): Adjust accordingly.
12869
12870 2013-04-25 Leo Liu <sdl.web@gmail.com>
12871
12872 Merge octave-mod.el and octave-inf.el into octave.el with some
12873 cleanups.
12874 * progmodes/octave.el: New file renamed from octave-mod.el.
12875 * progmodes/octave-inf.el: Merged into octave.el.
12876 * progmodes/octave-mod.el: Renamed to octave.el.
12877
12878 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12879
12880 * textmodes/reftex-vars.el
12881 (reftex-label-ignored-macros-and-environments): New defcustom.
12882
12883 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12884
12885 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12886
12887 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12888 (smie-indent-keyword): Improve the check to ensure that the next
12889 comment is really on the same line.
12890 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12891
12892 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12893 semi-colons if the line is not otherwise empty (bug#14218).
12894
12895 2013-04-25 Glenn Morris <rgm@gnu.org>
12896
12897 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12898
12899 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12900
12901 * progmodes/opascal.el (opascal-set-token-property): Rename from
12902 opascal-set-text-properties and only set `token' (bug#14134).
12903 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12904 (opascal-literal-text-properties): Remove.
12905 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12906 Adjust callers.
12907
12908 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12909
12910 * textmodes/remember.el (remember-handler-functions): Add an
12911 option for a new handler `remember-store-in-files'.
12912 (remember-data-directory, remember-directory-file-name-format):
12913 New options.
12914 (remember-store-in-files): New function to store remember notes
12915 as separate files within a directory.
12916
12917 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12918
12919 * progmodes/compile.el (compilation-next-error-function):
12920 Pass "formats" to compilation-find-file (bug#11777).
12921
12922 2013-04-24 Glenn Morris <rgm@gnu.org>
12923
12924 * vc/vc-bzr.el (vc-bzr-print-log):
12925 * vc/vc-hg.el (vc-hg-print-log):
12926 * vc/vc-svn.el (vc-svn-print-log):
12927 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12928
12929 * vc/vc-bzr.el (vc-bzr-print-log):
12930 * vc/vc-cvs.el (vc-cvs-print-log):
12931 * vc/vc-git.el (vc-git-print-log):
12932 * vc/vc-hg.el (vc-hg-print-log):
12933 * vc/vc-mtn.el (vc-mtn-print-log):
12934 * vc/vc-rcs.el (vc-rcs-print-log):
12935 * vc/vc-sccs.el (vc-sccs-print-log):
12936 * vc/vc-svn.el (vc-svn-print-log):
12937 * vc/vc.el (vc-print-log-internal): Doc fixes.
12938
12939 2013-04-23 Glenn Morris <rgm@gnu.org>
12940
12941 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12942 Remove venerable code attempting to avoid substitute-command-keys.
12943
12944 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12945
12946 * textmodes/reftex-vars.el (reftex-label-regexps):
12947 Call `reftex-compile-variables' after changes to this variable.
12948
12949 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12950
12951 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12952 Use lexical-binding.
12953 (jit-lock-force-redisplay): Use markers, check buffer's continued
12954 existence and beware narrowed buffers.
12955 (jit-lock-fontify-now): Adjust call accordingly.
12956
12957 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12958
12959 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12960 to avoid misleading the user.
12961
12962 2013-04-22 Leo Liu <sdl.web@gmail.com>
12963
12964 * info-look.el: Prefer latex2e.info. (Bug#14240)
12965
12966 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12967
12968 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12969
12970 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12971 * net/tramp.el (tramp-call-process): ... here.
12972 (tramp-set-completion-function, tramp-parse-putty):
12973 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12974 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12975 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12976 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12977 (tramp-call-local-coding-command): Use `tramp-call-process'
12978 instead of `tramp-compat-call-process'.
12979
12980 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12981 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12982 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
12983 (tramp-find-inline-compress): Improve traces.
12984 (tramp-maybe-send-script): Check for Perl binary.
12985 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12986
12987 2013-04-22 Daiki Ueno <ueno@gnu.org>
12988
12989 * epg.el (epg-context-pinentry-mode): New function.
12990 (epg-context-set-pinentry-mode): New function.
12991 (epg--start): Pass --pinentry-mode option to gpg command.
12992
12993 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12994
12995 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12996 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12997 `completion-at-point'. (Bug#13774)
12998
12999 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13000 default key binding for `describe-distribution' has been moved to
13001 `C-h C-o'. (Bug#13970)
13002
13003 2013-04-21 Glenn Morris <rgm@gnu.org>
13004
13005 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13006 Add doc strings.
13007 (vc-print-log): Clarify interactive prompt.
13008
13009 2013-04-20 Glenn Morris <rgm@gnu.org>
13010
13011 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13012 No longer include timestamp etc information.
13013
13014 2013-04-20 Roland Winkler <winkler@gnu.org>
13015
13016 * faces.el (read-face-name): Bug fix, return just one face if arg
13017 multiple is nil. (Bug#14209)
13018
13019 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13020
13021 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13022 (remove-function): Autoload.
13023
13024 * comint.el (comint-redirect-original-filter-function): Remove.
13025 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13026 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13027 (vc-cvs-annotate-command):
13028 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13029 * progmodes/prolog.el (prolog-consult-compile):
13030 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13031 Use add/remove-function instead.
13032 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13033 (gud-tooltip-process-output, gud-tooltip-tips):
13034 Use add/remove-function instead.
13035 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13036 (scheme-interaction-mode, exit-scheme-interaction-mode):
13037 Use add/remove-function instead.
13038
13039 * vc/vc-dispatcher.el: Use lexical-binding.
13040 (vc--process-sentinel): Rename from vc-process-sentinel.
13041 Change last arg to be the code to run. Don't use vc-previous-sentinel
13042 and vc-sentinel-commands any more.
13043 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13044 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13045
13046 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13047
13048 * progmodes/sh-script.el (sh-imenu-generic-expression):
13049 Handle function names with a single character. (Bug#14111)
13050
13051 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13052
13053 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13054 for subroutines defined in an eval (bug#14182).
13055
13056 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13057
13058 * bookmark.el (bookmark-completing-read): Improve handling of empty
13059 string (bug#14176).
13060
13061 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13062
13063 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13064
13065 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13066
13067 New faster Imenu implementation (bug#14058).
13068 * progmodes/python.el:
13069 (python-imenu-prev-index-position):
13070 (python-imenu-format-item-label-function)
13071 (python-imenu-format-parent-item-label-function)
13072 (python-imenu-format-parent-item-jump-label-function):
13073 New vars.
13074 (python-imenu-format-item-label)
13075 (python-imenu-format-parent-item-label)
13076 (python-imenu-format-parent-item-jump-label)
13077 (python-imenu--put-parent, python-imenu--build-tree)
13078 (python-imenu-create-index, python-imenu-create-flat-index)
13079 (python-util-popn): New functions.
13080 (python-mode): Set imenu-create-index-function to
13081 python-imenu-create-index.
13082
13083 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13084
13085 * winner.el (winner-active-region): Use region-active-p, activate-mark
13086 and deactivate-mark (bug#14225).
13087
13088 * simple.el (deactivate-mark): Don't inline it.
13089
13090 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13091
13092 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13093
13094 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13095
13096 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13097 file extensions from the archive-mode entry in order to prefer
13098 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13099
13100 2013-04-18 Leo Liu <sdl.web@gmail.com>
13101
13102 * bindings.el (help-event-list): Add ?\?.
13103
13104 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13105
13106 * subr.el (with-wrapper-hook): Declare obsolete.
13107 * simple.el (filter-buffer-substring-function): New hook.
13108 (filter-buffer-substring): Use it.
13109 (filter-buffer-substring-functions): Mark obsolete.
13110 * minibuffer.el (completion-in-region-function): New hook.
13111 (completion-in-region): Use it.
13112 (completion-in-region-functions): Mark obsolete.
13113 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13114 * abbrev.el (abbrev-expand-function): New hook.
13115 (expand-abbrev): Use it.
13116 (abbrev-expand-functions): Mark obsolete.
13117 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13118 and :filter-return.
13119
13120 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13121
13122 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13123 and do not care about match data.
13124
13125 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13126
13127 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13128 completion tables when completing error conditions and
13129 `declare' arguments.
13130 (lisp-complete-symbol, field-complete): Mark as obsolete.
13131 (check-parens): Unmatched parens are user errors.
13132 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13133
13134 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13135
13136 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13137 command changed buffer (ie. `flyspell-pre-buffer' is not current
13138 buffer), which prevents making decisions based on invalid value of
13139 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13140 cause an error when `flyspell-pre-point' was nil after switching
13141 buffers.
13142 (flyspell-post-command-hook): No longer needs to change buffers when
13143 checking pre-word. While at it remove unnecessary progn.
13144
13145 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13146
13147 * textmodes/ispell.el (ispell-add-per-file-word-list):
13148 Fix `flyspell-correct-word-before-point' error when accepting
13149 words and `coment-padding' is an integer by using
13150 `comment-normalize-vars' (Bug #14214).
13151
13152 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13153
13154 New defun movement commands.
13155 * progmodes/python.el (python-nav--syntactically)
13156 (python-nav--forward-defun, python-nav-backward-defun)
13157 (python-nav-forward-defun): New functions.
13158
13159 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13160
13161 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13162 (python-syntax-context): Use named compiler-macro for backwards
13163 compatibility with Emacs 24.x.
13164
13165 2013-04-17 Leo Liu <sdl.web@gmail.com>
13166
13167 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13168 octave-hide-process-buffer.
13169
13170 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13171
13172 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13173 (bug#14216).
13174
13175 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13176
13177 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13178 Fix adjustment of offset when receiving incomplete responses from GDB
13179 (bug#14129).
13180
13181 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13182
13183 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13184 python-mode-abbrev-table.
13185 (python-skeleton-define): Adjust accordingly.
13186 (python-mode-abbrev-table): New table that inherits from it so that
13187 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13188
13189 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13190 (abbrev-symbol): Use it.
13191 (abbrev--before-point): Use it since we already handle inheritance.
13192
13193 2013-04-16 Leo Liu <sdl.web@gmail.com>
13194
13195 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13196 binding to info-lookup-symbol.
13197
13198 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13199
13200 * minibuffer.el (completion--twq-all):
13201 * term/ns-win.el (ns-initialize-window-system):
13202 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13203
13204 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13205
13206 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13207 global bindings.
13208
13209 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13210
13211 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13212
13213 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13214 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13215 to nil.
13216 (ruby-end-of-defun): Remove the unused arg, change the docstring
13217 to reflect that this function is only used as the value of
13218 `end-of-defun-function'.
13219 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13220 to reflect an earlier change that beginning/end-of-defun functions
13221 jump between methods in a class definition, as well as top-level
13222 functions.
13223
13224 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13225
13226 * minibuffer.el (minibuffer-complete): Don't just scroll
13227 a *Completions* that's been iconified.
13228 (minibuffer-force-complete): Make sure repetitions do cycle when going
13229 through completion-in-region -> minibuffer-complete.
13230
13231 2013-04-15 Alan Mackenzie <acm@muc.de>
13232
13233 Correct the placement of c-cpp-delimiters when there're #s not at
13234 col 0.
13235
13236 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13237 place a submatch around the #.
13238 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13239 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13240 on the #, not BOL.
13241
13242 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13243
13244 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13245 (advice--member-p): New arg `name'.
13246 (advice--add-function, advice-member-p): Use it (bug#14202).
13247
13248 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13249
13250 Reformulate java imenu-generic-expression.
13251 The old expression contained ill formed regexps.
13252
13253 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13254 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13255 (cc-imenu-java-method-arg-regexp): New defconsts.
13256 (cc-imenu-java-build-type-args-regex): New defun.
13257 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13258 handling of spaces in the regexp.
13259
13260 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13261
13262 * textmodes/ispell.el (ispell-command-loop): Remove
13263 flyspell highlight of a word when ispell accepts it (bug #14178).
13264
13265 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13266
13267 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13268 uses code from the previous `ange-ftp-run-real-handler'.
13269 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13270 only in case that function exist. This is needed for proper
13271 unloading of Tramp.
13272
13273 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13274
13275 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13276
13277 * textmodes/reftex.el (reftex-compile-variables): Use it.
13278
13279 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13280
13281 * files.el (normal-mode): Only use default major-mode if no other mode
13282 was specified.
13283
13284 * emacs-lisp/trace.el (trace-values): New function.
13285
13286 * files.el: Allow : in local variables (bug#14089).
13287 (hack-local-variable-regexp): New var.
13288 (hack-local-variables-prop-line, hack-local-variables): Use it.
13289
13290 2013-04-13 Roland Winkler <winkler@gnu.org>
13291
13292 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13293 data before it gets modified by bibtex-beginning-of-entry.
13294
13295 2013-04-13 Roland Winkler <winkler@gnu.org>
13296
13297 * textmodes/bibtex.el (bibtex-url): Doc fix.
13298
13299 2013-04-13 Roland Winkler <winkler@gnu.org>
13300
13301 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13302 does not visit a BibTeX file, exclude it from the list of buffers
13303 returned by bibtex-initialize.
13304
13305 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13306
13307 * window.el (split-window): Remove interactive form, since as a
13308 command this function is a special case of split-window-below.
13309 Correct doc string.
13310
13311 2013-04-12 Roland Winkler <winkler@gnu.org>
13312
13313 * faces.el (read-face-name): Do not override value of arg default.
13314 Allow single faces and strings as default values. Remove those
13315 elements from return value that are not faces.
13316 (describe-face): Simplify.
13317 (face-at-point): New optional args thing and multiple so that this
13318 function can provide the same functionality previously provided by
13319 read-face-name.
13320 (make-face-bold, make-face-unbold, make-face-italic)
13321 (make-face-unitalic, make-face-bold-italic, invert-face)
13322 (modify-face, read-face-and-attribute): Use face-at-point.
13323
13324 * cus-edit.el (customize-face, customize-face-other-window)
13325 * cus-theme.el (custom-theme-add-face)
13326 * face-remap.el (buffer-face-set)
13327 * facemenu.el (facemenu-set-face): Use face-at-point.
13328
13329 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13330
13331 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13332
13333 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13334
13335 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13336 off leading { and trailing } from field values.
13337
13338 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13339
13340 * emacs-lisp/timer.el (timer--check): New function.
13341 (timer--time, timer-set-function, timer-event-handler): Use it.
13342 (timer-set-idle-time): Simplify.
13343 (timer--activate): CSE.
13344 (timer-event-handler): Give more info in error message.
13345 (internal-timer-start-idle): New function, moved from C.
13346
13347 * mpc.el (mpc-proc): Add `restart' argument.
13348 (mpc-proc-cmd): Use it.
13349 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13350 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13351 less often.
13352
13353 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13354
13355 * progmodes/sh-script.el: Implement `sh-mode' own
13356 `add-log-current-defun-function' (bug#14112).
13357 (sh-current-defun-name): New function.
13358 (sh-mode): Use the function.
13359
13360 2013-04-09 Bastien Guerry <bzg@gnu.org>
13361
13362 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13363
13364 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13365
13366 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13367
13368 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13369 timer (bug#14156).
13370
13371 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13372
13373 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13374 declaration.
13375
13376 2013-04-07 Leo Liu <sdl.web@gmail.com>
13377
13378 * pcmpl-x.el: New file.
13379
13380 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13381
13382 Do not set x-display-name until X connection is established.
13383 This is needed to prevent from weird situation described at
13384 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13385 * frame.el (make-frame): Set x-display-name after call to
13386 window system initialization function, not before.
13387 * term/x-win.el (x-initialize-window-system): Add optional
13388 display argument and use it.
13389 * term/w32-win.el (w32-initialize-window-system):
13390 * term/ns-win.el (ns-initialize-window-system):
13391 * term/pc-win.el (msdos-initialize-window-system):
13392 Add compatible optional display argument.
13393
13394 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13395
13396 * files.el (normal-backup-enable-predicate): On MS-Windows and
13397 MS-DOS compare truenames of temporary-file-directory and of the
13398 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13399 don't fail comparison by compare-strings. Also, compare file
13400 names case-insensitively on MS-Windows and MS-DOS.
13401
13402 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13403
13404 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13405 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13406
13407 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13408
13409 * whitespace.el (whitespace-color-on, whitespace-color-off):
13410 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13411
13412 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13413
13414 * ispell.el (ispell-set-spellchecker-params):
13415 Really set `ispell-args' for all equivs.
13416
13417 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13418
13419 * ido.el (ido-completions): Use extra elements of ido-decorations
13420 (bug#14143).
13421 (ido-decorations): Update docstring.
13422
13423 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13424
13425 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13426 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13427 nil during initialization, in order not to miss changes since the
13428 file was opened. (Bug#14140)
13429
13430 2013-04-05 Leo Liu <sdl.web@gmail.com>
13431
13432 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13433
13434 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13435
13436 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13437
13438 2013-04-04 Glenn Morris <rgm@gnu.org>
13439
13440 * electric.el (electric-pair-inhibit-predicate): Add :version.
13441
13442 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13443
13444 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13445 when a package is required several times (bug#14082).
13446
13447 2013-04-04 Roland Winkler <winkler@gnu.org>
13448
13449 * faces.el (read-face-name): Behave as promised by the docstring.
13450 Assume that arg default is a list of faces.
13451 (describe-face): Call read-face-name with list of default faces.
13452
13453 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13454
13455 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13456 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13457 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13458 the header.
13459 (bookmark-exit-hook-internal): Save even if list is empty.
13460
13461 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13462
13463 * emacs-lisp/package.el (package-pinned-packages): New var.
13464 (package--add-to-archive-contents): Obey it (bug#14118).
13465
13466 2013-04-03 Alan Mackenzie <acm@muc.de>
13467
13468 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13469 Also adapt to the new values of element 7 of a parse state.
13470
13471 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13472 parameter `not-in-delimiter'. Handle being inside comment opener.
13473 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13474 character in case we're typing a '*' after a '/'.
13475 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13476 instead by passing the parameter to c-state-pp-to-literal.
13477
13478 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13479 for elt. 7 of a parse state.
13480
13481 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13482
13483 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13484 * international/latin1-disp.el, international/mule-util.el:
13485 * language/cyril-util.el, language/european.el, language/ind-util.el:
13486 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13487 * language/tibetan.el, language/viet-util.el:
13488 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13489
13490 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13491
13492 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13493 (electric-pair-post-self-insert-function): Use it.
13494 (electric-pair-default-inhibit): New function, extracted from
13495 electric-pair-post-self-insert-function.
13496
13497 2013-03-31 Roland Winkler <winkler@gnu.org>
13498
13499 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13500
13501 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13504
13505 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13506
13507 Un-indent after "pass" and "return" statements (Bug#13888)
13508 * progmodes/python.el (python-indent-block-enders): New var.
13509 (python-indent-calculate-indentation): Use it.
13510
13511 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13512
13513 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13514 defun. Defining it as defalias could introduce too eager
13515 byte-compiler optimization. (Bug#14030)
13516
13517 2013-03-30 Chong Yidong <cyd@gnu.org>
13518
13519 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13520
13521 2013-03-30 Leo Liu <sdl.web@gmail.com>
13522
13523 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13524 (kmacro-execute-from-register): Pass the keyboard macro to
13525 kmacro-call-macro or repeating won't work correctly.
13526
13527 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13528
13529 * progmodes/subword.el: Back to using `forward-symbol'.
13530
13531 * subr.el (forward-whitespace, forward-symbol)
13532 (forward-same-syntax): Move from thingatpt.el.
13533
13534 2013-03-29 Leo Liu <sdl.web@gmail.com>
13535
13536 * kmacro.el (kmacro-to-register): New command.
13537 (kmacro-execute-from-register): New function.
13538 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13539
13540 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13541
13542 * mpc.el: Use defvar-local and setq-local.
13543 (mpc--proc-connect): Connection failures are not bugs.
13544 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13545 (mpc-volume-map): Bind to the up-events.
13546
13547 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13548
13549 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13550 instead of `forward-symbol'.
13551
13552 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13555 (edebug--recursive-edit): Use it.
13556 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13557 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13558
13559 2013-03-28 Leo Liu <sdl.web@gmail.com>
13560
13561 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13562
13563 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13564
13565 * facemenu.el (list-colors-callback): New defvar.
13566 (list-colors-redisplay): New function.
13567 (list-colors-display): Install list-colors-redisplay as the
13568 revert-buffer-function. (Bug#14063)
13569
13570 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13571
13572 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13573 and suffixes don't overlap (bug#14061).
13574
13575 * case-table.el: Use lexical-binding.
13576 (case-table-get-table): New function.
13577 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13578
13579 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13580
13581 * progmodes/subword.el: Add `superword-mode' to do word motion
13582 over symbol_words (parallels and leverages `subword-mode' which
13583 does word motion inside MixedCaseWords).
13584
13585 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13586
13587 * eshell/em-unix.el: Move su and sudo to...
13588 * eshell/em-tramp.el: ...Eshell tramp module.
13589
13590 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13591
13592 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13593 Change return value to be a sexp. Delay `get-buffer' to after
13594 restoring the desktop (bug#13951).
13595
13596 2013-03-26 Leo Liu <sdl.web@gmail.com>
13597
13598 * register.el: Move semantic tag handling back to
13599 cedet/semantic/senator.el. (Bug#14052)
13600
13601 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13602
13603 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13604 into the prompt either (bug#13963).
13605
13606 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13607
13608 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13609 part of "(error-foo)".
13610
13611 2013-03-24 Juri Linkov <juri@jurta.org>
13612
13613 * replace.el (list-matching-lines-prefix-face): New defcustom.
13614 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13615 `occur-engine' if `face-differs-from-default-p' returns t.
13616 (occur-engine): Add `,' inside backquote construct to evaluate
13617 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13618 Pass `prefix-face' to the functions `occur-context-lines' and
13619 `occur-engine-add-prefix'.
13620 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13621 `prefix-face' and propertize the prefix with `prefix-face'.
13622 (Bug#14017)
13623
13624 2013-03-24 Leo Liu <sdl.web@gmail.com>
13625
13626 * nxml/rng-valid.el (rng-validate-while-idle)
13627 (rng-validate-quick-while-idle): Guard against deleted buffer.
13628 (Bug#13999)
13629
13630 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13631 is the last entry in kill-buffer-hook.
13632
13633 * files.el (kill-buffer-hook): Doc fix.
13634
13635 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13636
13637 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13638 Make it safe-local.
13639
13640 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13641
13642 2013-03-23 Leo Liu <sdl.web@gmail.com>
13643
13644 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13645 Remove.
13646
13647 * nxml/rng-valid.el (rng-validate-mode)
13648 (rng-after-change-function, rng-do-some-validation):
13649 * nxml/rng-maint.el (rng-validate-buffer):
13650 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13651 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13652 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13653 (nxml-extend-after-change-region): Use with-silent-modifications.
13654
13655 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13656 timer-idle-list.
13657
13658 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13659 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13660 timer-idle-list. (Bug#13999)
13661
13662 2013-03-23 Juri Linkov <juri@jurta.org>
13663
13664 * info.el (info-index-match): New face.
13665 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13666 main pattern and add text properties with the new face to matches
13667 in index entries relative to the beginning of the index entry.
13668 (Bug#14015)
13669
13670 2013-03-21 Eric Ludlam <zappo@gnu.org>
13671
13672 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13673 Inhibit read only while inserting objects.
13674
13675 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13676
13677 * progmodes/cfengine.el: Update docs to mention
13678 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13679 symbol motion. Remove "_" from the word syntax.
13680
13681 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13682
13683 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13684 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13685
13686 2013-03-20 Juri Linkov <juri@jurta.org>
13687
13688 * info.el (Info-next-reference-or-link)
13689 (Info-prev-reference-or-link): New functions.
13690 (Info-next-reference, Info-prev-reference): Use them.
13691 (Info-try-follow-nearest-node): Handle footnote navigation.
13692 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13693
13694 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13695
13696 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13697 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13698
13699 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13700
13701 Suppress unnecessary non-ASCII chatter during build process.
13702 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13703 (batch-skkdic-convert): Suppress most of the chatter.
13704 It's not needed so much now that machines are faster,
13705 and its non-ASCII component was confusing; see Dmitry Gutov in
13706 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13707
13708 2013-03-20 Leo Liu <sdl.web@gmail.com>
13709
13710 * ido.el (ido-chop): Fix bug#10994.
13711
13712 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13713
13714 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13715 Remove vars.
13716 (whitespace-color-on, whitespace-color-off):
13717 Use `font-lock-fontify-buffer' (Bug#13817).
13718
13719 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13722 remapping in mode-line.
13723 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13724
13725 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13726
13727 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13728 value for `whitespace-line' face (Bug#13875).
13729 (whitespace-font-lock-keywords): Change description.
13730 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13731 the constructed keywords instead.
13732 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13733
13734 2013-03-19 Leo Liu <sdl.web@gmail.com>
13735
13736 * progmodes/compile.el (compilation-display-error): New command.
13737 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13738 C-o. (Bug#13992)
13739
13740 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13741
13742 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13743
13744 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13745
13746 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13747
13748 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13749
13750 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13751
13752 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13753 * net/tramp-gvfs.el (top):
13754 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13755 (tramp-handle-shell-command): Use it.
13756 (tramp-dissect-file-name): Raise an error when hostname is a
13757 method name, and neither method nor user is specified.
13758
13759 * net/trampver.el: Update release number.
13760
13761 2013-03-18 Leo Liu <sdl.web@gmail.com>
13762
13763 Make sure eldoc can be turned off properly.
13764 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13765 eldoc-mode.
13766 (eldoc-display-message-p): Revert last change.
13767 (eldoc-display-message-no-interference-p)
13768 (eldoc-print-current-symbol-info): Tweak.
13769
13770 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13771
13772 * doc-view.el (doc-view-new-window-function): Check the new window
13773 overlay's display property instead the char property of the
13774 buffer's first char. Use `with-selected-window' instead of
13775 `save-window-excursion' with `select-window'.
13776 (doc-view-document->bitmap): Check the current doc-view overlay's
13777 display property instead the char property of the buffer's first char.
13778
13779 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13780
13781 Automate the build of ja-dic.el (Bug#13984).
13782 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13783 from the input, rather than assume that it's been done for us by the
13784 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13785 the current date into a ja-dic.el comment, as that complicates
13786 regression testing.
13787
13788 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13789
13790 * whitespace.el: Fix double evaluation.
13791 (whitespace-space, whitespace-hspace, whitespace-tab)
13792 (whitespace-newline, whitespace-trailing, whitespace-line)
13793 (whitespace-space-before-tab, whitespace-indentation)
13794 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13795 obsolete defvars.
13796 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13797 (whitespace-color-on): Use a single font-lock-add-keywords call.
13798 Fix double-evaluation of face variables.
13799
13800 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13801
13802 * net/tramp-adb.el (tramp-adb-parse-device-names):
13803 Use `start-process' instead of `call-process'. Otherwise, the
13804 function might be blocked under MS Windows. (Bug#13299)
13805
13806 2013-03-17 Leo Liu <sdl.web@gmail.com>
13807
13808 Extend eldoc to display info in the mode-line. (Bug#13978)
13809 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13810 (eldoc-mode-line-string): New variable.
13811 (eldoc-minibuffer-message): New function.
13812 (eldoc-message-function): New variable.
13813 (eldoc-message): Use it.
13814 (eldoc-display-message-p)
13815 (eldoc-display-message-no-interference-p):
13816 Support eldoc-post-insert-mode.
13817
13818 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13819 (eval-expression): Run it.
13820
13821 2013-03-17 Roland Winkler <winkler@gnu.org>
13822
13823 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13824 strings in the list of return values.
13825
13826 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13827
13828 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13829 radix before checking for HMS forms.
13830
13831 2013-03-16 Leo Liu <sdl.web@gmail.com>
13832
13833 * progmodes/scheme.el: Add indentation and font-locking for λ.
13834 (Bug#13975)
13835
13836 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13837
13838 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13839 token before point (bug#13942).
13840
13841 2013-03-16 Leo Liu <sdl.web@gmail.com>
13842
13843 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13844
13845 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13846
13847 * startup.el (command-line-normalize-file-name): Fix handling of
13848 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13849 <xfq.free@gmail.com> in
13850 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13851
13852 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13853
13854 Sync with Tramp 2.2.7.
13855
13856 * net/trampver.el: Update release number.
13857
13858 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13859
13860 * doc-view.el: Fix bug#13887.
13861 (doc-view-insert-image): Don't modify overlay associated to
13862 non-live windows, and implement horizontal centering of image in
13863 case it's smaller than the window.
13864 (doc-view-new-window-function): Force redisplay of new windows on
13865 doc-view buffers.
13866
13867 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13868
13869 * saveplace.el (save-place-alist-to-file): Don't sort
13870 `save-place-alist', just pretty-print it (bug#13882).
13871
13872 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13873
13874 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13875 Check whether `default-file-name-coding-system' is bound.
13876 It isn't in XEmacs.
13877
13878 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13881 backquotes for `obsolete' (bug#13929).
13882
13883 * international/mule.el (find-auto-coding): Include file name in
13884 obsolescence warning (bug#13922).
13885
13886 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13887
13888 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13889 for CFEngine 3-specific indentation.
13890 (cfengine3-indent-line): Use it. Fix up category regex.
13891 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13892
13893 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * type-break.el (type-break-file-name):
13896 * textmodes/remember.el (remember-data-file):
13897 * strokes.el (strokes-file):
13898 * shadowfile.el (shadow-initialize):
13899 * saveplace.el (save-place-file):
13900 * ps-bdf.el (bdf-cache-file):
13901 * progmodes/idlwave.el (idlwave-config-directory):
13902 * net/quickurl.el (quickurl-url-file):
13903 * international/kkc.el (kkc-init-file-name):
13904 * ido.el (ido-save-directory-list-file):
13905 * emulation/viper.el (viper-custom-file-name):
13906 * emulation/vip.el (vip-startup-file):
13907 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13908 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13909
13910 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13911
13912 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13913 * language/thai-word.el: Switch to UTF-8.
13914
13915 See ChangeLog.16 for earlier changes.
13916
13917 ;; Local Variables:
13918 ;; coding: utf-8
13919 ;; End:
13920
13921 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13922
13923 This file is part of GNU Emacs.
13924
13925 GNU Emacs is free software: you can redistribute it and/or modify
13926 it under the terms of the GNU General Public License as published by
13927 the Free Software Foundation, either version 3 of the License, or
13928 (at your option) any later version.
13929
13930 GNU Emacs is distributed in the hope that it will be useful,
13931 but WITHOUT ANY WARRANTY; without even the implied warranty of
13932 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13933 GNU General Public License for more details.
13934
13935 You should have received a copy of the GNU General Public License
13936 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.