]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
260a77fdca9d82b219bd20b7a6ba370a55be8672
[gnu-emacs] / lisp / ChangeLog
1 2014-03-14 Glenn Morris <rgm@gnu.org>
2
3 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
4 (help-function-arglist, help-make-usage): Move from here...
5 * help.el (help-split-fundoc, help-add-fundoc-usage)
6 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
7 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
8
9 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
10
11 * net/socks.el (socks, socks-override-functions)
12 (socks-find-services-entry): FT
13 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
14 (hif-find-ifdef-block):
15 * progmodes/modula2.el (m2-indent): Fix docstring typos.
16
17 * net/tls.el (tls-program): Reflow docstring.
18
19 * progmodes/pascal.el (pascal-mode-abbrev-table)
20 (pascal-imenu-generic-expression, pascal-auto-endcomments)
21 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
22 (pascal-outline-mode): Fix docstring typos.
23 (pascal-mode): Let define-derived-mode document mode hook.
24 (pascal-uncomment-area): Reflow.
25 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
26
27 * progmodes/opascal.el (opascal-compound-block-indent)
28 (opascal-case-label-indent): Fix docstring typos.
29 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
30
31 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
32
33 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
34 multiple adjacent negation chars. (Bug#17004)
35
36 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
37
38 * emacs-lisp/package.el (package--prepare-dependencies):
39 Accept requirements without explicit version (bug#14941).
40
41 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
42
43 * register.el (register-separator, copy-to-register): Doc fixes.
44 (register-preview-default): Remove unnecessary call to concat.
45
46 * frameset.el (frameset-restore): When checking for a visible frame,
47 use the action map instead of calling visible-frame-list.
48
49 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
50
51 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
52
53 2014-03-12 Martin Rudalics <rudalics@gmx.at>
54
55 * window.el (fit-frame-to-buffer): Get maximum width from
56 display's width instead of height.
57
58 2014-03-12 Glenn Morris <rgm@gnu.org>
59
60 * desktop.el (desktop-restore-frames)
61 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
62 (desktop-restore-reuses-frames): Doc tweaks.
63
64 * electric.el (electric-indent-mode): Doc fix.
65
66 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
67
68 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
69 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
70 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
71 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
72 (cvs-dired-use-hook): Fix docstring typos.
73 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
74 Doc fixes.
75
76 * vc/pcvs-defs.el (cvs-auto-remove-handled)
77 (cvs-auto-remove-directories, cvs-default-ignore-marks)
78 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
79 (cvs-execute-single-dir): Fix docstring typos.
80
81 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
82 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
83
84 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
85
86 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
87 Fix docstring typos.
88
89 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
90
91 * frameset.el (frameset--jump-to-register): Add autoload; it could be
92 called from jump-to-register after unloading the frameset package.
93
94 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
95
96 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
97 (bug#16975). Deactivate the mark before setting it to nil.
98 (activate-mark): Do nothing if region is already active.
99
100 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
101
102 * frameset.el (frameset--target-display): Remove definition; declare.
103 (frameset-save, frameset-restore): Let-bind frameset--target-display.
104
105 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
108 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
109 when the advice is pending.
110 (advice-remove): Remove this marker when not needed any more.
111
112 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
113
114 * frameset.el: Separate options for reusing frames and cleaning up.
115 (frameset--reuse-list): Remove definition; declare.
116 (frameset--action-map): Declare.
117 (frameset--find-frame-if): Doc fix.
118 (frameset--restore-frame): Cache frame action.
119 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
120 how to clean up the frame list after restoring. Remove cleaning
121 options from REUSE-FRAMES. Change all keyword values to symbols.
122 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
123
124 * desktop.el (desktop-restore-forces-onscreen)
125 (desktop-restore-reuses-frames): Use non-keyword values.
126 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
127
128 2014-03-10 Glenn Morris <rgm@gnu.org>
129
130 * files.el (find-file): Doc fix: update info node name.
131
132 * emacs-lisp/advice.el (ad-add-advice, defadvice):
133 Doc fix: remove references to deleted info nodes.
134
135 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
136
137 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
138 Do not add `nil' to the environment, when there's no remote `locale'.
139 (tramp-find-inline-encoding): Check, that the remote host has
140 installed perl, before sending scripts.
141
142 2014-03-10 Leo Liu <sdl.web@gmail.com>
143
144 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
145 Clear eldoc-last-message. (Bug#16920)
146
147 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
150 (bug#14430).
151
152 2014-03-09 Juri Linkov <juri@jurta.org>
153
154 * ansi-color.el (ansi-color-names-vector): Copy default colors
155 from `xterm-standard-colors' that look well on the default white
156 background (and also on the black background) to avoid illegible
157 color combinations like yellow-on-white and white-on-white.
158 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
159
160 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
161
162 * frameset.el (frameset-restore): When no frame is visible, do not
163 generate a list of frames, just make visible the selected one.
164
165 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
166
167 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
168 it only contains the repository root. (Bug#16897)
169
170 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
171
172 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
173 only when `remote-file-name-inhibit-cache' is nil.
174 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
175
176 2014-03-06 Martin Rudalics <rudalics@gmx.at>
177
178 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
179 Fix doc-strings.
180 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
181 fit-frame-to-buffer variable. Fix doc-string.
182 (fit-window-to-buffer): Set ONLY argument in call of
183 fit-frame-to-buffer. Fix doc-string.
184
185 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
186
187 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
188 (tramp-action-password): Clear password cache if needed.
189 (tramp-read-passwd): Do not clear password cache.
190
191 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
192 cache unless it is the first password request.
193
194 2014-03-06 Glenn Morris <rgm@gnu.org>
195
196 * simple.el (newline): Doc tweak.
197
198 * emacs-lisp/shadow.el (load-path-shadows-find):
199 Ignore dir-locals. (Bug#12357)
200
201 2014-03-05 Glenn Morris <rgm@gnu.org>
202
203 * files.el (interpreter-mode-alist):
204 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
205
206 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
207
208 * frameset.el (frameset--initial-params): Filter out null entries.
209
210 2014-03-05 Martin Rudalics <rudalics@gmx.at>
211
212 * window.el (window-min-height, window-min-width):
213 Rewrite doc-strings.
214 (window-body-size): Add PIXELWISE argument to make it consistent
215 with its callees.
216
217 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
218
219 * finder.el (finder-mode-map, finder-mode-syntax-table):
220 Revert part of 2014-02-28 change.
221
222 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
223
224 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
225 (eww-setup-buffer): Clear next/prev/etc more reliably.
226 (eww-textarea-map): [tab] doesn't work on tty.
227 Reported by Mario Lang.
228
229 * net/shr.el (shr-map): Ditto.
230
231 2014-03-04 Glenn Morris <rgm@gnu.org>
232
233 * minibuffer.el (completion-hilit-commonality):
234 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
235
236 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
237
238 * hilit-chg.el (hilit-chg-unload-function): New function.
239 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
240 (hilit-chg-map-changes): Prefer cardinal number to digit.
241 (hilit-chg-display-changes): Reflow docstring.
242 (highlight-changes-rotate-faces): Remove superfluous backslash.
243
244 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
245
246 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
247 `tramp-send-command-and-check'.
248
249 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
250
251 * hexl.el (hexl-address-region, hexl-ascii-region)
252 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
253 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
254 (hexl-forward-word, hexl-previous-line, hexl-next-line):
255 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
256 (hexl-mode): Doc fix.
257 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
258 (hexl-mode-ruler): Fix typos in docstrings.
259
260 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
261 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
262 Remove superfluous backslashes.
263 (strokes-last-stroke, strokes-global-map, strokes-mode):
264 Reflow docstrings.
265 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
266 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
267 (strokes-distance-squared, strokes-global-set-stroke)
268 (strokes-global-set-stroke-string): Doc fixes.
269 (strokes-help): Fix typos; reflow docstring.
270
271 2014-03-04 Martin Rudalics <rudalics@gmx.at>
272
273 * window.el (window-in-direction): Fix doc-string.
274
275 2014-03-04 Glenn Morris <rgm@gnu.org>
276
277 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
278 Explicit error if no grammar.
279 (smie-config-save): Doc fix. Fix quote typo.
280
281 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
282
283 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
284 electric-indent-mode-hook if we obey electric-indent-mode.
285 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
286 decide whether we obey electric-indent-mode.
287 (c-change-set-fl-decl-start, c-extend-after-change-region):
288 Silence warnings.
289 (c-electric-indent-mode-hook): Assume we do want to obey
290 electric-indent-mode.
291
292 * electric.el (electric-indent-mode-has-been-called): Remove.
293 (electric-indent-mode): Fix accordingly.
294
295 * files.el (hack-local-variables): Mention file name in warning.
296
297 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
298
299 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
300
301 * binding.el: Add comment describing why C-d binds to `delete-char'.
302 * simple.el (delete-forward-char): Mark as interactive-only.
303
304 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
305
306 * icomplete.el (icomplete-completions):
307 Follow-up to 2014-03-01 change.
308
309 * icomplete.el: Miscellaneous doc fixes.
310 Use Icomplete everywhere instead of icomplete for consistency.
311 (icomplete-max-delay-chars): Fix typo.
312 (icomplete-mode): Use \[].
313 (icomplete-tidy, icomplete-exhibit): Reflow.
314 (icomplete-minibuffer-setup-hook, icomplete-completions):
315 Remove superfluous backlashes.
316
317 * ido.el: Miscellaneous doc fixes.
318 Use Ido everywhere instead of ido or `ido' for consistency.
319 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
320 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
321 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
322 (ido-separator): Extract obsolescence info from docstring and declare
323 with make-obsolete-variable.
324 (ido-minibuffer-setup-hook): Simplify example.
325 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
326 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
327 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
328 (ido-everywhere): Reflow docstring.
329 (ido-toggle-vc): Doc fix.
330 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
331 of long list of keybindings.
332
333 2014-03-03 Glenn Morris <rgm@gnu.org>
334
335 * frame.el (display-pixel-height, display-pixel-width)
336 (display-mm-dimensions-alist, display-mm-height)
337 (display-mm-width): Doc tweaks.
338
339 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
340
341 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
342 case of undo in region.
343
344 2014-03-02 Martin Rudalics <rudalics@gmx.at>
345
346 * window.el (fit-window-to-buffer): Fix argument in window-size
347 call when window is horizontally combined.
348
349 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
350
351 * icomplete.el (icomplete-completions): Use string-width.
352 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
353
354 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
355
356 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
357 Highlight regexp options. (Bug#16914)
358
359 2014-03-01 Martin Rudalics <rudalics@gmx.at>
360
361 * window.el (window--max-delta-1): Round down when calculating
362 how many lines/columns we can get from a window.
363
364 2014-03-01 Glenn Morris <rgm@gnu.org>
365
366 * isearch.el (search-invisible): Doc fix.
367
368 * minibuffer.el (completion-hilit-commonality):
369 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
370 * comint.el (comint-dynamic-list-completions): Doc fix.
371 * comint.el (comint-dynamic-list-completions):
372 * filecache.el (file-cache-minibuffer-complete):
373 * tempo.el (tempo-display-completions):
374 * eshell/em-hist.el (eshell-list-history):
375 Replace use of obsolete argument of display-completion-list.
376
377 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
378
379 * icomplete.el (icomplete-completions):
380 Revert back to using "..." when ?… cannot be displayed.
381
382 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
383
384 * finder.el (finder-unload-function): New function.
385
386 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
387
388 * dframe.el (dframe-detach):
389 * find-dired.el (find-dired, find-name-dired):
390 * finder.el (finder-mode-map, finder-mode-syntax-table)
391 (finder-headmark, finder-select, finder-mouse-select):
392 Fix docstring typos.
393
394 2014-02-28 Martin Rudalics <rudalics@gmx.at>
395
396 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
397 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
398 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
399 Fix doc-string based on a suggestion by Nicolas Richard
400 <theonewiththeevillook@yahoo.fr>.
401 * help.el (with-help-window): Fix doc-string.
402
403 2014-02-28 Ivan Kanis <ivan@kanis.fr>
404
405 * net/shr.el (shr-image-animate): New option.
406 (shr-put-image): Respect shr-image-animate.
407
408 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
409
410 * net/tramp-adb.el (tramp-adb-parse-device-names):
411 Use `accept-process-output'.
412 (tramp-adb-handle-file-truename): Cache the localname only.
413 (tramp-adb-handle-make-directory)
414 (tramp-adb-handle-delete-directory): Flush file properties correctly.
415 (tramp-adb-handle-set-file-modes): Do not raise an error when file
416 modes cannot be changed.
417
418 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
419 file properties of symlinks.
420
421 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
422
423 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
424 required/optional fields to match development biblatex. (Bug#16781)
425
426 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
427
428 * saveplace.el (toggle-save-place):
429 Fix argument handling. (Bug#16673)
430
431 2014-02-28 Glenn Morris <rgm@gnu.org>
432
433 * minibuffer.el (completions-first-difference)
434 (completions-common-part, completion-hilit-commonality): Doc fixes.
435
436 2014-02-28 Karl Berry <karl@gnu.org>
437
438 * info.el (Info-mode-map): Add H for describe-mode,
439 to synchronize with standalone Info.
440
441 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
442
443 * progmodes/sql.el (sql-interactive-mode):
444 Avoid setting global comint-input-ring-separator. (Bug#16814)
445
446 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
447
448 * net/dbus.el (dbus--init-bus): Declare function.
449 (dbus-path-local, dbus-interface-local): New defconst.
450 (dbus-init-bus): Use them.
451 (dbus-return-values-table): Extend doc.
452 (dbus-handle-bus-disconnect): Extend error message.
453
454 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
455
456 * subr.el (y-or-n-p): Fix double space issue in message.
457
458 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
459
460 * net/tramp.el (tramp-call-process): Improve trace message.
461 (tramp-handle-insert-file-contents): Trace error case.
462
463 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
464 <insert-directory>: Use `tramp-handle-insert-directory'.
465 (tramp-adb-handle-insert-directory): Remove function.
466 (tramp-adb-send-command-and-check): New defun, replacing
467 `tramp-adb-command-exit-status'. Change all callees.
468 (tramp-adb-handle-file-attributes)
469 (tramp-adb-handle-directory-files-and-attributes): Use it.
470 (tramp-adb-ls-output-name-less-p):
471 Use `directory-listing-before-filename-regexp'.
472 (tramp-adb-handle-delete-directory): Flush also file properties of
473 the truename of directory.
474 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
475 (tramp-adb-handle-file-local-copy): Make the local copy readable.
476 (tramp-adb-handle-write-region): Implement APPEND.
477 (tramp-adb-handle-rename-file): Make it more robust. Flush file
478 properties correctly.
479 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
480 variables. Check for connected devices only when needed.
481
482 2014-02-27 Glenn Morris <rgm@gnu.org>
483
484 * minibuffer.el (completion-table-dynamic)
485 (completion-table-with-cache): Doc fixes.
486
487 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
488 (completing-read-multiple): Doc fixes.
489
490 2014-02-27 Daniel Colascione <dancol@dancol.org>
491
492 * minibuffer.el (completion--nth-completion): Fix indentation.
493
494 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
495 explicit tramp path is empty.
496
497 2014-02-27 Glenn Morris <rgm@gnu.org>
498
499 * emacs-lisp/crm.el (completing-read-multiple):
500 Empower help-enable-auto-load.
501
502 2014-02-26 Glenn Morris <rgm@gnu.org>
503
504 * startup.el (command-line): Don't init the tty in daemon mode.
505
506 Avoid calling tty-setup-hook twice, eg if a term file
507 explicitly calls tty-run-terminal-initialization. (Bug#16859)
508 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
509 (tty-create-frame-with-faces): Use it.
510 * startup.el (command-line): Pass run-hook argument
511 to tty-run-terminal-initialization.
512
513 * dired.el (dired-restore-desktop-buffer): Demote errors;
514 eg in case a glob match fails. (Bug#16884)
515
516 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
517
518 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
519 error from `read-from-string'. (Bug#16850)
520
521 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
522 result of `completing-read' in the interactive form. (Bug#16854)
523
524 2014-02-25 Glenn Morris <rgm@gnu.org>
525
526 * image.el (image-animate, image-animate-timeout):
527 Stop animating images in dead buffers. (Bug#16878)
528
529 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
530
531 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
532 Doc fixes.
533 * startup.el (term-setup-hook): Doc fix. Make obsolete.
534 * term/sun.el (sun-raw-prefix-hooks):
535 Use tty-setup-hook instead of term-setup-hook.
536 (terminal-init-sun): Construct message from bytecomp plist.
537 * term/wyse50.el (enable-arrow-keys): Doc fix.
538
539 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
540
541 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
542 Fix docstring typos.
543
544 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
545
546 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
547
548 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
549
550 * minibuffer.el (completion--try-word-completion):
551 Fix error when completing M-x commands (bug#16808).
552
553 2014-02-24 Leo Liu <sdl.web@gmail.com>
554
555 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
556
557 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
558
559 * apropos.el (apropos-print): Avoid formatting error when
560 apropos-do-all and apropos-compact-layout are both t.
561
562 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
563
564 * apropos.el (apropos-property, apropos-all-words-regexp)
565 (apropos-true-hit, apropos-variable, apropos-print):
566 Fix docstring typos, and remove obsolete comment.
567
568 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
569
570 * net/tramp-sh.el (tramp-sh-handle-file-truename):
571 Preserve trailing "/". (Bug#16851)
572
573 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
574
575 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
576 after `=>' (bug#16811).
577 (ruby-smie-rules): Handle the inconsistent second element of the
578 list returned by `smie-indent--parent'.
579 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
580 method call.
581
582 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
583
584 * elec-pair.el (electric-pair-text-syntax-table)
585 (electric-pair-syntax-info, electric-pair--syntax-ppss)
586 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
587 (electric-pair--looking-at-unterminated-string-p): Doc fix.
588 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
589
590 2014-02-22 Glenn Morris <rgm@gnu.org>
591
592 * imenu.el (imenu--generic-function): Doc fix.
593
594 * register.el (frame-configuration-to-register): Make obsolete.
595
596 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
597
598 * desktop.el (desktop-save-buffer-p): Do not fail when
599 desktop-files-not-to-save is nil. Return t for true result
600 as the doc says.
601
602 2014-02-22 Daniel Colascione <dancol@dancol.org>
603
604 * net/secrets.el (secrets-create-item, secrets-search-items):
605 Check that attribute values are strings, avoiding the construction
606 of invalid dbus messages.
607
608 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
609
610 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
611 defun-declarations-alist.
612
613 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
616 (bug#16829).
617
618 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
619
620 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
621 (whitespace-newline, whitespace-trailing, whitespace-line)
622 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
623 (whitespace-space-after-tab): Fix typo in docstrings.
624
625 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
626
627 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
628
629 * electric.el (electric-indent-functions-without-reindent):
630 Add `yaml-indent-line'.
631
632 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
633
634 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
635 It has done nothing for years; should be removed after the release.
636
637 * simple.el (choose-completion): Fix docstring typo.
638 (read-quoted-char-radix): Remove unneeded * in docstring.
639 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
640 Don't escape parentheses unnecessarily in docstrings.
641
642 2014-02-21 Martin Rudalics <rudalics@gmx.at>
643
644 Fix handling of window-min-height/-width (Bug#16738).
645 * window.el (window--dump-window, window--dump-frame):
646 New functions.
647 (window--min-size-1): Account for window dividers.
648 When window-resize-pixelwise is nil, delay rounding till after the
649 sum of the window components has been calculated.
650 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
651 nil make sure at least one text line and two text columns remain
652 fully visible.
653 (window-resize): Signal an error when window-resize-apply fails.
654 (window--resize-child-windows): Fix calculation of by how many
655 pixels a window can still be shrunk via window-new-normal.
656 (adjust-window-trailing-edge): Call window--resizable with
657 correct TRAIL argument.
658
659 (with-temp-buffer-window): Don't evaluate BODY within
660 with-current-buffer (Bug#16816).
661
662 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
663
664 * net/tramp.el (tramp-check-cached-permissions):
665 Call `file-attributes' with `suffix' being a symbol but a string.
666
667 2014-02-21 Daniel Colascione <dancol@dancol.org>
668
669 * net/dbus.el (dbus-init-bus-1): Declare new subr.
670 (dbus-init-bus): New function: call into dbus-init-bus-1
671 and installs a handler for the disconnect signal.
672 (dbus-call-method): Rewrite to look for result in cons.
673 (dbus-call-method-handler): Store result in cons.
674 (dbus-check-event): Recognize events with nil sender as valid.
675 (dbus-handle-bus-disconnect): New function. React to bus
676 disconnection signal by synthesizing dbus error for each
677 pending synchronous or asynchronous call.
678 (dbus-notice-synchronous-call-errors): New function.
679 (dbus-handle-event): Raise errors directly only when `dbus-debug'
680 is true, not all the time.
681
682 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
683
684 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
685 Remove obsolescence declarations, these variables do not exist anymore.
686
687 * savehist.el (savehist-save-minibuffer-history)
688 (savehist-additional-variables, savehist-file, savehist-mode-hook)
689 (savehist-save-hook, savehist-coding-system, savehist-loaded)
690 (savehist-load, savehist-install, savehist-autosave): Fix typos;
691 mostly, refer to "Savehist mode" when talking about the mode,
692 and not the function.
693
694 * saveplace.el (save-place): Remove redundant info in docstring.
695 (save-place-forget-unreadable-files, toggle-save-place)
696 (save-place-forget-unreadable-files, save-place-dired-hook):
697 Fix typos and remove unneeded backslashes.
698
699 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
700
701 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
702 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
703
704 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
705 <insert-directory>: Use `tramp-handle-insert-directory'.
706 (tramp-gvfs-handle-insert-directory): Remove function.
707
708 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
709 Call `tramp-handle-insert-directory'.
710
711 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
712
713 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
714 before the start of buffer/region (bug#16799).
715
716 2014-02-20 Glenn Morris <rgm@gnu.org>
717
718 * isearch.el (search-invisible): Doc fix.
719
720 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
721
722 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
723 (bug#16657).
724
725 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
726
727 * frameset.el (frameset-restore): Delay removing an old frame's
728 duplicate id until the new frame has been correctly created.
729
730 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
731
732 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
733 (tramp-check-cached-permissions): Call `file-attributes' if the
734 cache is empty.
735
736 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
737 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
738
739 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
740 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
741 (tramp-gvfs-maybe-open-connection): Set always connection
742 properties, even if target is mounted already.
743
744 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
745 Set tramp-autoload cookie.
746 (tramp-get-remote-touch): New defun.
747 (tramp-sh-handle-set-file-times): Use it.
748 (tramp-sh-handle-directory-files-and-attributes):
749 Use `tramp-handle-directory-files-and-attributes' if neither stat
750 nor perl are available on the remote host.
751
752 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
753 "/". Write long listing only when "l" belongs to the switches.
754
755 * net/trampver.el: Update release number.
756
757 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
758
759 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
760
761 2014-02-19 Martin Rudalics <rudalics@gmx.at>
762
763 * window.el (window-state-put): Allow WINDOW to refer to an
764 internal window (Bug#16793).
765
766 2014-02-19 Glenn Morris <rgm@gnu.org>
767
768 * textmodes/remember.el: Move provide statement to end.
769 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
770 (remember-notes): Doc fixes.
771
772 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * delsel.el (delete-char): Restore incorrectly erased property
775 (bug#16795).
776
777 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
778
779 * frameset.el (frameset--restore-frame): When a frame is being reused
780 and its root window is not alive, delete all the frame's windows before
781 restoring the window state. This works around the issue in bug#16793.
782
783 2014-02-18 Glenn Morris <rgm@gnu.org>
784
785 * textmodes/remember.el (remember-data-directory)
786 (remember-directory-file-name-format, remember-store-in-files)
787 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
788 (remember-notes-save-and-bury-buffer)
789 (remember-notes--kill-buffer-query): Doc fixes.
790
791 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
792
793 2014-02-17 Alan Mackenzie <acm@muc.de>
794
795 Connect electric-indent-mode up with CC Mode. Bug #15478.
796 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
797 to electric-indent-{,local-}-mode.
798 (c-basic-common-init): Set electric-indent-inhibit.
799 Initialise c-electric-flag from electric-indent-mode.
800 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
801 New hook functions which propagate electric-indent-mode to CC mode.
802
803 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
804 hit, toggle electric-indent-local-mode.
805
806 * electric.el (electric-indent-mode-has-been-called):
807 New variable.
808
809 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
810
811 * frameset.el (frameset-cfg-id): New function.
812 (frameset--reuse-frame, frameset-restore): Use it.
813 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
814
815 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * ido.el (ido-file-internal): Remove unused var `d'.
818 Use \` for to match BoS. Fit within 80n columns.
819
820 2014-02-17 Daniel Colascione <dancol@dancol.org>
821
822 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
823 dbus-call-method check for completion using a busy-wait loop with
824 gradual backoff.
825
826 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
827
828 Sync with Tramp 2.2.9.
829
830 * net/trampver.el: Update release number.
831
832 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
833
834 * ido.el (ido-file-internal): Don't add the name of an existing
835 directory twice. (Bug#16747)
836
837 2014-02-16 Glenn Morris <rgm@gnu.org>
838
839 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
840 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
841
842 2014-02-15 Michael R. Mauger <michael@mauger.com>
843
844 * progmodes/sql.el: Version 3.4
845 (sql-oracle-options): New default value ("-L").
846 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
847 (sql-placeholders-filter): Correct placeholder pattern.
848 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
849 (sql-login-delay): New variable.
850 (sql-product-interactive): Use it.
851
852 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
853
854 * frameset.el (frameset--jump-to-register): Check that buffer is live
855 (bug#16749).
856
857 2014-02-15 Glenn Morris <rgm@gnu.org>
858
859 * info.el (info-initialize): Revert 2014-01-10 change.
860
861 2014-02-14 Glenn Morris <rgm@gnu.org>
862
863 * replace.el (map-query-replace-regexp)
864 (read-regexp-defaults-function, read-regexp): Doc fixes.
865
866 * dired.el (dired-read-regexp):
867 * faces.el (list-faces-display):
868 * misearch.el (multi-isearch-read-matching-buffers)
869 (multi-isearch-read-matching-files):
870 * play/cookie1.el (cookie-apropos):
871 * progmodes/grep.el (grep-read-regexp): Doc fixes.
872
873 * textmodes/remember.el (remember): Use frameset-to-register
874 rather than frame-configuration-to-register.
875
876 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
877
878 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
879 incorrect keybinding.
880
881 2014-02-13 Daniel Colascione <dancol@dancol.org>
882
883 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
884 when adding overlays so that line numbers from compiler match line
885 numbers we use.
886
887 2014-02-13 Glenn Morris <rgm@gnu.org>
888
889 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
890
891 * jit-lock.el (jit-lock-mode): Doc fix.
892
893 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
894
895 * apropos.el (apropos-read-pattern): When the user passes an empty
896 string, give a more helpful error message than "Wrong type
897 argument: stringp, nil".
898
899 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
902
903 2014-02-13 Glenn Morris <rgm@gnu.org>
904
905 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
906
907 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
910 shift-select commands.
911
912 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
913
914 * progmodes/js.el (js-indent-line): Don't widen.
915 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
916
917 2014-02-12 Glenn Morris <rgm@gnu.org>
918
919 * icomplete.el (icomplete): Add info-link to defgroup.
920 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
921 (icomplete-minibuffer-map, icomplete-mode)
922 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
923
924 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
925 (package-menu-filter): Rename from package-menu-filter-interactive.
926 Doc fix.
927
928 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
929
930 * frameset.el (frameset--jump-to-register): Select the required
931 window and buffer before restoring position (bug#16696).
932
933 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
934
935 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
936
937 2014-02-10 Glenn Morris <rgm@gnu.org>
938
939 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
940
941 2014-02-10 Eli Zaretskii <eliz@gnu.org>
942
943 * w32-common-fns.el (x-get-selection): Doc fix.
944 * select.el (x-get-selection): Doc fix. (Bug#15109)
945
946 * face-remap.el (face-remap-add-relative)
947 (face-remap-remove-relative, face-remap-reset-base)
948 (face-remap-set-base): Call force-mode-line-update to redisplay
949 the current buffer due to potential change in faces. (Bug#16709)
950
951 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
952
953 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
954 script more robustly.
955
956 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
957
958 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
959
960 * simple.el (choose-completion): Doc fix (bug#14160).
961
962 * subr.el (event-start): Say what a nil EVENT value means.
963
964 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
965 (bug#14197).
966
967 * progmodes/grep.el (find-program): Doc fix (bug#14289).
968
969 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
970
971 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
972
973 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
974 predicate function (bug#15455).
975
976 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
977
978 * ielm.el (inferior-emacs-lisp-mode): Instead of
979 `comment-use-global-state', set `comment-use-syntax'.
980
981 2014-02-10 Glenn Morris <rgm@gnu.org>
982
983 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
984
985 2014-02-09 Alan Mackenzie <acm@muc.de>
986
987 Fix c-invalidate-state-cache on narrowed buffers.
988 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
989 Widen when setting and clearing the CPP delimiter properties.
990
991 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
992
993 * help.el (describe-bindings): Doc fix (bug#9888).
994
995 * files.el (save-buffer): Use ARG as the parameter name for
996 consistency (bug#10346).
997 (save-buffer): Clarify the 0 argument (bug#10346).
998
999 * cus-edit.el (customize-apropos): Fix error string.
1000 (custom-buffer-create): Doc fix (bug#11122).
1001 (custom-sort-items): Doc fix (bug#11121).
1002
1003 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1004
1005 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1006 (icomplete-simple-completing-p): Mention the previous variable.
1007
1008 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1009 meaning of the parameter (bug#12282).
1010
1011 * files.el (find-file-noselect): Clarify prompt when changing
1012 readedness (bug#13261).
1013 (locate-file): Suffixes aren't returned, so don't say that they
1014 are (bug#12674).
1015 (backup-inhibited): Doc clarification (bug#12525).
1016
1017 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1018 before we actually start to delete things (bug#16331).
1019
1020 * subr.el (event-start): Doc fix (bug#14228).
1021 (event-end): Ditto.
1022
1023 2014-02-09 Glenn Morris <rgm@gnu.org>
1024
1025 * emacs-lisp/warnings.el (lwarn):
1026 Empower help-enable-auto-load. (Bug#15940)
1027
1028 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1029
1030 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1031 (Bug#16690)
1032
1033 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1034
1035 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1036 Insert output at end of buffer. (Bug#16120)
1037
1038 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1039
1040 * simple.el (choose-completion-string-functions): Document new
1041 calling convention (bug#14153).
1042 (execute-extended-command): Clarify doc string (bug#13373).
1043
1044 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1045
1046 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1047 (find-grep-dired): Doc fix (bug#14288).
1048
1049 2014-02-08 Juri Linkov <juri@jurta.org>
1050
1051 * isearch.el (isearch-quote-char): Check character validity
1052 like in `quoted-insert' (bug#16677).
1053
1054 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1055
1056 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1057
1058 * isearch.el (isearch-hide-immediately): Doc clarification
1059 (bug#14723).
1060
1061 * simple.el (line-move): Document utility function used many
1062 places in the Emacs sources (bug#14843).
1063
1064 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1065 (dired-prev-marked-file): Doc fix (bug#14855).
1066 (dired-up-directory): Doc fix (bug#14848).
1067
1068 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1069
1070 * files.el (file-relative-name): Doc fix (bug#15159).
1071
1072 * fringe.el (fringe-styles): Doc fix (bug#15239).
1073
1074 * isearch.el (isearch-filter-predicate): Documentation typo fix
1075 (bug#15474).
1076
1077 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1078
1079 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1080
1081 * replace.el (replace-match-maybe-edit): Doc clarification
1082 (bug#15632).
1083
1084 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1085
1086 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1087
1088 2014-02-08 Glenn Morris <rgm@gnu.org>
1089
1090 * help-fns.el (describe-variable):
1091 Check {file,dir}-local-variables-alist, and buffer-file-name,
1092 in the correct buffer.
1093
1094 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1095
1096 * help-fns.el (describe-variable): Fix the case where
1097 a value is directory-local with no dir-locals file. (Bug#16635)
1098
1099 2014-02-08 Glenn Morris <rgm@gnu.org>
1100
1101 * abbrev.el (edit-abbrevs-mode):
1102 Derive from fundamental-mode. (Bug#16682)
1103
1104 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1105
1106 * simple.el (quoted-insert): Check character validity (bug#16677).
1107
1108 2014-02-07 Juri Linkov <juri@jurta.org>
1109
1110 * desktop.el (desktop-read): Claim the lock when the owner is not
1111 the current process. (Bug#16157)
1112
1113 2014-02-07 Juri Linkov <juri@jurta.org>
1114
1115 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1116 to "\\` ". (Bug#16651)
1117
1118 2014-02-07 Juri Linkov <juri@jurta.org>
1119
1120 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1121 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1122 (desktop-auto-save-cancel-timer): New function with some code from
1123 `desktop-auto-save-set-timer'.
1124 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1125 Instead of setting `desktop-save-mode' to nil, call
1126 `desktop-save-mode' with arg 0. (Bug#16630)
1127
1128 2014-02-07 Glenn Morris <rgm@gnu.org>
1129
1130 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1131 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1132 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1133
1134 * obsolete/iswitchb.el: Move to obsolete/.
1135 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1136 since obsolete/ is not scanned for autoloads.
1137 * emacs-lisp/authors.el (authors-valid-file-names):
1138 Add iswitchb.el.
1139
1140 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1141 Disable now non-functional find-file-hook.
1142
1143 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1144
1145 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1146 instead of ";" in order to avoid additional prompts. Let heredoc
1147 scripts read from tty. (Bug#16582)
1148 (tramp-send-command): No special handling of heredocs, it isn't
1149 necessary anymore.
1150
1151 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1154 with a space (bug#16664). Limit the symbols considered to the ones
1155 that are bound or fbound (bug#16646).
1156
1157 2014-02-06 Glenn Morris <rgm@gnu.org>
1158
1159 * epa.el (epa-mail-aliases): Doc fix.
1160
1161 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1162
1163 * emacs-lisp/lisp.el (lisp-completion-at-point):
1164 Use `completion-table-merge' instead of `completion-table-in-turn'
1165 (bug#16604).
1166
1167 * minibuffer.el (completion-table-merge): New function.
1168
1169 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1170
1171 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1172 (tramp-sh-handle-set-file-acl)
1173 (tramp-sh-handle-start-file-process)
1174 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1175 (tramp-find-executable, tramp-send-command): Use it.
1176
1177 2014-02-05 Glenn Morris <rgm@gnu.org>
1178
1179 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1180
1181 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1182
1183 * progmodes/python.el (python-shell-send-string)
1184 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1185
1186 2014-02-04 Anders Lindgren <andlind@gmail.com>
1187
1188 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1189 the names (bug#16620).
1190
1191 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1192
1193 * faces.el (window-divider): New default value. Rewrite doc-string.
1194 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1195
1196 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1197
1198 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1199 `protected' and `public' can also be called without arguments.
1200
1201 2014-02-03 Glenn Morris <rgm@gnu.org>
1202
1203 * register.el (window-configuration-to-register)
1204 (frame-configuration-to-register): Unadvertise unused argument.
1205 * frameset.el (frameset-to-register): Remove unused argument.
1206
1207 * frameset.el (frameset-to-register):
1208 * kmacro.el (kmacro-to-register):
1209 * register.el (increment-register):
1210 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1211 (calc-append-to-register, calc-prepend-to-register):
1212 * play/gametree.el (gametree-layout-to-register)
1213 (gametree-apply-register-layout):
1214 * textmodes/picture.el (picture-clear-rectangle-to-register)
1215 (picture-yank-rectangle-from-register):
1216 * vc/emerge.el (emerge-combine-versions-register):
1217 Use register-read-with-preview to read registers.
1218
1219 2014-02-03 João Távora <joaotavora@gmail.com>
1220
1221 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1222 when at beginning of (possibly narrowed) buffer.
1223
1224 2014-02-02 Daniel Colascione <dancol@dancol.org>
1225
1226 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1227 Also try to display local help from just before point.
1228
1229 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1230
1231 c-parse-state. Don't "append-lower-brace-pair" in certain
1232 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1233 recognised as a comment.
1234
1235 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1236 as well as normal comment starter.
1237 (c-parse-state-get-strategy): Extra return possibility
1238 'back-and-forward.
1239 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1240 return value list to indicate replacement of a brace-pair cons
1241 with its car.
1242 (c-parse-state-1): With 'back-and-forward, only call
1243 c-append-lower-brace-pair-to state-cache when cons-separated.
1244
1245 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1246
1247 * term/ns-win.el (ns-suspend-error): New function.
1248 (ns-initialize-window-system): Add ns-suspend-error to
1249 suspend-hook (Bug#16612).
1250
1251 2014-02-02 Daniel Colascione <dancol@dancol.org>
1252
1253 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1254 Make loading cc-mode silent.
1255
1256 2014-02-02 Daniel Colascione <dancol@dancol.org>
1257
1258 * comint.el (comint-prompt-read-only): Change doc to suggest
1259 remap keybinding.
1260
1261 2014-02-02 Glenn Morris <rgm@gnu.org>
1262
1263 * register.el (register-read-with-preview, point-to-register)
1264 (window-configuration-to-register, frame-configuration-to-register)
1265 (jump-to-register, number-to-register, view-register, insert-register)
1266 (copy-to-register, append-to-register, prepend-to-register)
1267 (copy-rectangle-to-register): Doc fixes.
1268
1269 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1270
1271 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1272 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1273 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1274 * help-fns.el (describe-function-1): Use it.
1275
1276 2014-02-02 Glenn Morris <rgm@gnu.org>
1277
1278 * register.el (register-preview-default): New function,
1279 split from register-preview.
1280 (register-preview-function): Rename from register-preview-functions,
1281 make it not a hook.
1282 (register-preview): Use register-preview-function.
1283 (register-read-with-preview): Error on non-character event. (Bug#16595)
1284
1285 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1286
1287 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1288 `:' before binary operators (bug#16609). Don't check for `:'
1289 before `[' and `(', or their syntax status. A percent literal
1290 can't end with either.
1291 (ruby-font-lock-keywords): For built-ins that require arguments,
1292 check that they're followed by something that looks like argument
1293 (bug#16610).
1294
1295 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1296
1297 * subr.el (butlast): Document what an omitted N means (bug#13437).
1298 (nbutlast): Ditto.
1299
1300 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1301
1302 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1303 depth shallower (bug#16587).
1304 (shr-tag-svg): Respect `shr-inhibit-images'.
1305 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1306
1307 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1308
1309 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1310 (ruby-smie-grammar): Make "." right-associative. Make its priority
1311 lower than the ternary and all binary operators.
1312 (ruby-smie-rules): Indent "(" relative to the first non-"."
1313 parent, or the first "." parent at indentation.
1314 Use `ruby-align-chained-calls' for indentation of "." tokens.
1315 (Bug#16593)
1316
1317 2014-01-31 Juri Linkov <juri@jurta.org>
1318
1319 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1320 from `make-hash-table'.
1321
1322 * textmodes/ispell.el (ispell-init-process): Change message format
1323 to be consistent with other messages.
1324
1325 2014-01-31 Glenn Morris <rgm@gnu.org>
1326
1327 * delsel.el (delete-selection-mode): Doc fix.
1328
1329 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1330 (trace-function-background): Doc fixes.
1331
1332 * ido.el (ido-use-virtual-buffers): Doc fix.
1333 Reset :version, since the default value has not changed.
1334
1335 * register.el (register-preview-delay, register-read-with-preview):
1336 Doc fixes.
1337
1338 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1339 do not mess with mail-buffer position (fixes 2009-11-03 change).
1340 * progmodes/cc-mode.el (c-submit-bug-report):
1341 Check auto-fill-mode is bound. (Bug#16592)
1342
1343 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1344
1345 * startup.el (fancy-splash-image-file): New function,
1346 split from fancy-splash-head.
1347 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1348 so that we are both using the same image. (Bug#16574)
1349
1350 2014-01-30 Glenn Morris <rgm@gnu.org>
1351
1352 * simple.el (eval-expression): Doc fix.
1353
1354 * hexl.el (hexl-mode-hook):
1355 * ielm.el (ielm-mode-hook):
1356 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1357 (lisp-interaction-mode-hook):
1358 * progmodes/cfengine.e (cfengine3-documentation-function):
1359 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1360
1361 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1364 is a symbol (bug#16584).
1365
1366 2014-01-30 Glenn Morris <rgm@gnu.org>
1367
1368 * help.el (help-for-help-internal): Add "P" to text.
1369
1370 2014-01-29 Glenn Morris <rgm@gnu.org>
1371
1372 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1373
1374 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1375
1376 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1377 height constraints.
1378
1379 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1380
1381 * progmodes/hideif.el: Extend to full CPP expression syntax.
1382 (hif-token-alist): Add missing tokens.
1383 (hif-token-regexp): Add support for float/octal/hex immediates.
1384 (hif-string-literal-regexp): New const.
1385 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1386 (hif-exprlist): New function.
1387 (hif-parse-if-exp): Use it.
1388 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1389 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1390 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1391 (hif-logxor, hif-comma): New functions.
1392
1393 2014-01-28 Glenn Morris <rgm@gnu.org>
1394
1395 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1396
1397 * indent.el (tab-stop-list): Doc fix. Add :version.
1398
1399 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1400 (cvs-append-to-ignore): Add compatibility alias.
1401
1402 2014-01-27 Glenn Morris <rgm@gnu.org>
1403
1404 * dired.el (dired-hide-details-mode): Don't autoload it,
1405 since it cannot be used outside Dired buffers anyway.
1406
1407 * emulation/cua-base.el (cua-mode): Doc fix.
1408
1409 * dired.el (dired-hide-details-hide-symlink-targets)
1410 (dired-hide-details-hide-information-lines)
1411 (dired-hide-details-mode): Doc fixes.
1412
1413 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1414 * strokes.el (strokes-file): Doc fix. Bump :version.
1415 (strokes-help): Doc fix.
1416 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1417 * emulation/viper.el (viper): Doc fix for custom group.
1418 (top-level): Remove oh-so-no-longer-relevant text about vip.
1419 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1420
1421 * ido.el (ido-save-directory-list-file):
1422 * saveplace.el (save-place-file):
1423 * calendar/timeclock.el (timeclock-file):
1424 * net/quickurl.el (quickurl-url-file):
1425 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1426 * progmodes/idlwave.el (idlwave-config-directory):
1427 * textmodes/remember.el (remember-data-file):
1428 Bump :version.
1429
1430 2014-01-26 Glenn Morris <rgm@gnu.org>
1431
1432 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1433 Doc fix. Make obsolete.
1434 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1435
1436 * sort.el (delete-duplicate-lines): Doc fix.
1437
1438 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1439
1440 * progmodes/ada-mode.el (ada):
1441 * woman.el (woman): Link to info manual and Commentary section.
1442
1443 * progmodes/flymake.el (flymake):
1444 * nxml/nxml-mode.el (nxml):
1445 * net/eww.el (eww):
1446 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1447 * htmlfontify.el (htmlfontify):
1448 * ses.el (ses):
1449 * epa.el (epa):
1450 * ido.el (ido): Link to info manual.
1451
1452 2014-01-25 Leo Liu <sdl.web@gmail.com>
1453
1454 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1455
1456 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1457
1458 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1459 (bug#16537).
1460
1461 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1462
1463 * net/eww.el (eww-download-callback):
1464 Fix reference to eww-download-directory.
1465
1466 * emacs-lisp/bytecomp.el (byte-compile-file):
1467 Remove unused local variable `file-name'.
1468
1469 2014-01-24 Glenn Morris <rgm@gnu.org>
1470
1471 * woman.el (woman-default-faces, woman-monochrome-faces):
1472 Fix obsolescence specification.
1473
1474 * subr.el (with-demoted-errors): Doc fix.
1475
1476 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1479 (cl--macroexp-fboundp): New function.
1480 (cl--make-type-test): Use it.
1481
1482 2014-01-23 Glenn Morris <rgm@gnu.org>
1483
1484 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1485 * simple.el (eval-expression): Doc fixes.
1486
1487 2014-01-22 Glenn Morris <rgm@gnu.org>
1488
1489 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1490
1491 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * emacs-lisp/package.el: Write files silently.
1494 (package-autoload-ensure-default-file, package--write-file-no-coding)
1495 (package-generate-description-file, package--download-one-archive)
1496 (package-install-from-archive): Tell `write-region' to stay quiet.
1497 (package-menu-mode, package-menu--print-info): Omit the Archive column
1498 if there's only one archive.
1499 (package-all-keywords, package--has-keyword-p): Remove dead code.
1500
1501 2014-01-22 Glenn Morris <rgm@gnu.org>
1502
1503 * version.el (emacs-bzr-version-bzr): Fix typo.
1504
1505 * version.el (emacs-repository-get-version):
1506 Check either .bzr or .git, but not both.
1507 Make the git case actually use the DIR argument, and return nil
1508 rather than the empty string.
1509 Avoid error if .git exists but the git executable is not found.
1510
1511 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1512
1513 Fixes in window size functions around Bug#16430 and Bug#16470.
1514 * window.el (window-total-size, window-size): New argument ROUND.
1515 (window--min-delta-1, window-min-delta, window--max-delta-1):
1516 Be more conservative when calculating the numbers of lines or
1517 columns a window can shrink (Bug#16430).
1518 (fit-window-to-buffer): Simplify code.
1519 * term.el (term-window-width): Call window-body-width again.
1520
1521 2014-01-22 Glenn Morris <rgm@gnu.org>
1522
1523 * image.el (image-format-suffixes): Doc fix.
1524
1525 * international/quail.el (quail-define-package): Doc fix.
1526
1527 * emacs-lisp/authors.el (authors-valid-file-names)
1528 (authors-renamed-files-alist): Additions.
1529
1530 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1531 reverts 2014-01-09 change. (Bug#16422)
1532
1533 * calc/calc-embed.el (thing-at-point-looking-at):
1534 * emacs-lisp/map-ynp.el (x-popup-dialog):
1535 * obsolete/lmenu.el (x-popup-dialog):
1536 * emacs-lisp/package.el (url-recreate-url):
1537 * mail/mailclient.el (clipboard-kill-ring-save):
1538 * subr.el (x-popup-dialog): Update declaration.
1539 * mail/rmail.el (rmail-mime-message-p):
1540 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1541
1542 2014-01-21 Daniel Colascione <dancol@dancol.org>
1543
1544 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1545 Correctly detect when we're inside an arithmetic expansion form
1546 containing nested parenthesis.
1547 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1548 to detect cases where we shouldn't expand "<<" to a heredoc
1549 skeleton.
1550
1551 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1554 (eldoc--message-command-p): New function.
1555 (eldoc-display-message-p): Use it.
1556 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1557 message is not automatically erased for us.
1558 (eldoc-print-current-symbol-info): Erase previous message, if any.
1559
1560 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1561
1562 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1563 specify it's an interactive function.
1564
1565 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1566 Fix regex used for scanning for citation keys which failed for
1567 citations with optional arguments.
1568
1569 2014-01-21 Leo Liu <sdl.web@gmail.com>
1570
1571 * simple.el (read--expression): Don't enable eldoc-mode.
1572
1573 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * simple.el (move-beginning-of-line): Make sure we don't move forward
1576 (bug#16497).
1577
1578 2014-01-20 Juri Linkov <juri@jurta.org>
1579
1580 * saveplace.el (toggle-save-place, save-place-to-alist)
1581 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1582 'dired-mode) before checking for dired-directory. (Bug#16477)
1583
1584 2014-01-20 Juri Linkov <juri@jurta.org>
1585
1586 * indent.el (indent-line-to): Use backward-to-indentation
1587 instead of back-to-indentation. (Bug#16461)
1588
1589 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1590
1591 Revert some of the CANNOT_DUMP fix (Bug#16494).
1592 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1593 but fixing this can wait until after the next release.
1594 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1595
1596 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1597
1598 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1599 Use `password-word-equivalents'.
1600 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1601 to t. (Bug#5664, Bug#13124)
1602
1603 2014-01-19 Alan Mackenzie <acm@muc.de>
1604
1605 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1606 points.
1607 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1608 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1609 * progmodes/cc-mode.el (c-before-change, c-after-change)
1610 (c-font-lock-fontify-region): Bind it here.
1611
1612 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1613
1614 * term.el (term-window-width): Call window-text-width instead of
1615 window-width (Bug#16470).
1616
1617 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1618
1619 * simple.el (password-word-equivalents): Remove duplicates.
1620 Sort, to make this easier next time.
1621 Downcase. Omit ": " after "jelszó".
1622
1623 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1624
1625 * term/common-win.el (saved-region-selection): Defvar it.
1626 (x-select-text): Set saved-region-selection (Bug#16382).
1627
1628 2014-01-18 Glenn Morris <rgm@gnu.org>
1629
1630 * emacs-lisp/authors.el (authors-aliases)
1631 (authors-renamed-files-alist): Add some entries.
1632
1633 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1634
1635 * net/tramp.el (tramp-password-prompt-regexp):
1636 Use `password-word-equivalents' if available.
1637 (tramp-action-password, tramp-process-one-action)
1638 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1639
1640 2014-01-17 Chong Yidong <cyd@gnu.org>
1641
1642 * simple.el (password-word-equivalents): New defcustom.
1643 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1644 to 24.4.
1645 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1646 to t. (Bug#13124)
1647
1648 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1649
1650 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1651 (ruby-align-to-stmt-keywords): Change the default value.
1652 Use `ruby-alignable-keywords' to generate the possible customization
1653 choices.
1654 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1655 keywords, check against the value of `ruby-alignable-keywords'
1656 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1657
1658 2014-01-17 Glenn Morris <rgm@gnu.org>
1659
1660 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1661
1662 Make M-x authors return zero *Authors Errors* from current logs.
1663 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1664 (authors-ignored-files): Add some entries, remove others.
1665 (authors-ambiguous-files, authors-valid-file-names):
1666 Add some entries.
1667 (authors-renamed-files-alist): Add, remove, and adjust entries.
1668 (authors-renamed-files-regexps): Add some entries.
1669 Remove some very broad ones. Make some entries `lax'.
1670 (authors-lax-changelogs): New constant.
1671 (authors-disambiguate-file-name): Treat top-level specially.
1672 (authors-lax-changelog-p): New function.
1673 (authors-canonical-file-name): Check file as written against
1674 authors-valid-file-names. Do not special-case etc/.
1675 Handle `lax' logs and authors-renamed-files-regexps elements.
1676
1677 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1678
1679 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1680 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1681 callers.
1682
1683 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1686 Assume we're already in the proper buffer.
1687 Inspired by Anders Lindgren <andlind@gmail.com>.
1688 (follow-post-command-hook): Call it from the right buffer.
1689 (follow-comint-scroll-to-bottom): Adjust call.
1690 (follow-all-followers): Use get-buffer-window-list.
1691
1692 2014-01-15 Daniel Colascione <dancol@dancol.org>
1693
1694 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1695 `buffer-file-name' in interactive-form so that we don't leave
1696 pathless file names in `file-name-history'.
1697
1698 2014-01-15 Juri Linkov <juri@jurta.org>
1699
1700 * indent.el (indent-rigidly): Set deactivate-mark to nil
1701 in transient indentation mode. (Bug#16438)
1702
1703 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1704
1705 * emacs-lisp/package.el (package-desc-keywords): New function
1706 (Bug#16222).
1707 (describe-package-1, package-all-keywords)
1708 (package--has-keyword-p): Use it.
1709
1710 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1711
1712 * simple.el (define-alternatives): When creating the
1713 COMMAND-alternatives variable, assign COMMAND as its definition
1714 name so that `describe-variable' can relocate it.
1715
1716 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1717
1718 * font-lock.el (font-lock-keywords): Fix typo in docstring
1719 (bug#16307).
1720
1721 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1722
1723 * ispell.el (ispell-region): Reset `in-comment' for new line
1724 instead of wrongly reset `add-coment' (bug#13577).
1725
1726 2014-01-14 Daiki Ueno <ueno@gnu.org>
1727
1728 * epa-file.el (epa-file-write-region): Encode the region according
1729 to `buffer-file-format'. Problem reported at:
1730 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1731
1732 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1735 so it applies in the right buffer (bug#16410).
1736
1737 2014-01-13 Daniel Colascione <dancol@dancol.org>
1738
1739 * textmodes/rst.el (rst-define-key): Provide deprecated
1740 keybindings through named functions instead of anonymous ones so
1741 that "??" doesn't appear in describe-mode output.
1742
1743 2014-01-13 Bastien Guerry <bzg@gnu.org>
1744
1745 * simple.el (define-alternatives): Call the selected command
1746 interactively. When setting `COMMAND--implementation' for the
1747 first time, tell the user how to chose another implementation.
1748 Enhance the docstring.
1749
1750 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1751
1752 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1753 (log-edit--match-first-line): New function.
1754 (log-edit-font-lock-keywords): Use it.
1755 (log-edit-mode): Make jit-lock-defer-multiline work.
1756
1757 2014-01-13 Bastien Guerry <bzg@gnu.org>
1758
1759 * rect.el (rectangle-mark-mode): When the region is not active,
1760 display a message saying that the mark as been set and that
1761 rectangle mode is in use.
1762 (rectangle--highlight-for-redisplay): Only put an overlay with a
1763 visible vertical bar when (display-graphic-p) is non-nil.
1764 This partially fixes Bug#16403.
1765
1766 2014-01-13 Juri Linkov <juri@jurta.org>
1767
1768 * info.el (Info-find-file): Go to DIR before displaying the error
1769 about a nonexistent file if no previous Info file is visited.
1770 Use `user-error' instead of `error' for "Info file %s does not exist".
1771 (Info-find-node-2): In case of a nonexistent node in unwind forms
1772 go to the Top node if there is no previous node to revert to.
1773 (Bug#16405)
1774
1775 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1776
1777 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1778 * window.el (fit-frame-to-buffer): Fix doc-string.
1779 Respect window-min-height/-width. Fit pixelwise when
1780 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1781 when avoiding that frame goes partially off-screen.
1782 (fit-window-to-buffer): Respect window-min-height/-width
1783 (Bug#14096).
1784
1785 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1788 after an empty line.
1789
1790 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 * net/shr.el (shr-render-region): Autoload.
1793
1794 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1795
1796 * net/eww.el (eww-download-directory): Rename from
1797 `eww-download-path' (Bug#16419).
1798
1799 2014-01-12 Leo Liu <sdl.web@gmail.com>
1800
1801 * dired-x.el (dired-mode-map): Fix last change.
1802
1803 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1804
1805 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1806
1807 Spelling fixes.
1808 * emacs-lisp/generic.el (generic--normalize-comments):
1809 Rename from generic--normalise-comments. All uses changed.
1810 * play/bubbles.el (bubbles--neighborhood-score)
1811 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1812 (bubbles--neighborhood-available)
1813 (bubbles--update-neighborhood-score):
1814 Rename from names with 'neighbourhood'. All uses changed.
1815
1816 2014-01-12 Leo Liu <sdl.web@gmail.com>
1817
1818 Re-implement the feature of showing eldoc info after editing.
1819 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1820 (eldoc-edit-message-commands): New function.
1821 (eldoc-print-after-edit): New variable.
1822 (eldoc-pre-command-refresh-echo-area): Emit message only by
1823 eldoc-message-commands.
1824 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1825 if eldoc-print-after-edit is set. (Bug#16346)
1826 * simple.el (read--expression): Enable eldoc-mode.
1827 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1828
1829 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1830 Eric S. Raymond <esr@thyrsus.com>
1831
1832 * version.el (emacs-repository-get-version): Enhance so the
1833 function works correctly in either a Bazaar or Git repo.
1834
1835 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1836
1837 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1838 Goes with removal of the joke manpages from /etc.
1839
1840 2014-01-10 Kenichi Handa <handa@gnu.org>
1841
1842 * mail/rmail.el (rmail-get-coding-system):
1843 Check rmail-get-coding-function before "funcall"ing it.
1844
1845 2014-01-10 Glenn Morris <rgm@gnu.org>
1846
1847 * emacs-lisp/authors.el (authors-fixed-entries):
1848 Update for files that no longer exist.
1849
1850 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1851
1852 * version.el (emacs-bzr-get-version): Restore compatibilty with
1853 24.3 (Tested).
1854
1855 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1856
1857 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1858 and Podfile.
1859
1860 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1861
1862 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1863
1864 2014-01-10 Chong Yidong <cyd@gnu.org>
1865
1866 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1867
1868 2014-01-10 Anders Lindgren <andlind@gmail.com>
1869
1870 * follow.el (follow-cache-command-list): Include right-char and
1871 left-char.
1872
1873 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1874
1875 Spelling fixes.
1876 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1877 * woman.el (woman-mark-horizontal-position):
1878 Rename from woman-mark-horizonal-position. Use changed.
1879
1880 2014-01-10 Glenn Morris <rgm@gnu.org>
1881
1882 * info.el (info-initialize): If running uninstalled, ensure our
1883 own info files are always found first, even if INFOPATH is set.
1884
1885 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1886
1887 2014-01-09 David Engster <deng@randomsample.de>
1888
1889 * emacs-lisp/eieio-custom.el:
1890 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1891 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1892 * emacs-lisp/eieio.el: Regenerate autoloads.
1893
1894 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1895
1896 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1897 following renames. (Bug#8756)
1898
1899 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1902 (bug#16382).
1903 (activate-mark): Add `no-tmm' argument.
1904 (set-mark, push-mark-command): Use it instead of running
1905 activate-mark-hook by hand.
1906
1907 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1908
1909 In preparation for the move to git, sanitize out some
1910 Bazaar-specific names.
1911
1912 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1913
1914 * version.el (emacs-bzr-version): Name changed to
1915 emacs-repository-version. Obsolete-variable alias made.
1916 * loadup.el: Follow through on this name change.
1917 * mail/emacsbug.el (report-emacs-bug): Factor out any
1918 assumption about the version control system in use.
1919
1920 2014-01-08 David Engster <deng@randomsample.de>
1921
1922 * help-fns.el (help-fns-describe-function-functions):
1923 New variable to call functions for augmenting help buffers.
1924 (describe-function-1): Remove explicit calls to
1925 `help-fns--compiler-macro', `help-fns--parent-mode' and
1926 `help-fns--obsolete'. Put them in above new variable instead, and
1927 call them through `run-hook-with-args'.
1928 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1929 `eieio-describe-class'. Not meant for interactive use anymore,
1930 but to augment existing help buffers. Remove optional second
1931 argument. Create proper button for file location.
1932 Rewrite function to use `insert' instead of `princ' and `prin1' where
1933 possible.
1934 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1935 (eieio-method-def, eieio-class-def): Move further up.
1936 (describe-method, describe-generic, eieio-describe-method):
1937 Remove aliases.
1938 (eieio-help-constructor, eieio-help-generic): Rename from
1939 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1940 Rewrite to use `insert' in the current buffer and use proper help
1941 buttons.
1942 (eieio-help-find-method-definition)
1943 (eieio-help-find-class-definition): Also accept symbols as
1944 arguments.
1945 (eieio-help-mode-augmentation-maybee): Remove.
1946 (eieio-describe-class-sb): Use `describe-function'.
1947 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1948 Add `eieio-help-generic' and `eieio-help-constructor'.
1949
1950 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1951
1952 Spelling fixes.
1953 * language/china-util.el (hz-ascii-designation):
1954 Rename from hz-ascii-designnation.
1955 (hz-ascii-designation): Rename from hz-ascii-designnation.
1956 All uses changed.
1957
1958 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1961 package-alist.
1962
1963 2014-01-08 Bastien Guerry <bzg@gnu.org>
1964
1965 * emacs-lisp/package.el (package-delete):
1966 Correctly delete the package from package-alist.
1967
1968 2014-01-08 Daiki Ueno <ueno@gnu.org>
1969
1970 * emacs-lisp/package.el (url-recreate-url): Declare.
1971 (url-http-target-url): Declare.
1972 (package-handle-response): Include requested URL in the error message.
1973 (package--check-signature): Don't re-signal errors from
1974 package--with-work-buffer. Suggested by Stefan Monnier.
1975
1976 2014-01-07 Bastien Guerry <bzg@gnu.org>
1977
1978 * minibuffer.el (completion--try-word-completion): When both a
1979 hyphen and a space are possible candidates for the character
1980 following a word, display both candidates. (Bug#15980)
1981
1982 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1983
1984 * window.el (balance-windows-2): While rounding don't give a
1985 window more than the remainder. Bug#16351, bug#16383.
1986
1987 2014-01-07 Glenn Morris <rgm@gnu.org>
1988
1989 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1990 (menu-bar-help-menu): Use view-external-packages instead.
1991
1992 2014-01-07 Bastien Guerry <bzg@gnu.org>
1993
1994 * emacs-lisp/package.el (package-delete): Also delete the package
1995 name from `package-alist', not its description only.
1996
1997 2014-01-07 Glenn Morris <rgm@gnu.org>
1998
1999 * help.el (view-external-packages):
2000 * menu-bar.el (menu-bar-help-extra-packages):
2001 Visit efaq.info rather than etc/MORE.STUFF.
2002
2003 2014-01-07 Juri Linkov <juri@jurta.org>
2004
2005 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2006 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2007
2008 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2009 that shadows RET. (Bug#16342)
2010
2011 2014-01-07 Chong Yidong <cyd@gnu.org>
2012
2013 * isearch.el (isearch-yank-char, isearch-yank-word)
2014 (isearch-yank-line): Doc fix.
2015
2016 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2019 * emacs-lisp/elint.el (elint-find-builtins):
2020 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2021 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2022 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2023 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2024 * apropos.el (apropos-safe-documentation):
2025 * subr.el (symbol-file): Remove redundant fboundp.
2026 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2027
2028 2014-01-06 Bastien Guerry <bzg@gnu.org>
2029
2030 * hl-line.el (global-hl-line-overlay): Make a local variable.
2031 (global-hl-line-overlays): New variable to store all overlays.
2032 (global-hl-line-mode): Don't delete overlays from the current
2033 buffer when `global-hl-line-sticky-flag' is non-nil.
2034 (global-hl-line-highlight): Add new overlays to
2035 `global-hl-line-overlays'.
2036 (global-hl-line-unhighlight-all): New function to delete all
2037 overlays when turning off `global-hl-line-mode'.
2038 This fixes Bug#16183.
2039
2040 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2041
2042 * subr.el (set-transient-map): Fix nested case and docstring.
2043
2044 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2045
2046 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2047 `Texinfo' entry.
2048
2049 2014-01-06 Daniel Colascione <dancol@dancol.org>
2050
2051 Fix defun navigation in vc log view.
2052
2053 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2054 like `beginning-of-defun'.
2055 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2056 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2057 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2058 (log-view-extract-comment): Call `log-view-current-entry' directly
2059 instead of relying on broken `log-view-beginning-of-defun' behavior.
2060
2061 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2062
2063 Spelling fixes.
2064 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2065 * emacs-lisp/debug.el (cancel-debug-on-entry):
2066 * epg.el (epg-error-to-string):
2067 * files.el (recover-file):
2068 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2069 * mail/emacsbug.el (report-emacs-bug-hook):
2070 * mail/sendmail.el (mail-recover):
2071 * ses.el (ses-yank-resize):
2072 * term/ns-win.el (ns-print-buffer):
2073 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2074 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2075 All uses changed.
2076 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2077
2078 2014-01-06 Leo Liu <sdl.web@gmail.com>
2079
2080 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2081 to avoid shadowing global key. (Bug#16354)
2082
2083 2014-01-06 Daniel Colascione <dancol@dancol.org>
2084
2085 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2086 rst-mode.
2087
2088 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2089
2090 * window.el (balance-windows): Add mising t to fix Bug#16351.
2091
2092 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2093
2094 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2095 (bug#16285).
2096 (shr-insert): If we have a word that's longer than `shr-width',
2097 break after it anyway. Otherwise we'll do no breaking once we get
2098 such a long word.
2099
2100 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2101
2102 * net/eww.el (eww): Support single/double quote for search.
2103 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2104 (eww-history-quit): Delete and use quit-window.
2105 (eww-history-kill): Delete, because it doesn't work well and
2106 not necessary.
2107 (eww-history-mode-map): Delete some keys and add easy-menu.
2108
2109 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2110
2111 Fix misspelling of 'chinese' in rx (Bug#16237).
2112 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2113 chinese-two-byte.
2114
2115 Change subword regexps back to vars (Bug#16296).
2116 * progmodes/subword.el (subword-forward-regexp)
2117 (subword-backward-regexp): Change these back to variables.
2118
2119 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2122 syntax-begin-function (bug#16247).
2123
2124 2014-01-03 Chong Yidong <cyd@gnu.org>
2125
2126 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2127 (advice--docstring): Delete variable.
2128 (advice--make-1): Leave the docstring empty.
2129 (advice-add): Use function-documentation for advised docstring.
2130
2131 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2132 Ignore function-documentation property when getting documentation.
2133 (ad-activate-advised-definition): Use function-documentation
2134 generate the docstring.
2135 (ad-make-advised-definition): Don't call
2136 ad-make-advised-definition-docstring.
2137 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2138 Delete functions.
2139
2140 * progmodes/sql.el (sql-help): Use function-documentation instead
2141 of dynamic-docstring-function property. No need to autoload now.
2142 (sql--help-docstring): New variable.
2143 (sql--make-help-docstring): Use it.
2144
2145 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 * ielm.el (ielm-tab): Retarget.
2148 (ielm-map): Use ielm-tab for tab.
2149 (ielm-complete-filename): Use comint-filename-completion.
2150 (ielm-complete-symbol): Remove.
2151 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2152 remove ielm-tab from completion-at-point-functions (bug#16224).
2153
2154 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2155 Beware signals raised by predicates (bug#16201).
2156
2157 2014-01-02 Richard Stallman <rms@gnu.org>
2158
2159 * dired-aux.el (dired-do-print): Handle printer-name.
2160
2161 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2162 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2163 (rmail-epa-decrypt): Turn off mime processing.
2164
2165 * mail/rmail.el (rmail-make-in-reply-to-field):
2166 Add parens in message-id.
2167
2168 * mail/rmail.el (rmail-get-coding-function): Variable.
2169 (rmail-get-coding-system): Use it.
2170
2171 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2172
2173 * international/mule-conf.el: Unify the charset indian-is13194.
2174 (indian-is13194): Specify unify-map.
2175
2176 2013-12-31 Leo Liu <sdl.web@gmail.com>
2177
2178 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2179
2180 2013-12-30 Daniel Colascione <dancol@dancol.org>
2181
2182 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2183 of printing a useless when we resume from sleep.
2184
2185 * progmodes/sh-script.el
2186 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2187 in indentation code. (Bug#16233)
2188
2189 2013-12-28 João Távora <joaotavora@gmail.com>
2190
2191 * elec-pair.el (electric-pair-post-self-insert-function):
2192 Don't open extra newlines at beginning of buffer. (Bug#16272)
2193
2194 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2195
2196 * frame.el (window-system-for-display): Don't allow to create a
2197 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2198
2199 2013-12-28 Glenn Morris <rgm@gnu.org>
2200
2201 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2202 Update callers.
2203
2204 * apropos.el (apropos-match-face):
2205 * calculator.el (calculator-displayer):
2206 * dabbrev.el (dabbrev-search-these-buffers-only):
2207 * face-remap.el (buffer-face-mode-face):
2208 * simple.el (yank-handled-properties):
2209 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2210 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2211 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2212 (hashcash-double-spend-database):
2213 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2214 (ruby-deep-indent-paren-style):
2215 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2216 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2217 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2218 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2219 Specify custom types.
2220
2221 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2222 * bookmark.el (bookmark-bmenu-use-header-line):
2223 * doc-view.el (doc-view-scale-internally):
2224 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2225 * register.el (register-preview-delay):
2226 * net/shr.el (shr-bullet):
2227 * progmodes/cfengine.el (cfengine-cf-promises)
2228 (cfengine-parameters-indent):
2229 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2230 * textmodes/reftex-vars.el (reftex-label-regexps):
2231 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2232
2233 * net/tls.el (tls-certtool-program): Fix default value.
2234
2235 * desktop.el (desktop-restore-in-current-display):
2236 * newcomment.el (comment-empty-lines):
2237 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2238 (idlwave-pad-keyword):
2239 * progmodes/tcl.el (tcl-tab-always-indent):
2240 * textmodes/reftex-vars.el (reftex-index-default-tag):
2241 * elec-pair.el (electric-pair-skip-whitespace):
2242 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2243
2244 * emacs-lisp/authors.el (authors-ignored-files)
2245 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2246
2247 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2248
2249 * shell.el (shell-dynamic-complete-command): Doc fix.
2250 (shell--command-completion-data): Shell completion now matches
2251 executable filenames from the current buffer's directory, on
2252 systems in which this behavior is the default (windows-nt, ms-dos).
2253
2254 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2255
2256 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2257
2258 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2261 (bug#16251).
2262
2263 * electric.el: Move all electric-pair-* to elec-pair.el.
2264 * elec-pair.el: New file, split from electric.el.
2265
2266 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2267
2268 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2269 indentation level is larger than the width, because that will
2270 infloop.
2271 (shr-insert): Fill repeatedly long texts, so that Japanese is
2272 formatted correctly (bug#16263).
2273 (shr-find-fill-point): Off by one error in comparison with the
2274 indentation.
2275
2276 2013-12-26 João Távora <joaotavora@gmail.com>
2277
2278 * electric.el (electric-pair-mode): More flexible engine for skip-
2279 and inhibit predicates, new options for pairing-related functionality.
2280 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2281 if that keeps or improves their balance in buffers.
2282 (electric-pair-delete-adjacent-pairs): Delete the pair when
2283 backspacing over adjacent matched delimiters.
2284 (electric-pair-open-extra-newline): Open extra newline when
2285 inserting newlines between adjacent matched delimiters.
2286 (electric--sort-post-self-insertion-hook):
2287 Sort post-self-insert-hook according to priority values when
2288 minor-modes are activated.
2289 * simple.el (newline-and-indent): Call newline with interactive
2290 set to t.
2291 (blink-paren-post-self-insert-function): Set priority to 100.
2292 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2293 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2294 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2295 electric-pair-open-newline-between-pairs to nil.
2296
2297 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2298
2299 * progmodes/python.el: Use lexical-binding.
2300 (python-nav-beginning-of-defun): Stop searching ASAP.
2301
2302 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2303
2304 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2305 Fix interactive spec. Doc fix. (Bug#15754)
2306
2307 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2308
2309 * emacs-lisp/byte-run.el (eval-when-compile):
2310 * progmodes/cc-defs.el (cc-eval-when-compile):
2311 Fix edebug spec (bug#16184).
2312
2313 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2314
2315 * net/shr.el (shr-visit-file): Remove debugging function.
2316 (shr-insert): Don't infloop if we can't find a good place to break
2317 the line (bug#16256).
2318
2319 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2320
2321 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2322 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2323 python-nav-lisp-forward-sexp-safe.
2324 (python-nav--forward-sexp): New argument SAFE allows switching
2325 forward sexp movement behavior for parens.
2326 (python-nav-forward-sexp): Throw errors on unterminated parens
2327 (Bug#16191).
2328 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2329 (python-nav-backward-sexp-safe): New functions.
2330 (python-shell-buffer-substring):
2331 Use `python-nav-forward-sexp-safe'.
2332
2333 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2334
2335 * net/shr.el (shr-find-fill-point): Don't break lines before a
2336 quotation mark.
2337 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2338 (shr-find-fill-point): Remove the special checks for the quotation
2339 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2340
2341 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2342
2343 * net/eww.el (eww-form-textarea): Use a different face for
2344 textareas than text input since they have different keymaps
2345 (bug#16142).
2346
2347 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2348
2349 * progmodes/python.el (python-nav-beginning-of-statement):
2350 Speed up (Bug#15295).
2351
2352 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2353
2354 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2355 the window configuration.
2356
2357 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2358
2359 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2360 we run on MS-Windows or MS-DOS.
2361
2362 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2363
2364 * window.el (balance-windows-area): Call window-size instead of
2365 window-height and window-width. Bug#16241.
2366
2367 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2368
2369 * net/eww.el (eww-bookmark-quit): Remove.
2370 (eww-bookmark-browse): Restore the window configuration when you
2371 choose a bookmark (bug#16144).
2372
2373 2013-12-24 Daniel Colascione <dancol@dancol.org>
2374
2375 * icomplete.el: Remove redundant :group arguments to `defcustom'
2376 throughout.
2377 (icomplete-show-matches-on-no-input): New customizable variable.
2378 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2379 we have something to show.
2380 (icomplete-exhibit): Compute completions even if we have no user input.
2381
2382 2013-12-23 Daniel Colascione <dancol@dancol.org>
2383
2384 * icomplete.el: Move `provide' to end of file.
2385
2386 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2387
2388 * net/gnutls.el (gnutls-verify-error): Add version tag.
2389
2390 2013-12-23 Chong Yidong <cyd@gnu.org>
2391
2392 * subr.el (set-transient-map): Rename from
2393 set-temporary-overlay-map. Doc fix.
2394
2395 * face-remap.el (text-scale-adjust):
2396 * indent.el (indent-rigidly):
2397 * kmacro.el (kmacro-call-macro):
2398 * minibuffer.el (minibuffer-force-complete):
2399 * repeat.el (repeat):
2400 * simple.el (universal-argument--mode):
2401 * calendar/todo-mode.el (todo-insert-item--next-param):
2402 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2403
2404 * indent.el (indent-rigidly): Use substitute-command-keys.
2405
2406 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2407
2408 * net/eww.el (eww-tag-select): Add text-property to jump to next
2409 select field.
2410 (eww): Add non-supported ftp error.
2411
2412 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2413
2414 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2415 comments. Handle electric indent after typing `?' and `!'.
2416
2417 2013-12-22 Chong Yidong <cyd@gnu.org>
2418
2419 * faces.el (face-spec-recalc): If the theme specs are not
2420 applicable to a frame, fall back on the defface spec.
2421 This prevents themes from obliterating faces on low-color terminals.
2422
2423 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2424
2425 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2426 after `{'. We need it after block openers, and it doesn't seem
2427 to hurt after hash openers.
2428
2429 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2430
2431 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2432 extracted from `ruby-smie-rules'.
2433 (ruby--electric-indent-chars): New variable.
2434 (ruby--electric-indent-p): New function.
2435 (ruby-mode): Use `electric-indent-functions' instead of
2436 `electric-indent-chars'.
2437
2438 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2439
2440 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2441 docstring.
2442 (ruby-smie-rules): Indent plus one level after `=>'.
2443
2444 2013-12-21 Richard Stallman <rms@gnu.org>
2445
2446 * simple.el (newline): Doc fix.
2447
2448 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2449
2450 * net/eww.el (eww-list-histories, eww-list-histories)
2451 (eww-history-browse, eww-history-quit, eww-history-kill)
2452 (eww-history-mode-map, eww-history-mode): New command and
2453 functions to list browser histories.
2454 (eww-form-text): Support text form with disabled
2455 and readonly attributes.
2456 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2457
2458 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2459
2460 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2461 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2462 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2463 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2464 Use `user-error'.
2465 (eww-bookmark-mode-map): Add menu.
2466 (eww-render, eww-mode): Use `setq-local'.
2467 (eww-tool-bar-map): New variable.
2468 (eww-mode): Set `tool-bar-map'.
2469 (eww-view-source): Check for `html-mode' with `fboundp'.
2470
2471 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2472
2473 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2474 elements with text inside. Also remove debugging.
2475
2476 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2477
2478 * cus-start.el (all): Add ns-use-srgb-colorspace.
2479
2480 2013-12-21 Chong Yidong <cyd@gnu.org>
2481
2482 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2483 undefined. Thus, theme settings for undefined faces do not take
2484 effect until the faces are defined with defface, the same as with
2485 theme variables.
2486
2487 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2488 (face-spec-reset-face): Don't assign extra properties in temacs.
2489 (face-spec-recalc): Apply X resources too.
2490
2491 2013-12-21 Chong Yidong <cyd@gnu.org>
2492
2493 * faces.el (face-spec-set):
2494 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2495 * custom.el (defface): Doc fixes (Bug#16203).
2496
2497 * indent.el (indent-rigidly-map): Add docstring, and move commands
2498 into named functions.
2499 (indent-rigidly-left, indent-rigidly-right)
2500 (indent-rigidly-left-to-tab-stop)
2501 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2502 indentation direction based on bidi direction, and accumulate
2503 sequential commands in a single undo boundary.
2504 (indent-rigidly--pop-undo): New utility function.
2505
2506 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2507
2508 * faces.el (read-face-name): Require crm.el when using crm-separator.
2509
2510 2013-12-20 Daniel Colascione <dancol@dancol.org>
2511
2512 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2513 so that we don't reflow comments into the shebang line.
2514
2515 2013-12-20 Juri Linkov <juri@jurta.org>
2516
2517 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2518 a position when `dired-directory' is non-nil. Check integer
2519 positions with `integerp'.
2520 (toggle-save-place, save-places-to-alist): Add check for
2521 `dired-directory'.
2522 (save-place-find-file-hook): Check integer positions with
2523 `integerp'.
2524 (save-place-dired-hook): Use `dired-goto-file' when
2525 `dired-filename' is found in the assoc list. Check integer
2526 positions with `integerp'.
2527 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2528
2529 * dired.el (dired-initial-position-hook): Rename back from
2530 `dired-initial-point-hook'.
2531 (dired-initial-position): Rename `dired-initial-point-hook' to
2532 `dired-initial-position-hook'.
2533 (dired-file-name-at-point): Doc fix. (Bug#15329)
2534
2535 2013-12-20 Juri Linkov <juri@jurta.org>
2536
2537 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2538 (read-regexp-suggestions): New function.
2539 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2540 Use `read-regexp-suggestions'. Add non-empty default to history
2541 for empty input.
2542 (occur-read-regexp-defaults-function): Remove function.
2543 (occur-read-primary-args): Use `regexp-history-last' instead of
2544 `occur-read-regexp-defaults-function'.
2545
2546 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2547 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2548 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2549 `hi-lock-read-regexp-defaults-function'. Doc fix.
2550 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2551 with `find-tag-default-as-symbol-regexp'. Doc fix.
2552 (hi-lock-read-regexp-defaults): Remove function.
2553 (hi-lock-regexp-okay): Add check for null.
2554
2555 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2556 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2557
2558 * subr.el (find-tag-default-as-symbol-regexp): New function.
2559 (find-tag-default-as-regexp): Move symbol regexp formatting to
2560 `find-tag-default-as-symbol-regexp'.
2561
2562 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2563
2564 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2565 (Bug#14179)
2566
2567 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2568
2569 * calendar/todo-mode.el: New implementation of item insertion
2570 commands and key bindings.
2571 (todo-key-prompt): New face.
2572 (todo-insert-item): New command.
2573 (todo-insert-item--parameters): New defconst, replacing defvar
2574 todo-insertion-commands-args-genlist.
2575 (todo-insert-item--param-key-alist): New defconst, replacing
2576 defvar todo-insertion-commands-arg-key-list.
2577 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2578 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2579 (todo-insert-item--next-param): New functions.
2580 (todo-insert-item--args, todo-insert-item--argleft)
2581 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2582 New variables.
2583 (todo-key-bindings-t): Change binding of "i" from
2584 todo-insertion-map to todo-insert-item.
2585 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2586 (todo-insertion-command-name, todo-insertion-commands-names)
2587 (todo-define-insertion-command, todo-insertion-commands)
2588 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2589
2590 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2591
2592 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2593 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2594 eval-when-compile.
2595 (todo-move-category): Allow choosing a non-existing todo file to
2596 move the category to, and create that file.
2597 (todo-default-priority): New user option.
2598 (todo-set-item-priority): Use it.
2599 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2600 (desktop-restore-file-buffer): Declare.
2601 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2602 (todo-modes-set-2): Locally set desktop-save-buffer to
2603 todo-desktop-save-buffer.
2604 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2605 (auto-mode-alist): Add autoload cookie.
2606
2607 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2608
2609 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2610 helpers.el was a poor choice of name.
2611 (string-remove-prefix): New function.
2612 (string-remove-suffix): New function.
2613
2614 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2615
2616 Fix assignment for new window total sizes.
2617 * window.el (window--pixel-to-size): Remove function.
2618 (window--pixel-to-total-1, window--pixel-to-total):
2619 Fix calculation of new total sizes.
2620
2621 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2622
2623 * comint.el (comint-output-filter): Fix rear-nonsticky property
2624 placement (Bug#16010).
2625
2626 2013-12-20 Chong Yidong <cyd@gnu.org>
2627
2628 * faces.el (read-color): Minor fix for completion function.
2629
2630 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2631
2632 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2633 New option. (Bug#16182)
2634 (ruby-smie--indent-to-stmt-p): Use it.
2635 (ruby-smie-rules): Revert the logic in the handling of `when'.
2636 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2637 (ruby-deep-arglist, ruby-deep-indent-paren)
2638 (ruby-deep-indent-paren-style): Update docstrings to note that the
2639 vars don't have any effect with SMIE.
2640
2641 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2642
2643 * calc/calc.el (calc-enter, calc-pop): Use the variable
2644 `calc-context-sensitive-enter'.
2645
2646 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2647
2648 * net/shr.el (shr-insert): Protect against infloops in degenerate
2649 tables.
2650
2651 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2652
2653 * progmodes/octave.el (octave): Add link to manual and octave
2654 homepage.
2655 (octave-mode-menu): Link to octave-mode manual.
2656
2657 2013-12-20 Leo Liu <sdl.web@gmail.com>
2658
2659 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2660 insertion using skeleton-end-newline. (Bug#16138)
2661
2662 2013-12-20 Juri Linkov <juri@jurta.org>
2663
2664 * replace.el (occur-engine): Use `add-face-text-property'
2665 to add the face property to matches and titles. (Bug#14645)
2666
2667 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2668 the palette of other hi-lock colors.
2669 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2670
2671 2013-12-19 Juri Linkov <juri@jurta.org>
2672
2673 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2674 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2675 (minibuffer-history-symbol): Move variable declaration closer to
2676 its usage.
2677
2678 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2679 (Bug#14785)
2680
2681 2013-12-19 Juri Linkov <juri@jurta.org>
2682
2683 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2684 New function.
2685 (log-edit-hook): Add it to :options. (Bug#16170)
2686
2687 2013-12-19 Juri Linkov <juri@jurta.org>
2688
2689 * simple.el (eval-expression-print-format): Don't check for
2690 command names and the last command. Always display additional
2691 formats of the integer result in the echo area, and insert them
2692 to the current buffer only with a zero prefix arg.
2693 Display character when char-displayable-p is non-nil.
2694 (eval-expression): With a zero prefix arg, set `print-length' and
2695 `print-level' to nil, and insert the integer values from
2696 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2697
2698 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2699 `eval-last-sexp-arg-internal'. Doc fix.
2700 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2701 `eval-last-sexp-print-value'. Doc fix.
2702 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2703 Set `print-length' and `print-level' to nil when arg is zero.
2704 (eval-last-sexp): Doc fix.
2705 (eval-defun-2): Print the integer values from
2706 `eval-expression-print-format' at the end.
2707
2708 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2709 values from `eval-expression-print-format' at the end.
2710
2711 * ielm.el (ielm-eval-input): Print the integer
2712 values from `eval-expression-print-format' at the end.
2713
2714 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2715
2716 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2717 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2718
2719 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2722 (hl-line-highlight, global-hl-line-highlight): Use it.
2723 (hl-line-overlay): Use defvar-local.
2724
2725 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2726
2727 * term/ns-win.el: Require dnd.
2728 (global-map): Remove drag items.
2729 (ns-insert-text, ns-set-foreground-at-mouse)
2730 (ns-set-background-at-mouse):
2731 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2732 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2733 New functions.
2734
2735 2013-12-19 Glenn Morris <rgm@gnu.org>
2736
2737 * emacs-lisp/ert.el (ert-select-tests):
2738 Fix string/symbol mixup. (Bug#16121)
2739
2740 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2741
2742 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2743 keywords to their parent.
2744
2745 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2746
2747 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2748 first arg to be a string (fixed dead code), or an operator symbol.
2749 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2750 operator symbols.
2751 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2752 did nothing. Don't respond to `(:after ".")', it will be called
2753 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2754 change anything. Only return indentation for binary operators
2755 when they are hanging. De-dent opening paren when its parent is
2756 `.', otherwise it looks bad when the dot is not at bol or eol
2757 (bug#16182).
2758
2759 2013-12-19 Juri Linkov <juri@jurta.org>
2760
2761 * replace.el (query-replace-read-args): Split a non-negative arg
2762 and a negative arg into separate elements.
2763 (query-replace, query-replace-regexp, replace-string)
2764 (replace-regexp): Add arg `backward'. Doc fix.
2765 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2766 move point to the beginning of the match.
2767 (replace-search, replace-highlight): Use new arg `backward'
2768 to set the value of `isearch-forward'.
2769 (perform-replace): Add arg `backward' and use it to perform
2770 replacement backward. (Bug#14979)
2771
2772 * isearch.el (isearch-query-replace): Use a negative prefix arg
2773 to call `perform-replace' with a non-nil arg `backward'.
2774
2775 2013-12-18 Juri Linkov <juri@jurta.org>
2776
2777 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2778 to the default list. Move `log-edit-show-files' to the end.
2779 Add more available functions to options.
2780 (log-edit): Move default specific settings to
2781 `log-edit-insert-message-template'. Don't move point.
2782 (log-edit-insert-message-template): New function.
2783 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2784 (Bug#16170)
2785
2786 2013-12-18 Juri Linkov <juri@jurta.org>
2787
2788 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2789 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2790
2791 2013-12-18 Leo Liu <sdl.web@gmail.com>
2792
2793 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2794 (Bug#16186)
2795
2796 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2797
2798 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2799 formats for displaying file sizes when the -s switch is given.
2800 Instead, compute a separate format for displaying the size in
2801 blocks, which is displayed in addition to the "regular" size.
2802 When -h is given in addition to -s, produce size in blocks in
2803 human-readable form as well. (Bug#16179)
2804
2805 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2806
2807 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2808 Reference tables with ~\ref{...} instead of only \ref{...}.
2809
2810 2013-12-18 Chong Yidong <cyd@gnu.org>
2811
2812 * cus-edit.el (custom-magic-alist): Fix "themed" description
2813 (Bug#14348).
2814
2815 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2816 is non-nil, do not create a new entry in the symbol's theme-value
2817 or theme-face property; update theme-settings only (Bug#14664).
2818 (custom-available-themes): Doc fix.
2819
2820 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2821 (Bug#15674).
2822
2823 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2824
2825 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2826
2827 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2828 (Bug#13914).
2829
2830 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2831
2832 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2833
2834 2013-12-18 Glenn Morris <rgm@gnu.org>
2835
2836 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2837 * cus-start.el (load-prefer-newer): New option.
2838
2839 2013-12-18 Le Wang <l26wang@gmail.com>
2840
2841 * comint.el (comint-previous-matching-input-from-input):
2842 Retain point (Bug#13404).
2843
2844 2013-12-18 Chong Yidong <cyd@gnu.org>
2845
2846 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2847
2848 2013-12-18 Glenn Morris <rgm@gnu.org>
2849
2850 * mail/emacsbug.el (report-emacs-bug):
2851 Only mention enable-multibyte-characters if non-standard.
2852
2853 2013-12-17 Juri Linkov <juri@jurta.org>
2854
2855 * arc-mode.el (archive-extract-by-file): Check if directory exists
2856 before deletion to not show irrelevant errors if it doesn't exist.
2857
2858 2013-12-17 Juri Linkov <juri@jurta.org>
2859
2860 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2861 (Bug#14751)
2862
2863 * net/eww.el (browse-web): Add alias to `eww'.
2864 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2865 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2866
2867 * net/browse-url.el (browse-url-browser-function): Move `eww'
2868 closer to similar functions.
2869
2870 * startup.el (fancy-startup-screen, fancy-about-screen):
2871 Set browse-url-browser-function to eww-browse-url locally.
2872 (Bug#14751)
2873
2874 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * window.el (window--pixel-to-total): Remove unused `mini' var.
2877 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2878 (split-window): Remove unused `new' var.
2879 (window--display-buffer): Remove unused `frame' and `delta' vars.
2880 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2881 and display-width'.
2882
2883 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2884
2885 * dired.el (dired-mark-pop-up):
2886 * register.el (register-preview): Don't bind
2887 split-height-threshold here since it's now done in
2888 display-buffer-below-selected.
2889
2890 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2891
2892 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2893 xterm-rgb-convert-to-16bit.
2894 (rxvt-register-default-colors): Standardize with
2895 xterm-register-default-colors (Bug#14078).
2896
2897 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2898
2899 * simple.el (kill-region): Pass mark first, then point, so that
2900 kill-append works right (Bug#12819).
2901 (copy-region-as-kill, kill-ring-save): Likewise.
2902
2903 2013-12-17 Leo Liu <sdl.web@gmail.com>
2904
2905 * net/rcirc.el (rcirc-add-face):
2906 * eshell/em-prompt.el (eshell-emit-prompt):
2907 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2908 (Bug#16167)
2909
2910 2013-12-17 Chong Yidong <cyd@gnu.org>
2911
2912 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2913 Suggested by Xue Fuqiao.
2914
2915 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2916
2917 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2918
2919 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2921 * net/shr.el (shr-insert-document): Remove unused var
2922 `shr-preliminary-table-render'.
2923 (shr-rescale-image): Remove unused arg `force'.
2924 (shr-put-image): Update calls accordingly.
2925 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2926
2927 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2928
2929 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2930 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2931 :close-all, to see which indentation method to use (Bug#16116).
2932 (smie-rules-function): Document the method :close-all.
2933
2934 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2935
2936 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2937
2938 * net/eww.el (eww-display-html): If we can't find the anchor we're
2939 looking for, then go to point-min.
2940
2941 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2942
2943 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2944 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2945 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2946 Expand dir too, in case it's relative.
2947
2948 2013-12-16 Juri Linkov <juri@jurta.org>
2949
2950 * desktop.el (desktop-auto-save-timeout): Change default to
2951 `auto-save-timeout'. Doc fix.
2952 (desktop-save): Skip the timestamp in desktop-saved-frameset
2953 when checking for auto-save changes.
2954 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2955 `desktop-auto-save' is called repeatedly by the idle timer.
2956 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2957 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2958 (Bug#15331)
2959
2960 2013-12-16 Juri Linkov <juri@jurta.org>
2961
2962 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2963 (Bug#16035)
2964 (isearch-pre-command-hook): Check `this-command' for symbolp.
2965
2966 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2967
2968 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2969
2970 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2971
2972 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2973 (cfengine3--current-function): Bring in the current-function
2974 functionality from `cfengine3--current-word'.
2975 (cfengine3-completion-function): Bring in the
2976 bounds-of-current-word functionality from
2977 `cfengine3--current-word'.
2978
2979 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2980
2981 * window.el (display-buffer-below-selected):
2982 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2983
2984 2013-12-16 Leo Liu <sdl.web@gmail.com>
2985
2986 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2987 Remove NOMSG arg and all uses changed.
2988
2989 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2990
2991 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2992 (cua--deactivate-rectangle): Don't deactivate the mark.
2993 (cua-set-rectangle-mark): Don't set mark-active since
2994 cua--activate-rectangle already does it for us.
2995 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2996 non-rectangular region.
2997
2998 * emulation/cua-base.el (cua-repeat-replace-region):
2999 Use with-current-buffer.
3000
3001 * net/gnutls.el: Use cl-lib.
3002 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3003
3004 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3005
3006 * emacs-lisp/package.el (package-built-in-p): Support both
3007 built-in and the package.el converted package descriptions.
3008 (package-show-package-list): Allow keywords.
3009 (package-keyword-button-action): Use it instead of
3010 `finder-list-matches'.
3011 (package-menu-filter-interactive): Interactive filtering (by
3012 keyword) function.
3013 (package-menu--generate): Support keywords and change keymappings
3014 and headers when they are given.
3015 (package--has-keyword-p): Helper function.
3016 (package-menu--refresh): Use it.
3017 (package--mapc): Helper function.
3018 (package-all-keywords): Use it.
3019 (package-menu-mode-map): Set up menu items and keybindings to
3020 provide a filtering UI.
3021
3022 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3023
3024 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3025 the behavior when a certificate fails validation. Defaults to
3026 old behavior: never abort, just warn.
3027 (gnutls-negotiate): Use it.
3028
3029 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3030
3031 * window.el (display-buffer-below-selected): Never split window
3032 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3033
3034 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3035
3036 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3037 (package-buffer-info): Use it (bug#15108).
3038
3039 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3040
3041 * icomplete.el (icomplete-completions): Make sure the prefix is already
3042 displayed elsewhere before hiding it (bug#16219).
3043
3044 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3045
3046 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3047 open-paren tokens when preceded by a open-paren, too.
3048 (ruby-smie-rules): Handle virtual indentation after open-paren
3049 tokens specially. If there is code between it and eol, return the
3050 column where is starts (Bug#16118).
3051
3052 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3053
3054 * progmodes/cfengine.el: Fix `add-hook' doc.
3055 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3056 (cfengine3--current-word): Fix parameters.
3057 (cfengine3-make-syntax-cache): Simplify further.
3058 (cfengine3-completion-function, cfengine3--current-function):
3059 Use `assq' for symbols.
3060 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3061
3062 2013-12-13 Glenn Morris <rgm@gnu.org>
3063
3064 * loadup.el (load-path): Warn if site-load or site-init changes it.
3065 No more need to reset it when bootstrapping.
3066
3067 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3068
3069 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3070 locations for cf-promises.
3071 (cfengine-mode-syntax-functions-regex): New caching variable.
3072 (cfengine3-fallback-syntax): Fallback syntax for cases where
3073 cf-promises doesn't run.
3074 (cfengine3--current-word): Reimplement using
3075 `cfengine-mode-syntax-functions-regex'.
3076 (cfengine3-completion-function, cfengine3--current-function):
3077 Use `cfengine3-make-syntax-cache' directly.
3078 (cfengine3-clear-syntax-cache): New function.
3079 (cfengine3-make-syntax-cache): Simplify and create
3080 `cfengine-mode-syntax-functions-regex' on demand.
3081 (cfengine3-format-function-docstring): Don't call
3082 `cfengine3-make-syntax-cache' explicitly.
3083
3084 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3085
3086 Fix windmove-find-other-window broken after pixelwise resizing
3087 (Bug#16017).
3088 * windmove.el (windmove-other-window-loc): Revert change from
3089 2013-12-04.
3090 (windmove-find-other-window): Call window-in-direction.
3091 * window.el (window-in-direction): New arguments SIGN, WRAP and
3092 MINI to emulate original windmove-find-other-window behavior.
3093
3094 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3095
3096 * simple.el (blink-matching--overlay): New variable.
3097 (blink-matching-open): Instead of moving point, highlight the
3098 matching paren with an overlay
3099 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3100
3101 * faces.el (paren-showing-faces, show-paren-match)
3102 (show-paren-mismatch): Move from paren.el.
3103
3104 2013-12-13 Leo Liu <sdl.web@gmail.com>
3105
3106 * indent.el (indent-region): Disable progress reporter in
3107 minibuffer. (Bug#16108)
3108
3109 * bindings.el (visual-order-cursor-movement): Fix version.
3110
3111 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3112
3113 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3114 Also match after beginning of line.
3115 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3116 files. Thanks to Russell Sim. (Bug#15378)
3117
3118 2013-12-13 Juri Linkov <juri@jurta.org>
3119
3120 * simple.el <Keypad support>: Remove key bindings duplicated
3121 with bindings.el. (Bug#14397)
3122
3123 2013-12-13 Juri Linkov <juri@jurta.org>
3124
3125 * comint.el (comint-mode-map): Replace `delete-char' with
3126 `delete-forward-char'. (Bug#16109)
3127
3128 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3129
3130 * progmodes/python.el (python-indent-calculate-indentation):
3131 Fix de-denters cornercase. (Bug#15731)
3132
3133 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3136 (advice--make): Pay attention to `depth'.
3137 (advice--make-1): Don't autoload commands eagerly.
3138 * emacs-lisp/elp.el (elp-instrument-function):
3139 * emacs-lisp/trace.el (trace-function-internal):
3140 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3141
3142 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3143
3144 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3145
3146 * term/w32-win.el (w32-handle-dropped-file):
3147 * startup.el (normal-top-level):
3148 * net/browse-url.el (browse-url-file-url):
3149 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3150 decode file names using 'utf-8' rather than
3151 file-name-coding-system.
3152
3153 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3154
3155 * progmodes/python.el (python-indent-context)
3156 (python-indent-calculate-indentation): Fix auto-identation
3157 behavior for comment blocks. (Bug#15916)
3158
3159 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3160
3161 * progmodes/python.el (python-indent-calculate-indentation):
3162 When determining indentation, don't treat "return", "pass", etc., as
3163 operators when they are just string constituents. (Bug#15812)
3164
3165 2013-12-12 Juri Linkov <juri@jurta.org>
3166
3167 * uniquify.el (uniquify-buffer-name-style): Change default to
3168 `post-forward-angle-brackets'.
3169
3170 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3171 `uniquify'. Change default to `post-forward-angle-brackets'.
3172
3173 2013-12-11 Glenn Morris <rgm@gnu.org>
3174
3175 * emacs-lisp/package.el (finder-list-matches):
3176 Autoload rather than falsely declaring.
3177
3178 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3179
3180 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3181 (eww-mode-map): Use them.
3182
3183 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3184
3185 * window.el (display-buffer-in-side-window): Fix doc-string
3186 (Bug#16115).
3187
3188 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3189
3190 * vc/vc-git.el: Silence byte-compiler warnings.
3191 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3192 (log-edit-set-header): Declare.
3193
3194 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3195
3196 * Makefile.in (custom-deps, finder-data): Run output file names
3197 through unmsys--file-name. (Bug#16099)
3198
3199 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3202 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3203
3204 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3205 instead of deleting the selection "by hand" (bug#16098).
3206 Rely on insert-for-yank to yank rectangles.
3207 (cua-highlight-region-shift-only): Mark obsolete.
3208 (cua-mode): Don't enable/disable transient-mark-mode,
3209 shift-select-mode (cua-mode works both with and without them), and
3210 pc-selection-mode (obsolete).
3211 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3212 (cua--deactivate-rectangle): Deactivate it.
3213
3214 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3215 (delete-selection-helper): Make sure yank starts at the top of the
3216 deleted region.
3217 (minibuffer-keyboard-quit): Use region-active-p.
3218
3219 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3220
3221 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3222 to `delete' (bug#16109).
3223
3224 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3225
3226 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3227 info manual and show keybindings and set `:group' keyword.
3228
3229 2013-12-11 Juri Linkov <juri@jurta.org>
3230
3231 * delsel.el (delete-active-region): Let-bind `this-command'
3232 to prevent `kill-region' from changing its original value.
3233 (delete-selection-helper): Handle `overwrite-mode' for the type
3234 `kill' exactly the same way as for the type `t'.
3235 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3236 Support more commands. (Bug#13312)
3237
3238 2013-12-11 Juri Linkov <juri@jurta.org>
3239
3240 * bindings.el: Map kp keys to non-kp keys systematically
3241 with basic modifiers control, meta and shift. (Bug#14397)
3242
3243 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3244
3245 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3246 "Close browser" menu items. Fix wrong function of "List
3247 bookmarks".
3248
3249 2013-12-11 Juri Linkov <juri@jurta.org>
3250
3251 * misearch.el (multi-isearch-buffers): Set the value of
3252 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3253 arg of isearch-forward to t.
3254 (multi-isearch-buffers-regexp): Set the value of
3255 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3256 arg of isearch-forward-regexp to t.
3257 (multi-isearch-files): Set the value of
3258 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3259 arg of isearch-forward to t.
3260 (multi-isearch-files-regexp): Set the value of
3261 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3262 arg of isearch-forward-regexp to t. (Bug#16035)
3263
3264 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3265 arg of isearch-forward to t.
3266 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3267 arg of isearch-forward-regexp to t.
3268 (dired-isearch-filter-filenames): Remove unnecessary check for
3269 `dired-isearch-filenames'.
3270
3271 * comint.el (comint-history-isearch-backward):
3272 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3273 (comint-history-isearch-backward-regexp):
3274 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3275
3276 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3277
3278 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3279 unmsys--file-name. (Bug#16099)
3280
3281 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3282
3283 * emacs-lisp/package.el (package-keyword-button-action):
3284 Remove finder.el require dependency.
3285
3286 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3287
3288 * emacs-lisp/package.el: Require finder.el.
3289 (describe-package-1): Add keyword buttons.
3290 (package-make-button): New convenience function.
3291 (package-keyword-button-action): Keyword button action using
3292 `finder-list-matches'.
3293
3294 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3295
3296 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3297 last commit.
3298
3299 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3300
3301 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3302 symlinked files.
3303
3304 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3305
3306 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3307 after the end of a percent literal.
3308
3309 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3310
3311 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3312 Handle caret-delimited strings (Bug#16079).
3313
3314 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3315
3316 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3317 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3318 `ruby-parse-partial' (Bug#16078).
3319
3320 2013-12-09 Leo Liu <sdl.web@gmail.com>
3321
3322 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3323
3324 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3325
3326 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3327 (js-switch-indent-offset): New option.
3328 (js--proper-indentation): Use it. And handle the case when
3329 "default" is actually a key in an object literal.
3330 (js--same-line): New function.
3331 (js--multi-line-declaration-indentation): Use it.
3332 (js--indent-in-array-comp, js--array-comp-indentation):
3333 New functions.
3334 (js--proper-indentation): Use them, to handle array comprehension
3335 continuations.
3336
3337 2013-12-08 Leo Liu <sdl.web@gmail.com>
3338
3339 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3340 (flymake-make-overlay): Remove arg MOUSE-FACE.
3341 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3342
3343 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3346 New function.
3347 (redisplay-highlight-region-function): Use it.
3348
3349 * emulation/cua-base.el (cua--explicit-region-start)
3350 (cua--last-region-shifted): Remove.
3351 (cua--deactivate): Use deactivate-mark.
3352 (cua--pre-command-handler-1): Don't handle shift-selection.
3353 (cua--post-command-handler-1): Don't change transient-mark-mode.
3354 (cua--select-keymaps): Use region-active-p rather than
3355 cua--explicit-region-start or cua--last-region-shifted.
3356 (cua-mode): Enable shift-select-mode.
3357
3358 2013-12-08 Leo Liu <sdl.web@gmail.com>
3359
3360 * progmodes/flymake.el (flymake-popup-current-error-menu):
3361 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3362 (flymake-posn-at-point-as-event, flymake-popup-menu)
3363 (flymake-make-emacs-menu): Remove. (Bug#16077)
3364
3365 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3366
3367 * rect.el (rectangle-mark-mode): Activate mark even if
3368 transient-mark-mode is off (bug#16066).
3369 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3370 is > mark and at bolp.
3371
3372 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3373 (region-extract-function): Use it.
3374 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3375 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3376 Delete functions.
3377 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3378 kill-ring-save, kill-region, delete-char, delete-forward-char.
3379 Ignore self-insert-iso.
3380
3381 * emulation/cua-gmrk.el (cua--init-global-mark):
3382 Ignore `self-insert-iso'.
3383
3384 * emulation/cua-base.el (cua--prefix-copy-handler)
3385 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3386 checking cua--rectangle.
3387 (cua-delete-region): Use region-extract-function.
3388 (cua-replace-region): Delete function.
3389 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3390 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3391 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3392 (cua--init-keymaps): Don't remap delete-selection commands.
3393 (cua-mode): Use delete-selection-mode instead of rolling our own
3394 (bug#16085).
3395
3396 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3397 Obey region-extract-function.
3398
3399 Make registers and delete-selection-mode work on rectangles.
3400 * register.el (describe-register-1): Don't modify the register's value.
3401 (copy-to-register): Obey region-extract-function.
3402 * delsel.el (delete-active-region): Obey region-extract-function.
3403
3404 2013-12-08 Leo Liu <sdl.web@gmail.com>
3405
3406 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3407 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3408 (flymake-compilation-prevents-syntax-check)
3409 (flymake-start-syntax-check-on-newline)
3410 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3411 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3412 (flymake-xml-program, flymake-master-file-dirs)
3413 (flymake-master-file-count-limit)
3414 (flymake-allowed-file-name-masks): Relocate.
3415 (flymake-makehash, flymake-float-time)
3416 (flymake-replace-regexp-in-string, flymake-split-string)
3417 (flymake-get-temp-dir): Remove.
3418 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3419 (flymake-current-row, flymake-selected-frame)
3420 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3421 related functions. (Bug#16077)
3422
3423 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3424
3425 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3426
3427 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3428
3429 * help-fns.el (describe-function-1): Use new advice-* functions
3430 rather than old ad-* functions. Fix function type description and
3431 source links for advised functions and subrs.
3432
3433 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3434
3435 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3436
3437 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3438
3439 * progmodes/compile.el (compilation-start):
3440 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3441
3442 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3443 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3444
3445 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3446
3447 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3448 Touch up the last change.
3449
3450 2013-12-06 Leo Liu <sdl.web@gmail.com>
3451
3452 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3453 (inferior-octave-startup): Always use "octave> " for prompt.
3454 (octave-goto-function-definition)
3455 (octave-sync-function-file-names)
3456 (octave-find-definition-default-filename): Remove redundant backquotes.
3457
3458 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3459
3460 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3461 syntax for `?'.
3462 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3463 where appropriate already.
3464 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3465 end of method names (Bug#15874).
3466
3467 2013-12-06 Juri Linkov <juri@jurta.org>
3468
3469 * isearch.el (isearch--saved-overriding-local-map):
3470 New internal variable.
3471 (isearch-mode): Set it to the initial value of
3472 `overriding-terminal-local-map'.
3473 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3474 with `isearch--saved-overriding-local-map'. (Bug#16035)
3475
3476 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3477
3478 * progmodes/octave.el (inferior-octave-completion-table):
3479 Turn back into function, use `completion-table-with-cache'
3480 (Bug#11906). Update all references.
3481
3482 * minibuffer.el (completion-table-with-cache): New function.
3483
3484 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3485
3486 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3487
3488 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3489
3490 * net/eww.el (eww-current-source): New variable to store page
3491 source.
3492 (eww-display-html, eww-mode, eww-save-history)
3493 (eww-restore-history): Use it.
3494 (eww-view-source): New command to view page source.
3495 Opportunistically uses `html-mode' to highlight the buffer.
3496 (eww-mode-map): Install it.
3497
3498 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3499
3500 * net/dbus.el (dbus-unregister-service)
3501 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3502 Fix docstring.
3503 (dbus-unregister-service): Skip :serial entries in
3504 `dbus-registered-objects-table'.
3505 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3506
3507 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3508
3509 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3510 around keywords with extra `split-string' argument.
3511
3512 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3513
3514 * windmove.el (windmove-other-window-loc): Handle navigation
3515 between windows (excluding the minibuffer window - Bug#16017).
3516
3517 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3518
3519 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3520 in D-Bus type syntax.
3521 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3522 preserve unibyte strings. (Bug#16048)
3523
3524 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3527 Call force-mode-line-update is the proper buffer (bug#16042).
3528
3529 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3530
3531 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3532 `log-edit-remember-comment', make argument optional. Adjust all
3533 callers.
3534 (log-edit-mode): Add `log-edit-remember-comment' to
3535 `kill-buffer-hook' locally.
3536 (log-edit-kill-buffer): Don't remember comment explicitly since
3537 the buffer is killed anyway.
3538
3539 2013-12-04 Juri Linkov <juri@jurta.org>
3540
3541 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3542 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3543
3544 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3545
3546 * notifications.el (notifications-close-notification): Call the
3547 D-Bus method with ID being a `:uint32'. (Bug#16030)
3548
3549 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3550
3551 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3552
3553 2013-12-03 Juri Linkov <juri@jurta.org>
3554
3555 * progmodes/compile.el (compilation-start): Rename window alist
3556 entry `no-display-ok' to `allow-no-window'.
3557
3558 * simple.el (shell-command): Add window alist entry
3559 `allow-no-window' to `display-buffer'.
3560 (async-shell-command): Doc fix.
3561
3562 * window.el (display-buffer-no-window): New action function.
3563 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3564
3565 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3566
3567 * vc/log-edit.el (log-edit-set-header): Extract from
3568 `log-edit-toggle-header'.
3569 (log-edit-extract-headers): Separate the summary, when extracted
3570 from header, from the rest of the message with an empty line.
3571
3572 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3573 line, if present, to the Summary header.
3574
3575 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3578 in current-buffer (bug#16029).
3579
3580 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3581
3582 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3583 (debugger-mode-map): Bind it.
3584 (debugger--backtrace-base): New function.
3585 (debugger-eval-expression): Use it.
3586 (debugger-frame-number): Skip local vars when present.
3587 (debugger--locals-visible-p, debugger--insert-locals)
3588 (debugger--show-locals, debugger--hide-locals): New functions.
3589
3590 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3591
3592 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3593 "LC_ALL".
3594 (tramp-get-remote-locale): New defun.
3595 (tramp-open-connection-setup-interactive-shell): Use it.
3596
3597 2013-12-02 Leo Liu <sdl.web@gmail.com>
3598
3599 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3600
3601 * progmodes/sh-script.el (sh-shell-process):
3602 * progmodes/octave.el (inferior-octave-process-live-p):
3603 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3604 (gdb-inferior-io-sentinel):
3605 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3606
3607 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3608
3609 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3610 `save-selected-window' to `log-edit-hide-buf'. This makes
3611 `log-edit-show-files' idempotent.
3612 (log-edit-show-files): Mark the new window as dedicated.
3613
3614 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3615
3616 * vc/log-edit.el (log-edit-mode-map): Add binding for
3617 `log-edit-kill-biffer'.
3618 (log-edit-hide-buf): Add a FIXME comment.
3619 (log-edit-add-new-comment): New function, extracted from
3620 `log-edit-done'.
3621 (log-edit-done, log-edit-add-to-changelog): Use it.
3622 (log-edit-kill-buffer): New command.
3623
3624 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3625
3626 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3627 instead of killing the buffer.
3628
3629 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3632
3633 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3634
3635 * net/eww.el (eww-form-checkbox-selected-symbol)
3636 (eww-form-checkbox-symbol): New customizable variable.
3637 (eww-form-checkbox, eww-toggle-checkbox):
3638 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3639
3640 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3641 (shr--get-media-pref, shr--extract-best-source): New function.
3642 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3643 no :src tag was specified.
3644
3645 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3646 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3647 Use \\` to match beginning of string instead of ^.
3648 (eww-browse-with-external-browser): Provide optional URL parameter.
3649 (eww-render): Set `eww-current-title' back to "".
3650
3651 * net/shr.el (shr-tag-video): Display content for video if no
3652 poster is available.
3653 (shr-tag-audio): Add support for <audio> tag.
3654
3655 * net/eww.el (eww-text-input-types): New const.
3656 (eww-process-text-input): Treat input types in
3657 `eww-text-input-types' as text.
3658
3659 * net/shr.el (shr-tag-table): Fix comment typo.
3660
3661 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3662
3663 * net/eww.el (eww-follow-link): New command to avoid reloading
3664 pages when we follow #target links (bug#15243).
3665 (eww-quit): Special mode buffers shouldn't query before exiting.
3666
3667 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3668
3669 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3670 forms.
3671
3672 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3673
3674 * net/eww.el (eww-restore-history): Update the window title after
3675 moving in the history.
3676 (eww-current-dom): New variable used to save the current DOM.
3677
3678 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3679
3680 * vc/log-edit.el (log-edit-mode-map): Add binding for
3681 `log-edit-beginning-of-line'.
3682 (log-edit-setup-add-author): New user option.
3683 (log-edit-beginning-of-line): New command.
3684 (log-edit): Move major mode call above the contents setup so that
3685 the local variable values are already applied.
3686 (log-edit): Only insert "Author: " when
3687 `log-edit-setup-add-author' is non-nil.
3688 (log-edit): When SETUP is non-nil, position point after ": "
3689 instead of point-min.
3690
3691 2013-12-01 Glenn Morris <rgm@gnu.org>
3692
3693 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3694
3695 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3696
3697 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3698 redisplay to make sure the initial frame gets a chance to become
3699 visible. (Bug#16014)
3700
3701 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3702
3703 Support resizing frames and windows pixelwise.
3704 * cus-start.el (frame-resize-pixelwise)
3705 (window-resize-pixelwise): New entries.
3706 * emacs-lisp/debug.el (debug): Use window-total-height instead
3707 of window-total-size.
3708 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3709 * help.el (describe-bindings-internal): Use help-buffer as
3710 argument for with-help-window.
3711 (temp-buffer-max-width): New option.
3712 (resize-temp-buffer-window, help-window-setup)
3713 (with-help-window): Rewrite.
3714 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3715 dragging dividers.
3716 * window.el (frame-char-size, window-min-pixel-height)
3717 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3718 (window-min-pixel-width, window-safe-min-pixel-size)
3719 (window-combination-p, window-safe-min-size)
3720 (window-resizable-p, window--size-to-pixel)
3721 (window--pixel-to-size, window--resize-apply-p): New functions.
3722 (window-safe-min-height): Fix doc-string.
3723 (window-size, window-min-size, window--min-size-1)
3724 (window-sizable, window-sizable-p, window--min-delta-1)
3725 (window-min-delta, window--max-delta-1, window-max-delta)
3726 (window--resizable, window--resizable-p, window-resizable)
3727 (window-full-height-p, window-full-width-p, window-at-side-p)
3728 (window--in-direction-2, window-in-direction)
3729 (window--resize-reset-1, window--resize-mini-window)
3730 (window-resize, window-resize-no-error)
3731 (window--resize-child-windows-normal)
3732 (window--resize-child-windows, window--resize-siblings)
3733 (window--resize-this-window, window--resize-root-window)
3734 (window--resize-root-window-vertically)
3735 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3736 (maximize-window, minimize-window, delete-window)
3737 (quit-restore-window, window-split-min-size, split-window)
3738 (balance-windows-2, balance-windows)
3739 (balance-windows-area-adjust, balance-windows-area)
3740 (window--state-get-1, window-state-get, window--state-put-1)
3741 (window--state-put-2, window-state-put)
3742 (display-buffer-record-window, window--display-buffer):
3743 Make functions handle pixelwise sizing of windows.
3744 (display-buffer--action-function-custom-type)
3745 (display-buffer-fallback-action):
3746 Add display-buffer-in-previous-window.
3747 (display-buffer-use-some-window): Resize window to height it had
3748 before.
3749 (fit-window-to-buffer-horizontally): New option.
3750 (fit-frame-to-buffer): Describe new values.
3751 (fit-frame-to-buffer-bottom-margin): Replace with
3752 fit-frame-to-buffer-margins.
3753 (window--sanitize-margin): New function.
3754 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3755 using window-text-pixel-size.
3756
3757 2013-11-30 Glenn Morris <rgm@gnu.org>
3758
3759 * emacs-lisp/bytecomp.el (byte-compile-form):
3760 Make the `interactive-only' warning like the `obsolete' one.
3761 * comint.el (comint-run):
3762 * files.el (insert-file-literally, insert-file):
3763 * replace.el (replace-string, replace-regexp):
3764 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3765 (goto-line, insert-buffer, next-line, previous-line):
3766 Tweak `interactive-only' spec.
3767
3768 Stop keeping (most) generated cedet grammar files in the repository.
3769 * Makefile.in (semantic): New.
3770 (compile-main): Depend on semantic.
3771
3772 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3775 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3776
3777 * uniquify.el (uniquify-buffer-name-style): Change default.
3778
3779 * loadup.el: Preload "uniquify".
3780
3781 * time.el (display-time-update): Update all mode lines (bug#15999).
3782
3783 * electric.el (electric-indent-mode): Enable by default.
3784 * loadup.el: Preload "electric".
3785
3786 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3787
3788 * emacs-lisp/helpers.el (string-empty-p): New function.
3789 (string-blank-p): New function.
3790
3791 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3792
3793 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3794 (Bug#14029).
3795
3796 2013-11-29 Andreas Politz <politza@fh-trier.de>
3797 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3798 allow non-lambda lists as functions.
3799 (imenu--in-alist): Don't recurse into non-subalists.
3800 (imenu): Don't pass function itself as an argument (Bug#14029).
3801
3802 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * progmodes/python.el (python-mode-map): Remove binding for ":".
3805 (python-indent-electric-colon): Remove command.
3806 (python-indent-post-self-insert-function): Integrate the previous code
3807 of python-indent-electric-colon. Make it conditional on
3808 electric-indent-mode.
3809 (python-mode): Add ?: to electric-indent-chars.
3810 Move python-indent-post-self-insert-function to the end of
3811 post-self-insert-hook.
3812
3813 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3814
3815 * doc-view.el (doc-view-goto-page): Update mode-line.
3816
3817 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3818
3819 2013-11-27 Glenn Morris <rgm@gnu.org>
3820
3821 * international/charprop.el, international/uni-bidi.el:
3822 * international/uni-category.el, international/uni-combining.el:
3823 * international/uni-comment.el, international/uni-decimal.el:
3824 * international/uni-decomposition.el, international/uni-digit.el:
3825 * international/uni-lowercase.el, international/uni-mirrored.el:
3826 * international/uni-name.el, international/uni-numeric.el:
3827 * international/uni-old-name.el, international/uni-titlecase.el:
3828 * international/uni-uppercase.el:
3829 Remove generated files from VCS repository.
3830
3831 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3832
3833 * filenotify.el (file-notify-add-watch): Don't special-case
3834 w32notify when computing the directory to watch.
3835
3836 2013-11-27 Glenn Morris <rgm@gnu.org>
3837
3838 Make bootstrap without generated uni-*.el files possible again.
3839 * loadup.el: Update command-line-args checking for unidata-gen.
3840 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3841 * composite.el, international/characters.el:
3842 Handle unicode tables being undefined.
3843
3844 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3845 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3846 (compile-main): Depend on leim rule.
3847 (leim): New rule.
3848 * loadup.el: Move leim-list.el to leim/ subdirectory.
3849 * startup.el (normal-top-level): No more leim directory.
3850 * international/ja-dic-cnv.el (skkdic-convert):
3851 Disable version-control and autoloads in output files.
3852 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3853 Disable version-control and autoloads in output files.
3854 * leim/quail: Move here from ../leim.
3855 * leim/quail/hangul.el (hangul-input-method-activate):
3856 Add autoload cookie.
3857 (generated-autoload-load-name): Set file-local value.
3858 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3859 (generated-autoload-load-name): Set file-local value.
3860
3861 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3862
3863 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3864 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3865 (eww-quit): Ask confirmation before quitting eww.
3866
3867 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3868
3869 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3870 reading output from Diff on MS-Windows and MS-DOS.
3871
3872 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3873
3874 * emacs-lisp/helpers.el (string-reverse): New function.
3875
3876 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3877
3878 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3879 names on MS Windows, like "/[::1]:".
3880
3881 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3882 SWITCHES.
3883
3884 2013-11-26 Glenn Morris <rgm@gnu.org>
3885
3886 * progmodes/python.el (python-indent-guess-indent-offset):
3887 Avoid corner-case error. (Bug#15975)
3888
3889 Preload leim-list.el. (Bug#4789)
3890 * loadup.el: Load leim-list.el when found.
3891 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3892
3893 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3894
3895 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3896
3897 * emacs-lisp/helpers.el (string-join): New function.
3898
3899 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3900
3901 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3902 Mark as obsolete and replace it with a symbol property.
3903 (byte-compile-form): Use new 'interactive-only property.
3904 * comint.el, files.el, replace.el, simple.el:
3905 Apply new 'interactive-only properly.
3906
3907 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3908
3909 * window.el (display-buffer-at-bottom): Make sure that
3910 split-window-sensibly creates the new window on bottom
3911 (Bug#15961).
3912
3913 2013-11-23 David Kastrup <dak@gnu.org>
3914
3915 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3916 on the conflict markers when available.
3917 (smerge--get-marker): New function.
3918 (smerge-end-re, smerge-base-re): Add subgroup.
3919
3920 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3921
3922 * frame.el (handle-focus-in, handle-focus-out): Add missing
3923 interactive spec.
3924
3925 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3926
3927 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3928 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3929
3930 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3931
3932 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3933 (gomoku--last-pos): New var.
3934 (gomoku--intangible-chars): New const.
3935 (gomoku--intangible): New function.
3936 (gomoku-mode): Use it. Derive from special-mode.
3937 (gomoku-move-up): Adjust line count.
3938 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3939 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3940 Simplify accordingly.
3941
3942 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3943 Remove blink-cursor code.
3944 (blink-cursor-timer-function, blink-cursor-suspend):
3945 Don't special-case GUIs.
3946 (blink-cursor-mode): Use focus-in/out-hook.
3947
3948 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3949
3950 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3951 work when annotation is invisible (Bug#13886).
3952
3953 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3954
3955 * json.el (json-alist-p): Only return non-nil if the alist has
3956 simple keys (Bug#13518).
3957
3958 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3959
3960 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3961 when control-statement is the first statement in a buffer (Bug#15956).
3962
3963 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3964
3965 * imenu.el (imenu-generic-skip-comments-and-strings):
3966 New option (Bug#15560).
3967 (imenu--generic-function): Use it.
3968
3969 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3970
3971 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3972 (Bug#13898)
3973
3974 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3975
3976 * emacs-lisp/helpers.el: Add some string helpers.
3977 (string-trim-left): Removes leading whitespace.
3978 (string-trim-right): Removes trailing whitespace.
3979 (string-trim): Removes leading and trailing whitespace.
3980
3981 * subr.el (string-suffix-p): New function.
3982
3983 2013-11-23 Glenn Morris <rgm@gnu.org>
3984
3985 * progmodes/python.el (python-shell-send-file):
3986 Add option to delete file when done. (Bug#15647)
3987 (python-shell-send-string, python-shell-send-region): Use it.
3988
3989 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3990
3991 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3992 to set buffer-read-only to t, never to nil. (Bug#15938)
3993
3994 * textmodes/tex-mode.el (latex-noindent-environments):
3995 Add safe-local-variable property. (Bug#15936)
3996
3997 2013-11-23 Glenn Morris <rgm@gnu.org>
3998
3999 * textmodes/enriched.el (enriched-mode): Doc fix.
4000 * emacs-lisp/authors.el (authors-renamed-files-alist):
4001 Add enriched.doc -> enriched.txt.
4002
4003 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4004
4005 2013-11-22 Leo Liu <sdl.web@gmail.com>
4006
4007 * progmodes/octave.el (inferior-octave-startup): Spit out error
4008 message.
4009
4010 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4011
4012 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4013 Improve docstring.
4014 Add :version.
4015 (ruby-encoding-magic-comment-style): Add :version.
4016
4017 2013-11-22 Leo Liu <sdl.web@gmail.com>
4018
4019 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4020 (Bug#15076)
4021 (octave-help-mode): Adapt to change to help-mode-finish to use
4022 derived-mode-p on 2013-09-17.
4023 (inferior-octave-prompt): Also match octave-gui.
4024 (octave-kill-process): Don't ask twice. (Bug#10564)
4025
4026 2013-11-22 Leo Liu <sdl.web@gmail.com>
4027
4028 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4029 (inferior-octave-startup, inferior-octave-check-process)
4030 (inferior-octave-track-window-width-change)
4031 (octave-completion-at-point, octave-eldoc-function): Use it.
4032 (octave-kill-process): Provide confirmation. (Bug#10564)
4033
4034 2013-11-21 Leo Liu <sdl.web@gmail.com>
4035
4036 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4037 Fix obsolete variable comment-use-global-state.
4038
4039 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4040
4041 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4042 Add `octave-source-file'.
4043 (octave-source-file): New function. (Bug#15935)
4044
4045 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4046
4047 * net/eww.el (eww-local-regex): New variable.
4048 (eww): Use it to detect localhost and similar.
4049
4050 2013-11-21 Leo Liu <sdl.web@gmail.com>
4051
4052 Add completion for command `ag'.
4053 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4054 (pcomplete/ag): New function.
4055 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4056
4057 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4060 (bug#14646).
4061 (make-obsolete): Remove interactive spec.
4062
4063 2013-11-21 Glenn Morris <rgm@gnu.org>
4064
4065 * startup.el (command-line-1): Use path-separator with -L.
4066
4067 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4068
4069 * emacs-lisp/package.el (describe-package-1): Add package archive
4070 to shown fields.
4071
4072 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4073
4074 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4075 Change default to "# encoding: %s" to differentiate it from the
4076 default Ruby encoding comment template.
4077
4078 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4079
4080 * ses.el (ses-mode): Doc fix. (Bug#14748)
4081
4082 2013-11-20 Leo Liu <sdl.web@gmail.com>
4083
4084 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4085
4086 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4087
4088 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4089 when rebase or bisect are in progress.
4090
4091 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4092
4093 * filenotify.el (file-notify-add-watch): Doc fix.
4094
4095 2013-11-19 Leo Liu <sdl.web@gmail.com>
4096
4097 * obsolete/rcompile.el: Mark obsolete.
4098
4099 * progmodes/compile.el (compilation-start)
4100 (compilation-goto-locus, compilation-find-file):
4101 Pass no-display-ok and handle nil value from display-buffer.
4102 (Bug#13594)
4103
4104 * window.el (display-buffer-alist, display-buffer): Document the
4105 new parameter no-display-ok. Return either a window or nil
4106 but never a non-window value.
4107
4108 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * electric.el (electric-indent-mode-map): Remove.
4111 (electric-indent-mode): Change the global-map instead (bug#15915).
4112
4113 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4114 Use add-function.
4115
4116 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * emacs-lisp/nadvice.el (remove-function): Align with
4119 add-function's behavior.
4120
4121 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4122 (gdb--string-regexp): New constant.
4123 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4124 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4125 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4126 submatch 1.
4127 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4128 Adjust use accordingly.
4129 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4130
4131 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4132
4133 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4134 interpolation curlies (Bug#15914).
4135
4136 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4137
4138 * calc/calc.el (calc-context-sensitive-enter): New variable.
4139 (calc-enter): Use `calc-context-sensitive-enter'.
4140
4141 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4142
4143 * progmodes/cfengine.el: Version bump.
4144 (cfengine-cf-promises): New defcustom to locate cf-promises.
4145 (cfengine3-vartypes): Add new "data" type.
4146 (cfengine3--current-word): New function to get current name-like
4147 word or its bounds.
4148 (cfengine3--current-function): New function to look up a CFEngine
4149 function's definition.
4150 (cfengine3-format-function-docstring): New function.
4151 (cfengine3-make-syntax-cache): New function.
4152 (cfengine3-documentation-function): New function: ElDoc glue.
4153 (cfengine3-completion-function): New function: completion glue.
4154 (cfengine3-mode): Set `compile-command',
4155 `eldoc-documentation-function', and add to
4156 `completion-at-point-functions'.
4157
4158 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4159
4160 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4161 `tramp-current-connection'.
4162
4163 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4164
4165 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4166 nil/self/true/false with "end of symbol".
4167
4168 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4169
4170 * subr.el (version-regexp-alist): Fix a typo.
4171
4172 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4173
4174 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4175 "en_US.utf8" and "LC_CTYPE" to "".
4176 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4177 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4178
4179 2013-11-15 Leo Liu <sdl.web@gmail.com>
4180
4181 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4182
4183 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4184
4185 * progmodes/gud.el (ctl-x-map):
4186 Remove C-x SPC binding. (Bug#12342)
4187 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4188
4189 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4190
4191 * subr.el (version-regexp-alist):
4192 Recognize hg, svn and darcs versions as snapshot versions.
4193
4194 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4195 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4196 (ruby--encoding-comment-required-p): Extract from
4197 `ruby-mode-set-encoding'.
4198 (ruby-mode-set-encoding): Add the ability to always insert an
4199 utf-8 encoding comment. Fix and simplify coding comment update
4200 logic.
4201
4202 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4203
4204 * net/tramp-gvfs.el (top): Run init code only when
4205 `tramp-gvfs-enabled' is not nil.
4206 (tramp-gvfs-enabled): Check also :system bus.
4207
4208 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 Sync with upstream verilog-mode revision 78e66ba.
4211 * progmodes/verilog-mode.el (verilog-end-of-defun)
4212 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4213 (verilog-get-end-of-defun): Remove unused argument.
4214 (verilog-comment-depth): Remove unused local `e'.
4215 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4216 Don't pass arg to verilog-get-end-of-defun.
4217
4218 2013-11-14 Glenn Morris <rgm@gnu.org>
4219
4220 * obsolete/assoc.el (aget): Prefix dynamic variable.
4221
4222 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4223
4224 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4225
4226 * widget.el, hfy-cmap.el: Remove bogus package version number.
4227
4228 2013-11-13 Glenn Morris <rgm@gnu.org>
4229
4230 * replace.el (replace-eval-replacement):
4231 Try to give more helpful error message. (Bug#15836)
4232
4233 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4234 (archive-7z-update): Avoid custom type mismatches.
4235
4236 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4237
4238 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4239
4240 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4241 address can be empty.
4242
4243 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4244 Accept nil SWITCHES.
4245 (tramp-gvfs-handle-write-region): Implement APPEND.
4246
4247 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4248
4249 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4250 binary "|" operator and closing block args delimiter.
4251 Remove FIXME comment referring to Ruby 1.8-only syntax.
4252 (ruby-smie--implicit-semi-p): Not after "|" operator.
4253 (ruby-smie--closing-pipe-p): New function.
4254 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4255 (ruby-smie-rules): Indent after "|".
4256
4257 2013-11-12 Glenn Morris <rgm@gnu.org>
4258
4259 * ps-print.el (ps-face-attribute-list):
4260 Handle anonymous faces. (Bug#15827)
4261
4262 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4263
4264 * window.el (display-buffer-other-frame): Fix doc-string.
4265 (Bug#15868)
4266
4267 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4268
4269 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4270
4271 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4272
4273 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4274 (tramp-sh-handle-file-local-copy): Don't write a message when
4275 saving temporary files.
4276
4277 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4278 both directories are remote.
4279 (tramp-smb-handle-directory-files): Do not return double entries.
4280 Do not expand full file names.
4281 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4282 (tramp-smb-handle-write-region): Implement APPEND.
4283 (tramp-smb-get-stat-capability): Fix a stupid bug.
4284
4285 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4288
4289 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4290
4291 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4292 throwing error over malformed let/let* (bug#15814).
4293
4294 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4295
4296 * iswitchb.el (iswitchb-mode): Mark obsolete.
4297
4298 2013-11-11 Glenn Morris <rgm@gnu.org>
4299
4300 * international/uni-bidi.el, international/uni-category.el:
4301 * international/uni-name.el, international/uni-numeric.el:
4302 Regenerate for Unicode 6.3.0.
4303
4304 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4305
4306 * net/tramp.el (tramp-methods):
4307 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4308 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4309
4310 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4311
4312 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4313 Force highlighting text after Summary keyword in doc face for rpm.
4314
4315 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4316
4317 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4318 available and the word has no wildcards, append one to the grep pattern.
4319 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4320 (ispell-complete-word): Call `ispell-lookup-words' with the value
4321 independent of `ispell-look-p'.
4322
4323 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4324
4325 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4326 Not after "||".
4327 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4328 their parent.
4329
4330 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4333 (ruby-font-lock-keywords): Use backquote.
4334
4335 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4336
4337 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4338 (ruby-smie--backward-token): Only consider full-string matches.
4339
4340 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4341
4342 * faces.el (describe-face): Add distant-foreground.
4343
4344 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4345
4346 * progmodes/ruby-mode.el: Improve encoding comment handling.
4347 (ruby-encoding-magic-comment-style): New option.
4348 (ruby-custom-encoding-magic-comment-template): New option.
4349 (ruby--insert-coding-comment, ruby--detect-encoding):
4350 New functions extracted from `ruby-mode-set-encoding'.
4351 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4352 to control the style of the auto-inserted encoding comment.
4353
4354 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4355
4356 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4357 Use `smie-backward-sexp' with token argument.
4358
4359 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4360
4361 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4362 Remove instrumentation code.
4363
4364 2013-11-08 Glenn Morris <rgm@gnu.org>
4365
4366 * progmodes/autoconf.el (autoconf-mode):
4367 Tweak comment-start-skip. (Bug#15822)
4368
4369 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4372 at bobp (bug#15826).
4373 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4374
4375 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4376
4377 * man.el (Man-start-calling): New macro, extracted from
4378 Man-getpage-in-background.
4379 (Man-getpage-in-background): Use it.
4380 (Man-update-manpage): New command.
4381 (Man-mode-map): Bind it.
4382
4383 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4384
4385 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4386 of "and", "or", "&&" and "||".
4387 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4388 argument. Prohibit opening curly brace because it could only be a
4389 block opener in that position.
4390 (ruby-smie--forward-token, ruby-smie--backward-token):
4391 Separate "|" from "&" or "*" going after it. That can happen in block
4392 arguments.
4393 (ruby-smie--indent-to-stmt): New function, seeks the end of
4394 previous statement or beginning of buffer.
4395 (ruby-smie-rules): Use it.
4396 (ruby-smie-rules): Check if there's a ":" before a curly block
4397 opener candidate; if there is, it's a hash.
4398
4399 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4402 (cl--block-wrapper): Fix last accidental change.
4403
4404 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4405
4406 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4407 Instrument, in order to hunt failure on hydra.
4408
4409 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4410
4411 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4412 malformed bindings form (bug#15814).
4413
4414 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4415
4416 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4417 "." compared to " @ ". This incidentally fixes some indentation
4418 examples with "do".
4419 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4420 (ruby-smie-grammar): New tokens: "and" and "or".
4421 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4422 Exclude "and" and "or". Remove "do" in order to work around token
4423 priorities.
4424 (ruby-smie-rules): Add all infix tokens. Handle the case of
4425 beginning-of-buffer.
4426
4427 2013-11-06 Glenn Morris <rgm@gnu.org>
4428
4429 * Makefile.in (setwins_almost, setwins_for_subdirs):
4430 Avoid accidental matches.
4431
4432 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4433
4434 * menu-bar.el (popup-menu): Use key-binding.
4435
4436 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4437
4438 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4439 menus, support also the menus produced by minor modes.
4440 (Bug#15817)
4441
4442 2013-11-06 Leo Liu <sdl.web@gmail.com>
4443
4444 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4445 DISTANCE to bound the search. All uses changed. (Bug#15808)
4446
4447 2013-11-06 Glenn Morris <rgm@gnu.org>
4448
4449 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4450 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4451 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4452
4453 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4454
4455 * electric.el (electric-indent-just-newline): New command.
4456 (electric-indent-mode-map): New keymap.
4457 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4458 Re-add :group which weren't redundant.
4459
4460 * electric.el (electric-indent-local-mode): New minor mode.
4461 (electric-indent-functions-without-reindent): New var.
4462 (electric-indent-post-self-insert-function): Use it.
4463 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4464
4465 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4466
4467 * international/quail.el (quail-help): Be more explicit about the
4468 meaning of the labels shown on the keys. (Bug#15800)
4469
4470 * startup.el (normal-top-level): Load the subdirs.el files before
4471 setting the locale environment. (Bug#15805)
4472
4473 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4474
4475 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4476 via arguments so as to get the right ones (bug#15418).
4477
4478 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4479
4480 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4481
4482 Fix problems found while writing a test suite.
4483
4484 * net/tramp-compat.el (tramp-compat-load): New defun.
4485 * net/tramp.el (tramp-handle-load): Use it.
4486
4487 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4488 "(numberp ok-if-already-exists)" correctly.
4489
4490 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4491
4492 * international/characters.el (glyphless-char-display-control):
4493 Add usage note.
4494
4495 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4496
4497 * progmodes/python.el (python-mode):
4498 * progmodes/scheme.el (scheme-mode):
4499 * progmodes/prolog.el (prolog-mode):
4500 * progmodes/ruby-mode.el (ruby-mode):
4501 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4502 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4503
4504 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * rect.el (rectangle--highlight-for-redisplay):
4507 * emacs-lisp/smie.el (smie--next-indent-change):
4508 Use buffer-chars-modified-tick.
4509
4510 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4511
4512 * electric.el (electric-indent-post-self-insert-function):
4513 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4514
4515 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4516
4517 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4518
4519 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4520
4521 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4522 (bug#15786).
4523
4524 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4527
4528 * progmodes/python.el: Fix up last change.
4529 (python-shell--save-temp-file): New function.
4530 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4531 `string' comes from the current buffer.
4532 (python-shell-send-string-no-output): Remove `msg' arg.
4533 (python--use-fake-loc): New var.
4534 (python-shell-buffer-substring): Obey it. Try to compensate for the
4535 extra coding line added by python-shell--save-temp-file.
4536 (python-shell-send-region): Use python-shell--save-temp-file and
4537 python-shell-send-file directly. Add `nomain' argument.
4538 (python-shell-send-buffer): Use python-shell-send-region.
4539 (python-electric-pair-string-delimiter): New function.
4540 (python-mode): Use it.
4541
4542 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4543
4544 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4545 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4546 environment and decoding all of the default-directory's to here
4547 from command-line.
4548 (command-line): Decode also argv[0].
4549
4550 * loadup.el: Error out if default-directory is a multibyte string
4551 when we are dumping.
4552
4553 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4554
4555 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4556
4557 * emacs-lisp/package.el (package-menu-mode)
4558 (package-menu--print-info, package-menu--archive-predicate):
4559 Add Archive column to package list.
4560
4561 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4562
4563 Fix problems found while writing a test suite.
4564
4565 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4566 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4567 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4568 to nil when running original file name handler. Otherwise,
4569 there are problems with constructs like "$$FOO".
4570
4571 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4572 for `localname'.
4573
4574 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4575
4576 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4577
4578 * subr.el (version<, version<=, version=):
4579 Update docstrings with information for snapshot versions.
4580
4581 * helpers.el: New library for misc helper functions.
4582 (hash-table-keys): New function returning a list of hash keys.
4583 (hash-table-values): New function returning a list of hash values.
4584
4585 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4586
4587 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4588 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4589
4590 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4591
4592 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4593 checking whether point is after a 1-letter word.
4594
4595 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4596
4597 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4598 Don't infloop when expanding region over `multiline' syntax-type that
4599 begins a line (bug#15778).
4600
4601 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4602
4603 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4604 Make it into a proper minor mode.
4605 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4606 (rectangle-mark-mode-map): New keymap.
4607 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4608
4609 2013-11-04 Glenn Morris <rgm@gnu.org>
4610
4611 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4612
4613 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4614
4615 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4616 (ruby-smie-rules): Use smie-rule-parent instead.
4617
4618 * emacs-lisp/smie.el (smie-rule-parent): Always call
4619 smie-indent-virtual rather than only for hanging tokens.
4620 (smie--next-indent-change): New helper command.
4621
4622 2013-11-03 Glenn Morris <rgm@gnu.org>
4623
4624 * Makefile.in (abs_srcdir): Remove.
4625 (emacs): Unset EMACSLOADPATH.
4626
4627 2013-11-02 Glenn Morris <rgm@gnu.org>
4628
4629 * Makefile.in (EMACS): Use a relative filename.
4630 (abs_top_builddir): Remove.
4631 (custom-deps, finder-data, autoloads): Use --chdir.
4632
4633 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4634
4635 Use relative filenames in TAGS files.
4636 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4637 (lisptagsfiles4, TAGS): Use relative file names.
4638 (TAGS-LISP): Remove.
4639 (maintainer-clean): No more TAGS-LISP file.
4640
4641 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4642 (lisptagsfiles4): Use absolute filenames again.
4643 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4644 Remove all *loaddefs files, not just the first. Remove esh-groups.
4645 (maintainer-clean): Delete TAGS, TAGS-LISP.
4646
4647 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4648
4649 * emacs-lisp/package.el (package-version-join):
4650 Recognize snapshot versions.
4651
4652 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4653
4654 * subr.el (version-regexp-alist): Add support for snapshot versions.
4655
4656 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4657
4658 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4659 New function, replacement for `smie-rule-parent' for when we want to
4660 skip over our direct parent if it's an assignment token..
4661 (ruby-smie-rules): Use it.
4662
4663 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4664
4665 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4666 unconditionally. Remove now unnecessary forward declarations.
4667 Remove XEmacs-specific setup.
4668 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4669 (ruby-font-lock-syntactic-keywords)
4670 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4671 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4672 (ruby-here-doc-end-syntax): Remove.
4673 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4674 defined as function.
4675
4676 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4677
4678 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4679
4680 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4681
4682 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4683 table and abbrev table, `define-derived-mode' does that for us
4684 anyway.
4685
4686 2013-11-01 Glenn Morris <rgm@gnu.org>
4687
4688 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4689 files is atomic for some time, so no parallel compilation issues).
4690
4691 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4692
4693 * faces.el (face-x-resources): Add :distant-foreground.
4694 (region): Use :distant-foreground for gtk and ns.
4695
4696 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4697
4698 Allow multiple bibliographies when BibLaTeX is used rather than
4699 BibTeX.
4700 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4701 (reftex-locate-bibliography-files): Us it.
4702
4703 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4704
4705 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4706 allow comments in pbm files.
4707
4708 * term/w32-win.el (dynamic-library-alist): Support newer versions
4709 of libjpeg starting with v7: look only for the DLL from the
4710 version against which Emacs was built.
4711 Support versions of libpng beyond 1.4.x.
4712 Support libtiff v4.x.
4713
4714 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4715
4716 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4717 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4718 Add property :safe.
4719 (ruby-deep-arglist): Add property :type.
4720
4721 2013-10-31 Glenn Morris <rgm@gnu.org>
4722
4723 * Makefile.in (custom-deps, finder-data): No need to setq the target
4724 variables, we are in the right directory and the defaults work fine.
4725
4726 2013-10-30 Glenn Morris <rgm@gnu.org>
4727
4728 * Makefile.in (autoloads): Do not use abs_lisp.
4729
4730 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4731 `newline' does not respect `standard-output', so use `princ'.
4732
4733 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4734
4735 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4736 * buff-menu.el (Buffer-menu--unmark): New function.
4737 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4738
4739 2013-10-30 Glenn Morris <rgm@gnu.org>
4740
4741 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4742
4743 * emacs-lisp/package.el (lm-homepage): Declare.
4744
4745 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4746 Fix doc typos.
4747
4748 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4749
4750 * Makefile.in (finder-data, autoloads, update-subdirs)
4751 (compile-main, compile-clean, compile-always, bootstrap-clean):
4752 Check return value of cd.
4753 (compile-calc): Remove.
4754
4755 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4758
4759 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4760 (byte-compile-and-folded): New function.
4761 (=, <, >, <=, >=): Use it.
4762
4763 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4764 (path-separator, null-device, buffer-file-coding-system)
4765 (lpr-headers-switches): Check system-type before modifying them.
4766 (find-buffer-file-type-coding-system): Mark obsolete.
4767 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4768 find-file-not-found-set-buffer-file-coding-system.
4769 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4770 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4771 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4772 (w32-direct-print-region-helper, w32-direct-print-region-function)
4773 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4774 * startup.el (normal-top-level-add-subdirs-to-load-path):
4775 * ps-print.el (ps-print-region-function):
4776 * lpr.el (print-region-function): Use new name.
4777
4778 * subr.el (custom-declare-variable-early): Remove function.
4779 (custom-declare-variable-list): Remove var.
4780 (error, user-error): Remove `while' loop.
4781 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4782 (user-emacs-directory-warning, locate-user-emacs-file):
4783 Move to files.el.
4784 * simple.el (read-quoted-char-radix, read-quoted-char):
4785 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4786 Move from subr.el.
4787 * custom.el (custom-declare-variable-list): Don't process
4788 custom-declare-variable-list.
4789
4790 * progmodes/python.el (python-shell-get-buffer): New function.
4791 (python-shell-get-process): Use it.
4792 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4793 Python which encoding was used. Don't split-string since we only care
4794 about the first line. Return the temp-file, if applicable.
4795 (python-shell-send-region): Tell compile.el how to turn locations in
4796 the temp-file into locations in the source buffer.
4797
4798 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4799
4800 * subr.el (undefined): Add missing behavior from the C code for
4801 unbound keys.
4802
4803 * rect.el: Use lexical-binding. Add new rectangular region support.
4804 (rectangle-mark): New command.
4805 (rectangle--region): New var.
4806 (deactivate-mark-hook): Reset rectangle--region.
4807 (rectangle--extract-region, rectangle--insert-for-yank)
4808 (rectangle--highlight-for-redisplay)
4809 (rectangle--unhighlight-for-redisplay): New functions.
4810 (region-extract-function, redisplay-unhighlight-region-function)
4811 (redisplay-highlight-region-function): Use them to handle
4812 rectangular region.
4813 * simple.el (region-extract-function): New var.
4814 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4815 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4816 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4817 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4818 (redisplay-unhighlight-region-function)
4819 (redisplay-highlight-region-function): New vars.
4820 (redisplay--update-region-highlight): New function.
4821 (pre-redisplay-function): Use it.
4822 (exchange-point-and-mark): Don't deactivate the mark before
4823 reactivate-it anyway.
4824 * comint.el (comint-kill-region): Remove yank-handler argument.
4825 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4826 (delete-char): Remove property, since it's now part of their
4827 default behavior.
4828 (self-insert-iso): Remove property since this command doesn't exist.
4829
4830 * emacs-lisp/package.el (package--download-one-archive)
4831 (describe-package-1): Don't query the user about final newline.
4832
4833 2013-10-29 Daniel Colascione <dancol@dancol.org>
4834
4835 * net/tramp.el (tramp-methods): Document new functionality.
4836 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4837 tramp-hostname-checker if method provides one instead of scanning
4838 argument list for "%h" to decide hostname acceptability.
4839
4840 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4841
4842 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4843 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4844 Handle COPY-CONTENTS. (Bug#15737)
4845
4846 2013-10-28 Daiki Ueno <ueno@gnu.org>
4847
4848 * epa-file.el
4849 (epa-file-cache-passphrase-for-symmetric-encryption):
4850 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4851
4852 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4853
4854 * image.el (defimage, image-load-path): Doc fixes.
4855
4856 2013-10-27 Alan Mackenzie <acm@muc.de>
4857
4858 Indent statements in macros following "##" correctly.
4859 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4860 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4861
4862 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4863
4864 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4865
4866 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4867
4868 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4869 after `=' is probably a new expression.
4870
4871 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4872
4873 * man.el (man-imenu-title): New option.
4874 (Man-mode-map): Add menu. (Bug#15722)
4875 (Man-mode): Add imenu to menu.
4876
4877 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4878
4879 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4880 specific in what the first arg can be: a non-keyword word,
4881 string/regexp/percent literal opener, opening paren, or unary
4882 operator followed directly by word.
4883
4884 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4887 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4888 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4889 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4890 Remove vars, they do not apply any more.
4891 (prolog-mode-abbrev-table): Remove redundant declaration.
4892 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4893 (prolog-use-smie): Remove.
4894 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4895 supported by prolog-electric-if-then-else-flag.
4896 (prolog-mode-variables, prolog-menu): Use setq-local.
4897 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4898 Remove binding to `Backspace' since this key doesn't exist anyway.
4899 Remove bindings for electric self-inserting keys.
4900 (prog-mode): Assume it's defined.
4901 (prolog-post-self-insert): New function.
4902 (prolog-mode): Use it.
4903 (prolog-indent-line, prolog-indent-level)
4904 (prolog-find-indent-of-matching-paren)
4905 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4906 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4907 (prolog-goto-next-paren, prolog-in-string-or-comment)
4908 (prolog-tokenize, prolog-inside-mline-comment)
4909 (prolog-find-start-of-mline-comment): Remove functions.
4910 (prolog-find-unmatched-paren, prolog-clause-end)
4911 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4912 (prolog-electric--if-then-else): Rename from
4913 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4914 (prolog-tokenize-searchkey): Remove const.
4915 (prolog-clause-info): Use forward-sexp.
4916 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4917 (prolog-electric-if-then-else): Remove commands.
4918 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4919 for use in post-self-insert-hook.
4920 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4921 for use in post-self-insert-hook.
4922 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4923 for use in post-self-insert-hook.
4924 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4925 adapt it for use in post-self-insert-hook.
4926
4927 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4928
4929 * emacs-lisp/ert.el (ert-run-tests-interactively):
4930 Use `completing-read'. (Bug#9756)
4931
4932 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4933
4934 * simple.el (line-move): Call line-move-1 instead of
4935 line-move-visual when the current window hscroll is zero, but
4936 temporary-goal-column indicates we will need to hscroll as result
4937 of the movement. (Bug#15712)
4938
4939 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4940
4941 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4942 capitalization. Use :visible instead of :active.
4943 Fix `ruby-indent-exp' reference. Add menu items for the generic
4944 commands that are used with SMIE.
4945 (ruby-do-end-to-brace): Insert space after `{'.
4946
4947 2013-10-25 John Anthony <john@jo.hnanthony.com>
4948
4949 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4950
4951 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4952
4953 2013-10-25 Glenn Morris <rgm@gnu.org>
4954
4955 * vc/vc.el (vc-print-log): Don't use a working revision unless
4956 one was explicitly specified. (Bug#15322)
4957
4958 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * subr.el (add-to-list): Preserve return value in compiler-macro
4961 (bug#15692).
4962
4963 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4964
4965 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4966 result. Ask user to retry using '-all' flag. (Bug#15701)
4967
4968 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4969
4970 * emacs-lisp/smie.el: New smie-config system.
4971 (smie-config): New defcustom.
4972 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4973 (smie-config-guess, smie-config-save): New commands.
4974 (smie-config--mode-local, smie-config--buffer-local)
4975 (smie-config--trace, smie-config--modefuns): New vars.
4976 (smie-config--advice, smie-config--mode-hook)
4977 (smie-config--setter, smie-config-local, smie-config--get-trace)
4978 (smie-config--guess-value, smie-config--guess): New functions.
4979 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4980 text properties. Treat "string fence" syntax like string syntax.
4981
4982 * progmodes/sh-script.el (sh-use-smie): Change default.
4983 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4984 (sh-var-value): Simplify by CSE.
4985 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4986 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4987 is used.
4988 (sh-guess-basic-offset): Use cl-incf.
4989 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4990
4991 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4992
4993 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4994 (bug#15699).
4995
4996 2013-10-24 Glenn Morris <rgm@gnu.org>
4997
4998 * Makefile.in (abs_top_srcdir): Remove.
4999 (update-subdirs): Use relative path to update-subdirs.
5000
5001 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5002
5003 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5004 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5005 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5006 Call unmsys--file-name before expand-file-name, not after it.
5007
5008 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5009
5010 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5011 (ert-test-skipped): New error.
5012 (ert-skip, ert-stats-skipped): New defuns.
5013 (ert--skip-unless): New macro.
5014 (ert-test-skipped): New struct.
5015 (ert--run-test-debugger, ert-test-result-type-p)
5016 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5017 (ert--stats-set-test-and-result, ert-char-for-test-result)
5018 (ert-string-for-test-result, ert-run-tests-batch)
5019 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5020 Handle skipped tests. (Bug#9803)
5021
5022 2013-10-24 Glenn Morris <rgm@gnu.org>
5023
5024 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5025
5026 * Makefile.in (abs_top_srcdir): New, set by configure.
5027 (update-subdirs): Correct build-aux location.
5028
5029 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5030
5031 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5032 value, whether we could auto-deduce `backend', or not.
5033
5034 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5035 with parameters" example. Simplify the "is it block or is it
5036 hash" check, but also make it more thorough.
5037
5038 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5039
5040 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5041
5042 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5043
5044 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5045 { if it is hanging.
5046
5047 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5048 :before ";".
5049
5050 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5051
5052 * progmodes/compile.el (compilation-directory-matcher)
5053 (compilation-page-delimiter):
5054 Support GNU Make-4.0 directory quoting. (Bug#15678)
5055
5056 2013-10-23 Leo Liu <sdl.web@gmail.com>
5057
5058 * ido.el (ido-tidy): Handle read-only text.
5059
5060 2013-10-23 Glenn Morris <rgm@gnu.org>
5061
5062 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5063 (emacs, compile, compile-always):
5064 Quote entities that might contain whitespace.
5065 (custom-deps, finder-data, autoloads): Use abs_lisp.
5066 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5067 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5068 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5069
5070 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5071
5072 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5073 Use `following-char'.
5074
5075 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5078 * progmodes/ruby-mode.el (ruby-smie-rules):
5079 Remove corresponding workaround. Fix indentation rule of ";" so it
5080 also applies when ";" is the parent.
5081
5082 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5083
5084 * frame.el (display-screens, display-pixel-height)
5085 (display-pixel-width, display-mm-width, display-backing-store)
5086 (display-save-under, display-planes, display-color-cells)
5087 (display-visual-class, display-monitor-attributes-list):
5088 Mention the optional ‘display’ argument in doc strings.
5089
5090 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5091
5092 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5093 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5094
5095 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5096
5097 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5098 TODO. Add "." after " @ ".
5099 (ruby-smie--at-dot-call): New function. Checks if point at method
5100 call with explicit target.
5101 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5102 to the method name tokens when it precedes them.
5103 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5104 (ruby-smie-rules): Add rule for indentation before and after "."
5105 token.
5106
5107 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * textmodes/remember.el (remember-diary-extract-entries):
5110 Avoid add-to-list.
5111
5112 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5113 an instruction.
5114
5115 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5116
5117 * progmodes/ruby-mode.el (ruby-smie-grammar):
5118 Add (almost) all infix operators.
5119 (ruby-smie--implicit-semi-p): Add new operator chars.
5120
5121 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5122 `smie-down-list'.
5123 (ruby-smie--args-separator-p): Check that there's no newline
5124 between method call and its arguments.
5125
5126 2013-10-20 Alan Mackenzie <acm@muc.de>
5127
5128 Allow comma separated lists after Java "implements".
5129
5130 * progmodes/cc-engine.el (c-backward-over-enum-header):
5131 Parse commas.
5132 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5133 from a "disallowed" list in enum fontification.
5134
5135 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5136
5137 * startup.el (default-frame-background-mode): Remove unused defvar.
5138
5139 * progmodes/verilog-mode.el (verilog-mode): Don't set
5140 comment-indent-function globally.
5141
5142 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5143
5144 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5145 Move Info menu item creation to ns-win.el.
5146
5147 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5148 in menu bar.
5149
5150 * menu-bar.el: Move GNUstep specific menus...
5151
5152 * term/ns-win.el (ns-initialize-window-system): ... to here.
5153
5154 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5155
5156 * simple.el (newline): Only run post-self-insert-hook when
5157 called interactively.
5158
5159 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5160
5161 * icomplete.el (icomplete-with-completion-tables): Add :version.
5162
5163 2013-10-19 Alan Mackenzie <acm@muc.de>
5164
5165 Fix fontification bugs with constructors and const.
5166
5167 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5168 CASE 2) Remove the check for the absence of a suffix construct
5169 after a function declaration with only types (no identifiers) in
5170 the parentheses. Also, accept a function declaration with just a
5171 type inside the parentheses, if this type can be positively
5172 recognised as such, or if a prefix keyword like "explicit" nails
5173 down the construct as a declaration.
5174
5175 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5176
5177 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5178 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5179 the problem whereby selecting a menu item that leads to a
5180 minibuffer prompt moves the cursor out of the minibuffer window,
5181 making it hard to type at the prompt. Suggested by Stefan Monnier
5182 <monnier@iro.umontreal.ca>.
5183
5184 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5185
5186 * menu-bar.el: Don't make Services menu.
5187
5188 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5189
5190 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5191 (ffap-alist): Use ffap-c++-mode for c++-mode.
5192 (ffap-c++-path): New variable.
5193 (ffap-c++-mode): New function.
5194
5195 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5196
5197 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5198
5199 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5200
5201 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5202 introduced on 2013-09-08, which results in an infinite loop
5203 requesting a password.
5204
5205 2013-10-18 Glenn Morris <rgm@gnu.org>
5206
5207 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5208
5209 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5210
5211 Sync with upstream verilog-mode revision 1a6ecec7.
5212 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5213 (verilog-mode-release-date): Remove.
5214 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5215 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5216 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5217 (verilog-auto-tieoff-ignore-regexp)
5218 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5219 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5220 (verilog-signals-with, verilog-dir-cache-preserving)
5221 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5222 Doc fixes.
5223 (verilog-case-fold): New option, to control case folding in
5224 regexp searches, bug597.
5225 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5226 (verilog-string-match-fold, verilog-in-paren-count)
5227 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5228 (verilog-at-close-struct-p): New functions.
5229 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5230 (verilog-forward-sexp, verilog-set-auto-endcomments)
5231 (verilog-leap-to-case-head): Handle "unique0" case.
5232 (verilog-in-constraint-re): New constant.
5233 (verilog-keywords, verilog-type-font-keywords):
5234 Add some SystemVerilog 1800-2012 keywords.
5235 (verilog-label-be): Remove unimplemented argument, bug669.
5236 (verilog-batch-execute-func): When batch expanding clear
5237 create-lockfiles to prevent spurious user locks when a file ends
5238 up not changing.
5239 (verilog-calculate-indent, verilog-calc-1)
5240 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5241 (verilog-do-indent): Fix indentation of nested constraints
5242 and structures.
5243 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5244 (verilog-auto-inst-param): Use verilog-string-match-fold.
5245 (verilog-read-inst-module-matcher):
5246 Fix AUTOINST on gate primitives with #1.
5247 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5248 Reads all user-defined typed variables.
5249 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5250 (verilog-signals-matching-regexp)
5251 (verilog-signals-not-matching-regexp, verilog-auto):
5252 Respect verilog-case-fold.
5253 (verilog-diff-report): Fix line count.
5254 (verilog-auto-assign-modport): Remove unused local `modi'.
5255 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5256 better handle multidimensional arrays.
5257 Fix packed array ports misadding bit index in AUTOINST, bug637.
5258 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5259 to not double-declare existing outputs and inputs, respectively.
5260 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5261 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5262 (verilog-sk-uvm-component): New skeleton.
5263 (verilog-submit-bug-report): Add verilog-case-fold,
5264 remove verilog-mode-release-date.
5265
5266 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5267
5268 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5269 as before.
5270
5271 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5272
5273 * textmodes/remember.el (remember): Set buffer-offer-save in
5274 remember buffers (bug#13566).
5275
5276 2013-10-18 Daniel Colascione <dancol@dancol.org>
5277
5278 When evaluating forms in ielm, direct standard output to ielm
5279 buffer. Add new ielm-return-for-effect command. Remove trailing
5280 whitespace throughout.
5281
5282 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5283 (ielm-return-for-effect): New command.
5284 (ielm-send-input): Accept optional `for-effect' parameter.
5285 (ielm-eval-input): Accept optional `for-effect' parameter.
5286 Bind `standard-output' to stream we create using
5287 `ielm-standard-output-impl'. Suppress printing result when
5288 `for-effect'.
5289 (ielm-standard-output-impl): New function.
5290 (inferior-emacs-lisp-mode): Explain new features in documentation.
5291
5292 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5293
5294 Code cleanup.
5295
5296 * net/tramp.el (tramp-debug-message): Do not check for connection
5297 buffer.
5298 (tramp-message): Use "vector" connection property.
5299
5300 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5301 (tramp-equal-remote, tramp-eshell-directory-change)
5302 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5303 (tramp-adb-handle-rename-file)
5304 * net/tramp-cmds.el (tramp-list-remote-buffers)
5305 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5306 * net/tramp-compat.el (tramp-compat-process-running-p)
5307 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5308 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5309 (tramp-gvfs-handle-rename-file)
5310 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5311 (tramp-set-file-uid-gid)
5312 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5313 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5314 of `file-remote-p'.
5315
5316 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5317 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5318 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5319 (tramp-gw-open-network-stream): Suppress unrelated traces.
5320
5321 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5322 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5323 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5324 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5325 connection property.
5326
5327 * net/tramp-cache.el (top): Suppress traces when reading
5328 persistency file.
5329
5330 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5331 Refactor common code. Improve debug message.
5332 (tramp-maybe-open-connection)
5333 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5334 connection buffer too early.
5335
5336 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5337 from `tramp-smb-actions-with-acl'.
5338 (tramp-smb-actions-set-acl): New defconst.
5339 (tramp-smb-handle-copy-directory)
5340 (tramp-smb-action-get-acl): New defun, renamed from
5341 `tramp-smb-action-with-acl'.
5342 (tramp-smb-action-set-acl): New defun.
5343 (tramp-smb-handle-set-file-acl): Rewrite.
5344
5345 2013-10-17 Glenn Morris <rgm@gnu.org>
5346
5347 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5348
5349 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * skeleton.el (skeleton-newline): Remove.
5352 (skeleton-internal-1): Use (insert "\n") instead.
5353
5354 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5355 let-bindings.
5356
5357 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5358 forward-sexp-function while we redo its job (bug#15613).
5359
5360 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5361
5362 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5363 represented by lists.
5364
5365 2013-10-16 Glenn Morris <rgm@gnu.org>
5366
5367 * tmm.el (tmm--history): New dynamic variable.
5368 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5369
5370 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5371
5372 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5373 (tramp-smb-errors): Add error messages.
5374 (tramp-smb-actions-with-acl): New defconst.
5375 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5376 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5377 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5378 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5379 (tramp-smb-get-stat-capability): Fix tests.
5380
5381 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5382
5383 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5384 (bug#15580).
5385
5386 2013-10-16 Glenn Morris <rgm@gnu.org>
5387
5388 * ansi-color.el (ansi-color-drop-regexp):
5389 Add 1J, 1K, 2K. (Bug#15617)
5390
5391 * files.el (hack-local-variables--warned-lexical): New.
5392 (hack-local-variables):
5393 Warn about misplaced lexical-binding. (Bug#15616)
5394
5395 * net/eww.el (eww-render): Always set eww-current-url,
5396 and update header line. (Bug#15622)
5397 (eww-display-html): ... Rather than just doing it here.
5398
5399 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5400
5401 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5402 menu navigations commands.
5403
5404 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5405
5406 * progmodes/subword.el (subword-capitalize): Be careful when
5407 the search for [[:alpha:]] fails (bug#15580).
5408
5409 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5410
5411 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5412 to commands that scroll the menu.
5413
5414 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5415
5416 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5417 Handle methods ending with `?' and `!'.
5418
5419 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5420
5421 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5422 `japanese-cp932' to `cp932' to fix the problem where saving a
5423 source file written in Shift_JIS twice would end up having
5424 `coding: japanese-cp932' which Ruby could not recognize.
5425 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5426 in `ruby-encoding-map'.
5427 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5428 doesn't need to be explicitly declared in magic comment.
5429 (ruby-encoding-map): Add type declaration for better customize UI.
5430
5431 2013-10-13 Glenn Morris <rgm@gnu.org>
5432
5433 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5434 Occur buffers are read-only. http://bugs.debian.org/720775
5435
5436 * emacs-lisp/authors.el (authors-fixed-entries):
5437 Comment out old alpha stuff.
5438
5439 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5440
5441 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5442 to `after-save-hook' instead of `before-save-hook'.
5443 (ruby-mode-set-encoding): Use the value of coding system used to
5444 write the file. Call `basic-save-buffer-1' after modifying the
5445 buffer.
5446
5447 2013-10-13 Alan Mackenzie <acm@muc.de>
5448
5449 Fix indentation/fontification of Java enum with
5450 "implements"/generic.
5451
5452 * progmodes/cc-engine.el (c-backward-over-enum-header):
5453 Extracted from the three other places and enhanced to handle generics.
5454 (c-inside-bracelist-p): Uses new function above.
5455 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5456 function above.
5457 (c-font-lock-enum-tail): Uses new function above.
5458
5459 2013-10-13 Kenichi Handa <handa@gnu.org>
5460
5461 * international/mule-cmds.el (select-safe-coding-system): Remove a
5462 superfluous condition in chekcing whether a coding system is safe
5463 or not.
5464
5465 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5466
5467 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5468
5469 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5470
5471 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5472
5473 2013-10-13 Glenn Morris <rgm@gnu.org>
5474
5475 * menu-bar.el (menu-bar-update-buffers):
5476 Unify Buffers menu prompt string. (Bug#15576)
5477
5478 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5479
5480 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5481 Add some entries.
5482 (authors-fixed-entries): Use accented form of name.
5483
5484 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5487 method calls (bug#15594).
5488 (ruby-smie--args-separator-p): New function.
5489 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5490 recognize paren-free method calls.
5491
5492 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5493 internals of universal-argument.
5494
5495 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5496
5497 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5498 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5499 dropped menu on second mouse click on the menu bar.
5500
5501 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5504 (explicit-shell-file-name): Declare.
5505 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5506 (sh-completion-at-point-function): New function.
5507 (sh-mode): Use it.
5508 (sh-smie--keyword-p): Remove unused argument.
5509 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5510 vars.
5511 (sh-set-shell): Always setup SMIE, even if we use the
5512 old indentation code.
5513
5514 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5515
5516 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5517 cases of ? and =.
5518 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5519 predicate would return nil are almost non-existent.
5520 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5521
5522 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5523 cache also after commands that modify the buffer but don't move
5524 point.
5525
5526 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * env.el (substitute-env-in-file-name): New function.
5529 (substitute-env-vars): Extend the meaning of the optional arg.
5530
5531 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5532
5533 * term/w32-win.el (dynamic-library-alist): Define separate lists
5534 of GIF DLLs for versions before and after 5.0.0 of giflib.
5535 (Bug#15531)
5536
5537 2013-10-10 João Távora <joaotavora@gmail.com>
5538
5539 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5540 not locked, use last revision and current source as
5541 defaults. (Bug#15569)
5542
5543 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5544
5545 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5546 menu-bar is hidden.
5547
5548 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5549
5550 * window.el (pop-to-buffer-same-window): Fix doc-string.
5551 (Bug#15492)
5552
5553 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5556
5557 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5558
5559 * calendar/icalendar.el (icalendar-import-file):
5560 Fix interactive spec. (Bug#15482)
5561
5562 2013-10-10 Glenn Morris <rgm@gnu.org>
5563
5564 * desktop.el (desktop-save): Default to saving in .emacs.d,
5565 since PWD is no longer in desktop-path by default. (Bug#15319)
5566
5567 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5568 now that text mode has a menu with the same entry.
5569 (menu-bar-text-mode-auto-fill): Remove now unused func.
5570 * textmodes/text-mode.el (text-mode-map):
5571 Use auto-fill help text from menu-bar.el.
5572
5573 2013-10-10 John Anthony <john@jo.hnanthony.com>
5574
5575 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5576
5577 2013-10-09 Juri Linkov <juri@jurta.org>
5578
5579 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5580 instead of this-command-keys. Add universal-argument-more and
5581 universal-argument-minus to the list of prefix commands. (Bug#15568)
5582
5583 2013-10-09 Glenn Morris <rgm@gnu.org>
5584
5585 * vc/vc-svn.el (vc-svn-create-repo):
5586 Expand paths in file://... url. (Bug#15446)
5587
5588 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5589 Add some entries.
5590 (authors): Remove unused local variables.
5591
5592 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5593
5594 * profiler.el: Create a more coherent calltree from partial backtraces.
5595 (profiler-format): Hide the tail with `invisible' so that C-s can still
5596 find the hidden elements.
5597 (profiler-calltree-depth): Don't recurse so enthusiastically.
5598 (profiler-function-equal): New hash-table-test.
5599 (profiler-calltree-build-unified): New function.
5600 (profiler-calltree-build): Use it.
5601 (profiler-report-make-name-part): Indent the calltree less.
5602 (profiler-report-mode): Add visibility specs for profiler-format.
5603 (profiler-report-expand-entry, profiler-report-toggle-entry):
5604 Expand the whole subtree when provided with a prefix arg.
5605
5606 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5607
5608 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5609 iuwu-mod token.
5610 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5611 hanging iuwu-mod token.
5612 (ruby-smie--forward-token): Do not include a dot after a token in
5613 that token.
5614 (ruby-smie--backward-token): Likewise.
5615
5616 2013-10-08 Juri Linkov <juri@jurta.org>
5617
5618 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5619 to isearch-other-control-char.
5620 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5621 and isearch-post-command-hook to post-command-hook.
5622 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5623 and isearch-post-command-hook from post-command-hook.
5624 (isearch-unread-key-sequence)
5625 (isearch-reread-key-sequence-naturally)
5626 (isearch-lookup-scroll-key, isearch-other-control-char)
5627 (isearch-other-meta-char): Remove functions.
5628 (isearch-pre-command-hook, isearch-post-command-hook):
5629 New functions based on isearch-other-meta-char rewritten
5630 relying on the new behavior of overriding-terminal-local-map
5631 that does not replace the local keymaps any more. (Bug#15200)
5632
5633 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5634
5635 Support menus on text-mode terminals.
5636 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5637 functionality.
5638
5639 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5640
5641 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5642 Move here from mouse.el.
5643 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5644 and arrow keys.
5645 (tty-menu-navigation-map): New map for TTY menu navigation.
5646
5647 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5648
5649 * frame.el (display-mouse-p): Report text-mode mouse as available
5650 on w32.
5651 (display-popup-menus-p): Report availability if mouse is
5652 available; don't condition on window-system.
5653
5654 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5655 (tty-menu-selected-face): New faces.
5656
5657 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5660 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5661 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5662 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5663 New constants.
5664 (lisp-mode-variables): New `elisp' argument.
5665 (emacs-lisp-mode): Use it.
5666 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5667 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5668
5669 * indent.el: Use lexical-binding.
5670 (indent-region): Add progress reporter.
5671 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5672 last step.
5673 (indent--next-tab-stop): New function to implement this behavior.
5674 (tab-to-tab-stop, move-to-tab-stop): Use it.
5675
5676 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5677
5678 * indent.el (indent-rigidly--current-indentation): New function.
5679 (indent-rigidly-map): New var.
5680 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5681
5682 2013-10-08 Bastien Guerry <bzg@gnu.org>
5683
5684 * register.el (insert-register): Fix 2013-10-07 change.
5685
5686 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5687
5688 * progmodes/perl-mode.el: Use lexical-binding.
5689 Remove redundant :group args.
5690 (perl-nochange): Change default to be closer to other major modes's
5691 standard behavior.
5692 (perl-indent-line): Don't consider text on current line as a
5693 valid beginning of function from which to indent.
5694
5695 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5696 with more than one argument (bug#15538).
5697
5698 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5699
5700 * vc/pcvs.el: Use lexical-binding.
5701 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5702 environment of `eval'.
5703 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5704 than a list of expressions. Adjust callers.
5705 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5706
5707 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5708
5709 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5710 case of the dot in a chained method call being on the following line.
5711
5712 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * electric.el (electric-indent-inhibit): New var.
5715 (electric-indent-post-self-insert-function): Use it.
5716 * progmodes/python.el (python-mode): Set it.
5717
5718 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5719 open braces.
5720
5721 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5722
5723 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5724 (css-mode): Use electric-indent-chars.
5725
5726 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5727 (font-lock-beg, font-lock-end): Move before first use.
5728 (nxml-mode): Use syntax-propertize-function.
5729 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5730 (nxml-extend-after-change-region): Remove.
5731 * nxml/xmltok.el: Use lexical-binding.
5732 (xmltok-save): Use `declare'.
5733 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5734 * nxml/nxml-util.el: Use lexical-binding.
5735 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5736 Use `declare'.
5737 * nxml/nxml-ns.el: Use lexical-binding.
5738 (nxml-ns-save): Use `declare'.
5739 (nxml-ns-prefixes-for): Avoid add-to-list.
5740 * nxml/rng-match.el: Use lexical-binding.
5741 (rng--ipattern): Use cl-defstruct.
5742 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5743 (rng-cons-group-after, rng-subst-group-after)
5744 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5745 Use closures instead of `(lambda...).
5746
5747 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5748
5749 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5750 of BEG and END.
5751
5752 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5753 Use `tramp-handle-insert-file-contents'.
5754 (tramp-gvfs-handle-insert-file-contents): Remove function.
5755
5756 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5757 Use `save-restriction' in order to keep markers.
5758
5759 * net/trampver.el: Update release number.
5760
5761 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * progmodes/compile.el (compilation-parse-errors):
5764 Use compilation--put-prop.
5765 (compilation--ensure-parse): Check compilation-multiline.
5766
5767 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5768
5769 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5770 lexical-binding.
5771
5772 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5773
5774 * progmodes/ruby-mode.el: Fix recently added tests.
5775 (ruby-smie-grammar): Add - and +.
5776 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5777 (ruby-smie--backward-id): New functions.
5778 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5779 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5780 any more.
5781
5782 2013-10-07 Leo Liu <sdl.web@gmail.com>
5783
5784 * register.el (register-preview-delay)
5785 (register-preview-functions): New variables.
5786 (register-read-with-preview, register-preview)
5787 (register-describe-oneline): New functions.
5788 (point-to-register, window-configuration-to-register)
5789 (frame-configuration-to-register, jump-to-register)
5790 (number-to-register, view-register, insert-register)
5791 (copy-to-register, append-to-register, prepend-to-register)
5792 (copy-rectangle-to-register): Use register-read-with-preview to
5793 read register. (Bug#15525)
5794
5795 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5796
5797 * net/network-stream.el (network-stream-open-starttls): Don't add
5798 --insecure if it's already present, because that gnutls-cli
5799 rejects getting that parameter twice.
5800
5801 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5802
5803 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5804 keyword, too.
5805
5806 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5807
5808 * newcomment.el (comment-use-global-state): Change default value
5809 to t, mark obsolete (Bug#15251).
5810 (comment-beginning): In addition to `comment-to-syntax', check the
5811 value of `comment-use-global-state'.
5812
5813 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5816 (ruby-comment-column): Follow the global default, by default.
5817 (ruby-smie-grammar): Add assignment syntax.
5818 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5819 open-paren, a comma, or a \.
5820 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5821 and line continuations.
5822 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5823 followed by implicit semi-colons. Add rule for string concatenation
5824 and for indentation at BOB.
5825 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
5826
5827 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5828 calling next-sexp, since next-token may have skipped chars which
5829 next-sexp doesn't know should be skipped!
5830
5831 2013-10-05 Leo Liu <sdl.web@gmail.com>
5832
5833 * progmodes/octave.el (octave-send-region):
5834 Call compilation-forget-errors.
5835
5836 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5837
5838 * vc/vc-svn.el (vc-svn-find-admin-dir):
5839 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5840 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5841 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5842 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5843
5844 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5847
5848 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 * subr.el (read-passwd): Hide chars even when called within a context
5851 where after-change-functions is disabled (bug#15501).
5852 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5853 until we removed ourself from overriding-terminal-local-map.
5854
5855 2013-10-04 Leo Liu <sdl.web@gmail.com>
5856
5857 * progmodes/octave.el (inferior-octave-mode):
5858 Call compilation-forget-errors.
5859
5860 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5861
5862 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5863
5864 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5865
5866 * net/secrets.el (secrets-create-collection): Add optional
5867 argument ALIAS. Use proper Label keyword. Append ALIAS as
5868 dbus-call-method argument. (Bug#15516)
5869
5870 2013-10-04 Leo Liu <sdl.web@gmail.com>
5871
5872 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5873 (inferior-octave-compilation-font-lock-keywords): New variables.
5874 (compilation-error-regexp-alist)
5875 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5876 (inferior-octave-mode): Use compilation-shell-minor-mode.
5877
5878 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5879
5880 * minibuffer.el (completion--replace): Be careful that `end' might be
5881 a marker.
5882
5883 2013-10-03 Daiki Ueno <ueno@gnu.org>
5884
5885 Add support for package signature checking.
5886 * emacs-lisp/package.el (url-http-file-exists-p)
5887 (epg-make-context, epg-context-set-home-directory)
5888 (epg-verify-string, epg-context-result-for)
5889 (epg-signature-status, epg-signature-to-string)
5890 (epg-check-configuration, epg-configuration)
5891 (epg-import-keys-from-file): Declare.
5892 (package-check-signature): New user option.
5893 (package-unsigned-archives): New user option.
5894 (package-desc): Add `signed' field.
5895 (package-load-descriptor): Set `signed' field if .signed file exists.
5896 (package--archive-file-exists-p): New function.
5897 (package--check-signature): New function.
5898 (package-install-from-archive): Check package signature.
5899 (package--download-one-archive): Check archive signature.
5900 (package-delete): Remove .signed file.
5901 (package-import-keyring): New command.
5902 (package-refresh-contents): Import default keyring.
5903 (package-desc-status): Add "unsigned" status.
5904 (describe-package-1, package-menu--print-info)
5905 (package-menu-mark-delete, package-menu--find-upgrades)
5906 (package-menu--status-predicate): Support "unsigned" status.
5907
5908 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5911 the new compilation scheme using the new byte-codes.
5912
5913 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5914 (byte-pophandler): New byte codes.
5915 (byte-goto-ops): Adjust accordingly.
5916 (byte-compile--use-old-handlers): New var.
5917 (byte-compile-catch): Use new byte codes depending on
5918 byte-compile--use-old-handlers.
5919 (byte-compile-condition-case--old): Rename from
5920 byte-compile-condition-case.
5921 (byte-compile-condition-case--new): New function.
5922 (byte-compile-condition-case): New function that dispatches depending
5923 on byte-compile--use-old-handlers.
5924 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5925 when we can.
5926
5927 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5928 Optimize under `condition-case' and `catch' if
5929 byte-compile--use-old-handlers is nil.
5930 (disassemble-offset): Handle new bytecodes.
5931
5932 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * subr.el (error): Use `declare'.
5935 (decode-char, encode-char): Use advertised-calling-convention instead
5936 of the docstring to discourage use of the `restriction' arg.
5937
5938 2013-10-03 Daiki Ueno <ueno@gnu.org>
5939
5940 * epg.el (epg-verify-file): Add a comment saying that it does not
5941 notify verification error as a return value nor a signal.
5942 (epg-verify-string): Ditto.
5943
5944 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5945
5946 * progmodes/compile.el (compilation-start): Try globbing the arg to
5947 `cd' (bug#15417).
5948
5949 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5950
5951 Sync with Tramp 2.2.8.
5952
5953 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5954 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5955 * net/trampver.el: Update release number.
5956
5957 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5958
5959 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5960 and default-process-coding-system for darwin only.
5961
5962 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5963
5964 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5965
5966 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5967
5968 * vc/vc-git.el (vc-git-grep): Disable pager.
5969
5970 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5971
5972 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5973 Use :url instead of :homepage, as per
5974 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5975
5976 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5977 non-nil, use `syntax-ppss' (Bug#15251).
5978
5979 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5980
5981 * progmodes/octave.el (inferior-octave-startup-file):
5982 Prefer ~/.emacs.d/init_octave.m.
5983
5984 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5985
5986 * emacs-lisp/package.el (package-desc-from-define):
5987 Accept additional arguments as plist, convert them to an alist and store
5988 them in the `extras' slot.
5989 (package-generate-description-file): Convert extras alist back to
5990 plist and append to the `define-package' form arguments.
5991 (package--alist-to-plist): New function.
5992 (package--ac-desc): Add `extras' slot.
5993 (package--add-to-archive-contents): Check if the archive-contents
5994 vector is long enough, and if it is, pass its `extras' slot value
5995 to `package-desc-create'.
5996 (package-buffer-info): Call `lm-homepage', pass the returned value
5997 to `package-desc-from-define'.
5998 (describe-package-1): Render the homepage button (Bug#13291).
5999
6000 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6001 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6002
6003 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6004
6005 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6006 and default-process-coding-system to utf-8-unix (Bug#15402).
6007
6008 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6009
6010 * subr.el (looking-back): Do not recommend using looking-back.
6011
6012 2013-09-28 Alan Mackenzie <acm@muc.de>
6013
6014 Fix indentation/fontification of Java enum with "implements".
6015
6016 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6017 regexp which matches "implements", etc., in Java.
6018 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6019 specifier clauses coming after "enum".
6020 * progmodes/cc-fonts.el (c-font-lock-declarations)
6021 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6022 after "enum".
6023
6024 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6025
6026 * faces.el (region): Change ns_selection_color to
6027 ns_selection_fg_color, add ns_selection_bg_color.
6028
6029 2013-09-28 Leo Liu <sdl.web@gmail.com>
6030
6031 * progmodes/octave.el (inferior-octave-completion-table)
6032 (inferior-octave-completion-at-point): Minor tweaks.
6033
6034 * textmodes/ispell.el (ispell-lookup-words): Rename from
6035 lookup-words. (Bug#15460)
6036 (lookup-words): Obsolete.
6037 (ispell-complete-word, ispell-command-loop): All uses changed.
6038
6039 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6040
6041 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6042 (octave-mode-menu): Add octave-send-buffer.
6043 (octave-send-buffer): New function.
6044
6045 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6046
6047 * progmodes/octave.el (octave-mode-map): Add key binding for
6048 octave-lookfor.
6049 (octave-mode-menu): Add octave-lookfor.
6050 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6051 octave-lookfor.
6052 (octave-lookfor): New function.
6053
6054 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6057 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6058 its convention.
6059 (cl--loop-set-iterator-function): New function.
6060 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6061 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6062 Bind `it' with `let' instead of substituting it with `cl-subst'.
6063 (cl--unused-var-p): New function.
6064 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6065 Eliminate some unused variable warnings (bug#15326).
6066
6067 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6068
6069 * doc-view.el (doc-view-scale-reset): Rename from
6070 `doc-view-reset-zoom-level'.
6071 (doc-view-scale-adjust): New command.
6072 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6073 `doc-view-scale-adjust'.
6074
6075 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6076
6077 * doc-view.el (doc-view-reset-zoom-level): New command.
6078 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6079 zoom commands (bug#15466).
6080
6081 2013-09-26 Kenichi Handa <handa@gnu.org>
6082
6083 * international/quail.el (quail-help): Make it not a command.
6084
6085 2013-09-26 Leo Liu <sdl.web@gmail.com>
6086
6087 * minibuffer.el (completion-all-sorted-completions): Make args
6088 optional as they are.
6089
6090 2013-09-25 Daniel Colascione <dancol@dancol.org>
6091
6092 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6093 specs are and that they're not evaluated.
6094
6095 2013-09-24 Sam Steingold <sds@gnu.org>
6096
6097 * midnight.el (clean-buffer-list-kill-regexps)
6098 (clean-buffer-list-kill-buffer-names): Update for the new Man
6099 buffer naming which includes the object name.
6100
6101 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6104 (eshell-parse-command, eshell-parse-pipeline): Use it since
6105 eshell-separate-commands requires a dynamic scoped var.
6106 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6107
6108 2013-09-23 Leo Liu <sdl.web@gmail.com>
6109
6110 * autoinsert.el (auto-insert-alist): Make the value of
6111 lexical-binding match its file setting.
6112
6113 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6114
6115 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6116
6117 * autoarg.el (autoarg-kp-digit-argument):
6118 * electric.el (Electric-command-loop):
6119 * kmacro.el (kmacro-step-edit-insert):
6120 Do not set universal-argument-num-events.
6121
6122 2013-09-22 Leo Liu <sdl.web@gmail.com>
6123
6124 * files.el (interpreter-mode-alist): Add octave.
6125
6126 2013-09-21 Alan Mackenzie <acm@muc.de>
6127
6128 C++: fontify identifier in declaration following "public:" correctly.
6129 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6130 to match "public", etc.
6131 (c-decl-prefix-re): Add ":" into the C++ value.
6132 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6133 bit. Add a check for a ":" preceded by "public", etc.
6134
6135 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6136
6137 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6138 recognized by GDB 7.5 and later.
6139
6140 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6141
6142 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6143
6144 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6145
6146 * subr.el (internal--call-interactively): New const.
6147 (called-interactively-p): Use it (bug#3984).
6148
6149 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6150
6151 * vc/pcvs.el (cvs-mode-ignore):
6152 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6153 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6154
6155 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6158 (eshell-ls-orig-insert-directory): Remove.
6159 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6160 (eshell-ls-use-in-dired): Use advice-add/remove.
6161 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6162 Add `orig-fun' arg for use in :around advice.
6163 Make it check (redundantly) eshell-ls-use-in-dired.
6164
6165 2013-09-19 Glenn Morris <rgm@gnu.org>
6166
6167 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6168
6169 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6170
6171 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6172
6173 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6174
6175 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6176 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6177 (tramp-get-remote-python): New defuns.
6178 (tramp-get-remote-uid-with-perl)
6179 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6180 contributed by yary <not.com@gmail.com> (tiny change).
6181 (tramp-get-remote-uid-with-python)
6182 (tramp-get-remote-gid-with-python): New defuns. Python code
6183 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6184 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6185
6186 2013-09-19 Glenn Morris <rgm@gnu.org>
6187
6188 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6189
6190 * eshell/em-unix.el (eshell-remove-entries):
6191 Rename argument to avoid name-clash with global `top-level'.
6192
6193 * eshell/esh-proc.el (eshell-kill-process-function):
6194 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6195 (eshell-reset-after-proc): Remove unused arg `proc'.
6196
6197 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6198 (directory-files-and-attributes): Mark unused arg.
6199
6200 * eshell/em-unix.el (eshell-remove-entries):
6201 Remove unused arg `path'. Update callers.
6202
6203 * eshell/em-hist.el (eshell-hist-parse-arguments):
6204 Remove unused arg `silent'. Update callers.
6205
6206 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6207 Fix (f)boundp mix-up.
6208
6209 * eshell/em-smart.el (eshell-smart-scroll-window)
6210 (eshell-disable-after-change):
6211 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6212
6213 2013-09-18 Alan Mackenzie <acm@muc.de>
6214
6215 Fix fontification of type when followed by "const".
6216 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6217 "known" types from fontification.
6218
6219 2013-09-18 Glenn Morris <rgm@gnu.org>
6220
6221 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6222 (chart-face-list): Drop Emacsen without display-color-p.
6223
6224 * net/eww.el (libxml-parse-html-region): Declare.
6225 (eww-display-html): Explicit error if no libxml2 support.
6226
6227 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6228
6229 * image.el (image-type-from-buffer, image-multi-frame-p):
6230 Remove --without-x warning/error.
6231
6232 * mouse.el (mouse-yank-primary):
6233 * term.el (term-mouse-paste):
6234 Reorder to silence --without-x compilation.
6235
6236 * mpc.el (doc-view-mode): Silence --without-x compilation.
6237
6238 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6239 Silence --without-x compilation.
6240
6241 * progmodes/gud.el (gud-find-file, gud-mode):
6242 Silence --without-x compilation.
6243 (tooltip-mode): Declare.
6244
6245 * wdired.el (dired-backup-overwrite): Remove declaration.
6246 (wdired-mode-map): Add doc string.
6247
6248 * custom.el (x-get-resource): Declare.
6249
6250 * eshell/em-glob.el (ange-cache):
6251 * eshell/em-unix.el (ange-cache): Declare.
6252
6253 * faces.el (x-display-list, x-open-connection, x-get-resource):
6254 Declare.
6255
6256 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6257 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6258 Declare.
6259
6260 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6261
6262 * net/gnutls.el (gnutls-log-level): Declare.
6263
6264 * net/shr.el (image-size, image-animate): Declare.
6265
6266 * simple.el (font-info): Declare.
6267
6268 * subr.el (x-popup-dialog): Declare.
6269
6270 * term/common-win.el (x-select-enable-primary)
6271 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6272 Declare.
6273
6274 * term/ns-win.el (x-handle-args): Declare.
6275
6276 * term/x-win.el (x-select-enable-clipboard): Declare.
6277
6278 * term/w32-win.el (create-default-fontset): Declare.
6279
6280 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6281 Declare.
6282
6283 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6284 (fit-frame-to-buffer): Explicit error if --without-x.
6285 (mouse-autoselect-window-select): Silence compiler.
6286
6287 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6288
6289 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6290 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6291 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6292 * eshell/esh-util.el (eshell-sublist):
6293 Remove unused local variables.
6294
6295 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6296
6297 * textmodes/two-column.el: Make 2C-split work for --without-x.
6298 (scroll-bar-columns): Autoload.
6299 (top-level): Require fringe when compiling.
6300
6301 2013-09-18 Leo Liu <sdl.web@gmail.com>
6302
6303 * subr.el (add-hook): Robustify to handle closure as well.
6304
6305 2013-09-17 Glenn Morris <rgm@gnu.org>
6306
6307 * simple.el (messages-buffer-mode-map): Unbind "g".
6308
6309 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6310
6311 * help-mode.el (help-mode-finish): Use derived-mode-p.
6312 Remove obsolete highlighting.
6313
6314 * play/life.el (life-mode): Use define-derived-mode. Derive from
6315 special-mode.
6316 (life): Let-bind inhibit-read-only.
6317 (life-setup): Avoid `setq'. Use `life-mode'.
6318
6319 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6320 which should not be needed any more.
6321 (package-menu-refresh, package-menu-describe-package): Use user-error.
6322
6323 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6324 (eshell-post-rewrite-command-hook): Make obsolete.
6325 (eshell-parse-command): Simplify.
6326 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6327 (eshell--cmd): Declare.
6328 (eshell-parse-pipeline): Remove unused var `final-p'.
6329 Pass a dynvar to eshell-post-rewrite-command-hook.
6330 Implement the new eshell-post-rewrite-command-function.
6331 (eshell-invoke-directly): Remove unused arg `input'.
6332 * eshell/esh-io.el (eshell-io-initialize):
6333 Use eshell-post-rewrite-command-function (bug#15399).
6334 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6335 adjust to new calling convention.
6336 (eshell-create-handles): Rename args to avoid clashing with dynvar
6337 `standard-output'.
6338
6339 2013-09-17 Glenn Morris <rgm@gnu.org>
6340
6341 * simple.el (messages-buffer-mode): New major mode.
6342 (messages-buffer): New function.
6343 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6344 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6345 (ert-run-test): Use `messages-buffer' function.
6346 (ert--force-message-log-buffer-truncation): Ignore read-only.
6347 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6348 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6349
6350 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6353
6354 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6355
6356 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6357
6358 * icomplete.el (icomplete-in-buffer): New var.
6359 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6360 vars and replace them with functions.
6361 (icomplete-minibuffer-setup): Adjust accordingly.
6362 (icomplete--completion-table, icomplete--completion-predicate)
6363 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6364 New functions.
6365 (icomplete-forward-completions, icomplete-backward-completions)
6366 (icomplete-simple-completing-p, icomplete-exhibit)
6367 (icomplete-completions): Use them.
6368 (icomplete--in-region-buffer): New var.
6369 (icomplete--in-region-setup): New function.
6370 (icomplete-mode): Use it.
6371
6372 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6373 (bug#15379).
6374 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6375 return args and options.
6376 (eshell-eval-using-options): Use the new return value of
6377 eshell--do-opts to set the options's vars in their scope.
6378 (eshell--set-option): Rename from eshell-set-option.
6379 Add arg `opt-vals'.
6380 (eshell--process-option): Rename from eshell-process-option.
6381 Add arg `opt-vals'.
6382 (eshell--process-args): Use an `opt-vals' alist to store the options's
6383 values during their processing and return them additionally to the
6384 remaining args.
6385
6386 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6387
6388 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6389 continuation character an operator, as far as indentation is
6390 concerned (Bug#15369).
6391
6392 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6393
6394 * window.el (window--state-put-2): Don't process buffer state
6395 when buffer doesn't exist any more (Bug#15382).
6396
6397 2013-09-15 Glenn Morris <rgm@gnu.org>
6398
6399 * eshell/em-unix.el (eshell/rm):
6400 Make -f ignore missing files. (Bug#15373)
6401
6402 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6403 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6404 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6405
6406 2013-09-14 Glenn Morris <rgm@gnu.org>
6407
6408 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6409
6410 2013-09-13 Glenn Morris <rgm@gnu.org>
6411
6412 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6413 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6414
6415 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6416
6417 * frame.el (x-focus-frame): Mark as declared in frame.c.
6418
6419 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6420
6421 * ls-lisp.el: Use advice-add.
6422 (original-insert-directory): Remove.
6423 (ls-lisp--insert-directory): Rename from insert-directory; add
6424 `orig-fun' argument.
6425 (insert-directory): Advise.
6426
6427 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6428
6429 * term.el (term-emulate-terminal): Decode the command string
6430 before passing it to term-command-hook. (Bug#15337)
6431
6432 2013-09-13 Glenn Morris <rgm@gnu.org>
6433
6434 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6435
6436 * eshell/esh-ext.el (eshell-search-path): Declare.
6437
6438 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6439 Otherwise an error occurs if eshell-dirs module not loaded.
6440
6441 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6442
6443 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6444
6445 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6446 `tramp-check-proper-host'. Check for a valid method name.
6447
6448 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6449 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6450 * net/tramp-sh.el (tramp-maybe-open-connection):
6451 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6452
6453 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6454 also for hash values.
6455
6456 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * term/ns-win.el (parameters): Don't declare as dynamic.
6459 (before-make-frame-hook): Don't add ineffective function.
6460
6461 * eshell/*.el: Use lexical-binding (bug#15231).
6462
6463 2013-09-12 Kenichi Handa <handa@gnu.org>
6464
6465 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6466
6467 2013-09-12 Glenn Morris <rgm@gnu.org>
6468
6469 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6470 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6471
6472 * subr.el (do-after-load-evaluation): Also give compiler warnings
6473 when obsolete files are used (except by obsolete files).
6474
6475 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6476 in the status output, assume `filename' is the first. (Bug#15322)
6477
6478 * vc/vc.el (vc-deduce-fileset): Doc fix.
6479
6480 * calc/calc-help.el (Info-goto-node):
6481 * progmodes/cperl-mode.el (Info-find-node):
6482 * vc/ediff.el (Info-goto-node): Update declarations.
6483
6484 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6485
6486 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6487 (vc-bzr-pull): Require vc-dispatcher.
6488 * vc/vc-git.el (vc-compilation-mode): Declare.
6489 (vc-git-pull): Require vc-dispatcher.
6490
6491 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6492
6493 * progmodes/octave.el (help-button-action): Declare.
6494
6495 * shell.el (shell-directory-tracker): Output error as a message
6496 rather than just returning it as a string.
6497 (shell-process-pushd): Remove useless use of message.
6498
6499 * dframe.el (dframe-timer-fn):
6500 * files.el (dir-locals-read-from-file):
6501 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6502 (mpc-format):
6503 * reveal.el (reveal-post-command):
6504 * saveplace.el (load-save-place-alist-from-file):
6505 * shell.el (shell-resync-dirs):
6506 * w32-common-fns.el (x-get-selection-value):
6507 * emacs-lisp/copyright.el (copyright-find-copyright):
6508 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6509 * emulation/tpu-edt.el (tpu-copy-keyfile):
6510 * play/bubbles.el (bubbles--mark-neighbourhood):
6511 * progmodes/executable.el
6512 (executable-make-buffer-file-executable-if-script-p):
6513 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6514
6515 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 Cleanup Eshell to rely less on dynamic scoping.
6518 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6519 last-value, and ext-command here. Bind `args' closer to `body'.
6520 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6521 (eshell--args): Declare new dynamic var.
6522 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6523 last-value, and ext-command. Pass `args' to `body'.
6524 (eshell-process-args): Bind eshell--args.
6525 (eshell-set-option): Use eshell--args.
6526 * eshell/eshell.el (eshell): Use derived-mode-p.
6527 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6528 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6529 (eshell-glob-function): Declare.
6530 * eshell/esh-util.el: Require cl-lib.
6531 (eshell-read-hosts-file): Avoid add-to-list.
6532 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6533 `err'.
6534 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6535 Declare.
6536 (eshell/diff): Remove unused var `err'.
6537 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6538 `killflag'.
6539 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6540 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6541 first use.
6542 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6543 Move declaration before first use.
6544 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6545 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6546 rely on cl-return.
6547
6548 2013-09-12 Glenn Morris <rgm@gnu.org>
6549
6550 * term/ns-win.el (global-map): Remove binding for ispell-next,
6551 deleted 1999-05-29. (Bug#15357)
6552
6553 2013-09-11 Glenn Morris <rgm@gnu.org>
6554
6555 * echistory.el (electric-command-history): Remove call to deleted func.
6556
6557 * play/landmark.el (landmark-mode): Fix typos.
6558
6559 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6560 Check cvs-sort-ignore-file is bound.
6561
6562 * savehist.el: No need for cl when compiling on Emacs.
6563
6564 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6567 (bug#15338).
6568 (eshell-self-insert-command, eshell-send-invisible):
6569 Remove unused argument.
6570 (eshell-handle-control-codes): Remove unused var `orig'.
6571 Avoid delete-backward-char.
6572
6573 * files.el (set-auto-mode): Simplify a bit further.
6574
6575 2013-09-11 Glenn Morris <rgm@gnu.org>
6576
6577 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6578 (set-auto-mode): Don't regexp-quote elements.
6579 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6580 * progmodes/cc-mode.el (interpreter-mode-alist):
6581 * progmodes/ruby-mode.el (interpreter-mode-alist):
6582 Revert previous change.
6583
6584 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * play/snake.el (snake-mode):
6587 * play/mpuz.el (mpuz-mode):
6588 * play/landmark.el (lm-mode):
6589 * play/blackbox.el (blackbox-mode):
6590 * play/5x5.el (5x5-mode):
6591 * obsolete/options.el (Edit-options-mode):
6592 * net/quickurl.el (quickurl-list-mode):
6593 * net/newst-treeview.el (newsticker-treeview-mode):
6594 * mail/rmailsum.el (rmail-summary-mode):
6595 * mail/mspools.el (mspools-mode):
6596 * locate.el (locate-mode):
6597 * ibuffer.el (ibuffer-mode):
6598 * emulation/ws-mode.el (wordstar-mode):
6599 * emacs-lisp/debug.el (debugger-mode):
6600 * array.el (array-mode):
6601 * net/eudc.el (eudc-mode): Use define-derived-mode.
6602 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6603 Move initialization into declaration.
6604 (mairix-searches-mode): Use define-derived-mode.
6605 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6606 (eudc-edit-hotlist): Use dolist.
6607 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6608 (Man-mode): Use define-derived-mode.
6609 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6610 (Info-edit-mode): Use define-derived-mode.
6611 (Info-cease-edit): Use Info-mode.
6612 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6613 into declaration.
6614 (eshell-mode): Use define-derived-mode.
6615 * chistory.el (command-history-mode-map): Rename from
6616 command-history-map.
6617 (command-history-mode): Use define-derived-mode.
6618 (Command-history-setup): Remove function.
6619 * calc/calc.el (calc-trail-mode-map): New var.
6620 (calc-trail-mode): Use define-derived-mode.
6621 (calc-trail-buffer): Set calc-main-buffer manually.
6622 * bookmark.el (bookmark-insert-annotation): New function.
6623 (bookmark-edit-annotation): Use it.
6624 (bookmark-edit-annotation-mode): Make it a proper major mode.
6625 (bookmark-send-edited-annotation): Use derived-mode-p.
6626 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6627 closer to its ideal place. Use \' to match EOS.
6628
6629 * profiler.el (profiler-calltree-find): Use function-equal.
6630
6631 2013-09-10 Glenn Morris <rgm@gnu.org>
6632
6633 * files.el (interpreter-mode-alist): Convert to regexps.
6634 (set-auto-mode): Adapt for this. (Bug#15306)
6635 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6636 Comment out unused variable.
6637 * progmodes/cc-mode.el (interpreter-mode-alist):
6638 * progmodes/python.el (interpreter-mode-alist):
6639 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6640 * progmodes/sh-script.el (sh-set-shell):
6641 No longer use interpreter-mode-alist to get list of shells.
6642
6643 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6644
6645 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * simple.el: Use set-temporary-overlay-map for universal-argument.
6648 (universal-argument-map): Don't use default-bindings (bug#15317).
6649 Bind switch-frame explicitly. Replace universal-argument-minus with
6650 a conditional binding.
6651 (universal-argument-num-events, saved-overriding-map): Remove.
6652 (restore-overriding-map): Remove.
6653 (universal-argument--mode): Rename from save&set-overriding-map,
6654 and rewrite.
6655 (universal-argument, universal-argument-more, negative-argument)
6656 (digit-argument): Adjust accordingly.
6657 (universal-argument-minus): Remove.
6658 (universal-argument-other-key): Remove.
6659
6660 * subr.el (with-demoted-errors): Add `format' argument.
6661
6662 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6663
6664 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6665 `tramp-cleanup-connection'.
6666
6667 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6668 parameters KEEP-DEBUG and KEEP-PASSWORD.
6669
6670 * net/tramp.el (tramp-file-name-handler):
6671 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6672 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6673 (tramp-maybe-open-connection):
6674 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6675 Use `tramp-cleanup-connection'.
6676
6677 * net/tramp-sh.el (tramp-maybe-open-connection):
6678 Catch 'uname-changed inside the progress reporter.
6679
6680 2013-09-10 Glenn Morris <rgm@gnu.org>
6681
6682 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6683
6684 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6685 returns "alternate access method" in mode (eg "-rw-r--r--.").
6686
6687 2013-09-08 Glenn Morris <rgm@gnu.org>
6688
6689 * saveplace.el (load-save-place-alist-from-file):
6690 Demote errors. (Bug#15305)
6691
6692 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6693
6694 Improve compatibility with older Emacsen, and XEmacs.
6695
6696 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6697 only if it is bound. It isn't for XEmacs.
6698 (with-tramp-progress-reporter): Do not let-bind `result'.
6699 This yields to scoping errors in XEmacs.
6700 (tramp-handle-make-auto-save-file-name): New function, moved from
6701 tramp-sh.el.
6702
6703 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6704 for `make-auto-save-file-name'.
6705 (tramp-adb--gnu-switches-to-ash):
6706 Use `tramp-compat-replace-regexp-in-string'.
6707
6708 * net/tramp-cache.el (tramp-cache-print): Call
6709 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6710
6711 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6712 bound. It isn't for XEmacs.
6713
6714 * net/tramp-compat.el (tramp-compat-copy-file):
6715 Catch `wrong-number-of-arguments' error.
6716 (tramp-compat-replace-regexp-in-string): New defun.
6717
6718 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6719 for `make-auto-save-file-name'.
6720 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6721 `copy-file'.
6722 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6723 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6724 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6725
6726 * net/tramp-gw.el (tramp-gw-open-network-stream):
6727 Use `tramp-compat-replace-regexp-in-string'.
6728
6729 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6730 Call `tramp-handle-make-auto-save-file-name'.
6731 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6732 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6733 (tramp-sh-file-inotifywait-process-filter):
6734 Use `tramp-compat-replace-regexp-in-string'.
6735 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6736
6737 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6738 for `make-auto-save-file-name'.
6739 (tramp-smb-handle-copy-directory):
6740 Call `tramp-compat-replace-regexp-in-string'.
6741 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6742 (tramp-smb-handle-copy-file): Improve error message.
6743 (tramp-smb-handle-rename-file): Rename directly only in case
6744 `newname' does not exist yet. This is a restriction of smbclient.
6745 (tramp-smb-maybe-open-connection): Rerun the function only when
6746 `auth-sources' is non-nil.
6747
6748 2013-09-08 Kenichi Handa <handa@gnu.org>
6749
6750 * international/characters.el: Set category "^" (Combining) for
6751 more characters.
6752
6753 2013-09-07 Alan Mackenzie <acm@muc.de>
6754
6755 Correctly fontify Java class constructors.
6756 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6757 in Java Mode.
6758 (c-recognize-typeless-decls): Set the Java value to t.
6759 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6760 While handling a "(", add a check for, effectively, Java, and handle a
6761 "typeless" declaration there.
6762
6763 2013-09-07 Roland Winkler <winkler@gnu.org>
6764
6765 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6766 field subtitle for entry type book.
6767
6768 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * minibuffer.el: Make minibuffer-complete call completion-in-region
6771 rather than other way around.
6772 (completion--some, completion-pcm--find-all-completions):
6773 Don't delay signals when debugging.
6774 (minibuffer-completion-contents): Beware fields within the
6775 minibuffer contents.
6776 (completion-all-sorted-completions): Use defvar-local.
6777 (completion--do-completion, completion--cache-all-sorted-completions)
6778 (completion-all-sorted-completions, minibuffer-force-complete):
6779 Add args `beg' and `end'.
6780 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6781 (minibuffer-complete): Use completion-in-region.
6782 (completion-complete-and-exit): New fun, extracted from
6783 minibuffer-complete-and-exit.
6784 (minibuffer-complete-and-exit): Use it.
6785 (completion--complete-and-exit): Rename from
6786 minibuffer--complete-and-exit.
6787 (completion-in-region--single-word): New function, extracted from
6788 minibuffer-complete-word.
6789 (minibuffer-complete-word): Use it.
6790 (display-completion-list): Make `common-substring' argument obsolete.
6791 (completion--in-region): Call completion--in-region-1 instead of
6792 minibuffer-complete.
6793 (completion-help-at-point): Pass boundaries to
6794 minibuffer-completion-help as args rather than via an overlay.
6795 (completion-pcm--string->pattern): Use `any-delim'.
6796 (completion-pcm--optimize-pattern): New function.
6797 (completion-pcm--pattern->regex): Handle `any-delim'.
6798 * icomplete.el (icomplete-forward-completions)
6799 (icomplete-backward-completions, icomplete-completions):
6800 Adjust calls to completion-all-sorted-completions and
6801 completion--cache-all-sorted-completions.
6802 (icomplete-with-completion-tables): Default to t.
6803 * emacs-lisp/crm.el (crm--current-element): Rename from
6804 crm--select-current-element. Don't put an overlay but return the
6805 boundaries instead.
6806 (crm--completion-command): Take two new args to bind to the boundaries.
6807 (crm-completion-help): Adjust accordingly.
6808 (crm-complete): Use completion-in-region.
6809 (crm-complete-word): Use completion-in-region--single-word.
6810 (crm-complete-and-exit): Use completion-complete-and-exit.
6811
6812 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6815 than dynamically.
6816
6817 2013-09-06 Juri Linkov <juri@jurta.org>
6818
6819 * info.el (Info-display-images-node): When image file doesn't exist
6820 display text version of the image if it's provided in the Info file.
6821 Otherwise, display the location of missing image from SRC attribute.
6822 Add help-echo text property from ALT attribute. (Bug#15279)
6823
6824 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6827 (edit-abbrevs-mode): Use define-derived-mode.
6828
6829 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6830 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6831 that it's defined.
6832 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6833 Use define-derived-mode.
6834
6835 * epg.el (epg-start-encrypt): Minor CSE simplification.
6836
6837 2013-09-06 William Xu <william.xwl@gmail.com>
6838
6839 * arc-mode.el: Add support for 7za (bug#15264).
6840 (archive-7z-program): New var.
6841 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6842 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6843 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6844
6845 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6846
6847 Remove URL syntax.
6848
6849 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6850 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6851 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6852 (tramp-postfix-host-format, tramp-file-name-regexp)
6853 (tramp-completion-file-name-regexp)
6854 (tramp-completion-dissect-file-name)
6855 (tramp-handle-substitute-in-file-name): Remove 'url case.
6856 (tramp-file-name-regexp-url)
6857 (tramp-completion-file-name-regexp-url): Remove constants.
6858
6859 2013-09-06 Glenn Morris <rgm@gnu.org>
6860
6861 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6862
6863 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6864
6865 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6866 keywords" below "here-doc beginnings" (Bug#15270).
6867
6868 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * subr.el (pop): Use `car-safe'.
6871 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6872 to detect unused `pop' return value.
6873
6874 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6875 var `block-regexp'.
6876 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6877 (python-fill-string): Remove unused var `marker'.
6878 (python-skeleton-add-menu-items): Remove unused var `items'.
6879
6880 * international/mule-cmds.el: Require CL.
6881 (find-coding-systems-for-charsets): Avoid add-to-list.
6882 (sanitize-coding-system-list): New function, extracted from
6883 select-safe-coding-system-interactively.
6884 (select-safe-coding-system-interactively): Use it.
6885 (read-input-method-name): Accept symbols for `default'.
6886
6887 * emacs-lisp/advice.el (defadvice): Add indent rule.
6888
6889 2013-09-05 Daniel Hackney <dan@haxney.org>
6890
6891 * dired-x.el:
6892 * net/ange-ftp.el:
6893 * net/browse-url.el:
6894 * net/dbus.el:
6895 * net/eudc.el:
6896 * net/eudcb-ldap.el:
6897 * net/eww.el:
6898 * net/imap.el:
6899 * printing.el:
6900 * vc/ediff-diff.el:
6901 * vc/ediff-init.el:
6902 * vc/ediff-merg.el:
6903 * vc/ediff-mult.el:
6904 * vc/ediff-util.el:
6905 * vc/ediff-wind.el:
6906 * vc/ediff.el:
6907 * vc/emerge.el:
6908 * vc/pcvs.el:
6909 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6910 byte compiler. Remove some unused let-bound variables.
6911
6912 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6915 a "ref-cell", since it gets better optimized (bug#14883).
6916
6917 2013-09-05 Glenn Morris <rgm@gnu.org>
6918
6919 * progmodes/cc-awk.el (c-forward-sws): Declare.
6920
6921 2013-09-04 Glenn Morris <rgm@gnu.org>
6922
6923 * generic-x.el [rul-generic-mode]: Require cc-mode.
6924 (c++-mode-syntax-table): Declare.
6925 (rul-generic-mode-syntax-table): Init in the defvar.
6926
6927 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6930 (vc-do-command, vc-set-async-update):
6931 * vc/vc-mtn.el (vc-mtn-dir-status):
6932 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6933 (vc-hg-pull, vc-hg-merge-branch):
6934 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6935 (vc-git-merge-branch):
6936 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6937 (vc-cvs-dir-status-files):
6938 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6939 (vc-bzr-dir-status-files):
6940 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6941 * vc/vc-annotate.el: Use lexical-binding.
6942 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6943 (vc-sentinel-movepoint): Declare.
6944 (vc-annotate): Don't use `goto-line'.
6945 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6946 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6947 (vc-sentinel-movepoint): Declare.
6948 * vc/vc-svn.el: Use lexical-binding.
6949 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6950 * vc/vc-sccs.el:
6951 * vc/vc-rcs.el: Use lexical-binding.
6952
6953 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6954 `deleted'. Don't drop errors silently.
6955
6956 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6957
6958 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6959
6960 * vc/vc.el (vc-ignore): Rewrite.
6961 (vc-default-ignore): New function.
6962 (vc-default-ignore-completion-table): Use find-ignore-file.
6963
6964 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6965 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6966 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6967 Remove. Most code moved to vc.el.
6968
6969 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6970
6971 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6972 * net/tramp-smb.el (tramp-smb-get-file-entries):
6973 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6974 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6975
6976 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6977 Update call to it.
6978 (eww-change-select): Remove unused var `properties'.
6979 (eww-make-unique-file-name): Remove unused var `base'.
6980
6981 * finder.el (finder-compile-keywords): Don't mess with windows.
6982
6983 * calculator.el (calculator-funcall): Fix typo in last change.
6984
6985 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6986
6987 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6988 <pkg>-autoloads.el file stop us.
6989
6990 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6991 warnings, and factor out common code.
6992
6993 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6994
6995 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6996 two-character operators and whether the character preceding them
6997 changes their meaning (Bug#15208).
6998
6999 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7000
7001 Format code sent to Python shell for robustness.
7002 * progmodes/python.el (python-shell-buffer-substring):
7003 New function.
7004 (python-shell-send-region, python-shell-send-buffer): Use it.
7005
7006 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7007
7008 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7009 * net/tramp.el (tramp-user-error): ... here.
7010 (tramp-find-method, tramp-check-proper-host)
7011 (tramp-dissect-file-name, tramp-debug-message)
7012 (tramp-handle-shell-command):
7013 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7014 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7015
7016 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7017
7018 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7019
7020 * avoid.el (mouse-avoidance-point-position)
7021 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7022 returns nil.
7023
7024 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7025
7026 * progmodes/python.el (python-shell-completion-get-completions):
7027 Drop use of deleted `comint-last-prompt-overlay'.
7028 (python-nav-if-name-main): New command.
7029
7030 2013-09-01 Glenn Morris <rgm@gnu.org>
7031
7032 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7033 Avoid leading space in $wins. Otherwise the sed command used by
7034 eg compile-main ends up containing "/*.el". (Bug#15170)
7035
7036 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7037
7038 2013-08-30 Glenn Morris <rgm@gnu.org>
7039
7040 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7041 Fix is-this-a-directory logic. (Bug#15220)
7042
7043 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * textmodes/css-mode.el: Use SMIE.
7046 (css-smie-grammar): New var.
7047 (css-smie--forward-token, css-smie--backward-token)
7048 (css-smie-rules): New functions.
7049 (css-mode): Use them.
7050 (css-navigation-syntax-table): Remove var.
7051 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7052 (css-indent-calculate, css-indent-line): Remove functions.
7053
7054 Misc changes to reduce use of `(lambda...); and other cleanups.
7055 * cus-edit.el: Use lexical-binding.
7056 (customize-push-and-save, customize-apropos)
7057 (custom-buffer-create-internal): Use closures.
7058 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7059 * progmodes/ada-xref.el: Use setq.
7060 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7061 * dframe.el: Use lexical-binding.
7062 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7063 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7064 * descr-text.el: Use lexical-binding.
7065 (describe-text-widget, describe-text-sexp, describe-property-list):
7066 Use closures.
7067 * comint.el (comint-history-isearch-push-state): Use a closure.
7068 * calculator.el: Use lexical-binding.
7069 (calculator-number-to-string): Make it work with lexical-binding.
7070 (calculator-funcall): Same and use cl-letf.
7071
7072 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7073 (lisp--company-doc-string, lisp--company-location): New functions.
7074 (lisp-completion-at-point): Use them to improve Company support.
7075
7076 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7077 params of lambda expressions.
7078 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7079 (ruby-smie--opening-pipe-p): New function.
7080 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7081 symbols and matched |...| for formal params.
7082 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7083 from being treated as hanging. Handle "rescue".
7084
7085 2013-08-29 Glenn Morris <rgm@gnu.org>
7086
7087 * progmodes/cc-engine.el (c-pull-open-brace):
7088 Move definition before use.
7089
7090 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7093 are immutable. Don't use `unsafe' any more.
7094 (cl--defsubst-expand): Don't substitute at the same time as keeping
7095 a residual unused let-binding. Don't use `unsafe' any more.
7096
7097 2013-08-29 Glenn Morris <rgm@gnu.org>
7098
7099 * calendar/cal-china.el (calendar-chinese-year-cache):
7100 Recenter on 2015.
7101
7102 * nxml/nxml-util.el (nxml-debug-clear-inside):
7103 Use cl-loop rather than loop.
7104
7105 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7106
7107 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7108
7109 2013-08-28 Glenn Morris <rgm@gnu.org>
7110
7111 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7112
7113 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7114
7115 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7116
7117 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * simple.el (repeat-complex-command--called-interactively-skip):
7120 New function.
7121 (repeat-complex-command): Use it (bug#14136).
7122
7123 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7124 (c-define-abbrev-table): Add `doc' argument.
7125 (c-mode-abbrev-table, c++-mode-abbrev-table)
7126 (objc-mode-abbrev-table, java-mode-abbrev-table)
7127 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7128 (awk-mode-abbrev-table): Use it.
7129 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7130 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7131 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7132 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7133 Move initialization into the declaration; and remove any
7134 autoload cookie.
7135
7136 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7137 and dynamic let binding.
7138
7139 * vc/smerge-mode.el: Remove redundant :group args.
7140
7141 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7142 to load-path.
7143
7144 2013-08-28 Juri Linkov <juri@jurta.org>
7145
7146 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7147 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7148 (isearch-other-meta-char): Handle an undefined shifted printing
7149 character by downshifting it. (Bug#15200)
7150
7151 2013-08-28 Juri Linkov <juri@jurta.org>
7152
7153 * isearch.el (isearch-search): Change regexp error message for
7154 non-regexp searches. (Bug#15166)
7155
7156 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7157
7158 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7159 for portability to hosts where /bin/sh has problems.
7160
7161 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7162
7163 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7164
7165 2013-08-27 Juri Linkov <juri@jurta.org>
7166
7167 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7168 in the keyboard macro. (Bug#15126)
7169
7170 2013-08-27 Juri Linkov <juri@jurta.org>
7171
7172 * isearch.el (isearch-quote-char): Comment out converting unibyte
7173 to multibyte, thus syncing with its `quoted-insert' counterpart.
7174 (Bug#15166)
7175
7176 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7177
7178 * window.el (display-buffer-use-some-window): Add missing
7179 argument in call of get-largest-window (Bug#15185).
7180 Reported by Stephen Leake.
7181
7182 2013-08-27 Glenn Morris <rgm@gnu.org>
7183
7184 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7185
7186 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7187
7188 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7189 from a matcher-function unless there's no more matches (bug#15161).
7190
7191 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7192
7193 * minibuffer.el: Revert change from 2013-08-20.
7194
7195 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7196 with text property `tramp-default', if appropriate.
7197 (tramp-check-proper-host): New defun.
7198 (tramp-dissect-file-name): Do not check hostname. Revert change
7199 of 2013-03-18.
7200 (tramp-backtrace): Make VEC-OR-PROC optional.
7201
7202 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7203 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7204 * net/tramp-sh.el (tramp-maybe-open-connection):
7205 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7206 Apply `tramp-check-proper-host'.
7207
7208 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7209
7210 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7211 lambda expression in order to have `describe-variable' display it.
7212
7213 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7214
7215 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7216 BUF can be optional. (Bug#15186)
7217
7218 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7219
7220 * progmodes/flymake.el (flymake-get-real-file-name-function):
7221 Fix broken customization. (Bug#15184)
7222
7223 2013-08-25 Alan Mackenzie <acm@muc.de>
7224
7225 Improve indentation of bracelists defined by macros (without "=").
7226
7227 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7228 expansion begins with "{", regard it as bracelist when it doesn't
7229 contain a ";".
7230
7231 Parse C++ inher-intro when there's a template split over 2 lines.
7232
7233 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7234 rigorously the search for "class" etc. followed by ":".
7235
7236 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7237 random languages a regexp which never matches rather than nil.
7238
7239 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7240
7241 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7242 (c-awk-regexp-one-line-possibly-open-char-list-re)
7243 (c-awk-one-line-possibly-open-regexp-re)
7244 (c-awk-one-line-non-syn-ws*-re): Remove.
7245 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7246 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7247 (c-awk-space*-unclosed-regexp-/-re): New constants.
7248 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7249 aren't regexp delimiters.
7250
7251 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7252 handling for a rare situation in AWK Mode involving unterminated
7253 strings/regexps.
7254
7255 2013-08-23 Glenn Morris <rgm@gnu.org>
7256
7257 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7258
7259 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7260
7261 * files.el (create-file-buffer): If the result would begin with
7262 spaces, prepend a "|" instead of removing them. (Bug#15162)
7263
7264 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7267 text-properties (bug#15155).
7268
7269 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7270 exist any more.
7271 (calc-keypad-redraw): Remove unused var `pad'.
7272 (calc-keypad-press): Remove unused var `menu'.
7273
7274 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7275
7276 * window.el (display-buffer-pop-up-frame):
7277 Call pop-up-frame-function with BUFFER current so `make-frame' will
7278 use it as the new frame's buffer (Bug#15133).
7279
7280 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * calendar/timeclock.el: Minor cleanups.
7283 (timeclock-ask-before-exiting, timeclock-use-display-time):
7284 Use `symbol'.
7285 (timeclock-modeline-display): Define as alias before the
7286 actual definition.
7287 (timeclock-mode-line-display): Use define-minor-mode.
7288 (timeclock-day-list-template): Make it a function, add an argument.
7289 (timeclock-day-list-required, timeclock-day-list-length)
7290 (timeclock-day-list-debt, timeclock-day-list-span)
7291 (timeclock-day-list-break): Adjust calls accordingly.
7292
7293 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7296 Use read--expression so that completion works again.
7297
7298 2013-08-21 Sam Steingold <sds@gnu.org>
7299
7300 Add rudimentary inferior shell interaction
7301 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7302 (sh-set-shell): Reset it.
7303 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7304 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7305
7306 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7307
7308 * align.el: Use lexical-binding.
7309 (align-region): Simplify accordingly.
7310
7311 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7312
7313 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7314
7315 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7316 `non-essential' up.
7317
7318 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7319
7320 * net/tramp.el:
7321 * net/tramp-adb.el:
7322 * net/tramp-cmds.el:
7323 * net/tramp-ftp.el:
7324 * net/tramp-gvfs.el:
7325 * net/tramp-gw.el:
7326 * net/tramp-sh.el: Don't wrap external variable declarations by
7327 `eval-when-compile'.
7328
7329 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7330
7331 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7332 now that Emacs supports ImageMagick animations.
7333
7334 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7335
7336 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7337 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7338
7339 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7340
7341 * window.el (mouse-autoselect-window-select): Do autoselect when
7342 mouse pointer is on margin.
7343
7344 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7345
7346 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7347
7348 2013-08-16 Glenn Morris <rgm@gnu.org>
7349
7350 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7351 Handle "Remote Directory" response of some clients. (Bug#15058)
7352
7353 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7354 Tweak warning. (Bug#14926)
7355
7356 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7357 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7358
7359 * image-mode.el (image-mode-map): Add menu items to reverse,
7360 increase, decrease, reset animation speed.
7361 (image--set-speed, image-increase-speed, image-decrease-speed)
7362 (image-reverse-speed, image-reset-speed): New functions.
7363 (image-mode-map): Add bindings for speed commands.
7364
7365 * image.el (image-animate-get-speed, image-animate-set-speed):
7366 New functions.
7367 (image-animate-timeout): Respect image :speed property.
7368
7369 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7372 previous line (bug#15101).
7373 (debugger-eval-expression, debugger-record-expression):
7374 Use read--expression (bug#15102).
7375
7376 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7377
7378 Remove byte compiler warnings, visible when compiling with
7379 `byte-compile-force-lexical-warnings' set to t.
7380
7381 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7382 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7383 (tramp-handle-unhandled-file-name-directory)
7384 (tramp-handle-file-notify-add-watch, tramp-action-login)
7385 (tramp-action-succeed, tramp-action-permission-denied)
7386 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7387 arguments with "_".
7388
7389 * net/tramp-adb.el (tramp-adb-parse-device-names)
7390 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7391 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7392 (tramp-adb-handle-file-truename): Remove unused arguments.
7393
7394 * net/tramp-cache.el (tramp-flush-directory-property)
7395 (tramp-flush-connection-property, tramp-list-connections)
7396 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7397
7398 * net/tramp-compat.el (tramp-compat-make-temp-file):
7399 Rename FILENAME to F.
7400
7401 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7402 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7403 (tramp-zeroconf-parse-workstation-device-names)
7404 (tramp-zeroconf-parse-webdav-device-names)
7405 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7406
7407 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7408 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7409
7410 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7411 arguments.
7412 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7413 (tramp-sh-handle-insert-file-contents-literally)
7414 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7415 with "_".
7416 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7417 Remove unused variables.
7418
7419 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7420 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7421 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7422
7423 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7424 Make them a defconst.
7425 (tramp-uuencode-region): Remove unused variable.
7426
7427 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7428
7429 * frameset.el (frameset--prop-setter): New function.
7430 (frameset-prop): Add gv-setter declaration.
7431 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7432 parameter was already set in FILTERED. Doc fix.
7433 (frameset--record-minibuffer-relationships): Allow saving a
7434 minibufferless frame without its corresponding minibuffer frame.
7435 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7436 frame, if the frame id matches.
7437 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7438 frames before orphaned ones.
7439 (frameset-restore): Warn about orphaned windows, instead of error out.
7440
7441 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7442
7443 * window.el (window-make-atom): Don't overwrite parameter
7444 already present.
7445 (display-buffer-in-atom-window): Handle special case where we
7446 split an already atomic window.
7447 (window--major-non-side-window, display-buffer-in-side-window)
7448 (window--side-check): Ignore minibuffer window when walking
7449 window tree.
7450 (window-deletable-p): Return 'frame only if no other frame uses
7451 our minibuffer window.
7452 (record-window-buffer): Run buffer-list-update-hook.
7453 (split-window): Make sure window--check-frame won't destroy an
7454 existing atomic window in case the new window gets nested
7455 inside.
7456 (display-buffer-at-bottom): Ignore minibuffer window when
7457 walking window tree. Don't split a side window.
7458 (pop-to-buffer): Don't set-buffer here, the select-window call
7459 should do that.
7460 (mouse-autoselect-window-select): Autoselect only if we are in the
7461 text portion of the window.
7462
7463 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7464
7465 * net/shr.el (shr-parse-image-data): New function to grab both the
7466 data itself and the Content-Type.
7467 (shr-put-image): Use it.
7468
7469 * net/eww.el (eww-display-image): Ditto.
7470
7471 * image.el (image-content-type-suffixes): New variable.
7472
7473 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7474
7475 * progmodes/python.el (python-imenu--build-tree)
7476 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7477
7478 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7479
7480 * simple.el (backward-word): Mention the optional argument.
7481
7482 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7483
7484 * frameset.el (frameset--make): Rename constructor from make-frameset.
7485 (frameset-p, frameset-valid-p): Don't autoload.
7486 (frameset-valid-p): Use normal accessors.
7487
7488 2013-08-13 Glenn Morris <rgm@gnu.org>
7489
7490 * progmodes/compile.el (compile-command): Tweak example in doc.
7491 * obsolete/scribe.el (scribe-mode):
7492 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7493
7494 * mail/feedmail.el (feedmail-confirm-outgoing)
7495 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7496
7497 * cus-start.el (truncate-partial-width-windows): Fix type.
7498
7499 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7500
7501 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7502
7503 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * emacs-lisp/timer.el (timer--time-setter): New function.
7506 (timer--time): Use it as gv-setter.
7507
7508 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7509 setter is not a symbol.
7510
7511 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7512
7513 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7514 if sending fails. This makes debugging easier.
7515
7516 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7517
7518 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7519 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7520 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7521
7522 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7523
7524 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7525
7526 2013-08-12 Glenn Morris <rgm@gnu.org>
7527
7528 * format.el (format-annotate-function):
7529 Handle read-only text properties in the source. (Bug#14887)
7530
7531 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7532
7533 * net/eww.el (eww-display-html): Ignore coding system errors.
7534 One web site uses "utf-8lias" as the coding system.
7535
7536 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7537
7538 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7539
7540 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7541
7542 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7543 (tutorial--detailed-help): Remove unused local variables.
7544 (tutorial--save-tutorial-to): Use ignore-errors.
7545 (help-with-tutorial): Use looking-at-p.
7546
7547 * view.el (view-buffer-other-window, view-buffer-other-frame):
7548 Mark unused arguments.
7549
7550 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7551 (woman-select-symbol-fonts, woman, woman-find-file)
7552 (woman-insert-file-contents, woman-non-underline-faces):
7553 Use string-match-p.
7554 (woman1-unquote): Move declaration.
7555
7556 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7557 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7558 argument. Remove unused local variable.
7559 (xml-parse-elem-type): Use string-match-p.
7560 (xml-substitute-numeric-entities): Use ignore-errors.
7561
7562 * calculator.el (calculator): Mark unused argument.
7563 (calculator-paste, calculator-quit, calculator-integer-p):
7564 Use ignore-errors.
7565 (calculator-string-to-number, calculator-decimal, calculator-exp)
7566 (calculator-op-or-exp): Use string-match-p.
7567
7568 * dired.el (dired-buffer-more-recently-used-p): Declare.
7569 (dired-insert-set-properties, dired-insert-old-subdirs):
7570 Use ignore-errors.
7571
7572 * dired-aux.el (dired-compress): Use ignore-errors.
7573 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7574 (dired-do-async-shell-command, dired-do-shell-command)
7575 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7576 (dired-insert-subdir-validate): Use string-match-p.
7577 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7578 (dired-add-entry): Use string-match-p, looking-at-p.
7579 (dired-insert-subdir-newpos): Remove unused local variable.
7580
7581 * filenotify.el (file-notify-callback): Remove unused local variable.
7582
7583 * filesets.el (filesets-error): Mark unused argument.
7584 (filesets-which-command-p, filesets-filter-dir-names)
7585 (filesets-directory-files, filesets-get-external-viewer)
7586 (filesets-ingroup-get-data): Use string-match-p.
7587
7588 * find-file.el (ff-other-file-name, ff-other-file-name)
7589 (ff-find-the-other-file, ff-cc-hh-converter):
7590 Remove unused local variables.
7591 (ff-get-file-name): Use string-match-p.
7592 (ff-all-dirs-under): Use ignore-errors.
7593
7594 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7595 (follow-select-if-visible): Remove unused local variable.
7596
7597 * forms.el (read-file-filter): Move declaration.
7598 (forms--make-format, forms--make-parser, forms-insert-record):
7599 Quote function with #'.
7600 (forms--update): Use string-match-p. Quote function with #'.
7601
7602 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7603 (help-make-xrefs): Use looking-at-p.
7604 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7605
7606 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7607 (ibuffer-confirm-operation-on): Use string-match-p.
7608
7609 * msb.el (msb-item-handler, msb-dired-item-handler):
7610 Mark unused arguments.
7611
7612 * ses.el (ses-decode-cell-symbol)
7613 (ses-kill-override): Remove unused local variable.
7614 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7615 (ses-load): Use ignore-errors, looking-at-p.
7616 (ses-jump-safe): Use ignore-errors.
7617 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7618
7619 * tabify.el (untabify, tabify): Mark unused arguments.
7620
7621 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7622 Mark unused argument.
7623 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7624 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7625
7626 * emacs-lisp/timer.el (timer--time): Define setter with
7627 gv-define-setter to avoid deprecation warning.
7628
7629 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7630 (*record-cmpl-statistics-p*): Remove (was commented out).
7631 (cmpl-statistics-block): Remove (body was commented out).
7632 All callers changed.
7633 (add-completions-from-buffer, load-completions-from-file):
7634 Remove unused variables.
7635
7636 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7637
7638 * filecache.el (file-cache-delete-file-list):
7639 Print message only when told so.
7640 (file-cache-files-matching): Use #' in mapconcat argument.
7641
7642 * ffap.el (ffap-url-at-point): Fix reference to variable
7643 thing-at-point-default-mail-uri-scheme.
7644
7645 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * subr.el (define-error): New function.
7648 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7649 error-file-not-found and define with define-error.
7650 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7651 and define with define-error.
7652 * userlock.el (file-locked, file-supersession):
7653 * simple.el (mark-inactive):
7654 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7655 * progmodes/ada-mode.el (ada-mode-errors):
7656 * play/life.el (life-extinct):
7657 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7658 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7659 * nxml/rng-util.el (rng-error):
7660 * nxml/rng-uri.el (rng-uri-error):
7661 * nxml/rng-match.el (rng-compile-error):
7662 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7663 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7664 * nxml/nxml-rap.el (nxml-scan-error):
7665 * nxml/nxml-outln.el (nxml-outline-error):
7666 * net/soap-client.el (soap-error):
7667 * net/gnutls.el (gnutls-error):
7668 * net/ange-ftp.el (ftp-error):
7669 * mpc.el (mpc-proc-error):
7670 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7671 (json-number-format, json-string-escape, json-string-format)
7672 (json-key-format, json-object-format):
7673 * jka-compr.el (compression-error):
7674 * international/quail.el (quail-error):
7675 * international/kkc.el (kkc-error):
7676 * emacs-lisp/ert.el (ert-test-failed):
7677 * calc/calc.el (calc-error, inexact-result, math-overflow)
7678 (math-underflow):
7679 * bookmark.el (bookmark-error-no-filename):
7680 * epg.el (epg-error): Define with define-error.
7681
7682 * time.el (display-time-event-handler)
7683 (display-time-next-load-average): Don't call sit-for since it seems
7684 unnecessary (bug#15045).
7685
7686 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7687 Use #' instead of ' to quote functions.
7688 (checkdoc-output-mode): Use setq-local.
7689 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7690 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7691 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7692 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7693 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7694 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7695 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7696 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7697
7698 * ido.el (ido-completion-help): Fix up compiler warning.
7699
7700 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7701
7702 * frameset.el (frameset-p): Add autoload cookie.
7703 (frameset--jump-to-register): New function, based on code moved from
7704 register.el.
7705 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7706
7707 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7708 (frameset-restore, frameset-save, frameset-session-filter-alist):
7709 Remove declarations.
7710 (register-alist): Doc fix.
7711 (frameset-to-register): Move to frameset.el.
7712 (jump-to-register, describe-register-1): Remove frameset-specific code.
7713
7714 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7715
7716 * allout-widgets.el (allout-widgets-pre-command-business)
7717 (allout-widgets-post-command-business)
7718 (allout-widgets-after-change-handler)
7719 (allout-decorate-item-and-context, allout-set-boundary-marker)
7720 (allout-body-modification-handler)
7721 (allout-graphics-modification-handler): Mark ignored arguments.
7722 (allout-widgets-post-command-business)
7723 (allout-widgets-exposure-change-processor)
7724 (allout-widgets-exposure-undo-processor)
7725 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7726 (allout-parse-item-at-point, allout-decorate-item-guides)
7727 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7728 * allout.el (epa-passphrase-callback-function): Declare.
7729 (allout-overlay-insert-in-front-handler)
7730 (allout-overlay-interior-modification-handler)
7731 (allout-isearch-end-handler, allout-chart-siblings)
7732 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7733 (allout-yank-processing, allout-process-exposed)
7734 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7735 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7736 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7737 (lisp-indent-defform): Mark ignored arguments.
7738 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7739 (calculate-lisp-indent): Remove unused variables.
7740 * international/characters.el (indian-2-column, arabic-2-column)
7741 (tibetan): Mark ignored arguments.
7742 (use-cjk-char-width-table): Mark ignored arguments.
7743 Remove unused variables.
7744 * international/fontset.el (build-default-fontset-data)
7745 (x-compose-font-name, create-fontset-from-fontset-spec):
7746 Mark ignored arguments.
7747 (fontset-plain-name): Remove unused variables.
7748 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7749 (keyboard-coding-system): Mark ignored arguments.
7750 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7751 * help.el (resize-temp-buffer-window):
7752 * window.el (display-buffer-in-major-side-window)
7753 (display-buffer-in-side-window, display-buffer-in-previous-window):
7754 Remove unused variables.
7755 * isearch.el (isearch-forward-symbol):
7756 * version.el (emacs-bzr-version-bzr):
7757 * international/mule-cmds.el (current-language-environment):
7758 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7759 (x-handle-display):
7760 * term/pc-win.el (x-list-fonts, x-display-planes)
7761 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7762 (x-server-version, x-display-screens, x-display-mm-height)
7763 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7764 (x-selection-owner-p, x-own-selection-internal)
7765 (x-disown-selection-internal, x-get-selection-internal)
7766 (msdos-initialize-window-system):
7767 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7768 * term/x-win.el (x-handle-no-bitmap-icon):
7769 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7770 (vc-default-find-file-hook, vc-default-extra-menu):
7771 Mark ignored arguments.
7772
7773 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7774
7775 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7776 break-condition in the context of the debugged code (bug#12685).
7777
7778 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7779
7780 * comint.el:
7781 Do not use an overlay to highlight the last prompt. (Bug#14744)
7782 (comint-mode): Make comint-last-prompt buffer local.
7783 (comint-last-prompt): New variable.
7784 (comint-last-prompt-overlay): Remove. Superseded by
7785 comint-last-prompt.
7786 (comint-snapshot-last-prompt, comint-output-filter):
7787 Use comint-last-prompt.
7788
7789 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7790
7791 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7792 (frameset-save): Check validity of the resulting frameset.
7793
7794 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7795
7796 * ido.el (ido-record-command): Add doc string.
7797
7798 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7799
7800 * frameset.el (frameset): Do not disable creation of the default
7801 frameset-p predicate. Doc fix.
7802 (frameset-valid-p): New function, copied from the old predicate-p.
7803 Add additional checks.
7804 (frameset-restore): Check with frameset-valid-p.
7805 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7806 (frameset-name, frameset-description, frameset-properties)
7807 (frameset-states): Add docstring.
7808 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7809 (frameset-filter-alist): Doc fixes.
7810
7811 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7812
7813 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7814
7815 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7818 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7819 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7820 (byte-compile-normal-call): Remove obsolescence check.
7821
7822 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7823
7824 * frameset.el (frameset-restore): Doc fix.
7825
7826 * register.el (frameset-frame-id, frameset-frame-with-id)
7827 (frameset-p, frameset-restore, frameset-save): Declare.
7828 (register-alist): Document framesets.
7829 (frameset-session-filter-alist): Declare.
7830 (frameset-to-register): New function.
7831 (jump-to-register): Implement jumping to framesets. Doc fix.
7832 (describe-register-1): Describe framesets.
7833
7834 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7835
7836 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7837
7838 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7839 Use lexical-binding.
7840
7841 * frameset.el (frameset): Use type vector, not list (incompatible
7842 change). Do not declare a new constructor, use the default one.
7843 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7844 `name' and `description', respectively, and add read-only slot
7845 `timestamp'. Doc fixes.
7846 (frameset-copy, frameset-persistent-filter-alist)
7847 (frameset-filter-alist, frameset-switch-to-gui-p)
7848 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7849 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7850 (frameset-filter-iconified, frameset-keep-original-display-p):
7851 Doc fixes.
7852 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7853 Rename from frameset-filter-(save|restore)-param. All callers changed.
7854 Doc fix.
7855 (frameset-p): Adapt to change to vector and be more thorough.
7856 Change arg name to OBJECT. Doc fix.
7857 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7858 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7859 All callers changed.
7860 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7861 All callers changed.
7862 (frameset--record-minibuffer-relationships): Rename from
7863 frameset--process-minibuffer-frames. All callers changed.
7864 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7865 Use new default constructor (again). Doc fix.
7866 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7867 All callers changed.
7868 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7869 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7870 Doc fix.
7871 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7872 PARAMETERS and WINDOW-STATE, respectively.
7873 (frameset-restore): Add new keyword argument PREDICATE.
7874 Reset frameset--target-display to nil. Doc fix.
7875
7876 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7877
7878 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7879 (bat-mode): Use it.
7880 (bat-mode-syntax-table): Mark \n as end-of-comment.
7881 (bat-font-lock-keywords): Remove comment rule.
7882
7883 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7884 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7885
7886 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7887 (byte-compile-callargs-warn): Use `push'.
7888 (byte-compile-arglist-warn): Ignore higher-order "calls".
7889 (byte-compile-file-form-autoload): Use `pcase'.
7890 (byte-compile-function-form): If quoting a symbol, check that it exists.
7891
7892 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7893
7894 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7895 and add a few popular commands found in batch files.
7896 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7897 (dos-mode): Doc fixes.
7898
7899 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7902 (dos-mode): Use setq-local. Add space after "rem".
7903 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7904 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7905
7906 2013-08-07 Arni Magnusson <arnima@hafro.is>
7907
7908 * progmodes/dos.el: New file.
7909 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7910 dos-mode.
7911
7912 2013-08-06 Glenn Morris <rgm@gnu.org>
7913
7914 * calendar/calendar.el: Add new faces, and day-header-array.
7915 (calendar-weekday-header, calendar-weekend-header)
7916 (calendar-month-header): New faces.
7917 (calendar-day-header-construct): New function.
7918 (calendar-day-header-width): Also :set calendar-day-header-array.
7919 (calendar-american-month-header, calendar-european-month-header)
7920 (calendar-iso-month-header): Use calendar- faces.
7921 (calendar-generate-month):
7922 Use calendar-day-header-array for day headers; apply faces to them.
7923 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7924 (calendar-abbrev-construct): Add optional maxlen argument.
7925 (calendar-day-name-array): Doc fix.
7926 (calendar-day-name-array, calendar-abbrev-length)
7927 (calendar-day-abbrev-array):
7928 Also :set calendar-day-header-array, and maybe redraw.
7929 (calendar-day-header-array): New option. (Bug#15007)
7930 (calendar-font-lock-keywords): Set to nil and make obsolete.
7931 (calendar-day-name): Add option to use header array.
7932
7933 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7934
7935 * net/shr.el (shr-render-td): Remove debugging.
7936 (shr-render-td): Make width computation consistent by defaulting
7937 all zero-width columns to 10 characters. This may not be optimal,
7938 but it's at least consistent.
7939 (shr-make-table-1): Redo last change to fix the real problem in
7940 colspan handling.
7941
7942 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7943
7944 * files.el (cache-long-line-scans):
7945 Make obsolete alias to `cache-long-scans'.
7946
7947 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7948
7949 * frameset.el (frameset, frameset-filter-alist)
7950 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7951 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7952 (frameset-compute-pos): Rename from frameset--compute-pos,
7953 and add docstring.
7954 (frameset-move-onscreen): Use frameset-compute-pos.
7955 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7956
7957 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7958 Fix typos in docstrings.
7959
7960 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7961
7962 * frame.el (get-other-frame): Tiny cleanup.
7963
7964 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7965
7966 * vc/vc.el (vc-default-ignore-completion-table):
7967 Silence byte-compiler warning.
7968
7969 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7970 slot, which can indeed be nil.
7971 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7972 Move entry for `left' from persistent to live filter alist.
7973 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7974 Doc fixes.
7975 (frameset-filter-params): When restoring a frame, copy items added to
7976 `filtered', to avoid unwittingly modifying the original parameters.
7977 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7978 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7979
7980 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7981 to use looking-at-p instead of looking-at. (Bug#15028)
7982
7983 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7984
7985 Revert introduction of isearch-filter-predicates (bug#14714).
7986 Rely on add-function instead.
7987 * isearch.el (isearch-filter-predicates): Rename it back to
7988 isearch-filter-predicate.
7989 (isearch-message-prefix): Use advice-function-mapc and advice
7990 properties to get the isearch-message-prefix.
7991 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7992 instead of run-hook-with-args-until-failure.
7993 (isearch-filter-visible): Not obsolete any more.
7994 * loadup.el: Preload nadvice.
7995 * replace.el (perform-replace): Revert to funcall
7996 instead of run-hook-with-args-until-failure.
7997 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7998 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7999 dired-isearch-filenames-toggle; make it into a proper minor mode.
8000 Use add/remove-function.
8001 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8002 Call the minor-mode rather than add/remove-hook.
8003 (dired-isearch-filter-filenames):
8004 Remove isearch-message-prefix property.
8005 * info.el (Info--search-loop): New function, extracted from Info-search.
8006 Funcall isearch-filter-predicate instead of
8007 run-hook-with-args-until-failure isearch-filter-predicates.
8008 (Info-search): Use it.
8009 (Info-mode): Use isearch-filter-predicate instead of
8010 isearch-filter-predicates.
8011
8012 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8013
8014 Do not call to `selected-window' where it is assumed by default.
8015 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8016 `window-hscroll', `window-width', `window-height', `window-buffer',
8017 `window-frame', `window-start', `window-point', `next-window'
8018 and `window-display-table'.
8019 * abbrev.el (abbrev--default-expand):
8020 * bs.el (bs--show-with-configuration):
8021 * buff-menu.el (Buffer-menu-mouse-select):
8022 * calc/calc.el (calc):
8023 * calendar/calendar.el (calendar-generate-window):
8024 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8025 (diary-make-entry):
8026 * comint.el (send-invisible, comint-dynamic-complete-filename)
8027 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8028 * completion.el (complete):
8029 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8030 * disp-table.el (describe-current-display-table):
8031 * doc-view.el (doc-view-insert-image):
8032 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8033 * ehelp.el (with-electric-help):
8034 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8035 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8036 * emacs-lisp/helper.el (Helper-help-scroller):
8037 * emulation/cua-base.el (cua--post-command-handler-1):
8038 * eshell/esh-mode.el (eshell-output-filter):
8039 * ffap.el (ffap-gnus-wrapper):
8040 * help-macro.el (make-help-screen):
8041 * hilit-chg.el (highlight-compare-buffers):
8042 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8043 * hl-line.el (global-hl-line-highlight):
8044 * icomplete.el (icomplete-simple-completing-p):
8045 * isearch.el (isearch-done):
8046 * jit-lock.el (jit-lock-stealth-fontify):
8047 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8048 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8049 * mpc.el (mpc-tagbrowser, mpc):
8050 * net/rcirc.el (rcirc-any-buffer):
8051 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8052 * play/landmark.el (landmark-max-width, landmark-max-height):
8053 * play/zone.el (zone):
8054 * progmodes/compile.el (compilation-goto-locus):
8055 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8056 * progmodes/etags.el (find-tag-other-window):
8057 * progmodes/fortran.el (fortran-column-ruler):
8058 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8059 * progmodes/verilog-mode.el (verilog-point-text):
8060 * reposition.el (reposition-window):
8061 * rot13.el (toggle-rot13-mode):
8062 * server.el (server-switch-buffer):
8063 * shell.el (shell-dynamic-complete-command)
8064 (shell-dynamic-complete-environment-variable):
8065 * simple.el (insert-buffer, set-selective-display)
8066 (delete-completion-window):
8067 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8068 (speedbar-recenter):
8069 * startup.el (fancy-splash-head):
8070 * textmodes/ispell.el (ispell-command-loop):
8071 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8072 * tutorial.el (help-with-tutorial):
8073 * vc/add-log.el (add-change-log-entry):
8074 * vc/compare-w.el (compare-windows):
8075 * vc/ediff-help.el (ediff-indent-help-message):
8076 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8077 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8078 (ediff-setup-control-frame):
8079 * vc/emerge.el (emerge-position-region):
8080 * vc/pcvs-util.el (cvs-bury-buffer):
8081 * window.el (walk-windows, mouse-autoselect-window-select):
8082 * winner.el (winner-set-conf, winner-undo): Related users changed.
8083
8084 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8085
8086 * frameset.el (frameset--set-id): Doc fix.
8087 (frameset-frame-id, frameset-frame-id-equal-p)
8088 (frameset-locate-frame-id): New functions.
8089 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8090 (frameset-restore): Use them.
8091
8092 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8093
8094 Do not call to `selected-frame' where it is assumed by default.
8095 Affected functions are `raise-frame', `redraw-frame',
8096 `frame-first-window', `frame-terminal' and `delete-frame'.
8097 * calendar/appt.el (appt-disp-window):
8098 * epg.el (epg-wait-for-completion):
8099 * follow.el (follow-delete-other-windows-and-split)
8100 (follow-avoid-tail-recenter):
8101 * international/mule.el (set-terminal-coding-system):
8102 * mail/rmail.el (rmail-mail-return):
8103 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8104 * progmodes/f90.el (f90-add-imenu-menu):
8105 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8106 * server.el (server-switch-buffer):
8107 * simple.el (delete-completion-window):
8108 * talk.el (talk):
8109 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8110 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8111 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8112 * vc/ediff.el (ediff-documentation): Related users changed.
8113 * frame.el (selected-terminal): Remove the leftover.
8114
8115 2013-08-05 Glenn Morris <rgm@gnu.org>
8116
8117 * calendar/calendar.el (calendar-generate-month):
8118 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8119 (calendar-generate-month, calendar-font-lock-keywords):
8120 Fix for calendar-day-header-width > length of any day name.
8121
8122 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8123
8124 * desktop.el (desktop-clear): Use new name of sort predicate.
8125
8126 * frameset.el (frameset): Add docstring. Move :version property to its
8127 own `version' slot.
8128 (frameset-copy): Rename from copy-frameset.
8129 (frameset-p): Check more thoroughly.
8130 (frameset-prop): Do not check for :version, which is no longer a prop.
8131 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8132 Use new :never value instead of t.
8133 (frameset-filter-alist): Expand and clarify docstring.
8134 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8135 (frameset-filter-minibuffer, frameset-filter-save-param)
8136 (frameset-filter-restore-param, frameset-filter-iconified):
8137 Add pointer to docstring of frameset-filter-alist.
8138 (frameset-filter-params): Rename filter values to be more meaningful:
8139 :never instead of t, and reverse the meanings of :save and :restore.
8140 (frameset--process-minibuffer-frames): Clarify error message.
8141 (frameset-save): Avoid unnecessary and confusing call to framep.
8142 Use new BOA constructor for framesets.
8143 (frameset--reuse-list): Doc fix.
8144 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8145 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8146 (frameset-minibufferless-first-p): Doc fix.
8147 Rename from frameset-sort-frames-for-deletion.
8148 (frameset-restore): Doc fixes. Use new function names.
8149 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8150
8151 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8152
8153 * desktop.el (desktop-restore-forces-onscreen)
8154 (desktop-restore-reuses-frames): Document :keyword constant values.
8155 (desktop-filter-parameters-alist): Remove, now identical to
8156 frameset-filter-alist.
8157 (desktop--filter-tty*): Remove, moved to frameset.el.
8158 (desktop-save-frameset, desktop-restore-frameset):
8159 Do not pass :filters argument.
8160
8161 * frameset.el (frameset-live-filter-alist)
8162 (frameset-persistent-filter-alist): New variables.
8163 (frameset-filter-alist): Use them. Add autoload cookie.
8164 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8165 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8166 `frameset--id' (it's supposed to be internal to frameset.el).
8167 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8168 (frameset--initial-params): New function.
8169 (frameset--get-frame): Use it. Doc fix.
8170 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8171 Accept :all, not 'all.
8172 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8173 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8174 with fbound symbols. Fix frame id matching, and remove matching ids if
8175 the frame being restored is deleted. Obey :delete.
8176
8177 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * subr.el (macrop): New function.
8180 (text-clone--maintaining): New var.
8181 (text-clone--maintain): Rename from text-clone-maintain. Use it
8182 instead of inhibit-modification-hooks.
8183
8184 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8185 a proxy, so as handle autoloads and redefinitions of the target.
8186 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8187
8188 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8189 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8190 (pcase--mutually-exclusive-p): New function.
8191 (pcase--split-consp): Use it.
8192 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8193 mutually exclusive with the current predicate.
8194
8195 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8196 (edebug-macrop): Remove. Use `macrop' instead.
8197 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8198 (ad-macro-p):
8199 * eshell/esh-cmd.el (eshell-macrop):
8200 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8201
8202 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8205 (advice-mapc): New function, using it.
8206 (advice-function-member-p): New function.
8207 (advice--normalize): Store the cdr in advice--saved-rewrite since
8208 that's the part that will be changed.
8209 (advice--symbol-function): New function.
8210 (advice-remove): Handle removal before the function is defined.
8211 Adjust to new advice--saved-rewrite.
8212 (advice-member-p): Use advice-function-member-p and
8213 advice--symbol-function.
8214
8215 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8216
8217 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8218 (frameset-filter-minibuffer): Doc fix.
8219 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8220 (frameset--set-id, frameset--process-minibuffer-frames)
8221 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8222 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8223
8224 * desktop.el (desktop-clear): Only delete frames when called
8225 interactively and desktop-restore-frames is non-nil. Doc fix.
8226 (desktop-read): Set desktop-saved-frameset to nil.
8227
8228 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8229
8230 * vc/vc.el (vc-ignore): Rewrite.
8231 (vc-default-ignore-completion-table, vc--read-lines)
8232 (vc--add-line, vc--remove-regexp): New functions.
8233
8234 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8235 (vc-svn-ignore-completion-table): New function.
8236
8237 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8238 (vc-hg-ignore-completion-table)
8239 (vc-hg-find-ignore-file): New functions.
8240
8241 * vc/vc-git.el (vc-git-ignore): Rewrite.
8242 (vc-git-ignore-completion-table)
8243 (vc-git-find-ignore-file): New functions.
8244
8245 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8246
8247 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8248 (vc-bzr-ignore-completion-table)
8249 (vc-bzr-find-ignore-file): New functions.
8250
8251 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8252
8253 * frameset.el (frameset-prop): New function and setter.
8254 (frameset-save): Do not modify frame list passed by the caller.
8255
8256 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8259
8260 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8263 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8264
8265 * custom.el (custom-initialize-default, custom-initialize-set)
8266 (custom-initialize-reset, custom-initialize-changed): Affect the
8267 toplevel-default-value (bug#6275, bug#14586).
8268 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8269 for bug#6275.
8270
8271 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8272
8273 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8274 Add cl-def* expressions.
8275
8276 * frameset.el (frameset-filter-params): Fix order of arguments.
8277
8278 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8279
8280 Move code related to saving frames to frameset.el.
8281 * desktop.el: Require frameset.
8282 (desktop-restore-frames): Doc fix.
8283 (desktop-restore-reuses-frames): Rename from
8284 desktop-restoring-reuses-frames.
8285 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8286 (desktop-clear): Clear frames too.
8287 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8288 (desktop--filter-tty*, desktop-save, desktop-read):
8289 Use frameset functions.
8290 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8291 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8292 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8293 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8294 (desktop--process-minibuffer-frames, desktop-save-frames)
8295 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8296 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8297 (desktop--sort-states, desktop-restoring-frames-p)
8298 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8299 (desktop-restoring-frameset-p, desktop-restore-frameset)
8300 (desktop--check-dont-save, desktop-save-frameset): New functions.
8301 (desktop--app-id): New constant.
8302 (desktop-first-buffer, desktop-buffer-ok-count)
8303 (desktop-buffer-fail-count): Move before first use.
8304 * frameset.el: New file.
8305
8306 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8307
8308 * files.el: Use lexical-binding.
8309 (dir-locals-read-from-file): Remove unused `err' variable.
8310 (hack-dir-local-variables--warned-coding): New var.
8311 (hack-dir-local-variables): Use it to avoid repeated warnings.
8312 (make-backup-file-name--default-function): New function.
8313 (make-backup-file-name-function): Use it as default.
8314 (buffer-stale--default-function): New function.
8315 (buffer-stale-function): Use it as default.
8316 (revert-buffer-insert-file-contents--default-function): New function.
8317 (revert-buffer-insert-file-contents-function): Use it as default.
8318 (insert-directory): Avoid add-to-list.
8319
8320 * autorevert.el (auto-revert-handler): Simplify.
8321 Use buffer-stale--default-function.
8322
8323 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8324
8325 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8326
8327 * whitespace.el (whitespace-ensure-local-variables): New function.
8328 (whitespace-cleanup-region): Call it.
8329 (whitespace-turn-on): Call it.
8330
8331 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8332
8333 Complete file name handlers.
8334
8335 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8336 (tramp-handle-verify-visited-file-modtime)
8337 (tramp-handle-file-notify-rm-watch): New functions.
8338 (tramp-call-process): Do not bind `default-directory'.
8339
8340 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8341 Order alphabetically.
8342 <access-file, add-name-to-file, dired-call-process>:
8343 <dired-compress-file, file-acl, file-notify-rm-watch>:
8344 <file-ownership-preserved-p, file-selinux-context>:
8345 <make-directory-internal, make-symbolic-link, set-file-acl>:
8346 <set-file-selinux-context, set-visited-file-modtime>:
8347 <verify-visited-file-modtime>: Add handler.
8348 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8349
8350 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8351 <file-notify-add-watch, file-notify-rm-watch>:
8352 <set-file-times, set-visited-file-modtime>:
8353 <verify-visited-file-modtime>: Add handler.
8354 (with-tramp-gvfs-error-message)
8355 (tramp-gvfs-handle-set-visited-file-modtime)
8356 (tramp-gvfs-fuse-file-name): Remove.
8357 (tramp-gvfs-handle-file-notify-add-watch)
8358 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8359 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8360
8361 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8362 Order alphabetically.
8363 <file-notify-rm-watch>: Use default Tramp handler.
8364 <executable-find>: Remove private handler.
8365 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8366 `default-directory'.
8367 (tramp-sh-handle-executable-find)
8368 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8369 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8370 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8371 Do not use `format' in `tramp-message'.
8372
8373 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8374 <file-notify-rm-watch, set-visited-file-modtime>:
8375 <verify-visited-file-modtime>: Add handler.
8376 (tramp-smb-call-winexe): Do not bind `default-directory'.
8377
8378 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8379
8380 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8381
8382 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8383
8384 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8385 use it.
8386 (log-view-diff-changeset): Same.
8387 (log-view-diff-common): Call backend command `previous-revision'
8388 to find out the previous revision, in both cases. Swap the
8389 variables `to' and `fr', so that `fr' usually refers to the
8390 earlier revision (Bug#14989).
8391
8392 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8393
8394 * ibuf-ext.el (ibuffer-filter-by-filename):
8395 Make it work with dired buffers too.
8396
8397 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8398
8399 * emacs-lisp/re-builder.el (reb-color-display-p):
8400 * files.el (save-buffers-kill-terminal):
8401 * net/browse-url.el (browse-url):
8402 * server.el (server-save-buffers-kill-terminal):
8403 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8404 Prefer nil to selected-frame for the first arg of frame-parameter.
8405
8406 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8407
8408 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8409
8410 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8411
8412 * minibuffer.el (completion--twq-all): Try and preserve each
8413 completion's case choice (bug#14907).
8414
8415 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8416
8417 * net/network-stream.el (open-network-stream): Mention the new
8418 :nogreeting parameter.
8419 (network-stream-open-starttls): Use the :nogreeting parameter
8420 (bug#14938).
8421
8422 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8423
8424 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8425 more natural than popping.
8426
8427 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8428 (shr-urlify): Highlight under mouse.
8429
8430 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8431
8432 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8433
8434 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8435
8436 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8437 buffer for output.
8438
8439 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8440 point-min==1. Fix search string. Fix parentheses missing.
8441
8442 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8443 assume point-min==1. Fix search string. Fix parentheses missing.
8444
8445 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8446
8447 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8448 buffer for output.
8449
8450 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8451
8452 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8453 initial frame is minibuffer-less. (Bug#14841)
8454
8455 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8456
8457 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8458 option.
8459
8460 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8461 (tramp-maybe-open-connection): Use it.
8462
8463 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8464
8465 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8466 minimal set of parameters passed when creating a frame, because
8467 the minibuffer status of a frame cannot be changed later.
8468
8469 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8470
8471 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8472 replace-regexp-in-string and inadvertent omissions in previous change.
8473 (todo-filter-items): Ensure only file names are comma-separated in
8474 name of filtered items buffer.
8475
8476 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8477
8478 * desktop.el: Optionally force offscreen frames back onscreen.
8479 (desktop-restoring-reuses-frames): New option.
8480 (desktop--compute-pos, desktop--move-onscreen): New functions.
8481 (desktop--make-frame): Use desktop--move-onscreen.
8482
8483 2013-07-27 Alan Mackenzie <acm@muc.de>
8484
8485 Fontify a Java generic method as a function.
8486 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8487 value to t.
8488
8489 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8490
8491 * calendar/todo-mode.el: Add command to rename todo files.
8492 (todo-rename-file): New command.
8493 (todo-key-bindings-t): Add key binding for it. Change the
8494 bindings of todo-filter-regexp-items(-multifile) to use `x'
8495 instead of `r', since the latter is better suited to the new
8496 renaming command.
8497
8498 2013-07-27 Alan Mackenzie <acm@muc.de>
8499
8500 Make Java try-with-resources statement parse properly.
8501 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8502 (c-block-stmt-1-2-key): New language constants/variables.
8503 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8504 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8505 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8506 with c-block-stmt-1-2-key.
8507
8508 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8509
8510 * desktop.el (desktop--make-frame): Apply most frame parameters after
8511 creating the frame to force (partially or totally) offscreen frames to
8512 be restored as such.
8513
8514 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8515
8516 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8517 (Bug#14948)
8518
8519 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8522 `base' arg of backtrace-frame.
8523
8524 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8525
8526 * simple.el (list-processes): Doc fix.
8527
8528 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8529
8530 * desktop.el (desktop--select-frame):
8531 Try harder to reuse existing frames.
8532
8533 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8536 (edebug-eval): Use backtrace-eval.
8537 (edebug--display, edebug--recursive-edit): Don't let-bind the
8538 edebug-outer-* vars that keep track of variables we locally let-bind.
8539 (edebug-outside-excursion): Don't restore outside values of locally
8540 let-bound vars.
8541 (edebug--display): Use user-error.
8542 (cl-lexical-debug, cl-debug-env): Remove.
8543
8544 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8545
8546 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8547 are restored to be sure that they are visible before deleting any
8548 remaining ones.
8549
8550 2013-07-26 Matthias Meulien <orontee@gmail.com>
8551
8552 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8553 vc-print-root-log. (Bug#14948)
8554
8555 2013-07-26 Richard Stallman <rms@gnu.org>
8556
8557 Add aliases for encrypting mail.
8558 * epa.el (epa-mail-aliases): New option.
8559 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8560 Bind inhibit-read-only so read-only text doesn't ruin everything.
8561 (epa-mail-default-recipients): New subroutine broken out.
8562 Handle epa-mail-aliases.
8563
8564 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 Add support for lexical variables to the debugger's `e' command.
8567 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8568 vars, except for debugger-outer-match-data.
8569 (debugger-frame-number): Move check for "on a function call" from
8570 callers into it. Add `skip-base' argument.
8571 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8572 (debugger-env-macro): Only reset the state stored in non-variables,
8573 i.e. current-buffer and match-data.
8574 (debugger-eval-expression): Rewrite using backtrace-eval.
8575 * subr.el (internal--called-interactively-p--get-frame): Remove.
8576 (called-interactively-p):
8577 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8578 `base' arg of backtrace-frame instead.
8579
8580 2013-07-26 Glenn Morris <rgm@gnu.org>
8581
8582 * align.el (align-regexp): Doc fix. (Bug#14857)
8583 (align-region): Explicit error if subexpression missing/does not match.
8584
8585 * simple.el (global-visual-line-mode):
8586 Do not duplicate the mode lighter. (Bug#14858)
8587
8588 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8589
8590 * window.el (display-buffer): In display-buffer bind
8591 split-window-keep-point to t, bug#14829.
8592
8593 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8594
8595 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8596 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8597 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8598 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8599 Change accordingly.
8600 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8601 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8602
8603 2013-07-25 Glenn Morris <rgm@gnu.org>
8604
8605 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8606
8607 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8608
8609 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8610 parameter to modify-frame-parameters if the value has not changed;
8611 this is a workaround for bug#14949.
8612 (desktop--make-frame): On cl-delete-if call, check parameter name,
8613 not full parameter.
8614
8615 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8616
8617 * vc/vc.el (vc-ignore): New function.
8618
8619 * vc/vc-svn.el (vc-svn-ignore): New function.
8620
8621 * vc/vc-hg.el (vc-hg-ignore): New function.
8622
8623 * vc/vc-git.el (vc-git-ignore): New function.
8624
8625 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8626 (vc-dir-ignore): New function.
8627
8628 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8629 (cvs-append-to-ignore): Move here from pcvs.el.
8630
8631 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8632
8633 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8634
8635 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8636
8637 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8638 (desktop-restore-frames): Warn when deleting an existing frame failed.
8639
8640 2013-07-24 Glenn Morris <rgm@gnu.org>
8641
8642 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8643
8644 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8645
8646 * filenotify.el (file-notify-supported-p):
8647 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8648 Remove functions.
8649
8650 * autorevert.el (auto-revert-use-notify)
8651 (auto-revert-notify-add-watch):
8652 * net/tramp.el (tramp-file-name-for-operation):
8653 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8654 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8655 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8656 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8657 Remove `file-notify-supported-p' entry.
8658
8659 2013-07-24 Glenn Morris <rgm@gnu.org>
8660
8661 * printing.el: Replace all uses of deleted ps-windows-system,
8662 ps-lp-system, ps-flatten-list with lpr- versions.
8663
8664 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8667 checked with memq (bug#14935).
8668
8669 * files.el (revert-buffer-function): Use a non-nil default.
8670 (revert-buffer-preserve-modes): Declare var to
8671 provide access to the `preserve-modes' argument.
8672 (revert-buffer): Let-bind it.
8673 (revert-buffer--default): New function, extracted from revert-buffer.
8674
8675 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8676
8677 * lpr.el: Signal print errors more prominently.
8678 (print-region-function): Don't default to nil.
8679 (lpr-print-region): New function, extracted from print-region-1.
8680 Check lpr's return value and signal an error in case of problem.
8681 (print-region-1): Use it.
8682 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8683 versions instead.
8684 (ps-printer-name): Default to nil.
8685 (ps-printer-name-option): Default to lpr-printer-switch.
8686 (ps-print-region-function): Don't default to nil.
8687 (ps-postscript-code-directory): Simplify default.
8688 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8689 (ps-string-list, ps-eval-switch, ps-flatten-list)
8690 (ps-flatten-list-1): Remove.
8691 (ps-multibyte-buffer): Avoid setq.
8692 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8693 (print-region-function, ps-print-region-function): Don't set them here.
8694
8695 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8696
8697 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8698 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8699 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8700 (ido-decorations): Doc fix.
8701
8702 * ansi-color.el: Fix old URL.
8703
8704 2013-07-23 Michael R. Mauger <michael@mauger.com>
8705
8706 * progmodes/sql.el: Version 3.3
8707 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8708 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8709 (sql-interactive-remove-continuation-prompt): Rewrite, use
8710 functions above. Fix continuation prompt and complete output line
8711 handling.
8712 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8713 redirected output buffer.
8714 (sql-mode): Restore deleted code (Bug#13591).
8715
8716 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8717
8718 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8719
8720 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8721
8722 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8723
8724 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8725 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8726 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8727
8728 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8729
8730 * desktop.el (desktop-clear): Simplify; remove useless checks
8731 against invalid buffer names.
8732 (desktop-list*): Use cl-list*.
8733 (desktop-buffer-info, desktop-create-buffer): Simplify.
8734
8735 2013-07-23 Leo Liu <sdl.web@gmail.com>
8736
8737 * bookmark.el (bookmark-make-record): Restore NAME as a default
8738 value. (Bug#14933)
8739
8740 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8743 extracted from autoload--insert-text.
8744 (autoload--insert-text): Remove.
8745 (autoload--print-cookie-text): New function, extracted from
8746 autoload--insert-cookie-text.
8747 (autoload--insert-cookie-text): Remove.
8748 (autoload-generate-file-autoloads): Adjust calls accordingly.
8749
8750 * winner.el (winner-hook-installed-p): Remove.
8751 (winner-mode): Simplify accordingly.
8752
8753 * subr.el (add-to-list): Fix compiler-macro when `append' is
8754 not constant. Don't use `cl-member' for the base case.
8755
8756 * progmodes/subword.el: Fix boundary case (bug#13758).
8757 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8758 own group.
8759 (subword-backward-regexp): Make it a constant.
8760 (subword-forward-internal): Don't treat a trailing capital as the
8761 beginning of a word.
8762
8763 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8764
8765 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8766 global value of tabulated-list-revert-hook (bug#14930).
8767
8768 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8769
8770 * desktop.el: Require 'cl-lib.
8771 (desktop-before-saving-frames-functions): New hook.
8772 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8773 for frames being saved. Rename from desktop--save-minibuffer-frames.
8774 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8775 Do not save frames with non-nil `desktop-dont-save' parameter.
8776 Filter out deleted frames.
8777 (desktop--find-frame): Use cl-find-if.
8778 (desktop--select-frame): Use cl-(first|second|third) to access values
8779 of desktop-mini.
8780 (desktop--make-frame): Use cl-delete-if.
8781 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8782 (desktop-restore-frames): Use cl-(first|second|third) to access values
8783 of desktop-mini. Look for visible frame at the end, not while
8784 restoring frames.
8785
8786 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8787 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8788 Use string-match-p, looking-at-p (bug#14927).
8789
8790 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8791
8792 * desktop.el (desktop-saved-frame-states):
8793 Rename from desktop--saved-states; all users changed.
8794 (desktop-save-frames): Rename from desktop--save-frames.
8795 Do not save state to desktop file.
8796 (desktop-save): Save desktop-saved-frame-states to desktop file
8797 and reset to nil.
8798 (desktop-restoring-frames-p): New function.
8799 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8800 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8801 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8802
8803 * desktop.el: Correctly restore iconified frames.
8804 (desktop--filter-iconified-position): New function.
8805 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8806
8807 2013-07-20 Glenn Morris <rgm@gnu.org>
8808
8809 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8810 Let `message' do the formatting.
8811 (def-gdb-preempt-display-buffer): Add explicit format.
8812
8813 * image-dired.el (image-dired-track-original-file):
8814 Use with-current-buffer.
8815 (image-dired-track-thumbnail): Use with-current-buffer.
8816 Avoid changing point of wrong window.
8817
8818 * image-dired.el (image-dired-track-original-file):
8819 Avoid changing point of wrong window. (Bug#14909)
8820
8821 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8822
8823 * progmodes/gdb-mi.el (gdb-done-or-error):
8824 Guard against "%" in gdb output. (Bug#14127)
8825
8826 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8827
8828 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8829 (Bug#14826)
8830
8831 * international/mule.el (coding-system-iso-2022-flags): Fix last
8832 change.
8833
8834 2013-07-20 Kenichi Handa <handa@gnu.org>
8835
8836 * international/mule.el (coding-system-iso-2022-flags):
8837 Add `8-bit-level-4'. (Bug#8522)
8838
8839 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8840
8841 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8842 (bug#14815).
8843
8844 * net/eww.el (eww-process-text-input): Allow inputting when the
8845 point is at the start of the line, as the properties aren't
8846 front-sticky.
8847
8848 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8849 degenerate widths.
8850
8851 2013-07-19 Richard Stallman <rms@gnu.org>
8852
8853 * epa.el (epa-popup-info-window): Doc fix.
8854
8855 * subr.el (split-string): New arg TRIM.
8856
8857 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8858
8859 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8860 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8861
8862 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8863
8864 * filenotify.el (file-notify--library): Rename from
8865 `file-notify-support'. Do not autoload. Adapt all uses.
8866 (file-notify-supported-p): New defun.
8867
8868 * autorevert.el (auto-revert-use-notify):
8869 Use `file-notify-supported-p' instead of `file-notify-support'.
8870 Adapt docstring.
8871 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8872
8873 * net/tramp.el (tramp-file-name-for-operation):
8874 Add `file-notify-supported-p'.
8875
8876 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8877 New defun.
8878 (tramp-sh-file-name-handler-alist): Add it as handler for
8879 `file-notify-supported-p '.
8880
8881 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8882 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8883 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8884 Add `ignore' as handler for `file-notify-*' functions.
8885
8886 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8887
8888 * simple.el (line-move-partial, line-move): Don't start vscroll or
8889 scroll-up if the current line is not taller than the window.
8890 (Bug#14881)
8891
8892 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8893
8894 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8895 highlight question marks in the method names as strings.
8896 (ruby-block-beg-keywords): Inline.
8897 (ruby-font-lock-keyword-beg-re): Extract from
8898 `ruby-font-lock-keywords'.
8899
8900 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8901
8902 * frame.el (blink-cursor-blinks): New defcustom.
8903 (blink-cursor-blinks-done): New defvar.
8904 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8905 (blink-cursor-timer-function): Check if number of blinks has been
8906 done on X and NS.
8907 (blink-cursor-suspend, blink-cursor-check): New defuns.
8908
8909 2013-07-15 Glenn Morris <rgm@gnu.org>
8910
8911 * edmacro.el (edmacro-format-keys): Fix previous change.
8912
8913 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8914
8915 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8916 The hack didn't work outside English locales anyway.
8917
8918 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8919
8920 * simple.el (define-alternatives): Rename from alternatives-define,
8921 per RMS' suggestion.
8922
8923 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8924
8925 * desktop.el (desktop-restore-frames): Change default to t.
8926 (desktop-restore-in-current-display): Now offer more options.
8927 (desktop-restoring-reuses-frames): New customization option.
8928 (desktop--saved-states): Doc fix.
8929 (desktop-filter-parameters-alist): New variable, renamed and expanded
8930 from desktop--excluded-frame-parameters.
8931 (desktop--target-display): New variable.
8932 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8933 (desktop--filter-tty*, desktop--filter-*-color)
8934 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8935 (desktop--filter-save-desktop-parm)
8936 (desktop-restore-in-original-display-p): New functions.
8937 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8938 (desktop--save-minibuffer-frames): New function, inspired by a similar
8939 function from Martin Rudalics.
8940 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8941 (desktop--restore-in-this-display-p): Remove.
8942 (desktop--find-frame): Rename from desktop--find-frame-in-display
8943 and add predicate argument.
8944 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8945 (desktop--reuse-list): New variable.
8946 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8947 New functions.
8948 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8949
8950 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8953
8954 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8955
8956 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8957 Highlight conversion methods on Kernel.
8958
8959 2013-07-13 Alan Mackenzie <acm@muc.de>
8960
8961 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8962 and comment it out. This out-commenting enables certain C++
8963 declarations to be parsed correctly.
8964
8965 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8966
8967 * international/mule.el (define-coding-system): Doc fix.
8968
8969 * simple.el (default-font-height): Don't call font-info if the
8970 frame's default font didn't change since the frame was created.
8971 (Bug#14838)
8972
8973 2013-07-13 Leo Liu <sdl.web@gmail.com>
8974
8975 * ido.el (ido-read-file-name): Guard against non-symbol value.
8976
8977 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8978
8979 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8980 in nested defuns.
8981
8982 2013-07-13 Leo Liu <sdl.web@gmail.com>
8983
8984 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8985 ido-set-matches call. (Bug#6852)
8986
8987 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8988
8989 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8990 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8991 Ruby 2.0.
8992 (ruby-font-lock-keywords): Distinguish calls to functions with
8993 module-like names from module references. Highlight character
8994 literals.
8995
8996 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8997
8998 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8999 (gdb-send): Handle continued commands. (Bug#14847)
9000
9001 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9002
9003 * desktop.el (desktop--v2s): Remove unused local variable.
9004 (desktop-save-buffer): Make defvar-local; adjust docstring.
9005 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9006 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9007
9008 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9009
9010 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9011
9012 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9013
9014 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9015 (Bug#14842)
9016
9017 2013-07-12 Glenn Morris <rgm@gnu.org>
9018
9019 * doc-view.el: Require cl-lib at runtime too.
9020 (doc-view-remove-if): Remove.
9021 (doc-view-search-next-match, doc-view-search-previous-match):
9022 Use cl-remove-if.
9023
9024 * edmacro.el: Require cl-lib at runtime too.
9025 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9026 (edmacro-mismatch, edmacro-subseq): Remove.
9027
9028 * shadowfile.el: Require cl-lib.
9029 (shadow-remove-if): Remove.
9030 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9031 Use cl-remove-if.
9032
9033 * wid-edit.el: Require cl-lib.
9034 (widget-choose): Use cl-remove-if.
9035 (widget-remove-if): Remove.
9036
9037 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9038 (ebrowse-delete-if-not): Remove.
9039 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9040 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9041 Use cl-delete-if-not.
9042
9043 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9044
9045 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9046 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9047
9048 2013-07-12 Leo Liu <sdl.web@gmail.com>
9049
9050 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9051
9052 2013-07-11 Glenn Morris <rgm@gnu.org>
9053
9054 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9055 (edebug-gensym-index, edebug-gensym):
9056 Remove reimplementation of cl-gensym.
9057 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9058
9059 * thumbs.el: Require cl-lib at run-time too.
9060 (thumbs-gensym-counter, thumbs-gensym):
9061 Remove reimplementation of cl-gensym.
9062 (thumbs-temp-file): Use cl-gensym.
9063
9064 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9065 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9066 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9067 (ert--union, ert--gensym-counter, ert--gensym-counter)
9068 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9069 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9070 (ert-make-test-unbound, ert--expand-should-1)
9071 (ert--expand-should, ert--should-error-handle-error)
9072 (should-error, ert--explain-equal-rec)
9073 (ert--plist-difference-explanation, ert-select-tests)
9074 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9075 Use cl-lib functions rather than reimplementations.
9076
9077 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9078
9079 * net/tramp.el (tramp-methods): Extend docstring.
9080 (tramp-connection-timeout): New defcustom.
9081 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9082 (with-tramp-progress-reporter): Simplify.
9083 (tramp-process-actions): Improve messages.
9084
9085 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9086 * net/tramp-sh.el (tramp-maybe-open-connection):
9087 Use `tramp-connection-timeout'.
9088 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9089 (Bug#14808)
9090
9091 2013-07-11 Leo Liu <sdl.web@gmail.com>
9092
9093 * ido.el (ido-read-file-name): Conform to the requirements of
9094 read-file-name. (Bug#11861)
9095 (ido-read-directory-name): Conform to the requirements of
9096 read-directory-name.
9097
9098 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9099
9100 * subr.el (delay-warning): New function.
9101
9102 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9103
9104 * simple.el (default-line-height): New function.
9105 (line-move-partial, line-move): Use it instead of computing the
9106 line height inline.
9107 (line-move-partial): Always compute ROWH. If the last line is
9108 partially-visible, but its text is completely visible, allow
9109 cursor to enter such a partially-visible line.
9110
9111 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9112
9113 Improve error messages. (Bug#14808)
9114
9115 * net/tramp.el (tramp-current-connection): New defvar, moved from
9116 tramp-sh.el.
9117 (tramp-message-show-progress-reporter-message): Remove, not
9118 needed anymore.
9119 (tramp-error-with-buffer): Show message in minibuffer.
9120 Discard input before waiting. Reset connection timestamp.
9121 (with-tramp-progress-reporter): Improve messages.
9122 (tramp-process-actions): Use progress reporter. Delete process in
9123 case of error. Improve messages.
9124
9125 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9126 Call `tramp-error-with-buffer' with vector and buffer.
9127 (tramp-current-connection): Remove.
9128 (tramp-maybe-open-connection): The car of
9129 `tramp-current-connection' are the first 3 slots of the vector.
9130
9131 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9132
9133 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9134 inside continued strings.
9135
9136 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9137
9138 Timestamp fixes for undo (Bug#14824).
9139 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9140
9141 2013-07-10 Leo Liu <sdl.web@gmail.com>
9142
9143 * files.el (require-final-newline): Allow safe local value.
9144 (Bug#14834)
9145
9146 2013-07-09 Leo Liu <sdl.web@gmail.com>
9147
9148 * ido.el (ido-read-directory-name): Handle fallback.
9149 (ido-read-file-name): Update DIR to ido-current-directory.
9150 (Bug#1516)
9151 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9152
9153 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9154
9155 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9156 "autoload". Remove "warn lower camel case" section, previously
9157 commented out. Highlight negation char. Do not highlight the
9158 target in singleton method definitions.
9159
9160 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9161
9162 * faces.el (tty-setup-hook): Declare the hook.
9163
9164 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9165 and detect when a guard/pred depends on local vars (bug#14773).
9166 (pcase--u1): Adjust caller.
9167
9168 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9169
9170 * simple.el (line-move-partial, line-move): Account for
9171 line-spacing.
9172 (line-move-partial): Avoid setting vscroll when the last
9173 partially-visible line in window is of default height.
9174
9175 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9176
9177 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9178 been used a while.
9179
9180 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9181
9182 * subr.el (read-quoted-char): Remove unused local variable `char'.
9183
9184 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9185
9186 * ediff.el (ediff-version): Version update.
9187 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9188 (ediff-merge-with-ancestor-command, ediff-directories-command)
9189 (ediff-directories3-command, ediff-merge-directories-command)
9190 (ediff-merge-directories-with-ancestor-command): New functions.
9191 All are command-line interfaces to ediff: to facilitate calling
9192 Emacs with the appropriate ediff functions invoked.
9193
9194 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9195 (viper-save-kill-buffer): Check if buffer is modified.
9196
9197 * viper.el (viper-version): Version update.
9198 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9199
9200 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9201
9202 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9203 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9204 (viper-intercept-ESC-key): Simplify.
9205 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9206 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9207 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9208 (viper-setup-ESC-to-escape): New functions.
9209 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9210 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9211
9212 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9213
9214 * simple.el (default-font-height, window-screen-lines):
9215 New functions.
9216 (line-move, line-move-partial): Use them instead of
9217 frame-char-height and window-text-height. This makes scrolling
9218 text smoother when the buffer's default face uses a font that is
9219 different from the frame's default font.
9220
9221 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9222
9223 * files.el (write-file): Do not display confirm dialog for NS,
9224 it does its own dialog, which can't be canceled (Bug#14578).
9225
9226 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9227
9228 * simple.el (line-move-partial): Adjust the row returned by
9229 posn-at-point for the current window-vscroll. (Bug#14567)
9230
9231 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9232
9233 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9234 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9235 spaces.
9236
9237 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9238
9239 * window.el (window-state-put-stale-windows): New variable.
9240 (window--state-put-2): Save list of windows without matching buffer.
9241 (window-state-put): Remove "bufferless" windows if possible.
9242
9243 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9244
9245 * simple.el (alternatives-define): Remove leftover :group keyword.
9246 Tweak docstring.
9247
9248 2013-07-06 Leo Liu <sdl.web@gmail.com>
9249
9250 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9251 (ido-enable-virtual-buffers): New variable.
9252 (ido-buffer-internal, ido-toggle-virtual-buffers)
9253 (ido-make-buffer-list): Use it.
9254 (ido-exhibit): Support turning on and off virtual buffers
9255 automatically.
9256
9257 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9258
9259 * simple.el (alternatives-define): New macro.
9260
9261 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * subr.el (read-quoted-char): Use read-key.
9264 (sit-for): Let read-event decode tty input (bug#14782).
9265
9266 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9267
9268 * calendar/todo-mode.el: Add handling of file deletion, both by
9269 mode command and externally. Fix various related bugs.
9270 Clarify Commentary and improve some documentation strings and code.
9271 (todo-delete-file): New command.
9272 (todo-check-file): New function.
9273 (todo-show): Handle external deletion of the file we're trying to
9274 show (bug#14688). Replace called-interactively-p by an optional
9275 prefix argument to avoid problematic interaction with catch form
9276 when byte compiled (bug#14702).
9277 (todo-quit): Handle external deletion of the archive's todo file.
9278 Make sure the buffer that was visiting the archive file is still
9279 live before trying to bury it.
9280 (todo-category-completions): Handle external deletion of any
9281 category completion files.
9282 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9283 of todo files, in case of external deletion.
9284 (todo-add-file): Replace unnecessary setq by let-binding.
9285 (todo-find-archive): Check whether there are any archives.
9286 Replace unnecessary setq by let-binding.
9287 (todo-archive-done-item): Use find-file-noselect to get the
9288 archive buffer whether or not the archive already exists.
9289 Remove superfluous code. Use file size instead of buffer-file-name to
9290 check if the archive is new; if it is, update list of archives.
9291 (todo-default-todo-file): Allow nil to be a valid value for when
9292 there are no todo files.
9293 (todo-reevaluate-default-file-defcustom): Use corrected definition
9294 of todo-default-todo-file.
9295 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9296 (todo-delete-category, todo-show-categories-table)
9297 (todo-category-number): Clarify comment.
9298 (todo-filter-items): Clarify documentation string.
9299 (todo-show-current-file, todo-display-as-todo-file)
9300 (todo-reset-and-enable-done-separator): Tweak documentation string.
9301 (todo-done-separator): Make separator length window-width, since
9302 bug#2749 is now fixed.
9303
9304 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9305
9306 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9307 Support both "gvfs-monitor-dir" and "inotifywait".
9308 (tramp-sh-file-inotifywait-process-filter): Rename from
9309 `tramp-sh-file-notify-process-filter'.
9310 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9311 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9312
9313 2013-07-05 Leo Liu <sdl.web@gmail.com>
9314
9315 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9316
9317 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9318
9319 * frame.el (display-pixel-height, display-pixel-width)
9320 (display-mm-height, display-mm-width): Mention behavior on
9321 multi-monitor setups in docstrings.
9322 (w32-display-monitor-attributes-list): Declare function.
9323 (display-monitor-attributes-list): Use it.
9324
9325 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9326
9327 * filenotify.el: New package.
9328
9329 * autorevert.el (top): Require filenotify.el.
9330 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9331 instead.
9332 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9333 (auto-revert-notify-handler): Use `file-notify-*' functions.
9334
9335 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9336
9337 * net/tramp.el (tramp-file-name-for-operation):
9338 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9339
9340 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9341 for `file-notify-add-watch' and `file-notify-rm-watch'.
9342 (tramp-process-sentinel): Improve trace.
9343 (tramp-sh-handle-file-notify-add-watch)
9344 (tramp-sh-file-notify-process-filter)
9345 (tramp-sh-handle-file-notify-rm-watch)
9346 (tramp-get-remote-inotifywait): New defuns.
9347
9348 2013-07-03 Juri Linkov <juri@jurta.org>
9349
9350 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9351 call of `occur-read-primary-args' to interactive spec.
9352
9353 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9354 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9355
9356 2013-07-03 Matthias Meulien <orontee@gmail.com>
9357
9358 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9359 `Buffer-menu-multi-occur'. Add it to the menu.
9360 (Buffer-menu-mode): Document it in docstring.
9361 (Buffer-menu-multi-occur): New command. (Bug#14673)
9362
9363 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9364
9365 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9366 keywords and built-ins.
9367
9368 2013-07-03 Glenn Morris <rgm@gnu.org>
9369
9370 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9371
9372 Make info-xref checks case-sensitive by default
9373 * info.el (Info-find-node, Info-find-in-tag-table)
9374 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9375 Add option for exact case matching of nodes.
9376 * info-xref.el (info-xref): New custom group.
9377 (info-xref-case-fold): New option.
9378 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9379
9380 2013-07-03 Leo Liu <sdl.web@gmail.com>
9381
9382 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9383
9384 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9385
9386 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9387 middle of block statement initially, lower the depth. Remove
9388 FIXME comment, not longer valid. Remove middle of block statement
9389 detection, no need to do that anymore since we've been using
9390 `ruby-parse-region' here.
9391
9392 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9393
9394 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9395
9396 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9397
9398 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9399
9400 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9401
9402 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9403 (desktop-restore-in-current-display): New customization option.
9404 (desktop--excluded-frame-parameters): Add `font'.
9405 (desktop--save-frames): Rename from desktop--save-windows.
9406 (desktop--restore-in-this-display-p): New function.
9407 (desktop--make-full-frame): Remove unwanted width/height from
9408 full(width|height) frames.
9409 (desktop--restore-frames): Rename from desktop--restore-windows.
9410 Obey desktop-restore-current-display. Do not delete old frames or
9411 select a new frame unless we were able to restore at least one frame.
9412
9413 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9414
9415 * files.el (find-file-noselect): Simplify conditional expression.
9416
9417 * textmodes/remember.el (remember-append-to-file):
9418 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9419
9420 Add `remember-notes' function to store random notes across Emacs
9421 restarts.
9422 * textmodes/remember.el (remember-data-file): Add :set callback to
9423 affect notes buffer (if any).
9424 (remember-notes): New command.
9425 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9426 New defcustoms for the `remember-notes' function.
9427 (remember-notes-save-and-bury-buffer): New command.
9428 (remember-notes-mode-map): New variable.
9429 (remember-mode): New minor mode.
9430 (remember-notes--kill-buffer-query): New function.
9431 * startup.el (initial-buffer-choice): Add notes to custom type.
9432
9433 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9434
9435 * bindings.el (right-char, left-char): Don't call sit-for, this is
9436 no longer needed. Use arithmetic comparison only for numerical
9437 arguments.
9438
9439 * international/mule-cmds.el (select-safe-coding-system):
9440 Handle the case of FROM being a string correctly. (Bug#14755)
9441
9442 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9443
9444 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9445 progression on degenerate tables.
9446 (shr-rescale-image): ImageMagick animated images currently don't work.
9447
9448 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9449
9450 Some fixes and improvements for desktop frame restoration.
9451 It is still experimental and disabled by default.
9452 * desktop.el (desktop--save-windows): Put the selected frame at
9453 the head of the list.
9454 (desktop--make-full-frame): New function.
9455 (desktop--restore-windows): Try to re-select the frame that was
9456 selected upon saving. Do not abort if some frames fail to restore,
9457 just show an error message and continue. Set up maximized frames
9458 so they have default non-maximized dimensions.
9459
9460 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9461
9462 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9463 Don't start heredoc inside a string or comment.
9464
9465 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9466
9467 * bindings.el (visual-order-cursor-movement): New defcustom.
9468 (right-char, left-char): Provide visual-order cursor motion by
9469 calling move-point-visually. Update the doc strings.
9470
9471 2013-06-28 Kenichi Handa <handa@gnu.org>
9472
9473 * international/mule.el (define-coding-system): New coding system
9474 properties :inhibit-null-byte-detection,
9475 :inhibit-iso-escape-detection, and :prefer-utf-8.
9476 (set-buffer-file-coding-system): If :charset-list property of
9477 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9478 appropriate for setting.
9479
9480 * international/mule-cmds.el (select-safe-coding-system):
9481 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9482 multibyte characters, return utf-8 (or one of its siblings).
9483
9484 * international/mule-conf.el (prefer-utf-8): New coding system.
9485 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9486 files.
9487
9488 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9489
9490 * net/shr.el (shr-render-region): New function.
9491
9492 * net/eww.el: Autoload `eww-browse-url'.
9493
9494 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9495
9496 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9497 Adapt to `package-desc-version' being a list.
9498 Use `package--ac-desc-version' to retrieve version from a package
9499 archive element.
9500
9501 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9502
9503 New experimental feature to save&restore window and frame setup.
9504 * desktop.el (desktop-save-windows): New defcustom.
9505 (desktop--saved-states): New var.
9506 (desktop--excluded-frame-parameters): New defconst.
9507 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9508 (desktop--restore-windows, desktop--save-windows): New functions.
9509 (desktop-save): Call `desktop--save-windows'.
9510 (desktop-read): Call `desktop--restore-windows'.
9511
9512 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9513
9514 * net/shr.el (add-face-text-property): Remove compat definition.
9515
9516 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9517
9518 * info.el (Info-try-follow-nearest-node): Move search for footnote
9519 above search for node name to prevent missing a footnote (bug#14717).
9520
9521 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9522
9523 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9524
9525 2013-06-27 Leo Liu <sdl.web@gmail.com>
9526
9527 * net/eww.el (eww-read-bookmarks): Check file size.
9528
9529 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9532 advice--pending if newdef is nil or an autoload (bug#13820).
9533 (advice-mapc): New function.
9534
9535 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9536
9537 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9538 probably.
9539 (eww-mode-map): Add a menu bar.
9540 (eww-add-bookmark): New command.
9541 (eww-bookmark-mode): New mode and commands.
9542 (eww-add-bookmark): Remove newlines from the title.
9543 (eww-bookmark-browse): Don't bug out if it's the only window.
9544
9545 2013-06-26 Glenn Morris <rgm@gnu.org>
9546
9547 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9548 (hfy-size): Handle ttys. (Bug#14668)
9549
9550 * info-xref.el: Update for Texinfo 5 change in *note format.
9551 (info-xref-node-re, info-xref-note-re): New constants.
9552 (info-xref-check-buffer): Use info-xref-note-re.
9553
9554 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9555
9556 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9557
9558 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9559 nil terminate the loop (bug#14718).
9560
9561 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9562
9563 * net/eww.el: Rework history traversal. When going forward/back,
9564 put these actions into the history, too, so that they can be
9565 replayed.
9566 (eww-render): Move the history reset to the correct buffer.
9567
9568 2013-06-25 Juri Linkov <juri@jurta.org>
9569
9570 * files-x.el (modify-dir-local-variable): Change the header comment
9571 in the file with directory local variables. (Bug#14692)
9572
9573 * files-x.el (read-file-local-variable-value): Add `default'.
9574 (Bug#14710)
9575
9576 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9577
9578 * net/eww.el (eww-make-unique-file-name): Create a unique file
9579 name before saving to entering `y' accidentally asynchronously.
9580
9581 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9582
9583 * net/eww.el (eww-download): New command and keystroke.
9584
9585 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9586
9587 * net/eww.el (eww-copy-page-url): Change name of command.
9588
9589 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9590 be more consistent with Info and dired.
9591
9592 * net/eww.el (eww-mode-map): Ditto.
9593
9594 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9597 packages from archives.
9598 (package-archive-contents): Change format; include obsolete packages.
9599 (package-desc): Use `dir' to mark builtin packages.
9600 (package--from-builtin): Set the `dir' field to `builtin'.
9601 (generated-autoload-file, version-control): Declare.
9602 (package-compute-transaction): Change first arg and return value to be
9603 lists of package-descs. Adjust to new package-archive-contents format.
9604 (package--add-to-archive-contents): Adjust to new
9605 package-archive-contents format.
9606 (package-download-transaction): Arg is now a list of package-descs.
9607 (package-install): If `pkg' is a package name, pass it as
9608 a requirement, so it is subject to the usual (e.g. disabled) checks.
9609 (describe-package): Accept package-desc as well.
9610 (describe-package-1): Describe a specific package-desc. Add links to
9611 other package-descs for the same package name.
9612 (package-menu-describe-package): Pass the actual package-desc.
9613 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9614 works correctly.
9615 (package-desc-status): New function.
9616 (package-menu--refresh): New function, extracted
9617 from package-menu--generate.
9618 (package-menu--generate): Use it.
9619 (package-delete): Update package-alist.
9620 (package-menu-execute): Don't call package-initialize.
9621
9622 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9623 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9624 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9625 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9626 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9627 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9628
9629 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9630
9631 * window.el (window--state-get-1): Workaround for bug#14527.
9632 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9633
9634 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9635
9636 * net/eww.el (eww-back-url): Implement the history by stashing all
9637 the data into a list.
9638 (eww-forward-url): Allow going forward in the history, too.
9639
9640 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9641
9642 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9643 for values and use read--expression for expressions (bug#14710).
9644 (read-file-local-variable): Avoid setq.
9645 (read-file-local-variable-mode): Use minor-mode-list.
9646
9647 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9648
9649 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9650 for DOI URLs.
9651
9652 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9653
9654 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9655 Update imenu-support when dialect changes.
9656
9657 2013-06-25 Leo Liu <sdl.web@gmail.com>
9658
9659 * ido.el (ido-read-internal): Allow forward slash on windows.
9660
9661 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9662
9663 * net/eww.el (eww): Start of strings is \\`, not ^.
9664
9665 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9666
9667 * net/shr.el (shr-browse-url): Fix interactive spec.
9668
9669 * net/eww.el (eww): Add a trailing slash to domain names.
9670
9671 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9672
9673 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9674
9675 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9676
9677 * net/shr.el (shr-browse-url): Use an external browser if given a
9678 prefix.
9679
9680 * net/eww.el (eww-external-browser): Move to shr.
9681
9682 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9683
9684 * net/eww.el (eww): Work more correctly for file: URLs.
9685 (eww-detect-charset): Allow quoted charsets.
9686 (eww-yank-page-url): New command and keystroke.
9687
9688 2013-06-24 Daiki Ueno <ueno@gnu.org>
9689
9690 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9691 file name of gpg executable.
9692 (epg-context-program): New function.
9693 (epg-context-home-directory): New function.
9694 (epg-context-set-program): New function.
9695 (epg-context-set-home-directory): New function.
9696 (epg--start): Use `epg-context-program' instead of
9697 'epg-gpg-program'.
9698 (epg--list-keys-1): Likewise.
9699
9700 2013-06-24 Leo Liu <sdl.web@gmail.com>
9701
9702 * ido.el (ido-read-internal): Fix bug#14620.
9703
9704 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9705
9706 * faces.el (face-documentation): Simplify.
9707 (read-face-attribute, tty-find-type, x-resolve-font-name):
9708 Use `string-match-p'.
9709 (list-faces-display): Use `string-match-p'. Simplify.
9710 (face-spec-recalc): Check face to avoid face alias loops.
9711 (read-color): Use `string-match-p' and non-capturing parenthesis.
9712
9713 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9714
9715 * net/shr.el (shr-rescale-image): Use the new
9716 :max-width/:max-height functionality.
9717
9718 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9719
9720 * net/eww.el (eww-search-prefix): New variable.
9721 (eww): Use it.
9722 (eww-external-browser): New variable.
9723 (eww-mode-map): New keystroke.
9724 (eww-browse-with-external-browser): New command.
9725
9726 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9727
9728 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9729
9730 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9731 Don't skip aligning the next header field when padding is 0;
9732 otherwise, field width is not respected unless the title is as
9733 wide as the field.
9734
9735 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * emacs-lisp/package.el (package-el-version): Remove.
9738 (package-process-define-package): Fix inf-loop.
9739 (package-install): Allow symbols as arguments again.
9740
9741 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9742
9743 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9744 add some more keyword-like methods.
9745 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9746
9747 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9748
9749 * bs.el (bs-buffer-show-mark): Make defvar-local.
9750 (bs-mode): Use setq-local.
9751
9752 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9753 (emacs-lock--try-unlocking): Make defvar-local.
9754
9755 2013-06-22 Glenn Morris <rgm@gnu.org>
9756
9757 * play/cookie1.el (cookie-apropos): Minor simplification.
9758
9759 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9760
9761 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9762
9763 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9764 `regexp-opt', it breaks the build during dumping.
9765
9766 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9767
9768 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9769 Highlight keyword-like methods on Kernel and Module with
9770 font-lock-builtin-face.
9771 (auto-mode-alist): Consolidate different entries into one regexp
9772 and add more *file-s.
9773
9774 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9775
9776 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9777
9778 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9779 (diary-entry): Use it in the action of this button type instead of
9780 diary-goto-entry.
9781
9782 * calendar/todo-mode.el: New version.
9783 (todo-add-category): Append new category to end of file and give
9784 it the highest number, instead of putting it at the beginning and
9785 giving it 0. Incorporate noninteractive functionality.
9786 (todo-forward-category): Adapt to 1-based category numbering.
9787 Allow skipping over archived categories.
9788 (todo-backward-category): Derive from todo-forward-category.
9789 (todo-backward-item, todo-forward-item): Make noninteractive and
9790 delegate interactive part to new commands. Make sensitive to done items.
9791 (todo-categories): Make value an alist of category names and
9792 vectors of item counts.
9793 (todo-category-beg): Make a defconst.
9794 (todo-category-number): Use 1 instead of 0 as initial value.
9795 (todo-category-select): Make sensitive to overlays, optional item
9796 highlighting and done items.
9797 (todo-delete-item): Make sensitive to overlays and marked and done items.
9798 (todo-edit-item): Make sensitive to overlays and editing of
9799 date/time header optional. Add format checks.
9800 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9801 no-op if point is not on an item. Advertise using todo-edit-quit.
9802 (todo-edit-mode): Make sensitive to new format, font-locking, and
9803 multiple todo files.
9804 (todo-insert-item, todo-insert-item-here): Derive from
9805 todo-basic-insert-item and extend functionality.
9806 (todo-item-end, todo-item-start): Make sensitive to done items.
9807 (todo-item-string): Don't return text properties. Restore point.
9808 (todo-jump-to-category): Make sensitive to multiple todo files and
9809 todo archives. Use extended category completion.
9810 (todo-lower-item, todo-raise-item): Rename to *-priority and
9811 derive from todo-set-item-priority.
9812 (todo-mode): Derive from special-mode. Make sensitive to new
9813 format, font-locking and multiple todo files. Make read-only.
9814 (todo-mode-map): Don't suppress digit keys, so they can supply
9815 prefix arguments. Add many new key bindings.
9816 (todo-prefix): Insert as an overlay instead of file text.
9817 Change semantics from diary date expression to purely visual mark.
9818 (todo-print): Rename to todo-print-buffer. Make buffer display
9819 features printable. Remove option to restrict number of items
9820 printed. Add option to print to file.
9821 (todo-print-function): Rename to todo-print-buffer-function.
9822 (todo-quit): Extend to handle exiting new todo modes.
9823 (todo-remove-item): Make sensitive to overlays.
9824 (todo-save): Extend to buffers of filtered items.
9825 (todo-show): Make sensitive to done items, multiple todo files and
9826 new todo modes. Offer to convert legacy todo file before creating
9827 first new todo file.
9828 (todo-show-priorities): Rename to todo-top-priorities.
9829 Change semantics of value 0.
9830 (todo-top-priorities): Rename to todo-filter-top-priorities,
9831 derive from todo-filter-items and extend functionality.
9832 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9833 and extend functionality to other types of filtered items.
9834 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9835 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9836 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9837 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9838 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9839 (todo-edit-mode-hook, todo-entry-prefix-function)
9840 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9841 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9842 (todo-initials, todo-insert-threshold, todo-item-string-start)
9843 (todo-line-string, todo-menu, todo-mode-hook)
9844 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9845 (todo-print-priorities, todo-remove-separator)
9846 (todo-save-top-priorities-too, todo-string-count-lines)
9847 (todo-string-multiline-p, todo-time-string-format)
9848 (todo-tmp-buffer-name): Remove.
9849 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9850 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9851 (todo-edit-category-diary-inclusion)
9852 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9853 (todo-edit-file, todo-edit-item-date-day)
9854 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9855 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9856 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9857 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9858 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9859 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9860 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9861 (todo-filter-top-priorities-multifile, todo-find-archive)
9862 (todo-find-filtered-items-file, todo-go-to-source-item)
9863 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9864 (todo-jump-to-archive-category, todo-lower-category)
9865 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9866 (todo-move-category, todo-move-item, todo-next-button)
9867 (todo-next-item, todo-padded-string, todo-powerset)
9868 (todo-previous-button, todo-previous-item)
9869 (todo-print-buffer-to-file, todo-raise-category)
9870 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9871 (todo-set-category-number, todo-set-item-priority)
9872 (todo-set-top-priorities-in-category)
9873 (todo-set-top-priorities-in-file, todo-show-categories-table)
9874 (todo-sort-categories-alphabetically-or-numerically)
9875 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9876 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9877 (todo-toggle-item-header, todo-toggle-item-highlighting)
9878 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9879 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9880 (todo-unarchive-items, todo-unmark-category): New commands.
9881 (todo-absolute-file-name, todo-add-to-buffer-list)
9882 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9883 (todo-basic-insert-item, todo-category-completions)
9884 (todo-category-number, todo-category-string-matcher-1)
9885 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9886 (todo-check-format, todo-clear-matches)
9887 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9888 (todo-current-category, todo-date-string-matcher)
9889 (todo-define-insertion-command, todo-diary-expired-matcher)
9890 (todo-diary-goto-entry, todo-diary-item-p)
9891 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9892 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9893 (todo-done-item-section-p, todo-done-separator)
9894 (todo-done-string-matcher, todo-files, todo-filter-items)
9895 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9896 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9897 (todo-insert-category-line, todo-insert-item-from-calendar)
9898 (todo-insert-sort-button, todo-insert-with-overlays)
9899 (todo-insertion-command-name, todo-insertion-key-bindings)
9900 (todo-label-to-key, todo-longest-category-name-length)
9901 (todo-make-categories-list, todo-mode-external-set)
9902 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9903 (todo-modes-set-3, todo-multiple-filter-files)
9904 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9905 (todo-read-category, todo-read-date, todo-read-dayname)
9906 (todo-read-file-name, todo-read-time)
9907 (todo-reevaluate-category-completions-files-defcustom)
9908 (todo-reevaluate-default-file-defcustom)
9909 (todo-reevaluate-filelist-defcustoms)
9910 (todo-reevaluate-filter-files-defcustom)
9911 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9912 (todo-reset-done-separator, todo-reset-done-separator-string)
9913 (todo-reset-done-string, todo-reset-global-current-todo-file)
9914 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9915 (todo-reset-prefix, todo-set-categories)
9916 (todo-set-date-from-calendar, todo-set-show-current-file)
9917 (todo-set-top-priorities, todo-short-file-name)
9918 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9919 (todo-total-item-counts, todo-update-buffer-list)
9920 (todo-update-categories-display, todo-update-categories-sexp)
9921 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9922 New functions.
9923 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9924 New major modes.
9925 (todo-categories, todo-display, todo-edit, todo-faces)
9926 (todo-filtered): New defgroups.
9927 (todo-archived-only, todo-button, todo-category-string, todo-date)
9928 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9929 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9930 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9931 (todo-add-item-if-new-category, todo-always-add-time-string)
9932 (todo-categories-align, todo-categories-archived-label)
9933 (todo-categories-category-label, todo-categories-diary-label)
9934 (todo-categories-done-label, todo-categories-number-separator)
9935 (todo-categories-todo-label, todo-categories-totals-label)
9936 (todo-category-completions-files, todo-completion-ignore-case)
9937 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9938 (todo-done-separator-string, todo-done-string)
9939 (todo-files-function, todo-filter-done-items, todo-filter-files)
9940 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9941 (todo-initial-category, todo-initial-file, todo-item-mark)
9942 (todo-legacy-date-time-regexp, todo-mode-line-function)
9943 (todo-nondiary-marker, todo-number-prefix)
9944 (todo-print-buffer-function, todo-show-current-file)
9945 (todo-show-done-only, todo-show-first, todo-show-with-done)
9946 (todo-skip-archived-categories, todo-top-priorities-overrides)
9947 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9948 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9949 New defcustoms.
9950 (todo-category-done, todo-date-pattern, todo-date-string-start)
9951 (todo-diary-items-buffer, todo-done-string-start)
9952 (todo-filtered-items-buffer, todo-item-start)
9953 (todo-month-abbrev-array, todo-month-name-array)
9954 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9955 (todo-top-priorities-buffer): New defconsts.
9956 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9957 (todo-categories-with-marks, todo-category-string-face)
9958 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9959 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9960 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9961 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9962 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9963 (todo-font-lock-keywords, todo-global-current-todo-file)
9964 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9965 (todo-insertion-commands-args)
9966 (todo-insertion-commands-args-genlist)
9967 (todo-insertion-commands-names, todo-insertion-map)
9968 (todo-key-bindings-t, todo-key-bindings-t+a)
9969 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9970 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9971 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9972 (todo-visited): New variables.
9973
9974 2013-06-21 Glenn Morris <rgm@gnu.org>
9975
9976 * play/cookie1.el (cookie-apropos): Add optional display argument.
9977 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9978 (psychoanalyze-pinhead): Use cookie-doctor.
9979
9980 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9981
9982 * emacs-lisp/package.el (tar-get-file-descriptor)
9983 (tar--extract): Declare.
9984
9985 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9986
9987 Extend flymake's warning predicate to be a function (bug#14217).
9988 * progmodes/flymake.el (flymake-warning-predicate): New.
9989 (flymake-parse-line): Use it.
9990 (flymake-warning-re): Make obsolete alias to
9991 `flymake-warning-predicate'.
9992
9993 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9996 (package-obsolete-list): Remove.
9997 (package-activate): Remove min-version argument. Add `force' argument.
9998 Adjust to new package-alist format.
9999 (package-mark-obsolete): Remove.
10000 (package-unpack): Force reload of the package's autoloads.
10001 (package-installed-p): Check builtins if the installed package is not
10002 recent enough.
10003 (package-initialize): Don't reset package-obsolete-list.
10004 Don't specify which package version to activate.
10005 (package-process-define-package, describe-package-1)
10006 (package-menu--generate): Adjust to new package-alist format.
10007
10008 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10009
10010 * allout-widgets.el (allout-widgets-mode-off)
10011 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10012 (allout-widgets-post-command-business)
10013 (allout-widgets-after-copy-or-kill-function)
10014 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10015 (allout-decorate-item-and-context)
10016 (allout-graphics-modification-handler): Fix typos in docstrings.
10017 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10018
10019 * cmuscheme.el (scheme-start-file): Doc fix.
10020 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10021 (scheme-input-filter): Use `string-match-p'.
10022
10023 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10024
10025 * dired-x.el: Use Dired consistently in docstrings.
10026
10027 * dired.el: Use Dired consistently in docstrings.
10028 (dired-readin, dired-mode): Use `setq-local'.
10029 (dired-switches-alist): Make defvar-local.
10030 (dired-buffers-for-dir): Use `zerop'.
10031 (dired-safe-switches-p, dired-switches-escape-p)
10032 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10033 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10034 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10035 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10036 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10037 (dired-toggle-marks, dired-mark-files-containing-regexp)
10038 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10039 (dired-flag-auto-save-files, dired-flag-backup-files):
10040 Use `looking-at-p'.
10041 (dired-mark-files-regexp, dired-build-subdir-alist):
10042 Use `string-match-p', `looking-at-p'.
10043
10044 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10045 (direct-print-region-helper): Use `string-match-p'.
10046
10047 2013-06-21 Leo Liu <sdl.web@gmail.com>
10048
10049 * comint.el (comint-redirect-results-list-from-process):
10050 Fix infinite loop.
10051
10052 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10053
10054 * net/eww.el (eww-update-header-line-format): Quote % characters.
10055
10056 2013-06-21 Glenn Morris <rgm@gnu.org>
10057
10058 * play/cookie1.el (cookie): New custom group.
10059 (cookie-file): New option.
10060 (cookie-check-file): New function.
10061 (cookie): Make it interactive. Make start and end messages optional.
10062 Interactively, display the result. Default to cookie-file.
10063 (cookie-insert): Default to cookie-file.
10064 (cookie-snarf): Make start and end messages optional.
10065 Default to cookie-file. Use with-temp-buffer.
10066 (cookie-read): Rename from read-cookie.
10067 Make start and end messages optional. Default to cookie-file.
10068 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10069 Do not autoload it.
10070 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10071 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10072
10073 2013-06-21 Leo Liu <sdl.web@gmail.com>
10074
10075 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10076
10077 2013-06-21 Glenn Morris <rgm@gnu.org>
10078
10079 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10080
10081 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10082 Daniel Hackney <dan@haxney.org>
10083
10084 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10085 Consolidate the single-file vs tarball code.
10086 (package-desc-suffix): New function.
10087 (package-desc-full-name): Don't bother inlining it.
10088 (package-load-descriptor): Return the new package-desc.
10089 (package-mark-obsolete): Remove unused arg `package'.
10090 (package-unpack): Make it work for single files as well.
10091 Make it update package-alist.
10092 (package--make-autoloads-and-stuff): Rename from
10093 package--make-autoloads-and-compile. Don't compile any more.
10094 (package--compile): New function.
10095 (package-generate-description-file): New function, extracted from
10096 package-unpack-single.
10097 (package-unpack-single): Remove.
10098 (package--with-work-buffer): Add indentation and debugging info.
10099 (package-download-single): Remove.
10100 (package-install-from-archive): Rename from package-download-tar, make
10101 it take a pkg-desc, and make it work for single files as well.
10102 (package-download-transaction): Simplify.
10103 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10104 external tar program.
10105 (package-install-from-buffer): Remove `pkg-desc' argument.
10106 Use package-tar-file-info for tar-mode buffers.
10107 (package-install-file): Simplify accordingly.
10108 (package-archive-base): Change to take a pkg-desc.
10109 * tar-mode.el (tar--check-descriptor): New function, extracted from
10110 tar-get-descriptor.
10111 (tar-get-descriptor): Use it.
10112 (tar-get-file-descriptor): New function.
10113 (tar--extract): New function, extracted from tar-extract.
10114 (tar--extract): Use it.
10115 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10116 case the summary uses non-ascii. Adjust to new calling convention of
10117 package-tar-file-info.
10118
10119 2013-06-21 Leo Liu <sdl.web@gmail.com>
10120
10121 * comint.el (comint-redirect-results-list-from-process):
10122 Fix random delay. (Bug#14681)
10123
10124 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10125
10126 * profiler.el (profiler-format-number): Use log, not log10.
10127
10128 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10129
10130 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10131
10132 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10133
10134 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10135 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10136 yet available.
10137 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10138 (AUTOGENEL): ... here.
10139 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10140 (cl--defsubst-expand): Use it.
10141
10142 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10143
10144 * subr.el (log10): Move here from C code, and declare as obsolete.
10145 All uses of (log10 X) replaced with (log X 10).
10146
10147 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10148
10149 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10150 Declare with `defvar-local'.
10151 (tabulated-list-use-header-line, tabulated-list-entries)
10152 (tabulated-list-padding, tabulated-list-printer)
10153 (tabulated-list-sort-key): Declare with `defvar-local'.
10154 (tabulated-list-init-header, tabulated-list-print-fake-header):
10155 Use `setq-local'.
10156
10157 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10158
10159 * arc-mode.el (archive-mode): Add `archive-write-file' to
10160 `write-contents-functions' also for remote files. (Bug#14652)
10161
10162 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10163
10164 * cus-edit.el (custom-commands): Fix typos.
10165 (custom-display): Fix tooltip text.
10166 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10167 Fix typos in docstrings.
10168 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10169 (custom-unlispify-menu-entry, custom-magic-value-create)
10170 (custom-add-see-also, custom-group-value-create): Use ?\s.
10171 (custom-guess-type, customize-apropos, editable-field)
10172 (custom-face-value-create): Use `string-match-p'.
10173 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10174
10175 * custom.el (custom-load-symbol): Use `string-match-p'.
10176
10177 * ansi-color.el: Convert to lexical binding.
10178 (ansi-colors): Fix URL.
10179 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10180 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10181 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10182
10183 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10184
10185 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10186
10187 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10188
10189 2013-06-19 Tom Tromey <tromey@redhat.com>
10190
10191 * net/eww.el (eww-top-url): Remove.
10192 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10193 (eww-render): Set new variables. Don't set eww-top-url.
10194 (eww-handle-link): Handle "prev", "home", and "contents".
10195 Downcase the rel text.
10196 (eww-top-url): Choose best top URL.
10197
10198 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10199
10200 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10201 relying in widget.el. Using widget.el leads to too many
10202 user interface inconsistencies.
10203 (eww-self-insert): Implement entering commands in text fields.
10204 (eww-process-text-input): New function to make text input field editing
10205 work.
10206 (eww-submit): Rewrite to use the new-style form methods.
10207 (eww-select-display): Display the correct selected item.
10208 (eww-change-select): Implement changing the select value.
10209 (eww-toggle-checkbox): Implement radio/checkboxes.
10210 (eww-update-field): Fix compilation error.
10211 (eww-tag-textarea): Implement <textarea>.
10212
10213 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10214 we don't shadow mode-specific bindings.
10215
10216 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10217 nothing to push.
10218
10219 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10220
10221 2013-06-19 Glenn Morris <rgm@gnu.org>
10222
10223 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10224
10225 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10226
10227 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10228 not needed.
10229
10230 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10231
10232 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10233
10234 * net/browse-url.el (browse-url-browser-function):
10235 `eww-browse-url' has the right calling signature, `eww' does not.
10236
10237 2013-06-19 Glenn Morris <rgm@gnu.org>
10238
10239 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10240 Only eval autoloaded macros.
10241 (byte-compile-autoload): Only give the macro warning for macros.
10242
10243 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10244 (ps-underlined-faces): Declare.
10245
10246 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10247 (speedbar-add-supported-extension): Declare.
10248
10249 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10250 Don't include a date stamp in the header of the generated file;
10251 it leads to needless differences between output files.
10252
10253 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10254
10255 * net/secrets.el (secrets-struct-secret-content-type):
10256 Replace check of introspection data by a test call of "CreateItem".
10257 Some servers do not offer introspection.
10258
10259 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * electric.el (electric-pair-mode): Improve interaction with
10262 electric-layout-mode.
10263 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10264 (electric-pair-syntax): Use text-mode-syntax-table in comments
10265 and strings.
10266 (electric-pair--insert): New function.
10267 (electric-pair-post-self-insert-function): Use it and
10268 electric--after-char-pos.
10269
10270 2013-06-19 Leo Liu <sdl.web@gmail.com>
10271
10272 * progmodes/octave.el (octave-help): Fix regexp.
10273
10274 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10275
10276 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10277 (shr-table-horizontal-line): Allow nil as a value, and change the
10278 default.
10279 (shr-insert-table-ruler): Respect the nil value.
10280
10281 2013-06-18 Tom Tromey <tromey@barimba>
10282
10283 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10284 New defvars.
10285 (eww-open-file): New defun.
10286 (eww-render): Initialize new variables.
10287 (eww-display-html): Handle "link" and "a".
10288 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10289 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10290 (eww-back-url): Rename from eww-previous-url.
10291 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10292 New defuns.
10293
10294 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10295
10296 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10297 Distinguish ternary operator tokens from slash symbol and slash
10298 char literal.
10299
10300 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10301
10302 Convert symbol prettification into minor mode and global minor mode.
10303
10304 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10305 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10306 (prettify-symbols--keywords): Rename from
10307 `prog-prettify-symbols-alist' and make a local defvar.
10308 (prettify-symbols--compose-symbol): Rename from
10309 `prog--prettify-font-lock-compose-symbol'.
10310 (prettify-symbols--make-keywords): Rename from
10311 `prog-prettify-font-lock-symbols-keywords' and simplify.
10312 (prog-prettify-install): Remove.
10313 (prettify-symbols-mode): New minor mode, based on
10314 `prog-prettify-install'.
10315 (turn-on-prettify-symbols-mode): New function.
10316 (global-prettify-symbols-mode): New globalized minor mode.
10317
10318 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10319 * progmodes/cfengine.el (cfengine3-mode):
10320 * progmodes/perl-mode.el (perl-mode): Don't call
10321 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10322
10323 2013-06-18 Juri Linkov <juri@jurta.org>
10324
10325 * files-x.el (modify-file-local-variable-message): New function.
10326 (modify-file-local-variable)
10327 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10328 and call `modify-file-local-variable-message' when it's non-nil.
10329 (add-file-local-variable, delete-file-local-variable)
10330 (add-file-local-variable-prop-line)
10331 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10332 and use it. (Bug#9820)
10333
10334 2013-06-18 Juri Linkov <juri@jurta.org>
10335
10336 * emulation/vi.el (vi-shell-op):
10337 * emulation/vip.el (vip-execute-com, ex-command):
10338 * emulation/viper-cmd.el (viper-exec-bang):
10339 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10340 the call of `shell-command-on-region'. (Bug#14637)
10341
10342 * simple.el (shell-command-on-region): Doc fix.
10343
10344 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10345
10346 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10347 (bug#14633).
10348
10349 2013-06-18 Glenn Morris <rgm@gnu.org>
10350
10351 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10352
10353 * newcomment.el (comment-search-forward, comment-search-backward):
10354 Doc fix. (Bug#14376)
10355
10356 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10357
10358 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10359 (buffer-face-mode-invoke): Doc fix.
10360
10361 2013-06-18 Matthias Meulien <orontee@gmail.com>
10362
10363 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10364 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10365
10366 2013-06-18 Glenn Morris <rgm@gnu.org>
10367
10368 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10369 Replace obsolete function generic-make-keywords with its expansion.
10370
10371 * progmodes/python.el (ffap-alist): Declare.
10372
10373 * textmodes/reftex.el (bibtex-mode-map): Declare.
10374
10375 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10376
10377 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10378 (package-unpack, package-unpack-single): Return the pkg-dir.
10379 (package-download-transaction): Use it to update package-alist.
10380
10381 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10382
10383 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10384 possible choice.
10385
10386 2013-06-17 Juri Linkov <juri@jurta.org>
10387
10388 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10389
10390 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10391
10392 * emacs-lisp/package.el (package-load-descriptor):
10393 Remove `with-syntax-table' call, `read' doesn't need it.
10394 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10395
10396 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10397
10398 * startup.el (command-line): Expand package name returned by
10399 `package--description-file' (bug#14639).
10400
10401 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10402
10403 * emacs-lisp/package.el (package-load-descriptor): Do not call
10404 `emacs-lisp-mode', just use its syntax table.
10405
10406 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10407
10408 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10409 `font-lock-extra-managed-props' if any prettifying keyword is added.
10410 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10411 (prog-mode): Use `setq-local'.
10412
10413 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * international/characters.el (standard-case-table): Set syntax of ?»
10416 and ?« to punctuation.
10417
10418 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10419
10420 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10421 Save relevant match data before calling `syntax-ppss' (bug#14595).
10422
10423 2013-06-15 Juri Linkov <juri@jurta.org>
10424
10425 * files-x.el (modify-file-local-variable-prop-line): Add local
10426 variables to the end of the existing comment on the first line.
10427 Use `file-auto-mode-skip' to skip interpreter magic line,
10428 and also skip XML declaration.
10429
10430 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * startup.el (package--builtin-versions): New var.
10433 (package-subdirectory-regexp): Remove.
10434 (package--description-file): Hard code its value instead.
10435
10436 * emacs-lisp/package.el: Don't activate packages older than builtin.
10437 (package-obsolete-list): Rename from package-obsolete-alist, and make
10438 it into a simple list of package-desc.
10439 (package-strip-version): Remove.
10440 (package-built-in-p): Use package--builtin-versions.
10441 (package-mark-obsolete): Simplify.
10442 (package-process-define-package): Mark it obsolete if older than the
10443 builtin version.
10444 (package-handle-response): Use line-end-position.
10445 (package-read-archive-contents, package--download-one-archive):
10446 Simplify.
10447 (package--add-to-archive-contents): Skip if older than the builtin or
10448 installed version.
10449 (package-menu-describe-package): Fix last change.
10450 (package-list-unversioned): New var.
10451 (package-menu--generate): Use it.
10452
10453 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10454 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10455 (autoload-builtin-package-versions): New variable.
10456 (autoload-generate-file-autoloads): Use them.
10457 Remove the list of autoloaded functions/macros from the
10458 (autoload...) comments.
10459
10460 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10461
10462 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10463
10464 * simple.el (line-move-partial): Don't jump to the next screen
10465 line as soon as it becomes visible. Instead, continue enlarging
10466 the vscroll until the portion of a tall screen line that's left on
10467 display is about the height of the frame's default font.
10468 (Bug#14567)
10469
10470 2013-06-15 Glenn Morris <rgm@gnu.org>
10471
10472 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10473 compilation-error-regexp-alist void, or local while let-bound.
10474
10475 * progmodes/make-mode.el (makefile-mode-syntax-table):
10476 Treat "=" as punctuation. (Bug#14614)
10477
10478 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10479
10480 * help-fns.el (describe-variable):
10481 Add extra line for permanent-local variables.
10482
10483 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10484
10485 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10486 Add export, import, library. (Bug#9164)
10487 (library): Set indent function.
10488
10489 2013-06-14 Glenn Morris <rgm@gnu.org>
10490
10491 * term/xterm.el (xterm--query):
10492 Stop after first matching handler. (Bug#14615)
10493
10494 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10495
10496 Add support for dired in saveplace.
10497 * dired.el (dired-initial-position-hook): New variable.
10498 (dired-initial-position): Call hook to place cursor position.
10499 * saveplace.el (save-place-to-alist): Add dired position.
10500 (save-place-dired-hook): New function.
10501
10502 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10503
10504 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10505 through a symbol rather than letrec.
10506
10507 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10508 (package-desc): Add `dir' field.
10509 (package-desc-full-name): New function.
10510 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10511 (package-maybe-load-descriptor): Remove.
10512 (package-load-all-descriptors): Just call package-load-descriptor.
10513 (package--disabled-p): New function.
10514 (package-desc-vers, package-desc-doc): Remove aliases.
10515 (package--dir): Remove function.
10516 (package-activate): Check if a package is disabled.
10517 (package-process-define-package): New function, extracted from
10518 define-package.
10519 (define-package): Turn into a place holder.
10520 (package-unpack-single, package-tar-file-info):
10521 Use package--description-file.
10522 (package-compute-transaction): Use package--disabled-p.
10523 (package-download-transaction): Don't call
10524 package-maybe-load-descriptor since they're all loaded anyway.
10525 (package-install): Change argument to be a pkg-desc.
10526 (package-delete): Use a single pkg-desc argument.
10527 (describe-package-1): Use package-desc-dir instead of package--dir.
10528 Use package-desc property instead of package-symbol.
10529 (package-install-button-action): Adjust accordingly.
10530 (package--push): Rewrite.
10531 (package-menu--print-info): Adjust accordingly. Change the ID format
10532 to be a pkg-desc.
10533 (package-menu-describe-package, package-menu-get-status)
10534 (package-menu--find-upgrades, package-menu-mark-upgrades)
10535 (package-menu-execute, package-menu--name-predicate):
10536 Adjust accordingly.
10537 * startup.el (package--description-file): New function.
10538 (command-line): Use it.
10539 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10540 Use package-desc-version.
10541
10542 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10543 (byte-compile-preprocess): Use it.
10544 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10545 can't quite recognize.
10546 (byte-compile-add-to-list): Remove.
10547 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10548 (cconv-closure-convert): Add assertion.
10549
10550 * emacs-lisp/map-ynp.el: Use lexical-binding.
10551 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10552 Factor out some repeated code.
10553
10554 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * subr.el (with-eval-after-load): New macro.
10557 (eval-after-load): Allow form to be a function.
10558 take advantage of lexical-binding.
10559 (do-after-load-evaluation): Use dolist and adjust to new format.
10560 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10561
10562 2013-06-13 Juri Linkov <juri@jurta.org>
10563
10564 * replace.el (perform-replace): Display "symbol " and other search
10565 modes from `isearch-message-prefix' in the *Help* buffer.
10566
10567 * isearch.el (isearch-query-replace): Add " symbol" and other
10568 possible search modes from `isearch-message-prefix' to the prompt.
10569 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10570 when reading a regexp to collect.
10571
10572 2013-06-13 Juri Linkov <juri@jurta.org>
10573
10574 * isearch.el (word-search-regexp): Match whitespace if the search
10575 string begins or ends in whitespace. The LAX arg is applied to
10576 both ends of the search string. Use `regexp-quote' and explicit
10577 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10578 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10579 boundaries are replaced with symbol boundaries, and characters
10580 between symbols match non-word non-symbol syntax. (Bug#14602)
10581
10582 2013-06-13 Juri Linkov <juri@jurta.org>
10583
10584 * isearch.el (isearch-del-char): Don't exceed the length of
10585 `isearch-string' by the prefix arg. (Bug#14563)
10586
10587 2013-06-13 Juri Linkov <juri@jurta.org>
10588
10589 * isearch.el (isearch-yank-word, isearch-yank-line)
10590 (isearch-char-by-name, isearch-quote-char)
10591 (isearch-printing-char, isearch-process-search-char):
10592 Add optional count prefix arg. (Bug#14563)
10593
10594 * international/isearch-x.el
10595 (isearch-process-search-multibyte-characters):
10596 Add optional count prefix arg.
10597
10598 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10601 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10602 lexical-binding.
10603
10604 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10605
10606 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10607
10608 2013-06-13 Glenn Morris <rgm@gnu.org>
10609
10610 * startup.el (tty-handle-args):
10611 Don't just discard "--" and anything after. (Bug#14608)
10612
10613 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10614
10615 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10616
10617 Implement changes in Secret Service API. Make it backward compatible.
10618 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10619 (secrets-create-item): Use it. Prefix properties with interface.
10620
10621 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10622
10623 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10624 (term-emulate-terminal): Respect term-suppress-hard-newline.
10625
10626 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10627
10628 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10629 Only remove a `thumb-file' overlay. (Bug#14548)
10630
10631 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10632
10633 * mail/reporter.el (reporter-submit-bug-report):
10634 Handle missing package-name. (Bug#14600)
10635
10636 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10637
10638 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10639 (reftex-citation-prompt, reftex-default-bibliography)
10640 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10641 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10642 (reftex-bib-sort-author, reftex-bib-sort-year)
10643 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10644 (reftex-extract-bib-entries-from-thebibliography)
10645 (reftex-get-bibkey-default, reftex-get-bib-names)
10646 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10647 (reftex-format-bib-entry, reftex-parse-bibitem)
10648 (reftex-format-bibitem, reftex-do-citation)
10649 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10650 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10651 (reftex-insert-bib-matches, reftex-format-citation)
10652 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10653 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10654 existing comments into docstrings.
10655
10656 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10657
10658 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10659
10660 2013-06-12 Andreas Schwab <schwab@suse.de>
10661
10662 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10663 for auto-save files.
10664
10665 2013-06-12 Glenn Morris <rgm@gnu.org>
10666
10667 * ido.el (ido-delete-ignored-files): Remove.
10668 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10669 Go back to calling ido-ignore-item-p directly.
10670
10671 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10672
10673 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10674
10675 * ido.el (ido-delete-ignored-files): New function,
10676 split from ido-make-file-list-1.
10677 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10678 (ido-make-file-list-1): Use ido-delete-ignored-files.
10679
10680 2013-06-12 Leo Liu <sdl.web@gmail.com>
10681
10682 * progmodes/octave.el (inferior-octave-startup)
10683 (inferior-octave-completion-table)
10684 (inferior-octave-track-window-width-change)
10685 (octave-eldoc-function-signatures, octave-help)
10686 (octave-find-definition): Use single quoted strings.
10687 (inferior-octave-startup-args): Change default value.
10688 (inferior-octave-startup): Do not hard code "-i" and
10689 "--no-line-editing".
10690 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10691 (inferior-octave-directory-tracker): Use it.
10692 (octave-goto-function-definition): Robustify.
10693 (octave-help): Support highlighting operators in 'See also'.
10694 (octave-find-definition): Find subfunctions only in Octave mode.
10695
10696 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10697
10698 * help-fns.el (help-fns--compiler-macro): If the handler function is
10699 named, then put a link to it.
10700 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10701 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10702 (cl-typep): Use it.
10703 (cl-eval-when): Simplify debug spec.
10704 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10705 compiler-macro function instead of setting `compiler-macro-file'.
10706
10707 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10708
10709 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10710 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10711
10712 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10713 Daniel Hackney <dan@haxney.org>
10714
10715 First part of Daniel Hackney's patch to package.el.
10716 * emacs-lisp/package.el: Use defstruct.
10717 (package-desc): New, main struct.
10718 (package--bi-desc, package--ac-desc): New structs, used to describe the
10719 format in external files.
10720 (package-desc-vers): Replace with package-desc-version accessor.
10721 (package-desc-doc): Replace with package-desc-summary accessor.
10722 (package-activate-1): Remove `package' arg since the pkg-vec now
10723 includes the name.
10724 (define-package): Use package-desc-from-define.
10725 (package-unpack-single): Change file-name arg to be a symbol.
10726 (package--add-to-archive-contents): Use package-desc-create and new
10727 accessor functions to package--ac-desc.
10728 (package-buffer-info, package-tar-file-info): Return a package-desc.
10729 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10730 arg to be a package-desc.
10731 (package-install-file): Adjust accordingly. Use \' to match EOS.
10732 (package--from-builtin): New function.
10733 (describe-package-1, package-menu--generate): Use it.
10734 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10735 (package-generate-autoloads): Idem and return the name of the file.
10736 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10737 Change pkg-info arg to be a package-desc.
10738 Use package-make-ac-desc.
10739 (package-upload-file): Use \' to match EOS.
10740 * finder.el (finder-compile-keywords): Use package-make-builtin.
10741
10742 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10743
10744 * vc/vc.el (vc-deduce-fileset): Change error message.
10745 (vc-read-backend): New function.
10746 (vc-next-action): Use it.
10747
10748 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10749
10750 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10751 (prolog-font-lock-keywords): Use regexp-opt instead.
10752 Don't manually highlight strings.
10753 (prolog-mode-variables): Simplify comment-start-skip.
10754 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10755
10756 * emacs-lisp/generic.el (generic--normalise-comments)
10757 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10758 (generic-mode-set-comments): Use them.
10759 (generic-bracket-support): Use setq-local.
10760 (generic-make-keywords-list): Declare obsolete.
10761
10762 2013-06-11 Glenn Morris <rgm@gnu.org>
10763
10764 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10765 Prettify after setting font-lock-defaults. (Bug#14574)
10766
10767 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10768
10769 * replace.el (query-replace, occur-read-regexp-defaults-function)
10770 (replace-search):
10771 * subr.el (declare-function, number-sequence, local-set-key)
10772 (substitute-key-definition, locate-user-emacs-file)
10773 (with-silent-modifications, split-string, eval-after-load):
10774 Fix typos, remove unneeded backslashes and reflow some docstrings.
10775
10776 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10777
10778 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10779 default for Elisp files.
10780
10781 2013-06-11 Glenn Morris <rgm@gnu.org>
10782
10783 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10784 although define-derived-mode was doing this anyway. (Bug#14583)
10785
10786 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10787
10788 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10789 Fix make-variable-buffer-local call to refer to the correct variable.
10790
10791 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10792
10793 * eshell/em-term.el (eshell-visual-commands)
10794 (eshell-visual-subcommands, eshell-visual-options):
10795 Add summary line to docstrings. Add cross-references.
10796
10797 2013-06-10 Glenn Morris <rgm@gnu.org>
10798
10799 * epa.el (epa-read-file-name): New function. (Bug#14510)
10800 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10801
10802 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10803
10804 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10805 output redirection to be ignored with visual commands.
10806
10807 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10808
10809 * eshell/em-term.el (eshell-visual-command-p): New function.
10810 (eshell-term-initialize): Move long lambda to separate function
10811 eshell-visual-command-p.
10812 * eshell/em-dirs.el (eshell-dirs-initialize):
10813 * eshell/em-script.el (eshell-script-initialize):
10814 Add missing #' to lambda.
10815
10816 2013-06-08 Leo Liu <sdl.web@gmail.com>
10817
10818 * progmodes/octave.el (octave-add-log-current-defun): New function.
10819 (octave-mode): Set add-log-current-defun-function.
10820 (octave-goto-function-definition): Do not move point if not found.
10821 (octave-find-definition): Enhance to try subfunctions first.
10822
10823 2013-06-08 Glenn Morris <rgm@gnu.org>
10824
10825 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10826 (byte-compile-backward-char, byte-compile-backward-word):
10827 Improve previous change, to handle non-explicit nil.
10828
10829 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10830
10831 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10832 (smie--opener/closer-at-point): New function.
10833 (smie--matching-block-data): Use it. Don't match from right after an
10834 opener or right before a closer. Obey smie-blink-matching-inners.
10835 Don't signal a mismatch for repeated inners like "switch..case..case".
10836
10837 2013-06-07 Leo Liu <sdl.web@gmail.com>
10838
10839 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10840 to t. (Bug#14303)
10841 (octave-function-header-regexp): Fix. (Bug#14570)
10842 (octave-help-mode-finish-hook, octave-help-mode-finish):
10843 Remove. Just use temp-buffer-show-hook.
10844
10845 * newcomment.el (comment-search-backward): Revert last change.
10846 (Bug#14434)
10847
10848 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10849
10850 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10851
10852 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10853 through xargs, to avoid failure due to MS-Windows limitations on
10854 command-line length.
10855
10856 2013-06-06 Glenn Morris <rgm@gnu.org>
10857
10858 * font-lock.el (lisp-font-lock-keywords-2):
10859 Treat user-error like error.
10860
10861 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10862 (byte-compile-backward-char, byte-compile-backward-word):
10863 Handle explicit nil arguments. (Bug#14565)
10864
10865 2013-06-05 Alan Mackenzie <acm@muc.de>
10866
10867 * isearch.el (isearch-allow-prefix): New user option.
10868 (isearch-other-meta-char): Don't exit isearch when a prefix
10869 argument is typed whilst `isearch-allow-prefix' is non-nil.
10870 (Bug#9706)
10871
10872 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10873
10874 * autorevert.el (auto-revert-notify-handler): Use memq.
10875 Hide assertion failure.
10876
10877 * skeleton.el: Use cl-lib.
10878 (skeleton-further-elements): Use defvar-local.
10879 (skeleton-insert): Use cl-progv.
10880
10881 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10882
10883 * progmodes/prog-mode.el (prog-prettify-symbols)
10884 (prog-prettify-install): Update docstrings.
10885
10886 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * simple.el: Move all the prog-mode code to prog-mode.el.
10889 * progmodes/prog-mode.el: New file.
10890 * loadup.el: Add prog-mode.el.
10891
10892 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10893
10894 * simple.el (prog-prettify-symbols): Add version.
10895 (prog-prettify-install): Add convenience function to prettify symbols.
10896
10897 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10898 (perl--augmented-font-lock-keywords-1)
10899 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10900 variables and use it.
10901
10902 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10903 (cfengine3-mode): Remove unneeded variable and use it.
10904
10905 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10906 (lisp--augmented-font-lock-keywords-1)
10907 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10908 Remove unneeded variables and use it.
10909
10910 2013-06-05 João Távora <joaotavora@gmail.com>
10911
10912 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10913 to point when opening the connection. (Bug#14380)
10914
10915 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * subr.el (load-history-regexp, load-history-filename-element)
10918 (eval-after-load, after-load-functions, do-after-load-evaluation)
10919 (eval-next-after-load, display-delayed-warnings)
10920 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10921 definition of save-match-data.
10922 (overriding-local-map): Remove accidental obsolescence declaration.
10923
10924 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10925
10926 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10927
10928 Generalize symbol prettify support to prog-mode and implement it
10929 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10930 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10931 (prog--prettify-font-lock-compose-symbol)
10932 (prog-prettify-font-lock-symbols-keywords): New variables and
10933 functions to support symbol prettification.
10934 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10935 (lisp--augmented-font-lock-keywords-1)
10936 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10937 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10938 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10939 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10940 Implement prettify of -> => :: strings.
10941 * progmodes/perl-mode.el (perl-prettify-symbols)
10942 (perl--font-lock-compose-symbol)
10943 (perl--font-lock-symbols-keywords): Move to prog-mode.
10944 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10945 (perl-font-lock-keywords-1)
10946 (perl-font-lock-keywords-2): Remove explicit prettify support.
10947 (perl--augmented-font-lock-keywords)
10948 (perl--augmented-font-lock-keywords-1)
10949 (perl--augmented-font-lock-keywords-2, perl-mode):
10950 Implement prettify support.
10951
10952 2013-06-05 Leo Liu <sdl.web@gmail.com>
10953
10954 Re-implement SMIE matching block highlight using
10955 show-paren-data-function. (Bug#14395)
10956 * emacs-lisp/smie.el (smie-matching-block-highlight)
10957 (smie--highlight-matching-block-overlay)
10958 (smie--highlight-matching-block-lastpos)
10959 (smie-highlight-matching-block)
10960 (smie-highlight-matching-block-mode): Remove.
10961 (smie--matching-block-data-cache): New variable.
10962 (smie--matching-block-data): New function.
10963 (smie-setup): Use smie--matching-block-data for
10964 show-paren-data-function.
10965
10966 * progmodes/octave.el (octave-mode-menu): Fix.
10967 (octave-find-definition): Skip garbage lines.
10968
10969 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10970
10971 Fix compilation error with simultaneous dynamic+lexical scoping.
10972 Add warning when a defvar appears after the first let-binding.
10973 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10974 (byte-compile-close-variables): Initialize it.
10975 (byte-compile--declare-var): New function.
10976 (byte-compile-file-form-defvar)
10977 (byte-compile-file-form-define-abbrev-table)
10978 (byte-compile-file-form-custom-declare-variable): Use it.
10979 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10980 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10981 (byte-compile-bind): Handle dynamic bindings that shadow
10982 lexical bindings.
10983 (byte-compile-unbind): Make arg non-optional.
10984 (byte-compile-let): Simplify.
10985 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10986 (cconv--analyse-function, cconv-analyse-form): Populate it.
10987 Protect byte-compile-bound-variables to limit the scope of defvars.
10988 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10989 Remove unneeded rule for `declare'.
10990
10991 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10992 so as to avoid depending on cl-adjoin at run-time.
10993 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10994
10995 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10996 (macroexp--warn-and-return): Use it.
10997
10998 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10999
11000 * subr.el: Convert to lexical binding.
11001 (overriding-local-map): Make obsolete.
11002 (add-to-list): Doc fix. Add compiler macro.
11003 (read-key): Swap values of local maps.
11004
11005 2013-06-05 Leo Liu <sdl.web@gmail.com>
11006
11007 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11008
11009 2013-06-04 Leo Liu <sdl.web@gmail.com>
11010
11011 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11012 (compilation-auto-jump): Suppress the "Mark set" message to give
11013 way to exit message.
11014
11015 2013-06-04 Alan Mackenzie <acm@muc.de>
11016
11017 Remove faulty optimisation from indentation calculation.
11018 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11019 search limit based on 2000 characters back from indent-point.
11020
11021 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11022
11023 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11024
11025 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11026
11027 * emacs-lisp/lisp.el: Use lexical-binding.
11028 (lisp--local-variables-1, lisp--local-variables): New functions.
11029 (lisp--local-variables-completion-table): New var.
11030 (lisp-completion-at-point): Use it complete let-bound vars.
11031
11032 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11033 eagerly (bug#14422).
11034
11035 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11036
11037 * autorevert.el (auto-revert-notify-enabled)
11038 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11039 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11040 (auto-revert-notify-handler): Handle also gfilenotify.
11041
11042 * subr.el (file-notify-handle-event): New defun. Replacing ...
11043 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11044 Remove.
11045
11046 2013-06-03 Juri Linkov <juri@jurta.org>
11047
11048 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11049 `M-s h .'. (Bug#14427)
11050
11051 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11052 command `hi-lock-face-symbol-at-point'.
11053 (hi-lock-face-symbol-at-point): New command.
11054 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11055 (hi-lock-menu): Add `highlight-symbol-at-point'.
11056 (hi-lock-mode): Doc fix.
11057
11058 * isearch.el (isearch-forward-symbol-at-point): New command.
11059 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11060 (isearch-highlight-regexp): Add a regexp which matches
11061 words/symbols for word/symbol mode.
11062
11063 * subr.el (find-tag-default-bounds): New function with the body
11064 mostly moved from `find-tag-default'.
11065 (find-tag-default): Move most code to `find-tag-default-bounds',
11066 call it and apply `buffer-substring-no-properties' afterwards.
11067
11068 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11069
11070 * eshell/em-term.el (eshell-term-initialize):
11071 Use `cl-intersection' rather than `intersection'.
11072
11073 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11074
11075 * vc/log-view.el: Doc fix.
11076 (log-view-mode-map): Copy keymap from `special-mode-map'.
11077
11078 2013-06-02 Eric Ludlam <zappo@gnu.org>
11079
11080 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11081 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11082 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11083 (eieio-unbound, eieio-default-superclass)
11084 (eieio--define-field-accessors, method-static, method-before)
11085 (method-primary, method-after, method-num-lists)
11086 (method-generic-before, method-generic-primary)
11087 (method-generic-after, method-num-slots)
11088 (eieio-specialized-key-to-generic-key)
11089 (eieio--check-type, class-v, class-p)
11090 (eieio-class-name, define-obsolete-function-alias)
11091 (eieio-class-parents-fast, eieio-class-children-fast)
11092 (same-class-fast-p, class-constructor, generic-p)
11093 (generic-primary-only-p, generic-primary-only-one-p)
11094 (class-option-assoc, class-option, eieio-object-p)
11095 (class-abstract-p, class-method-invocation-order)
11096 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11097 (eieio-class-un-autoload, eieio-defclass)
11098 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11099 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11100 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11101 (eieio-defgeneric-reset-generic-form)
11102 (eieio-defgeneric-form-primary-only)
11103 (eieio-defgeneric-reset-generic-form-primary-only)
11104 (eieio-defgeneric-form-primary-only-one)
11105 (eieio-defgeneric-reset-generic-form-primary-only-one)
11106 (eieio-unbind-method-implementations)
11107 (eieio--defmethod, eieio--typep)
11108 (eieio-perform-slot-validation, eieio-validate-slot-value)
11109 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11110 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11111 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11112 (eieio-slot-name-index, eieio-class-slot-name-index)
11113 (eieio-set-defaults, eieio-initarg-to-attribute)
11114 (eieio-attribute-to-initarg, eieio-c3-candidate)
11115 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11116 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11117 (eieio-class-precedence-list, eieio-generic-call-methodname)
11118 (eieio-generic-call-arglst, eieio-generic-call-key)
11119 (eieio-generic-call-next-method-list)
11120 (eieio-pre-method-execution-functions, eieio-generic-call)
11121 (eieio-generic-call-primary-only, eieiomt-method-list)
11122 (eieiomt-optimizing-obarray, eieiomt-install)
11123 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11124 (eieio-generic-form, eieio-defmethod, make-obsolete)
11125 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11126 (defclass): Remove `eval-and-compile' from macro.
11127 (call-next-method, shared-initialize): Instead of using
11128 `scoped-class' variable, use new eieio--scoped-class, and
11129 eieio--with-scoped-class.
11130 (initialize-instance): Rename local variable 'scoped-class' to
11131 'this-class' to remove ambiguitity from old global.
11132
11133 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11134 eieio.el.
11135 (eieio--scoped-class-stack): New variable.
11136 (eieio--scoped-class): New fcn.
11137 (eieio--with-scoped-class): New scoping macro.
11138 (eieio-defclass): Use pushnew instead of add-to-list.
11139 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11140 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11141 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11142 `scoped-class' variable, use new eieio--scoped-class, and
11143 eieio--with-scoped-class.
11144
11145 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11146
11147 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11148
11149 * eshell/esh-ext.el (eshell-external-command): Pass args to
11150 `eshell-find-interpreter'.
11151 (eshell-find-interpreter): Add new second parameter ARGS.
11152
11153 * eshell/em-script.el (eshell-script-initialize): Add second arg
11154 to the function added as MATCH to `eshell-interpreter-alist'.
11155
11156 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11157 the function added as MATCH to `eshell-interpreter-alist'.
11158
11159 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11160 (eshell-visual-options): New defcustom.
11161 (eshell-escape-control-x): Adapt docstring.
11162 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11163 `eshell-visual-options' in addition to `eshell-visual-commands'.
11164 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11165
11166 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11167
11168 * progmodes/python.el (python-indent-block-enders): Add break,
11169 continue and raise keywords.
11170
11171 2013-06-01 Glenn Morris <rgm@gnu.org>
11172
11173 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11174
11175 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11176 * progmodes/cc-cmds.el (delete-forward-p):
11177 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11178 * progmodes/cc-engine.el (buffer-syntactic-context):
11179 * progmodes/cc-fonts.el (face-property-instance):
11180 * progmodes/cc-mode.el (set-keymap-parents):
11181 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11182 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11183 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11184 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11185 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11186
11187 * progmodes/cc-vars.el (other): Emacs has this widget since
11188 at least 21.1, so don't (re)define it.
11189
11190 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11191 Replace the obsolete alias pcomplete-arg-quote-list.
11192
11193 2013-06-01 Leo Liu <sdl.web@gmail.com>
11194
11195 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11196 punctuation syntax.
11197 (inferior-octave-minimal-columns)
11198 (inferior-octave-last-column-width): New variables.
11199 (inferior-octave-track-window-width-change): New function.
11200 (inferior-octave-mode): Adjust column width so that Octave output,
11201 for example from 'ls', can fit into the window nicely.
11202
11203 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11204
11205 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11206 Highlight expansions inside regexp literals.
11207
11208 2013-05-31 Glenn Morris <rgm@gnu.org>
11209
11210 * obsolete/sym-comp.el (symbol-complete):
11211 Replace obsolete completion-annotate-function.
11212
11213 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11214
11215 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11216
11217 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11218 New function, checks if point is inside a literal that allows
11219 expression expansion.
11220 (ruby-syntax-propertize-expansion): Use it.
11221 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11222 around the body.
11223
11224 2013-05-30 Juri Linkov <juri@jurta.org>
11225
11226 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11227 to "\M-si".
11228 (isearch-invisible): New variable.
11229 (isearch-forward): Doc fix.
11230 (isearch-mode): Set `isearch-invisible'
11231 to the value of `search-invisible'.
11232 (isearch-toggle-case-fold): Doc fix.
11233 (isearch-toggle-invisible): New command.
11234 (isearch-query-replace): Let-bind `search-invisible'
11235 to the value of `isearch-invisible'.
11236 (isearch-search): Use `isearch-invisible' instead of
11237 `search-invisible'. Let-bind `search-invisible'
11238 to the value of `isearch-invisible'. (Bug#11378)
11239
11240 2013-05-30 Juri Linkov <juri@jurta.org>
11241
11242 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11243 call when `query-flag' is nil and `search-invisible' is non-nil.
11244 (Bug#11746)
11245
11246 2013-05-30 Glenn Morris <rgm@gnu.org>
11247
11248 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11249
11250 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11251 (cc-require): Suppress spurious "noruntime" warnings.
11252 (cc-require-when-compile): Use fboundp, for sake of compiler.
11253
11254 * progmodes/cc-mode.el: Move load of cc-vars before that of
11255 cc-langs (which in turn loads cc-vars), to quieten compiler.
11256
11257 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11258
11259 * paren.el: Simplify the code.
11260 (show-paren-mode): Always start the timer.
11261 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11262 (show-paren--overlay, show-paren--overlay-1): Rename from
11263 show-paren-overlay and show-paren-overlay-1, and initialize to an
11264 overlay rather than to nil.
11265 (show-paren-function): Misc cleanup and simplifications.
11266
11267 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * paren.el (show-paren-data-function): New hook.
11270 (show-paren--default): New function, extracted from show-paren-function.
11271 (show-paren-function): Use show-paren-data-function.
11272
11273 2013-05-30 Glenn Morris <rgm@gnu.org>
11274
11275 * ielm.el (ielm-map, ielm-complete-symbol):
11276 Use completion-at-point rather than obsolete functions.
11277 (inferior-emacs-lisp-mode): Doc fix.
11278 Set completion-at-point-functions, rather than
11279 comint-dynamic-complete-functions.
11280
11281 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11282 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11283 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11284
11285 * image.el (image-animated-p): Tweak definition.
11286
11287 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11288 (rlogin-process-connection-type): Tweak default. Add set-after.
11289 (rlogin-host): Doc fix.
11290 (rlogin): Tweak prompt.
11291 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11292
11293 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11294 * progmodes/tcl.el (inferior-tcl-mode-map):
11295 Use completion-at-point rather than obsolete alias.
11296
11297 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11298
11299 * minibuffer.el (read-file-name-completion-ignore-case):
11300 Move before completion--in-region, for eager macro expansion.
11301
11302 2013-05-29 Juri Linkov <juri@jurta.org>
11303
11304 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11305 for total count of matching lines. Add `global-matches' for total
11306 count of matches. Rename `matches' to `lines' for count of
11307 matching lines. Add `matches' for count of matches.
11308 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11309 to `prev-line' for line number of prev match endpt.
11310 Increment `matches' for every match. Print the number of
11311 matching lines in the header.
11312 (occur-context-lines): Rename `lines' to `curr-line'.
11313 Rename `prev-lines' to `prev-line'. (Bug#14017)
11314
11315 2013-05-29 Juri Linkov <juri@jurta.org>
11316
11317 * replace.el (perform-replace): Add `skip-read-only-count',
11318 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11319 Increment them for corresponding conditions and report the number
11320 of skipped occurrences in the final message. (Bug#11746)
11321 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11322 (replace-string, replace-regexp): Doc fix.
11323
11324 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11325
11326 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11327
11328 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11329 prog-mode-map (bug#14504).
11330
11331 2013-05-29 Leo Liu <sdl.web@gmail.com>
11332
11333 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11334 (octave-help): Small simplification.
11335
11336 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11337 off the highlight first.
11338
11339 2013-05-29 Glenn Morris <rgm@gnu.org>
11340
11341 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11342 Handle idlwave-last-system-routine-info-cons-cell being nil.
11343
11344 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11345 (idlwave-write-paths): Simplify via with-temp-buffer.
11346
11347 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11348 * emulation/cua-rect.el: Also load cua-base at run time.
11349
11350 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11351 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11352 (cperl-imenu-on-info): Require imenu.
11353
11354 2013-05-28 Alan Mackenzie <acm@muc.de>
11355
11356 Handle "capitalised keywords" correctly.
11357 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11358
11359 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11360
11361 * eshell/em-unix.el: Add -r option to cp.
11362
11363 2013-05-28 Glenn Morris <rgm@gnu.org>
11364
11365 * vc/vc-arch.el (vc-exec-after): Declare.
11366 (vc-switches): Autoload.
11367 * vc/vc-bzr.el: No need to require vc when compiling.
11368 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11369 (vc-resynch-buffer, vc-dir-refresh): Declare.
11370 (vc-setup-buffer, vc-switches): Autoload.
11371 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11372 (vc-resynch-buffer): Declare.
11373 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11374 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11375 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11376 (grep-read-regexp, grep-read-files, grep-expand-template)
11377 (vc-dir-refresh): Declare.
11378 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11379 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11380 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11381 * vc/vc-mtn.el (vc-exec-after): Declare.
11382 (vc-switches): Autoload.
11383 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11384 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11385 (vc-file-tree-walk): Declare.
11386 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11387 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11388 (vc-tag-precondition, vc-rename-master): Autoload.
11389 * vc/vc-svn.el (vc-exec-after): Declare.
11390 (vc-switches, vc-setup-buffer): Autoload.
11391 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11392 Autoload.
11393 (vc-resynch-buffer): Declare.
11394
11395 * obsolete/fast-lock.el (byte-compile-warnings):
11396 Don't warn about obsolete features in this obsolete file.
11397
11398 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11399 Move definition before use.
11400
11401 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11402 (dun-unix-verbs): Remove dun-zippy.
11403 (dun-zippy): Remove function.
11404
11405 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11406
11407 2013-05-27 Juri Linkov <juri@jurta.org>
11408
11409 * replace.el (replace-search): New function with code moved out
11410 from `perform-replace'.
11411 (replace-highlight, replace-dehighlight): Move function definitions
11412 up closer to `replace-search'. (Bug#11746)
11413
11414 2013-05-27 Juri Linkov <juri@jurta.org>
11415
11416 * replace.el (perform-replace): Ignore invisible matches.
11417 In addition to checking `query-replace-skip-read-only', also
11418 filter out matches by calling `run-hook-with-args-until-failure'
11419 on `isearch-filter-predicates', and also check `search-invisible'
11420 for t or call `isearch-range-invisible'.
11421 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11422
11423 2013-05-27 Juri Linkov <juri@jurta.org>
11424
11425 * isearch.el (isearch-filter-predicates): Rename from
11426 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11427 (isearch-message-prefix): Display text from the property
11428 `isearch-message-prefix' of the currently active filters.
11429 (isearch-search): Don't compare `isearch-filter-predicate' with
11430 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11431 on `isearch-filter-predicates'. Also check `search-invisible' for t
11432 or call `isearch-range-invisible'.
11433 (isearch-filter-visible): Make obsolete.
11434 (isearch-lazy-highlight-search):
11435 Call `run-hook-with-args-until-failure' on
11436 `isearch-filter-predicates' and use `isearch-range-invisible'.
11437
11438 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11439 `isearch-filter-predicates' instead of `funcall'ing
11440 `isearch-filter-predicate'.
11441 (Info-mode): Set `Info-isearch-filter' to
11442 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11443
11444 * dired-aux.el (dired-isearch-filter-predicate-orig):
11445 Remove variable.
11446 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11447 (dired-isearch-filenames-end): Add and remove
11448 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11449 instead of changing the value of `isearch-filter-predicate'.
11450 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11451 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11452 Put property `isearch-message-prefix' to "filename " on
11453 `dired-isearch-filter-filenames'.
11454
11455 * wdired.el (wdired-change-to-wdired-mode):
11456 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11457 locally instead of changing `isearch-filter-predicate'.
11458 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11459
11460 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11461
11462 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11463 return the commit hash (Bug#14459). Also set the
11464 `vc-git-detached' property.
11465 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11466 (vc-git-mode-line-string): Use the same help-echo format whether
11467 in detached mode or not, because we know the actual revision now.
11468 When in detached mode, shorten the revision to 7 chars.
11469
11470 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11471
11472 * emacs-lisp/easy-mmode.el (define-minor-mode):
11473 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11474 mode hook and provide a docstring.
11475
11476 2013-05-27 Alan Mackenzie <acm@muc.de>
11477
11478 Remove spurious syntax-table text properties inserted by C-y.
11479 * progmodes/cc-mode.el (c-after-change): Also clear hard
11480 syntax-table property with value nil.
11481
11482 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11483
11484 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11485 when reading the events; the buffer layout shall not be changed.
11486
11487 2013-05-27 Leo Liu <sdl.web@gmail.com>
11488
11489 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11490 New variable.
11491 (inferior-octave-directory-tracker): Automatically re-sync
11492 default-directory.
11493 (octave-help): Improve handling of 'See also'.
11494
11495 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11496
11497 * doc-view.el: Minor naming convention tweaks.
11498 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11499
11500 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11501 even if there's no `display' property yet (bug#14435).
11502
11503 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11504
11505 * subr.el (unmsys--file-name): Rename from reveal-filename.
11506
11507 * Makefile.in (custom-deps, finder-data, autoloads)
11508 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11509 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11510 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11511
11512 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11513
11514 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11515 error-completion on the first 2 args of condition-case (bug#14446).
11516 Don't burp at EOB.
11517
11518 2013-05-25 Leo Liu <sdl.web@gmail.com>
11519
11520 * comint.el (comint-previous-matching-input): Do not flood the
11521 *Messages* buffer with trivial messages.
11522
11523 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11524
11525 * progmodes/flymake.el (flymake-nop): Don't return a string.
11526 (flymake-set-at): Fix typo.
11527
11528 * simple.el (read--expression): New function, extracted from
11529 eval-expression. Set completion-at-point-functions (bug#14465).
11530 (eval-expression, eval-minibuffer): Use it.
11531
11532 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11533
11534 * progmodes/flymake.el (flymake-save-buffer-in-file)
11535 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11536 (flymake-selected-frame, flymake-log, flymake-ins-after)
11537 (flymake-set-at, flymake-get-buildfile-from-cache)
11538 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11539 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11540 Refine the doc string.
11541 (flymake-get-file-name-mode-and-masks): Reformat.
11542 (flymake-get-real-file-name-function): Fix a minor bug.
11543
11544 2013-05-24 Juri Linkov <juri@jurta.org>
11545
11546 * progmodes/grep.el (grep-mode-font-lock-keywords):
11547 Support =linenumber= format used by git-grep for lines with
11548 function names. (Bug#13549)
11549
11550 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11551
11552 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11553 0 after a semi-colon; it works better for smie-auto-fill.
11554 (octave--indent-new-comment-line): New function.
11555 (octave-indent-new-comment-line): Use it (indirectly).
11556 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11557 modify comment-line-break-function.
11558
11559 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11560 (smie-setup): Use add-function to set it.
11561
11562 2013-05-24 Sam Steingold <sds@gnu.org>
11563
11564 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11565 argument (before the `interactive' argument).
11566
11567 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 * image-mode.el (image-mode-winprops): Add winprops to
11570 image-mode-winprops-alist before running
11571 image-mode-new-window-functions.
11572 * doc-view.el (doc-view-new-window-function): Don't delay
11573 doc-view-goto-page via timers (bug#14435).
11574
11575 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11576
11577 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11578 (doc-view-desktop-save-buffer): New function.
11579 (doc-view-restore-desktop-buffer): New function.
11580 (desktop-buffer-mode-handlers):
11581 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11582 handler.
11583 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11584 `desktop-save-buffer' function.
11585
11586 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11587
11588 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11589 (tramp-gvfs-file-name-handler): Raise a user error when
11590 `tramp-gvfs-enabled' is nil.
11591 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11592 Do not raise a user error when loading package. (Bug#14447)
11593
11594 * net/xesam.el: Move to obsolete/.
11595
11596 2013-05-24 Glenn Morris <rgm@gnu.org>
11597
11598 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11599
11600 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11601
11602 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11603 (Info-find-node, Man-getpage-in-background): Declare.
11604
11605 * mail/unrmail.el (unrmail):
11606 Replace obsolete detect-coding-with-priority.
11607
11608 * net/socks.el (socks-split-string): Use this rather than split-string.
11609 (socks-nslookup-host): Update for above change.
11610 (dynamic-choice, s5-dynamic-choice-match)
11611 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11612 Comment out unused code.
11613
11614 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11615 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11616 (gud-tooltip-echo-area): Make obsolete.
11617 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11618
11619 * progmodes/js.el (js--optimize-arglist): Declare.
11620
11621 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11622
11623 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11624 (ediff-window-C): Declare.
11625
11626 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11627 Tweak requires to silence compiler.
11628
11629 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11630 (he-search-string, he-tried-table, he-expand-list)
11631 (he-init-string, he-string-member, he-substitute-string)
11632 (he-reset-string): Declare.
11633
11634 * obsolete/options.el (list-options): Use custom-variable-p,
11635 rather than obsolete alias.
11636
11637 2013-05-23 Sam Steingold <sds@gnu.org>
11638
11639 * simple.el (shell-command-on-region): Pass the `replace' argument
11640 down to `call-process-region' to comply with the doc as reported on
11641 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11642
11643 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11644
11645 * emacs-lisp/smie.el (smie-indent-forward-token)
11646 (smie-indent-backward-token): Handle string tokens (bug#14381).
11647
11648 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11649
11650 * ielm.el (ielm-menu): New menu.
11651 (inferior-emacs-lisp-mode): Set comment-start.
11652
11653 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11654
11655 * textmodes/reftex.el (reftex-ref-style-toggle):
11656 Fix deactivate action.
11657
11658 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11659 Add cleveref macros.
11660
11661 * textmodes/reftex-parse.el
11662 (reftex-locate-bibliography-files): Accept options for
11663 bibliography commands.
11664 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11665 Add addbibresource. Basic Biblatex support.
11666
11667 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11668
11669 * net/tramp-gvfs.el (top):
11670 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11671 when loading package. (Bug#14447)
11672
11673 2013-05-23 Glenn Morris <rgm@gnu.org>
11674
11675 * progmodes/js.el: No need to load comint when compiling.
11676 (ring-insert, comint-send-string, comint-send-input)
11677 (comint-last-input-end, ido-chop): Declare.
11678
11679 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11680 * vc/ediff-mult.el: Adjust requires.
11681 (ediff-directories-internal, ediff-directory-revisions-internal)
11682 (ediff-patch-file-internal): Declare.
11683 * vc/ediff-ptch.el: Adjust requires.
11684 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11685 (ediff-find-file): Autoload.
11686 * vc/ediff-util.el: No need to load ediff when compiling.
11687 (ediff-regions-internal): Declare.
11688 * vc/ediff-wind.el: Adjust requires.
11689 (ediff-compute-toolbar-width): Define when compiling.
11690 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11691 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11692 (dired-get-filename, dired-get-marked-files)
11693 (ediff-last-dir-patch, ediff-patch-default-directory)
11694 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11695 (ediff-patch-buffer-internal): Declare.
11696
11697 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11698 (ispell-process, ispell-buffer-local-words, lm-summary)
11699 (lm-section-start, lm-section-end): Declare.
11700 (checkdoc-ispell-init): Simplify.
11701
11702 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11703 (he-string-member, he-reset-string, he-substitute-string): Declare.
11704
11705 * eshell/em-ls.el: Adjust requires.
11706 (eshell-glob-regexp): Declare.
11707 * eshell/em-tramp.el: Adjust requires.
11708 (eshell-parse-command): Autoload.
11709 * eshell/em-xtra.el: Adjust requires.
11710 (eshell-parse-command): Autoload.
11711 * eshell/esh-ext.el: Adjust requires.
11712 (eshell-parse-command, eshell-close-handles): Autoload.
11713 * eshell/esh-io.el: Adjust requires.
11714 (eshell-output-filter): Autoload.
11715 * eshell/esh-util.el: No need to load tramp when compiling.
11716 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11717 Declare.
11718 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11719 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11720 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11721 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11722 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11723 * eshell/esh-opt.el, eshell/esh-proc.el:
11724 * eshell/esh-var.el: Adjust requires.
11725 * eshell/eshell.el: Do not require esh-util twice.
11726 (eshell-add-input-to-history): Declare.
11727 (eshell-command): Check history module is active before using it.
11728
11729 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11730
11731 2013-05-22 Leo Liu <sdl.web@gmail.com>
11732
11733 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11734
11735 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11736
11737 * autorevert.el (auto-revert-notify-add-watch)
11738 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11739 it indicates changes in file modification time.
11740
11741 2013-05-22 Glenn Morris <rgm@gnu.org>
11742
11743 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11744 Always delete the autoloaded function from the noruntime and
11745 unresolved functions lists.
11746
11747 * allout.el: No need to load epa, epg, overlay when compiling.
11748 (epg-context-set-passphrase-callback, epg-list-keys)
11749 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11750 (epg-key-user-id-list): Declare.
11751
11752 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11753 (viper-set-parsing-style-toggling-macro)
11754 (viper-set-emacs-state-searchstyle-macros):
11755 Use called-interactively-p on Emacs.
11756 (viper-looking-back): Make it an obsolete alias. Update callers.
11757 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11758 Use looking-back rather than viper-looking-back.
11759 (viper-tmp-insert-at-eob, viper-enlarge-region)
11760 (viper-read-string-with-history, viper-register-to-point)
11761 (viper-append-to-register, viper-change-state-to-vi)
11762 (viper-backward-char-carefully, viper-forward-char-carefully)
11763 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11764 (viper-change-state-to-emacs): Declare.
11765 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11766 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11767 * emulation/viper-mous.el: Do not load viper-cmd.
11768 (viper-backward-char-carefully, viper-forward-char-carefully)
11769 (viper-forward-word, viper-adjust-window): Declare.
11770
11771 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11772
11773 * progmodes/idlw-help.el (idlwave-help-fontify):
11774 Use called-interactively-p.
11775
11776 * term/w32console.el (w32-get-console-codepage)
11777 (w32-get-console-output-codepage): Declare.
11778
11779 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11780 Remove unnecessary declarations.
11781 (dframe-message): Doc fix.
11782
11783 * info.el (dframe-select-attached-frame, dframe-current-frame):
11784 Declare.
11785
11786 * speedbar.el (speedbar-message): Make it an obsolete alias.
11787 Update all callers.
11788 (speedbar-with-attached-buffer)
11789 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11790 (speedbar-with-writable): Use backquote.
11791 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11792 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11793 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11794 rather than speedbar- aliases.
11795 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11796 (speedbar-make-specialized-keymap, speedbar-insert-button)
11797 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11798 (speedbar-do-function-pointer): Declare.
11799 (rmail-speedbar-button, rmail-speedbar-find-file)
11800 (rmail-speedbar-move-message):
11801 Use dframe-with-attached-buffer rather than speedbar- alias.
11802 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11803 (dframe-message, speedbar-make-specialized-keymap)
11804 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11805 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11806 (speedbar-insert-button, dframe-select-attached-frame)
11807 (dframe-maybee-jump-to-attached-frame)
11808 (speedbar-change-initial-expansion-list)
11809 (speedbar-previously-used-expansion-list-name): Declare.
11810 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11811 Use dframe-message, dframe-with-attached-buffer rather than
11812 speedbar- aliases.
11813 (gud-sentinel): Silence compiler.
11814 * progmodes/vhdl-mode.el (speedbar-refresh)
11815 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11816 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11817 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11818 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11819 (speedbar-file-lists, speedbar-make-tag-line)
11820 (speedbar-line-directory, speedbar-goto-this-file)
11821 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11822 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11823 (speedbar-make-button, speedbar-reset-scanners)
11824 (speedbar-files-item-info, speedbar-line-text)
11825 (speedbar-find-file-in-frame, speedbar-set-timer)
11826 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11827 (speedbar-with-writable): Do not (re)define it.
11828 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11829 rather than speedbar- alias.
11830
11831 2013-05-21 Leo Liu <sdl.web@gmail.com>
11832
11833 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11834 menu items.
11835 (octave-mode): Tweak fill-nobreak-predicate.
11836 (inferior-octave-startup): Check process to avoid infinite loop.
11837 (inferior-octave): Pop to buffer first to show abornmal process
11838 exit information.
11839
11840 2013-05-21 Glenn Morris <rgm@gnu.org>
11841
11842 * printing.el (pr-menu-bar): Define when compiling.
11843
11844 2013-05-21 Leo Liu <sdl.web@gmail.com>
11845
11846 * progmodes/octave.el (octave-auto-fill): Remove.
11847 (octave-indent-new-comment-line): Improve.
11848 (octave-mode): Use auto fill mode through
11849 comment-line-break-function and fill-nobreak-predicate.
11850 (octave-goto-function-definition): Support DEFUN_DLD.
11851 (octave-beginning-of-defun): Small tweak.
11852 (octave-help): Show parent directory.
11853
11854 2013-05-21 Glenn Morris <rgm@gnu.org>
11855
11856 * files.el (dired-unmark):
11857 * progmodes/gud.el (gdb-input): Update declarations.
11858
11859 * calculator.el (electric, ehelp): No need to load when compiling.
11860 (Electric-command-loop, electric-describe-mode): Declare.
11861
11862 * doc-view.el (doc-view-current-converter-processes): Move before use.
11863
11864 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11865 Move MODE-set-explicitly definition before use.
11866
11867 * international/mule-diag.el (mule-diag):
11868 Don't use obsolete window-system-version.
11869
11870 * mail/feedmail.el (smtpmail): No need to load when compiling.
11871 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11872
11873 * mail/mail-utils.el (rfc822): No need to load when compiling.
11874 (rfc822-addresses): Autoload it.
11875 (mail-strip-quoted-names): Trivial simplification.
11876
11877 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11878 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11879
11880 * net/snmp-mode.el (tempo): Don't duplicate requires.
11881
11882 * progmodes/prolog.el (info): No need to load when compiling.
11883 (comint): Require before shell requires it.
11884 (Info-goto-node): Autoload it.
11885 (Info-follow-nearest-node): Declare.
11886 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11887
11888 * textmodes/artist.el (picture-mode-exit): Declare.
11889
11890 * textmodes/reftex-parse.el (reftex-parse-from-file):
11891 Trivial rewrite so the compiler can parse it better.
11892
11893 2013-05-20 Leo Liu <sdl.web@gmail.com>
11894
11895 * progmodes/octave.el (octave-help-mode-map)
11896 (octave-help-mode-finish-hook): New variables.
11897 (octave-help-mode, octave-help-mode-finish): New functions.
11898 (octave-help): Use octave-help-mode.
11899
11900 2013-05-20 Glenn Morris <rgm@gnu.org>
11901
11902 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11903
11904 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11905
11906 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11907 start at point, so that expansion starting right after opening
11908 slash in a regexp is recognized.
11909 (ruby-syntax-before-regexp-re): New defvar, extracted from
11910 ruby-syntax-propertize-function. Since the value of this regexp
11911 is looked up at runtime now, we should be able to turn
11912 `ruby-syntax-methods-before-regexp' into a defcustom later.
11913 (ruby-syntax-propertize-function): Split regexp matching into two
11914 parts, for opening and closing slashes. That allows us to skip
11915 over string interpolations and support multiline regexps.
11916 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11917 for them, which calls `ruby-syntax-propertize-expansion'.
11918 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11919 call to `ruby-syntax-propertize-function'.
11920 (ruby-syntax-propertize-expansion): Extracted from
11921 `ruby-syntax-propertize-expansions'. Handles one expansion.
11922 (ruby-syntax-propertize-percent-literal): Leave point right after
11923 the percent symbol, so that the expression expansion rule can
11924 propertize the contents.
11925 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11926 heredoc openers.
11927 (ruby-syntax-propertize-expansions): Remove.
11928
11929 2013-05-18 Juri Linkov <juri@jurta.org>
11930
11931 * man.el (Man-default-man-entry): Remove `-' from the end
11932 of the default value. (Bug#14400)
11933
11934 2013-05-18 Glenn Morris <rgm@gnu.org>
11935
11936 * comint.el (comint-password-prompt-regexp):
11937 Allow "password for XXX" where XXX contains colons (eg https://...).
11938
11939 2013-05-18 Leo Liu <sdl.web@gmail.com>
11940
11941 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11942 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11943 (octave-source-directories): Don't check process.
11944 (octave-source-directories, octave-find-definition): Doc fix.
11945
11946 2013-05-18 Glenn Morris <rgm@gnu.org>
11947
11948 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11949 Remove backspace/delete bindings. (Bug#14392)
11950
11951 * cus-dep.el (custom-make-dependencies): Sort the output.
11952 (custom-versions-load-alist): Convert comment to doc.
11953
11954 2013-05-17 Leo Liu <sdl.web@gmail.com>
11955
11956 * newcomment.el (comment-search-backward): Stricter in finding
11957 comment start. (Bug#14303)
11958
11959 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11960 (octave-comment-start-skip): Properly anchored.
11961
11962 2013-05-17 Leo Liu <sdl.web@gmail.com>
11963
11964 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11965 Clean up when turned off. (Bug#14395)
11966 (smie--highlight-matching-block-overlay): No longer buffer-local.
11967 (smie-highlight-matching-block): Adjust.
11968
11969 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11970
11971 Doc string fix for "nanoseconds" (Bug#14406).
11972 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11973 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11974
11975 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11976
11977 * calc/calc-units.el (math-extract-units): Preserve powers
11978 of units.
11979
11980 2013-05-17 Leo Liu <sdl.web@gmail.com>
11981
11982 * subr.el (delete-consecutive-dups): New function.
11983 * ido.el (ido-set-matches-1): Use it.
11984 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11985 * ido.el (ido-remove-consecutive-dups): Remove.
11986
11987 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11990 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11991 regexp-opt's `words'.
11992
11993 2013-05-16 Leo Liu <sdl.web@gmail.com>
11994
11995 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11996 (smie--highlight-matching-block-overlay)
11997 (smie--highlight-matching-block-lastpos)
11998 (smie--highlight-matching-block-timer): New variables.
11999 (smie-highlight-matching-block): New function.
12000 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12001 (smie-setup): Conditionally enable smie-blink-matching-open.
12002
12003 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12004
12005 Sync with upstream verilog-mode r840.
12006 * progmodes/verilog-mode.el (verilog-mode-version)
12007 (verilog-mode-release-date): Update.
12008 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12009 (verilog-sig-tieoff): Fix string error on
12010 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12011 (verilog-read-decls): Fix parameters confusing
12012 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12013
12014 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12015
12016 * subr.el (reveal-filename): New function.
12017
12018 * loadup.el: Compute Emacs executable versions on MS-Windows,
12019 where executables have the .exe extension. Add a hard link
12020 emacs-XX.YY.ZZ.exe on MS-Windows.
12021
12022 * Makefile.in (XARGS_LIMIT): New variable.
12023 (custom-deps, finder-data, autoloads)
12024 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12025 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12026 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12027 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12028
12029 2013-05-16 Leo Liu <sdl.web@gmail.com>
12030
12031 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12032 (octave-mode-menu, octave-mode-map): Remove its uses.
12033
12034 2013-05-16 Reto Zimmermann <reto@gnu.org>
12035
12036 Sync with upstream vhdl mode v3.34.2.
12037 * progmodes/vhdl-mode.el: Use `push' throughout.
12038 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12039 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12040 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12041 (vhdl-actual-generic-name): New option to derive actual generic name.
12042 (vhdl-port-paste-signals): Replace formal by actual generics.
12043 (vhdl-beautify): New name for old group vhdl-align. Update users.
12044 (vhdl-beautify-options): New option.
12045 (vhdl-last-input-event): New compat alias. Use throughout.
12046 (vhdl-goto-line): Replace user level function `goto-line'.
12047 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12048 vhdl-fix-statement-buffer.
12049 (vhdl-create-mode-menu): Add some entries.
12050 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12051 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12052 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12053 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12054 to force statements on one line.
12055 (vhdl-remove-trailing-spaces-region):
12056 New, split from vhdl-remove-trailing-spaces.
12057 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12058 Respect vhdl-beautify-options.
12059 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12060 (vhdl-update-sensitivity-list): Not add with index if exists without.
12061 Not include array index with signal. Ignore keywords in comments.
12062 (vhdl-get-visible-signals): Regexp tweaks.
12063 (vhdl-template-component-inst): Handle empty library.
12064 (vhdl-template-type): Add template for 'enum' type.
12065 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12066 Use vhdl-replace-string.
12067 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12068 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12069 (vhdl-speedbar-initialize): Update for above name change.
12070 (vhdl-compose-wire-components): Fix in handling of constants.
12071 (vhdl-error-regexp-emacs-alist): New variable.
12072 (vhdl-error-regexp-add-emacs): New function;
12073 adds support for new compile.el (Emacs 22+)
12074 (vhdl-generate-makefile-1): Change target order for single lib. units.
12075 Allow use of absolute file names.
12076
12077 2013-05-16 Leo Liu <sdl.web@gmail.com>
12078
12079 * simple.el (prog-indent-sexp): Indent enclosing defun.
12080
12081 2013-05-15 Glenn Morris <rgm@gnu.org>
12082
12083 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12084 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12085 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12086 (whitespace-highlight): Move to whitespace group.
12087
12088 * comint.el (comint-source):
12089 * pcmpl-linux.el (pcmpl-linux):
12090 * shell.el (shell-faces):
12091 * eshell/esh-opt.el (eshell-opt):
12092 * international/ccl.el (ccl): Remove empty custom groups.
12093
12094 * completion.el (dynamic-completion-mode):
12095 * jit-lock.el (jit-lock-debug-mode):
12096 * minibuffer.el (completion-in-region-mode):
12097 * type-break.el (type-break-mode-line-message-mode)
12098 (type-break-query-mode):
12099 * emulation/tpu-edt.el (tpu-edt-mode):
12100 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12101 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12102 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12103
12104 * term/xterm.el (xterm): Change parent group to terminals.
12105
12106 * master.el (master): Remove empty custom group.
12107 (master-mode): Remove unused :group argument.
12108 * textmodes/refill.el (refill): Remove empty custom group.
12109 (refill-mode): Remove unused :group argument.
12110
12111 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12112
12113 * cus-dep.el: Provide a feature.
12114 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12115 Don't mistakenly ignore files whose basenames match a basename
12116 from preloaded-file-list (eg cedet/ede/simple.el).
12117 Add a fallback method for getting :group.
12118
12119 2013-05-15 Juri Linkov <juri@jurta.org>
12120
12121 * isearch.el (isearch-char-by-name): Rename from
12122 `isearch-insert-char-by-name'. Doc fix.
12123 (isearch-forward): Mention `isearch-char-by-name' in
12124 the docstring. (Bug#13348)
12125
12126 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12127 `exit-minibuffer' instead of
12128 `isearch-nonincremental-exit-minibuffer'.
12129 (isearch-edit-string): Remove mention of
12130 `isearch-nonincremental-exit-minibuffer' from docstring.
12131 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12132 (isearch-forward-exit-minibuffer)
12133 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12134
12135 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12136
12137 * loadup.el: Just use unversioned DOC.
12138
12139 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12140 literals as extending to EOB.
12141 (nxml-last-fontify-end): Remove unused variable.
12142 (nxml-after-change1): Use with-silent-modifications.
12143 (nxml-extend-after-change-region): Simplify.
12144 (nxml-extend-after-change-region1): Remove function.
12145 (nxml-after-change1): Don't adjust for dependent regions.
12146 (nxml-fontify-matcher): Simplify.
12147 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12148 (xmltok-add-dependent): Remove function.
12149 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12150 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12151 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12152 unclosed <[[, <?, comment, and other literals as extending to EOB.
12153 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12154 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12155 Remove functions.
12156 (rng-do-some-validation-1): Don't mark dependent regions.
12157 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12158 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12159 (nxml-clear-dependent-regions): Remove functions.
12160 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12161 (nxml-ensure-scan-up-to-date):
12162 Don't clear&mark dependent regions.
12163
12164 2013-05-15 Leo Liu <sdl.web@gmail.com>
12165
12166 * progmodes/octave.el (octave-goto-function-definition):
12167 Improve and fix callers.
12168
12169 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12170
12171 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12172 the setter (bug#14387).
12173
12174 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12175 surrounding group (bug#14402).
12176
12177 2013-05-14 Juri Linkov <juri@jurta.org>
12178
12179 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12180 (Bug#14390)
12181
12182 2013-05-14 Glenn Morris <rgm@gnu.org>
12183
12184 * progmodes/f90.el (f90-imenu-generic-expression):
12185 Fix typo in 2013-05-08 change. (Bug#14402)
12186
12187 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12188
12189 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12190 Remove signals for which replies are never received.
12191
12192 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12193
12194 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12195 (gdb-handler-alist, gdb-handler-number): Remove variables.
12196 (gdb-handler-list): New variable.
12197 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12198 (gdb-pending-handler-p, gdb-handle-reply)
12199 (gdb-remove-all-pending-triggers): New functions.
12200 (gdb-discard-unordered-replies): New defcustom.
12201 (gdb-handler): New defstruct.
12202 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12203 instead of gdb-pending-triggers. Update docstring.
12204 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12205 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12206 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12207 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12208 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12209 (gdb-frame-handler): Pending triggers are now automatically managed.
12210 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12211 Remove argument.
12212 (gdb-input): Automatically handles pending triggers. Update docstring.
12213 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12214 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12215 Update comments.
12216 (gdb-done-or-error): Now use gdb-handle-reply.
12217
12218 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12219
12220 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12221 gdb-debug-log.
12222
12223 2013-05-14 Glenn Morris <rgm@gnu.org>
12224
12225 * subr.el (user-emacs-directory-warning): New option.
12226 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12227
12228 2013-05-14 Leo Liu <sdl.web@gmail.com>
12229
12230 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12231 during redisplay.
12232 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12233 (octave-font-lock-texinfo-comment): Fix invalid search bound
12234 error: wrong side of point.
12235
12236 2013-05-14 Glenn Morris <rgm@gnu.org>
12237
12238 * progmodes/flymake.el (flymake-xml-program): New option.
12239 (flymake-xml-init): Use it.
12240
12241 * term/xterm.el: Provide a feature.
12242
12243 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12244
12245 2013-05-13 Glenn Morris <rgm@gnu.org>
12246
12247 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12248 Add compat aliases as a hack workaround. (Bug#14384)
12249
12250 2013-05-13 Leo Liu <sdl.web@gmail.com>
12251
12252 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12253 ###, and %!.
12254 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12255 C-M-q.
12256 (octave-comment-start-skip): Include %!.
12257 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12258
12259 2013-05-12 Leo Liu <sdl.web@gmail.com>
12260
12261 * progmodes/octave.el (inferior-octave-startup): Store the value
12262 of __octave_srcdir__ for octave-source-directories.
12263 (inferior-octave-check-process): New function refactored out of
12264 inferior-octave-send-list-and-digest.
12265 (octave-source-directories)
12266 (octave-find-definition-filename-function): New variables.
12267 (octave-source-directories)
12268 (octave-find-definition-default-filename): New functions.
12269 (octave-find-definition): Improve to find functions implemented in C++.
12270
12271 2013-05-12 Glenn Morris <rgm@gnu.org>
12272
12273 * calendar/diary-lib.el (diary-outlook-format-1):
12274 Don't include dayname in the output. (Bug#14349)
12275
12276 2013-05-11 Glenn Morris <rgm@gnu.org>
12277
12278 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12279
12280 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12281 Treat cc-provide like provide.
12282
12283 2013-05-11 Kevin Ryde <user42@zip.com.au>
12284
12285 * cus-dep.el (custom-make-dependencies):
12286 Use generated-autoload-load-name for the sake of files such
12287 such cedet/semantic/bovine/c.el, where the base file name
12288 is not in load-path. (Bug#5277)
12289
12290 2013-05-11 Glenn Morris <rgm@gnu.org>
12291
12292 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12293 Provide features.
12294
12295 2013-05-11 Leo Liu <sdl.web@gmail.com>
12296
12297 * progmodes/octave.el (octave-indent-comment): Improve.
12298 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12299 (octave-eldoc-function-signatures, octave-eldoc-function):
12300 New functions.
12301 (octave-mode, inferior-octave-mode): Add eldoc support.
12302
12303 2013-05-11 Richard Stallman <rms@gnu.org>
12304
12305 * epa.el (epa-decrypt-file): Take output file name as argument
12306 and read it using `interactive'.
12307
12308 2013-05-11 Leo Liu <sdl.web@gmail.com>
12309
12310 * progmodes/octave.el (octave-beginning-of-line)
12311 (octave-end-of-line): Check before using up-list because it jumps
12312 out of more syntactic contructs since moving to smie.
12313 (octave-indent-comment): New function.
12314 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12315 (octave-begin-keywords, octave-end-keywords)
12316 (octave-reserved-words, octave-smie-bnf-table)
12317 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12318
12319 2013-05-11 Glenn Morris <rgm@gnu.org>
12320
12321 * faces.el (internal-face-x-get-resource):
12322 * frame.el (ns-display-monitor-attributes-list):
12323 * calc/calc-aent.el (math-to-radians-2):
12324 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12325 Fix declarations.
12326
12327 * calc/calc-menu.el: Make it loadable in isolation.
12328
12329 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12330 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12331 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12332 (eudc-bbdb-query-internal): Require 'bbdb.
12333
12334 * lpr.el (lpr-headers-switches):
12335 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12336
12337 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12338
12339 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12340
12341 * term.el (term-set-escape-char): Make it idempotent.
12342
12343 2013-05-10 Leo Liu <sdl.web@gmail.com>
12344
12345 * progmodes/octave.el (inferior-octave-completion-table):
12346 No longer a function and all uses changed. Use cache to speed up
12347 completion due to bug#11906.
12348 (octave-beginning-of-defun): Re-write to be more general.
12349
12350 2013-05-10 Glenn Morris <rgm@gnu.org>
12351
12352 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12353
12354 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * comint.el (comint-redirect-send-command-to-process): Use :around
12357 rather than :override for comint-redirect-filter.
12358 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12359 Call it instead of comint-redirect-original-filter-function (which
12360 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12361
12362 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12363
12364 * frame.el (display-monitor-attributes-list): Add NS case.
12365 (ns-display-monitor-attributes-list): Declare.
12366
12367 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12368
12369 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12370
12371 2013-05-09 Glenn Morris <rgm@gnu.org>
12372
12373 * international/fontset.el (vertical-centering-font-regexp):
12374 Set standard-value.
12375
12376 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12377
12378 * bookmark.el (bookmark-search-delay):
12379 * cus-start.el (vertical-centering-font-regexp):
12380 * ps-mule.el (ps-mule-font-info-database-default):
12381 * ps-print.el (ps-default-fg, ps-default-bg):
12382 * type-break.el (type-break-good-break-interval):
12383 * whitespace.el (whitespace-indentation-regexp)
12384 (whitespace-space-after-tab-regexp):
12385 * emacs-lisp/testcover.el (testcover-1value-functions)
12386 (testcover-noreturn-functions, testcover-progn-functions)
12387 (testcover-prog1-functions):
12388 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12389 * eshell/em-glob.el (eshell-glob-translate-alist):
12390 * play/tetris.el (tetris-tty-colors):
12391 * progmodes/cpp.el (cpp-face-default-list):
12392 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12393 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12394 (idlwave-help-browser-generic-args):
12395 * progmodes/make-mode.el (makefile-special-targets-list):
12396 * progmodes/python.el (python-shell-virtualenv-path):
12397 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12398 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12399 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12400 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12401 * textmodes/reftex-vars.el (reftex-format-label-function):
12402 * textmodes/remember.el (remember-diary-file): Fix custom types.
12403
12404 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12405 Add :version.
12406
12407 2013-05-09 Leo Liu <sdl.web@gmail.com>
12408
12409 * progmodes/octave.el (inferior-octave-completion-at-point):
12410 Restore file completion. (Bug#14300)
12411 (inferior-octave-startup): Fix incorrect highlighting for the
12412 first prompt.
12413
12414 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 * progmodes/ruby-mode.el: First cut at SMIE support.
12417 (ruby-use-smie): New var.
12418 (ruby-smie-grammar): New constant.
12419 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12420 (ruby-smie--forward-token, ruby-smie--backward-token)
12421 (ruby-smie-rules): New functions.
12422 (ruby-mode-variables): Setup SMIE if applicable.
12423
12424 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12425
12426 * simple.el (line-move-visual): Signal beginning/end of buffer
12427 only if vertical-motion moved less than it was requested. Avoids
12428 silly incorrect error messages when there are display strings with
12429 multiple newlines at EOL.
12430
12431 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12432
12433 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12434 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12435 (prolog-char-quote-workaround):
12436 * progmodes/cperl-mode.el (cperl-under-as-char):
12437 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12438 Mark as obsolete.
12439 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12440 their declaration.
12441 (vhdl-mode-syntax-table-init): Remove.
12442
12443 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12444 last change.
12445
12446 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12447 syntax for "_".
12448 (ld-script-font-lock-keywords):
12449 Change regexps to use things like \_< and \_>.
12450
12451 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12452 Change all regexps to use things like \_< and \_>.
12453
12454 * progmodes/autoconf.el (autoconf-definition-regexp)
12455 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12456 Handle a _ with symbol syntax.
12457 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12458
12459 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12460 Consolidate declaration.
12461 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12462 the declaration.
12463 (ada-create-syntax-table): Remove.
12464 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12465 already has the right syntax nowadays.
12466 (ada-goto-next-word): Don't change the syntax of "_".
12467
12468 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12469 with-wrapper-hook.
12470
12471 2013-05-08 Sam Steingold <sds@gnu.org>
12472
12473 * thingatpt.el (thing-at-point): Accept optional second argument
12474 NO-PROPERTIES to strip the text properties from the return value.
12475 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12476 to `thing-at-point' instead of stripping the properties ourselves.
12477 Also, when `thing-at-point' fails to find a url, prepend "http://"
12478 to the filename at point on the assumption that the user is
12479 pointing at something like gnu.org/gnu.
12480
12481 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12482
12483 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12484 * faces.el (crm-separator):
12485 Silence byte-compiler.
12486
12487 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12488 (tool-bar-map): Remove unneeded defvars.
12489
12490 2013-05-08 Leo Liu <sdl.web@gmail.com>
12491
12492 Re-work a fix for bug#10994 based on Le Wang's patch.
12493 * ido.el (ido-remove-consecutive-dups): New helper.
12494 (ido-completing-read): Use it.
12495 (ido-chop): Revert fix for bug#10994.
12496
12497 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12498
12499 * cus-edit.el (custom-save-variables):
12500 Pretty-print long values. (Bug#14187)
12501
12502 2013-05-08 Glenn Morris <rgm@gnu.org>
12503
12504 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12505 (m4-mode-syntax-table): Init in the defvar.
12506 (m4-mode-abbrev-table): Let define-derived-mode define it.
12507
12508 2013-05-08 Tom Tromey <tromey@redhat.com>
12509
12510 * progmodes/m4-mode.el (m4-mode-syntax-table):
12511 Do not treat "_" as word constituent. (Bug#14167)
12512
12513 2013-05-07 Glenn Morris <rgm@gnu.org>
12514
12515 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12516 Remove explicit eshell-isearch-cancel-map.
12517
12518 * progmodes/f90.el (f90-smart-end-names): New option.
12519 (f90-smart-end): Doc fix.
12520 (f90-end-block-optional-name): New constant.
12521 (f90-block-match): Respect f90-smart-end-names.
12522
12523 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12524
12525 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12526 about implicit semi-colons (bug#14218).
12527
12528 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12529
12530 * frame.el (display-monitor-attributes-list)
12531 (frame-monitor-attributes): New functions.
12532
12533 2013-05-06 Leo Liu <sdl.web@gmail.com>
12534
12535 * progmodes/octave.el (octave-syntax-propertize-function): Change
12536 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12537 (octave-font-lock-keywords): Use octave-operator-regexp.
12538 (octave-completion-at-point): Rename from
12539 octave-completion-at-point-function.
12540 (inferior-octave-directory-tracker): Robustify.
12541 (octave-text-functions): Remove and fix its uses. No such things
12542 any more.
12543
12544 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12545
12546 * emacs-lisp/trace.el (trace--display-buffer): New function.
12547 (trace-make-advice): Use it.
12548
12549 2013-05-06 Juri Linkov <juri@jurta.org>
12550
12551 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12552 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12553 Doc fix.
12554 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12555 in the help string. (Bug#12985)
12556
12557 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12558
12559 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12560
12561 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12562
12563 * progmodes/perl-mode.el: Add support for here documents.
12564 (perl-syntax-propertize-function): Match here-doc markers.
12565 (perl-syntax-propertize-special-constructs): Find their end.
12566 (perl-imenu-generic-expression): Use [:alnum:].
12567
12568 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12569 (advice--add-function): Refresh the advice if already present
12570 (bug#14317).
12571
12572 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12573
12574 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12575
12576 2013-05-06 Glenn Morris <rgm@gnu.org>
12577
12578 * w32-fns.el (w32-charset-info-alist): Declare.
12579
12580 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12581 of its defcustom properties.
12582 (eshell-cmpl-initialize): No need to load pcomplete.
12583
12584 * generic-x.el: No need to require comint when compiling.
12585
12586 * net/eudc-export.el: Make it loadable without bbdb.
12587 (top-level): Use require rather than load-library.
12588 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12589 (eudc-batch-export-records-to-bbdb)
12590 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12591 Require bbdb.
12592
12593 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12594
12595 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12596 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12597 some tweaks, instead.
12598
12599 2013-05-05 Leo Liu <sdl.web@gmail.com>
12600
12601 * progmodes/octave.el (octave-font-lock-keywords)
12602 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12603 (inferior-octave-send-list-and-digest): Improve error message.
12604 (octave-mode, inferior-octave-mode): Use setq-local.
12605 (octave-help): Set info-lookup-mode.
12606
12607 2013-05-05 Richard Stallman <rms@gnu.org>
12608
12609 * vc/compare-w.el (compare-windows-whitespace):
12610 Treat no-break space as whitespace.
12611
12612 * mail/rmailsum.el (rmail-summary-rmail-update):
12613 Detect empty summary and don't change selected message.
12614 (rmail-summary-goto-msg): Likewise.
12615
12616 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12617 Doc fixes, rename args.
12618
12619 2013-05-05 Alan Mackenzie <acm@muc.de>
12620
12621 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12622
12623 2013-05-05 Juri Linkov <juri@jurta.org>
12624
12625 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12626 to not add the length of the summary segment to the return value.
12627 (Bug#14125)
12628
12629 2013-05-05 Leo Liu <sdl.web@gmail.com>
12630
12631 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12632 (inferior-octave-output-filter): Remove.
12633 (octave-send-region, inferior-octave-startup): Fix callers.
12634 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12635 (octave-binary-file-extensions): New user variable.
12636 (octave-find-definition): Confirm if opening binary files.
12637 (octave-help-file): Use octave-find-definition to get the binary
12638 confirmation.
12639 (octave-help): Adjust for octave-help-file change.
12640
12641 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12642
12643 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12644 Merge the two entries that handle function definitions.
12645 (pascal--syntax-propertize): New const.
12646 (pascal-mode): Use it. Use setq-local.
12647
12648 2013-05-04 Glenn Morris <rgm@gnu.org>
12649
12650 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12651 (diary-from-outlook): Respect diary-from-outlook-function.
12652
12653 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12654
12655 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12656 Move the declaration from C.
12657 (read-minibuffer, eval-minibuffer): Move from C.
12658 (completion-setup-function): Avoid minibuffer-completion-contents.
12659
12660 2013-05-03 Leo Liu <sdl.web@gmail.com>
12661
12662 * progmodes/octave.el (octave-font-lock-keywords): Do not
12663 dehighlight 'end' in comments or strings.
12664 (octave-completing-read, octave-goto-function-definition):
12665 New helpers.
12666 (octave-help-buffer): New user variable.
12667 (octave-help-file, octave-help-function): New button types.
12668 (octave-help): New command and bind it to C-h ;.
12669 (octave-find-definition): New command and bind it to M-.
12670 (user-error): Alias to error if not defined.
12671
12672 2013-05-02 Leo Liu <sdl.web@gmail.com>
12673
12674 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12675 for \. (bug#14332)
12676 (octave-font-lock-keywords): Include [ and {.
12677
12678 2013-05-02 Leo Liu <sdl.web@gmail.com>
12679
12680 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12681 (inferior-octave): Remove calling comint-mode and return the buffer.
12682 (inferior-octave-startup): Cosmetic changes.
12683
12684 2013-05-02 Leo Liu <sdl.web@gmail.com>
12685
12686 * progmodes/octave.el (octave-syntax-propertize-function):
12687 Include the case when ' is at line beginning. (Bug#14336)
12688
12689 2013-05-02 Glenn Morris <rgm@gnu.org>
12690
12691 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12692 * desktop.el (vc-dir-mode): Just autoload it here.
12693
12694 2013-05-02 Alan Mackenzie <acm@muc.de>
12695
12696 Eliminate variable c-standard-font-lock-fontify-region-function.
12697 * progmodes/cc-mode.el
12698 (c-standard-font-lock-fontify-region-function): Remove.
12699 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12700
12701 2013-05-01 Leo Liu <sdl.web@gmail.com>
12702
12703 * progmodes/octave.el: Compatible with older emacs-24 releases.
12704 (inferior-octave-has-built-in-variables): Remove. Built-in
12705 variables were removed from Octave in 2007.
12706 (inferior-octave-startup): Fix uses.
12707 (comint-line-beginning-position): Remove compatibility code for
12708 emacs 21.
12709
12710 2013-05-01 Juri Linkov <juri@jurta.org>
12711
12712 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12713
12714 2013-05-01 Juri Linkov <juri@jurta.org>
12715
12716 * comint.el (comint-previous-matching-input): Don't print message
12717 "History item: %d" when `isearch-mode' is active.
12718 (comint-history-isearch-message): Print message "History item: %d"
12719 when `comint-input-ring-index' is not empty and this function is
12720 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12721
12722 2013-05-01 Leo Liu <sdl.web@gmail.com>
12723
12724 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12725 definitions. Use completion-at-point to insert keywords.
12726 (octave-abbrev-start): Remove.
12727 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12728
12729 2013-04-30 Leo Liu <sdl.web@gmail.com>
12730
12731 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12732 change.
12733
12734 2013-04-30 Alan Mackenzie <acm@muc.de>
12735
12736 Handle arbitrarily long C++ member initialisation lists.
12737 * progmodes/cc-engine.el (c-back-over-member-initializers):
12738 new function.
12739 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12740 (most) member init lists.
12741
12742 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12743
12744 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12745 variable.
12746
12747 2013-04-30 Leo Liu <sdl.web@gmail.com>
12748
12749 * progmodes/octave.el (octave-variables): Remove. No builtin
12750 variables any more. All converted to functions.
12751 (octave-font-lock-keywords, octave-completion-at-point-function):
12752 Fix uses.
12753 (octave-font-lock-texinfo-comment): New user variable.
12754 (octave-texinfo-font-lock-keywords): New variable for texinfo
12755 comment block.
12756 (octave-function-comment-block): New face.
12757 (octave-font-lock-texinfo-comment): New function.
12758 (octave-mode): Font lock texinfo comment block.
12759
12760 2013-04-29 Leo Liu <sdl.web@gmail.com>
12761
12762 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12763 indexing expression.
12764 (octave-continuation-string): Do not use \.
12765 (inferior-octave-complete-impossible): Remove.
12766 (inferior-octave-completion-table)
12767 (inferior-octave-completion-at-point): Remove its uses.
12768 (inferior-octave-startup): completion_matches was introduced to
12769 Octave in 1996 so safe to assume it.
12770 (octave-function-file-comment): Improve to follow how Octave does it.
12771 (octave-update-function-file-comment): Tweak.
12772
12773 2013-04-29 Leo Liu <sdl.web@gmail.com>
12774
12775 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12776 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12777 (octave-function-file-comment): Fix typo.
12778 (octave-sync-function-file-names): Use read-char-choice.
12779
12780 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12781
12782 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12783 to t for the less important warnings.
12784
12785 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12786
12787 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12788
12789 2013-04-27 Glenn Morris <rgm@gnu.org>
12790
12791 * vc/log-view.el (log-view-current-entry):
12792 Treat "---" separator lines as part of the following rev. (Bug#14169)
12793
12794 2013-04-27 Juri Linkov <juri@jurta.org>
12795
12796 * subr.el (read-number): Doc fix about using it by interactive
12797 code letter `n'. (Bug#14254)
12798
12799 2013-04-27 Juri Linkov <juri@jurta.org>
12800
12801 * desktop.el (desktop-auto-save-timeout): New option.
12802 (desktop-file-checksum): New variable.
12803 (desktop-save): Add optional arg `auto-save' and don't auto-save
12804 if nothing changed.
12805 (desktop-auto-save-timer): New variable.
12806 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12807 (after-init-hook): Call `desktop-auto-save-set-timer'.
12808 Suggested by Reuben Thomas <rrt@sc3d.org> in
12809 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12810
12811 2013-04-27 Leo Liu <sdl.web@gmail.com>
12812
12813 * progmodes/octave.el (octave-function-file-p)
12814 (octave-skip-comment-forward, octave-function-file-comment)
12815 (octave-update-function-file-comment): New functions.
12816 (octave-mode-map): Bind C-c ; to
12817 octave-update-function-file-comment.
12818 (octave-mode-menu): Add octave-update-function-file-comment.
12819 (octave-mode, inferior-octave-mode): Fix doc-string.
12820 (octave-insert-defun): Conform to Octave's coding convention.
12821 (Bug#14285)
12822
12823 * files.el (basic-save-buffer): Don't let errors in
12824 before-save-hook prevent saving buffer.
12825
12826 2013-04-20 Roland Winkler <winkler@gnu.org>
12827
12828 * faces.el (read-face-name): Use completing-read if arg multiple
12829 is nil.
12830
12831 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12832
12833 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12834 displayed, move point to after the totals line.
12835 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12836 for the details.
12837
12838 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12839
12840 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12841 Add current dir to the load-path.
12842 (package-generate-autoloads): Don't rely on
12843 autoload-ensure-default-file.
12844
12845 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12846
12847 * textmodes/remember.el (remember-store-in-files): Document that
12848 the file name format is passed to `format-time-string'.
12849
12850 2013-04-26 Leo Liu <sdl.web@gmail.com>
12851
12852 * progmodes/octave.el (octave-sync-function-file-names): New function.
12853 (octave-mode): Use it in before-save-hook.
12854
12855 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12856
12857 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12858 (bug#14274).
12859
12860 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12861 \n and comment, even if it's not an implicit ; (bug#14218).
12862
12863 2013-04-26 Glenn Morris <rgm@gnu.org>
12864
12865 * subr.el (read-number): Once more use `read' rather than
12866 `string-to-number', to trap non-numeric input. (Bug#14254)
12867
12868 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12869
12870 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12871 Use `syntax-multiline' text property consistently instead of
12872 `font-lock-multiline'. (Bug#14237)
12873
12874 2013-04-26 Glenn Morris <rgm@gnu.org>
12875
12876 * emacs-lisp/shadow.el (list-load-path-shadows):
12877 No longer necessary to check for duplicate simple.el, since
12878 2012-07-07 change to init_lread to not include installation lisp
12879 directories in load-path when running uninstalled. (Bug#14270)
12880
12881 2013-04-26 Leo Liu <sdl.web@gmail.com>
12882
12883 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12884 (octave-mode, inferior-octave-mode): Use setq-local.
12885 (octave-not-in-string-or-comment-p): Rename to
12886 octave-in-string-or-comment-p.
12887 (octave-in-comment-p, octave-in-string-p)
12888 (octave-in-string-or-comment-p): Replace defsubst with defun.
12889
12890 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12891
12892 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12893
12894 2013-04-25 Bastien Guerry <bzg@gnu.org>
12895
12896 * textmodes/remember.el (remember-data-directory)
12897 (remember-directory-file-name-format): Fix custom types.
12898
12899 2013-04-25 Leo Liu <sdl.web@gmail.com>
12900
12901 * progmodes/octave.el (octave-completion-at-point-function):
12902 Make use of inferior octave process.
12903 (octave-initialize-completions): Remove.
12904 (inferior-octave-completion-table): New function.
12905 (inferior-octave-completion-at-point): Use it.
12906 (octave-completion-alist): Remove.
12907
12908 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12911 (opascal-mode-syntax-table): New var.
12912 (opascal-literal-kind, opascal-is-literal-end)
12913 (opascal-literal-token-at): Rewrite.
12914 (opascal--literal-start-re, opascal-font-lock-keywords)
12915 (opascal--syntax-propertize): New constants.
12916 (opascal-font-lock-defaults): Adjust.
12917 (opascal-mode): Use them. Set comment-<foo> variables as well.
12918 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12919 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12920 (delphi-other-face, opascal-other-face): Remove face variables.
12921 (opascal-save-state): Remove macro.
12922 (opascal-fontifying-progress-step): Remove constant.
12923 (opascal--ignore-changes): Remove var.
12924 (opascal-set-token-property, opascal-parse-next-literal)
12925 (opascal-is-stable-literal, opascal-complete-literal)
12926 (opascal-is-literal-start, opascal-face-of)
12927 (opascal-parse-region, opascal-parse-region-until-stable)
12928 (opascal-fontify-region, opascal-after-change)
12929 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12930 (opascal-debug-parse-region, opascal-debug-parse-window)
12931 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12932 (opascal-debug-fontify-buffer): Remove.
12933 (opascal-debug-mode-map): Adjust accordingly.
12934
12935 2013-04-25 Leo Liu <sdl.web@gmail.com>
12936
12937 Merge octave-mod.el and octave-inf.el into octave.el with some
12938 cleanups.
12939 * progmodes/octave.el: New file renamed from octave-mod.el.
12940 * progmodes/octave-inf.el: Merged into octave.el.
12941 * progmodes/octave-mod.el: Renamed to octave.el.
12942
12943 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12944
12945 * textmodes/reftex-vars.el
12946 (reftex-label-ignored-macros-and-environments): New defcustom.
12947
12948 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12949
12950 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12951
12952 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12953 (smie-indent-keyword): Improve the check to ensure that the next
12954 comment is really on the same line.
12955 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12956
12957 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12958 semi-colons if the line is not otherwise empty (bug#14218).
12959
12960 2013-04-25 Glenn Morris <rgm@gnu.org>
12961
12962 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12963
12964 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12965
12966 * progmodes/opascal.el (opascal-set-token-property): Rename from
12967 opascal-set-text-properties and only set `token' (bug#14134).
12968 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12969 (opascal-literal-text-properties): Remove.
12970 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12971 Adjust callers.
12972
12973 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12974
12975 * textmodes/remember.el (remember-handler-functions): Add an
12976 option for a new handler `remember-store-in-files'.
12977 (remember-data-directory, remember-directory-file-name-format):
12978 New options.
12979 (remember-store-in-files): New function to store remember notes
12980 as separate files within a directory.
12981
12982 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12983
12984 * progmodes/compile.el (compilation-next-error-function):
12985 Pass "formats" to compilation-find-file (bug#11777).
12986
12987 2013-04-24 Glenn Morris <rgm@gnu.org>
12988
12989 * vc/vc-bzr.el (vc-bzr-print-log):
12990 * vc/vc-hg.el (vc-hg-print-log):
12991 * vc/vc-svn.el (vc-svn-print-log):
12992 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12993
12994 * vc/vc-bzr.el (vc-bzr-print-log):
12995 * vc/vc-cvs.el (vc-cvs-print-log):
12996 * vc/vc-git.el (vc-git-print-log):
12997 * vc/vc-hg.el (vc-hg-print-log):
12998 * vc/vc-mtn.el (vc-mtn-print-log):
12999 * vc/vc-rcs.el (vc-rcs-print-log):
13000 * vc/vc-sccs.el (vc-sccs-print-log):
13001 * vc/vc-svn.el (vc-svn-print-log):
13002 * vc/vc.el (vc-print-log-internal): Doc fixes.
13003
13004 2013-04-23 Glenn Morris <rgm@gnu.org>
13005
13006 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13007 Remove venerable code attempting to avoid substitute-command-keys.
13008
13009 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13010
13011 * textmodes/reftex-vars.el (reftex-label-regexps):
13012 Call `reftex-compile-variables' after changes to this variable.
13013
13014 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13017 Use lexical-binding.
13018 (jit-lock-force-redisplay): Use markers, check buffer's continued
13019 existence and beware narrowed buffers.
13020 (jit-lock-fontify-now): Adjust call accordingly.
13021
13022 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13023
13024 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13025 to avoid misleading the user.
13026
13027 2013-04-22 Leo Liu <sdl.web@gmail.com>
13028
13029 * info-look.el: Prefer latex2e.info. (Bug#14240)
13030
13031 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13032
13033 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13034
13035 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13036 * net/tramp.el (tramp-call-process): ... here.
13037 (tramp-set-completion-function, tramp-parse-putty):
13038 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13039 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13040 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13041 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13042 (tramp-call-local-coding-command): Use `tramp-call-process'
13043 instead of `tramp-compat-call-process'.
13044
13045 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13046 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13047 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13048 (tramp-find-inline-compress): Improve traces.
13049 (tramp-maybe-send-script): Check for Perl binary.
13050 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13051
13052 2013-04-22 Daiki Ueno <ueno@gnu.org>
13053
13054 * epg.el (epg-context-pinentry-mode): New function.
13055 (epg-context-set-pinentry-mode): New function.
13056 (epg--start): Pass --pinentry-mode option to gpg command.
13057
13058 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13059
13060 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13061 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13062 `completion-at-point'. (Bug#13774)
13063
13064 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13065 default key binding for `describe-distribution' has been moved to
13066 `C-h C-o'. (Bug#13970)
13067
13068 2013-04-21 Glenn Morris <rgm@gnu.org>
13069
13070 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13071 Add doc strings.
13072 (vc-print-log): Clarify interactive prompt.
13073
13074 2013-04-20 Glenn Morris <rgm@gnu.org>
13075
13076 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13077 No longer include timestamp etc information.
13078
13079 2013-04-20 Roland Winkler <winkler@gnu.org>
13080
13081 * faces.el (read-face-name): Bug fix, return just one face if arg
13082 multiple is nil. (Bug#14209)
13083
13084 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13085
13086 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13087 (remove-function): Autoload.
13088
13089 * comint.el (comint-redirect-original-filter-function): Remove.
13090 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13091 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13092 (vc-cvs-annotate-command):
13093 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13094 * progmodes/prolog.el (prolog-consult-compile):
13095 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13096 Use add/remove-function instead.
13097 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13098 (gud-tooltip-process-output, gud-tooltip-tips):
13099 Use add/remove-function instead.
13100 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13101 (scheme-interaction-mode, exit-scheme-interaction-mode):
13102 Use add/remove-function instead.
13103
13104 * vc/vc-dispatcher.el: Use lexical-binding.
13105 (vc--process-sentinel): Rename from vc-process-sentinel.
13106 Change last arg to be the code to run. Don't use vc-previous-sentinel
13107 and vc-sentinel-commands any more.
13108 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13109 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13110
13111 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13112
13113 * progmodes/sh-script.el (sh-imenu-generic-expression):
13114 Handle function names with a single character. (Bug#14111)
13115
13116 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13117
13118 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13119 for subroutines defined in an eval (bug#14182).
13120
13121 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13122
13123 * bookmark.el (bookmark-completing-read): Improve handling of empty
13124 string (bug#14176).
13125
13126 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13127
13128 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13129
13130 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13131
13132 New faster Imenu implementation (bug#14058).
13133 * progmodes/python.el:
13134 (python-imenu-prev-index-position):
13135 (python-imenu-format-item-label-function)
13136 (python-imenu-format-parent-item-label-function)
13137 (python-imenu-format-parent-item-jump-label-function):
13138 New vars.
13139 (python-imenu-format-item-label)
13140 (python-imenu-format-parent-item-label)
13141 (python-imenu-format-parent-item-jump-label)
13142 (python-imenu--put-parent, python-imenu--build-tree)
13143 (python-imenu-create-index, python-imenu-create-flat-index)
13144 (python-util-popn): New functions.
13145 (python-mode): Set imenu-create-index-function to
13146 python-imenu-create-index.
13147
13148 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13149
13150 * winner.el (winner-active-region): Use region-active-p, activate-mark
13151 and deactivate-mark (bug#14225).
13152
13153 * simple.el (deactivate-mark): Don't inline it.
13154
13155 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13156
13157 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13158
13159 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13160
13161 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13162 file extensions from the archive-mode entry in order to prefer
13163 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13164
13165 2013-04-18 Leo Liu <sdl.web@gmail.com>
13166
13167 * bindings.el (help-event-list): Add ?\?.
13168
13169 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13170
13171 * subr.el (with-wrapper-hook): Declare obsolete.
13172 * simple.el (filter-buffer-substring-function): New hook.
13173 (filter-buffer-substring): Use it.
13174 (filter-buffer-substring-functions): Mark obsolete.
13175 * minibuffer.el (completion-in-region-function): New hook.
13176 (completion-in-region): Use it.
13177 (completion-in-region-functions): Mark obsolete.
13178 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13179 * abbrev.el (abbrev-expand-function): New hook.
13180 (expand-abbrev): Use it.
13181 (abbrev-expand-functions): Mark obsolete.
13182 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13183 and :filter-return.
13184
13185 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13186
13187 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13188 and do not care about match data.
13189
13190 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13191
13192 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13193 completion tables when completing error conditions and
13194 `declare' arguments.
13195 (lisp-complete-symbol, field-complete): Mark as obsolete.
13196 (check-parens): Unmatched parens are user errors.
13197 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13198
13199 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13200
13201 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13202 command changed buffer (ie. `flyspell-pre-buffer' is not current
13203 buffer), which prevents making decisions based on invalid value of
13204 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13205 cause an error when `flyspell-pre-point' was nil after switching
13206 buffers.
13207 (flyspell-post-command-hook): No longer needs to change buffers when
13208 checking pre-word. While at it remove unnecessary progn.
13209
13210 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13211
13212 * textmodes/ispell.el (ispell-add-per-file-word-list):
13213 Fix `flyspell-correct-word-before-point' error when accepting
13214 words and `coment-padding' is an integer by using
13215 `comment-normalize-vars' (Bug #14214).
13216
13217 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13218
13219 New defun movement commands.
13220 * progmodes/python.el (python-nav--syntactically)
13221 (python-nav--forward-defun, python-nav-backward-defun)
13222 (python-nav-forward-defun): New functions.
13223
13224 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13225
13226 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13227 (python-syntax-context): Use named compiler-macro for backwards
13228 compatibility with Emacs 24.x.
13229
13230 2013-04-17 Leo Liu <sdl.web@gmail.com>
13231
13232 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13233 octave-hide-process-buffer.
13234
13235 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13236
13237 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13238 (bug#14216).
13239
13240 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13241
13242 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13243 Fix adjustment of offset when receiving incomplete responses from GDB
13244 (bug#14129).
13245
13246 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13247
13248 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13249 python-mode-abbrev-table.
13250 (python-skeleton-define): Adjust accordingly.
13251 (python-mode-abbrev-table): New table that inherits from it so that
13252 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13253
13254 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13255 (abbrev-symbol): Use it.
13256 (abbrev--before-point): Use it since we already handle inheritance.
13257
13258 2013-04-16 Leo Liu <sdl.web@gmail.com>
13259
13260 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13261 binding to info-lookup-symbol.
13262
13263 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13264
13265 * minibuffer.el (completion--twq-all):
13266 * term/ns-win.el (ns-initialize-window-system):
13267 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13268
13269 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13272 global bindings.
13273
13274 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13275
13276 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13277
13278 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13279 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13280 to nil.
13281 (ruby-end-of-defun): Remove the unused arg, change the docstring
13282 to reflect that this function is only used as the value of
13283 `end-of-defun-function'.
13284 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13285 to reflect an earlier change that beginning/end-of-defun functions
13286 jump between methods in a class definition, as well as top-level
13287 functions.
13288
13289 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13290
13291 * minibuffer.el (minibuffer-complete): Don't just scroll
13292 a *Completions* that's been iconified.
13293 (minibuffer-force-complete): Make sure repetitions do cycle when going
13294 through completion-in-region -> minibuffer-complete.
13295
13296 2013-04-15 Alan Mackenzie <acm@muc.de>
13297
13298 Correct the placement of c-cpp-delimiters when there're #s not at
13299 col 0.
13300
13301 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13302 place a submatch around the #.
13303 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13304 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13305 on the #, not BOL.
13306
13307 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13308
13309 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13310 (advice--member-p): New arg `name'.
13311 (advice--add-function, advice-member-p): Use it (bug#14202).
13312
13313 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13314
13315 Reformulate java imenu-generic-expression.
13316 The old expression contained ill formed regexps.
13317
13318 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13319 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13320 (cc-imenu-java-method-arg-regexp): New defconsts.
13321 (cc-imenu-java-build-type-args-regex): New defun.
13322 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13323 handling of spaces in the regexp.
13324
13325 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13326
13327 * textmodes/ispell.el (ispell-command-loop): Remove
13328 flyspell highlight of a word when ispell accepts it (bug #14178).
13329
13330 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13331
13332 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13333 uses code from the previous `ange-ftp-run-real-handler'.
13334 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13335 only in case that function exist. This is needed for proper
13336 unloading of Tramp.
13337
13338 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13339
13340 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13341
13342 * textmodes/reftex.el (reftex-compile-variables): Use it.
13343
13344 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13345
13346 * files.el (normal-mode): Only use default major-mode if no other mode
13347 was specified.
13348
13349 * emacs-lisp/trace.el (trace-values): New function.
13350
13351 * files.el: Allow : in local variables (bug#14089).
13352 (hack-local-variable-regexp): New var.
13353 (hack-local-variables-prop-line, hack-local-variables): Use it.
13354
13355 2013-04-13 Roland Winkler <winkler@gnu.org>
13356
13357 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13358 data before it gets modified by bibtex-beginning-of-entry.
13359
13360 2013-04-13 Roland Winkler <winkler@gnu.org>
13361
13362 * textmodes/bibtex.el (bibtex-url): Doc fix.
13363
13364 2013-04-13 Roland Winkler <winkler@gnu.org>
13365
13366 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13367 does not visit a BibTeX file, exclude it from the list of buffers
13368 returned by bibtex-initialize.
13369
13370 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13371
13372 * window.el (split-window): Remove interactive form, since as a
13373 command this function is a special case of split-window-below.
13374 Correct doc string.
13375
13376 2013-04-12 Roland Winkler <winkler@gnu.org>
13377
13378 * faces.el (read-face-name): Do not override value of arg default.
13379 Allow single faces and strings as default values. Remove those
13380 elements from return value that are not faces.
13381 (describe-face): Simplify.
13382 (face-at-point): New optional args thing and multiple so that this
13383 function can provide the same functionality previously provided by
13384 read-face-name.
13385 (make-face-bold, make-face-unbold, make-face-italic)
13386 (make-face-unitalic, make-face-bold-italic, invert-face)
13387 (modify-face, read-face-and-attribute): Use face-at-point.
13388
13389 * cus-edit.el (customize-face, customize-face-other-window)
13390 * cus-theme.el (custom-theme-add-face)
13391 * face-remap.el (buffer-face-set)
13392 * facemenu.el (facemenu-set-face): Use face-at-point.
13393
13394 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13395
13396 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13397
13398 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13399
13400 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13401 off leading { and trailing } from field values.
13402
13403 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13404
13405 * emacs-lisp/timer.el (timer--check): New function.
13406 (timer--time, timer-set-function, timer-event-handler): Use it.
13407 (timer-set-idle-time): Simplify.
13408 (timer--activate): CSE.
13409 (timer-event-handler): Give more info in error message.
13410 (internal-timer-start-idle): New function, moved from C.
13411
13412 * mpc.el (mpc-proc): Add `restart' argument.
13413 (mpc-proc-cmd): Use it.
13414 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13415 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13416 less often.
13417
13418 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13419
13420 * progmodes/sh-script.el: Implement `sh-mode' own
13421 `add-log-current-defun-function' (bug#14112).
13422 (sh-current-defun-name): New function.
13423 (sh-mode): Use the function.
13424
13425 2013-04-09 Bastien Guerry <bzg@gnu.org>
13426
13427 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13428
13429 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13430
13431 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13432
13433 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13434 timer (bug#14156).
13435
13436 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13437
13438 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13439 declaration.
13440
13441 2013-04-07 Leo Liu <sdl.web@gmail.com>
13442
13443 * pcmpl-x.el: New file.
13444
13445 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13446
13447 Do not set x-display-name until X connection is established.
13448 This is needed to prevent from weird situation described at
13449 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13450 * frame.el (make-frame): Set x-display-name after call to
13451 window system initialization function, not before.
13452 * term/x-win.el (x-initialize-window-system): Add optional
13453 display argument and use it.
13454 * term/w32-win.el (w32-initialize-window-system):
13455 * term/ns-win.el (ns-initialize-window-system):
13456 * term/pc-win.el (msdos-initialize-window-system):
13457 Add compatible optional display argument.
13458
13459 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13460
13461 * files.el (normal-backup-enable-predicate): On MS-Windows and
13462 MS-DOS compare truenames of temporary-file-directory and of the
13463 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13464 don't fail comparison by compare-strings. Also, compare file
13465 names case-insensitively on MS-Windows and MS-DOS.
13466
13467 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13468
13469 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13470 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13471
13472 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13473
13474 * whitespace.el (whitespace-color-on, whitespace-color-off):
13475 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13476
13477 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13478
13479 * ispell.el (ispell-set-spellchecker-params):
13480 Really set `ispell-args' for all equivs.
13481
13482 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13483
13484 * ido.el (ido-completions): Use extra elements of ido-decorations
13485 (bug#14143).
13486 (ido-decorations): Update docstring.
13487
13488 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13489
13490 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13491 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13492 nil during initialization, in order not to miss changes since the
13493 file was opened. (Bug#14140)
13494
13495 2013-04-05 Leo Liu <sdl.web@gmail.com>
13496
13497 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13498
13499 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13500
13501 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13502
13503 2013-04-04 Glenn Morris <rgm@gnu.org>
13504
13505 * electric.el (electric-pair-inhibit-predicate): Add :version.
13506
13507 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13508
13509 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13510 when a package is required several times (bug#14082).
13511
13512 2013-04-04 Roland Winkler <winkler@gnu.org>
13513
13514 * faces.el (read-face-name): Behave as promised by the docstring.
13515 Assume that arg default is a list of faces.
13516 (describe-face): Call read-face-name with list of default faces.
13517
13518 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13519
13520 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13521 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13522 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13523 the header.
13524 (bookmark-exit-hook-internal): Save even if list is empty.
13525
13526 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13527
13528 * emacs-lisp/package.el (package-pinned-packages): New var.
13529 (package--add-to-archive-contents): Obey it (bug#14118).
13530
13531 2013-04-03 Alan Mackenzie <acm@muc.de>
13532
13533 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13534 Also adapt to the new values of element 7 of a parse state.
13535
13536 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13537 parameter `not-in-delimiter'. Handle being inside comment opener.
13538 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13539 character in case we're typing a '*' after a '/'.
13540 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13541 instead by passing the parameter to c-state-pp-to-literal.
13542
13543 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13544 for elt. 7 of a parse state.
13545
13546 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13547
13548 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13549 * international/latin1-disp.el, international/mule-util.el:
13550 * language/cyril-util.el, language/european.el, language/ind-util.el:
13551 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13552 * language/tibetan.el, language/viet-util.el:
13553 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13554
13555 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13556
13557 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13558 (electric-pair-post-self-insert-function): Use it.
13559 (electric-pair-default-inhibit): New function, extracted from
13560 electric-pair-post-self-insert-function.
13561
13562 2013-03-31 Roland Winkler <winkler@gnu.org>
13563
13564 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13565
13566 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13567
13568 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13569
13570 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13571
13572 Un-indent after "pass" and "return" statements (Bug#13888)
13573 * progmodes/python.el (python-indent-block-enders): New var.
13574 (python-indent-calculate-indentation): Use it.
13575
13576 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13577
13578 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13579 defun. Defining it as defalias could introduce too eager
13580 byte-compiler optimization. (Bug#14030)
13581
13582 2013-03-30 Chong Yidong <cyd@gnu.org>
13583
13584 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13585
13586 2013-03-30 Leo Liu <sdl.web@gmail.com>
13587
13588 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13589 (kmacro-execute-from-register): Pass the keyboard macro to
13590 kmacro-call-macro or repeating won't work correctly.
13591
13592 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13593
13594 * progmodes/subword.el: Back to using `forward-symbol'.
13595
13596 * subr.el (forward-whitespace, forward-symbol)
13597 (forward-same-syntax): Move from thingatpt.el.
13598
13599 2013-03-29 Leo Liu <sdl.web@gmail.com>
13600
13601 * kmacro.el (kmacro-to-register): New command.
13602 (kmacro-execute-from-register): New function.
13603 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13604
13605 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13606
13607 * mpc.el: Use defvar-local and setq-local.
13608 (mpc--proc-connect): Connection failures are not bugs.
13609 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13610 (mpc-volume-map): Bind to the up-events.
13611
13612 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13613
13614 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13615 instead of `forward-symbol'.
13616
13617 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13620 (edebug--recursive-edit): Use it.
13621 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13622 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13623
13624 2013-03-28 Leo Liu <sdl.web@gmail.com>
13625
13626 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13627
13628 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13629
13630 * facemenu.el (list-colors-callback): New defvar.
13631 (list-colors-redisplay): New function.
13632 (list-colors-display): Install list-colors-redisplay as the
13633 revert-buffer-function. (Bug#14063)
13634
13635 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13636
13637 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13638 and suffixes don't overlap (bug#14061).
13639
13640 * case-table.el: Use lexical-binding.
13641 (case-table-get-table): New function.
13642 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13643
13644 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13645
13646 * progmodes/subword.el: Add `superword-mode' to do word motion
13647 over symbol_words (parallels and leverages `subword-mode' which
13648 does word motion inside MixedCaseWords).
13649
13650 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13651
13652 * eshell/em-unix.el: Move su and sudo to...
13653 * eshell/em-tramp.el: ...Eshell tramp module.
13654
13655 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13656
13657 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13658 Change return value to be a sexp. Delay `get-buffer' to after
13659 restoring the desktop (bug#13951).
13660
13661 2013-03-26 Leo Liu <sdl.web@gmail.com>
13662
13663 * register.el: Move semantic tag handling back to
13664 cedet/semantic/senator.el. (Bug#14052)
13665
13666 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13667
13668 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13669 into the prompt either (bug#13963).
13670
13671 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13672
13673 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13674 part of "(error-foo)".
13675
13676 2013-03-24 Juri Linkov <juri@jurta.org>
13677
13678 * replace.el (list-matching-lines-prefix-face): New defcustom.
13679 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13680 `occur-engine' if `face-differs-from-default-p' returns t.
13681 (occur-engine): Add `,' inside backquote construct to evaluate
13682 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13683 Pass `prefix-face' to the functions `occur-context-lines' and
13684 `occur-engine-add-prefix'.
13685 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13686 `prefix-face' and propertize the prefix with `prefix-face'.
13687 (Bug#14017)
13688
13689 2013-03-24 Leo Liu <sdl.web@gmail.com>
13690
13691 * nxml/rng-valid.el (rng-validate-while-idle)
13692 (rng-validate-quick-while-idle): Guard against deleted buffer.
13693 (Bug#13999)
13694
13695 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13696 is the last entry in kill-buffer-hook.
13697
13698 * files.el (kill-buffer-hook): Doc fix.
13699
13700 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13701
13702 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13703 Make it safe-local.
13704
13705 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13706
13707 2013-03-23 Leo Liu <sdl.web@gmail.com>
13708
13709 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13710 Remove.
13711
13712 * nxml/rng-valid.el (rng-validate-mode)
13713 (rng-after-change-function, rng-do-some-validation):
13714 * nxml/rng-maint.el (rng-validate-buffer):
13715 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13716 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13717 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13718 (nxml-extend-after-change-region): Use with-silent-modifications.
13719
13720 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13721 timer-idle-list.
13722
13723 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13724 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13725 timer-idle-list. (Bug#13999)
13726
13727 2013-03-23 Juri Linkov <juri@jurta.org>
13728
13729 * info.el (info-index-match): New face.
13730 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13731 main pattern and add text properties with the new face to matches
13732 in index entries relative to the beginning of the index entry.
13733 (Bug#14015)
13734
13735 2013-03-21 Eric Ludlam <zappo@gnu.org>
13736
13737 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13738 Inhibit read only while inserting objects.
13739
13740 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13741
13742 * progmodes/cfengine.el: Update docs to mention
13743 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13744 symbol motion. Remove "_" from the word syntax.
13745
13746 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13747
13748 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13749 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13750
13751 2013-03-20 Juri Linkov <juri@jurta.org>
13752
13753 * info.el (Info-next-reference-or-link)
13754 (Info-prev-reference-or-link): New functions.
13755 (Info-next-reference, Info-prev-reference): Use them.
13756 (Info-try-follow-nearest-node): Handle footnote navigation.
13757 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13758
13759 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13760
13761 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13762 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13763
13764 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13765
13766 Suppress unnecessary non-ASCII chatter during build process.
13767 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13768 (batch-skkdic-convert): Suppress most of the chatter.
13769 It's not needed so much now that machines are faster,
13770 and its non-ASCII component was confusing; see Dmitry Gutov in
13771 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13772
13773 2013-03-20 Leo Liu <sdl.web@gmail.com>
13774
13775 * ido.el (ido-chop): Fix bug#10994.
13776
13777 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13778
13779 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13780 Remove vars.
13781 (whitespace-color-on, whitespace-color-off):
13782 Use `font-lock-fontify-buffer' (Bug#13817).
13783
13784 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13785
13786 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13787 remapping in mode-line.
13788 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13789
13790 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13791
13792 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13793 value for `whitespace-line' face (Bug#13875).
13794 (whitespace-font-lock-keywords): Change description.
13795 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13796 the constructed keywords instead.
13797 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13798
13799 2013-03-19 Leo Liu <sdl.web@gmail.com>
13800
13801 * progmodes/compile.el (compilation-display-error): New command.
13802 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13803 C-o. (Bug#13992)
13804
13805 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13806
13807 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13808
13809 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13810
13811 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13812
13813 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13814
13815 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13816
13817 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13818 * net/tramp-gvfs.el (top):
13819 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13820 (tramp-handle-shell-command): Use it.
13821 (tramp-dissect-file-name): Raise an error when hostname is a
13822 method name, and neither method nor user is specified.
13823
13824 * net/trampver.el: Update release number.
13825
13826 2013-03-18 Leo Liu <sdl.web@gmail.com>
13827
13828 Make sure eldoc can be turned off properly.
13829 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13830 eldoc-mode.
13831 (eldoc-display-message-p): Revert last change.
13832 (eldoc-display-message-no-interference-p)
13833 (eldoc-print-current-symbol-info): Tweak.
13834
13835 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13836
13837 * doc-view.el (doc-view-new-window-function): Check the new window
13838 overlay's display property instead the char property of the
13839 buffer's first char. Use `with-selected-window' instead of
13840 `save-window-excursion' with `select-window'.
13841 (doc-view-document->bitmap): Check the current doc-view overlay's
13842 display property instead the char property of the buffer's first char.
13843
13844 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13845
13846 Automate the build of ja-dic.el (Bug#13984).
13847 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13848 from the input, rather than assume that it's been done for us by the
13849 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13850 the current date into a ja-dic.el comment, as that complicates
13851 regression testing.
13852
13853 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13854
13855 * whitespace.el: Fix double evaluation.
13856 (whitespace-space, whitespace-hspace, whitespace-tab)
13857 (whitespace-newline, whitespace-trailing, whitespace-line)
13858 (whitespace-space-before-tab, whitespace-indentation)
13859 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13860 obsolete defvars.
13861 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13862 (whitespace-color-on): Use a single font-lock-add-keywords call.
13863 Fix double-evaluation of face variables.
13864
13865 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13866
13867 * net/tramp-adb.el (tramp-adb-parse-device-names):
13868 Use `start-process' instead of `call-process'. Otherwise, the
13869 function might be blocked under MS Windows. (Bug#13299)
13870
13871 2013-03-17 Leo Liu <sdl.web@gmail.com>
13872
13873 Extend eldoc to display info in the mode-line. (Bug#13978)
13874 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13875 (eldoc-mode-line-string): New variable.
13876 (eldoc-minibuffer-message): New function.
13877 (eldoc-message-function): New variable.
13878 (eldoc-message): Use it.
13879 (eldoc-display-message-p)
13880 (eldoc-display-message-no-interference-p):
13881 Support eldoc-post-insert-mode.
13882
13883 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13884 (eval-expression): Run it.
13885
13886 2013-03-17 Roland Winkler <winkler@gnu.org>
13887
13888 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13889 strings in the list of return values.
13890
13891 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13892
13893 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13894 radix before checking for HMS forms.
13895
13896 2013-03-16 Leo Liu <sdl.web@gmail.com>
13897
13898 * progmodes/scheme.el: Add indentation and font-locking for λ.
13899 (Bug#13975)
13900
13901 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13902
13903 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13904 token before point (bug#13942).
13905
13906 2013-03-16 Leo Liu <sdl.web@gmail.com>
13907
13908 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13909
13910 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13911
13912 * startup.el (command-line-normalize-file-name): Fix handling of
13913 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13914 <xfq.free@gmail.com> in
13915 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13916
13917 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13918
13919 Sync with Tramp 2.2.7.
13920
13921 * net/trampver.el: Update release number.
13922
13923 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13924
13925 * doc-view.el: Fix bug#13887.
13926 (doc-view-insert-image): Don't modify overlay associated to
13927 non-live windows, and implement horizontal centering of image in
13928 case it's smaller than the window.
13929 (doc-view-new-window-function): Force redisplay of new windows on
13930 doc-view buffers.
13931
13932 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13933
13934 * saveplace.el (save-place-alist-to-file): Don't sort
13935 `save-place-alist', just pretty-print it (bug#13882).
13936
13937 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13938
13939 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13940 Check whether `default-file-name-coding-system' is bound.
13941 It isn't in XEmacs.
13942
13943 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13944
13945 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13946 backquotes for `obsolete' (bug#13929).
13947
13948 * international/mule.el (find-auto-coding): Include file name in
13949 obsolescence warning (bug#13922).
13950
13951 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13952
13953 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13954 for CFEngine 3-specific indentation.
13955 (cfengine3-indent-line): Use it. Fix up category regex.
13956 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13957
13958 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13959
13960 * type-break.el (type-break-file-name):
13961 * textmodes/remember.el (remember-data-file):
13962 * strokes.el (strokes-file):
13963 * shadowfile.el (shadow-initialize):
13964 * saveplace.el (save-place-file):
13965 * ps-bdf.el (bdf-cache-file):
13966 * progmodes/idlwave.el (idlwave-config-directory):
13967 * net/quickurl.el (quickurl-url-file):
13968 * international/kkc.el (kkc-init-file-name):
13969 * ido.el (ido-save-directory-list-file):
13970 * emulation/viper.el (viper-custom-file-name):
13971 * emulation/vip.el (vip-startup-file):
13972 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13973 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13974
13975 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13976
13977 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13978 * language/thai-word.el: Switch to UTF-8.
13979
13980 See ChangeLog.16 for earlier changes.
13981
13982 ;; Local Variables:
13983 ;; coding: utf-8
13984 ;; End:
13985
13986 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13987
13988 This file is part of GNU Emacs.
13989
13990 GNU Emacs is free software: you can redistribute it and/or modify
13991 it under the terms of the GNU General Public License as published by
13992 the Free Software Foundation, either version 3 of the License, or
13993 (at your option) any later version.
13994
13995 GNU Emacs is distributed in the hope that it will be useful,
13996 but WITHOUT ANY WARRANTY; without even the implied warranty of
13997 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13998 GNU General Public License for more details.
13999
14000 You should have received a copy of the GNU General Public License
14001 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.