]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-24; up to 2014-06-01T23:37:59Z!eggert@cs.ucla.edu
[gnu-emacs] / lisp / ChangeLog
1 2014-06-08 Juri Linkov <juri@jurta.org>
2
3 * desktop.el: Activate auto-saving on window configuration changes.
4 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
5 `desktop-auto-save-set-timer' to/from
6 `window-configuration-change-hook'.
7 (desktop-auto-save-set-timer): Change REPEAT arg of
8 `run-with-idle-timer' from t to nil.
9 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
10
11 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
12
13 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
14 vc-hg-command (bug#17570).
15
16 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * international/mule-cmds.el (ucs-names): Add special entry for BEL
19 (bug#17702).
20
21 2014-06-08 Glenn Morris <rgm@gnu.org>
22
23 * startup.el (window-setup-hook): Doc fix.
24
25 * emacs-lisp/package.el (package-check-signature)
26 (package-unsigned-archives): Doc fixes.
27
28 2014-06-08 Martin Rudalics <rudalics@gmx.at>
29
30 * window.el (display-buffer-use-some-window): Don't make window
31 used smaller than it was before (Bug#17671).
32
33 2014-06-08 Eli Zaretskii <eliz@gnu.org>
34
35 * menu-bar.el (menu-bar-open): Fix last change: use the PC
36 'redisplay' instead of '(sit-for 0)'.
37
38 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
39
40 * net/tramp.el (tramp-ssh-controlmaster-options):
41 Improve search regexp. (Bug#17653)
42
43 2014-06-08 Glenn Morris <rgm@gnu.org>
44
45 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
46
47 2014-06-08 Eli Zaretskii <eliz@gnu.org>
48
49 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
50
51 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
52
53 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
54 (bug#17586).
55
56 * vc/vc-hg.el (vc-hg-log-graph): New var.
57 (vc-hg-print-log): Use it.
58 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
59 graph output (bug#17515).
60
61 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * mouse.el (mouse-posn-property): Ignore buffer position info when the
64 even happened elsewhere.
65
66 2014-06-06 Mario Lang <mlang@delysid.org>
67
68 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
69 `recenter' if `current-buffer' is equal to `window-buffer'.
70
71 2014-06-05 Leo Liu <sdl.web@gmail.com>
72
73 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
74
75 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
76
77 * textmodes/tildify.el (tildify-foreach-region-outside-env):
78 New function which calls a callback on portions of the buffer that are
79 outside of ignored environments.
80 (tildify-build-regexp): Remove function since it is now
81 incorporated in `tildify-foreach-region-outside-env' where it is
82 optimised and simplified by the use of `mapconcat'.
83 (tildify-tildify): Return number of substitutions made so that…
84 (tildify-count): …can be removed.
85 (tildify-find-env): Accept a new PAIRS argument which was
86 previously looked up in `tildify-ignored-environments-alist' each
87 time the function was called. With this change, the lookup is
88 performed only once in `tildify-foreach-region-outside-env'.
89 (tildify-region): Greatly simplify the function since now most of
90 the work is done by `tildify-foreach-region-outside-env'.
91 (tildify-mode-alist): Simplify slightly by avoiding if and setq
92 and instead using or.
93
94 * textmodes/tildify.el (tildify-ignored-environments-alist):
95 Optimise environments regexes
96
97 Each time beginning of an environment to ignore is found,
98 `tildify-find-env' needs to identify regexp for the ending
99 of the environment. This is done by trying all the opening
100 regexes on matched text in a loop, so to speed that up, this
101 loop should have fewer things to match, which can be done by
102 using alternatives in the opening regexes.
103
104 Coincidentally, this should make matching of the opening
105 regexp faster as well thanks to the use of `regexp-opt' and
106 having common prefix pulled from many regexes.
107
108 * textmodes/tildify.el (tildify-string-alist)
109 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
110 of supported modes since `xml-mode' is no longer a thing but just
111 an alias to the former. Also include comments and insides of tags
112 in `tildify-ignored-environments-alist' for XML modes. Finally,
113 since XML does not define “&nbsp;”[1], use a numeric reference for
114 a no-break space (namely “&#160;”)
115
116 [1] XML specification defines only a handful of predefined entities.
117 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
118 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
119 >, &, ' and " respectively). This is in contrast to HTML and even
120 XHTML which defined a whole bunch of entities including “&nbsp;”.
121
122 * textmodes/tildify.el (tildify-pattern-alist)
123 (tildify-string-alist, tildify-ignored-environments-alist):
124 Improve defcustom's types by adding more tags explaining what each
125 value means and replace “sexp” used in
126 `tildify-ignored-environments-alist' with a full type declaration.
127
128 * textmodes/tildify.el (tildify-find-env): Fix matched group
129 indexes in end-regex building
130
131 When looking for a start of an ignore-environment, the regex is built
132 by concatenating regexes of all the environments configured in
133 `tildify-ignored-environments-alist'. So for example, the following
134 list could be used to match TeX's \verb and \verb* commands:
135
136 (("\\\\verb\\(.\\)" . (1))
137 ("\\\\verb\\*\\(.\\)" . (1)))
138
139 This would result in the following regex being used to find the start
140 of any of the variants of the \verb command:
141
142 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
143
144 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
145 won't match anything, and thus (match-string 1) will be nil, which
146 will cause building of the end-matching regex to fail.
147
148 Fix this by using capture groups from the time when the opening
149 regexes are matched individually.
150
151 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
152 in `tildify-find-env'
153
154 The `tildify-ignored-environments-alist' allows the end-regex to
155 be provided not as a static string but mix of strings and indexes
156 of groups matched the begin-regex. For example, the “\verb!…!”
157 TeX-command (where “!” is an arbitrary character) is handled
158 using:
159
160 ("\\\\verb\\*?\\(.\\)" . (1))
161
162 In the same way, the following should be supported as well:
163
164 ("open-\\(.\\)" . ("end-" 1))
165
166 However the tildify-find-env function fails at
167
168 (concat result
169 (if (stringp (setq aux (car expression)))
170 expression ; BUG: expression is a list
171 (regexp-quote (match-string aux))))
172
173 where the string part is handled incorrectly.
174
175 The most trivial fix would be to replace `expression' in the
176 true-part of the if-statement with `aux', but instead, this commit
177 optimises `tildify-find-env' by changing it to use `mapconcat'
178 rather than open-coded while-loop.
179
180 2014-06-05 Mario Lang <mlang@delysid.org>
181
182 * woman.el (woman-mapcan): Remove.
183 (woman-parse-colon-path): Use cl-mapcan instead.
184
185 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
186
187 * register.el: Add link to Emacs manual in Commentary.
188
189 2014-06-02 Sam Steingold <sds@gnu.org>
190
191 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
192 (popup-menu): ...here.
193 (menu-bar-open): Use it to avoid an error when `lookup-key'
194 returns a number.
195
196 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
197
198 * net/tramp.el (tramp-call-process): Add traces.
199 (tramp-handle-unhandled-file-name-directory): Return "/".
200
201 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
202
203 Sync with upstream verilog-mode revision 3cd8144.
204 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
205 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
206 (verilog-type-font-keywords): Add nor.
207 (verilog-batch-execute-func): Force reading of Local Variables.
208 Fix printing "no changes to be saved" with verilog-batch.
209 (verilog-auto-arg-ports): Doc fix.
210 Add verilog-auto-arg-format to support newlines in AUTOARG.
211 (verilog-auto-arg): Doc fix.
212
213 2014-06-02 Glenn Morris <rgm@gnu.org>
214
215 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
216 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
217 * emulation/ws-mode.el: Move to obsolete/.
218 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
219
220 2014-06-02 Eli Zaretskii <eliz@gnu.org>
221
222 * simple.el (keyboard-quit): Force update of mode lines, to remove
223 the "Def" indicator, if we were defining a macro. (Bug#17615)
224
225 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * minibuffer.el (minibuffer-force-complete-and-exit):
228 Obey minibuffer-default (bug#17545).
229
230 * progmodes/js.el (js-indent-line): Don't mix columns and chars
231 (bug#17619).
232
233 * subr.el (set-transient-map): Don't wait for some "nested"
234 transient-map to finish if we're only supposed to be active for
235 the next command (bug#17642).
236
237 2014-06-02 Leo Liu <sdl.web@gmail.com>
238
239 * emacs-lisp/gv.el (window-buffer, window-display-table)
240 (window-dedicated-p, window-hscroll, window-point, window-start):
241 Fix gv-expander. (Bug#17630)
242
243 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
246 clicks (bug#17633).
247
248 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
249 for the single comma, since ", " is *very* common in normal French text
250 (bug#17643).
251
252 2014-06-02 Glenn Morris <rgm@gnu.org>
253
254 * emacs-lisp/package.el (package-check-signature)
255 (package-unsigned-archives): Fix :version.
256
257 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * subr.el (sit-for): Don't run input-methods (bug#15614).
260
261 2014-06-02 Glenn Morris <rgm@gnu.org>
262
263 * cus-start.el: Fix some :version numbers.
264
265 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * simple.el (deactivate-mark): Set mark-active to nil even if
268 deactivation is done via setting transient-mark-mode to nil,
269 since one is buffer-local and the other is global.
270
271 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
272 there can't be more than 2 arguments (bug#17584).
273
274 2014-06-02 Glenn Morris <rgm@gnu.org>
275
276 * simple.el (filter-buffer-substring-functions)
277 (filter-buffer-substring-function, buffer-substring-filters)
278 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
279
280 * minibuffer.el (completion-in-region-functions, completion-in-region)
281 (completion--in-region): Doc fixes.
282
283 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
284 (expand-abbrev, abbrev--default-expand): Doc fixes.
285
286 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
287
288 Include sources used to create macuvs.h.
289 * international/README: Refer to the Unicode Terms of Use rather
290 than copying it bodily here, as that simplifies maintenance.
291
292 2014-06-01 Glenn Morris <rgm@gnu.org>
293
294 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
295
296 2014-05-31 Glenn Morris <rgm@gnu.org>
297
298 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
299
300 2014-05-30 Glenn Morris <rgm@gnu.org>
301
302 * loadup.el: Treat `command-line-args' more flexibly.
303
304 2014-05-30 Alan Mackenzie <acm@muc.de>
305
306 Guard (looking-at "\\s!") from XEmacs.
307 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
308
309 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
310
311 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
312 The argument COUNT is now optional, to be more backward-compatible.
313 Doc fix. (Bug#17560)
314
315 2014-05-29 Reuben Thomas <rrt@sc3d.org>
316
317 * whitespace.el (whitespace-report-region):
318 Simplify documentation.
319 (whitespace-report-region): Allow report-if-bogus to take the
320 value `never', for non-interactive use.
321 (whitespace-report): Refer to whitespace-report-region's
322 documentation.
323
324 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * whitespace.el: Use font-lock-flush. Minimize refontifications.
327 Side benefit: it works without jit-lock.
328 (whitespace-point--used): New buffer-local var.
329 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
330 (whitespace-color-off): Use font-lock-flush.
331 (whitespace-point--used, whitespace-point--flush-used): New functions.
332 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
333 (whitespace-empty-at-eob-regexp): Use them.
334 (whitespace-post-command-hook): Rewrite.
335
336 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
337 (font-lock-fontify-buffer): Mark interactive-only.
338 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
339 Make buffer-local.
340 (font-lock-specified-p): Remove redundant boundp check.
341 (font-lock-flush-function, font-lock-ensure-function): New vars.
342 (font-lock-turn-on-thing-lock): Set them.
343 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
344 (font-lock-after-change-function): Make `old-len' optional.
345 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
346 Call font-lock-flush, just in case.
347 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
348 recent Emacsen.
349 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
350 (vera-mode-map, vera-mode-menu): Remove bindings to it.
351 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
352 and with-syntax-table.
353 * textmodes/conf-mode.el (conf-quote-normal):
354 * progmodes/sh-script.el (sh-set-shell):
355 * progmodes/prog-mode.el (prettify-symbols-mode):
356 * progmodes/f90.el (f90-font-lock-n):
357 * progmodes/cwarn.el (cwarn-mode):
358 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
359 * progmodes/compile.el (compilation-setup, compilation--unsetup):
360 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
361 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
362 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
363 font-lock-fontify-buffer-function and
364 font-lock-unfontify-buffer-function.
365 (rmail-unfontify-buffer-function, rmail-fontify-message):
366 Use with-silent-modifications.
367 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
368 and font-lock-ensure.
369 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
370
371 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
372
373 * emacs-lisp/package.el (package-generate-autoloads):
374 Inhibit backup files.
375
376 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
379 (bug#17608).
380
381 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
382
383 * textmodes/tildify.el (tildify-buffer, tildify-region):
384 Add dont-ask option.
385
386 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
389 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
390
391 * subr.el (internal--funcall-interactively): New.
392 (internal--call-interactively): Remove.
393 (called-interactively-p): Detect funcall-interactively instead of
394 call-interactively.
395 * simple.el (repeat-complex-command): Use funcall-interactively.
396 (repeat-complex-command--called-interactively-skip): Remove.
397
398 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * register.el (register-read-with-preview): Don't burp on
401 frame switches (e.g. due to the frame we just popped).
402
403 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
404 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
405
406 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
407
408 * cus-face.el (custom-face-attributes): Add :distant-foreground.
409
410 2014-05-26 Martin Rudalics <rudalics@gmx.at>
411
412 * window.el (window--dump-frame): Remove interactive specification.
413
414 2014-05-26 Glenn Morris <rgm@gnu.org>
415
416 * hippie-exp.el (he-line-search-regexp):
417 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
418
419 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
420
421 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
422 to avoid errors when trying to create or visit a file foo.todo
423 located outside to todo-directory, and to allow having such files
424 without them being tied to Todo mode (bug#17482).
425 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
426 (todo-archive-done-item, todo-find-filtered-items-file)
427 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
428 (todo-category-completions, todo-read-category): When visiting a
429 Todo file, make sure we're in the right mode and the buffer local
430 variables are set.
431 (todo-make-categories-list, todo-reset-nondiary-marker)
432 (todo-reset-done-string, todo-reset-comment-string):
433 After processing all Todo files, kill the buffers of those files that
434 weren't being visited before the processing.
435 (todo-display-as-todo-file, todo-add-to-buffer-list)
436 (todo-visit-files-commands): Comment out.
437 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
438 (auto-mode-alist): Remove add-to-list calls making Todo file
439 extensions unrestrictedly tied to Todo modes.
440
441 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
442
443 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
444 (advice-function-member-p): Tell it to check both names and functions
445 (bug#17531).
446 (advice--add-function): Adjust call accordingly.
447
448 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
449
450 * calendar/todo-mode.el: Miscellaneous bug fixes.
451 (todo-delete-file): When deleting an archive but not its todo
452 file, make sure to update the todo file's category sexp.
453 (todo-move-category): Keep the moved category's name unless the
454 file moved to already has a category with that name. If the
455 numerically last category of the source file was moved, make the
456 first category current to avoid selecting a nonexisting category.
457 (todo-merge-category): Fix implementation to make merging to a
458 category in another file work as documented. Eliminate now
459 insufficient and unnecessary renaming of archive category, correct
460 document string accordingly, and clarify it. If the numerically
461 last category of the source file was merged, make the first
462 category current to avoid selecting a nonexisting category.
463 (todo-archive-done-item): When there are marked items and point
464 happens to be on an unmarked item, ignore the latter. Don't leave
465 point below last item after archiving marked items.
466 (todo-unarchive-items): Fix logic to ensure unarchiving an item
467 from an archive with only one category deletes the archive only
468 when the category is empty after unarchiving. Make sure the todo
469 file's category sexp is updated.
470 (todo-read-file-name): Allow an existing file name even when it is
471 not required (todo-move-category needs this to work as documented).
472 (todo-add-file): Call todo-validate-name to reject the name of an
473 existing todo file (needed due to fix in todo-read-file-name).
474 (todo-reset-nondiary-marker): Also reset in filtered items files.
475 (todo-reset-done-string, todo-reset-comment-string): Also reset in
476 regexp filtered items files.
477 (todo-reset-highlight-item): Also reset in filtered items files.
478 Fix incorrect variable reference in document string.
479
480 2014-05-26 Glenn Morris <rgm@gnu.org>
481
482 * window.el (window--dump-frame): Avoid error in --without-x builds.
483
484 2014-05-26 Glenn Morris <rgm@gnu.org>
485
486 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
487
488 2014-05-26 Eli Zaretskii <eliz@gnu.org>
489
490 * frame.el (set-frame-font): Doc fix.
491
492 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
493
494 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
495
496 * emacs-lisp/package.el (package--download-one-archive):
497 Use `write-region' instead of `save-buffer' to avoid running various
498 hooks. (Bug#17155)
499 (describe-package-1): Same. Insert newline at the end of the
500 buffer if appropriate.
501
502 2014-05-26 Juri Linkov <juri@jurta.org>
503
504 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
505 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
506 Add more modifiers: meta, control, shift, hyper, super, alt.
507 (Bug#17439)
508
509 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
510 to allow changing its value with `set-variable'.
511
512 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
515 #; comments.
516 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
517 New functions.
518 (scheme-mode-variables): Set syntax-propertize-function instead of
519 font-lock-syntactic-face-function.
520 (scheme-font-lock-syntactic-face-function): Delete.
521
522 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
523
524 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
525 (bug#17392).
526
527 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
528
529 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
530 for a temporary file name.
531
532 2014-05-26 Eli Zaretskii <eliz@gnu.org>
533
534 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
535
536 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
537
538 * net/dbus.el (dbus-init-bus, dbus-call-method)
539 (dbus-call-method-asynchronously, dbus-send-signal)
540 (dbus-method-return-internal, dbus-method-error-internal):
541 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
542
543 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
544
545 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
546 methods which do not have a doc string. (Bug#17490)
547
548 2014-05-25 Tassilo Horn <tsdh@gnu.org>
549
550 * textmodes/reftex-ref.el (reftex-format-special): Make it work
551 also for AMS Math's \eqref macro.
552
553 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
554
555 Arrange to never byte-compile the generated -pkg.el file.
556
557 * emacs-lisp/package.el (package-generate-description-file):
558 Output first-line comment to set buffer-local var `no-byte-compile'.
559 Suggested by Dmitry Gutov:
560 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
561
562 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
563
564 Fix bug: Properly quote args to generated -pkg.el `define-package'.
565
566 * emacs-lisp/package.el (package-generate-description-file):
567 Inline `package--alist-to-plist'; rewrite to selectively
568 quote alist values that are not self-quoting.
569 (package--alist-to-plist): Delete func.
570
571 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
572
573 * term/xterm.el (xterm-function-map): Add mapping for shifted
574 keypad keys.
575
576 2014-05-24 Daniel Colascione <dancol@dancol.org>
577
578 * progmodes/subword.el (subword-find-word-boundary): Move point to
579 correct spot before search. (Bug#17580)
580
581 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
582 breaking the build.
583
584 2014-05-24 Leo Liu <sdl.web@gmail.com>
585
586 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
587
588 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * minibuffer.el (completion--sreverse): Remove.
591 (completion--common-suffix): Use `reverse' instead.
592 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
593
594 2014-05-22 Glenn Morris <rgm@gnu.org>
595
596 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
597
598 2014-05-21 Daniel Colascione <dancol@dancol.org>
599
600 * files.el (interpreter-mode-alist): Add mksh.
601
602 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
603 derivative.
604 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
605 mksh. Improve custom spec; allow regular expressions.
606 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
607 (sh-after-hack-local-variables): New function.
608 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
609 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
610 the normalization.
611 (sh-canonicalize-shell): Rewrite to support regexes.
612
613 2014-05-21 Leo Liu <sdl.web@gmail.com>
614
615 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
616
617 2014-05-19 Leo Liu <sdl.web@gmail.com>
618
619 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
620
621 2014-05-18 Glenn Morris <rgm@gnu.org>
622
623 * loadup.el:
624 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
625
626 2014-05-14 Sam Steingold <sds@gnu.org>
627
628 * progmodes/python.el (python-shell-get-or-create-process):
629 Do not bind `current-prefix-arg' so that C-c C-z does not talk
630 back unless requested.
631
632 2014-05-14 Glenn Morris <rgm@gnu.org>
633
634 * subr.el (with-file-modes): New macro.
635 * printing.el (pr-save-file-modes): Make obsolete.
636 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
637 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
638 Add with-file-modes.
639 * doc-view.el (doc-view-make-safe-dir):
640 * epg.el (epg--start):
641 * files.el (locate-user-emacs-file, make-temp-file)
642 (backup-buffer-copy, move-file-to-trash):
643 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
644 * eshell/esh-util.el (eshell-with-private-file-modes)
645 (eshell-make-private-directory):
646 * net/browse-url.el (browse-url-mosaic):
647 * obsolete/mailpost.el (post-mail-send-it):
648 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
649 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
650 Use with-file-modes.
651
652 * vc/emerge.el (emerge-make-temp-file): Simplify.
653
654 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
655 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
658 suffix (bug#15419).
659
660 2014-05-14 Glenn Morris <rgm@gnu.org>
661
662 * vc/emerge.el (emerge-temp-file-prefix):
663 Make pointless option obsolete.
664 (emerge-temp-file-mode): Make non-functional option obsolete.
665
666 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
667
668 * net/browse-url.el (browse-url):
669 Use `unhandled-file-name-directory' when setting `default-directory',
670 in order to circumvent stalled remote connections. (Bug#17425)
671
672 2014-05-14 Glenn Morris <rgm@gnu.org>
673
674 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
675 Optimize on Emacs, which has the relevant functions for ages.
676
677 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
678
679 * simple.el (undo-make-selective-list): Obey undo-no-redo.
680
681 2014-05-12 Sam Steingold <sds@gnu.org>
682
683 * calendar/time-date.el (seconds-to-string): New function to
684 pretty print time delay in seconds.
685
686 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 * mpc.el (mpc-format): Trim Date to the year.
689 (mpc-songs-hashcons): Shorten the Date field.
690
691 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
692 into autoloading just because of a silly indirection.
693
694 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
695
696 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
697
698 2014-05-12 Glenn Morris <rgm@gnu.org>
699
700 * emacs-lisp/find-gc.el: Move to ../admin.
701
702 * printing.el (pr-version):
703 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
704
705 * net/browse-url.el (browse-url-mosaic):
706 Create /tmp/Mosaic.PID as a private file.
707
708 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
711 (advice--member-p): If name is given, only compare the name.
712 (advice--remove-function): Don't stop at the first match.
713 (advice--normalize-place): New function.
714 (add-function, remove-function): Use it.
715 (advice--add-function): Pass the name, if any, to
716 advice--remove-function.
717
718 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
719
720 * electric.el (electric-indent-post-self-insert-function): Don't use
721 `pos' after modifying the buffer (bug#17449).
722
723 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
724
725 * calendar/todo-mode.el (todo-insert-item-from-calendar):
726 Correct argument list to conform to todo-insert-item--basic.
727
728 2014-05-12 Glenn Morris <rgm@gnu.org>
729
730 * files.el (cd-absolute): Test if directory is accessible
731 rather than executable. (Bug#17330)
732
733 * progmodes/compile.el (recompile):
734 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
735
736 * net/browse-url.el (browse-url-mosaic):
737 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
738 This is CVE-2014-3423.
739
740 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
741
742 * mouse.el: Use the normal toplevel loop while dragging.
743 (mouse-set-point): Handle multi-clicks.
744 (mouse-set-region): Handle multi-clicks for drags.
745 (mouse-drag-region): Update call accordingly.
746 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
747 Use the normal event loop instead of a local while/read-event loop.
748 (global-map): Remove redundant bindings for double/triple-mouse-1.
749 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
750 Generate synthetic down events when the protocol only sends up events.
751 (xterm-mouse-last): Remove.
752 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
753 terminal parameter instead.
754 (xterm-mouse--set-click-count): New function.
755 (xterm-mouse-event): Detect/generate double/triple clicks.
756 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
757
758 * info.el (Info-quoted): New face.
759 (Info-mode-font-lock-keywords): New var.
760 (Info-mode): Use it.
761
762 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
763 are a hindrance for C-x C-e.
764
765 2014-05-11 Leo Liu <sdl.web@gmail.com>
766
767 * net/rcirc.el (rcirc-sentinel): Fix last change.
768
769 2014-05-08 Sam Steingold <sds@gnu.org>
770
771 * net/rcirc.el (rcirc-reconnect-delay): New user option.
772 (rcirc-sentinel): Auto-reconnect to the server if
773 `rcirc-reconnect-delay' is non-0 (but not more often than its
774 value in case the host is off-line).
775
776 2014-05-09 Eli Zaretskii <eliz@gnu.org>
777
778 * progmodes/grep.el (lgrep): Fix a typo in last commit.
779
780 2014-05-09 Glenn Morris <rgm@gnu.org>
781
782 * files.el (file-expand-wildcards):
783 * man.el (Man-support-local-filenames):
784 * printing.el (pr-i-directory, pr-interface-directory):
785 * progmodes/grep.el (lgrep, rgrep):
786 * textmodes/ispell.el (ispell-call-process)
787 (ispell-call-process-region, ispell-start-process)
788 (ispell-init-process): Use file-accessible-directory-p.
789
790 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
793 (xterm-mouse--read-event-sequence-1000): Return nil if something
794 looks fishy.
795 (xterm-mouse-event): Propagate it.
796 (xterm-mouse-translate-1): Handle it.
797
798 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
799
800 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
801 four slots of the parameter list are filled, make sure to pass it
802 to the argument list of todo-insert-item--basic.
803
804 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
807 Add optional `seen' argument to detect and break infinite loops.
808
809 2014-05-08 Eli Zaretskii <eliz@gnu.org>
810
811 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
812 (trace-unsafe, trace-use-tree): Make parentheses style be
813 according to Emacs style.
814
815 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
816
817 * net/tramp-sh.el (tramp-remote-process-environment):
818 Remove HISTFILE and HISTSIZE; it's too late to set them here.
819 Add :version entry.
820 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
821 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
822 extra "PSx=..." commands.
823 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
824 (Bug#17295)
825
826 (tramp-uudecode): Replace the hard-coded temporary file name by a
827 format specifier.
828 (tramp-remote-coding-commands): Enhance docstring.
829 (tramp-find-inline-encoding): Replace "%t" by a temporary file
830 name. (Bug#17415)
831 This is CVE-2014-3424.
832
833 2014-05-08 Glenn Morris <rgm@gnu.org>
834
835 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
836 (find-gc-source-files): Update some names.
837 (trace-call-tree): Simplify and update.
838 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
839 This is CVE-2014-3422.
840
841 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * minibuffer.el (completion--try-word-completion): Revert fix for
844 Bug#15980 (bug#17375).
845
846 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
847 Always store button numbers in the same way in xterm-mouse-last;
848 Don't burp is xterm-mouse-last is not set as expected.
849 Never return negative indices.
850
851 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
852
853 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
854 Backtrack one char if the global/char-literal var matcher hits
855 inside a string. The next char could be the beginning of an
856 expression expansion.
857
858 2014-05-08 Glenn Morris <rgm@gnu.org>
859
860 * help-fns.el (describe-function-1): Test for an autoload before a
861 macro, since `macrop' works on autoloads. (Bug#17410)
862
863 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * electric.el (electric-indent-functions-without-reindent): Add yaml.
866
867 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
868 Make sure the new point we return is within the new string (bug#17239).
869
870 2014-05-05 Daniel Colascione <dancol@dancol.org>
871
872 * progmodes/compile.el (compilation-error-regexp-alist-alist):
873 Port `gnu' pattern to rx.
874
875 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
876
877 Remove unneeded prompt when closing a buffer with active
878 emacsclient ("Buffer ... still has clients"), #16548.
879 * server.el (server-start): Remove the only call to:
880 (server-kill-buffer-query-function): Remove.
881
882 2014-05-04 Leo Liu <sdl.web@gmail.com>
883
884 * calendar/diary-lib.el (calendar-chinese-month-name-array):
885 Defvar to pacify compiler.
886
887 2014-05-04 Eli Zaretskii <eliz@gnu.org>
888
889 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
890
891 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
894 Use nil rather than `default' for the "default" appearance (bug#17388).
895 * vc/ediff-util.el (ediff-inferior-compare-regions)
896 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
897 a misleading `default' value when it's really a boolean.
898 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
899 overlay is not visible.
900
901 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
902
903 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
904 (todo-menu): Uncomment and update.
905
906 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
907
908 * calendar/todo-mode.el: Reimplement item editing to have the same
909 basic user interface as item insertion, and make small UI and
910 larger internal improvements to the latter.
911 (todo-insert-item): Add reference to the Todo mode user manual to
912 the documentation string.
913 (todo-insert-item--basic): Rename from todo-basic-insert-item and
914 adjust all callers. Change signature to combine diary and
915 nonmarking arguments. Incorporate functionality of deleted item
916 copying command and add error checking. Remove detailed
917 descriptions of the arguments from the documentation string, since
918 this is treated in the Todo mode user manual.
919 (todo-copy-item, todo-edit-multiline-item)
920 (todo-edit-done-item-comment, todo-edit-item-header)
921 (todo-edit-item-time, todo-edit-item-date-from-calendar)
922 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
923 (todo-edit-item-date-year, todo-edit-item-date-month)
924 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
925 Remove.
926 (todo-edit-item): Reimplement as wrapper command for
927 todo-edit-item--next-key and make it distinguish done and not done
928 todo items.
929 (todo-edit-item--text): New function, replacing old command
930 todo-edit-item and incorporating deleted commands
931 todo-edit-multiline-item and todo-edit-done-item-comment.
932 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
933 Use only numeric value of prefix argument. Remove detailed
934 descriptions of the arguments from the documentation string, since
935 this is treated in the Todo mode user manual.
936 (todo-edit-item--diary-inclusion): New function, replacing old
937 command todo-edit-item-diary-inclusion and incorporating and fixing
938 functionality of deleted command todo-edit-item-diary-nonmarking,
939 making sure to remove todo-nondiary-marker when adding
940 diary-nonmarking-symbol.
941 (todo-edit-category-diary-inclusion): Make sure to delete
942 diary-nonmarking-symbol when adding todo-nondiary-marker.
943 (todo-edit-category-diary-nonmarking): Fix indentation.
944 (todo-insert-item--parameters): Group diary and nonmarking
945 parameters together.
946 (todo-insert-item--apply-args): Adjust to signature of
947 todo-insert-item--basic and incorporate copy parameter.
948 Make small code improvements.
949 (todo-insert-item--next-param): Improve prompt and adjust it to
950 new parameter grouping. Remove obsolete code.
951 (todo-edit-item--param-key-alist)
952 (todo-edit-item--date-param-key-alist)
953 (todo-edit-done-item--param-key-alist): New defconsts.
954 (todo-edit-item--prompt): New variable.
955 (todo-edit-item--next-key): New function.
956 (todo-key-bindings-t): Bind "e" to todo-edit-item.
957 Remove bindings of deleted commands.
958
959 2014-05-04 Leo Liu <sdl.web@gmail.com>
960
961 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
962
963 2014-05-04 Glenn Morris <rgm@gnu.org>
964
965 * allout-widgets.el (allout-widgets-tally)
966 (allout-decorate-item-guides):
967 * menu-bar.el (menu-bar-positive-p):
968 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
969 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
970 * progmodes/js.el (js--inside-param-list-p)
971 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
972 * progmodes/prolog.el (region-exists-p):
973 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
974 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
975 Doc fixes (replace `iff').
976
977 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
978
979 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
980
981 2014-05-04 Leo Liu <sdl.web@gmail.com>
982
983 Support Chinese diary entries in calendar and diary. (Bug#17393)
984 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
985 (calendar-chinese-from-absolute-for-diary)
986 (calendar-chinese-to-absolute-for-diary)
987 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
988 (diary-chinese-list-entries): New functions to list and mark
989 Chinese diary entries in the calendar window.
990 (diary-chinese-anniversary)
991 (diary-chinese-insert-anniversary-entry)
992 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
993 (diary-chinese-insert-yearly-entry): New commands to insert
994 Chinese diary entries.
995
996 * calendar/diary-lib.el (diary-font-lock-keywords):
997 Support font-locking Chinese dates.
998
999 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1000 inserting Chinese diary entries.
1001
1002 * calendar/calendar.el (diary-chinese-entry-symbol):
1003 New customizable variable.
1004 (calendar-mode-map): Add bindings for inserting Chinese diary
1005 entries.
1006
1007 2014-05-03 Juri Linkov <juri@jurta.org>
1008
1009 * dired.el (dired-check-switches, dired-switches-recursive-p):
1010 New functions. (Bug#17218)
1011 (dired-switches-escape-p, dired-move-to-end-of-filename):
1012 Use `dired-check-switches'.
1013 (dired-insert-old-subdirs, dired-build-subdir-alist)
1014 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1015
1016 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1017
1018 * simple.el (undo-make-selective-list): New algorithm fixes
1019 incorrectness of position adjustments when undoing in region.
1020 (Bug#17235)
1021 (undo-elt-crosses-region): Make obsolete.
1022 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1023 New functions to adjust positions using undo-deltas.
1024
1025 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1028 the last consecutive closing paren (bug#17345).
1029
1030 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1031
1032 * dired.el (dired-mode): make terminology for eXpunge command
1033 consistent. (Bug#17276)
1034
1035 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1036
1037 * dired.el (dired-initial-position-hook, dired-initial-position):
1038 Doc string fixes.
1039
1040 2014-04-30 Glenn Morris <rgm@gnu.org>
1041
1042 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1043
1044 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1045
1046 * faces.el (face-spec-recalc): Apply X resources only after the
1047 defface spec has been applied. Thus, X resources are no longer
1048 overriden by the defface spec which also fixes issues on win32 where
1049 the toolbar coloring was wrong because it is set through X resources
1050 and was (wrongfully) overriden. (Bug#16694)
1051
1052 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * textmodes/rst.el (electric-pair-pairs): Declare.
1055 (rst-mode): Set it (bug#17131).
1056
1057 2014-04-30 Juri Linkov <juri@jurta.org>
1058
1059 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1060 and `print-level' to nil. (Bug#17351)
1061
1062 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1063
1064 * battery.el (battery-update): Handle the case where battery
1065 status is "N/A" (bug#17319).
1066
1067 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1070 to syntax-propertize.
1071 (ps-mode-auto-indent): Mark as obsolete.
1072 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1073 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1074 word regexp operators.
1075 (ps-mode-map): Move initialization into declaration. Remove binding
1076 for TAB, RET, >, ], and }.
1077 (ps-mode-syntax-table): Move initialization into declaration.
1078 Don't give word syntax to non-word chars.
1079 (ps-run-mode-map): Move initialization into declaration.
1080 (ps-mode-menu-main): Remove auto-indent entry.
1081 (ps-mode-smie-rules): New function.
1082 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1083 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1084 (ps-mode--string-syntax-table): New const.
1085 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1086 New functions.
1087 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1088 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1089
1090 2014-04-27 Daniel Colascione <dancol@dancol.org>
1091
1092 * term/xterm.el (xterm-paste): Use large finite timeout when
1093 reading event to avoid putting keys in this-command-keys.
1094
1095 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1098 (perl-syntax-propertize-function): Use it. Extend handling of
1099 here-docs to the unquoted case.
1100
1101 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1102
1103 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1104 Use equal-including-properties to compare help-echo strings (bug#17331).
1105
1106 2014-04-25 Leo Liu <sdl.web@gmail.com>
1107
1108 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1109 Fix syntax for @. (Bug#17325)
1110
1111 2014-04-25 Daniel Colascione <dancol@dancol.org>
1112
1113 * emacs-lisp/cl.el (gv): Require gv early to break eager
1114 macro-expansion cycles.
1115
1116 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * simple.el (region-active-p): Check there's a mark (bug#17324).
1119
1120 * simple.el (completion-list-mode-map): Use choose-completion for the
1121 mouse binding as well (bug#17302).
1122 (completion-list-mode, completion-setup-function): Adjust docstring and
1123 echo area message accordingly.
1124 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1125 calling convention of choose-completion.
1126 * comint.el (comint-dynamic-list-completions):
1127 * term.el (term-dynamic-list-completions): Accept choose-completion.
1128
1129 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1130 &, |, +, - and * can't be a division (bug#17317).
1131
1132 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1133 features on gnome-terminal (bug#16988).
1134
1135 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1136
1137 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1138
1139 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1140 the declared object, ignore zero or more parens, not zero or one.
1141
1142 2014-04-24 Leo Liu <sdl.web@gmail.com>
1143
1144 * progmodes/xscheme.el (xscheme-expressions-ring)
1145 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1146 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1147 (xscheme-allow-output-p, xscheme-prompt)
1148 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1149
1150 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1151 Comment out unused functions.
1152
1153 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * info.el: Use lexical-binding and cl-lib.
1156 Use defvar-local and setq-local instead of make-local-variable.
1157 (Info-apropos-matches): Avoid add-to-list.
1158 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1159
1160 2014-04-24 Daniel Colascione <dancol@dancol.org>
1161
1162 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1163
1164 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1165
1166 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1167
1168 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1169
1170 * dired.el (dired-insert-set-properties): Do not consider
1171 subdirectory headings and empty lines to be information that
1172 `dired-hide-details-mode' should hide. (Bug#17228)
1173
1174 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1175
1176 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1177 Remove test messages.
1178 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1179 and `target' twice.
1180
1181 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1184 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1185
1186 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1187
1188 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1189
1190 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1191 Set "IFS=" when using read builtin, in order to preserve spaces in
1192 the file name. Add test messages for hunting a bug on hydra.
1193 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1194
1195 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1198 Don't prettify a word within a symbol.
1199
1200 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1201
1202 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1203 possible.
1204
1205 2014-04-22 Daniel Colascione <dancol@dancol.org>
1206
1207 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1208 use defun to define `function-put'.
1209
1210 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1213 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1214 (lisp-mode-variables): Set font-lock-extra-managed-props.
1215
1216 * emacs-lisp/byte-run.el (function-put): New function.
1217 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1218 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1219 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1220 Use them.
1221
1222 2014-04-22 Daniel Colascione <dancol@dancol.org>
1223
1224 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1225 Add `full-p' parameter; when nil, call `macroexpand' instead of
1226 `macroexpand-all'.
1227
1228 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1229 Improve docstrings.
1230
1231 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1232 Use lambda function values, not quoted lambdas.
1233 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1234
1235 * emacs-lisp/cl-macs.el
1236 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1237 (cl-struct-slot-value): Conditionally use aref or nth so that the
1238 compiler produces optimal code.
1239
1240 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1243 (inline): Don't inline cl--set-elt.
1244 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1245 Define as inlinable instead.
1246 (cl-struct-set-slot-value): Remove.
1247
1248 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1249 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1250 Use setf instead.
1251
1252 2014-04-21 Daniel Colascione <dancol@dancol.org>
1253
1254 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1255 last two parameters after all.
1256 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1257 (cl--compiler-macro-assoc,cl-struct-slot-value)
1258 (cl-struct-set-slot-value): Stop using them.
1259
1260 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1263 entry in image-mode-winprops-alist.
1264
1265 2014-04-21 Daniel Colascione <dancol@dancol.org>
1266
1267 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1268 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1269 (byte-compile-toplevel-file-form): Use it.
1270
1271 * emacs-lisp/cl-macs.el:
1272 (cl--loop-let): Properly destructure `while' clauses.
1273
1274 2014-04-20 Daniel Colascione <dancol@dancol.org>
1275
1276 * vc/vc.el (vc-root-dir): New public autoloaded function for
1277 generically finding the current VC root.
1278 * vc/vc-hooks.el (vc-not-supported): New error.
1279 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1280
1281 2014-04-20 Daniel Colascione <dancol@dancol.org>
1282
1283 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1284 argument.
1285 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1286 argument in case we're inside a symbol-macrolet.
1287 (cl--do-arglist, cl--compiler-macro-typep)
1288 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1289 environment to `cl--const-expr-val'.
1290 (cl-struct-sequence-type,cl-struct-slot-info)
1291 (cl-struct-slot-offset, cl-struct-slot-value)
1292 (cl-struct-set-slot-value): New functions.
1293
1294 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1297 assignments such as "case=hello" (bug#17297).
1298
1299 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1300
1301 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1302 Do not autoload.
1303 (tramp-file-name-handler, tramp-completion-file-name-handler):
1304 Revert patch from 2014-04-10, it isn't necessary anymore.
1305 (tramp-autoload-file-name-handler)
1306 (tramp-register-autoload-file-name-handlers): New defuns.
1307 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1308 (tramp-register-file-name-handlers): Remove also
1309 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1310 Do not autoload its invocation, but eval it after loading of 'tramp.
1311
1312 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1313
1314 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1315
1316 2014-04-17 Daniel Colascione <dancol@dancol.org>
1317
1318 Add support for bracketed paste mode; add infrastructure for
1319 managing terminal mode enabling and disabling automatically.
1320
1321 * xt-mouse.el:
1322 (xterm-mouse-mode): Simplify.
1323 (xterm-mouse-tracking-enable-sequence)
1324 (xterm-mouse-tracking-disable-sequence): New constants.
1325 (turn-on-xterm-mouse-tracking-on-terminal)
1326 (turn-off-xterm-mouse-tracking-on-terminal):
1327 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1328 parameters instead of random hooks.
1329 (turn-on-xterm-mouse-tracking)
1330 (turn-off-xterm-mouse-tracking): Delete.
1331
1332 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1333 (xterm-paste-ending-sequence): New constant.
1334 (xterm-paste): New command used for bracketed paste support.
1335
1336 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1337 (terminal-init-xterm-bracketed-paste-mode): New function.
1338 (terminal-init-xterm): Call it.
1339 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1340 and tty-mode-reset-strings instead of random hooks.
1341 (xterm-turn-on-modify-other-keys)
1342 (xterm-turn-off-modify-other-keys)
1343 (xterm-remove-modify-other-keys): Delete obsolete functions.
1344
1345 * term/screen.el: Rewrite to just use the xterm code.
1346 Add copyright notice. Mention tmux.
1347
1348 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1349
1350 * image-mode.el (image-mode-window-put): Also update the property of
1351 the "default window".
1352 * doc-view.el (doc-view-new-window-function): If no window
1353 exists, move to the last known page.
1354
1355 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1358 here-documents (bug#17262).
1359
1360 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1361
1362 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1363 Provide doc strings, as required by snarf-documentation.
1364
1365 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1366
1367 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1368 arg of overlays-at. Use `invisible-p'.
1369
1370 * obsolete/lucid.el (extent-at):
1371 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1372 overlays-at.
1373 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1374
1375 2014-04-16 João Távora <joaotavora@gmail.com>
1376
1377 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1378 links. (Bug#17217).
1379
1380 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1381
1382 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1383 Use mapc to loop over a vector. (Bug#17257).
1384
1385 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1386
1387 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1388 patch, there are new problems with file names containing spaces.
1389 Get rid of backticks. (Bug#17238)
1390
1391 2014-04-16 João Távora <joaotavora@gmail.com>
1392
1393 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1394 possible bug.
1395
1396 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1397
1398 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1399 (blink-cursor-mode): Mention customization variables and the
1400 effect of 'blink-cursor-blinks'.
1401
1402 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1403
1404 * simple.el (undo): Prevent insertion of identity mapping into
1405 undo-equiv-table so as undo-only does not inf loop in the presence
1406 of consecutive nils in undo list.
1407
1408 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1409
1410 * faces.el (make-face): Deprecate optional argument as it is no
1411 longer needed/used since the conditional X resources handling
1412 has been pushed down to make-face-x-resource-internal itself.
1413 (make-empty-face): Don't pass optional argument to make-face.
1414
1415 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1416
1417 * savehist.el (savehist-save): Remove workaround for a read-passwd
1418 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1419 noticing that the shim was still present.
1420
1421 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1424
1425 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1426
1427 * faces.el (face-set-after-frame-default): Remove unused local variable.
1428
1429 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * progmodes/grep.el: Use lexical-binding.
1432 (grep-expand-template): Pass explicit lexical env to `eval'.
1433 (zrgrep): Let-bind grep-find-template explicitly.
1434
1435 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1436 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1437
1438 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1439
1440 * international/characters.el <standard-case-table>: Add entries
1441 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1442 Set category of Coptic characters be 'g' (Greek).
1443
1444 2014-04-12 Leo Liu <sdl.web@gmail.com>
1445
1446 * progmodes/octave.el (completion-table-with-cache):
1447 Define if not available.
1448 (octave-goto-function-definition, octave-sync-function-file-names)
1449 (octave-find-definition-default-filename):
1450 Backquote upattern for compatibility.
1451
1452 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1453
1454 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1455 name twice due to backticks. (Bug#17238)
1456
1457 2014-04-12 Glenn Morris <rgm@gnu.org>
1458
1459 * term/w32-win.el (x-win-suspend-error):
1460 * term/x-win.el (x-win-suspend-error): Sync docs.
1461
1462 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1463
1464 * faces.el (make-face): Remove deprecated optional argument.
1465 The conditional application of X resources is handled directly by
1466 make-face-x-resource-internal since Emacs 24.4.
1467 (make-empty-face): Don't pass optional argument to make-face.
1468
1469 2014-04-11 Glenn Morris <rgm@gnu.org>
1470
1471 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1472
1473 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 Ediff's overlay priorities cause more trouble than they solve.
1476 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1477 (ediff-highest-priority): Remove function (bug#17234).
1478 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1479 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1480 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1481 overlay priorities.
1482
1483 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1484
1485 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1486 entry; use symbol boundaries to avoid mis-matches.
1487
1488 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1489
1490 * net/tramp.el (tramp-file-name-handler)
1491 (tramp-completion-file-name-handler): Avoid recursive loading.
1492
1493 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1494 Quote result also locally.
1495
1496 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1497
1498 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1499 Remove left-over code.
1500
1501 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1502 Reuse the previous comment's indentation unconditionally if it's on its
1503 own line.
1504
1505 2014-04-09 Daniel Colascione <dancol@dancol.org>
1506
1507 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1508 `no-syntax-crossing' arguments. Forward to `up-list'.
1509 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1510 Implement logic for escaping from strings. Use narrowing to deal
1511 with corner cases.
1512
1513 2014-04-09 Leo Liu <sdl.web@gmail.com>
1514
1515 * net/rcirc.el (rcirc-connection-info): New variable.
1516 (rcirc-connect): Use it to store connection info.
1517 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1518 for killed process.
1519 (rcirc-cmd-reconnect): New command. (Bug#17045)
1520 (rcirc-mode, set-rcirc-encode-coding-system)
1521 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1522
1523 2014-04-09 Daniel Colascione <dancol@dancol.org>
1524
1525 * emacs-lisp/cl-indent.el: Add comment claiming
1526 facility is also good for elisp.
1527 (lisp-indent-find-method): New function.
1528 (common-lisp-indent-function): Recognize cl-loop.
1529 (common-lisp-indent-function-1): Recognize cl constructs; use
1530 `lisp-indent-find-method' instead of `get' directly.
1531 (if): Use else-body style for elisp.
1532
1533 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1534
1535 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1536 Module methods. (Bug#17216)
1537
1538 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1541 (describe-bindings-internal): Mark obsolete.
1542
1543 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1546 buffer-file-name, and buffer-file-truename any more.
1547
1548 2014-04-08 Leo Liu <sdl.web@gmail.com>
1549
1550 Use lexical-binding and require cl-lib.
1551 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1552 (rcirc-handler-generic, rcirc-fill-paragraph)
1553 (rcirc-format-response-string, rcirc-target-buffer)
1554 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1555 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1556 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1557 (rcirc-markup-timestamp, rcirc-markup-attributes)
1558 (rcirc-markup-my-nick, rcirc-markup-urls)
1559 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1560 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1561 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1562 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1563 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1564 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1565 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1566 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1567 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1568 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1569 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1570 use cl-lib.
1571
1572 2014-04-07 João Távora <joaotavora@gmail.com>
1573
1574 * elec-pair.el (electric-pair--syntax-ppss):
1575 When inside comments parse from comment beginning.
1576 (electric-pair--balance-info): Fix typo in comment.
1577 (electric-pair--in-unterminated-string-p): Delete.
1578 (electric-pair--unbalanced-strings-p): New function.
1579 (electric-pair-string-bound-function): New var.
1580 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1581 according to `electric-pair--in-unterminated-string-p'
1582
1583 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1584 Inhibit quote pairing if point-max is inside an unterminated string.
1585 (electric-pair--looking-at-unterminated-string-p): Delete.
1586 (electric-pair--in-unterminated-string-p): New function.
1587
1588 2014-04-07 Glenn Morris <rgm@gnu.org>
1589
1590 * shell.el (shell-directory-tracker):
1591 Go back to just ignoring failures. (Bug#17159)
1592
1593 2014-04-07 João Távora <joaotavora@gmail.com>
1594
1595 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1596 backspace. (bug#16981)
1597 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1598 (electric-pair-backward-delete-char-untabify): Delete.
1599 (electric-pair-mode-map): Bind backspace to a menu item filtering
1600 a new `electric-pair-delete-pair' command.
1601 (electric-pair-delete-pair): New command.
1602
1603 * progmodes/python.el (python-electric-pair-string-delimiter):
1604 Fix triple-quoting electricity. (Bug#17192)
1605
1606 * elec-pair.el (electric-pair-post-self-insert-function):
1607 Don't skip whitespace when `electric-pair-text-pairs' and
1608 `electric-pair-pairs' were used. syntax to
1609 electric-pair--skip-whitespace. (Bug#17183)
1610
1611 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1612
1613 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1614 "<F>". (Bug#17199)
1615
1616 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1619 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1620
1621 2014-04-07 Glenn Morris <rgm@gnu.org>
1622
1623 * help.el (view-lossage): Doc tweak.
1624
1625 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1626
1627 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1628 only when inhibit-x-resources is nil, and do that earlier in the
1629 function. Doc fix. (Bug#16694)
1630 (face-spec-choose): Accept additional optional argument, whose
1631 value is returned if no matching attributes are found.
1632 (face-spec-recalc): Use the new optional argument when calling
1633 face-spec-choose. (Bug#16378)
1634 (make-face-x-resource-internal): Do nothing when
1635 inhibit-x-resources is non-nil. Don't touch the default face if
1636 reversed video is given--as was done in previous versions of Emacs.
1637 (face-set-after-frame-default): Don't call
1638 make-face-x-resource-internal here. (Bug#16434)
1639
1640 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1641
1642 * doc-view.el (doc-view-bookmark-jump):
1643 Use `bookmark-after-jump-hook' to jump to the right page after the
1644 buffer is shown in a window. (bug#16090)
1645
1646 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1647
1648 * international/characters.el (mirroring): Fix last change:
1649 instead of loading uni-mirrored.el explicitly, do that implicitly
1650 by creating the 'mirroring' uniprop table. This avoids announcing
1651 the loading of uni-mirrored.el.
1652
1653 2014-04-07 Glenn Morris <rgm@gnu.org>
1654
1655 * files.el (buffer-stale--default-function)
1656 (buffer-stale-function, revert-buffer--default):
1657 * autorevert.el (auto-revert-buffers): Doc tweaks.
1658
1659 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1660
1661 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1662
1663 2014-04-07 Glenn Morris <rgm@gnu.org>
1664
1665 * files.el (make-backup-file-name-function)
1666 (make-backup-file-name, make-backup-file-name--default-function)
1667 (make-backup-file-name-1, find-backup-file-name)
1668 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1669 (buffer-stale--default-function, buffer-stale-function)
1670 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1671 (revert-buffer, revert-buffer--default)
1672 (revert-buffer-insert-file-contents--default-function):
1673 Doc fixes related to defaults no longer being nil.
1674 (make-backup-file-name-function): Bump :version.
1675 Restore nil as a valid but deprecated custom type.
1676
1677 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1680 Handle $' used as a variable (bug#17174).
1681
1682 * progmodes/perl-mode.el (perl-indent-new-calculate):
1683 Handle forward-sexp failure (bug#16985).
1684 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1685 modifiers introducing expressions (bug#17116).
1686
1687 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1690
1691 2014-04-05 Leo Liu <sdl.web@gmail.com>
1692
1693 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1694 Add define-compilation-mode.
1695
1696 2014-04-04 João Távora <joaotavora@gmail.com>
1697
1698 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1699 parse from comment beginning.
1700 (electric-pair--balance-info): Fix typo in comment.
1701 (electric-pair--in-unterminated-string-p): Delete.
1702 (electric-pair--unbalanced-strings-p): New function.
1703 (electric-pair-string-bound-function): New var.
1704 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1705 according to `electric-pair--in-unterminated-string-p'.
1706
1707 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1710 Move declaration before first use.
1711 (reftex-move-to-next-arg): Silence compiler warning.
1712
1713 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1714
1715 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1716 Use `window-total-width' instead of `window-width'.
1717
1718 2014-04-03 Daniel Colascione <dancol@dancol.org>
1719
1720 * subr.el (set-transient-map): Remove rms's workaround entirely;
1721 use new `suspicious-object' subr to mark our lambda for closer
1722 scrutiny during gc.
1723
1724 2014-04-02 Richard Stallman <rms@gnu.org>
1725
1726 * subr.el (set-transient-map): Comment out previous change.
1727
1728 2014-04-02 Glenn Morris <rgm@gnu.org>
1729
1730 * menu-bar.el (menu-bar-file-menu):
1731 * vc/ediff.el (ediff-current-file):
1732 Update for revert-buffer-function no longer being nil by default.
1733
1734 * simple.el (command-execute): Respect nil disabled-command-function.
1735
1736 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1737
1738 * simple.el (command-execute): Do not execute the command when it
1739 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1740
1741 2014-04-02 Juri Linkov <juri@jurta.org>
1742
1743 * dired-aux.el (dired-compress-file): Don't use string-match-p
1744 because its match data is used afterwards.
1745
1746 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1749 0 like nil.
1750
1751 2014-04-02 João Távora <joaotavora@gmail.com>
1752
1753 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1754 Inhibit quote pairing if point-max is inside an unterminated string.
1755 (electric-pair--looking-at-unterminated-string-p):
1756 Delete.
1757 (electric-pair--in-unterminated-string-p): New function.
1758
1759 2014-04-01 Daniel Colascione <dancol@dancol.org>
1760
1761 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1762 when trying to complete the prompt.
1763
1764 2014-03-31 Leo Liu <sdl.web@gmail.com>
1765
1766 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1767 Refactor out eldoc-documentation-function-default.
1768 (eldoc-documentation-function-default): New function.
1769 (eldoc-documentation-function): Change value.
1770
1771 2014-03-31 Glenn Morris <rgm@gnu.org>
1772
1773 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1774
1775 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1776 (vhdl-compose-components-package, vhdl-compose-configuration):
1777 Abbreviate default-directory (missing from some previous upstream sync).
1778
1779 2014-03-31 Reto Zimmermann <reto@gnu.org>
1780
1781 Sync with upstream vhdl mode v3.35.2.
1782 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1783 (top-level): No longer require assoc.
1784 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1785 New functions. Use throughout to replace aget etc.
1786 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1787 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1788 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1789 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1790 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1791 except `vhdl-compiler'.
1792 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1793 when appropriate.
1794
1795 2014-03-31 Glenn Morris <rgm@gnu.org>
1796
1797 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1798 Revert 2014-03-26 merge goof; go back to using defalias.
1799
1800 2014-03-30 Daniel Colascione <dancol@dancol.org>
1801
1802 * comint.el (comint-send-input):
1803 Deactivate completion-in-region-mode before we send comint input.
1804 (Bug#17139).
1805
1806 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1807 on keyboard-quit.
1808
1809 2014-03-29 Glenn Morris <rgm@gnu.org>
1810
1811 * textmodes/reftex.el: Manage most autoloads automatically.
1812 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1813 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1814 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1815 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1816 * textmodes/reftex-toc.el: Set generated-autoload-file,
1817 and add autoload cookies for reftex.el.
1818 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1819
1820 2014-03-28 Glenn Morris <rgm@gnu.org>
1821
1822 * cus-start.el (report-emacs-bug-address): Set custom properties.
1823 * mail/emacsbug.el (report-emacs-bug-address):
1824 Variable is now defined in emacs.c.
1825
1826 * mail/emacsbug.el (report-emacs-bug):
1827 Include system-configuration-features.
1828
1829 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1830
1831 * simple.el (cycle-spacing): Never delete spaces on first run by
1832 default, but do so in a new 'fast mode and if there are already
1833 N spaces (the previous behavior).
1834 Compare N with its value in previous invocation so that changing
1835 prefix argument restarts `cycle-spacing' sequence.
1836 The idea is that with this change, binding M-SPC to
1837 `cycle-spacing' should not introduce any changes in behavior of
1838 the binding so long as users do not type M-SPC twice in a raw with
1839 the same prefix argument or lack thereof.
1840
1841 2014-03-28 Glenn Morris <rgm@gnu.org>
1842
1843 * faces.el (term-file-aliases): New variable.
1844 (tty-run-terminal-initialization): Respect term-file-aliases.
1845 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1846 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1847 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1848
1849 2014-03-27 Glenn Morris <rgm@gnu.org>
1850
1851 * startup.el (inhibit-startup-hooks): Doc tweak.
1852 (normal-top-level): Simplify running of hooks.
1853 For window-setup-hook, respect inhibit-startup-hooks.
1854 (command-line-1): Don't set window-setup-hook to nil.
1855
1856 Allow selective autoloading from obsolete/ directory.
1857 * Makefile.in (obsolete-autoloads): New rule.
1858 (autoloads): Run obsolete-autoloads.
1859 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1860 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1861
1862 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1863
1864 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1865 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1866
1867 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1868 Don't propertize `?' or `!' as symbol constituent when after
1869 colon. (Bug#17097)
1870
1871 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1872
1873 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1874 which is no longer needed and causes trouble in GTK builds (bug#17046).
1875
1876 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1877 Use url-insert-file-contents; package-handle-response no longer exists.
1878
1879 2014-03-26 Daniel Colascione <dancol@dancol.org>
1880
1881 * simple.el (process-menu-mode-map): New variable.
1882 (process-menu-delete-process): New command.
1883
1884 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1885
1886 * emacs-lisp/package.el: Fix bug#16733 (again).
1887 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1888 (url-http-target-url): Remove unused declarations.
1889 (package-handle-response): Remove.
1890 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1891 (package--download-one-archive): Use current-buffer instead of
1892 dynamic binding of `buffer'.
1893 (describe-package-1): Do not decode readme-string.
1894
1895 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1896
1897 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1898
1899 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1900 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1901 `remote-file-name-inhibit-cache' to nil in the second pass.
1902 (tramp-find-executable): Do not call "which" on SunOS.
1903 (tramp-send-command-and-check): Fix docstring.
1904 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1905 check whether source directory has set the sticky bit.
1906
1907 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1908
1909 * simple.el (primitive-undo): Only process marker adjustments
1910 validated against their corresponding (TEXT . POS). Issue warning
1911 for lone marker adjustments in undo history. (Bug#16818)
1912 (undo-make-selective-list): Add marker adjustments to selective
1913 undo list based on whether their corresponding (TEXT . POS) is in
1914 the region. Remove variable adjusted-markers, which was unused
1915 and only non nil during undo-make-selective-list.
1916 (undo-elt-in-region): Return nil when passed a marker adjustment
1917 and explain in function doc.
1918
1919 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1920
1921 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1922
1923 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1924
1925 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1926 Match special global variables without curlies, too.
1927 (ruby-font-lock-keywords): Simplify the matcher for special global
1928 variables. Don't require a non-word character after the variable.
1929 (Bug#17057)
1930
1931 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * simple.el (redisplay-highlight-region-function): Increase priority of
1934 overlay to make sure boundaries are visible (bug#15899).
1935
1936 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1937
1938 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1939 (frameset-restore): Compare display strings with equal.
1940
1941 * frame.el (make-frame): Don't quote display name in error message,
1942 it is already a string.
1943
1944 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1945
1946 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1947 the password.
1948
1949 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1950
1951 * emacs-lisp/package.el (package--add-to-archive-contents):
1952 Include already installed and built-in packages in
1953 `package-archive-contents'.
1954 (package-install): Don't include already installed packages in the
1955 options during interactive invocation. (Bug#16762)
1956 (package-show-package-list): If the buffer is already displayed in
1957 another window, switch to that window.
1958
1959 2014-03-26 Reto Zimmermann <reto@gnu.org>
1960
1961 Sync with upstream vhdl mode v3.35.1.
1962 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1963 (vhdl-compiler-alist): Doc fix.
1964 (vhdl-goto-line): Remove.
1965 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1966 (vhdl-mode) <paragraph-start>: Fix value.
1967 (vhdl-fix-statement-region): Not `for' in wait-statement.
1968 (vhdl-beautify-region): Also (un)tabify.
1969 (vhdl-get-visible-signals):
1970 Scan declarative part of generate statements.
1971 (vhdl-template-record): Fix indentation for record type declaration.
1972 (vhdl-expand-abbrev, vhdl-expand-paren):
1973 Revert to using fset again rather than defalias.
1974 (vhdl-scan-directory-contents): Tweak.
1975 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1976 (vhdl-compose-components-package):
1977 Replace vhdl-goto-line with forward-line.
1978 (top-level): Tweak speedbar frame selection.
1979 (vhdl-generate-makefile-1): Support for compilers with no
1980 unit-to-file name mapping (create directory with dummy files).
1981
1982 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1983
1984 Sync with upstream verilog-mode revision 702457d.
1985 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1986 (create-lockfiles): Declare.
1987 (verilog-read-decls): Fix module header imports, bug709.
1988 Reported by Victor Lau.
1989 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1990 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1991 interface-only modules, bug721. Reported by Dean Hoyt.
1992
1993 2014-03-26 Glenn Morris <rgm@gnu.org>
1994
1995 * obsolete/gulp.el: Move here from emacs-lisp/.
1996
1997 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1998 Remove fallback aliases, since they are always defined now.
1999
2000 2014-03-24 Daniel Colascione <dancol@dancol.org>
2001
2002 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2003 instead of cl-loop search function.
2004
2005 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2006
2007 * calendar/parse-time.el (parse-time-iso8601-regexp)
2008 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2009 it more generally.
2010
2011 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2012
2013 * net/dns.el (network-interface-list): Define for XEmacs.
2014
2015 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2016
2017 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2018 the network interfaces changed.
2019 (dns-query): Use it to flush the data.
2020
2021 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2022
2023 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2024
2025 2014-03-23 Daniel Colascione <dancol@dancol.org>
2026
2027 Change subword-mode to use `find-word-boundary-function-table' and
2028 replace `capitalized-words-mode'. Also, convert to lexical
2029 binding.
2030
2031 * progmodes/cap-words.el: Delete now-obsolete file.
2032 * progmodes/subword.el: Reimplement using
2033 `find-word-boundary-function-table'.
2034 (subword-mode-map): Hollow out.
2035 (capitalized-words-mode): Define as obsolete alias for
2036 `subword-mode'.
2037 (subword-mode, superword-mode): Tweak documentation to reflect new
2038 implementation; call `subword-setup-buffer'.
2039 (subword-forward, subword-capitalize): Add underscore to indicate
2040 unused variable.
2041 (subword-find-word-boundary-function-table): New constant.
2042 (subword-empty-char-table): New constant.
2043 (subword-setup-buffer): New function.
2044 (subword-find-word-boundary): New function.
2045
2046 2014-03-23 Daniel Colascione <dancol@dancol.org>
2047
2048 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2049 list to look for keyword arguments instead of `memq', fixing
2050 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2051 Please make bootstrap.
2052
2053 2014-03-22 Glenn Morris <rgm@gnu.org>
2054
2055 * dired.el (dired-read-regexp): Make obsolete.
2056 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2057 (dired-flag-files-regexp):
2058 * dired-aux.el (dired-mark-read-regexp):
2059 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2060
2061 * startup.el (fancy-startup-text):
2062 * help.el (describe-gnu-project): Visit online info about GNU project.
2063
2064 * help-fns.el (help-fns--interactive-only): New function.
2065 (help-fns-describe-function-functions): Add the above function.
2066 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2067 (next-line, previous-line): Remove hand-written interactive-only
2068 information from doc strings, it is auto-generated now.
2069 * bookmark.el (bookmark-write):
2070 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2071 (epa-mail-import-keys): Mark interactive-only,
2072 and remove hand-written interactive-only information from doc strings.
2073 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2074 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2075 * files.el (not-modified):
2076 * simple.el (mark-whole-buffer): Mark interactive-only.
2077
2078 * emacs-lisp/byte-run.el (defun-declarations-alist):
2079 Add interactive-only. Doc tweak.
2080 (macro-declarations-alist): Doc tweak.
2081 * subr.el (declare): Doc tweak (add xref to manual).
2082 * comint.el (comint-run):
2083 * files.el (insert-file-literally, insert-file):
2084 * replace.el (replace-string, replace-regexp):
2085 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2086 (delete-forward-char, goto-line, insert-buffer, next-line)
2087 (previous-line): Set interactive-only via declare.
2088
2089 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2090
2091 * emacs-lisp/package.el (package-desc): Use the contents of the
2092 quoted form, not its cdr. (Bug#16873)
2093
2094 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2095
2096 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2097 benefit of doc.c; change parameter profile to match the X function.
2098
2099 2014-03-22 Leo Liu <sdl.web@gmail.com>
2100
2101 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2102 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2103
2104 2014-03-21 Richard Stallman <rms@gnu.org>
2105
2106 * battery.el (battery-linux-sysfs): Search for each field
2107 from the beginning of the buffer.
2108
2109 * subr.el (set-transient-map): Clear out function and value
2110 of the temporary symbol when we're done with it.
2111
2112 * mail/rmailsum.el (rmail-summary-delete-forward):
2113 Optimize case of reaching end and handling count.
2114 (rmail-summary-mark-deleted): Optimize when N is current msg.
2115 Don't create new summary line.
2116 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2117 (rmail-summary-undelete-many): Rewrite for speed.
2118 (rmail-summary-msg-number): New function.
2119
2120 * mail/rmail.el (rmail-delete-message): Update summary.
2121 (rmail-undelete-previous-message): Handle repeat count arg.
2122 (rmail-delete-backward, rmail-delete-forward): Likewise.
2123
2124 2014-03-21 Daniel Colascione <dancol@dancol.org>
2125
2126 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2127 information in bug reports.
2128
2129 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2130
2131 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2132 and `tramp-copy-env'.
2133
2134 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2135 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2136
2137 2014-03-21 Glenn Morris <rgm@gnu.org>
2138
2139 * electric.el (electric-indent-post-self-insert-function): Add doc.
2140
2141 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2142
2143 * emacs-lisp/package.el (package-compute-transaction):
2144 Use `version-list-<=' to compare the requirement version against
2145 the version of package already to be installed. Update the error
2146 message. (Bug#16826)
2147
2148 * progmodes/ruby-mode.el (ruby-smie-rules):
2149 Add indentation rule for ` @ '. (Bug#17050)
2150
2151 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2152
2153 * align.el (align-regexp): Remove superfluous backslash.
2154
2155 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2156 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2157 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2158 Fix docstring typos.
2159 (ffap-next): Use C-u in docstring.
2160 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2161 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2162 Remove superfluous backslashes.
2163 (ffap-string-at-point): Reflow docstring.
2164
2165 * server.el (server-host): Reflow docstring.
2166 (server-unload-function): Fix docstring typo.
2167 (server-eval-at): Remove superfluous backslash.
2168
2169 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2170 (skeleton-insert): Doc fix.
2171 (skeleton-insert): Reflow docstring.
2172
2173 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2174 (tty-color-approximate, tty-color-by-index, tty-color-values)
2175 (tty-color-desc): Remove superfluous backslashes.
2176
2177 2014-03-21 Glenn Morris <rgm@gnu.org>
2178
2179 * cus-start.el (history-length): Bump :version.
2180
2181 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2182 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2183 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2184 Don't set `make-backup-files'.
2185
2186 * info.el (info--prettify-description): New function,
2187 to give info-finder descriptions consistent case, punctuation.
2188 (Info-finder-find-node): Use it. Sort packages.
2189 Refer to "description" rather than "commentary".
2190
2191 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2192
2193 * frameset.el (frameset--print-register): New function.
2194 (frameset-to-register): Use it.
2195
2196 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2197
2198 * progmodes/hideif.el (hif-string-to-number): New function.
2199 (hif-tokenize): Use it to understand non-decimal floats.
2200
2201 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2202
2203 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2204
2205 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * electric.el (electric-newline-and-maybe-indent): New command.
2208 Bind it globally to C-j.
2209 (electric-indent-mode): Don't mess with the global map any more.
2210 Don't drop the post-self-insert-hook is some buffer is still using it
2211 (bug#16770).
2212
2213 * bindings.el (global-map): Remove C-j binding.
2214
2215 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2216 the docstring of functions advised before dumping (bug#16993).
2217
2218 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2219
2220 * ps-print.el (ps-generate-postscript-with-faces):
2221 Explicitly deactivate the mark (bug#16866).
2222 * simple.el (deactivate-mark): Update region highlight.
2223
2224 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2225
2226 * emacs-lisp/package.el (describe-package-1):
2227 Decode commentary (bug#16733).
2228
2229 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2230
2231 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2232 modification of the value argument of :set (bug#16755).
2233
2234 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * simple.el (newline-and-indent): Do autofill (bug#17031).
2237
2238 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2239
2240 * newcomment.el (comment-normalize-vars): Only add escaping check
2241 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2242 (comment-beginning): Use `narrow-to-region' instead of moving back
2243 one character.
2244 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2245 (comment-start-skip): Update the docstring.
2246
2247 2014-03-18 Richard Stallman <rms@gnu.org>
2248
2249 * dired.el (dired-display-file): Force use of other window.
2250
2251 2014-03-18 Daniel Colascione <dancol@dancol.org>
2252
2253 * startup.el (tty-handle-args): Remove debug message from 2007.
2254
2255 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2256
2257 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2258 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2259 (advice--make-1, advice-add, advice-remove):
2260 Remove braindead :advice-pending hack.
2261
2262 2014-03-17 Glenn Morris <rgm@gnu.org>
2263
2264 * calendar/calendar.el (calendar-generate-month): Apply weekend
2265 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2266
2267 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2268
2269 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2270 (tramp-call-process): Trace also DESTINATION.
2271
2272 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2273 Quote file names when they are local. Remove superfluous trace.
2274
2275 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2276
2277 * newcomment.el (comment-beginning): If `comment-start-skip'
2278 doesn't match, move back one char and try again. (Bug#16971)
2279
2280 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2281 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2282 Set `comment-start-skip' to a simpler value that doesn't try to
2283 check if the semicolon is escaped (this is handled by
2284 `syntax-ppss' now). (Bug#16971)
2285
2286 * progmodes/scheme.el (scheme-mode-variables): Same.
2287
2288 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2289
2290 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2291 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2292 current (Bug#16816, Bug#17007).
2293 (with-current-buffer-window): New macro doing the same as
2294 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2295 * help.el (help-print-return-message): Warn in doc-string to not
2296 use this in `with-help-window'.
2297 (describe-bindings-internal): Call `describe-buffer-bindings'
2298 from within help buffer. See Juanma's scenario in (Bug#16816).
2299 (with-help-window): Update doc-string.
2300 * dired.el (dired-mark-pop-up):
2301 * files.el (save-buffers-kill-emacs):
2302 * register.el (register-preview): Use `with-current-buffer-window'
2303 instead of `with-temp-buffer-window'.
2304
2305 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2306
2307 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2308 Implement inserting into current buffer, documented in their docstrings.
2309 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2310 (rst-section-tree-point, rst-forward-section, rst-indent)
2311 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2312 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2313 (rst-font-lock-handle-adornment-pre-match-form)
2314 (rst-repeat-last-character): Reflow docstrings.
2315 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2316 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2317 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2318 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2319 Fix docstring typos.
2320 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2321 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2322 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2323
2324 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2325
2326 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2327 for compatibility with other ports.
2328 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2329 from the -xrm command line argument, but in the Nextstep port its value
2330 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2331
2332 * progmodes/python.el (defconst, python-syntax-count-quotes)
2333 (python-indent-region, python-indent-shift-right)
2334 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2335 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2336 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2337 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2338 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2339 (python-shell-buffer-substring, python-shell-send-buffer)
2340 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2341 (python-completion-complete-at-point, python-fill-docstring-style)
2342 (python-eldoc-function, python-imenu-format-item-label)
2343 (python-imenu-format-parent-item-label)
2344 (python-imenu-format-parent-item-jump-label)
2345 (python-imenu--build-tree, python-imenu-create-index)
2346 (python-imenu-create-flat-index): Fix docstring typos.
2347 (python-indent-context, python-shell-prompt-regexp, run-python):
2348 Remove superfluous backslashes.
2349 (python-indent-line, python-nav-beginning-of-defun)
2350 (python-shell-get-buffer, python-shell-get-process)
2351 (python-info-current-defun, python-info-current-line-comment-p)
2352 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2353 (python-indent-post-self-insert-function, python-shell-send-file)
2354 (python-shell-completion-get-completions)
2355 (python-shell-completion-complete-or-indent)
2356 (python-eldoc--get-doc-at-point): Reflow docstrings.
2357
2358 2014-03-14 Glenn Morris <rgm@gnu.org>
2359
2360 * emacs-lisp/package.el (package-menu-mode-map):
2361 Replace use of obsolete function alias. Tweak menu item text.
2362
2363 * info.el (Info-finder-find-node):
2364 Ignore the `emacs' metapackage. (Bug#10813)
2365
2366 * finder.el (finder-list-matches): Include unversioned packages
2367 in the result of a keyword search.
2368
2369 * finder.el (finder--builtins-descriptions): New constant.
2370 (finder-compile-keywords): Use finder--builtins-descriptions.
2371
2372 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2373
2374 * simple.el (blink-matching-paren): Describe the new value,
2375 `jump', enabling the old behavior.
2376 (blink-matching-open): Use that value. (Bug#17008)
2377
2378 2014-03-14 Glenn Morris <rgm@gnu.org>
2379
2380 * finder.el (finder-no-scan-regexp): Add leim-list.
2381 (finder-compile-keywords):
2382 Don't skip files with same basename. (Bug#14010)
2383 * Makefile.in (setwins_finder): New, excluding leim.
2384 (finder-data): Use setwins_finder.
2385
2386 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2387 (help-function-arglist, help-make-usage): Move from here...
2388 * help.el (help-split-fundoc, help-add-fundoc-usage)
2389 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2390 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2391
2392 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2393
2394 * net/socks.el (socks, socks-override-functions)
2395 (socks-find-services-entry):
2396 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2397 (hif-find-ifdef-block):
2398 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2399
2400 * net/tls.el (tls-program): Reflow docstring.
2401
2402 * progmodes/pascal.el (pascal-mode-abbrev-table)
2403 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2404 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2405 (pascal-outline-mode): Fix docstring typos.
2406 (pascal-mode): Let define-derived-mode document mode hook.
2407 (pascal-uncomment-area): Reflow.
2408 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2409
2410 * progmodes/opascal.el (opascal-compound-block-indent)
2411 (opascal-case-label-indent): Fix docstring typos.
2412 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2413
2414 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2415
2416 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2417 Fontify multiple adjacent negation chars. (Bug#17004)
2418
2419 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2420
2421 * emacs-lisp/package.el (package--prepare-dependencies):
2422 Accept requirements without explicit version (bug#14941).
2423
2424 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2425
2426 * register.el (register-separator, copy-to-register): Doc fixes.
2427 (register-preview-default): Remove unnecessary call to concat.
2428
2429 * frameset.el (frameset-restore): When checking for a visible frame,
2430 use the action map instead of calling visible-frame-list.
2431
2432 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2433
2434 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2435
2436 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2437
2438 * window.el (fit-frame-to-buffer): Get maximum width from
2439 display's width instead of height.
2440
2441 2014-03-12 Glenn Morris <rgm@gnu.org>
2442
2443 * desktop.el (desktop-restore-frames)
2444 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2445 (desktop-restore-reuses-frames): Doc tweaks.
2446
2447 * electric.el (electric-indent-mode): Doc fix.
2448
2449 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2450
2451 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2452 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2453 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2454 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2455 (cvs-dired-use-hook): Fix docstring typos.
2456 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2457 Doc fixes.
2458
2459 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2460 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2461 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2462 (cvs-execute-single-dir): Fix docstring typos.
2463
2464 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2465 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2466
2467 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2468
2469 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2470 Fix docstring typos.
2471
2472 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2473
2474 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2475 called from jump-to-register after unloading the frameset package.
2476
2477 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2480 (bug#16975). Deactivate the mark before setting it to nil.
2481 (activate-mark): Do nothing if region is already active.
2482
2483 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2484
2485 * frameset.el (frameset--target-display): Remove definition; declare.
2486 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2487
2488 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2489
2490 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2491 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2492 when the advice is pending.
2493 (advice-remove): Remove this marker when not needed any more.
2494
2495 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2496
2497 * frameset.el: Separate options for reusing frames and cleaning up.
2498 (frameset--reuse-list): Remove definition; declare.
2499 (frameset--action-map): Declare.
2500 (frameset--find-frame-if): Doc fix.
2501 (frameset--restore-frame): Cache frame action.
2502 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2503 how to clean up the frame list after restoring. Remove cleaning
2504 options from REUSE-FRAMES. Change all keyword values to symbols.
2505 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2506
2507 * desktop.el (desktop-restore-forces-onscreen)
2508 (desktop-restore-reuses-frames): Use non-keyword values.
2509 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2510
2511 2014-03-10 Glenn Morris <rgm@gnu.org>
2512
2513 * files.el (find-file): Doc fix: update info node name.
2514
2515 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2516 Doc fix: remove references to deleted info nodes.
2517
2518 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2519
2520 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2521 Do not add `nil' to the environment, when there's no remote `locale'.
2522 (tramp-find-inline-encoding): Check, that the remote host has
2523 installed perl, before sending scripts.
2524
2525 2014-03-10 Leo Liu <sdl.web@gmail.com>
2526
2527 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2528 Clear eldoc-last-message. (Bug#16920)
2529
2530 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2533 (bug#14430).
2534
2535 2014-03-09 Juri Linkov <juri@jurta.org>
2536
2537 * ansi-color.el (ansi-color-names-vector): Copy default colors
2538 from `xterm-standard-colors' that look well on the default white
2539 background (and also on the black background) to avoid illegible
2540 color combinations like yellow-on-white and white-on-white.
2541 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2542
2543 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2544
2545 * frameset.el (frameset-restore): When no frame is visible, do not
2546 generate a list of frames, just make visible the selected one.
2547
2548 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2549
2550 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2551 it only contains the repository root. (Bug#16897)
2552
2553 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2554
2555 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2556 only when `remote-file-name-inhibit-cache' is nil.
2557 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2558
2559 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2560
2561 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2562 Fix doc-strings.
2563 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2564 fit-frame-to-buffer variable. Fix doc-string.
2565 (fit-window-to-buffer): Set ONLY argument in call of
2566 fit-frame-to-buffer. Fix doc-string.
2567
2568 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2569
2570 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2571 (tramp-action-password): Clear password cache if needed.
2572 (tramp-read-passwd): Do not clear password cache.
2573
2574 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2575 cache unless it is the first password request.
2576
2577 2014-03-06 Glenn Morris <rgm@gnu.org>
2578
2579 * simple.el (newline): Doc tweak.
2580
2581 * emacs-lisp/shadow.el (load-path-shadows-find):
2582 Ignore dir-locals. (Bug#12357)
2583
2584 2014-03-05 Glenn Morris <rgm@gnu.org>
2585
2586 * files.el (interpreter-mode-alist):
2587 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2588
2589 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2590
2591 * frameset.el (frameset--initial-params): Filter out null entries.
2592
2593 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2594
2595 * window.el (window-min-height, window-min-width):
2596 Rewrite doc-strings.
2597 (window-body-size): Add PIXELWISE argument to make it consistent
2598 with its callees.
2599
2600 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2601
2602 * finder.el (finder-mode-map, finder-mode-syntax-table):
2603 Revert part of 2014-02-28 change.
2604
2605 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2606
2607 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2608 (eww-setup-buffer): Clear next/prev/etc more reliably.
2609 (eww-textarea-map): [tab] doesn't work on tty.
2610 Reported by Mario Lang.
2611
2612 * net/shr.el (shr-map): Ditto.
2613
2614 2014-03-04 Glenn Morris <rgm@gnu.org>
2615
2616 * minibuffer.el (completion-hilit-commonality):
2617 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2618
2619 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2620
2621 * hilit-chg.el (hilit-chg-unload-function): New function.
2622 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2623 (hilit-chg-map-changes): Prefer cardinal number to digit.
2624 (hilit-chg-display-changes): Reflow docstring.
2625 (highlight-changes-rotate-faces): Remove superfluous backslash.
2626
2627 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2628
2629 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2630 `tramp-send-command-and-check'.
2631
2632 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2633
2634 * hexl.el (hexl-address-region, hexl-ascii-region)
2635 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2636 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2637 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2638 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2639 (hexl-mode): Doc fix.
2640 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2641 (hexl-mode-ruler): Fix typos in docstrings.
2642
2643 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2644 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2645 Remove superfluous backslashes.
2646 (strokes-last-stroke, strokes-global-map, strokes-mode):
2647 Reflow docstrings.
2648 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2649 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2650 (strokes-distance-squared, strokes-global-set-stroke)
2651 (strokes-global-set-stroke-string): Doc fixes.
2652 (strokes-help): Fix typos; reflow docstring.
2653
2654 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2655
2656 * window.el (window-in-direction): Fix doc-string.
2657
2658 2014-03-04 Glenn Morris <rgm@gnu.org>
2659
2660 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2661 Explicit error if no grammar.
2662 (smie-config-save): Doc fix. Fix quote typo.
2663
2664 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2667 electric-indent-mode-hook if we obey electric-indent-mode.
2668 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2669 decide whether we obey electric-indent-mode.
2670 (c-change-set-fl-decl-start, c-extend-after-change-region):
2671 Silence warnings.
2672 (c-electric-indent-mode-hook): Assume we do want to obey
2673 electric-indent-mode.
2674
2675 * electric.el (electric-indent-mode-has-been-called): Remove.
2676 (electric-indent-mode): Fix accordingly.
2677
2678 * files.el (hack-local-variables): Mention file name in warning.
2679
2680 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2681
2682 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2683
2684 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2685 * simple.el (delete-forward-char): Mark as interactive-only.
2686
2687 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2688
2689 * icomplete.el (icomplete-completions):
2690 Follow-up to 2014-03-01 change.
2691
2692 * icomplete.el: Miscellaneous doc fixes.
2693 Use Icomplete everywhere instead of icomplete for consistency.
2694 (icomplete-max-delay-chars): Fix typo.
2695 (icomplete-mode): Use \[].
2696 (icomplete-tidy, icomplete-exhibit): Reflow.
2697 (icomplete-minibuffer-setup-hook, icomplete-completions):
2698 Remove superfluous backlashes.
2699
2700 * ido.el: Miscellaneous doc fixes.
2701 Use Ido everywhere instead of ido or `ido' for consistency.
2702 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2703 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2704 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2705 (ido-separator): Extract obsolescence info from docstring and declare
2706 with make-obsolete-variable.
2707 (ido-minibuffer-setup-hook): Simplify example.
2708 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2709 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2710 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2711 (ido-everywhere): Reflow docstring.
2712 (ido-toggle-vc): Doc fix.
2713 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2714 of long list of keybindings.
2715
2716 2014-03-03 Glenn Morris <rgm@gnu.org>
2717
2718 * frame.el (display-pixel-height, display-pixel-width)
2719 (display-mm-dimensions-alist, display-mm-height)
2720 (display-mm-width): Doc tweaks.
2721
2722 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2723
2724 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2725 case of undo in region.
2726
2727 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2728
2729 * window.el (fit-window-to-buffer): Fix argument in window-size
2730 call when window is horizontally combined.
2731
2732 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2733
2734 * icomplete.el (icomplete-completions): Use string-width.
2735 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2736
2737 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2738
2739 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2740 Highlight regexp options. (Bug#16914)
2741
2742 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2743
2744 * window.el (window--max-delta-1): Round down when calculating
2745 how many lines/columns we can get from a window.
2746
2747 2014-03-01 Glenn Morris <rgm@gnu.org>
2748
2749 * isearch.el (search-invisible): Doc fix.
2750
2751 * minibuffer.el (completion-hilit-commonality):
2752 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2753 * comint.el (comint-dynamic-list-completions): Doc fix.
2754 * comint.el (comint-dynamic-list-completions):
2755 * filecache.el (file-cache-minibuffer-complete):
2756 * tempo.el (tempo-display-completions):
2757 * eshell/em-hist.el (eshell-list-history):
2758 Replace use of obsolete argument of display-completion-list.
2759
2760 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2761
2762 * icomplete.el (icomplete-completions):
2763 Revert back to using "..." when ?… cannot be displayed.
2764
2765 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2766
2767 * finder.el (finder-unload-function): New function.
2768
2769 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2770
2771 * dframe.el (dframe-detach):
2772 * find-dired.el (find-dired, find-name-dired):
2773 * finder.el (finder-mode-map, finder-mode-syntax-table)
2774 (finder-headmark, finder-select, finder-mouse-select):
2775 Fix docstring typos.
2776
2777 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2778
2779 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2780 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2781 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2782 Fix doc-string based on a suggestion by Nicolas Richard
2783 <theonewiththeevillook@yahoo.fr>.
2784 * help.el (with-help-window): Fix doc-string.
2785
2786 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2787
2788 * net/shr.el (shr-image-animate): New option.
2789 (shr-put-image): Respect shr-image-animate.
2790
2791 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2792
2793 * net/tramp-adb.el (tramp-adb-parse-device-names):
2794 Use `accept-process-output'.
2795 (tramp-adb-handle-file-truename): Cache the localname only.
2796 (tramp-adb-handle-make-directory)
2797 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2798 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2799 modes cannot be changed.
2800
2801 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2802 file properties of symlinks.
2803
2804 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2805
2806 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2807 required/optional fields to match development biblatex. (Bug#16781)
2808
2809 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2810
2811 * saveplace.el (toggle-save-place):
2812 Fix argument handling. (Bug#16673)
2813
2814 2014-02-28 Glenn Morris <rgm@gnu.org>
2815
2816 * minibuffer.el (completions-first-difference)
2817 (completions-common-part, completion-hilit-commonality): Doc fixes.
2818
2819 2014-02-28 Karl Berry <karl@gnu.org>
2820
2821 * info.el (Info-mode-map): Add H for describe-mode,
2822 to synchronize with standalone Info.
2823
2824 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2825
2826 * progmodes/sql.el (sql-interactive-mode):
2827 Avoid setting global comint-input-ring-separator. (Bug#16814)
2828
2829 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2830
2831 * net/dbus.el (dbus--init-bus): Declare function.
2832 (dbus-path-local, dbus-interface-local): New defconst.
2833 (dbus-init-bus): Use them.
2834 (dbus-return-values-table): Extend doc.
2835 (dbus-handle-bus-disconnect): Extend error message.
2836
2837 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2838
2839 * subr.el (y-or-n-p): Fix double space issue in message.
2840
2841 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2842
2843 * net/tramp.el (tramp-call-process): Improve trace message.
2844 (tramp-handle-insert-file-contents): Trace error case.
2845
2846 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2847 <insert-directory>: Use `tramp-handle-insert-directory'.
2848 (tramp-adb-handle-insert-directory): Remove function.
2849 (tramp-adb-send-command-and-check): New defun, replacing
2850 `tramp-adb-command-exit-status'. Change all callees.
2851 (tramp-adb-handle-file-attributes)
2852 (tramp-adb-handle-directory-files-and-attributes): Use it.
2853 (tramp-adb-ls-output-name-less-p):
2854 Use `directory-listing-before-filename-regexp'.
2855 (tramp-adb-handle-delete-directory): Flush also file properties of
2856 the truename of directory.
2857 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2858 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2859 (tramp-adb-handle-write-region): Implement APPEND.
2860 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2861 properties correctly.
2862 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2863 variables. Check for connected devices only when needed.
2864
2865 2014-02-27 Glenn Morris <rgm@gnu.org>
2866
2867 * minibuffer.el (completion-table-dynamic)
2868 (completion-table-with-cache): Doc fixes.
2869
2870 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2871 (completing-read-multiple): Doc fixes.
2872
2873 2014-02-27 Daniel Colascione <dancol@dancol.org>
2874
2875 * minibuffer.el (completion--nth-completion): Fix indentation.
2876
2877 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2878 explicit tramp path is empty.
2879
2880 2014-02-27 Glenn Morris <rgm@gnu.org>
2881
2882 * emacs-lisp/crm.el (completing-read-multiple):
2883 Empower help-enable-auto-load.
2884
2885 2014-02-26 Glenn Morris <rgm@gnu.org>
2886
2887 * startup.el (command-line): Don't init the tty in daemon mode.
2888
2889 Avoid calling tty-setup-hook twice, eg if a term file
2890 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2891 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2892 (tty-create-frame-with-faces): Use it.
2893 * startup.el (command-line): Pass run-hook argument
2894 to tty-run-terminal-initialization.
2895
2896 * dired.el (dired-restore-desktop-buffer): Demote errors;
2897 eg in case a glob match fails. (Bug#16884)
2898
2899 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2900
2901 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2902 error from `read-from-string'. (Bug#16850)
2903
2904 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2905 result of `completing-read' in the interactive form. (Bug#16854)
2906
2907 2014-02-25 Glenn Morris <rgm@gnu.org>
2908
2909 * image.el (image-animate, image-animate-timeout):
2910 Stop animating images in dead buffers. (Bug#16878)
2911
2912 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2913
2914 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2915 Doc fixes.
2916 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2917 * term/sun.el (sun-raw-prefix-hooks):
2918 Use tty-setup-hook instead of term-setup-hook.
2919 (terminal-init-sun): Construct message from bytecomp plist.
2920 * term/wyse50.el (enable-arrow-keys): Doc fix.
2921
2922 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2923
2924 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2925 Fix docstring typos.
2926
2927 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2928
2929 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2930
2931 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2932
2933 * minibuffer.el (completion--try-word-completion):
2934 Fix error when completing M-x commands (bug#16808).
2935
2936 2014-02-24 Leo Liu <sdl.web@gmail.com>
2937
2938 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2939
2940 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2941
2942 * apropos.el (apropos-print): Avoid formatting error when
2943 apropos-do-all and apropos-compact-layout are both t.
2944
2945 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2946
2947 * apropos.el (apropos-property, apropos-all-words-regexp)
2948 (apropos-true-hit, apropos-variable, apropos-print):
2949 Fix docstring typos, and remove obsolete comment.
2950
2951 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2954 Preserve trailing "/". (Bug#16851)
2955
2956 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2957
2958 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2959 after `=>' (bug#16811).
2960 (ruby-smie-rules): Handle the inconsistent second element of the
2961 list returned by `smie-indent--parent'.
2962 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2963 method call.
2964
2965 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2966
2967 * elec-pair.el (electric-pair-text-syntax-table)
2968 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2969 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2970 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2971 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2972
2973 2014-02-22 Glenn Morris <rgm@gnu.org>
2974
2975 * imenu.el (imenu--generic-function): Doc fix.
2976
2977 * register.el (frame-configuration-to-register): Make obsolete.
2978
2979 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2980
2981 * desktop.el (desktop-save-buffer-p): Do not fail when
2982 desktop-files-not-to-save is nil. Return t for true result
2983 as the doc says.
2984
2985 2014-02-22 Daniel Colascione <dancol@dancol.org>
2986
2987 * net/secrets.el (secrets-create-item, secrets-search-items):
2988 Check that attribute values are strings, avoiding the construction
2989 of invalid dbus messages.
2990
2991 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2992
2993 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2994 defun-declarations-alist.
2995
2996 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2999 (bug#16829).
3000
3001 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3002
3003 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3004 (whitespace-newline, whitespace-trailing, whitespace-line)
3005 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3006 (whitespace-space-after-tab): Fix typo in docstrings.
3007
3008 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3009
3010 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3011
3012 * electric.el (electric-indent-functions-without-reindent):
3013 Add `yaml-indent-line'.
3014
3015 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3016
3017 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3018 It has done nothing for years; should be removed after the release.
3019
3020 * simple.el (choose-completion): Fix docstring typo.
3021 (read-quoted-char-radix): Remove unneeded * in docstring.
3022 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3023 Don't escape parentheses unnecessarily in docstrings.
3024
3025 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3026
3027 Fix handling of window-min-height/-width (Bug#16738).
3028 * window.el (window--dump-window, window--dump-frame):
3029 New functions.
3030 (window--min-size-1): Account for window dividers.
3031 When window-resize-pixelwise is nil, delay rounding till after the
3032 sum of the window components has been calculated.
3033 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3034 nil make sure at least one text line and two text columns remain
3035 fully visible.
3036 (window-resize): Signal an error when window-resize-apply fails.
3037 (window--resize-child-windows): Fix calculation of by how many
3038 pixels a window can still be shrunk via window-new-normal.
3039 (adjust-window-trailing-edge): Call window--resizable with
3040 correct TRAIL argument.
3041
3042 (with-temp-buffer-window): Don't evaluate BODY within
3043 with-current-buffer (Bug#16816).
3044
3045 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3046
3047 * net/tramp.el (tramp-check-cached-permissions):
3048 Call `file-attributes' with `suffix' being a symbol but a string.
3049
3050 2014-02-21 Daniel Colascione <dancol@dancol.org>
3051
3052 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3053 (dbus-init-bus): New function: call into dbus-init-bus-1
3054 and installs a handler for the disconnect signal.
3055 (dbus-call-method): Rewrite to look for result in cons.
3056 (dbus-call-method-handler): Store result in cons.
3057 (dbus-check-event): Recognize events with nil sender as valid.
3058 (dbus-handle-bus-disconnect): New function. React to bus
3059 disconnection signal by synthesizing dbus error for each
3060 pending synchronous or asynchronous call.
3061 (dbus-notice-synchronous-call-errors): New function.
3062 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3063 is true, not all the time.
3064
3065 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3066
3067 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3068 Remove obsolescence declarations, these variables do not exist anymore.
3069
3070 * savehist.el (savehist-save-minibuffer-history)
3071 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3072 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3073 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3074 mostly, refer to "Savehist mode" when talking about the mode,
3075 and not the function.
3076
3077 * saveplace.el (save-place): Remove redundant info in docstring.
3078 (save-place-forget-unreadable-files, toggle-save-place)
3079 (save-place-forget-unreadable-files, save-place-dired-hook):
3080 Fix typos and remove unneeded backslashes.
3081
3082 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3083
3084 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3085 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3086
3087 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3088 <insert-directory>: Use `tramp-handle-insert-directory'.
3089 (tramp-gvfs-handle-insert-directory): Remove function.
3090
3091 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3092 Call `tramp-handle-insert-directory'.
3093
3094 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3095
3096 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3097 before the start of buffer/region (bug#16799).
3098
3099 2014-02-20 Glenn Morris <rgm@gnu.org>
3100
3101 * isearch.el (search-invisible): Doc fix.
3102
3103 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3104
3105 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3106 (bug#16657).
3107
3108 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3109
3110 * frameset.el (frameset-restore): Delay removing an old frame's
3111 duplicate id until the new frame has been correctly created.
3112
3113 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3114
3115 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3116 (tramp-check-cached-permissions): Call `file-attributes' if the
3117 cache is empty.
3118
3119 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3120 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3121
3122 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3123 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3124 (tramp-gvfs-maybe-open-connection): Set always connection
3125 properties, even if target is mounted already.
3126
3127 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3128 Set tramp-autoload cookie.
3129 (tramp-get-remote-touch): New defun.
3130 (tramp-sh-handle-set-file-times): Use it.
3131 (tramp-sh-handle-directory-files-and-attributes):
3132 Use `tramp-handle-directory-files-and-attributes' if neither stat
3133 nor perl are available on the remote host.
3134
3135 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3136 "/". Write long listing only when "l" belongs to the switches.
3137
3138 * net/trampver.el: Update release number.
3139
3140 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3141
3142 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3143
3144 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3145
3146 * window.el (window-state-put): Allow WINDOW to refer to an
3147 internal window (Bug#16793).
3148
3149 2014-02-19 Glenn Morris <rgm@gnu.org>
3150
3151 * textmodes/remember.el: Move provide statement to end.
3152 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3153 (remember-notes): Doc fixes.
3154
3155 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * delsel.el (delete-char): Restore incorrectly erased property
3158 (bug#16795).
3159
3160 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3161
3162 * frameset.el (frameset--restore-frame): When a frame is being reused
3163 and its root window is not alive, delete all the frame's windows before
3164 restoring the window state. This works around the issue in bug#16793.
3165
3166 2014-02-18 Glenn Morris <rgm@gnu.org>
3167
3168 * textmodes/remember.el (remember-data-directory)
3169 (remember-directory-file-name-format, remember-store-in-files)
3170 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3171 (remember-notes-save-and-bury-buffer)
3172 (remember-notes--kill-buffer-query): Doc fixes.
3173
3174 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3175
3176 2014-02-17 Alan Mackenzie <acm@muc.de>
3177
3178 Connect electric-indent-mode up with CC Mode. Bug #15478.
3179 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3180 to electric-indent-{,local-}-mode.
3181 (c-basic-common-init): Set electric-indent-inhibit.
3182 Initialise c-electric-flag from electric-indent-mode.
3183 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3184 New hook functions which propagate electric-indent-mode to CC mode.
3185
3186 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3187 hit, toggle electric-indent-local-mode.
3188
3189 * electric.el (electric-indent-mode-has-been-called):
3190 New variable.
3191
3192 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3193
3194 * frameset.el (frameset-cfg-id): New function.
3195 (frameset--reuse-frame, frameset-restore): Use it.
3196 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3197
3198 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3199
3200 * ido.el (ido-file-internal): Remove unused var `d'.
3201 Use \` for to match BoS. Fit within 80n columns.
3202
3203 2014-02-17 Daniel Colascione <dancol@dancol.org>
3204
3205 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3206 dbus-call-method check for completion using a busy-wait loop with
3207 gradual backoff.
3208
3209 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3210
3211 Sync with Tramp 2.2.9.
3212
3213 * net/trampver.el: Update release number.
3214
3215 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3216
3217 * ido.el (ido-file-internal): Don't add the name of an existing
3218 directory twice. (Bug#16747)
3219
3220 2014-02-16 Glenn Morris <rgm@gnu.org>
3221
3222 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3223 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3224
3225 2014-02-15 Michael R. Mauger <michael@mauger.com>
3226
3227 * progmodes/sql.el: Version 3.4
3228 (sql-oracle-options): New default value ("-L").
3229 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3230 (sql-placeholders-filter): Correct placeholder pattern.
3231 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3232 (sql-login-delay): New variable.
3233 (sql-product-interactive): Use it.
3234
3235 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3236
3237 * frameset.el (frameset--jump-to-register): Check that buffer is live
3238 (bug#16749).
3239
3240 2014-02-15 Glenn Morris <rgm@gnu.org>
3241
3242 * info.el (info-initialize): Revert 2014-01-10 change.
3243
3244 2014-02-14 Glenn Morris <rgm@gnu.org>
3245
3246 * replace.el (map-query-replace-regexp)
3247 (read-regexp-defaults-function, read-regexp): Doc fixes.
3248
3249 * dired.el (dired-read-regexp):
3250 * faces.el (list-faces-display):
3251 * misearch.el (multi-isearch-read-matching-buffers)
3252 (multi-isearch-read-matching-files):
3253 * play/cookie1.el (cookie-apropos):
3254 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3255
3256 * textmodes/remember.el (remember): Use frameset-to-register
3257 rather than frame-configuration-to-register.
3258
3259 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3260
3261 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3262 incorrect keybinding.
3263
3264 2014-02-13 Daniel Colascione <dancol@dancol.org>
3265
3266 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3267 when adding overlays so that line numbers from compiler match line
3268 numbers we use.
3269
3270 2014-02-13 Glenn Morris <rgm@gnu.org>
3271
3272 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3273
3274 * jit-lock.el (jit-lock-mode): Doc fix.
3275
3276 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3277
3278 * apropos.el (apropos-read-pattern): When the user passes an empty
3279 string, give a more helpful error message than "Wrong type
3280 argument: stringp, nil".
3281
3282 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3285
3286 2014-02-13 Glenn Morris <rgm@gnu.org>
3287
3288 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3289
3290 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3293 shift-select commands.
3294
3295 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3296
3297 * progmodes/js.el (js-indent-line): Don't widen.
3298 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3299
3300 2014-02-12 Glenn Morris <rgm@gnu.org>
3301
3302 * icomplete.el (icomplete): Add info-link to defgroup.
3303 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3304 (icomplete-minibuffer-map, icomplete-mode)
3305 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3306
3307 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3308 (package-menu-filter): Rename from package-menu-filter-interactive.
3309 Doc fix.
3310
3311 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3312
3313 * frameset.el (frameset--jump-to-register): Select the required
3314 window and buffer before restoring position (bug#16696).
3315
3316 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3317
3318 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3319
3320 2014-02-10 Glenn Morris <rgm@gnu.org>
3321
3322 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3323
3324 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3325
3326 * w32-common-fns.el (x-get-selection): Doc fix.
3327 * select.el (x-get-selection): Doc fix. (Bug#15109)
3328
3329 * face-remap.el (face-remap-add-relative)
3330 (face-remap-remove-relative, face-remap-reset-base)
3331 (face-remap-set-base): Call force-mode-line-update to redisplay
3332 the current buffer due to potential change in faces. (Bug#16709)
3333
3334 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3335
3336 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3337 script more robustly.
3338
3339 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3340
3341 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3342
3343 * simple.el (choose-completion): Doc fix (bug#14160).
3344
3345 * subr.el (event-start): Say what a nil EVENT value means.
3346
3347 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3348 (bug#14197).
3349
3350 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3351
3352 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3353
3354 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3355
3356 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3357 predicate function (bug#15455).
3358
3359 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3360
3361 * ielm.el (inferior-emacs-lisp-mode): Instead of
3362 `comment-use-global-state', set `comment-use-syntax'.
3363
3364 2014-02-10 Glenn Morris <rgm@gnu.org>
3365
3366 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3367
3368 2014-02-09 Alan Mackenzie <acm@muc.de>
3369
3370 Fix c-invalidate-state-cache on narrowed buffers.
3371 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3372 Widen when setting and clearing the CPP delimiter properties.
3373
3374 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3375
3376 * help.el (describe-bindings): Doc fix (bug#9888).
3377
3378 * files.el (save-buffer): Use ARG as the parameter name for
3379 consistency (bug#10346).
3380 (save-buffer): Clarify the 0 argument (bug#10346).
3381
3382 * cus-edit.el (customize-apropos): Fix error string.
3383 (custom-buffer-create): Doc fix (bug#11122).
3384 (custom-sort-items): Doc fix (bug#11121).
3385
3386 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3387
3388 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3389 (icomplete-simple-completing-p): Mention the previous variable.
3390
3391 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3392 meaning of the parameter (bug#12282).
3393
3394 * files.el (find-file-noselect): Clarify prompt when changing
3395 readedness (bug#13261).
3396 (locate-file): Suffixes aren't returned, so don't say that they
3397 are (bug#12674).
3398 (backup-inhibited): Doc clarification (bug#12525).
3399
3400 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3401 before we actually start to delete things (bug#16331).
3402
3403 * subr.el (event-start): Doc fix (bug#14228).
3404 (event-end): Ditto.
3405
3406 2014-02-09 Glenn Morris <rgm@gnu.org>
3407
3408 * emacs-lisp/warnings.el (lwarn):
3409 Empower help-enable-auto-load. (Bug#15940)
3410
3411 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3412
3413 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3414 (Bug#16690)
3415
3416 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3417
3418 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3419 Insert output at end of buffer. (Bug#16120)
3420
3421 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3422
3423 * simple.el (choose-completion-string-functions): Document new
3424 calling convention (bug#14153).
3425 (execute-extended-command): Clarify doc string (bug#13373).
3426
3427 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3428
3429 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3430 (find-grep-dired): Doc fix (bug#14288).
3431
3432 2014-02-08 Juri Linkov <juri@jurta.org>
3433
3434 * isearch.el (isearch-quote-char): Check character validity
3435 like in `quoted-insert' (bug#16677).
3436
3437 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3438
3439 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3440
3441 * isearch.el (isearch-hide-immediately): Doc clarification
3442 (bug#14723).
3443
3444 * simple.el (line-move): Document utility function used many
3445 places in the Emacs sources (bug#14843).
3446
3447 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3448 (dired-prev-marked-file): Doc fix (bug#14855).
3449 (dired-up-directory): Doc fix (bug#14848).
3450
3451 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3452
3453 * files.el (file-relative-name): Doc fix (bug#15159).
3454
3455 * fringe.el (fringe-styles): Doc fix (bug#15239).
3456
3457 * isearch.el (isearch-filter-predicate): Documentation typo fix
3458 (bug#15474).
3459
3460 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3461
3462 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3463
3464 * replace.el (replace-match-maybe-edit): Doc clarification
3465 (bug#15632).
3466
3467 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3468
3469 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3470
3471 2014-02-08 Glenn Morris <rgm@gnu.org>
3472
3473 * help-fns.el (describe-variable):
3474 Check {file,dir}-local-variables-alist, and buffer-file-name,
3475 in the correct buffer.
3476
3477 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3478
3479 * help-fns.el (describe-variable): Fix the case where
3480 a value is directory-local with no dir-locals file. (Bug#16635)
3481
3482 2014-02-08 Glenn Morris <rgm@gnu.org>
3483
3484 * abbrev.el (edit-abbrevs-mode):
3485 Derive from fundamental-mode. (Bug#16682)
3486
3487 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3488
3489 * simple.el (quoted-insert): Check character validity (bug#16677).
3490
3491 2014-02-07 Juri Linkov <juri@jurta.org>
3492
3493 * desktop.el (desktop-read): Claim the lock when the owner is not
3494 the current process. (Bug#16157)
3495
3496 2014-02-07 Juri Linkov <juri@jurta.org>
3497
3498 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3499 to "\\` ". (Bug#16651)
3500
3501 2014-02-07 Juri Linkov <juri@jurta.org>
3502
3503 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3504 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3505 (desktop-auto-save-cancel-timer): New function with some code from
3506 `desktop-auto-save-set-timer'.
3507 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3508 Instead of setting `desktop-save-mode' to nil, call
3509 `desktop-save-mode' with arg 0. (Bug#16630)
3510
3511 2014-02-07 Glenn Morris <rgm@gnu.org>
3512
3513 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3514 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3515 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3516
3517 * obsolete/iswitchb.el: Move to obsolete/.
3518 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3519 since obsolete/ is not scanned for autoloads.
3520 * emacs-lisp/authors.el (authors-valid-file-names):
3521 Add iswitchb.el.
3522
3523 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3524 Disable now non-functional find-file-hook.
3525
3526 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3527
3528 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3529 instead of ";" in order to avoid additional prompts. Let heredoc
3530 scripts read from tty. (Bug#16582)
3531 (tramp-send-command): No special handling of heredocs, it isn't
3532 necessary anymore.
3533
3534 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3536 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3537 with a space (bug#16664). Limit the symbols considered to the ones
3538 that are bound or fbound (bug#16646).
3539
3540 2014-02-06 Glenn Morris <rgm@gnu.org>
3541
3542 * epa.el (epa-mail-aliases): Doc fix.
3543
3544 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3545
3546 * emacs-lisp/lisp.el (lisp-completion-at-point):
3547 Use `completion-table-merge' instead of `completion-table-in-turn'
3548 (bug#16604).
3549
3550 * minibuffer.el (completion-table-merge): New function.
3551
3552 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3553
3554 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3555 (tramp-sh-handle-set-file-acl)
3556 (tramp-sh-handle-start-file-process)
3557 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3558 (tramp-find-executable, tramp-send-command): Use it.
3559
3560 2014-02-05 Glenn Morris <rgm@gnu.org>
3561
3562 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3563
3564 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3565
3566 * progmodes/python.el (python-shell-send-string)
3567 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3568
3569 2014-02-04 Anders Lindgren <andlind@gmail.com>
3570
3571 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3572 the names (bug#16620).
3573
3574 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3575
3576 * faces.el (window-divider): New default value. Rewrite doc-string.
3577 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3578
3579 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3580
3581 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3582 `protected' and `public' can also be called without arguments.
3583
3584 2014-02-03 Glenn Morris <rgm@gnu.org>
3585
3586 * register.el (window-configuration-to-register)
3587 (frame-configuration-to-register): Unadvertise unused argument.
3588 * frameset.el (frameset-to-register): Remove unused argument.
3589
3590 * frameset.el (frameset-to-register):
3591 * kmacro.el (kmacro-to-register):
3592 * register.el (increment-register):
3593 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3594 (calc-append-to-register, calc-prepend-to-register):
3595 * play/gametree.el (gametree-layout-to-register)
3596 (gametree-apply-register-layout):
3597 * textmodes/picture.el (picture-clear-rectangle-to-register)
3598 (picture-yank-rectangle-from-register):
3599 * vc/emerge.el (emerge-combine-versions-register):
3600 Use register-read-with-preview to read registers.
3601
3602 2014-02-03 João Távora <joaotavora@gmail.com>
3603
3604 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3605 when at beginning of (possibly narrowed) buffer.
3606
3607 2014-02-02 Daniel Colascione <dancol@dancol.org>
3608
3609 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3610 Also try to display local help from just before point.
3611
3612 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3613
3614 c-parse-state. Don't "append-lower-brace-pair" in certain
3615 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3616 recognised as a comment.
3617
3618 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3619 as well as normal comment starter.
3620 (c-parse-state-get-strategy): Extra return possibility
3621 'back-and-forward.
3622 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3623 return value list to indicate replacement of a brace-pair cons
3624 with its car.
3625 (c-parse-state-1): With 'back-and-forward, only call
3626 c-append-lower-brace-pair-to state-cache when cons-separated.
3627
3628 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3629
3630 * term/ns-win.el (ns-suspend-error): New function.
3631 (ns-initialize-window-system): Add ns-suspend-error to
3632 suspend-hook (Bug#16612).
3633
3634 2014-02-02 Daniel Colascione <dancol@dancol.org>
3635
3636 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3637 Make loading cc-mode silent.
3638
3639 2014-02-02 Daniel Colascione <dancol@dancol.org>
3640
3641 * comint.el (comint-prompt-read-only): Change doc to suggest
3642 remap keybinding.
3643
3644 2014-02-02 Glenn Morris <rgm@gnu.org>
3645
3646 * register.el (register-read-with-preview, point-to-register)
3647 (window-configuration-to-register, frame-configuration-to-register)
3648 (jump-to-register, number-to-register, view-register, insert-register)
3649 (copy-to-register, append-to-register, prepend-to-register)
3650 (copy-rectangle-to-register): Doc fixes.
3651
3652 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3653
3654 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3655 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3656 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3657 * help-fns.el (describe-function-1): Use it.
3658
3659 2014-02-02 Glenn Morris <rgm@gnu.org>
3660
3661 * register.el (register-preview-default): New function,
3662 split from register-preview.
3663 (register-preview-function): Rename from register-preview-functions,
3664 make it not a hook.
3665 (register-preview): Use register-preview-function.
3666 (register-read-with-preview): Error on non-character event. (Bug#16595)
3667
3668 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3669
3670 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3671 `:' before binary operators (bug#16609). Don't check for `:'
3672 before `[' and `(', or their syntax status. A percent literal
3673 can't end with either.
3674 (ruby-font-lock-keywords): For built-ins that require arguments,
3675 check that they're followed by something that looks like argument
3676 (bug#16610).
3677
3678 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3679
3680 * subr.el (butlast): Document what an omitted N means (bug#13437).
3681 (nbutlast): Ditto.
3682
3683 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3684
3685 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3686 depth shallower (bug#16587).
3687 (shr-tag-svg): Respect `shr-inhibit-images'.
3688 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3689
3690 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3691
3692 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3693 (ruby-smie-grammar): Make "." right-associative. Make its priority
3694 lower than the ternary and all binary operators.
3695 (ruby-smie-rules): Indent "(" relative to the first non-"."
3696 parent, or the first "." parent at indentation.
3697 Use `ruby-align-chained-calls' for indentation of "." tokens.
3698 (Bug#16593)
3699
3700 2014-01-31 Juri Linkov <juri@jurta.org>
3701
3702 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3703 from `make-hash-table'.
3704
3705 * textmodes/ispell.el (ispell-init-process): Change message format
3706 to be consistent with other messages.
3707
3708 2014-01-31 Glenn Morris <rgm@gnu.org>
3709
3710 * delsel.el (delete-selection-mode): Doc fix.
3711
3712 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3713 (trace-function-background): Doc fixes.
3714
3715 * ido.el (ido-use-virtual-buffers): Doc fix.
3716 Reset :version, since the default value has not changed.
3717
3718 * register.el (register-preview-delay, register-read-with-preview):
3719 Doc fixes.
3720
3721 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3722 do not mess with mail-buffer position (fixes 2009-11-03 change).
3723 * progmodes/cc-mode.el (c-submit-bug-report):
3724 Check auto-fill-mode is bound. (Bug#16592)
3725
3726 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3727
3728 * startup.el (fancy-splash-image-file): New function,
3729 split from fancy-splash-head.
3730 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3731 so that we are both using the same image. (Bug#16574)
3732
3733 2014-01-30 Glenn Morris <rgm@gnu.org>
3734
3735 * simple.el (eval-expression): Doc fix.
3736
3737 * hexl.el (hexl-mode-hook):
3738 * ielm.el (ielm-mode-hook):
3739 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3740 (lisp-interaction-mode-hook):
3741 * progmodes/cfengine.el (cfengine3-documentation-function):
3742 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3743
3744 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3745
3746 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3747 is a symbol (bug#16584).
3748
3749 2014-01-30 Glenn Morris <rgm@gnu.org>
3750
3751 * help.el (help-for-help-internal): Add "P" to text.
3752
3753 2014-01-29 Glenn Morris <rgm@gnu.org>
3754
3755 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3756
3757 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3758
3759 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3760 height constraints.
3761
3762 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3763
3764 * progmodes/hideif.el: Extend to full CPP expression syntax.
3765 (hif-token-alist): Add missing tokens.
3766 (hif-token-regexp): Add support for float/octal/hex immediates.
3767 (hif-string-literal-regexp): New const.
3768 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3769 (hif-exprlist): New function.
3770 (hif-parse-if-exp): Use it.
3771 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3772 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3773 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3774 (hif-logxor, hif-comma): New functions.
3775
3776 2014-01-28 Glenn Morris <rgm@gnu.org>
3777
3778 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3779
3780 * indent.el (tab-stop-list): Doc fix. Add :version.
3781
3782 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3783 (cvs-append-to-ignore): Add compatibility alias.
3784
3785 2014-01-27 Glenn Morris <rgm@gnu.org>
3786
3787 * dired.el (dired-hide-details-mode): Don't autoload it,
3788 since it cannot be used outside Dired buffers anyway.
3789
3790 * emulation/cua-base.el (cua-mode): Doc fix.
3791
3792 * dired.el (dired-hide-details-hide-symlink-targets)
3793 (dired-hide-details-hide-information-lines)
3794 (dired-hide-details-mode): Doc fixes.
3795
3796 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3797 * strokes.el (strokes-file): Doc fix. Bump :version.
3798 (strokes-help): Doc fix.
3799 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3800 * emulation/viper.el (viper): Doc fix for custom group.
3801 (top-level): Remove oh-so-no-longer-relevant text about vip.
3802 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3803
3804 * ido.el (ido-save-directory-list-file):
3805 * saveplace.el (save-place-file):
3806 * calendar/timeclock.el (timeclock-file):
3807 * net/quickurl.el (quickurl-url-file):
3808 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3809 * progmodes/idlwave.el (idlwave-config-directory):
3810 * textmodes/remember.el (remember-data-file):
3811 Bump :version.
3812
3813 2014-01-26 Glenn Morris <rgm@gnu.org>
3814
3815 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3816 Doc fix. Make obsolete.
3817 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3818
3819 * sort.el (delete-duplicate-lines): Doc fix.
3820
3821 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3822
3823 * progmodes/ada-mode.el (ada):
3824 * woman.el (woman): Link to info manual and Commentary section.
3825
3826 * progmodes/flymake.el (flymake):
3827 * nxml/nxml-mode.el (nxml):
3828 * net/eww.el (eww):
3829 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3830 * htmlfontify.el (htmlfontify):
3831 * ses.el (ses):
3832 * epa.el (epa):
3833 * ido.el (ido): Link to info manual.
3834
3835 2014-01-25 Leo Liu <sdl.web@gmail.com>
3836
3837 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3838
3839 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3840
3841 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3842 (bug#16537).
3843
3844 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3845
3846 * net/eww.el (eww-download-callback):
3847 Fix reference to eww-download-directory.
3848
3849 * emacs-lisp/bytecomp.el (byte-compile-file):
3850 Remove unused local variable `file-name'.
3851
3852 2014-01-24 Glenn Morris <rgm@gnu.org>
3853
3854 * woman.el (woman-default-faces, woman-monochrome-faces):
3855 Fix obsolescence specification.
3856
3857 * subr.el (with-demoted-errors): Doc fix.
3858
3859 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3862 (cl--macroexp-fboundp): New function.
3863 (cl--make-type-test): Use it.
3864
3865 2014-01-23 Glenn Morris <rgm@gnu.org>
3866
3867 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3868 * simple.el (eval-expression): Doc fixes.
3869
3870 2014-01-22 Glenn Morris <rgm@gnu.org>
3871
3872 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3873
3874 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * emacs-lisp/package.el: Write files silently.
3877 (package-autoload-ensure-default-file, package--write-file-no-coding)
3878 (package-generate-description-file, package--download-one-archive)
3879 (package-install-from-archive): Tell `write-region' to stay quiet.
3880 (package-menu-mode, package-menu--print-info): Omit the Archive column
3881 if there's only one archive.
3882 (package-all-keywords, package--has-keyword-p): Remove dead code.
3883
3884 2014-01-22 Glenn Morris <rgm@gnu.org>
3885
3886 * version.el (emacs-bzr-version-bzr): Fix typo.
3887
3888 * version.el (emacs-repository-get-version):
3889 Check either .bzr or .git, but not both.
3890 Make the git case actually use the DIR argument, and return nil
3891 rather than the empty string.
3892 Avoid error if .git exists but the git executable is not found.
3893
3894 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3895
3896 Fixes in window size functions around Bug#16430 and Bug#16470.
3897 * window.el (window-total-size, window-size): New argument ROUND.
3898 (window--min-delta-1, window-min-delta, window--max-delta-1):
3899 Be more conservative when calculating the numbers of lines or
3900 columns a window can shrink (Bug#16430).
3901 (fit-window-to-buffer): Simplify code.
3902 * term.el (term-window-width): Call window-body-width again.
3903
3904 2014-01-22 Glenn Morris <rgm@gnu.org>
3905
3906 * image.el (image-format-suffixes): Doc fix.
3907
3908 * international/quail.el (quail-define-package): Doc fix.
3909
3910 * emacs-lisp/authors.el (authors-valid-file-names)
3911 (authors-renamed-files-alist): Additions.
3912
3913 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3914 reverts 2014-01-09 change. (Bug#16422)
3915
3916 * calc/calc-embed.el (thing-at-point-looking-at):
3917 * emacs-lisp/map-ynp.el (x-popup-dialog):
3918 * obsolete/lmenu.el (x-popup-dialog):
3919 * emacs-lisp/package.el (url-recreate-url):
3920 * mail/mailclient.el (clipboard-kill-ring-save):
3921 * subr.el (x-popup-dialog): Update declaration.
3922 * mail/rmail.el (rmail-mime-message-p):
3923 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3924
3925 2014-01-21 Daniel Colascione <dancol@dancol.org>
3926
3927 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3928 Correctly detect when we're inside an arithmetic expansion form
3929 containing nested parenthesis.
3930 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3931 to detect cases where we shouldn't expand "<<" to a heredoc
3932 skeleton.
3933
3934 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3937 (eldoc--message-command-p): New function.
3938 (eldoc-display-message-p): Use it.
3939 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3940 message is not automatically erased for us.
3941 (eldoc-print-current-symbol-info): Erase previous message, if any.
3942
3943 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3944
3945 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3946 specify it's an interactive function.
3947
3948 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3949 Fix regex used for scanning for citation keys which failed for
3950 citations with optional arguments.
3951
3952 2014-01-21 Leo Liu <sdl.web@gmail.com>
3953
3954 * simple.el (read--expression): Don't enable eldoc-mode.
3955
3956 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * simple.el (move-beginning-of-line): Make sure we don't move forward
3959 (bug#16497).
3960
3961 2014-01-20 Juri Linkov <juri@jurta.org>
3962
3963 * saveplace.el (toggle-save-place, save-place-to-alist)
3964 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3965 'dired-mode) before checking for dired-directory. (Bug#16477)
3966
3967 2014-01-20 Juri Linkov <juri@jurta.org>
3968
3969 * indent.el (indent-line-to): Use backward-to-indentation
3970 instead of back-to-indentation. (Bug#16461)
3971
3972 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3973
3974 Revert some of the CANNOT_DUMP fix (Bug#16494).
3975 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3976 but fixing this can wait until after the next release.
3977 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3978
3979 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3980
3981 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3982 Use `password-word-equivalents'.
3983 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3984 to t. (Bug#5664, Bug#13124)
3985
3986 2014-01-19 Alan Mackenzie <acm@muc.de>
3987
3988 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3989 points.
3990 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3991 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3992 * progmodes/cc-mode.el (c-before-change, c-after-change)
3993 (c-font-lock-fontify-region): Bind it here.
3994
3995 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3996
3997 * term.el (term-window-width): Call window-text-width instead of
3998 window-width (Bug#16470).
3999
4000 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4001
4002 * simple.el (password-word-equivalents): Remove duplicates.
4003 Sort, to make this easier next time.
4004 Downcase. Omit ": " after "jelszó".
4005
4006 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4007
4008 * term/common-win.el (saved-region-selection): Defvar it.
4009 (x-select-text): Set saved-region-selection (Bug#16382).
4010
4011 2014-01-18 Glenn Morris <rgm@gnu.org>
4012
4013 * emacs-lisp/authors.el (authors-aliases)
4014 (authors-renamed-files-alist): Add some entries.
4015
4016 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4017
4018 * net/tramp.el (tramp-password-prompt-regexp):
4019 Use `password-word-equivalents' if available.
4020 (tramp-action-password, tramp-process-one-action)
4021 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4022
4023 2014-01-17 Chong Yidong <cyd@gnu.org>
4024
4025 * simple.el (password-word-equivalents): New defcustom.
4026 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4027 to 24.4.
4028 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4029 to t. (Bug#13124)
4030
4031 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4032
4033 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4034 (ruby-align-to-stmt-keywords): Change the default value.
4035 Use `ruby-alignable-keywords' to generate the possible customization
4036 choices.
4037 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4038 keywords, check against the value of `ruby-alignable-keywords'
4039 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4040
4041 2014-01-17 Glenn Morris <rgm@gnu.org>
4042
4043 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4044
4045 Make M-x authors return zero *Authors Errors* from current logs.
4046 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4047 (authors-ignored-files): Add some entries, remove others.
4048 (authors-ambiguous-files, authors-valid-file-names):
4049 Add some entries.
4050 (authors-renamed-files-alist): Add, remove, and adjust entries.
4051 (authors-renamed-files-regexps): Add some entries.
4052 Remove some very broad ones. Make some entries `lax'.
4053 (authors-lax-changelogs): New constant.
4054 (authors-disambiguate-file-name): Treat top-level specially.
4055 (authors-lax-changelog-p): New function.
4056 (authors-canonical-file-name): Check file as written against
4057 authors-valid-file-names. Do not special-case etc/.
4058 Handle `lax' logs and authors-renamed-files-regexps elements.
4059
4060 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4061
4062 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4063 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4064 callers.
4065
4066 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4069 Assume we're already in the proper buffer.
4070 Inspired by Anders Lindgren <andlind@gmail.com>.
4071 (follow-post-command-hook): Call it from the right buffer.
4072 (follow-comint-scroll-to-bottom): Adjust call.
4073 (follow-all-followers): Use get-buffer-window-list.
4074
4075 2014-01-15 Daniel Colascione <dancol@dancol.org>
4076
4077 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4078 `buffer-file-name' in interactive-form so that we don't leave
4079 pathless file names in `file-name-history'.
4080
4081 2014-01-15 Juri Linkov <juri@jurta.org>
4082
4083 * indent.el (indent-rigidly): Set deactivate-mark to nil
4084 in transient indentation mode. (Bug#16438)
4085
4086 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4087
4088 * emacs-lisp/package.el (package-desc-keywords): New function
4089 (Bug#16222).
4090 (describe-package-1, package-all-keywords)
4091 (package--has-keyword-p): Use it.
4092
4093 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4094
4095 * simple.el (define-alternatives): When creating the
4096 COMMAND-alternatives variable, assign COMMAND as its definition
4097 name so that `describe-variable' can relocate it.
4098
4099 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4100
4101 * font-lock.el (font-lock-keywords): Fix typo in docstring
4102 (bug#16307).
4103
4104 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4105
4106 * ispell.el (ispell-region): Reset `in-comment' for new line
4107 instead of wrongly reset `add-coment' (bug#13577).
4108
4109 2014-01-14 Daiki Ueno <ueno@gnu.org>
4110
4111 * epa-file.el (epa-file-write-region): Encode the region according
4112 to `buffer-file-format'. Problem reported at:
4113 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4114
4115 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4116
4117 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4118 so it applies in the right buffer (bug#16410).
4119
4120 2014-01-13 Daniel Colascione <dancol@dancol.org>
4121
4122 * textmodes/rst.el (rst-define-key): Provide deprecated
4123 keybindings through named functions instead of anonymous ones so
4124 that "??" doesn't appear in describe-mode output.
4125
4126 2014-01-13 Bastien Guerry <bzg@gnu.org>
4127
4128 * simple.el (define-alternatives): Call the selected command
4129 interactively. When setting `COMMAND--implementation' for the
4130 first time, tell the user how to chose another implementation.
4131 Enhance the docstring.
4132
4133 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4136 (log-edit--match-first-line): New function.
4137 (log-edit-font-lock-keywords): Use it.
4138 (log-edit-mode): Make jit-lock-defer-multiline work.
4139
4140 2014-01-13 Bastien Guerry <bzg@gnu.org>
4141
4142 * rect.el (rectangle-mark-mode): When the region is not active,
4143 display a message saying that the mark as been set and that
4144 rectangle mode is in use.
4145 (rectangle--highlight-for-redisplay): Only put an overlay with a
4146 visible vertical bar when (display-graphic-p) is non-nil.
4147 This partially fixes Bug#16403.
4148
4149 2014-01-13 Juri Linkov <juri@jurta.org>
4150
4151 * info.el (Info-find-file): Go to DIR before displaying the error
4152 about a nonexistent file if no previous Info file is visited.
4153 Use `user-error' instead of `error' for "Info file %s does not exist".
4154 (Info-find-node-2): In case of a nonexistent node in unwind forms
4155 go to the Top node if there is no previous node to revert to.
4156 (Bug#16405)
4157
4158 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4159
4160 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4161 * window.el (fit-frame-to-buffer): Fix doc-string.
4162 Respect window-min-height/-width. Fit pixelwise when
4163 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4164 when avoiding that frame goes partially off-screen.
4165 (fit-window-to-buffer): Respect window-min-height/-width
4166 (Bug#14096).
4167
4168 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4169
4170 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4171 after an empty line.
4172
4173 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 * net/shr.el (shr-render-region): Autoload.
4176
4177 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4178
4179 * net/eww.el (eww-download-directory): Rename from
4180 `eww-download-path' (Bug#16419).
4181
4182 2014-01-12 Leo Liu <sdl.web@gmail.com>
4183
4184 * dired-x.el (dired-mode-map): Fix last change.
4185
4186 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4187
4188 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4189
4190 Spelling fixes.
4191 * emacs-lisp/generic.el (generic--normalize-comments):
4192 Rename from generic--normalise-comments. All uses changed.
4193 * play/bubbles.el (bubbles--neighborhood-score)
4194 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4195 (bubbles--neighborhood-available)
4196 (bubbles--update-neighborhood-score):
4197 Rename from names with 'neighbourhood'. All uses changed.
4198
4199 2014-01-12 Leo Liu <sdl.web@gmail.com>
4200
4201 Re-implement the feature of showing eldoc info after editing.
4202 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4203 (eldoc-edit-message-commands): New function.
4204 (eldoc-print-after-edit): New variable.
4205 (eldoc-pre-command-refresh-echo-area): Emit message only by
4206 eldoc-message-commands.
4207 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4208 if eldoc-print-after-edit is set. (Bug#16346)
4209 * simple.el (read--expression): Enable eldoc-mode.
4210 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4211
4212 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4213 Eric S. Raymond <esr@thyrsus.com>
4214
4215 * version.el (emacs-repository-get-version): Enhance so the
4216 function works correctly in either a Bazaar or Git repo.
4217
4218 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4219
4220 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4221 Goes with removal of the joke manpages from /etc.
4222
4223 2014-01-10 Kenichi Handa <handa@gnu.org>
4224
4225 * mail/rmail.el (rmail-get-coding-system):
4226 Check rmail-get-coding-function before "funcall"ing it.
4227
4228 2014-01-10 Glenn Morris <rgm@gnu.org>
4229
4230 * emacs-lisp/authors.el (authors-fixed-entries):
4231 Update for files that no longer exist.
4232
4233 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4234
4235 * version.el (emacs-bzr-get-version): Restore compatibilty with
4236 24.3 (Tested).
4237
4238 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4239
4240 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4241 and Podfile.
4242
4243 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4244
4245 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4246
4247 2014-01-10 Chong Yidong <cyd@gnu.org>
4248
4249 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4250
4251 2014-01-10 Anders Lindgren <andlind@gmail.com>
4252
4253 * follow.el (follow-cache-command-list): Include right-char and
4254 left-char.
4255
4256 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4257
4258 Spelling fixes.
4259 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4260 * woman.el (woman-mark-horizontal-position):
4261 Rename from woman-mark-horizonal-position. Use changed.
4262
4263 2014-01-10 Glenn Morris <rgm@gnu.org>
4264
4265 * info.el (info-initialize): If running uninstalled, ensure our
4266 own info files are always found first, even if INFOPATH is set.
4267
4268 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4269
4270 2014-01-09 David Engster <deng@randomsample.de>
4271
4272 * emacs-lisp/eieio-custom.el:
4273 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4274 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4275 * emacs-lisp/eieio.el: Regenerate autoloads.
4276
4277 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4278
4279 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4280 following renames. (Bug#8756)
4281
4282 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4285 (bug#16382).
4286 (activate-mark): Add `no-tmm' argument.
4287 (set-mark, push-mark-command): Use it instead of running
4288 activate-mark-hook by hand.
4289
4290 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4291
4292 In preparation for the move to git, sanitize out some
4293 Bazaar-specific names.
4294
4295 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4296
4297 * version.el (emacs-bzr-version): Name changed to
4298 emacs-repository-version. Obsolete-variable alias made.
4299 * loadup.el: Follow through on this name change.
4300 * mail/emacsbug.el (report-emacs-bug): Factor out any
4301 assumption about the version control system in use.
4302
4303 2014-01-08 David Engster <deng@randomsample.de>
4304
4305 * help-fns.el (help-fns-describe-function-functions):
4306 New variable to call functions for augmenting help buffers.
4307 (describe-function-1): Remove explicit calls to
4308 `help-fns--compiler-macro', `help-fns--parent-mode' and
4309 `help-fns--obsolete'. Put them in above new variable instead, and
4310 call them through `run-hook-with-args'.
4311 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4312 `eieio-describe-class'. Not meant for interactive use anymore,
4313 but to augment existing help buffers. Remove optional second
4314 argument. Create proper button for file location.
4315 Rewrite function to use `insert' instead of `princ' and `prin1' where
4316 possible.
4317 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4318 (eieio-method-def, eieio-class-def): Move further up.
4319 (describe-method, describe-generic, eieio-describe-method):
4320 Remove aliases.
4321 (eieio-help-constructor, eieio-help-generic): Rename from
4322 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4323 Rewrite to use `insert' in the current buffer and use proper help
4324 buttons.
4325 (eieio-help-find-method-definition)
4326 (eieio-help-find-class-definition): Also accept symbols as
4327 arguments.
4328 (eieio-help-mode-augmentation-maybee): Remove.
4329 (eieio-describe-class-sb): Use `describe-function'.
4330 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4331 Add `eieio-help-generic' and `eieio-help-constructor'.
4332
4333 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4334
4335 Spelling fixes.
4336 * language/china-util.el (hz-ascii-designation):
4337 Rename from hz-ascii-designnation.
4338 (hz-ascii-designation): Rename from hz-ascii-designnation.
4339 All uses changed.
4340
4341 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4342
4343 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4344 package-alist.
4345
4346 2014-01-08 Bastien Guerry <bzg@gnu.org>
4347
4348 * emacs-lisp/package.el (package-delete):
4349 Correctly delete the package from package-alist.
4350
4351 2014-01-08 Daiki Ueno <ueno@gnu.org>
4352
4353 * emacs-lisp/package.el (url-recreate-url): Declare.
4354 (url-http-target-url): Declare.
4355 (package-handle-response): Include requested URL in the error message.
4356 (package--check-signature): Don't re-signal errors from
4357 package--with-work-buffer. Suggested by Stefan Monnier.
4358
4359 2014-01-07 Bastien Guerry <bzg@gnu.org>
4360
4361 * minibuffer.el (completion--try-word-completion): When both a
4362 hyphen and a space are possible candidates for the character
4363 following a word, display both candidates. (Bug#15980)
4364
4365 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4366
4367 * window.el (balance-windows-2): While rounding don't give a
4368 window more than the remainder. Bug#16351, bug#16383.
4369
4370 2014-01-07 Glenn Morris <rgm@gnu.org>
4371
4372 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4373 (menu-bar-help-menu): Use view-external-packages instead.
4374
4375 2014-01-07 Bastien Guerry <bzg@gnu.org>
4376
4377 * emacs-lisp/package.el (package-delete): Also delete the package
4378 name from `package-alist', not its description only.
4379
4380 2014-01-07 Glenn Morris <rgm@gnu.org>
4381
4382 * help.el (view-external-packages):
4383 * menu-bar.el (menu-bar-help-extra-packages):
4384 Visit efaq.info rather than etc/MORE.STUFF.
4385
4386 2014-01-07 Juri Linkov <juri@jurta.org>
4387
4388 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4389 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4390
4391 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4392 that shadows RET. (Bug#16342)
4393
4394 2014-01-07 Chong Yidong <cyd@gnu.org>
4395
4396 * isearch.el (isearch-yank-char, isearch-yank-word)
4397 (isearch-yank-line): Doc fix.
4398
4399 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4402 * emacs-lisp/elint.el (elint-find-builtins):
4403 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4404 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4405 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4406 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4407 * apropos.el (apropos-safe-documentation):
4408 * subr.el (symbol-file): Remove redundant fboundp.
4409 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4410
4411 2014-01-06 Bastien Guerry <bzg@gnu.org>
4412
4413 * hl-line.el (global-hl-line-overlay): Make a local variable.
4414 (global-hl-line-overlays): New variable to store all overlays.
4415 (global-hl-line-mode): Don't delete overlays from the current
4416 buffer when `global-hl-line-sticky-flag' is non-nil.
4417 (global-hl-line-highlight): Add new overlays to
4418 `global-hl-line-overlays'.
4419 (global-hl-line-unhighlight-all): New function to delete all
4420 overlays when turning off `global-hl-line-mode'.
4421 This fixes Bug#16183.
4422
4423 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4424
4425 * subr.el (set-transient-map): Fix nested case and docstring.
4426
4427 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4428
4429 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4430 `Texinfo' entry.
4431
4432 2014-01-06 Daniel Colascione <dancol@dancol.org>
4433
4434 Fix defun navigation in vc log view.
4435
4436 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4437 like `beginning-of-defun'.
4438 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4439 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4440 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4441 (log-view-extract-comment): Call `log-view-current-entry' directly
4442 instead of relying on broken `log-view-beginning-of-defun' behavior.
4443
4444 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4445
4446 Spelling fixes.
4447 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4448 * emacs-lisp/debug.el (cancel-debug-on-entry):
4449 * epg.el (epg-error-to-string):
4450 * files.el (recover-file):
4451 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4452 * mail/emacsbug.el (report-emacs-bug-hook):
4453 * mail/sendmail.el (mail-recover):
4454 * ses.el (ses-yank-resize):
4455 * term/ns-win.el (ns-print-buffer):
4456 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4457 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4458 All uses changed.
4459 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4460
4461 2014-01-06 Leo Liu <sdl.web@gmail.com>
4462
4463 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4464 to avoid shadowing global key. (Bug#16354)
4465
4466 2014-01-06 Daniel Colascione <dancol@dancol.org>
4467
4468 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4469 rst-mode.
4470
4471 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4472
4473 * window.el (balance-windows): Add mising t to fix Bug#16351.
4474
4475 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4476
4477 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4478 (bug#16285).
4479 (shr-insert): If we have a word that's longer than `shr-width',
4480 break after it anyway. Otherwise we'll do no breaking once we get
4481 such a long word.
4482
4483 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4484
4485 * net/eww.el (eww): Support single/double quote for search.
4486 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4487 (eww-history-quit): Delete and use quit-window.
4488 (eww-history-kill): Delete, because it doesn't work well and
4489 not necessary.
4490 (eww-history-mode-map): Delete some keys and add easy-menu.
4491
4492 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4493
4494 Fix misspelling of 'chinese' in rx (Bug#16237).
4495 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4496 chinese-two-byte.
4497
4498 Change subword regexps back to vars (Bug#16296).
4499 * progmodes/subword.el (subword-forward-regexp)
4500 (subword-backward-regexp): Change these back to variables.
4501
4502 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4505 syntax-begin-function (bug#16247).
4506
4507 2014-01-03 Chong Yidong <cyd@gnu.org>
4508
4509 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4510 (advice--docstring): Delete variable.
4511 (advice--make-1): Leave the docstring empty.
4512 (advice-add): Use function-documentation for advised docstring.
4513
4514 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4515 Ignore function-documentation property when getting documentation.
4516 (ad-activate-advised-definition): Use function-documentation
4517 generate the docstring.
4518 (ad-make-advised-definition): Don't call
4519 ad-make-advised-definition-docstring.
4520 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4521 Delete functions.
4522
4523 * progmodes/sql.el (sql-help): Use function-documentation instead
4524 of dynamic-docstring-function property. No need to autoload now.
4525 (sql--help-docstring): New variable.
4526 (sql--make-help-docstring): Use it.
4527
4528 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4529
4530 * ielm.el (ielm-tab): Retarget.
4531 (ielm-map): Use ielm-tab for tab.
4532 (ielm-complete-filename): Use comint-filename-completion.
4533 (ielm-complete-symbol): Remove.
4534 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4535 remove ielm-tab from completion-at-point-functions (bug#16224).
4536
4537 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4538 Beware signals raised by predicates (bug#16201).
4539
4540 2014-01-02 Richard Stallman <rms@gnu.org>
4541
4542 * dired-aux.el (dired-do-print): Handle printer-name.
4543
4544 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4545 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4546 (rmail-epa-decrypt): Turn off mime processing.
4547
4548 * mail/rmail.el (rmail-make-in-reply-to-field):
4549 Add parens in message-id.
4550
4551 * mail/rmail.el (rmail-get-coding-function): Variable.
4552 (rmail-get-coding-system): Use it.
4553
4554 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4555
4556 * international/mule-conf.el: Unify the charset indian-is13194.
4557 (indian-is13194): Specify unify-map.
4558
4559 2013-12-31 Leo Liu <sdl.web@gmail.com>
4560
4561 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4562
4563 2013-12-30 Daniel Colascione <dancol@dancol.org>
4564
4565 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4566 of printing a useless when we resume from sleep.
4567
4568 * progmodes/sh-script.el
4569 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4570 in indentation code. (Bug#16233)
4571
4572 2013-12-28 João Távora <joaotavora@gmail.com>
4573
4574 * elec-pair.el (electric-pair-post-self-insert-function):
4575 Don't open extra newlines at beginning of buffer. (Bug#16272)
4576
4577 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4578
4579 * frame.el (window-system-for-display): Don't allow to create a
4580 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4581
4582 2013-12-28 Glenn Morris <rgm@gnu.org>
4583
4584 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4585 Update callers.
4586
4587 * apropos.el (apropos-match-face):
4588 * calculator.el (calculator-displayer):
4589 * dabbrev.el (dabbrev-search-these-buffers-only):
4590 * face-remap.el (buffer-face-mode-face):
4591 * simple.el (yank-handled-properties):
4592 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4593 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4594 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4595 (hashcash-double-spend-database):
4596 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4597 (ruby-deep-indent-paren-style):
4598 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4599 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4600 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4601 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4602 Specify custom types.
4603
4604 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4605 * bookmark.el (bookmark-bmenu-use-header-line):
4606 * doc-view.el (doc-view-scale-internally):
4607 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4608 * register.el (register-preview-delay):
4609 * net/shr.el (shr-bullet):
4610 * progmodes/cfengine.el (cfengine-cf-promises)
4611 (cfengine-parameters-indent):
4612 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4613 * textmodes/reftex-vars.el (reftex-label-regexps):
4614 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4615
4616 * net/tls.el (tls-certtool-program): Fix default value.
4617
4618 * desktop.el (desktop-restore-in-current-display):
4619 * newcomment.el (comment-empty-lines):
4620 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4621 (idlwave-pad-keyword):
4622 * progmodes/tcl.el (tcl-tab-always-indent):
4623 * textmodes/reftex-vars.el (reftex-index-default-tag):
4624 * elec-pair.el (electric-pair-skip-whitespace):
4625 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4626
4627 * emacs-lisp/authors.el (authors-ignored-files)
4628 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4629
4630 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4631
4632 * shell.el (shell-dynamic-complete-command): Doc fix.
4633 (shell--command-completion-data): Shell completion now matches
4634 executable filenames from the current buffer's directory, on
4635 systems in which this behavior is the default (windows-nt, ms-dos).
4636
4637 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4638
4639 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4640
4641 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4644 (bug#16251).
4645
4646 * electric.el: Move all electric-pair-* to elec-pair.el.
4647 * elec-pair.el: New file, split from electric.el.
4648
4649 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4650
4651 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4652 indentation level is larger than the width, because that will
4653 infloop.
4654 (shr-insert): Fill repeatedly long texts, so that Japanese is
4655 formatted correctly (bug#16263).
4656 (shr-find-fill-point): Off by one error in comparison with the
4657 indentation.
4658
4659 2013-12-26 João Távora <joaotavora@gmail.com>
4660
4661 * electric.el (electric-pair-mode): More flexible engine for skip-
4662 and inhibit predicates, new options for pairing-related functionality.
4663 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4664 if that keeps or improves their balance in buffers.
4665 (electric-pair-delete-adjacent-pairs): Delete the pair when
4666 backspacing over adjacent matched delimiters.
4667 (electric-pair-open-extra-newline): Open extra newline when
4668 inserting newlines between adjacent matched delimiters.
4669 (electric--sort-post-self-insertion-hook):
4670 Sort post-self-insert-hook according to priority values when
4671 minor-modes are activated.
4672 * simple.el (newline-and-indent): Call newline with interactive
4673 set to t.
4674 (blink-paren-post-self-insert-function): Set priority to 100.
4675 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4676 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4677 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4678 electric-pair-open-newline-between-pairs to nil.
4679
4680 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4681
4682 * progmodes/python.el: Use lexical-binding.
4683 (python-nav-beginning-of-defun): Stop searching ASAP.
4684
4685 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4686
4687 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4688 Fix interactive spec. Doc fix. (Bug#15754)
4689
4690 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4691
4692 * emacs-lisp/byte-run.el (eval-when-compile):
4693 * progmodes/cc-defs.el (cc-eval-when-compile):
4694 Fix edebug spec (bug#16184).
4695
4696 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4697
4698 * net/shr.el (shr-visit-file): Remove debugging function.
4699 (shr-insert): Don't infloop if we can't find a good place to break
4700 the line (bug#16256).
4701
4702 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4703
4704 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4705 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4706 python-nav-lisp-forward-sexp-safe.
4707 (python-nav--forward-sexp): New argument SAFE allows switching
4708 forward sexp movement behavior for parens.
4709 (python-nav-forward-sexp): Throw errors on unterminated parens
4710 (Bug#16191).
4711 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4712 (python-nav-backward-sexp-safe): New functions.
4713 (python-shell-buffer-substring):
4714 Use `python-nav-forward-sexp-safe'.
4715
4716 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4717
4718 * net/shr.el (shr-find-fill-point): Don't break lines before a
4719 quotation mark.
4720 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4721 (shr-find-fill-point): Remove the special checks for the quotation
4722 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4723
4724 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4725
4726 * net/eww.el (eww-form-textarea): Use a different face for
4727 textareas than text input since they have different keymaps
4728 (bug#16142).
4729
4730 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4731
4732 * progmodes/python.el (python-nav-beginning-of-statement):
4733 Speed up (Bug#15295).
4734
4735 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4736
4737 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4738 the window configuration.
4739
4740 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4741
4742 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4743 we run on MS-Windows or MS-DOS.
4744
4745 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4746
4747 * window.el (balance-windows-area): Call window-size instead of
4748 window-height and window-width. Bug#16241.
4749
4750 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4751
4752 * net/eww.el (eww-bookmark-quit): Remove.
4753 (eww-bookmark-browse): Restore the window configuration when you
4754 choose a bookmark (bug#16144).
4755
4756 2013-12-24 Daniel Colascione <dancol@dancol.org>
4757
4758 * icomplete.el: Remove redundant :group arguments to `defcustom'
4759 throughout.
4760 (icomplete-show-matches-on-no-input): New customizable variable.
4761 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4762 we have something to show.
4763 (icomplete-exhibit): Compute completions even if we have no user input.
4764
4765 2013-12-23 Daniel Colascione <dancol@dancol.org>
4766
4767 * icomplete.el: Move `provide' to end of file.
4768
4769 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4770
4771 * net/gnutls.el (gnutls-verify-error): Add version tag.
4772
4773 2013-12-23 Chong Yidong <cyd@gnu.org>
4774
4775 * subr.el (set-transient-map): Rename from
4776 set-temporary-overlay-map. Doc fix.
4777
4778 * face-remap.el (text-scale-adjust):
4779 * indent.el (indent-rigidly):
4780 * kmacro.el (kmacro-call-macro):
4781 * minibuffer.el (minibuffer-force-complete):
4782 * repeat.el (repeat):
4783 * simple.el (universal-argument--mode):
4784 * calendar/todo-mode.el (todo-insert-item--next-param):
4785 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4786
4787 * indent.el (indent-rigidly): Use substitute-command-keys.
4788
4789 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4790
4791 * net/eww.el (eww-tag-select): Add text-property to jump to next
4792 select field.
4793 (eww): Add non-supported ftp error.
4794
4795 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4796
4797 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4798 comments. Handle electric indent after typing `?' and `!'.
4799
4800 2013-12-22 Chong Yidong <cyd@gnu.org>
4801
4802 * faces.el (face-spec-recalc): If the theme specs are not
4803 applicable to a frame, fall back on the defface spec.
4804 This prevents themes from obliterating faces on low-color terminals.
4805
4806 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4807
4808 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4809 after `{'. We need it after block openers, and it doesn't seem
4810 to hurt after hash openers.
4811
4812 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4813
4814 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4815 extracted from `ruby-smie-rules'.
4816 (ruby--electric-indent-chars): New variable.
4817 (ruby--electric-indent-p): New function.
4818 (ruby-mode): Use `electric-indent-functions' instead of
4819 `electric-indent-chars'.
4820
4821 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4822
4823 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4824 docstring.
4825 (ruby-smie-rules): Indent plus one level after `=>'.
4826
4827 2013-12-21 Richard Stallman <rms@gnu.org>
4828
4829 * simple.el (newline): Doc fix.
4830
4831 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4832
4833 * net/eww.el (eww-list-histories, eww-list-histories)
4834 (eww-history-browse, eww-history-quit, eww-history-kill)
4835 (eww-history-mode-map, eww-history-mode): New command and
4836 functions to list browser histories.
4837 (eww-form-text): Support text form with disabled
4838 and readonly attributes.
4839 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4840
4841 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4842
4843 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4844 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4845 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4846 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4847 Use `user-error'.
4848 (eww-bookmark-mode-map): Add menu.
4849 (eww-render, eww-mode): Use `setq-local'.
4850 (eww-tool-bar-map): New variable.
4851 (eww-mode): Set `tool-bar-map'.
4852 (eww-view-source): Check for `html-mode' with `fboundp'.
4853
4854 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4855
4856 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4857 elements with text inside. Also remove debugging.
4858
4859 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4860
4861 * cus-start.el (all): Add ns-use-srgb-colorspace.
4862
4863 2013-12-21 Chong Yidong <cyd@gnu.org>
4864
4865 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4866 undefined. Thus, theme settings for undefined faces do not take
4867 effect until the faces are defined with defface, the same as with
4868 theme variables.
4869
4870 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4871 (face-spec-reset-face): Don't assign extra properties in temacs.
4872 (face-spec-recalc): Apply X resources too.
4873
4874 2013-12-21 Chong Yidong <cyd@gnu.org>
4875
4876 * faces.el (face-spec-set):
4877 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4878 * custom.el (defface): Doc fixes (Bug#16203).
4879
4880 * indent.el (indent-rigidly-map): Add docstring, and move commands
4881 into named functions.
4882 (indent-rigidly-left, indent-rigidly-right)
4883 (indent-rigidly-left-to-tab-stop)
4884 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4885 indentation direction based on bidi direction, and accumulate
4886 sequential commands in a single undo boundary.
4887 (indent-rigidly--pop-undo): New utility function.
4888
4889 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4890
4891 * faces.el (read-face-name): Require crm.el when using crm-separator.
4892
4893 2013-12-20 Daniel Colascione <dancol@dancol.org>
4894
4895 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4896 so that we don't reflow comments into the shebang line.
4897
4898 2013-12-20 Juri Linkov <juri@jurta.org>
4899
4900 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4901 a position when `dired-directory' is non-nil. Check integer
4902 positions with `integerp'.
4903 (toggle-save-place, save-places-to-alist): Add check for
4904 `dired-directory'.
4905 (save-place-find-file-hook): Check integer positions with
4906 `integerp'.
4907 (save-place-dired-hook): Use `dired-goto-file' when
4908 `dired-filename' is found in the assoc list. Check integer
4909 positions with `integerp'.
4910 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4911
4912 * dired.el (dired-initial-position-hook): Rename back from
4913 `dired-initial-point-hook'.
4914 (dired-initial-position): Rename `dired-initial-point-hook' to
4915 `dired-initial-position-hook'.
4916 (dired-file-name-at-point): Doc fix. (Bug#15329)
4917
4918 2013-12-20 Juri Linkov <juri@jurta.org>
4919
4920 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4921 (read-regexp-suggestions): New function.
4922 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4923 Use `read-regexp-suggestions'. Add non-empty default to history
4924 for empty input.
4925 (occur-read-regexp-defaults-function): Remove function.
4926 (occur-read-primary-args): Use `regexp-history-last' instead of
4927 `occur-read-regexp-defaults-function'.
4928
4929 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4930 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4931 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4932 `hi-lock-read-regexp-defaults-function'. Doc fix.
4933 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4934 with `find-tag-default-as-symbol-regexp'. Doc fix.
4935 (hi-lock-read-regexp-defaults): Remove function.
4936 (hi-lock-regexp-okay): Add check for null.
4937
4938 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4939 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4940
4941 * subr.el (find-tag-default-as-symbol-regexp): New function.
4942 (find-tag-default-as-regexp): Move symbol regexp formatting to
4943 `find-tag-default-as-symbol-regexp'.
4944
4945 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4946
4947 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4948 (Bug#14179)
4949
4950 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4951
4952 * calendar/todo-mode.el: New implementation of item insertion
4953 commands and key bindings.
4954 (todo-key-prompt): New face.
4955 (todo-insert-item): New command.
4956 (todo-insert-item--parameters): New defconst, replacing defvar
4957 todo-insertion-commands-args-genlist.
4958 (todo-insert-item--param-key-alist): New defconst, replacing
4959 defvar todo-insertion-commands-arg-key-list.
4960 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4961 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4962 (todo-insert-item--next-param): New functions.
4963 (todo-insert-item--args, todo-insert-item--argleft)
4964 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4965 New variables.
4966 (todo-key-bindings-t): Change binding of "i" from
4967 todo-insertion-map to todo-insert-item.
4968 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4969 (todo-insertion-command-name, todo-insertion-commands-names)
4970 (todo-define-insertion-command, todo-insertion-commands)
4971 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4972
4973 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4974
4975 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4976 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4977 eval-when-compile.
4978 (todo-move-category): Allow choosing a non-existing todo file to
4979 move the category to, and create that file.
4980 (todo-default-priority): New user option.
4981 (todo-set-item-priority): Use it.
4982 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4983 (desktop-restore-file-buffer): Declare.
4984 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4985 (todo-modes-set-2): Locally set desktop-save-buffer to
4986 todo-desktop-save-buffer.
4987 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4988 (auto-mode-alist): Add autoload cookie.
4989
4990 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4991
4992 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4993 helpers.el was a poor choice of name.
4994 (string-remove-prefix): New function.
4995 (string-remove-suffix): New function.
4996
4997 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4998
4999 Fix assignment for new window total sizes.
5000 * window.el (window--pixel-to-size): Remove function.
5001 (window--pixel-to-total-1, window--pixel-to-total):
5002 Fix calculation of new total sizes.
5003
5004 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5005
5006 * comint.el (comint-output-filter): Fix rear-nonsticky property
5007 placement (Bug#16010).
5008
5009 2013-12-20 Chong Yidong <cyd@gnu.org>
5010
5011 * faces.el (read-color): Minor fix for completion function.
5012
5013 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5014
5015 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5016 New option. (Bug#16182)
5017 (ruby-smie--indent-to-stmt-p): Use it.
5018 (ruby-smie-rules): Revert the logic in the handling of `when'.
5019 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5020 (ruby-deep-arglist, ruby-deep-indent-paren)
5021 (ruby-deep-indent-paren-style): Update docstrings to note that the
5022 vars don't have any effect with SMIE.
5023
5024 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5025
5026 * calc/calc.el (calc-enter, calc-pop): Use the variable
5027 `calc-context-sensitive-enter'.
5028
5029 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5030
5031 * net/shr.el (shr-insert): Protect against infloops in degenerate
5032 tables.
5033
5034 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5035
5036 * progmodes/octave.el (octave): Add link to manual and octave
5037 homepage.
5038 (octave-mode-menu): Link to octave-mode manual.
5039
5040 2013-12-20 Leo Liu <sdl.web@gmail.com>
5041
5042 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5043 insertion using skeleton-end-newline. (Bug#16138)
5044
5045 2013-12-20 Juri Linkov <juri@jurta.org>
5046
5047 * replace.el (occur-engine): Use `add-face-text-property'
5048 to add the face property to matches and titles. (Bug#14645)
5049
5050 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5051 the palette of other hi-lock colors.
5052 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5053
5054 2013-12-19 Juri Linkov <juri@jurta.org>
5055
5056 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5057 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5058 (minibuffer-history-symbol): Move variable declaration closer to
5059 its usage.
5060
5061 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5062 (Bug#14785)
5063
5064 2013-12-19 Juri Linkov <juri@jurta.org>
5065
5066 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5067 New function.
5068 (log-edit-hook): Add it to :options. (Bug#16170)
5069
5070 2013-12-19 Juri Linkov <juri@jurta.org>
5071
5072 * simple.el (eval-expression-print-format): Don't check for
5073 command names and the last command. Always display additional
5074 formats of the integer result in the echo area, and insert them
5075 to the current buffer only with a zero prefix arg.
5076 Display character when char-displayable-p is non-nil.
5077 (eval-expression): With a zero prefix arg, set `print-length' and
5078 `print-level' to nil, and insert the integer values from
5079 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5080
5081 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5082 `eval-last-sexp-arg-internal'. Doc fix.
5083 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5084 `eval-last-sexp-print-value'. Doc fix.
5085 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5086 Set `print-length' and `print-level' to nil when arg is zero.
5087 (eval-last-sexp): Doc fix.
5088 (eval-defun-2): Print the integer values from
5089 `eval-expression-print-format' at the end.
5090
5091 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5092 values from `eval-expression-print-format' at the end.
5093
5094 * ielm.el (ielm-eval-input): Print the integer
5095 values from `eval-expression-print-format' at the end.
5096
5097 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5098
5099 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5100 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5101
5102 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5105 (hl-line-highlight, global-hl-line-highlight): Use it.
5106 (hl-line-overlay): Use defvar-local.
5107
5108 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5109
5110 * term/ns-win.el: Require dnd.
5111 (global-map): Remove drag items.
5112 (ns-insert-text, ns-set-foreground-at-mouse)
5113 (ns-set-background-at-mouse):
5114 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5115 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5116 New functions.
5117
5118 2013-12-19 Glenn Morris <rgm@gnu.org>
5119
5120 * emacs-lisp/ert.el (ert-select-tests):
5121 Fix string/symbol mixup. (Bug#16121)
5122
5123 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5124
5125 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5126 keywords to their parent.
5127
5128 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5129
5130 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5131 first arg to be a string (fixed dead code), or an operator symbol.
5132 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5133 operator symbols.
5134 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5135 did nothing. Don't respond to `(:after ".")', it will be called
5136 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5137 change anything. Only return indentation for binary operators
5138 when they are hanging. De-dent opening paren when its parent is
5139 `.', otherwise it looks bad when the dot is not at bol or eol
5140 (bug#16182).
5141
5142 2013-12-19 Juri Linkov <juri@jurta.org>
5143
5144 * replace.el (query-replace-read-args): Split a non-negative arg
5145 and a negative arg into separate elements.
5146 (query-replace, query-replace-regexp, replace-string)
5147 (replace-regexp): Add arg `backward'. Doc fix.
5148 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5149 move point to the beginning of the match.
5150 (replace-search, replace-highlight): Use new arg `backward'
5151 to set the value of `isearch-forward'.
5152 (perform-replace): Add arg `backward' and use it to perform
5153 replacement backward. (Bug#14979)
5154
5155 * isearch.el (isearch-query-replace): Use a negative prefix arg
5156 to call `perform-replace' with a non-nil arg `backward'.
5157
5158 2013-12-18 Juri Linkov <juri@jurta.org>
5159
5160 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5161 to the default list. Move `log-edit-show-files' to the end.
5162 Add more available functions to options.
5163 (log-edit): Move default specific settings to
5164 `log-edit-insert-message-template'. Don't move point.
5165 (log-edit-insert-message-template): New function.
5166 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5167 (Bug#16170)
5168
5169 2013-12-18 Juri Linkov <juri@jurta.org>
5170
5171 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5172 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5173
5174 2013-12-18 Leo Liu <sdl.web@gmail.com>
5175
5176 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5177 (Bug#16186)
5178
5179 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5180
5181 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5182 formats for displaying file sizes when the -s switch is given.
5183 Instead, compute a separate format for displaying the size in
5184 blocks, which is displayed in addition to the "regular" size.
5185 When -h is given in addition to -s, produce size in blocks in
5186 human-readable form as well. (Bug#16179)
5187
5188 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5189
5190 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5191 Reference tables with ~\ref{...} instead of only \ref{...}.
5192
5193 2013-12-18 Chong Yidong <cyd@gnu.org>
5194
5195 * cus-edit.el (custom-magic-alist): Fix "themed" description
5196 (Bug#14348).
5197
5198 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5199 is non-nil, do not create a new entry in the symbol's theme-value
5200 or theme-face property; update theme-settings only (Bug#14664).
5201 (custom-available-themes): Doc fix.
5202
5203 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5204 (Bug#15674).
5205
5206 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5207
5208 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5209
5210 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5211 (Bug#13914).
5212
5213 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5214
5215 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5216
5217 2013-12-18 Glenn Morris <rgm@gnu.org>
5218
5219 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5220 * cus-start.el (load-prefer-newer): New option.
5221
5222 2013-12-18 Le Wang <l26wang@gmail.com>
5223
5224 * comint.el (comint-previous-matching-input-from-input):
5225 Retain point (Bug#13404).
5226
5227 2013-12-18 Chong Yidong <cyd@gnu.org>
5228
5229 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5230
5231 2013-12-18 Glenn Morris <rgm@gnu.org>
5232
5233 * mail/emacsbug.el (report-emacs-bug):
5234 Only mention enable-multibyte-characters if non-standard.
5235
5236 2013-12-17 Juri Linkov <juri@jurta.org>
5237
5238 * arc-mode.el (archive-extract-by-file): Check if directory exists
5239 before deletion to not show irrelevant errors if it doesn't exist.
5240
5241 2013-12-17 Juri Linkov <juri@jurta.org>
5242
5243 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5244 (Bug#14751)
5245
5246 * net/eww.el (browse-web): Add alias to `eww'.
5247 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5248 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5249
5250 * net/browse-url.el (browse-url-browser-function): Move `eww'
5251 closer to similar functions.
5252
5253 * startup.el (fancy-startup-screen, fancy-about-screen):
5254 Set browse-url-browser-function to eww-browse-url locally.
5255 (Bug#14751)
5256
5257 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5258
5259 * window.el (window--pixel-to-total): Remove unused `mini' var.
5260 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5261 (split-window): Remove unused `new' var.
5262 (window--display-buffer): Remove unused `frame' and `delta' vars.
5263 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5264 and display-width'.
5265
5266 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5267
5268 * dired.el (dired-mark-pop-up):
5269 * register.el (register-preview): Don't bind
5270 split-height-threshold here since it's now done in
5271 display-buffer-below-selected.
5272
5273 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5274
5275 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5276 xterm-rgb-convert-to-16bit.
5277 (rxvt-register-default-colors): Standardize with
5278 xterm-register-default-colors (Bug#14078).
5279
5280 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5281
5282 * simple.el (kill-region): Pass mark first, then point, so that
5283 kill-append works right (Bug#12819).
5284 (copy-region-as-kill, kill-ring-save): Likewise.
5285
5286 2013-12-17 Leo Liu <sdl.web@gmail.com>
5287
5288 * net/rcirc.el (rcirc-add-face):
5289 * eshell/em-prompt.el (eshell-emit-prompt):
5290 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5291 (Bug#16167)
5292
5293 2013-12-17 Chong Yidong <cyd@gnu.org>
5294
5295 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5296 Suggested by Xue Fuqiao.
5297
5298 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5299
5300 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5301
5302 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * net/shr.el (shr-insert-document): Remove unused var
5305 `shr-preliminary-table-render'.
5306 (shr-rescale-image): Remove unused arg `force'.
5307 (shr-put-image): Update calls accordingly.
5308 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5309
5310 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5311
5312 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5313 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5314 :close-all, to see which indentation method to use (Bug#16116).
5315 (smie-rules-function): Document the method :close-all.
5316
5317 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5318
5319 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5320
5321 * net/eww.el (eww-display-html): If we can't find the anchor we're
5322 looking for, then go to point-min.
5323
5324 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5325
5326 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5327 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5328 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5329 Expand dir too, in case it's relative.
5330
5331 2013-12-16 Juri Linkov <juri@jurta.org>
5332
5333 * desktop.el (desktop-auto-save-timeout): Change default to
5334 `auto-save-timeout'. Doc fix.
5335 (desktop-save): Skip the timestamp in desktop-saved-frameset
5336 when checking for auto-save changes.
5337 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5338 `desktop-auto-save' is called repeatedly by the idle timer.
5339 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5340 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5341 (Bug#15331)
5342
5343 2013-12-16 Juri Linkov <juri@jurta.org>
5344
5345 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5346 (Bug#16035)
5347 (isearch-pre-command-hook): Check `this-command' for symbolp.
5348
5349 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5352
5353 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5354
5355 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5356 (cfengine3--current-function): Bring in the current-function
5357 functionality from `cfengine3--current-word'.
5358 (cfengine3-completion-function): Bring in the
5359 bounds-of-current-word functionality from
5360 `cfengine3--current-word'.
5361
5362 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5363
5364 * window.el (display-buffer-below-selected):
5365 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5366
5367 2013-12-16 Leo Liu <sdl.web@gmail.com>
5368
5369 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5370 Remove NOMSG arg and all uses changed.
5371
5372 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5373
5374 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5375 (cua--deactivate-rectangle): Don't deactivate the mark.
5376 (cua-set-rectangle-mark): Don't set mark-active since
5377 cua--activate-rectangle already does it for us.
5378 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5379 non-rectangular region.
5380
5381 * emulation/cua-base.el (cua-repeat-replace-region):
5382 Use with-current-buffer.
5383
5384 * net/gnutls.el: Use cl-lib.
5385 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5386
5387 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5388
5389 * emacs-lisp/package.el (package-built-in-p): Support both
5390 built-in and the package.el converted package descriptions.
5391 (package-show-package-list): Allow keywords.
5392 (package-keyword-button-action): Use it instead of
5393 `finder-list-matches'.
5394 (package-menu-filter-interactive): Interactive filtering (by
5395 keyword) function.
5396 (package-menu--generate): Support keywords and change keymappings
5397 and headers when they are given.
5398 (package--has-keyword-p): Helper function.
5399 (package-menu--refresh): Use it.
5400 (package--mapc): Helper function.
5401 (package-all-keywords): Use it.
5402 (package-menu-mode-map): Set up menu items and keybindings to
5403 provide a filtering UI.
5404
5405 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5406
5407 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5408 the behavior when a certificate fails validation. Defaults to
5409 old behavior: never abort, just warn.
5410 (gnutls-negotiate): Use it.
5411
5412 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5413
5414 * window.el (display-buffer-below-selected): Never split window
5415 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5416
5417 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5418
5419 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5420 (package-buffer-info): Use it (bug#15108).
5421
5422 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5423
5424 * icomplete.el (icomplete-completions): Make sure the prefix is already
5425 displayed elsewhere before hiding it (bug#16219).
5426
5427 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5428
5429 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5430 open-paren tokens when preceded by a open-paren, too.
5431 (ruby-smie-rules): Handle virtual indentation after open-paren
5432 tokens specially. If there is code between it and eol, return the
5433 column where is starts (Bug#16118).
5434
5435 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5436
5437 * progmodes/cfengine.el: Fix `add-hook' doc.
5438 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5439 (cfengine3--current-word): Fix parameters.
5440 (cfengine3-make-syntax-cache): Simplify further.
5441 (cfengine3-completion-function, cfengine3--current-function):
5442 Use `assq' for symbols.
5443 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5444
5445 2013-12-13 Glenn Morris <rgm@gnu.org>
5446
5447 * loadup.el (load-path): Warn if site-load or site-init changes it.
5448 No more need to reset it when bootstrapping.
5449
5450 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5451
5452 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5453 locations for cf-promises.
5454 (cfengine-mode-syntax-functions-regex): New caching variable.
5455 (cfengine3-fallback-syntax): Fallback syntax for cases where
5456 cf-promises doesn't run.
5457 (cfengine3--current-word): Reimplement using
5458 `cfengine-mode-syntax-functions-regex'.
5459 (cfengine3-completion-function, cfengine3--current-function):
5460 Use `cfengine3-make-syntax-cache' directly.
5461 (cfengine3-clear-syntax-cache): New function.
5462 (cfengine3-make-syntax-cache): Simplify and create
5463 `cfengine-mode-syntax-functions-regex' on demand.
5464 (cfengine3-format-function-docstring): Don't call
5465 `cfengine3-make-syntax-cache' explicitly.
5466
5467 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5468
5469 Fix windmove-find-other-window broken after pixelwise resizing
5470 (Bug#16017).
5471 * windmove.el (windmove-other-window-loc): Revert change from
5472 2013-12-04.
5473 (windmove-find-other-window): Call window-in-direction.
5474 * window.el (window-in-direction): New arguments SIGN, WRAP and
5475 MINI to emulate original windmove-find-other-window behavior.
5476
5477 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5478
5479 * simple.el (blink-matching--overlay): New variable.
5480 (blink-matching-open): Instead of moving point, highlight the
5481 matching paren with an overlay
5482 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5483
5484 * faces.el (paren-showing-faces, show-paren-match)
5485 (show-paren-mismatch): Move from paren.el.
5486
5487 2013-12-13 Leo Liu <sdl.web@gmail.com>
5488
5489 * indent.el (indent-region): Disable progress reporter in
5490 minibuffer. (Bug#16108)
5491
5492 * bindings.el (visual-order-cursor-movement): Fix version.
5493
5494 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5495
5496 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5497 Also match after beginning of line.
5498 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5499 files. Thanks to Russell Sim. (Bug#15378)
5500
5501 2013-12-13 Juri Linkov <juri@jurta.org>
5502
5503 * simple.el <Keypad support>: Remove key bindings duplicated
5504 with bindings.el. (Bug#14397)
5505
5506 2013-12-13 Juri Linkov <juri@jurta.org>
5507
5508 * comint.el (comint-mode-map): Replace `delete-char' with
5509 `delete-forward-char'. (Bug#16109)
5510
5511 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5512
5513 * progmodes/python.el (python-indent-calculate-indentation):
5514 Fix de-denters cornercase. (Bug#15731)
5515
5516 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5519 (advice--make): Pay attention to `depth'.
5520 (advice--make-1): Don't autoload commands eagerly.
5521 * emacs-lisp/elp.el (elp-instrument-function):
5522 * emacs-lisp/trace.el (trace-function-internal):
5523 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5524
5525 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5526
5527 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5528
5529 * term/w32-win.el (w32-handle-dropped-file):
5530 * startup.el (normal-top-level):
5531 * net/browse-url.el (browse-url-file-url):
5532 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5533 decode file names using 'utf-8' rather than
5534 file-name-coding-system.
5535
5536 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5537
5538 * progmodes/python.el (python-indent-context)
5539 (python-indent-calculate-indentation): Fix auto-identation
5540 behavior for comment blocks. (Bug#15916)
5541
5542 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5543
5544 * progmodes/python.el (python-indent-calculate-indentation):
5545 When determining indentation, don't treat "return", "pass", etc., as
5546 operators when they are just string constituents. (Bug#15812)
5547
5548 2013-12-12 Juri Linkov <juri@jurta.org>
5549
5550 * uniquify.el (uniquify-buffer-name-style): Change default to
5551 `post-forward-angle-brackets'.
5552
5553 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5554 `uniquify'. Change default to `post-forward-angle-brackets'.
5555
5556 2013-12-11 Glenn Morris <rgm@gnu.org>
5557
5558 * emacs-lisp/package.el (finder-list-matches):
5559 Autoload rather than falsely declaring.
5560
5561 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5562
5563 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5564 (eww-mode-map): Use them.
5565
5566 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5567
5568 * window.el (display-buffer-in-side-window): Fix doc-string
5569 (Bug#16115).
5570
5571 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5572
5573 * vc/vc-git.el: Silence byte-compiler warnings.
5574 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5575 (log-edit-set-header): Declare.
5576
5577 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5578
5579 * Makefile.in (custom-deps, finder-data): Run output file names
5580 through unmsys--file-name. (Bug#16099)
5581
5582 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5585 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5586
5587 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5588 instead of deleting the selection "by hand" (bug#16098).
5589 Rely on insert-for-yank to yank rectangles.
5590 (cua-highlight-region-shift-only): Mark obsolete.
5591 (cua-mode): Don't enable/disable transient-mark-mode,
5592 shift-select-mode (cua-mode works both with and without them), and
5593 pc-selection-mode (obsolete).
5594 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5595 (cua--deactivate-rectangle): Deactivate it.
5596
5597 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5598 (delete-selection-helper): Make sure yank starts at the top of the
5599 deleted region.
5600 (minibuffer-keyboard-quit): Use region-active-p.
5601
5602 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5603
5604 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5605 to `delete' (bug#16109).
5606
5607 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5608
5609 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5610 info manual and show keybindings and set `:group' keyword.
5611
5612 2013-12-11 Juri Linkov <juri@jurta.org>
5613
5614 * delsel.el (delete-active-region): Let-bind `this-command'
5615 to prevent `kill-region' from changing its original value.
5616 (delete-selection-helper): Handle `overwrite-mode' for the type
5617 `kill' exactly the same way as for the type `t'.
5618 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5619 Support more commands. (Bug#13312)
5620
5621 2013-12-11 Juri Linkov <juri@jurta.org>
5622
5623 * bindings.el: Map kp keys to non-kp keys systematically
5624 with basic modifiers control, meta and shift. (Bug#14397)
5625
5626 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5627
5628 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5629 "Close browser" menu items. Fix wrong function of "List
5630 bookmarks".
5631
5632 2013-12-11 Juri Linkov <juri@jurta.org>
5633
5634 * misearch.el (multi-isearch-buffers): Set the value of
5635 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5636 arg of isearch-forward to t.
5637 (multi-isearch-buffers-regexp): Set the value of
5638 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5639 arg of isearch-forward-regexp to t.
5640 (multi-isearch-files): Set the value of
5641 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5642 arg of isearch-forward to t.
5643 (multi-isearch-files-regexp): Set the value of
5644 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5645 arg of isearch-forward-regexp to t. (Bug#16035)
5646
5647 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5648 arg of isearch-forward to t.
5649 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5650 arg of isearch-forward-regexp to t.
5651 (dired-isearch-filter-filenames): Remove unnecessary check for
5652 `dired-isearch-filenames'.
5653
5654 * comint.el (comint-history-isearch-backward):
5655 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5656 (comint-history-isearch-backward-regexp):
5657 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5658
5659 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5660
5661 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5662 unmsys--file-name. (Bug#16099)
5663
5664 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5665
5666 * emacs-lisp/package.el (package-keyword-button-action):
5667 Remove finder.el require dependency.
5668
5669 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5670
5671 * emacs-lisp/package.el: Require finder.el.
5672 (describe-package-1): Add keyword buttons.
5673 (package-make-button): New convenience function.
5674 (package-keyword-button-action): Keyword button action using
5675 `finder-list-matches'.
5676
5677 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5678
5679 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5680 last commit.
5681
5682 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5683
5684 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5685 symlinked files.
5686
5687 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5688
5689 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5690 after the end of a percent literal.
5691
5692 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5693
5694 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5695 Handle caret-delimited strings (Bug#16079).
5696
5697 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5698
5699 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5700 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5701 `ruby-parse-partial' (Bug#16078).
5702
5703 2013-12-09 Leo Liu <sdl.web@gmail.com>
5704
5705 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5706
5707 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5708
5709 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5710 (js-switch-indent-offset): New option.
5711 (js--proper-indentation): Use it. And handle the case when
5712 "default" is actually a key in an object literal.
5713 (js--same-line): New function.
5714 (js--multi-line-declaration-indentation): Use it.
5715 (js--indent-in-array-comp, js--array-comp-indentation):
5716 New functions.
5717 (js--proper-indentation): Use them, to handle array comprehension
5718 continuations.
5719
5720 2013-12-08 Leo Liu <sdl.web@gmail.com>
5721
5722 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5723 (flymake-make-overlay): Remove arg MOUSE-FACE.
5724 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5725
5726 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5729 New function.
5730 (redisplay-highlight-region-function): Use it.
5731
5732 * emulation/cua-base.el (cua--explicit-region-start)
5733 (cua--last-region-shifted): Remove.
5734 (cua--deactivate): Use deactivate-mark.
5735 (cua--pre-command-handler-1): Don't handle shift-selection.
5736 (cua--post-command-handler-1): Don't change transient-mark-mode.
5737 (cua--select-keymaps): Use region-active-p rather than
5738 cua--explicit-region-start or cua--last-region-shifted.
5739 (cua-mode): Enable shift-select-mode.
5740
5741 2013-12-08 Leo Liu <sdl.web@gmail.com>
5742
5743 * progmodes/flymake.el (flymake-popup-current-error-menu):
5744 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5745 (flymake-posn-at-point-as-event, flymake-popup-menu)
5746 (flymake-make-emacs-menu): Remove. (Bug#16077)
5747
5748 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * rect.el (rectangle-mark-mode): Activate mark even if
5751 transient-mark-mode is off (bug#16066).
5752 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5753 is > mark and at bolp.
5754
5755 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5756 (region-extract-function): Use it.
5757 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5758 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5759 Delete functions.
5760 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5761 kill-ring-save, kill-region, delete-char, delete-forward-char.
5762 Ignore self-insert-iso.
5763
5764 * emulation/cua-gmrk.el (cua--init-global-mark):
5765 Ignore `self-insert-iso'.
5766
5767 * emulation/cua-base.el (cua--prefix-copy-handler)
5768 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5769 checking cua--rectangle.
5770 (cua-delete-region): Use region-extract-function.
5771 (cua-replace-region): Delete function.
5772 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5773 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5774 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5775 (cua--init-keymaps): Don't remap delete-selection commands.
5776 (cua-mode): Use delete-selection-mode instead of rolling our own
5777 (bug#16085).
5778
5779 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5780 Obey region-extract-function.
5781
5782 Make registers and delete-selection-mode work on rectangles.
5783 * register.el (describe-register-1): Don't modify the register's value.
5784 (copy-to-register): Obey region-extract-function.
5785 * delsel.el (delete-active-region): Obey region-extract-function.
5786
5787 2013-12-08 Leo Liu <sdl.web@gmail.com>
5788
5789 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5790 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5791 (flymake-compilation-prevents-syntax-check)
5792 (flymake-start-syntax-check-on-newline)
5793 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5794 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5795 (flymake-xml-program, flymake-master-file-dirs)
5796 (flymake-master-file-count-limit)
5797 (flymake-allowed-file-name-masks): Relocate.
5798 (flymake-makehash, flymake-float-time)
5799 (flymake-replace-regexp-in-string, flymake-split-string)
5800 (flymake-get-temp-dir): Remove.
5801 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5802 (flymake-current-row, flymake-selected-frame)
5803 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5804 related functions. (Bug#16077)
5805
5806 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5807
5808 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5809
5810 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5811
5812 * help-fns.el (describe-function-1): Use new advice-* functions
5813 rather than old ad-* functions. Fix function type description and
5814 source links for advised functions and subrs.
5815
5816 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5817
5818 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5819
5820 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5821
5822 * progmodes/compile.el (compilation-start):
5823 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5824
5825 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5826 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5827
5828 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5829
5830 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5831 Touch up the last change.
5832
5833 2013-12-06 Leo Liu <sdl.web@gmail.com>
5834
5835 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5836 (inferior-octave-startup): Always use "octave> " for prompt.
5837 (octave-goto-function-definition)
5838 (octave-sync-function-file-names)
5839 (octave-find-definition-default-filename): Remove redundant backquotes.
5840
5841 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5842
5843 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5844 syntax for `?'.
5845 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5846 where appropriate already.
5847 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5848 end of method names (Bug#15874).
5849
5850 2013-12-06 Juri Linkov <juri@jurta.org>
5851
5852 * isearch.el (isearch--saved-overriding-local-map):
5853 New internal variable.
5854 (isearch-mode): Set it to the initial value of
5855 `overriding-terminal-local-map'.
5856 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5857 with `isearch--saved-overriding-local-map'. (Bug#16035)
5858
5859 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5860
5861 * progmodes/octave.el (inferior-octave-completion-table):
5862 Turn back into function, use `completion-table-with-cache'
5863 (Bug#11906). Update all references.
5864
5865 * minibuffer.el (completion-table-with-cache): New function.
5866
5867 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5868
5869 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5870
5871 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5872
5873 * net/eww.el (eww-current-source): New variable to store page
5874 source.
5875 (eww-display-html, eww-mode, eww-save-history)
5876 (eww-restore-history): Use it.
5877 (eww-view-source): New command to view page source.
5878 Opportunistically uses `html-mode' to highlight the buffer.
5879 (eww-mode-map): Install it.
5880
5881 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5882
5883 * net/dbus.el (dbus-unregister-service)
5884 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5885 Fix docstring.
5886 (dbus-unregister-service): Skip :serial entries in
5887 `dbus-registered-objects-table'.
5888 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5889
5890 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5891
5892 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5893 around keywords with extra `split-string' argument.
5894
5895 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5896
5897 * windmove.el (windmove-other-window-loc): Handle navigation
5898 between windows (excluding the minibuffer window - Bug#16017).
5899
5900 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5901
5902 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5903 in D-Bus type syntax.
5904 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5905 preserve unibyte strings. (Bug#16048)
5906
5907 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5910 Call force-mode-line-update is the proper buffer (bug#16042).
5911
5912 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5913
5914 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5915 `log-edit-remember-comment', make argument optional. Adjust all
5916 callers.
5917 (log-edit-mode): Add `log-edit-remember-comment' to
5918 `kill-buffer-hook' locally.
5919 (log-edit-kill-buffer): Don't remember comment explicitly since
5920 the buffer is killed anyway.
5921
5922 2013-12-04 Juri Linkov <juri@jurta.org>
5923
5924 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5925 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5926
5927 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5928
5929 * notifications.el (notifications-close-notification): Call the
5930 D-Bus method with ID being a `:uint32'. (Bug#16030)
5931
5932 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5933
5934 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5935
5936 2013-12-03 Juri Linkov <juri@jurta.org>
5937
5938 * progmodes/compile.el (compilation-start): Rename window alist
5939 entry `no-display-ok' to `allow-no-window'.
5940
5941 * simple.el (shell-command): Add window alist entry
5942 `allow-no-window' to `display-buffer'.
5943 (async-shell-command): Doc fix.
5944
5945 * window.el (display-buffer-no-window): New action function.
5946 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5947
5948 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5949
5950 * vc/log-edit.el (log-edit-set-header): Extract from
5951 `log-edit-toggle-header'.
5952 (log-edit-extract-headers): Separate the summary, when extracted
5953 from header, from the rest of the message with an empty line.
5954
5955 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5956 line, if present, to the Summary header.
5957
5958 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5961 in current-buffer (bug#16029).
5962
5963 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5964
5965 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5966 (debugger-mode-map): Bind it.
5967 (debugger--backtrace-base): New function.
5968 (debugger-eval-expression): Use it.
5969 (debugger-frame-number): Skip local vars when present.
5970 (debugger--locals-visible-p, debugger--insert-locals)
5971 (debugger--show-locals, debugger--hide-locals): New functions.
5972
5973 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5974
5975 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5976 "LC_ALL".
5977 (tramp-get-remote-locale): New defun.
5978 (tramp-open-connection-setup-interactive-shell): Use it.
5979
5980 2013-12-02 Leo Liu <sdl.web@gmail.com>
5981
5982 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5983
5984 * progmodes/sh-script.el (sh-shell-process):
5985 * progmodes/octave.el (inferior-octave-process-live-p):
5986 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5987 (gdb-inferior-io-sentinel):
5988 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5989
5990 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5991
5992 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5993 `save-selected-window' to `log-edit-hide-buf'. This makes
5994 `log-edit-show-files' idempotent.
5995 (log-edit-show-files): Mark the new window as dedicated.
5996
5997 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5998
5999 * vc/log-edit.el (log-edit-mode-map): Add binding for
6000 `log-edit-kill-biffer'.
6001 (log-edit-hide-buf): Add a FIXME comment.
6002 (log-edit-add-new-comment): New function, extracted from
6003 `log-edit-done'.
6004 (log-edit-done, log-edit-add-to-changelog): Use it.
6005 (log-edit-kill-buffer): New command.
6006
6007 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6008
6009 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6010 instead of killing the buffer.
6011
6012 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6013
6014 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6015
6016 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6017
6018 * net/eww.el (eww-form-checkbox-selected-symbol)
6019 (eww-form-checkbox-symbol): New customizable variable.
6020 (eww-form-checkbox, eww-toggle-checkbox):
6021 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6022
6023 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6024 (shr--get-media-pref, shr--extract-best-source): New function.
6025 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6026 no :src tag was specified.
6027
6028 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6029 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6030 Use \\` to match beginning of string instead of ^.
6031 (eww-browse-with-external-browser): Provide optional URL parameter.
6032 (eww-render): Set `eww-current-title' back to "".
6033
6034 * net/shr.el (shr-tag-video): Display content for video if no
6035 poster is available.
6036 (shr-tag-audio): Add support for <audio> tag.
6037
6038 * net/eww.el (eww-text-input-types): New const.
6039 (eww-process-text-input): Treat input types in
6040 `eww-text-input-types' as text.
6041
6042 * net/shr.el (shr-tag-table): Fix comment typo.
6043
6044 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6045
6046 * net/eww.el (eww-follow-link): New command to avoid reloading
6047 pages when we follow #target links (bug#15243).
6048 (eww-quit): Special mode buffers shouldn't query before exiting.
6049
6050 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6051
6052 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6053 forms.
6054
6055 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6056
6057 * net/eww.el (eww-restore-history): Update the window title after
6058 moving in the history.
6059 (eww-current-dom): New variable used to save the current DOM.
6060
6061 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6062
6063 * vc/log-edit.el (log-edit-mode-map): Add binding for
6064 `log-edit-beginning-of-line'.
6065 (log-edit-setup-add-author): New user option.
6066 (log-edit-beginning-of-line): New command.
6067 (log-edit): Move major mode call above the contents setup so that
6068 the local variable values are already applied.
6069 (log-edit): Only insert "Author: " when
6070 `log-edit-setup-add-author' is non-nil.
6071 (log-edit): When SETUP is non-nil, position point after ": "
6072 instead of point-min.
6073
6074 2013-12-01 Glenn Morris <rgm@gnu.org>
6075
6076 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6077
6078 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6079
6080 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6081 redisplay to make sure the initial frame gets a chance to become
6082 visible. (Bug#16014)
6083
6084 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6085
6086 Support resizing frames and windows pixelwise.
6087 * cus-start.el (frame-resize-pixelwise)
6088 (window-resize-pixelwise): New entries.
6089 * emacs-lisp/debug.el (debug): Use window-total-height instead
6090 of window-total-size.
6091 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6092 * help.el (describe-bindings-internal): Use help-buffer as
6093 argument for with-help-window.
6094 (temp-buffer-max-width): New option.
6095 (resize-temp-buffer-window, help-window-setup)
6096 (with-help-window): Rewrite.
6097 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6098 dragging dividers.
6099 * window.el (frame-char-size, window-min-pixel-height)
6100 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6101 (window-min-pixel-width, window-safe-min-pixel-size)
6102 (window-combination-p, window-safe-min-size)
6103 (window-resizable-p, window--size-to-pixel)
6104 (window--pixel-to-size, window--resize-apply-p): New functions.
6105 (window-safe-min-height): Fix doc-string.
6106 (window-size, window-min-size, window--min-size-1)
6107 (window-sizable, window-sizable-p, window--min-delta-1)
6108 (window-min-delta, window--max-delta-1, window-max-delta)
6109 (window--resizable, window--resizable-p, window-resizable)
6110 (window-full-height-p, window-full-width-p, window-at-side-p)
6111 (window--in-direction-2, window-in-direction)
6112 (window--resize-reset-1, window--resize-mini-window)
6113 (window-resize, window-resize-no-error)
6114 (window--resize-child-windows-normal)
6115 (window--resize-child-windows, window--resize-siblings)
6116 (window--resize-this-window, window--resize-root-window)
6117 (window--resize-root-window-vertically)
6118 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6119 (maximize-window, minimize-window, delete-window)
6120 (quit-restore-window, window-split-min-size, split-window)
6121 (balance-windows-2, balance-windows)
6122 (balance-windows-area-adjust, balance-windows-area)
6123 (window--state-get-1, window-state-get, window--state-put-1)
6124 (window--state-put-2, window-state-put)
6125 (display-buffer-record-window, window--display-buffer):
6126 Make functions handle pixelwise sizing of windows.
6127 (display-buffer--action-function-custom-type)
6128 (display-buffer-fallback-action):
6129 Add display-buffer-in-previous-window.
6130 (display-buffer-use-some-window): Resize window to height it had
6131 before.
6132 (fit-window-to-buffer-horizontally): New option.
6133 (fit-frame-to-buffer): Describe new values.
6134 (fit-frame-to-buffer-bottom-margin): Replace with
6135 fit-frame-to-buffer-margins.
6136 (window--sanitize-margin): New function.
6137 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6138 using window-text-pixel-size.
6139
6140 2013-11-30 Glenn Morris <rgm@gnu.org>
6141
6142 * emacs-lisp/bytecomp.el (byte-compile-form):
6143 Make the `interactive-only' warning like the `obsolete' one.
6144 * comint.el (comint-run):
6145 * files.el (insert-file-literally, insert-file):
6146 * replace.el (replace-string, replace-regexp):
6147 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6148 (goto-line, insert-buffer, next-line, previous-line):
6149 Tweak `interactive-only' spec.
6150
6151 Stop keeping (most) generated cedet grammar files in the repository.
6152 * Makefile.in (semantic): New.
6153 (compile-main): Depend on semantic.
6154
6155 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6158 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6159
6160 * uniquify.el (uniquify-buffer-name-style): Change default.
6161
6162 * loadup.el: Preload "uniquify".
6163
6164 * time.el (display-time-update): Update all mode lines (bug#15999).
6165
6166 * electric.el (electric-indent-mode): Enable by default.
6167 * loadup.el: Preload "electric".
6168
6169 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6170
6171 * emacs-lisp/helpers.el (string-empty-p): New function.
6172 (string-blank-p): New function.
6173
6174 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6175
6176 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6177 (Bug#14029).
6178
6179 2013-11-29 Andreas Politz <politza@fh-trier.de>
6180 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6181 allow non-lambda lists as functions.
6182 (imenu--in-alist): Don't recurse into non-subalists.
6183 (imenu): Don't pass function itself as an argument (Bug#14029).
6184
6185 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6186
6187 * progmodes/python.el (python-mode-map): Remove binding for ":".
6188 (python-indent-electric-colon): Remove command.
6189 (python-indent-post-self-insert-function): Integrate the previous code
6190 of python-indent-electric-colon. Make it conditional on
6191 electric-indent-mode.
6192 (python-mode): Add ?: to electric-indent-chars.
6193 Move python-indent-post-self-insert-function to the end of
6194 post-self-insert-hook.
6195
6196 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * doc-view.el (doc-view-goto-page): Update mode-line.
6199
6200 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6201
6202 2013-11-27 Glenn Morris <rgm@gnu.org>
6203
6204 * international/charprop.el, international/uni-bidi.el:
6205 * international/uni-category.el, international/uni-combining.el:
6206 * international/uni-comment.el, international/uni-decimal.el:
6207 * international/uni-decomposition.el, international/uni-digit.el:
6208 * international/uni-lowercase.el, international/uni-mirrored.el:
6209 * international/uni-name.el, international/uni-numeric.el:
6210 * international/uni-old-name.el, international/uni-titlecase.el:
6211 * international/uni-uppercase.el:
6212 Remove generated files from VCS repository.
6213
6214 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6215
6216 * filenotify.el (file-notify-add-watch): Don't special-case
6217 w32notify when computing the directory to watch.
6218
6219 2013-11-27 Glenn Morris <rgm@gnu.org>
6220
6221 Make bootstrap without generated uni-*.el files possible again.
6222 * loadup.el: Update command-line-args checking for unidata-gen.
6223 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6224 * composite.el, international/characters.el:
6225 Handle unicode tables being undefined.
6226
6227 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6228 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6229 (compile-main): Depend on leim rule.
6230 (leim): New rule.
6231 * loadup.el: Move leim-list.el to leim/ subdirectory.
6232 * startup.el (normal-top-level): No more leim directory.
6233 * international/ja-dic-cnv.el (skkdic-convert):
6234 Disable version-control and autoloads in output files.
6235 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6236 Disable version-control and autoloads in output files.
6237 * leim/quail: Move here from ../leim.
6238 * leim/quail/hangul.el (hangul-input-method-activate):
6239 Add autoload cookie.
6240 (generated-autoload-load-name): Set file-local value.
6241 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6242 (generated-autoload-load-name): Set file-local value.
6243
6244 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6245
6246 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6247 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6248 (eww-quit): Ask confirmation before quitting eww.
6249
6250 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6251
6252 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6253 reading output from Diff on MS-Windows and MS-DOS.
6254
6255 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6256
6257 * emacs-lisp/helpers.el (string-reverse): New function.
6258
6259 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6260
6261 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6262 names on MS Windows, like "/[::1]:".
6263
6264 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6265 SWITCHES.
6266
6267 2013-11-26 Glenn Morris <rgm@gnu.org>
6268
6269 * progmodes/python.el (python-indent-guess-indent-offset):
6270 Avoid corner-case error. (Bug#15975)
6271
6272 Preload leim-list.el. (Bug#4789)
6273 * loadup.el: Load leim-list.el when found.
6274 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6275
6276 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6277
6278 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6279
6280 * emacs-lisp/helpers.el (string-join): New function.
6281
6282 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6283
6284 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6285 Mark as obsolete and replace it with a symbol property.
6286 (byte-compile-form): Use new 'interactive-only property.
6287 * comint.el, files.el, replace.el, simple.el:
6288 Apply new 'interactive-only properly.
6289
6290 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6291
6292 * window.el (display-buffer-at-bottom): Make sure that
6293 split-window-sensibly creates the new window on bottom
6294 (Bug#15961).
6295
6296 2013-11-23 David Kastrup <dak@gnu.org>
6297
6298 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6299 on the conflict markers when available.
6300 (smerge--get-marker): New function.
6301 (smerge-end-re, smerge-base-re): Add subgroup.
6302
6303 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * frame.el (handle-focus-in, handle-focus-out): Add missing
6306 interactive spec.
6307
6308 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6309
6310 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6311 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6312
6313 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6314
6315 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6316 (gomoku--last-pos): New var.
6317 (gomoku--intangible-chars): New const.
6318 (gomoku--intangible): New function.
6319 (gomoku-mode): Use it. Derive from special-mode.
6320 (gomoku-move-up): Adjust line count.
6321 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6322 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6323 Simplify accordingly.
6324
6325 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6326 Remove blink-cursor code.
6327 (blink-cursor-timer-function, blink-cursor-suspend):
6328 Don't special-case GUIs.
6329 (blink-cursor-mode): Use focus-in/out-hook.
6330
6331 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6332
6333 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6334 work when annotation is invisible (Bug#13886).
6335
6336 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6337
6338 * json.el (json-alist-p): Only return non-nil if the alist has
6339 simple keys (Bug#13518).
6340
6341 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6342
6343 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6344 when control-statement is the first statement in a buffer (Bug#15956).
6345
6346 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6347
6348 * imenu.el (imenu-generic-skip-comments-and-strings):
6349 New option (Bug#15560).
6350 (imenu--generic-function): Use it.
6351
6352 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6353
6354 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6355 (Bug#13898)
6356
6357 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6358
6359 * emacs-lisp/helpers.el: Add some string helpers.
6360 (string-trim-left): Removes leading whitespace.
6361 (string-trim-right): Removes trailing whitespace.
6362 (string-trim): Removes leading and trailing whitespace.
6363
6364 * subr.el (string-suffix-p): New function.
6365
6366 2013-11-23 Glenn Morris <rgm@gnu.org>
6367
6368 * progmodes/python.el (python-shell-send-file):
6369 Add option to delete file when done. (Bug#15647)
6370 (python-shell-send-string, python-shell-send-region): Use it.
6371
6372 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6373
6374 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6375 to set buffer-read-only to t, never to nil. (Bug#15938)
6376
6377 * textmodes/tex-mode.el (latex-noindent-environments):
6378 Add safe-local-variable property. (Bug#15936)
6379
6380 2013-11-23 Glenn Morris <rgm@gnu.org>
6381
6382 * textmodes/enriched.el (enriched-mode): Doc fix.
6383 * emacs-lisp/authors.el (authors-renamed-files-alist):
6384 Add enriched.doc -> enriched.txt.
6385
6386 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6387
6388 2013-11-22 Leo Liu <sdl.web@gmail.com>
6389
6390 * progmodes/octave.el (inferior-octave-startup): Spit out error
6391 message.
6392
6393 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6394
6395 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6396 Improve docstring.
6397 Add :version.
6398 (ruby-encoding-magic-comment-style): Add :version.
6399
6400 2013-11-22 Leo Liu <sdl.web@gmail.com>
6401
6402 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6403 (Bug#15076)
6404 (octave-help-mode): Adapt to change to help-mode-finish to use
6405 derived-mode-p on 2013-09-17.
6406 (inferior-octave-prompt): Also match octave-gui.
6407 (octave-kill-process): Don't ask twice. (Bug#10564)
6408
6409 2013-11-22 Leo Liu <sdl.web@gmail.com>
6410
6411 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6412 (inferior-octave-startup, inferior-octave-check-process)
6413 (inferior-octave-track-window-width-change)
6414 (octave-completion-at-point, octave-eldoc-function): Use it.
6415 (octave-kill-process): Provide confirmation. (Bug#10564)
6416
6417 2013-11-21 Leo Liu <sdl.web@gmail.com>
6418
6419 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6420 Fix obsolete variable comment-use-global-state.
6421
6422 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6423
6424 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6425 Add `octave-source-file'.
6426 (octave-source-file): New function. (Bug#15935)
6427
6428 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6429
6430 * net/eww.el (eww-local-regex): New variable.
6431 (eww): Use it to detect localhost and similar.
6432
6433 2013-11-21 Leo Liu <sdl.web@gmail.com>
6434
6435 Add completion for command `ag'.
6436 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6437 (pcomplete/ag): New function.
6438 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6439
6440 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6441
6442 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6443 (bug#14646).
6444 (make-obsolete): Remove interactive spec.
6445
6446 2013-11-21 Glenn Morris <rgm@gnu.org>
6447
6448 * startup.el (command-line-1): Use path-separator with -L.
6449
6450 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6451
6452 * emacs-lisp/package.el (describe-package-1): Add package archive
6453 to shown fields.
6454
6455 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6456
6457 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6458 Change default to "# encoding: %s" to differentiate it from the
6459 default Ruby encoding comment template.
6460
6461 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6462
6463 * ses.el (ses-mode): Doc fix. (Bug#14748)
6464
6465 2013-11-20 Leo Liu <sdl.web@gmail.com>
6466
6467 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6468
6469 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6470
6471 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6472 when rebase or bisect are in progress.
6473
6474 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6475
6476 * filenotify.el (file-notify-add-watch): Doc fix.
6477
6478 2013-11-19 Leo Liu <sdl.web@gmail.com>
6479
6480 * obsolete/rcompile.el: Mark obsolete.
6481
6482 * progmodes/compile.el (compilation-start)
6483 (compilation-goto-locus, compilation-find-file):
6484 Pass no-display-ok and handle nil value from display-buffer.
6485 (Bug#13594)
6486
6487 * window.el (display-buffer-alist, display-buffer): Document the
6488 new parameter no-display-ok. Return either a window or nil
6489 but never a non-window value.
6490
6491 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6492
6493 * electric.el (electric-indent-mode-map): Remove.
6494 (electric-indent-mode): Change the global-map instead (bug#15915).
6495
6496 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6497 Use add-function.
6498
6499 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * emacs-lisp/nadvice.el (remove-function): Align with
6502 add-function's behavior.
6503
6504 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6505 (gdb--string-regexp): New constant.
6506 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6507 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6508 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6509 submatch 1.
6510 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6511 Adjust use accordingly.
6512 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6513
6514 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6515
6516 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6517 interpolation curlies (Bug#15914).
6518
6519 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6520
6521 * calc/calc.el (calc-context-sensitive-enter): New variable.
6522 (calc-enter): Use `calc-context-sensitive-enter'.
6523
6524 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6525
6526 * progmodes/cfengine.el: Version bump.
6527 (cfengine-cf-promises): New defcustom to locate cf-promises.
6528 (cfengine3-vartypes): Add new "data" type.
6529 (cfengine3--current-word): New function to get current name-like
6530 word or its bounds.
6531 (cfengine3--current-function): New function to look up a CFEngine
6532 function's definition.
6533 (cfengine3-format-function-docstring): New function.
6534 (cfengine3-make-syntax-cache): New function.
6535 (cfengine3-documentation-function): New function: ElDoc glue.
6536 (cfengine3-completion-function): New function: completion glue.
6537 (cfengine3-mode): Set `compile-command',
6538 `eldoc-documentation-function', and add to
6539 `completion-at-point-functions'.
6540
6541 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6542
6543 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6544 `tramp-current-connection'.
6545
6546 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6547
6548 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6549 nil/self/true/false with "end of symbol".
6550
6551 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6552
6553 * subr.el (version-regexp-alist): Fix a typo.
6554
6555 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6556
6557 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6558 "en_US.utf8" and "LC_CTYPE" to "".
6559 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6560 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6561
6562 2013-11-15 Leo Liu <sdl.web@gmail.com>
6563
6564 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6565
6566 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6567
6568 * progmodes/gud.el (ctl-x-map):
6569 Remove C-x SPC binding. (Bug#12342)
6570 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6571
6572 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6573
6574 * subr.el (version-regexp-alist):
6575 Recognize hg, svn and darcs versions as snapshot versions.
6576
6577 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6578 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6579 (ruby--encoding-comment-required-p): Extract from
6580 `ruby-mode-set-encoding'.
6581 (ruby-mode-set-encoding): Add the ability to always insert an
6582 utf-8 encoding comment. Fix and simplify coding comment update
6583 logic.
6584
6585 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6586
6587 * net/tramp-gvfs.el (top): Run init code only when
6588 `tramp-gvfs-enabled' is not nil.
6589 (tramp-gvfs-enabled): Check also :system bus.
6590
6591 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 Sync with upstream verilog-mode revision 78e66ba.
6594 * progmodes/verilog-mode.el (verilog-end-of-defun)
6595 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6596 (verilog-get-end-of-defun): Remove unused argument.
6597 (verilog-comment-depth): Remove unused local `e'.
6598 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6599 Don't pass arg to verilog-get-end-of-defun.
6600
6601 2013-11-14 Glenn Morris <rgm@gnu.org>
6602
6603 * obsolete/assoc.el (aget): Prefix dynamic variable.
6604
6605 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6606
6607 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 * widget.el, hfy-cmap.el: Remove bogus package version number.
6610
6611 2013-11-13 Glenn Morris <rgm@gnu.org>
6612
6613 * replace.el (replace-eval-replacement):
6614 Try to give more helpful error message. (Bug#15836)
6615
6616 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6617 (archive-7z-update): Avoid custom type mismatches.
6618
6619 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6620
6621 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6622
6623 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6624 address can be empty.
6625
6626 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6627 Accept nil SWITCHES.
6628 (tramp-gvfs-handle-write-region): Implement APPEND.
6629
6630 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6631
6632 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6633 binary "|" operator and closing block args delimiter.
6634 Remove FIXME comment referring to Ruby 1.8-only syntax.
6635 (ruby-smie--implicit-semi-p): Not after "|" operator.
6636 (ruby-smie--closing-pipe-p): New function.
6637 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6638 (ruby-smie-rules): Indent after "|".
6639
6640 2013-11-12 Glenn Morris <rgm@gnu.org>
6641
6642 * ps-print.el (ps-face-attribute-list):
6643 Handle anonymous faces. (Bug#15827)
6644
6645 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6646
6647 * window.el (display-buffer-other-frame): Fix doc-string.
6648 (Bug#15868)
6649
6650 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6651
6652 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6653
6654 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6655
6656 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6657 (tramp-sh-handle-file-local-copy): Don't write a message when
6658 saving temporary files.
6659
6660 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6661 both directories are remote.
6662 (tramp-smb-handle-directory-files): Do not return double entries.
6663 Do not expand full file names.
6664 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6665 (tramp-smb-handle-write-region): Implement APPEND.
6666 (tramp-smb-get-stat-capability): Fix a stupid bug.
6667
6668 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6671
6672 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6673
6674 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6675 throwing error over malformed let/let* (bug#15814).
6676
6677 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * iswitchb.el (iswitchb-mode): Mark obsolete.
6680
6681 2013-11-11 Glenn Morris <rgm@gnu.org>
6682
6683 * international/uni-bidi.el, international/uni-category.el:
6684 * international/uni-name.el, international/uni-numeric.el:
6685 Regenerate for Unicode 6.3.0.
6686
6687 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6688
6689 * net/tramp.el (tramp-methods):
6690 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6691 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6692
6693 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6694
6695 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6696 Force highlighting text after Summary keyword in doc face for rpm.
6697
6698 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6699
6700 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6701 available and the word has no wildcards, append one to the grep pattern.
6702 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6703 (ispell-complete-word): Call `ispell-lookup-words' with the value
6704 independent of `ispell-look-p'.
6705
6706 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6707
6708 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6709 Not after "||".
6710 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6711 their parent.
6712
6713 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6716 (ruby-font-lock-keywords): Use backquote.
6717
6718 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6719
6720 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6721 (ruby-smie--backward-token): Only consider full-string matches.
6722
6723 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6724
6725 * faces.el (describe-face): Add distant-foreground.
6726
6727 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6728
6729 * progmodes/ruby-mode.el: Improve encoding comment handling.
6730 (ruby-encoding-magic-comment-style): New option.
6731 (ruby-custom-encoding-magic-comment-template): New option.
6732 (ruby--insert-coding-comment, ruby--detect-encoding):
6733 New functions extracted from `ruby-mode-set-encoding'.
6734 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6735 to control the style of the auto-inserted encoding comment.
6736
6737 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6738
6739 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6740 Use `smie-backward-sexp' with token argument.
6741
6742 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6743
6744 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6745 Remove instrumentation code.
6746
6747 2013-11-08 Glenn Morris <rgm@gnu.org>
6748
6749 * progmodes/autoconf.el (autoconf-mode):
6750 Tweak comment-start-skip. (Bug#15822)
6751
6752 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6755 at bobp (bug#15826).
6756 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6757
6758 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6759
6760 * man.el (Man-start-calling): New macro, extracted from
6761 Man-getpage-in-background.
6762 (Man-getpage-in-background): Use it.
6763 (Man-update-manpage): New command.
6764 (Man-mode-map): Bind it.
6765
6766 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6767
6768 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6769 of "and", "or", "&&" and "||".
6770 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6771 argument. Prohibit opening curly brace because it could only be a
6772 block opener in that position.
6773 (ruby-smie--forward-token, ruby-smie--backward-token):
6774 Separate "|" from "&" or "*" going after it. That can happen in block
6775 arguments.
6776 (ruby-smie--indent-to-stmt): New function, seeks the end of
6777 previous statement or beginning of buffer.
6778 (ruby-smie-rules): Use it.
6779 (ruby-smie-rules): Check if there's a ":" before a curly block
6780 opener candidate; if there is, it's a hash.
6781
6782 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6785 (cl--block-wrapper): Fix last accidental change.
6786
6787 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6788
6789 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6790 Instrument, in order to hunt failure on hydra.
6791
6792 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6793
6794 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6795 malformed bindings form (bug#15814).
6796
6797 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6798
6799 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6800 "." compared to " @ ". This incidentally fixes some indentation
6801 examples with "do".
6802 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6803 (ruby-smie-grammar): New tokens: "and" and "or".
6804 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6805 Exclude "and" and "or". Remove "do" in order to work around token
6806 priorities.
6807 (ruby-smie-rules): Add all infix tokens. Handle the case of
6808 beginning-of-buffer.
6809
6810 2013-11-06 Glenn Morris <rgm@gnu.org>
6811
6812 * Makefile.in (setwins_almost, setwins_for_subdirs):
6813 Avoid accidental matches.
6814
6815 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * menu-bar.el (popup-menu): Use key-binding.
6818
6819 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6820
6821 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6822 menus, support also the menus produced by minor modes.
6823 (Bug#15817)
6824
6825 2013-11-06 Leo Liu <sdl.web@gmail.com>
6826
6827 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6828 DISTANCE to bound the search. All uses changed. (Bug#15808)
6829
6830 2013-11-06 Glenn Morris <rgm@gnu.org>
6831
6832 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6833 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6834 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6835
6836 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6837
6838 * electric.el (electric-indent-just-newline): New command.
6839 (electric-indent-mode-map): New keymap.
6840 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6841 Re-add :group which weren't redundant.
6842
6843 * electric.el (electric-indent-local-mode): New minor mode.
6844 (electric-indent-functions-without-reindent): New var.
6845 (electric-indent-post-self-insert-function): Use it.
6846 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6847
6848 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6849
6850 * international/quail.el (quail-help): Be more explicit about the
6851 meaning of the labels shown on the keys. (Bug#15800)
6852
6853 * startup.el (normal-top-level): Load the subdirs.el files before
6854 setting the locale environment. (Bug#15805)
6855
6856 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6857
6858 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6859 via arguments so as to get the right ones (bug#15418).
6860
6861 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6862
6863 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6864
6865 Fix problems found while writing a test suite.
6866
6867 * net/tramp-compat.el (tramp-compat-load): New defun.
6868 * net/tramp.el (tramp-handle-load): Use it.
6869
6870 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6871 "(numberp ok-if-already-exists)" correctly.
6872
6873 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6874
6875 * international/characters.el (glyphless-char-display-control):
6876 Add usage note.
6877
6878 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6879
6880 * progmodes/python.el (python-mode):
6881 * progmodes/scheme.el (scheme-mode):
6882 * progmodes/prolog.el (prolog-mode):
6883 * progmodes/ruby-mode.el (ruby-mode):
6884 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6885 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6886
6887 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * rect.el (rectangle--highlight-for-redisplay):
6890 * emacs-lisp/smie.el (smie--next-indent-change):
6891 Use buffer-chars-modified-tick.
6892
6893 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6894
6895 * electric.el (electric-indent-post-self-insert-function):
6896 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6897
6898 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6899
6900 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6901
6902 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6903
6904 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6905 (bug#15786).
6906
6907 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6910
6911 * progmodes/python.el: Fix up last change.
6912 (python-shell--save-temp-file): New function.
6913 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6914 `string' comes from the current buffer.
6915 (python-shell-send-string-no-output): Remove `msg' arg.
6916 (python--use-fake-loc): New var.
6917 (python-shell-buffer-substring): Obey it. Try to compensate for the
6918 extra coding line added by python-shell--save-temp-file.
6919 (python-shell-send-region): Use python-shell--save-temp-file and
6920 python-shell-send-file directly. Add `nomain' argument.
6921 (python-shell-send-buffer): Use python-shell-send-region.
6922 (python-electric-pair-string-delimiter): New function.
6923 (python-mode): Use it.
6924
6925 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6926
6927 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6928 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6929 environment and decoding all of the default-directory's to here
6930 from command-line.
6931 (command-line): Decode also argv[0].
6932
6933 * loadup.el: Error out if default-directory is a multibyte string
6934 when we are dumping.
6935
6936 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6937
6938 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6939
6940 * emacs-lisp/package.el (package-menu-mode)
6941 (package-menu--print-info, package-menu--archive-predicate):
6942 Add Archive column to package list.
6943
6944 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6945
6946 Fix problems found while writing a test suite.
6947
6948 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6949 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6950 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6951 to nil when running original file name handler. Otherwise,
6952 there are problems with constructs like "$$FOO".
6953
6954 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6955 for `localname'.
6956
6957 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6958
6959 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6960
6961 * subr.el (version<, version<=, version=):
6962 Update docstrings with information for snapshot versions.
6963
6964 * helpers.el: New library for misc helper functions.
6965 (hash-table-keys): New function returning a list of hash keys.
6966 (hash-table-values): New function returning a list of hash values.
6967
6968 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6969
6970 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6971 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6972
6973 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6974
6975 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6976 checking whether point is after a 1-letter word.
6977
6978 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6979
6980 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6981 Don't infloop when expanding region over `multiline' syntax-type that
6982 begins a line (bug#15778).
6983
6984 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6986 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6987 Make it into a proper minor mode.
6988 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6989 (rectangle-mark-mode-map): New keymap.
6990 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6991
6992 2013-11-04 Glenn Morris <rgm@gnu.org>
6993
6994 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6995
6996 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6999 (ruby-smie-rules): Use smie-rule-parent instead.
7000
7001 * emacs-lisp/smie.el (smie-rule-parent): Always call
7002 smie-indent-virtual rather than only for hanging tokens.
7003 (smie--next-indent-change): New helper command.
7004
7005 2013-11-03 Glenn Morris <rgm@gnu.org>
7006
7007 * Makefile.in (abs_srcdir): Remove.
7008 (emacs): Unset EMACSLOADPATH.
7009
7010 2013-11-02 Glenn Morris <rgm@gnu.org>
7011
7012 * Makefile.in (EMACS): Use a relative filename.
7013 (abs_top_builddir): Remove.
7014 (custom-deps, finder-data, autoloads): Use --chdir.
7015
7016 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7017
7018 Use relative filenames in TAGS files.
7019 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7020 (lisptagsfiles4, TAGS): Use relative file names.
7021 (TAGS-LISP): Remove.
7022 (maintainer-clean): No more TAGS-LISP file.
7023
7024 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7025 (lisptagsfiles4): Use absolute filenames again.
7026 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7027 Remove all *loaddefs files, not just the first. Remove esh-groups.
7028 (maintainer-clean): Delete TAGS, TAGS-LISP.
7029
7030 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7031
7032 * emacs-lisp/package.el (package-version-join):
7033 Recognize snapshot versions.
7034
7035 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7036
7037 * subr.el (version-regexp-alist): Add support for snapshot versions.
7038
7039 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7040
7041 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7042 New function, replacement for `smie-rule-parent' for when we want to
7043 skip over our direct parent if it's an assignment token..
7044 (ruby-smie-rules): Use it.
7045
7046 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7047
7048 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7049 unconditionally. Remove now unnecessary forward declarations.
7050 Remove XEmacs-specific setup.
7051 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7052 (ruby-font-lock-syntactic-keywords)
7053 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7054 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7055 (ruby-here-doc-end-syntax): Remove.
7056 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7057 defined as function.
7058
7059 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7060
7061 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7062
7063 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7064
7065 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7066 table and abbrev table, `define-derived-mode' does that for us
7067 anyway.
7068
7069 2013-11-01 Glenn Morris <rgm@gnu.org>
7070
7071 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7072 files is atomic for some time, so no parallel compilation issues).
7073
7074 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7075
7076 * faces.el (face-x-resources): Add :distant-foreground.
7077 (region): Use :distant-foreground for gtk and ns.
7078
7079 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7080
7081 Allow multiple bibliographies when BibLaTeX is used rather than
7082 BibTeX.
7083 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7084 (reftex-locate-bibliography-files): Us it.
7085
7086 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7087
7088 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7089 allow comments in pbm files.
7090
7091 * term/w32-win.el (dynamic-library-alist): Support newer versions
7092 of libjpeg starting with v7: look only for the DLL from the
7093 version against which Emacs was built.
7094 Support versions of libpng beyond 1.4.x.
7095 Support libtiff v4.x.
7096
7097 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7098
7099 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7100 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7101 Add property :safe.
7102 (ruby-deep-arglist): Add property :type.
7103
7104 2013-10-31 Glenn Morris <rgm@gnu.org>
7105
7106 * Makefile.in (custom-deps, finder-data): No need to setq the target
7107 variables, we are in the right directory and the defaults work fine.
7108
7109 2013-10-30 Glenn Morris <rgm@gnu.org>
7110
7111 * Makefile.in (autoloads): Do not use abs_lisp.
7112
7113 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7114 `newline' does not respect `standard-output', so use `princ'.
7115
7116 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7117
7118 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7119 * buff-menu.el (Buffer-menu--unmark): New function.
7120 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7121
7122 2013-10-30 Glenn Morris <rgm@gnu.org>
7123
7124 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7125
7126 * emacs-lisp/package.el (lm-homepage): Declare.
7127
7128 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7129 Fix doc typos.
7130
7131 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7132
7133 * Makefile.in (finder-data, autoloads, update-subdirs)
7134 (compile-main, compile-clean, compile-always, bootstrap-clean):
7135 Check return value of cd.
7136 (compile-calc): Remove.
7137
7138 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7141
7142 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7143 (byte-compile-and-folded): New function.
7144 (=, <, >, <=, >=): Use it.
7145
7146 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7147 (path-separator, null-device, buffer-file-coding-system)
7148 (lpr-headers-switches): Check system-type before modifying them.
7149 (find-buffer-file-type-coding-system): Mark obsolete.
7150 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7151 find-file-not-found-set-buffer-file-coding-system.
7152 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7153 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7154 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7155 (w32-direct-print-region-helper, w32-direct-print-region-function)
7156 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7157 * startup.el (normal-top-level-add-subdirs-to-load-path):
7158 * ps-print.el (ps-print-region-function):
7159 * lpr.el (print-region-function): Use new name.
7160
7161 * subr.el (custom-declare-variable-early): Remove function.
7162 (custom-declare-variable-list): Remove var.
7163 (error, user-error): Remove `while' loop.
7164 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7165 (user-emacs-directory-warning, locate-user-emacs-file):
7166 Move to files.el.
7167 * simple.el (read-quoted-char-radix, read-quoted-char):
7168 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7169 Move from subr.el.
7170 * custom.el (custom-declare-variable-list): Don't process
7171 custom-declare-variable-list.
7172
7173 * progmodes/python.el (python-shell-get-buffer): New function.
7174 (python-shell-get-process): Use it.
7175 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7176 Python which encoding was used. Don't split-string since we only care
7177 about the first line. Return the temp-file, if applicable.
7178 (python-shell-send-region): Tell compile.el how to turn locations in
7179 the temp-file into locations in the source buffer.
7180
7181 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7182
7183 * subr.el (undefined): Add missing behavior from the C code for
7184 unbound keys.
7185
7186 * rect.el: Use lexical-binding. Add new rectangular region support.
7187 (rectangle-mark): New command.
7188 (rectangle--region): New var.
7189 (deactivate-mark-hook): Reset rectangle--region.
7190 (rectangle--extract-region, rectangle--insert-for-yank)
7191 (rectangle--highlight-for-redisplay)
7192 (rectangle--unhighlight-for-redisplay): New functions.
7193 (region-extract-function, redisplay-unhighlight-region-function)
7194 (redisplay-highlight-region-function): Use them to handle
7195 rectangular region.
7196 * simple.el (region-extract-function): New var.
7197 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7198 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7199 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7200 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7201 (redisplay-unhighlight-region-function)
7202 (redisplay-highlight-region-function): New vars.
7203 (redisplay--update-region-highlight): New function.
7204 (pre-redisplay-function): Use it.
7205 (exchange-point-and-mark): Don't deactivate the mark before
7206 reactivate-it anyway.
7207 * comint.el (comint-kill-region): Remove yank-handler argument.
7208 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7209 (delete-char): Remove property, since it's now part of their
7210 default behavior.
7211 (self-insert-iso): Remove property since this command doesn't exist.
7212
7213 * emacs-lisp/package.el (package--download-one-archive)
7214 (describe-package-1): Don't query the user about final newline.
7215
7216 2013-10-29 Daniel Colascione <dancol@dancol.org>
7217
7218 * net/tramp.el (tramp-methods): Document new functionality.
7219 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7220 tramp-hostname-checker if method provides one instead of scanning
7221 argument list for "%h" to decide hostname acceptability.
7222
7223 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7224
7225 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7226 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7227 Handle COPY-CONTENTS. (Bug#15737)
7228
7229 2013-10-28 Daiki Ueno <ueno@gnu.org>
7230
7231 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7232 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7233
7234 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7235
7236 * image.el (defimage, image-load-path): Doc fixes.
7237
7238 2013-10-27 Alan Mackenzie <acm@muc.de>
7239
7240 Indent statements in macros following "##" correctly.
7241 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7242 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7243
7244 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7245
7246 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7247
7248 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7249
7250 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7251 after `=' is probably a new expression.
7252
7253 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7254
7255 * man.el (man-imenu-title): New option.
7256 (Man-mode-map): Add menu. (Bug#15722)
7257 (Man-mode): Add imenu to menu.
7258
7259 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7260
7261 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7262 specific in what the first arg can be: a non-keyword word,
7263 string/regexp/percent literal opener, opening paren, or unary
7264 operator followed directly by word.
7265
7266 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7269 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7270 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7271 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7272 Remove vars, they do not apply any more.
7273 (prolog-mode-abbrev-table): Remove redundant declaration.
7274 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7275 (prolog-use-smie): Remove.
7276 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7277 supported by prolog-electric-if-then-else-flag.
7278 (prolog-mode-variables, prolog-menu): Use setq-local.
7279 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7280 Remove binding to `Backspace' since this key doesn't exist anyway.
7281 Remove bindings for electric self-inserting keys.
7282 (prog-mode): Assume it's defined.
7283 (prolog-post-self-insert): New function.
7284 (prolog-mode): Use it.
7285 (prolog-indent-line, prolog-indent-level)
7286 (prolog-find-indent-of-matching-paren)
7287 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7288 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7289 (prolog-goto-next-paren, prolog-in-string-or-comment)
7290 (prolog-tokenize, prolog-inside-mline-comment)
7291 (prolog-find-start-of-mline-comment): Remove functions.
7292 (prolog-find-unmatched-paren, prolog-clause-end)
7293 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7294 (prolog-electric--if-then-else): Rename from
7295 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7296 (prolog-tokenize-searchkey): Remove const.
7297 (prolog-clause-info): Use forward-sexp.
7298 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7299 (prolog-electric-if-then-else): Remove commands.
7300 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7301 for use in post-self-insert-hook.
7302 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7303 for use in post-self-insert-hook.
7304 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7305 for use in post-self-insert-hook.
7306 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7307 adapt it for use in post-self-insert-hook.
7308
7309 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7310
7311 * emacs-lisp/ert.el (ert-run-tests-interactively):
7312 Use `completing-read'. (Bug#9756)
7313
7314 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7315
7316 * simple.el (line-move): Call line-move-1 instead of
7317 line-move-visual when the current window hscroll is zero, but
7318 temporary-goal-column indicates we will need to hscroll as result
7319 of the movement. (Bug#15712)
7320
7321 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7322
7323 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7324 capitalization. Use :visible instead of :active.
7325 Fix `ruby-indent-exp' reference. Add menu items for the generic
7326 commands that are used with SMIE.
7327 (ruby-do-end-to-brace): Insert space after `{'.
7328
7329 2013-10-25 John Anthony <john@jo.hnanthony.com>
7330
7331 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7332
7333 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7334
7335 2013-10-25 Glenn Morris <rgm@gnu.org>
7336
7337 * vc/vc.el (vc-print-log): Don't use a working revision unless
7338 one was explicitly specified. (Bug#15322)
7339
7340 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * subr.el (add-to-list): Preserve return value in compiler-macro
7343 (bug#15692).
7344
7345 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7346
7347 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7348 result. Ask user to retry using '-all' flag. (Bug#15701)
7349
7350 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * emacs-lisp/smie.el: New smie-config system.
7353 (smie-config): New defcustom.
7354 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7355 (smie-config-guess, smie-config-save): New commands.
7356 (smie-config--mode-local, smie-config--buffer-local)
7357 (smie-config--trace, smie-config--modefuns): New vars.
7358 (smie-config--advice, smie-config--mode-hook)
7359 (smie-config--setter, smie-config-local, smie-config--get-trace)
7360 (smie-config--guess-value, smie-config--guess): New functions.
7361 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7362 text properties. Treat "string fence" syntax like string syntax.
7363
7364 * progmodes/sh-script.el (sh-use-smie): Change default.
7365 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7366 (sh-var-value): Simplify by CSE.
7367 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7368 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7369 is used.
7370 (sh-guess-basic-offset): Use cl-incf.
7371 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7372
7373 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7374
7375 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7376 (bug#15699).
7377
7378 2013-10-24 Glenn Morris <rgm@gnu.org>
7379
7380 * Makefile.in (abs_top_srcdir): Remove.
7381 (update-subdirs): Use relative path to update-subdirs.
7382
7383 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7384
7385 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7386 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7387 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7388 Call unmsys--file-name before expand-file-name, not after it.
7389
7390 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7393 (ert-test-skipped): New error.
7394 (ert-skip, ert-stats-skipped): New defuns.
7395 (ert--skip-unless): New macro.
7396 (ert-test-skipped): New struct.
7397 (ert--run-test-debugger, ert-test-result-type-p)
7398 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7399 (ert--stats-set-test-and-result, ert-char-for-test-result)
7400 (ert-string-for-test-result, ert-run-tests-batch)
7401 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7402 Handle skipped tests. (Bug#9803)
7403
7404 2013-10-24 Glenn Morris <rgm@gnu.org>
7405
7406 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7407
7408 * Makefile.in (abs_top_srcdir): New, set by configure.
7409 (update-subdirs): Correct build-aux location.
7410
7411 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7412
7413 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7414 value, whether we could auto-deduce `backend', or not.
7415
7416 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7417 with parameters" example. Simplify the "is it block or is it
7418 hash" check, but also make it more thorough.
7419
7420 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7421
7422 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7423
7424 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7427 { if it is hanging.
7428
7429 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7430 :before ";".
7431
7432 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7433
7434 * progmodes/compile.el (compilation-directory-matcher)
7435 (compilation-page-delimiter):
7436 Support GNU Make-4.0 directory quoting. (Bug#15678)
7437
7438 2013-10-23 Leo Liu <sdl.web@gmail.com>
7439
7440 * ido.el (ido-tidy): Handle read-only text.
7441
7442 2013-10-23 Glenn Morris <rgm@gnu.org>
7443
7444 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7445 (emacs, compile, compile-always):
7446 Quote entities that might contain whitespace.
7447 (custom-deps, finder-data, autoloads): Use abs_lisp.
7448 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7449 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7450 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7451
7452 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7453
7454 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7455 Use `following-char'.
7456
7457 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7460 * progmodes/ruby-mode.el (ruby-smie-rules):
7461 Remove corresponding workaround. Fix indentation rule of ";" so it
7462 also applies when ";" is the parent.
7463
7464 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7465
7466 * frame.el (display-screens, display-pixel-height)
7467 (display-pixel-width, display-mm-width, display-backing-store)
7468 (display-save-under, display-planes, display-color-cells)
7469 (display-visual-class, display-monitor-attributes-list):
7470 Mention the optional ‘display’ argument in doc strings.
7471
7472 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7473
7474 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7475 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7476
7477 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7478
7479 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7480 TODO. Add "." after " @ ".
7481 (ruby-smie--at-dot-call): New function. Checks if point at method
7482 call with explicit target.
7483 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7484 to the method name tokens when it precedes them.
7485 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7486 (ruby-smie-rules): Add rule for indentation before and after "."
7487 token.
7488
7489 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * textmodes/remember.el (remember-diary-extract-entries):
7492 Avoid add-to-list.
7493
7494 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7495 an instruction.
7496
7497 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7498
7499 * progmodes/ruby-mode.el (ruby-smie-grammar):
7500 Add (almost) all infix operators.
7501 (ruby-smie--implicit-semi-p): Add new operator chars.
7502
7503 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7504 `smie-down-list'.
7505 (ruby-smie--args-separator-p): Check that there's no newline
7506 between method call and its arguments.
7507
7508 2013-10-20 Alan Mackenzie <acm@muc.de>
7509
7510 Allow comma separated lists after Java "implements".
7511
7512 * progmodes/cc-engine.el (c-backward-over-enum-header):
7513 Parse commas.
7514 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7515 from a "disallowed" list in enum fontification.
7516
7517 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7518
7519 * startup.el (default-frame-background-mode): Remove unused defvar.
7520
7521 * progmodes/verilog-mode.el (verilog-mode): Don't set
7522 comment-indent-function globally.
7523
7524 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7525
7526 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7527 Move Info menu item creation to ns-win.el.
7528
7529 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7530 in menu bar.
7531
7532 * menu-bar.el: Move GNUstep specific menus...
7533
7534 * term/ns-win.el (ns-initialize-window-system): ... to here.
7535
7536 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7537
7538 * simple.el (newline): Only run post-self-insert-hook when
7539 called interactively.
7540
7541 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7542
7543 * icomplete.el (icomplete-with-completion-tables): Add :version.
7544
7545 2013-10-19 Alan Mackenzie <acm@muc.de>
7546
7547 Fix fontification bugs with constructors and const.
7548
7549 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7550 CASE 2) Remove the check for the absence of a suffix construct
7551 after a function declaration with only types (no identifiers) in
7552 the parentheses. Also, accept a function declaration with just a
7553 type inside the parentheses, if this type can be positively
7554 recognised as such, or if a prefix keyword like "explicit" nails
7555 down the construct as a declaration.
7556
7557 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7558
7559 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7560 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7561 the problem whereby selecting a menu item that leads to a
7562 minibuffer prompt moves the cursor out of the minibuffer window,
7563 making it hard to type at the prompt. Suggested by Stefan Monnier
7564 <monnier@iro.umontreal.ca>.
7565
7566 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7567
7568 * menu-bar.el: Don't make Services menu.
7569
7570 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7571
7572 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7573 (ffap-alist): Use ffap-c++-mode for c++-mode.
7574 (ffap-c++-path): New variable.
7575 (ffap-c++-mode): New function.
7576
7577 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7578
7579 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7580
7581 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7582
7583 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7584 introduced on 2013-09-08, which results in an infinite loop
7585 requesting a password.
7586
7587 2013-10-18 Glenn Morris <rgm@gnu.org>
7588
7589 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7590
7591 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7592
7593 Sync with upstream verilog-mode revision 1a6ecec7.
7594 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7595 (verilog-mode-release-date): Remove.
7596 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7597 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7598 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7599 (verilog-auto-tieoff-ignore-regexp)
7600 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7601 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7602 (verilog-signals-with, verilog-dir-cache-preserving)
7603 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7604 Doc fixes.
7605 (verilog-case-fold): New option, to control case folding in
7606 regexp searches, bug597.
7607 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7608 (verilog-string-match-fold, verilog-in-paren-count)
7609 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7610 (verilog-at-close-struct-p): New functions.
7611 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7612 (verilog-forward-sexp, verilog-set-auto-endcomments)
7613 (verilog-leap-to-case-head): Handle "unique0" case.
7614 (verilog-in-constraint-re): New constant.
7615 (verilog-keywords, verilog-type-font-keywords):
7616 Add some SystemVerilog 1800-2012 keywords.
7617 (verilog-label-be): Remove unimplemented argument, bug669.
7618 (verilog-batch-execute-func): When batch expanding clear
7619 create-lockfiles to prevent spurious user locks when a file ends
7620 up not changing.
7621 (verilog-calculate-indent, verilog-calc-1)
7622 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7623 (verilog-do-indent): Fix indentation of nested constraints
7624 and structures.
7625 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7626 (verilog-auto-inst-param): Use verilog-string-match-fold.
7627 (verilog-read-inst-module-matcher):
7628 Fix AUTOINST on gate primitives with #1.
7629 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7630 Reads all user-defined typed variables.
7631 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7632 (verilog-signals-matching-regexp)
7633 (verilog-signals-not-matching-regexp, verilog-auto):
7634 Respect verilog-case-fold.
7635 (verilog-diff-report): Fix line count.
7636 (verilog-auto-assign-modport): Remove unused local `modi'.
7637 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7638 better handle multidimensional arrays.
7639 Fix packed array ports misadding bit index in AUTOINST, bug637.
7640 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7641 to not double-declare existing outputs and inputs, respectively.
7642 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7643 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7644 (verilog-sk-uvm-component): New skeleton.
7645 (verilog-submit-bug-report): Add verilog-case-fold,
7646 remove verilog-mode-release-date.
7647
7648 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7649
7650 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7651 as before.
7652
7653 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7654
7655 * textmodes/remember.el (remember): Set buffer-offer-save in
7656 remember buffers (bug#13566).
7657
7658 2013-10-18 Daniel Colascione <dancol@dancol.org>
7659
7660 When evaluating forms in ielm, direct standard output to ielm
7661 buffer. Add new ielm-return-for-effect command. Remove trailing
7662 whitespace throughout.
7663
7664 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7665 (ielm-return-for-effect): New command.
7666 (ielm-send-input): Accept optional `for-effect' parameter.
7667 (ielm-eval-input): Accept optional `for-effect' parameter.
7668 Bind `standard-output' to stream we create using
7669 `ielm-standard-output-impl'. Suppress printing result when
7670 `for-effect'.
7671 (ielm-standard-output-impl): New function.
7672 (inferior-emacs-lisp-mode): Explain new features in documentation.
7673
7674 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7675
7676 Code cleanup.
7677
7678 * net/tramp.el (tramp-debug-message): Do not check for connection
7679 buffer.
7680 (tramp-message): Use "vector" connection property.
7681
7682 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7683 (tramp-equal-remote, tramp-eshell-directory-change)
7684 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7685 (tramp-adb-handle-rename-file)
7686 * net/tramp-cmds.el (tramp-list-remote-buffers)
7687 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7688 * net/tramp-compat.el (tramp-compat-process-running-p)
7689 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7690 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7691 (tramp-gvfs-handle-rename-file)
7692 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7693 (tramp-set-file-uid-gid)
7694 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7695 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7696 of `file-remote-p'.
7697
7698 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7699 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7700 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7701 (tramp-gw-open-network-stream): Suppress unrelated traces.
7702
7703 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7704 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7705 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7706 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7707 connection property.
7708
7709 * net/tramp-cache.el (top): Suppress traces when reading
7710 persistency file.
7711
7712 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7713 Refactor common code. Improve debug message.
7714 (tramp-maybe-open-connection)
7715 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7716 connection buffer too early.
7717
7718 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7719 from `tramp-smb-actions-with-acl'.
7720 (tramp-smb-actions-set-acl): New defconst.
7721 (tramp-smb-handle-copy-directory)
7722 (tramp-smb-action-get-acl): New defun, renamed from
7723 `tramp-smb-action-with-acl'.
7724 (tramp-smb-action-set-acl): New defun.
7725 (tramp-smb-handle-set-file-acl): Rewrite.
7726
7727 2013-10-17 Glenn Morris <rgm@gnu.org>
7728
7729 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7730
7731 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * skeleton.el (skeleton-newline): Remove.
7734 (skeleton-internal-1): Use (insert "\n") instead.
7735
7736 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7737 let-bindings.
7738
7739 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7740 forward-sexp-function while we redo its job (bug#15613).
7741
7742 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7743
7744 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7745 represented by lists.
7746
7747 2013-10-16 Glenn Morris <rgm@gnu.org>
7748
7749 * tmm.el (tmm--history): New dynamic variable.
7750 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7751
7752 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7753
7754 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7755 (tramp-smb-errors): Add error messages.
7756 (tramp-smb-actions-with-acl): New defconst.
7757 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7758 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7759 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7760 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7761 (tramp-smb-get-stat-capability): Fix tests.
7762
7763 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7764
7765 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7766 (bug#15580).
7767
7768 2013-10-16 Glenn Morris <rgm@gnu.org>
7769
7770 * ansi-color.el (ansi-color-drop-regexp):
7771 Add 1J, 1K, 2K. (Bug#15617)
7772
7773 * files.el (hack-local-variables--warned-lexical): New.
7774 (hack-local-variables):
7775 Warn about misplaced lexical-binding. (Bug#15616)
7776
7777 * net/eww.el (eww-render): Always set eww-current-url,
7778 and update header line. (Bug#15622)
7779 (eww-display-html): ... Rather than just doing it here.
7780
7781 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7782
7783 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7784 menu navigations commands.
7785
7786 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7787
7788 * progmodes/subword.el (subword-capitalize): Be careful when
7789 the search for [[:alpha:]] fails (bug#15580).
7790
7791 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7792
7793 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7794 to commands that scroll the menu.
7795
7796 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7797
7798 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7799 Handle methods ending with `?' and `!'.
7800
7801 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7802
7803 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7804 `japanese-cp932' to `cp932' to fix the problem where saving a
7805 source file written in Shift_JIS twice would end up having
7806 `coding: japanese-cp932' which Ruby could not recognize.
7807 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7808 in `ruby-encoding-map'.
7809 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7810 doesn't need to be explicitly declared in magic comment.
7811 (ruby-encoding-map): Add type declaration for better customize UI.
7812
7813 2013-10-13 Glenn Morris <rgm@gnu.org>
7814
7815 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7816 Occur buffers are read-only. http://bugs.debian.org/720775
7817
7818 * emacs-lisp/authors.el (authors-fixed-entries):
7819 Comment out old alpha stuff.
7820
7821 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7822
7823 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7824 to `after-save-hook' instead of `before-save-hook'.
7825 (ruby-mode-set-encoding): Use the value of coding system used to
7826 write the file. Call `basic-save-buffer-1' after modifying the
7827 buffer.
7828
7829 2013-10-13 Alan Mackenzie <acm@muc.de>
7830
7831 Fix indentation/fontification of Java enum with
7832 "implements"/generic.
7833
7834 * progmodes/cc-engine.el (c-backward-over-enum-header):
7835 Extracted from the three other places and enhanced to handle generics.
7836 (c-inside-bracelist-p): Uses new function above.
7837 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7838 function above.
7839 (c-font-lock-enum-tail): Uses new function above.
7840
7841 2013-10-13 Kenichi Handa <handa@gnu.org>
7842
7843 * international/mule-cmds.el (select-safe-coding-system): Remove a
7844 superfluous condition in chekcing whether a coding system is safe
7845 or not.
7846
7847 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7848
7849 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7850
7851 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7852
7853 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7854
7855 2013-10-13 Glenn Morris <rgm@gnu.org>
7856
7857 * menu-bar.el (menu-bar-update-buffers):
7858 Unify Buffers menu prompt string. (Bug#15576)
7859
7860 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7861
7862 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7863 Add some entries.
7864 (authors-fixed-entries): Use accented form of name.
7865
7866 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7869 method calls (bug#15594).
7870 (ruby-smie--args-separator-p): New function.
7871 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7872 recognize paren-free method calls.
7873
7874 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7875 internals of universal-argument.
7876
7877 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7878
7879 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7880 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7881 dropped menu on second mouse click on the menu bar.
7882
7883 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7886 (explicit-shell-file-name): Declare.
7887 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7888 (sh-completion-at-point-function): New function.
7889 (sh-mode): Use it.
7890 (sh-smie--keyword-p): Remove unused argument.
7891 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7892 vars.
7893 (sh-set-shell): Always setup SMIE, even if we use the
7894 old indentation code.
7895
7896 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7897
7898 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7899 cases of ? and =.
7900 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7901 predicate would return nil are almost non-existent.
7902 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7903
7904 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7905 cache also after commands that modify the buffer but don't move
7906 point.
7907
7908 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * env.el (substitute-env-in-file-name): New function.
7911 (substitute-env-vars): Extend the meaning of the optional arg.
7912
7913 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7914
7915 * term/w32-win.el (dynamic-library-alist): Define separate lists
7916 of GIF DLLs for versions before and after 5.0.0 of giflib.
7917 (Bug#15531)
7918
7919 2013-10-10 João Távora <joaotavora@gmail.com>
7920
7921 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7922 not locked, use last revision and current source as
7923 defaults. (Bug#15569)
7924
7925 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7926
7927 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7928 menu-bar is hidden.
7929
7930 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7931
7932 * window.el (pop-to-buffer-same-window): Fix doc-string.
7933 (Bug#15492)
7934
7935 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7936
7937 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7938
7939 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7940
7941 * calendar/icalendar.el (icalendar-import-file):
7942 Fix interactive spec. (Bug#15482)
7943
7944 2013-10-10 Glenn Morris <rgm@gnu.org>
7945
7946 * desktop.el (desktop-save): Default to saving in .emacs.d,
7947 since PWD is no longer in desktop-path by default. (Bug#15319)
7948
7949 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7950 now that text mode has a menu with the same entry.
7951 (menu-bar-text-mode-auto-fill): Remove now unused func.
7952 * textmodes/text-mode.el (text-mode-map):
7953 Use auto-fill help text from menu-bar.el.
7954
7955 2013-10-10 John Anthony <john@jo.hnanthony.com>
7956
7957 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7958
7959 2013-10-09 Juri Linkov <juri@jurta.org>
7960
7961 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7962 instead of this-command-keys. Add universal-argument-more and
7963 universal-argument-minus to the list of prefix commands. (Bug#15568)
7964
7965 2013-10-09 Glenn Morris <rgm@gnu.org>
7966
7967 * vc/vc-svn.el (vc-svn-create-repo):
7968 Expand paths in file://... url. (Bug#15446)
7969
7970 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7971 Add some entries.
7972 (authors): Remove unused local variables.
7973
7974 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7975
7976 * profiler.el: Create a more coherent calltree from partial backtraces.
7977 (profiler-format): Hide the tail with `invisible' so that C-s can still
7978 find the hidden elements.
7979 (profiler-calltree-depth): Don't recurse so enthusiastically.
7980 (profiler-function-equal): New hash-table-test.
7981 (profiler-calltree-build-unified): New function.
7982 (profiler-calltree-build): Use it.
7983 (profiler-report-make-name-part): Indent the calltree less.
7984 (profiler-report-mode): Add visibility specs for profiler-format.
7985 (profiler-report-expand-entry, profiler-report-toggle-entry):
7986 Expand the whole subtree when provided with a prefix arg.
7987
7988 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7989
7990 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7991 iuwu-mod token.
7992 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7993 hanging iuwu-mod token.
7994 (ruby-smie--forward-token): Do not include a dot after a token in
7995 that token.
7996 (ruby-smie--backward-token): Likewise.
7997
7998 2013-10-08 Juri Linkov <juri@jurta.org>
7999
8000 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8001 to isearch-other-control-char.
8002 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8003 and isearch-post-command-hook to post-command-hook.
8004 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8005 and isearch-post-command-hook from post-command-hook.
8006 (isearch-unread-key-sequence)
8007 (isearch-reread-key-sequence-naturally)
8008 (isearch-lookup-scroll-key, isearch-other-control-char)
8009 (isearch-other-meta-char): Remove functions.
8010 (isearch-pre-command-hook, isearch-post-command-hook):
8011 New functions based on isearch-other-meta-char rewritten
8012 relying on the new behavior of overriding-terminal-local-map
8013 that does not replace the local keymaps any more. (Bug#15200)
8014
8015 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8016
8017 Support menus on text-mode terminals.
8018 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8019 functionality.
8020
8021 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8022
8023 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8024 Move here from mouse.el.
8025 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8026 and arrow keys.
8027 (tty-menu-navigation-map): New map for TTY menu navigation.
8028
8029 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8030
8031 * frame.el (display-mouse-p): Report text-mode mouse as available
8032 on w32.
8033 (display-popup-menus-p): Report availability if mouse is
8034 available; don't condition on window-system.
8035
8036 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8037 (tty-menu-selected-face): New faces.
8038
8039 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8042 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8043 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8044 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8045 New constants.
8046 (lisp-mode-variables): New `elisp' argument.
8047 (emacs-lisp-mode): Use it.
8048 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8049 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8050
8051 * indent.el: Use lexical-binding.
8052 (indent-region): Add progress reporter.
8053 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8054 last step.
8055 (indent--next-tab-stop): New function to implement this behavior.
8056 (tab-to-tab-stop, move-to-tab-stop): Use it.
8057
8058 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8059
8060 * indent.el (indent-rigidly--current-indentation): New function.
8061 (indent-rigidly-map): New var.
8062 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8063
8064 2013-10-08 Bastien Guerry <bzg@gnu.org>
8065
8066 * register.el (insert-register): Fix 2013-10-07 change.
8067
8068 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * progmodes/perl-mode.el: Use lexical-binding.
8071 Remove redundant :group args.
8072 (perl-nochange): Change default to be closer to other major modes's
8073 standard behavior.
8074 (perl-indent-line): Don't consider text on current line as a
8075 valid beginning of function from which to indent.
8076
8077 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8078 with more than one argument (bug#15538).
8079
8080 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8081
8082 * vc/pcvs.el: Use lexical-binding.
8083 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8084 environment of `eval'.
8085 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8086 than a list of expressions. Adjust callers.
8087 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8088
8089 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8090
8091 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8092 case of the dot in a chained method call being on the following line.
8093
8094 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * electric.el (electric-indent-inhibit): New var.
8097 (electric-indent-post-self-insert-function): Use it.
8098 * progmodes/python.el (python-mode): Set it.
8099
8100 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8101 open braces.
8102
8103 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8104
8105 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8106 (css-mode): Use electric-indent-chars.
8107
8108 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8109 (font-lock-beg, font-lock-end): Move before first use.
8110 (nxml-mode): Use syntax-propertize-function.
8111 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8112 (nxml-extend-after-change-region): Remove.
8113 * nxml/xmltok.el: Use lexical-binding.
8114 (xmltok-save): Use `declare'.
8115 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8116 * nxml/nxml-util.el: Use lexical-binding.
8117 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8118 Use `declare'.
8119 * nxml/nxml-ns.el: Use lexical-binding.
8120 (nxml-ns-save): Use `declare'.
8121 (nxml-ns-prefixes-for): Avoid add-to-list.
8122 * nxml/rng-match.el: Use lexical-binding.
8123 (rng--ipattern): Use cl-defstruct.
8124 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8125 (rng-cons-group-after, rng-subst-group-after)
8126 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8127 Use closures instead of `(lambda...).
8128
8129 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8130
8131 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8132 of BEG and END.
8133
8134 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8135 Use `tramp-handle-insert-file-contents'.
8136 (tramp-gvfs-handle-insert-file-contents): Remove function.
8137
8138 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8139 Use `save-restriction' in order to keep markers.
8140
8141 * net/trampver.el: Update release number.
8142
8143 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * progmodes/compile.el (compilation-parse-errors):
8146 Use compilation--put-prop.
8147 (compilation--ensure-parse): Check compilation-multiline.
8148
8149 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8150
8151 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8152 lexical-binding.
8153
8154 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8155
8156 * progmodes/ruby-mode.el: Fix recently added tests.
8157 (ruby-smie-grammar): Add - and +.
8158 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8159 (ruby-smie--backward-id): New functions.
8160 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8161 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8162 any more.
8163
8164 2013-10-07 Leo Liu <sdl.web@gmail.com>
8165
8166 * register.el (register-preview-delay)
8167 (register-preview-functions): New variables.
8168 (register-read-with-preview, register-preview)
8169 (register-describe-oneline): New functions.
8170 (point-to-register, window-configuration-to-register)
8171 (frame-configuration-to-register, jump-to-register)
8172 (number-to-register, view-register, insert-register)
8173 (copy-to-register, append-to-register, prepend-to-register)
8174 (copy-rectangle-to-register): Use register-read-with-preview to
8175 read register. (Bug#15525)
8176
8177 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8178
8179 * net/network-stream.el (network-stream-open-starttls): Don't add
8180 --insecure if it's already present, because that gnutls-cli
8181 rejects getting that parameter twice.
8182
8183 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8184
8185 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8186 keyword, too.
8187
8188 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8189
8190 * newcomment.el (comment-use-global-state): Change default value
8191 to t, mark obsolete (Bug#15251).
8192 (comment-beginning): In addition to `comment-to-syntax', check the
8193 value of `comment-use-global-state'.
8194
8195 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8198 (ruby-comment-column): Follow the global default, by default.
8199 (ruby-smie-grammar): Add assignment syntax.
8200 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8201 open-paren, a comma, or a \.
8202 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8203 and line continuations.
8204 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8205 followed by implicit semi-colons. Add rule for string concatenation
8206 and for indentation at BOB.
8207 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8208
8209 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8210 calling next-sexp, since next-token may have skipped chars which
8211 next-sexp doesn't know should be skipped!
8212
8213 2013-10-05 Leo Liu <sdl.web@gmail.com>
8214
8215 * progmodes/octave.el (octave-send-region):
8216 Call compilation-forget-errors.
8217
8218 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8219
8220 * vc/vc-svn.el (vc-svn-find-admin-dir):
8221 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8222 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8223 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8224 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8225
8226 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8229
8230 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * subr.el (read-passwd): Hide chars even when called within a context
8233 where after-change-functions is disabled (bug#15501).
8234 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8235 until we removed ourself from overriding-terminal-local-map.
8236
8237 2013-10-04 Leo Liu <sdl.web@gmail.com>
8238
8239 * progmodes/octave.el (inferior-octave-mode):
8240 Call compilation-forget-errors.
8241
8242 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8243
8244 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8245
8246 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8247
8248 * net/secrets.el (secrets-create-collection): Add optional
8249 argument ALIAS. Use proper Label keyword. Append ALIAS as
8250 dbus-call-method argument. (Bug#15516)
8251
8252 2013-10-04 Leo Liu <sdl.web@gmail.com>
8253
8254 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8255 (inferior-octave-compilation-font-lock-keywords): New variables.
8256 (compilation-error-regexp-alist)
8257 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8258 (inferior-octave-mode): Use compilation-shell-minor-mode.
8259
8260 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8261
8262 * minibuffer.el (completion--replace): Be careful that `end' might be
8263 a marker.
8264
8265 2013-10-03 Daiki Ueno <ueno@gnu.org>
8266
8267 Add support for package signature checking.
8268 * emacs-lisp/package.el (url-http-file-exists-p)
8269 (epg-make-context, epg-context-set-home-directory)
8270 (epg-verify-string, epg-context-result-for)
8271 (epg-signature-status, epg-signature-to-string)
8272 (epg-check-configuration, epg-configuration)
8273 (epg-import-keys-from-file): Declare.
8274 (package-check-signature): New user option.
8275 (package-unsigned-archives): New user option.
8276 (package-desc): Add `signed' field.
8277 (package-load-descriptor): Set `signed' field if .signed file exists.
8278 (package--archive-file-exists-p): New function.
8279 (package--check-signature): New function.
8280 (package-install-from-archive): Check package signature.
8281 (package--download-one-archive): Check archive signature.
8282 (package-delete): Remove .signed file.
8283 (package-import-keyring): New command.
8284 (package-refresh-contents): Import default keyring.
8285 (package-desc-status): Add "unsigned" status.
8286 (describe-package-1, package-menu--print-info)
8287 (package-menu-mark-delete, package-menu--find-upgrades)
8288 (package-menu--status-predicate): Support "unsigned" status.
8289
8290 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8293 the new compilation scheme using the new byte-codes.
8294
8295 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8296 (byte-pophandler): New byte codes.
8297 (byte-goto-ops): Adjust accordingly.
8298 (byte-compile--use-old-handlers): New var.
8299 (byte-compile-catch): Use new byte codes depending on
8300 byte-compile--use-old-handlers.
8301 (byte-compile-condition-case--old): Rename from
8302 byte-compile-condition-case.
8303 (byte-compile-condition-case--new): New function.
8304 (byte-compile-condition-case): New function that dispatches depending
8305 on byte-compile--use-old-handlers.
8306 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8307 when we can.
8308
8309 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8310 Optimize under `condition-case' and `catch' if
8311 byte-compile--use-old-handlers is nil.
8312 (disassemble-offset): Handle new bytecodes.
8313
8314 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8315
8316 * subr.el (error): Use `declare'.
8317 (decode-char, encode-char): Use advertised-calling-convention instead
8318 of the docstring to discourage use of the `restriction' arg.
8319
8320 2013-10-03 Daiki Ueno <ueno@gnu.org>
8321
8322 * epg.el (epg-verify-file): Add a comment saying that it does not
8323 notify verification error as a return value nor a signal.
8324 (epg-verify-string): Ditto.
8325
8326 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8327
8328 * progmodes/compile.el (compilation-start): Try globbing the arg to
8329 `cd' (bug#15417).
8330
8331 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8332
8333 Sync with Tramp 2.2.8.
8334
8335 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8336 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8337 * net/trampver.el: Update release number.
8338
8339 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8340
8341 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8342 and default-process-coding-system for darwin only.
8343
8344 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8347
8348 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8349
8350 * vc/vc-git.el (vc-git-grep): Disable pager.
8351
8352 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8353
8354 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8355 Use :url instead of :homepage, as per
8356 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8357
8358 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8359 non-nil, use `syntax-ppss' (Bug#15251).
8360
8361 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8362
8363 * progmodes/octave.el (inferior-octave-startup-file):
8364 Prefer ~/.emacs.d/init_octave.m.
8365
8366 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8367
8368 * emacs-lisp/package.el (package-desc-from-define):
8369 Accept additional arguments as plist, convert them to an alist and store
8370 them in the `extras' slot.
8371 (package-generate-description-file): Convert extras alist back to
8372 plist and append to the `define-package' form arguments.
8373 (package--alist-to-plist): New function.
8374 (package--ac-desc): Add `extras' slot.
8375 (package--add-to-archive-contents): Check if the archive-contents
8376 vector is long enough, and if it is, pass its `extras' slot value
8377 to `package-desc-create'.
8378 (package-buffer-info): Call `lm-homepage', pass the returned value
8379 to `package-desc-from-define'.
8380 (describe-package-1): Render the homepage button (Bug#13291).
8381
8382 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8383 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8384
8385 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8386
8387 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8388 and default-process-coding-system to utf-8-unix (Bug#15402).
8389
8390 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8391
8392 * subr.el (looking-back): Do not recommend using looking-back.
8393
8394 2013-09-28 Alan Mackenzie <acm@muc.de>
8395
8396 Fix indentation/fontification of Java enum with "implements".
8397
8398 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8399 regexp which matches "implements", etc., in Java.
8400 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8401 specifier clauses coming after "enum".
8402 * progmodes/cc-fonts.el (c-font-lock-declarations)
8403 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8404 after "enum".
8405
8406 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8407
8408 * faces.el (region): Change ns_selection_color to
8409 ns_selection_fg_color, add ns_selection_bg_color.
8410
8411 2013-09-28 Leo Liu <sdl.web@gmail.com>
8412
8413 * progmodes/octave.el (inferior-octave-completion-table)
8414 (inferior-octave-completion-at-point): Minor tweaks.
8415
8416 * textmodes/ispell.el (ispell-lookup-words): Rename from
8417 lookup-words. (Bug#15460)
8418 (lookup-words): Obsolete.
8419 (ispell-complete-word, ispell-command-loop): All uses changed.
8420
8421 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8422
8423 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8424 (octave-mode-menu): Add octave-send-buffer.
8425 (octave-send-buffer): New function.
8426
8427 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8428
8429 * progmodes/octave.el (octave-mode-map): Add key binding for
8430 octave-lookfor.
8431 (octave-mode-menu): Add octave-lookfor.
8432 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8433 octave-lookfor.
8434 (octave-lookfor): New function.
8435
8436 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8439 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8440 its convention.
8441 (cl--loop-set-iterator-function): New function.
8442 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8443 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8444 Bind `it' with `let' instead of substituting it with `cl-subst'.
8445 (cl--unused-var-p): New function.
8446 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8447 Eliminate some unused variable warnings (bug#15326).
8448
8449 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8450
8451 * doc-view.el (doc-view-scale-reset): Rename from
8452 `doc-view-reset-zoom-level'.
8453 (doc-view-scale-adjust): New command.
8454 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8455 `doc-view-scale-adjust'.
8456
8457 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8458
8459 * doc-view.el (doc-view-reset-zoom-level): New command.
8460 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8461 zoom commands (bug#15466).
8462
8463 2013-09-26 Kenichi Handa <handa@gnu.org>
8464
8465 * international/quail.el (quail-help): Make it not a command.
8466
8467 2013-09-26 Leo Liu <sdl.web@gmail.com>
8468
8469 * minibuffer.el (completion-all-sorted-completions): Make args
8470 optional as they are.
8471
8472 2013-09-25 Daniel Colascione <dancol@dancol.org>
8473
8474 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8475 specs are and that they're not evaluated.
8476
8477 2013-09-24 Sam Steingold <sds@gnu.org>
8478
8479 * midnight.el (clean-buffer-list-kill-regexps)
8480 (clean-buffer-list-kill-buffer-names): Update for the new Man
8481 buffer naming which includes the object name.
8482
8483 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8486 (eshell-parse-command, eshell-parse-pipeline): Use it since
8487 eshell-separate-commands requires a dynamic scoped var.
8488 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8489
8490 2013-09-23 Leo Liu <sdl.web@gmail.com>
8491
8492 * autoinsert.el (auto-insert-alist): Make the value of
8493 lexical-binding match its file setting.
8494
8495 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8496
8497 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8498
8499 * autoarg.el (autoarg-kp-digit-argument):
8500 * electric.el (Electric-command-loop):
8501 * kmacro.el (kmacro-step-edit-insert):
8502 Do not set universal-argument-num-events.
8503
8504 2013-09-22 Leo Liu <sdl.web@gmail.com>
8505
8506 * files.el (interpreter-mode-alist): Add octave.
8507
8508 2013-09-21 Alan Mackenzie <acm@muc.de>
8509
8510 C++: fontify identifier in declaration following "public:" correctly.
8511 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8512 to match "public", etc.
8513 (c-decl-prefix-re): Add ":" into the C++ value.
8514 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8515 bit. Add a check for a ":" preceded by "public", etc.
8516
8517 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8518
8519 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8520 recognized by GDB 7.5 and later.
8521
8522 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8523
8524 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8525
8526 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * subr.el (internal--call-interactively): New const.
8529 (called-interactively-p): Use it (bug#3984).
8530
8531 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8532
8533 * vc/pcvs.el (cvs-mode-ignore):
8534 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8535 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8536
8537 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8540 (eshell-ls-orig-insert-directory): Remove.
8541 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8542 (eshell-ls-use-in-dired): Use advice-add/remove.
8543 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8544 Add `orig-fun' arg for use in :around advice.
8545 Make it check (redundantly) eshell-ls-use-in-dired.
8546
8547 2013-09-19 Glenn Morris <rgm@gnu.org>
8548
8549 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8550
8551 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8552
8553 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8554
8555 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8556
8557 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8558 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8559 (tramp-get-remote-python): New defuns.
8560 (tramp-get-remote-uid-with-perl)
8561 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8562 contributed by yary <not.com@gmail.com> (tiny change).
8563 (tramp-get-remote-uid-with-python)
8564 (tramp-get-remote-gid-with-python): New defuns. Python code
8565 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8566 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8567
8568 2013-09-19 Glenn Morris <rgm@gnu.org>
8569
8570 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8571
8572 * eshell/em-unix.el (eshell-remove-entries):
8573 Rename argument to avoid name-clash with global `top-level'.
8574
8575 * eshell/esh-proc.el (eshell-kill-process-function):
8576 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8577 (eshell-reset-after-proc): Remove unused arg `proc'.
8578
8579 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8580 (directory-files-and-attributes): Mark unused arg.
8581
8582 * eshell/em-unix.el (eshell-remove-entries):
8583 Remove unused arg `path'. Update callers.
8584
8585 * eshell/em-hist.el (eshell-hist-parse-arguments):
8586 Remove unused arg `silent'. Update callers.
8587
8588 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8589 Fix (f)boundp mix-up.
8590
8591 * eshell/em-smart.el (eshell-smart-scroll-window)
8592 (eshell-disable-after-change):
8593 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8594
8595 2013-09-18 Alan Mackenzie <acm@muc.de>
8596
8597 Fix fontification of type when followed by "const".
8598 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8599 "known" types from fontification.
8600
8601 2013-09-18 Glenn Morris <rgm@gnu.org>
8602
8603 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8604 (chart-face-list): Drop Emacsen without display-color-p.
8605
8606 * net/eww.el (libxml-parse-html-region): Declare.
8607 (eww-display-html): Explicit error if no libxml2 support.
8608
8609 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8610
8611 * image.el (image-type-from-buffer, image-multi-frame-p):
8612 Remove --without-x warning/error.
8613
8614 * mouse.el (mouse-yank-primary):
8615 * term.el (term-mouse-paste):
8616 Reorder to silence --without-x compilation.
8617
8618 * mpc.el (doc-view-mode): Silence --without-x compilation.
8619
8620 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8621 Silence --without-x compilation.
8622
8623 * progmodes/gud.el (gud-find-file, gud-mode):
8624 Silence --without-x compilation.
8625 (tooltip-mode): Declare.
8626
8627 * wdired.el (dired-backup-overwrite): Remove declaration.
8628 (wdired-mode-map): Add doc string.
8629
8630 * custom.el (x-get-resource): Declare.
8631
8632 * eshell/em-glob.el (ange-cache):
8633 * eshell/em-unix.el (ange-cache): Declare.
8634
8635 * faces.el (x-display-list, x-open-connection, x-get-resource):
8636 Declare.
8637
8638 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8639 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8640 Declare.
8641
8642 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8643
8644 * net/gnutls.el (gnutls-log-level): Declare.
8645
8646 * net/shr.el (image-size, image-animate): Declare.
8647
8648 * simple.el (font-info): Declare.
8649
8650 * subr.el (x-popup-dialog): Declare.
8651
8652 * term/common-win.el (x-select-enable-primary)
8653 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8654 Declare.
8655
8656 * term/ns-win.el (x-handle-args): Declare.
8657
8658 * term/x-win.el (x-select-enable-clipboard): Declare.
8659
8660 * term/w32-win.el (create-default-fontset): Declare.
8661
8662 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8663 Declare.
8664
8665 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8666 (fit-frame-to-buffer): Explicit error if --without-x.
8667 (mouse-autoselect-window-select): Silence compiler.
8668
8669 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8670
8671 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8672 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8673 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8674 * eshell/esh-util.el (eshell-sublist):
8675 Remove unused local variables.
8676
8677 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8678
8679 * textmodes/two-column.el: Make 2C-split work for --without-x.
8680 (scroll-bar-columns): Autoload.
8681 (top-level): Require fringe when compiling.
8682
8683 2013-09-18 Leo Liu <sdl.web@gmail.com>
8684
8685 * subr.el (add-hook): Robustify to handle closure as well.
8686
8687 2013-09-17 Glenn Morris <rgm@gnu.org>
8688
8689 * simple.el (messages-buffer-mode-map): Unbind "g".
8690
8691 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * help-mode.el (help-mode-finish): Use derived-mode-p.
8694 Remove obsolete highlighting.
8695
8696 * play/life.el (life-mode): Use define-derived-mode. Derive from
8697 special-mode.
8698 (life): Let-bind inhibit-read-only.
8699 (life-setup): Avoid `setq'. Use `life-mode'.
8700
8701 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8702 which should not be needed any more.
8703 (package-menu-refresh, package-menu-describe-package): Use user-error.
8704
8705 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8706 (eshell-post-rewrite-command-hook): Make obsolete.
8707 (eshell-parse-command): Simplify.
8708 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8709 (eshell--cmd): Declare.
8710 (eshell-parse-pipeline): Remove unused var `final-p'.
8711 Pass a dynvar to eshell-post-rewrite-command-hook.
8712 Implement the new eshell-post-rewrite-command-function.
8713 (eshell-invoke-directly): Remove unused arg `input'.
8714 * eshell/esh-io.el (eshell-io-initialize):
8715 Use eshell-post-rewrite-command-function (bug#15399).
8716 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8717 adjust to new calling convention.
8718 (eshell-create-handles): Rename args to avoid clashing with dynvar
8719 `standard-output'.
8720
8721 2013-09-17 Glenn Morris <rgm@gnu.org>
8722
8723 * simple.el (messages-buffer-mode): New major mode.
8724 (messages-buffer): New function.
8725 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8726 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8727 (ert-run-test): Use `messages-buffer' function.
8728 (ert--force-message-log-buffer-truncation): Ignore read-only.
8729 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8730 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8731
8732 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8735
8736 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8737
8738 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * icomplete.el (icomplete-in-buffer): New var.
8741 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8742 vars and replace them with functions.
8743 (icomplete-minibuffer-setup): Adjust accordingly.
8744 (icomplete--completion-table, icomplete--completion-predicate)
8745 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8746 New functions.
8747 (icomplete-forward-completions, icomplete-backward-completions)
8748 (icomplete-simple-completing-p, icomplete-exhibit)
8749 (icomplete-completions): Use them.
8750 (icomplete--in-region-buffer): New var.
8751 (icomplete--in-region-setup): New function.
8752 (icomplete-mode): Use it.
8753
8754 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8755 (bug#15379).
8756 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8757 return args and options.
8758 (eshell-eval-using-options): Use the new return value of
8759 eshell--do-opts to set the options's vars in their scope.
8760 (eshell--set-option): Rename from eshell-set-option.
8761 Add arg `opt-vals'.
8762 (eshell--process-option): Rename from eshell-process-option.
8763 Add arg `opt-vals'.
8764 (eshell--process-args): Use an `opt-vals' alist to store the options's
8765 values during their processing and return them additionally to the
8766 remaining args.
8767
8768 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8769
8770 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8771 continuation character an operator, as far as indentation is
8772 concerned (Bug#15369).
8773
8774 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8775
8776 * window.el (window--state-put-2): Don't process buffer state
8777 when buffer doesn't exist any more (Bug#15382).
8778
8779 2013-09-15 Glenn Morris <rgm@gnu.org>
8780
8781 * eshell/em-unix.el (eshell/rm):
8782 Make -f ignore missing files. (Bug#15373)
8783
8784 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8785 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8786 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8787
8788 2013-09-14 Glenn Morris <rgm@gnu.org>
8789
8790 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8791
8792 2013-09-13 Glenn Morris <rgm@gnu.org>
8793
8794 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8795 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8796
8797 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8798
8799 * frame.el (x-focus-frame): Mark as declared in frame.c.
8800
8801 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * ls-lisp.el: Use advice-add.
8804 (original-insert-directory): Remove.
8805 (ls-lisp--insert-directory): Rename from insert-directory; add
8806 `orig-fun' argument.
8807 (insert-directory): Advise.
8808
8809 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8810
8811 * term.el (term-emulate-terminal): Decode the command string
8812 before passing it to term-command-hook. (Bug#15337)
8813
8814 2013-09-13 Glenn Morris <rgm@gnu.org>
8815
8816 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8817
8818 * eshell/esh-ext.el (eshell-search-path): Declare.
8819
8820 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8821 Otherwise an error occurs if eshell-dirs module not loaded.
8822
8823 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8824
8825 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8828 `tramp-check-proper-host'. Check for a valid method name.
8829
8830 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8831 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8832 * net/tramp-sh.el (tramp-maybe-open-connection):
8833 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8834
8835 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8836 also for hash values.
8837
8838 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * term/ns-win.el (parameters): Don't declare as dynamic.
8841 (before-make-frame-hook): Don't add ineffective function.
8842
8843 * eshell/*.el: Use lexical-binding (bug#15231).
8844
8845 2013-09-12 Kenichi Handa <handa@gnu.org>
8846
8847 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8848
8849 2013-09-12 Glenn Morris <rgm@gnu.org>
8850
8851 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8852 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8853
8854 * subr.el (do-after-load-evaluation): Also give compiler warnings
8855 when obsolete files are used (except by obsolete files).
8856
8857 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8858 in the status output, assume `filename' is the first. (Bug#15322)
8859
8860 * vc/vc.el (vc-deduce-fileset): Doc fix.
8861
8862 * calc/calc-help.el (Info-goto-node):
8863 * progmodes/cperl-mode.el (Info-find-node):
8864 * vc/ediff.el (Info-goto-node): Update declarations.
8865
8866 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8867
8868 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8869 (vc-bzr-pull): Require vc-dispatcher.
8870 * vc/vc-git.el (vc-compilation-mode): Declare.
8871 (vc-git-pull): Require vc-dispatcher.
8872
8873 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8874
8875 * progmodes/octave.el (help-button-action): Declare.
8876
8877 * shell.el (shell-directory-tracker): Output error as a message
8878 rather than just returning it as a string.
8879 (shell-process-pushd): Remove useless use of message.
8880
8881 * dframe.el (dframe-timer-fn):
8882 * files.el (dir-locals-read-from-file):
8883 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8884 (mpc-format):
8885 * reveal.el (reveal-post-command):
8886 * saveplace.el (load-save-place-alist-from-file):
8887 * shell.el (shell-resync-dirs):
8888 * w32-common-fns.el (x-get-selection-value):
8889 * emacs-lisp/copyright.el (copyright-find-copyright):
8890 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8891 * emulation/tpu-edt.el (tpu-copy-keyfile):
8892 * play/bubbles.el (bubbles--mark-neighbourhood):
8893 * progmodes/executable.el
8894 (executable-make-buffer-file-executable-if-script-p):
8895 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8896
8897 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 Cleanup Eshell to rely less on dynamic scoping.
8900 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8901 last-value, and ext-command here. Bind `args' closer to `body'.
8902 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8903 (eshell--args): Declare new dynamic var.
8904 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8905 last-value, and ext-command. Pass `args' to `body'.
8906 (eshell-process-args): Bind eshell--args.
8907 (eshell-set-option): Use eshell--args.
8908 * eshell/eshell.el (eshell): Use derived-mode-p.
8909 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8910 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8911 (eshell-glob-function): Declare.
8912 * eshell/esh-util.el: Require cl-lib.
8913 (eshell-read-hosts-file): Avoid add-to-list.
8914 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8915 `err'.
8916 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8917 Declare.
8918 (eshell/diff): Remove unused var `err'.
8919 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8920 `killflag'.
8921 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8922 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8923 first use.
8924 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8925 Move declaration before first use.
8926 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8927 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8928 rely on cl-return.
8929
8930 2013-09-12 Glenn Morris <rgm@gnu.org>
8931
8932 * term/ns-win.el (global-map): Remove binding for ispell-next,
8933 deleted 1999-05-29. (Bug#15357)
8934
8935 2013-09-11 Glenn Morris <rgm@gnu.org>
8936
8937 * echistory.el (electric-command-history): Remove call to deleted func.
8938
8939 * play/landmark.el (landmark-mode): Fix typos.
8940
8941 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8942 Check cvs-sort-ignore-file is bound.
8943
8944 * savehist.el: No need for cl when compiling on Emacs.
8945
8946 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8949 (bug#15338).
8950 (eshell-self-insert-command, eshell-send-invisible):
8951 Remove unused argument.
8952 (eshell-handle-control-codes): Remove unused var `orig'.
8953 Avoid delete-backward-char.
8954
8955 * files.el (set-auto-mode): Simplify a bit further.
8956
8957 2013-09-11 Glenn Morris <rgm@gnu.org>
8958
8959 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8960 (set-auto-mode): Don't regexp-quote elements.
8961 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8962 * progmodes/cc-mode.el (interpreter-mode-alist):
8963 * progmodes/ruby-mode.el (interpreter-mode-alist):
8964 Revert previous change.
8965
8966 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * play/snake.el (snake-mode):
8969 * play/mpuz.el (mpuz-mode):
8970 * play/landmark.el (lm-mode):
8971 * play/blackbox.el (blackbox-mode):
8972 * play/5x5.el (5x5-mode):
8973 * obsolete/options.el (Edit-options-mode):
8974 * net/quickurl.el (quickurl-list-mode):
8975 * net/newst-treeview.el (newsticker-treeview-mode):
8976 * mail/rmailsum.el (rmail-summary-mode):
8977 * mail/mspools.el (mspools-mode):
8978 * locate.el (locate-mode):
8979 * ibuffer.el (ibuffer-mode):
8980 * emulation/ws-mode.el (wordstar-mode):
8981 * emacs-lisp/debug.el (debugger-mode):
8982 * array.el (array-mode):
8983 * net/eudc.el (eudc-mode): Use define-derived-mode.
8984 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8985 Move initialization into declaration.
8986 (mairix-searches-mode): Use define-derived-mode.
8987 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8988 (eudc-edit-hotlist): Use dolist.
8989 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8990 (Man-mode): Use define-derived-mode.
8991 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8992 (Info-edit-mode): Use define-derived-mode.
8993 (Info-cease-edit): Use Info-mode.
8994 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8995 into declaration.
8996 (eshell-mode): Use define-derived-mode.
8997 * chistory.el (command-history-mode-map): Rename from
8998 command-history-map.
8999 (command-history-mode): Use define-derived-mode.
9000 (Command-history-setup): Remove function.
9001 * calc/calc.el (calc-trail-mode-map): New var.
9002 (calc-trail-mode): Use define-derived-mode.
9003 (calc-trail-buffer): Set calc-main-buffer manually.
9004 * bookmark.el (bookmark-insert-annotation): New function.
9005 (bookmark-edit-annotation): Use it.
9006 (bookmark-edit-annotation-mode): Make it a proper major mode.
9007 (bookmark-send-edited-annotation): Use derived-mode-p.
9008 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9009 closer to its ideal place. Use \' to match EOS.
9010
9011 * profiler.el (profiler-calltree-find): Use function-equal.
9012
9013 2013-09-10 Glenn Morris <rgm@gnu.org>
9014
9015 * files.el (interpreter-mode-alist): Convert to regexps.
9016 (set-auto-mode): Adapt for this. (Bug#15306)
9017 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9018 Comment out unused variable.
9019 * progmodes/cc-mode.el (interpreter-mode-alist):
9020 * progmodes/python.el (interpreter-mode-alist):
9021 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9022 * progmodes/sh-script.el (sh-set-shell):
9023 No longer use interpreter-mode-alist to get list of shells.
9024
9025 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9026
9027 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * simple.el: Use set-temporary-overlay-map for universal-argument.
9030 (universal-argument-map): Don't use default-bindings (bug#15317).
9031 Bind switch-frame explicitly. Replace universal-argument-minus with
9032 a conditional binding.
9033 (universal-argument-num-events, saved-overriding-map): Remove.
9034 (restore-overriding-map): Remove.
9035 (universal-argument--mode): Rename from save&set-overriding-map,
9036 and rewrite.
9037 (universal-argument, universal-argument-more, negative-argument)
9038 (digit-argument): Adjust accordingly.
9039 (universal-argument-minus): Remove.
9040 (universal-argument-other-key): Remove.
9041
9042 * subr.el (with-demoted-errors): Add `format' argument.
9043
9044 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9045
9046 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9047 `tramp-cleanup-connection'.
9048
9049 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9050 parameters KEEP-DEBUG and KEEP-PASSWORD.
9051
9052 * net/tramp.el (tramp-file-name-handler):
9053 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9054 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9055 (tramp-maybe-open-connection):
9056 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9057 Use `tramp-cleanup-connection'.
9058
9059 * net/tramp-sh.el (tramp-maybe-open-connection):
9060 Catch 'uname-changed inside the progress reporter.
9061
9062 2013-09-10 Glenn Morris <rgm@gnu.org>
9063
9064 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9065
9066 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9067 returns "alternate access method" in mode (eg "-rw-r--r--.").
9068
9069 2013-09-08 Glenn Morris <rgm@gnu.org>
9070
9071 * saveplace.el (load-save-place-alist-from-file):
9072 Demote errors. (Bug#15305)
9073
9074 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9075
9076 Improve compatibility with older Emacsen, and XEmacs.
9077
9078 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9079 only if it is bound. It isn't for XEmacs.
9080 (with-tramp-progress-reporter): Do not let-bind `result'.
9081 This yields to scoping errors in XEmacs.
9082 (tramp-handle-make-auto-save-file-name): New function, moved from
9083 tramp-sh.el.
9084
9085 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9086 for `make-auto-save-file-name'.
9087 (tramp-adb--gnu-switches-to-ash):
9088 Use `tramp-compat-replace-regexp-in-string'.
9089
9090 * net/tramp-cache.el (tramp-cache-print): Call
9091 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9092
9093 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9094 bound. It isn't for XEmacs.
9095
9096 * net/tramp-compat.el (tramp-compat-copy-file):
9097 Catch `wrong-number-of-arguments' error.
9098 (tramp-compat-replace-regexp-in-string): New defun.
9099
9100 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9101 for `make-auto-save-file-name'.
9102 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9103 `copy-file'.
9104 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9105 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9106 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9107
9108 * net/tramp-gw.el (tramp-gw-open-network-stream):
9109 Use `tramp-compat-replace-regexp-in-string'.
9110
9111 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9112 Call `tramp-handle-make-auto-save-file-name'.
9113 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9114 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9115 (tramp-sh-file-inotifywait-process-filter):
9116 Use `tramp-compat-replace-regexp-in-string'.
9117 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9118
9119 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9120 for `make-auto-save-file-name'.
9121 (tramp-smb-handle-copy-directory):
9122 Call `tramp-compat-replace-regexp-in-string'.
9123 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9124 (tramp-smb-handle-copy-file): Improve error message.
9125 (tramp-smb-handle-rename-file): Rename directly only in case
9126 `newname' does not exist yet. This is a restriction of smbclient.
9127 (tramp-smb-maybe-open-connection): Rerun the function only when
9128 `auth-sources' is non-nil.
9129
9130 2013-09-08 Kenichi Handa <handa@gnu.org>
9131
9132 * international/characters.el: Set category "^" (Combining) for
9133 more characters.
9134
9135 2013-09-07 Alan Mackenzie <acm@muc.de>
9136
9137 Correctly fontify Java class constructors.
9138 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9139 in Java Mode.
9140 (c-recognize-typeless-decls): Set the Java value to t.
9141 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9142 While handling a "(", add a check for, effectively, Java, and handle a
9143 "typeless" declaration there.
9144
9145 2013-09-07 Roland Winkler <winkler@gnu.org>
9146
9147 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9148 field subtitle for entry type book.
9149
9150 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * minibuffer.el: Make minibuffer-complete call completion-in-region
9153 rather than other way around.
9154 (completion--some, completion-pcm--find-all-completions):
9155 Don't delay signals when debugging.
9156 (minibuffer-completion-contents): Beware fields within the
9157 minibuffer contents.
9158 (completion-all-sorted-completions): Use defvar-local.
9159 (completion--do-completion, completion--cache-all-sorted-completions)
9160 (completion-all-sorted-completions, minibuffer-force-complete):
9161 Add args `beg' and `end'.
9162 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9163 (minibuffer-complete): Use completion-in-region.
9164 (completion-complete-and-exit): New fun, extracted from
9165 minibuffer-complete-and-exit.
9166 (minibuffer-complete-and-exit): Use it.
9167 (completion--complete-and-exit): Rename from
9168 minibuffer--complete-and-exit.
9169 (completion-in-region--single-word): New function, extracted from
9170 minibuffer-complete-word.
9171 (minibuffer-complete-word): Use it.
9172 (display-completion-list): Make `common-substring' argument obsolete.
9173 (completion--in-region): Call completion--in-region-1 instead of
9174 minibuffer-complete.
9175 (completion-help-at-point): Pass boundaries to
9176 minibuffer-completion-help as args rather than via an overlay.
9177 (completion-pcm--string->pattern): Use `any-delim'.
9178 (completion-pcm--optimize-pattern): New function.
9179 (completion-pcm--pattern->regex): Handle `any-delim'.
9180 * icomplete.el (icomplete-forward-completions)
9181 (icomplete-backward-completions, icomplete-completions):
9182 Adjust calls to completion-all-sorted-completions and
9183 completion--cache-all-sorted-completions.
9184 (icomplete-with-completion-tables): Default to t.
9185 * emacs-lisp/crm.el (crm--current-element): Rename from
9186 crm--select-current-element. Don't put an overlay but return the
9187 boundaries instead.
9188 (crm--completion-command): Take two new args to bind to the boundaries.
9189 (crm-completion-help): Adjust accordingly.
9190 (crm-complete): Use completion-in-region.
9191 (crm-complete-word): Use completion-in-region--single-word.
9192 (crm-complete-and-exit): Use completion-complete-and-exit.
9193
9194 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9197 than dynamically.
9198
9199 2013-09-06 Juri Linkov <juri@jurta.org>
9200
9201 * info.el (Info-display-images-node): When image file doesn't exist
9202 display text version of the image if it's provided in the Info file.
9203 Otherwise, display the location of missing image from SRC attribute.
9204 Add help-echo text property from ALT attribute. (Bug#15279)
9205
9206 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9209 (edit-abbrevs-mode): Use define-derived-mode.
9210
9211 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9212 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9213 that it's defined.
9214 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9215 Use define-derived-mode.
9216
9217 * epg.el (epg-start-encrypt): Minor CSE simplification.
9218
9219 2013-09-06 William Xu <william.xwl@gmail.com>
9220
9221 * arc-mode.el: Add support for 7za (bug#15264).
9222 (archive-7z-program): New var.
9223 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9224 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9225 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9226
9227 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9228
9229 Remove URL syntax.
9230
9231 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9232 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9233 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9234 (tramp-postfix-host-format, tramp-file-name-regexp)
9235 (tramp-completion-file-name-regexp)
9236 (tramp-completion-dissect-file-name)
9237 (tramp-handle-substitute-in-file-name): Remove 'url case.
9238 (tramp-file-name-regexp-url)
9239 (tramp-completion-file-name-regexp-url): Remove constants.
9240
9241 2013-09-06 Glenn Morris <rgm@gnu.org>
9242
9243 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9244
9245 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9246
9247 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9248 keywords" below "here-doc beginnings" (Bug#15270).
9249
9250 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * subr.el (pop): Use `car-safe'.
9253 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9254 to detect unused `pop' return value.
9255
9256 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9257 var `block-regexp'.
9258 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9259 (python-fill-string): Remove unused var `marker'.
9260 (python-skeleton-add-menu-items): Remove unused var `items'.
9261
9262 * international/mule-cmds.el: Require CL.
9263 (find-coding-systems-for-charsets): Avoid add-to-list.
9264 (sanitize-coding-system-list): New function, extracted from
9265 select-safe-coding-system-interactively.
9266 (select-safe-coding-system-interactively): Use it.
9267 (read-input-method-name): Accept symbols for `default'.
9268
9269 * emacs-lisp/advice.el (defadvice): Add indent rule.
9270
9271 2013-09-05 Daniel Hackney <dan@haxney.org>
9272
9273 * dired-x.el:
9274 * net/ange-ftp.el:
9275 * net/browse-url.el:
9276 * net/dbus.el:
9277 * net/eudc.el:
9278 * net/eudcb-ldap.el:
9279 * net/eww.el:
9280 * net/imap.el:
9281 * printing.el:
9282 * vc/ediff-diff.el:
9283 * vc/ediff-init.el:
9284 * vc/ediff-merg.el:
9285 * vc/ediff-mult.el:
9286 * vc/ediff-util.el:
9287 * vc/ediff-wind.el:
9288 * vc/ediff.el:
9289 * vc/emerge.el:
9290 * vc/pcvs.el:
9291 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9292 byte compiler. Remove some unused let-bound variables.
9293
9294 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9297 a "ref-cell", since it gets better optimized (bug#14883).
9298
9299 2013-09-05 Glenn Morris <rgm@gnu.org>
9300
9301 * progmodes/cc-awk.el (c-forward-sws): Declare.
9302
9303 2013-09-04 Glenn Morris <rgm@gnu.org>
9304
9305 * generic-x.el [rul-generic-mode]: Require cc-mode.
9306 (c++-mode-syntax-table): Declare.
9307 (rul-generic-mode-syntax-table): Init in the defvar.
9308
9309 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9312 (vc-do-command, vc-set-async-update):
9313 * vc/vc-mtn.el (vc-mtn-dir-status):
9314 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9315 (vc-hg-pull, vc-hg-merge-branch):
9316 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9317 (vc-git-merge-branch):
9318 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9319 (vc-cvs-dir-status-files):
9320 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9321 (vc-bzr-dir-status-files):
9322 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9323 * vc/vc-annotate.el: Use lexical-binding.
9324 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9325 (vc-sentinel-movepoint): Declare.
9326 (vc-annotate): Don't use `goto-line'.
9327 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9328 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9329 (vc-sentinel-movepoint): Declare.
9330 * vc/vc-svn.el: Use lexical-binding.
9331 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9332 * vc/vc-sccs.el:
9333 * vc/vc-rcs.el: Use lexical-binding.
9334
9335 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9336 `deleted'. Don't drop errors silently.
9337
9338 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9339
9340 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9341
9342 * vc/vc.el (vc-ignore): Rewrite.
9343 (vc-default-ignore): New function.
9344 (vc-default-ignore-completion-table): Use find-ignore-file.
9345
9346 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9347 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9348 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9349 Remove. Most code moved to vc.el.
9350
9351 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9352
9353 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9354 * net/tramp-smb.el (tramp-smb-get-file-entries):
9355 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9356 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9357
9358 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9359 Update call to it.
9360 (eww-change-select): Remove unused var `properties'.
9361 (eww-make-unique-file-name): Remove unused var `base'.
9362
9363 * finder.el (finder-compile-keywords): Don't mess with windows.
9364
9365 * calculator.el (calculator-funcall): Fix typo in last change.
9366
9367 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9368
9369 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9370 <pkg>-autoloads.el file stop us.
9371
9372 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9373 warnings, and factor out common code.
9374
9375 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9376
9377 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9378 two-character operators and whether the character preceding them
9379 changes their meaning (Bug#15208).
9380
9381 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9382
9383 Format code sent to Python shell for robustness.
9384 * progmodes/python.el (python-shell-buffer-substring):
9385 New function.
9386 (python-shell-send-region, python-shell-send-buffer): Use it.
9387
9388 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9389
9390 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9391 * net/tramp.el (tramp-user-error): ... here.
9392 (tramp-find-method, tramp-check-proper-host)
9393 (tramp-dissect-file-name, tramp-debug-message)
9394 (tramp-handle-shell-command):
9395 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9396 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9397
9398 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9399
9400 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9401
9402 * avoid.el (mouse-avoidance-point-position)
9403 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9404 returns nil.
9405
9406 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9407
9408 * progmodes/python.el (python-shell-completion-get-completions):
9409 Drop use of deleted `comint-last-prompt-overlay'.
9410 (python-nav-if-name-main): New command.
9411
9412 2013-09-01 Glenn Morris <rgm@gnu.org>
9413
9414 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9415 Avoid leading space in $wins. Otherwise the sed command used by
9416 eg compile-main ends up containing "/*.el". (Bug#15170)
9417
9418 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9419
9420 2013-08-30 Glenn Morris <rgm@gnu.org>
9421
9422 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9423 Fix is-this-a-directory logic. (Bug#15220)
9424
9425 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * textmodes/css-mode.el: Use SMIE.
9428 (css-smie-grammar): New var.
9429 (css-smie--forward-token, css-smie--backward-token)
9430 (css-smie-rules): New functions.
9431 (css-mode): Use them.
9432 (css-navigation-syntax-table): Remove var.
9433 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9434 (css-indent-calculate, css-indent-line): Remove functions.
9435
9436 Misc changes to reduce use of `(lambda...); and other cleanups.
9437 * cus-edit.el: Use lexical-binding.
9438 (customize-push-and-save, customize-apropos)
9439 (custom-buffer-create-internal): Use closures.
9440 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9441 * progmodes/ada-xref.el: Use setq.
9442 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9443 * dframe.el: Use lexical-binding.
9444 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9445 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9446 * descr-text.el: Use lexical-binding.
9447 (describe-text-widget, describe-text-sexp, describe-property-list):
9448 Use closures.
9449 * comint.el (comint-history-isearch-push-state): Use a closure.
9450 * calculator.el: Use lexical-binding.
9451 (calculator-number-to-string): Make it work with lexical-binding.
9452 (calculator-funcall): Same and use cl-letf.
9453
9454 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9455 (lisp--company-doc-string, lisp--company-location): New functions.
9456 (lisp-completion-at-point): Use them to improve Company support.
9457
9458 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9459 params of lambda expressions.
9460 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9461 (ruby-smie--opening-pipe-p): New function.
9462 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9463 symbols and matched |...| for formal params.
9464 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9465 from being treated as hanging. Handle "rescue".
9466
9467 2013-08-29 Glenn Morris <rgm@gnu.org>
9468
9469 * progmodes/cc-engine.el (c-pull-open-brace):
9470 Move definition before use.
9471
9472 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9475 are immutable. Don't use `unsafe' any more.
9476 (cl--defsubst-expand): Don't substitute at the same time as keeping
9477 a residual unused let-binding. Don't use `unsafe' any more.
9478
9479 2013-08-29 Glenn Morris <rgm@gnu.org>
9480
9481 * calendar/cal-china.el (calendar-chinese-year-cache):
9482 Recenter on 2015.
9483
9484 * nxml/nxml-util.el (nxml-debug-clear-inside):
9485 Use cl-loop rather than loop.
9486
9487 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9488
9489 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9490
9491 2013-08-28 Glenn Morris <rgm@gnu.org>
9492
9493 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9494
9495 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9496
9497 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9498
9499 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * simple.el (repeat-complex-command--called-interactively-skip):
9502 New function.
9503 (repeat-complex-command): Use it (bug#14136).
9504
9505 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9506 (c-define-abbrev-table): Add `doc' argument.
9507 (c-mode-abbrev-table, c++-mode-abbrev-table)
9508 (objc-mode-abbrev-table, java-mode-abbrev-table)
9509 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9510 (awk-mode-abbrev-table): Use it.
9511 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9512 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9513 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9514 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9515 Move initialization into the declaration; and remove any
9516 autoload cookie.
9517
9518 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9519 and dynamic let binding.
9520
9521 * vc/smerge-mode.el: Remove redundant :group args.
9522
9523 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9524 to load-path.
9525
9526 2013-08-28 Juri Linkov <juri@jurta.org>
9527
9528 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9529 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9530 (isearch-other-meta-char): Handle an undefined shifted printing
9531 character by downshifting it. (Bug#15200)
9532
9533 2013-08-28 Juri Linkov <juri@jurta.org>
9534
9535 * isearch.el (isearch-search): Change regexp error message for
9536 non-regexp searches. (Bug#15166)
9537
9538 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9539
9540 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9541 for portability to hosts where /bin/sh has problems.
9542
9543 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9546
9547 2013-08-27 Juri Linkov <juri@jurta.org>
9548
9549 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9550 in the keyboard macro. (Bug#15126)
9551
9552 2013-08-27 Juri Linkov <juri@jurta.org>
9553
9554 * isearch.el (isearch-quote-char): Comment out converting unibyte
9555 to multibyte, thus syncing with its `quoted-insert' counterpart.
9556 (Bug#15166)
9557
9558 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9559
9560 * window.el (display-buffer-use-some-window): Add missing
9561 argument in call of get-largest-window (Bug#15185).
9562 Reported by Stephen Leake.
9563
9564 2013-08-27 Glenn Morris <rgm@gnu.org>
9565
9566 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9567
9568 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9569
9570 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9571 from a matcher-function unless there's no more matches (bug#15161).
9572
9573 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9574
9575 * minibuffer.el: Revert change from 2013-08-20.
9576
9577 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9578 with text property `tramp-default', if appropriate.
9579 (tramp-check-proper-host): New defun.
9580 (tramp-dissect-file-name): Do not check hostname. Revert change
9581 of 2013-03-18.
9582 (tramp-backtrace): Make VEC-OR-PROC optional.
9583
9584 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9585 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9586 * net/tramp-sh.el (tramp-maybe-open-connection):
9587 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9588 Apply `tramp-check-proper-host'.
9589
9590 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9591
9592 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9593 lambda expression in order to have `describe-variable' display it.
9594
9595 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9596
9597 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9598 BUF can be optional. (Bug#15186)
9599
9600 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9601
9602 * progmodes/flymake.el (flymake-get-real-file-name-function):
9603 Fix broken customization. (Bug#15184)
9604
9605 2013-08-25 Alan Mackenzie <acm@muc.de>
9606
9607 Improve indentation of bracelists defined by macros (without "=").
9608
9609 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9610 expansion begins with "{", regard it as bracelist when it doesn't
9611 contain a ";".
9612
9613 Parse C++ inher-intro when there's a template split over 2 lines.
9614
9615 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9616 rigorously the search for "class" etc. followed by ":".
9617
9618 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9619 random languages a regexp which never matches rather than nil.
9620
9621 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9622
9623 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9624 (c-awk-regexp-one-line-possibly-open-char-list-re)
9625 (c-awk-one-line-possibly-open-regexp-re)
9626 (c-awk-one-line-non-syn-ws*-re): Remove.
9627 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9628 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9629 (c-awk-space*-unclosed-regexp-/-re): New constants.
9630 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9631 aren't regexp delimiters.
9632
9633 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9634 handling for a rare situation in AWK Mode involving unterminated
9635 strings/regexps.
9636
9637 2013-08-23 Glenn Morris <rgm@gnu.org>
9638
9639 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9640
9641 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9642
9643 * files.el (create-file-buffer): If the result would begin with
9644 spaces, prepend a "|" instead of removing them. (Bug#15162)
9645
9646 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9649 text-properties (bug#15155).
9650
9651 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9652 exist any more.
9653 (calc-keypad-redraw): Remove unused var `pad'.
9654 (calc-keypad-press): Remove unused var `menu'.
9655
9656 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9657
9658 * window.el (display-buffer-pop-up-frame):
9659 Call pop-up-frame-function with BUFFER current so `make-frame' will
9660 use it as the new frame's buffer (Bug#15133).
9661
9662 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9663
9664 * calendar/timeclock.el: Minor cleanups.
9665 (timeclock-ask-before-exiting, timeclock-use-display-time):
9666 Use `symbol'.
9667 (timeclock-modeline-display): Define as alias before the
9668 actual definition.
9669 (timeclock-mode-line-display): Use define-minor-mode.
9670 (timeclock-day-list-template): Make it a function, add an argument.
9671 (timeclock-day-list-required, timeclock-day-list-length)
9672 (timeclock-day-list-debt, timeclock-day-list-span)
9673 (timeclock-day-list-break): Adjust calls accordingly.
9674
9675 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9678 Use read--expression so that completion works again.
9679
9680 2013-08-21 Sam Steingold <sds@gnu.org>
9681
9682 Add rudimentary inferior shell interaction
9683 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9684 (sh-set-shell): Reset it.
9685 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9686 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9687
9688 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9689
9690 * align.el: Use lexical-binding.
9691 (align-region): Simplify accordingly.
9692
9693 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9694
9695 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9696
9697 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9698 `non-essential' up.
9699
9700 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9701
9702 * net/tramp.el:
9703 * net/tramp-adb.el:
9704 * net/tramp-cmds.el:
9705 * net/tramp-ftp.el:
9706 * net/tramp-gvfs.el:
9707 * net/tramp-gw.el:
9708 * net/tramp-sh.el: Don't wrap external variable declarations by
9709 `eval-when-compile'.
9710
9711 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9712
9713 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9714 now that Emacs supports ImageMagick animations.
9715
9716 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9717
9718 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9719 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9720
9721 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9722
9723 * window.el (mouse-autoselect-window-select): Do autoselect when
9724 mouse pointer is on margin.
9725
9726 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9727
9728 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9729
9730 2013-08-16 Glenn Morris <rgm@gnu.org>
9731
9732 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9733 Handle "Remote Directory" response of some clients. (Bug#15058)
9734
9735 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9736 Tweak warning. (Bug#14926)
9737
9738 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9739 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9740
9741 * image-mode.el (image-mode-map): Add menu items to reverse,
9742 increase, decrease, reset animation speed.
9743 (image--set-speed, image-increase-speed, image-decrease-speed)
9744 (image-reverse-speed, image-reset-speed): New functions.
9745 (image-mode-map): Add bindings for speed commands.
9746
9747 * image.el (image-animate-get-speed, image-animate-set-speed):
9748 New functions.
9749 (image-animate-timeout): Respect image :speed property.
9750
9751 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9754 previous line (bug#15101).
9755 (debugger-eval-expression, debugger-record-expression):
9756 Use read--expression (bug#15102).
9757
9758 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9759
9760 Remove byte compiler warnings, visible when compiling with
9761 `byte-compile-force-lexical-warnings' set to t.
9762
9763 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9764 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9765 (tramp-handle-unhandled-file-name-directory)
9766 (tramp-handle-file-notify-add-watch, tramp-action-login)
9767 (tramp-action-succeed, tramp-action-permission-denied)
9768 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9769 arguments with "_".
9770
9771 * net/tramp-adb.el (tramp-adb-parse-device-names)
9772 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9773 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9774 (tramp-adb-handle-file-truename): Remove unused arguments.
9775
9776 * net/tramp-cache.el (tramp-flush-directory-property)
9777 (tramp-flush-connection-property, tramp-list-connections)
9778 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9779
9780 * net/tramp-compat.el (tramp-compat-make-temp-file):
9781 Rename FILENAME to F.
9782
9783 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9784 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9785 (tramp-zeroconf-parse-workstation-device-names)
9786 (tramp-zeroconf-parse-webdav-device-names)
9787 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9788
9789 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9790 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9791
9792 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9793 arguments.
9794 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9795 (tramp-sh-handle-insert-file-contents-literally)
9796 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9797 with "_".
9798 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9799 Remove unused variables.
9800
9801 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9802 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9803 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9804
9805 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9806 Make them a defconst.
9807 (tramp-uuencode-region): Remove unused variable.
9808
9809 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9810
9811 * frameset.el (frameset--prop-setter): New function.
9812 (frameset-prop): Add gv-setter declaration.
9813 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9814 parameter was already set in FILTERED. Doc fix.
9815 (frameset--record-minibuffer-relationships): Allow saving a
9816 minibufferless frame without its corresponding minibuffer frame.
9817 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9818 frame, if the frame id matches.
9819 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9820 frames before orphaned ones.
9821 (frameset-restore): Warn about orphaned windows, instead of error out.
9822
9823 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9824
9825 * window.el (window-make-atom): Don't overwrite parameter
9826 already present.
9827 (display-buffer-in-atom-window): Handle special case where we
9828 split an already atomic window.
9829 (window--major-non-side-window, display-buffer-in-side-window)
9830 (window--side-check): Ignore minibuffer window when walking
9831 window tree.
9832 (window-deletable-p): Return 'frame only if no other frame uses
9833 our minibuffer window.
9834 (record-window-buffer): Run buffer-list-update-hook.
9835 (split-window): Make sure window--check-frame won't destroy an
9836 existing atomic window in case the new window gets nested
9837 inside.
9838 (display-buffer-at-bottom): Ignore minibuffer window when
9839 walking window tree. Don't split a side window.
9840 (pop-to-buffer): Don't set-buffer here, the select-window call
9841 should do that.
9842 (mouse-autoselect-window-select): Autoselect only if we are in the
9843 text portion of the window.
9844
9845 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9846
9847 * net/shr.el (shr-parse-image-data): New function to grab both the
9848 data itself and the Content-Type.
9849 (shr-put-image): Use it.
9850
9851 * net/eww.el (eww-display-image): Ditto.
9852
9853 * image.el (image-content-type-suffixes): New variable.
9854
9855 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9856
9857 * progmodes/python.el (python-imenu--build-tree)
9858 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9859
9860 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9861
9862 * simple.el (backward-word): Mention the optional argument.
9863
9864 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9865
9866 * frameset.el (frameset--make): Rename constructor from make-frameset.
9867 (frameset-p, frameset-valid-p): Don't autoload.
9868 (frameset-valid-p): Use normal accessors.
9869
9870 2013-08-13 Glenn Morris <rgm@gnu.org>
9871
9872 * progmodes/compile.el (compile-command): Tweak example in doc.
9873 * obsolete/scribe.el (scribe-mode):
9874 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9875
9876 * mail/feedmail.el (feedmail-confirm-outgoing)
9877 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9878
9879 * cus-start.el (truncate-partial-width-windows): Fix type.
9880
9881 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9882
9883 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9884
9885 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * emacs-lisp/timer.el (timer--time-setter): New function.
9888 (timer--time): Use it as gv-setter.
9889
9890 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9891 setter is not a symbol.
9892
9893 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9894
9895 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9896 if sending fails. This makes debugging easier.
9897
9898 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9899
9900 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9901 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9902 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9903
9904 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9905
9906 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9907
9908 2013-08-12 Glenn Morris <rgm@gnu.org>
9909
9910 * format.el (format-annotate-function):
9911 Handle read-only text properties in the source. (Bug#14887)
9912
9913 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9914
9915 * net/eww.el (eww-display-html): Ignore coding system errors.
9916 One web site uses "utf-8lias" as the coding system.
9917
9918 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9919
9920 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9921
9922 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9923
9924 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9925 (tutorial--detailed-help): Remove unused local variables.
9926 (tutorial--save-tutorial-to): Use ignore-errors.
9927 (help-with-tutorial): Use looking-at-p.
9928
9929 * view.el (view-buffer-other-window, view-buffer-other-frame):
9930 Mark unused arguments.
9931
9932 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9933 (woman-select-symbol-fonts, woman, woman-find-file)
9934 (woman-insert-file-contents, woman-non-underline-faces):
9935 Use string-match-p.
9936 (woman1-unquote): Move declaration.
9937
9938 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9939 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9940 argument. Remove unused local variable.
9941 (xml-parse-elem-type): Use string-match-p.
9942 (xml-substitute-numeric-entities): Use ignore-errors.
9943
9944 * calculator.el (calculator): Mark unused argument.
9945 (calculator-paste, calculator-quit, calculator-integer-p):
9946 Use ignore-errors.
9947 (calculator-string-to-number, calculator-decimal, calculator-exp)
9948 (calculator-op-or-exp): Use string-match-p.
9949
9950 * dired.el (dired-buffer-more-recently-used-p): Declare.
9951 (dired-insert-set-properties, dired-insert-old-subdirs):
9952 Use ignore-errors.
9953
9954 * dired-aux.el (dired-compress): Use ignore-errors.
9955 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9956 (dired-do-async-shell-command, dired-do-shell-command)
9957 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9958 (dired-insert-subdir-validate): Use string-match-p.
9959 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9960 (dired-add-entry): Use string-match-p, looking-at-p.
9961 (dired-insert-subdir-newpos): Remove unused local variable.
9962
9963 * filenotify.el (file-notify-callback): Remove unused local variable.
9964
9965 * filesets.el (filesets-error): Mark unused argument.
9966 (filesets-which-command-p, filesets-filter-dir-names)
9967 (filesets-directory-files, filesets-get-external-viewer)
9968 (filesets-ingroup-get-data): Use string-match-p.
9969
9970 * find-file.el (ff-other-file-name, ff-other-file-name)
9971 (ff-find-the-other-file, ff-cc-hh-converter):
9972 Remove unused local variables.
9973 (ff-get-file-name): Use string-match-p.
9974 (ff-all-dirs-under): Use ignore-errors.
9975
9976 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9977 (follow-select-if-visible): Remove unused local variable.
9978
9979 * forms.el (read-file-filter): Move declaration.
9980 (forms--make-format, forms--make-parser, forms-insert-record):
9981 Quote function with #'.
9982 (forms--update): Use string-match-p. Quote function with #'.
9983
9984 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9985 (help-make-xrefs): Use looking-at-p.
9986 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9987
9988 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9989 (ibuffer-confirm-operation-on): Use string-match-p.
9990
9991 * msb.el (msb-item-handler, msb-dired-item-handler):
9992 Mark unused arguments.
9993
9994 * ses.el (ses-decode-cell-symbol)
9995 (ses-kill-override): Remove unused local variable.
9996 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9997 (ses-load): Use ignore-errors, looking-at-p.
9998 (ses-jump-safe): Use ignore-errors.
9999 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10000
10001 * tabify.el (untabify, tabify): Mark unused arguments.
10002
10003 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10004 Mark unused argument.
10005 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10006 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10007
10008 * emacs-lisp/timer.el (timer--time): Define setter with
10009 gv-define-setter to avoid deprecation warning.
10010
10011 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10012 (*record-cmpl-statistics-p*): Remove (was commented out).
10013 (cmpl-statistics-block): Remove (body was commented out).
10014 All callers changed.
10015 (add-completions-from-buffer, load-completions-from-file):
10016 Remove unused variables.
10017
10018 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10019
10020 * filecache.el (file-cache-delete-file-list):
10021 Print message only when told so.
10022 (file-cache-files-matching): Use #' in mapconcat argument.
10023
10024 * ffap.el (ffap-url-at-point): Fix reference to variable
10025 thing-at-point-default-mail-uri-scheme.
10026
10027 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10028
10029 * subr.el (define-error): New function.
10030 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10031 error-file-not-found and define with define-error.
10032 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10033 and define with define-error.
10034 * userlock.el (file-locked, file-supersession):
10035 * simple.el (mark-inactive):
10036 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10037 * progmodes/ada-mode.el (ada-mode-errors):
10038 * play/life.el (life-extinct):
10039 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10040 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10041 * nxml/rng-util.el (rng-error):
10042 * nxml/rng-uri.el (rng-uri-error):
10043 * nxml/rng-match.el (rng-compile-error):
10044 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10045 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10046 * nxml/nxml-rap.el (nxml-scan-error):
10047 * nxml/nxml-outln.el (nxml-outline-error):
10048 * net/soap-client.el (soap-error):
10049 * net/gnutls.el (gnutls-error):
10050 * net/ange-ftp.el (ftp-error):
10051 * mpc.el (mpc-proc-error):
10052 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10053 (json-number-format, json-string-escape, json-string-format)
10054 (json-key-format, json-object-format):
10055 * jka-compr.el (compression-error):
10056 * international/quail.el (quail-error):
10057 * international/kkc.el (kkc-error):
10058 * emacs-lisp/ert.el (ert-test-failed):
10059 * calc/calc.el (calc-error, inexact-result, math-overflow)
10060 (math-underflow):
10061 * bookmark.el (bookmark-error-no-filename):
10062 * epg.el (epg-error): Define with define-error.
10063
10064 * time.el (display-time-event-handler)
10065 (display-time-next-load-average): Don't call sit-for since it seems
10066 unnecessary (bug#15045).
10067
10068 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10069 Use #' instead of ' to quote functions.
10070 (checkdoc-output-mode): Use setq-local.
10071 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10072 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10073 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10074 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10075 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10076 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10077 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10078 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10079
10080 * ido.el (ido-completion-help): Fix up compiler warning.
10081
10082 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10083
10084 * frameset.el (frameset-p): Add autoload cookie.
10085 (frameset--jump-to-register): New function, based on code moved from
10086 register.el.
10087 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10088
10089 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10090 (frameset-restore, frameset-save, frameset-session-filter-alist):
10091 Remove declarations.
10092 (register-alist): Doc fix.
10093 (frameset-to-register): Move to frameset.el.
10094 (jump-to-register, describe-register-1): Remove frameset-specific code.
10095
10096 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10097
10098 * allout-widgets.el (allout-widgets-pre-command-business)
10099 (allout-widgets-post-command-business)
10100 (allout-widgets-after-change-handler)
10101 (allout-decorate-item-and-context, allout-set-boundary-marker)
10102 (allout-body-modification-handler)
10103 (allout-graphics-modification-handler): Mark ignored arguments.
10104 (allout-widgets-post-command-business)
10105 (allout-widgets-exposure-change-processor)
10106 (allout-widgets-exposure-undo-processor)
10107 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10108 (allout-parse-item-at-point, allout-decorate-item-guides)
10109 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10110 * allout.el (epa-passphrase-callback-function): Declare.
10111 (allout-overlay-insert-in-front-handler)
10112 (allout-overlay-interior-modification-handler)
10113 (allout-isearch-end-handler, allout-chart-siblings)
10114 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10115 (allout-yank-processing, allout-process-exposed)
10116 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10117 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10118 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10119 (lisp-indent-defform): Mark ignored arguments.
10120 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10121 (calculate-lisp-indent): Remove unused variables.
10122 * international/characters.el (indian-2-column, arabic-2-column)
10123 (tibetan): Mark ignored arguments.
10124 (use-cjk-char-width-table): Mark ignored arguments.
10125 Remove unused variables.
10126 * international/fontset.el (build-default-fontset-data)
10127 (x-compose-font-name, create-fontset-from-fontset-spec):
10128 Mark ignored arguments.
10129 (fontset-plain-name): Remove unused variables.
10130 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10131 (keyboard-coding-system): Mark ignored arguments.
10132 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10133 * help.el (resize-temp-buffer-window):
10134 * window.el (display-buffer-in-major-side-window)
10135 (display-buffer-in-side-window, display-buffer-in-previous-window):
10136 Remove unused variables.
10137 * isearch.el (isearch-forward-symbol):
10138 * version.el (emacs-bzr-version-bzr):
10139 * international/mule-cmds.el (current-language-environment):
10140 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10141 (x-handle-display):
10142 * term/pc-win.el (x-list-fonts, x-display-planes)
10143 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10144 (x-server-version, x-display-screens, x-display-mm-height)
10145 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10146 (x-selection-owner-p, x-own-selection-internal)
10147 (x-disown-selection-internal, x-get-selection-internal)
10148 (msdos-initialize-window-system):
10149 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10150 * term/x-win.el (x-handle-no-bitmap-icon):
10151 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10152 (vc-default-find-file-hook, vc-default-extra-menu):
10153 Mark ignored arguments.
10154
10155 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10156
10157 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10158 break-condition in the context of the debugged code (bug#12685).
10159
10160 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10161
10162 * comint.el:
10163 Do not use an overlay to highlight the last prompt. (Bug#14744)
10164 (comint-mode): Make comint-last-prompt buffer local.
10165 (comint-last-prompt): New variable.
10166 (comint-last-prompt-overlay): Remove. Superseded by
10167 comint-last-prompt.
10168 (comint-snapshot-last-prompt, comint-output-filter):
10169 Use comint-last-prompt.
10170
10171 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10172
10173 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10174 (frameset-save): Check validity of the resulting frameset.
10175
10176 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10177
10178 * ido.el (ido-record-command): Add doc string.
10179
10180 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10181
10182 * frameset.el (frameset): Do not disable creation of the default
10183 frameset-p predicate. Doc fix.
10184 (frameset-valid-p): New function, copied from the old predicate-p.
10185 Add additional checks.
10186 (frameset-restore): Check with frameset-valid-p.
10187 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10188 (frameset-name, frameset-description, frameset-properties)
10189 (frameset-states): Add docstring.
10190 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10191 (frameset-filter-alist): Doc fixes.
10192
10193 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10194
10195 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10196
10197 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10200 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10201 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10202 (byte-compile-normal-call): Remove obsolescence check.
10203
10204 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10205
10206 * frameset.el (frameset-restore): Doc fix.
10207
10208 * register.el (frameset-frame-id, frameset-frame-with-id)
10209 (frameset-p, frameset-restore, frameset-save): Declare.
10210 (register-alist): Document framesets.
10211 (frameset-session-filter-alist): Declare.
10212 (frameset-to-register): New function.
10213 (jump-to-register): Implement jumping to framesets. Doc fix.
10214 (describe-register-1): Describe framesets.
10215
10216 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10217
10218 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10219
10220 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10221 Use lexical-binding.
10222
10223 * frameset.el (frameset): Use type vector, not list (incompatible
10224 change). Do not declare a new constructor, use the default one.
10225 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10226 `name' and `description', respectively, and add read-only slot
10227 `timestamp'. Doc fixes.
10228 (frameset-copy, frameset-persistent-filter-alist)
10229 (frameset-filter-alist, frameset-switch-to-gui-p)
10230 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10231 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10232 (frameset-filter-iconified, frameset-keep-original-display-p):
10233 Doc fixes.
10234 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10235 Rename from frameset-filter-(save|restore)-param. All callers changed.
10236 Doc fix.
10237 (frameset-p): Adapt to change to vector and be more thorough.
10238 Change arg name to OBJECT. Doc fix.
10239 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10240 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10241 All callers changed.
10242 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10243 All callers changed.
10244 (frameset--record-minibuffer-relationships): Rename from
10245 frameset--process-minibuffer-frames. All callers changed.
10246 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10247 Use new default constructor (again). Doc fix.
10248 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10249 All callers changed.
10250 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10251 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10252 Doc fix.
10253 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10254 PARAMETERS and WINDOW-STATE, respectively.
10255 (frameset-restore): Add new keyword argument PREDICATE.
10256 Reset frameset--target-display to nil. Doc fix.
10257
10258 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10261 (bat-mode): Use it.
10262 (bat-mode-syntax-table): Mark \n as end-of-comment.
10263 (bat-font-lock-keywords): Remove comment rule.
10264
10265 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10266 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10267
10268 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10269 (byte-compile-callargs-warn): Use `push'.
10270 (byte-compile-arglist-warn): Ignore higher-order "calls".
10271 (byte-compile-file-form-autoload): Use `pcase'.
10272 (byte-compile-function-form): If quoting a symbol, check that it exists.
10273
10274 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10275
10276 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10277 and add a few popular commands found in batch files.
10278 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10279 (dos-mode): Doc fixes.
10280
10281 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10284 (dos-mode): Use setq-local. Add space after "rem".
10285 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10286 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10287
10288 2013-08-07 Arni Magnusson <arnima@hafro.is>
10289
10290 * progmodes/dos.el: New file.
10291 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10292 dos-mode.
10293
10294 2013-08-06 Glenn Morris <rgm@gnu.org>
10295
10296 * calendar/calendar.el: Add new faces, and day-header-array.
10297 (calendar-weekday-header, calendar-weekend-header)
10298 (calendar-month-header): New faces.
10299 (calendar-day-header-construct): New function.
10300 (calendar-day-header-width): Also :set calendar-day-header-array.
10301 (calendar-american-month-header, calendar-european-month-header)
10302 (calendar-iso-month-header): Use calendar- faces.
10303 (calendar-generate-month):
10304 Use calendar-day-header-array for day headers; apply faces to them.
10305 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10306 (calendar-abbrev-construct): Add optional maxlen argument.
10307 (calendar-day-name-array): Doc fix.
10308 (calendar-day-name-array, calendar-abbrev-length)
10309 (calendar-day-abbrev-array):
10310 Also :set calendar-day-header-array, and maybe redraw.
10311 (calendar-day-header-array): New option. (Bug#15007)
10312 (calendar-font-lock-keywords): Set to nil and make obsolete.
10313 (calendar-day-name): Add option to use header array.
10314
10315 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10316
10317 * net/shr.el (shr-render-td): Remove debugging.
10318 (shr-render-td): Make width computation consistent by defaulting
10319 all zero-width columns to 10 characters. This may not be optimal,
10320 but it's at least consistent.
10321 (shr-make-table-1): Redo last change to fix the real problem in
10322 colspan handling.
10323
10324 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10325
10326 * files.el (cache-long-line-scans):
10327 Make obsolete alias to `cache-long-scans'.
10328
10329 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10330
10331 * frameset.el (frameset, frameset-filter-alist)
10332 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10333 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10334 (frameset-compute-pos): Rename from frameset--compute-pos,
10335 and add docstring.
10336 (frameset-move-onscreen): Use frameset-compute-pos.
10337 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10338
10339 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10340 Fix typos in docstrings.
10341
10342 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10343
10344 * frame.el (get-other-frame): Tiny cleanup.
10345
10346 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10347
10348 * vc/vc.el (vc-default-ignore-completion-table):
10349 Silence byte-compiler warning.
10350
10351 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10352 slot, which can indeed be nil.
10353 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10354 Move entry for `left' from persistent to live filter alist.
10355 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10356 Doc fixes.
10357 (frameset-filter-params): When restoring a frame, copy items added to
10358 `filtered', to avoid unwittingly modifying the original parameters.
10359 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10360 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10361
10362 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10363 to use looking-at-p instead of looking-at. (Bug#15028)
10364
10365 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 Revert introduction of isearch-filter-predicates (bug#14714).
10368 Rely on add-function instead.
10369 * isearch.el (isearch-filter-predicates): Rename it back to
10370 isearch-filter-predicate.
10371 (isearch-message-prefix): Use advice-function-mapc and advice
10372 properties to get the isearch-message-prefix.
10373 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10374 instead of run-hook-with-args-until-failure.
10375 (isearch-filter-visible): Not obsolete any more.
10376 * loadup.el: Preload nadvice.
10377 * replace.el (perform-replace): Revert to funcall
10378 instead of run-hook-with-args-until-failure.
10379 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10380 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10381 dired-isearch-filenames-toggle; make it into a proper minor mode.
10382 Use add/remove-function.
10383 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10384 Call the minor-mode rather than add/remove-hook.
10385 (dired-isearch-filter-filenames):
10386 Remove isearch-message-prefix property.
10387 * info.el (Info--search-loop): New function, extracted from Info-search.
10388 Funcall isearch-filter-predicate instead of
10389 run-hook-with-args-until-failure isearch-filter-predicates.
10390 (Info-search): Use it.
10391 (Info-mode): Use isearch-filter-predicate instead of
10392 isearch-filter-predicates.
10393
10394 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10395
10396 Do not call to `selected-window' where it is assumed by default.
10397 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10398 `window-hscroll', `window-width', `window-height', `window-buffer',
10399 `window-frame', `window-start', `window-point', `next-window'
10400 and `window-display-table'.
10401 * abbrev.el (abbrev--default-expand):
10402 * bs.el (bs--show-with-configuration):
10403 * buff-menu.el (Buffer-menu-mouse-select):
10404 * calc/calc.el (calc):
10405 * calendar/calendar.el (calendar-generate-window):
10406 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10407 (diary-make-entry):
10408 * comint.el (send-invisible, comint-dynamic-complete-filename)
10409 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10410 * completion.el (complete):
10411 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10412 * disp-table.el (describe-current-display-table):
10413 * doc-view.el (doc-view-insert-image):
10414 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10415 * ehelp.el (with-electric-help):
10416 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10417 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10418 * emacs-lisp/helper.el (Helper-help-scroller):
10419 * emulation/cua-base.el (cua--post-command-handler-1):
10420 * eshell/esh-mode.el (eshell-output-filter):
10421 * ffap.el (ffap-gnus-wrapper):
10422 * help-macro.el (make-help-screen):
10423 * hilit-chg.el (highlight-compare-buffers):
10424 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10425 * hl-line.el (global-hl-line-highlight):
10426 * icomplete.el (icomplete-simple-completing-p):
10427 * isearch.el (isearch-done):
10428 * jit-lock.el (jit-lock-stealth-fontify):
10429 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10430 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10431 * mpc.el (mpc-tagbrowser, mpc):
10432 * net/rcirc.el (rcirc-any-buffer):
10433 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10434 * play/landmark.el (landmark-max-width, landmark-max-height):
10435 * play/zone.el (zone):
10436 * progmodes/compile.el (compilation-goto-locus):
10437 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10438 * progmodes/etags.el (find-tag-other-window):
10439 * progmodes/fortran.el (fortran-column-ruler):
10440 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10441 * progmodes/verilog-mode.el (verilog-point-text):
10442 * reposition.el (reposition-window):
10443 * rot13.el (toggle-rot13-mode):
10444 * server.el (server-switch-buffer):
10445 * shell.el (shell-dynamic-complete-command)
10446 (shell-dynamic-complete-environment-variable):
10447 * simple.el (insert-buffer, set-selective-display)
10448 (delete-completion-window):
10449 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10450 (speedbar-recenter):
10451 * startup.el (fancy-splash-head):
10452 * textmodes/ispell.el (ispell-command-loop):
10453 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10454 * tutorial.el (help-with-tutorial):
10455 * vc/add-log.el (add-change-log-entry):
10456 * vc/compare-w.el (compare-windows):
10457 * vc/ediff-help.el (ediff-indent-help-message):
10458 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10459 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10460 (ediff-setup-control-frame):
10461 * vc/emerge.el (emerge-position-region):
10462 * vc/pcvs-util.el (cvs-bury-buffer):
10463 * window.el (walk-windows, mouse-autoselect-window-select):
10464 * winner.el (winner-set-conf, winner-undo): Related users changed.
10465
10466 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10467
10468 * frameset.el (frameset--set-id): Doc fix.
10469 (frameset-frame-id, frameset-frame-id-equal-p)
10470 (frameset-locate-frame-id): New functions.
10471 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10472 (frameset-restore): Use them.
10473
10474 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10475
10476 Do not call to `selected-frame' where it is assumed by default.
10477 Affected functions are `raise-frame', `redraw-frame',
10478 `frame-first-window', `frame-terminal' and `delete-frame'.
10479 * calendar/appt.el (appt-disp-window):
10480 * epg.el (epg-wait-for-completion):
10481 * follow.el (follow-delete-other-windows-and-split)
10482 (follow-avoid-tail-recenter):
10483 * international/mule.el (set-terminal-coding-system):
10484 * mail/rmail.el (rmail-mail-return):
10485 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10486 * progmodes/f90.el (f90-add-imenu-menu):
10487 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10488 * server.el (server-switch-buffer):
10489 * simple.el (delete-completion-window):
10490 * talk.el (talk):
10491 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10492 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10493 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10494 * vc/ediff.el (ediff-documentation): Related users changed.
10495 * frame.el (selected-terminal): Remove the leftover.
10496
10497 2013-08-05 Glenn Morris <rgm@gnu.org>
10498
10499 * calendar/calendar.el (calendar-generate-month):
10500 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10501 (calendar-generate-month, calendar-font-lock-keywords):
10502 Fix for calendar-day-header-width > length of any day name.
10503
10504 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10505
10506 * desktop.el (desktop-clear): Use new name of sort predicate.
10507
10508 * frameset.el (frameset): Add docstring. Move :version property to its
10509 own `version' slot.
10510 (frameset-copy): Rename from copy-frameset.
10511 (frameset-p): Check more thoroughly.
10512 (frameset-prop): Do not check for :version, which is no longer a prop.
10513 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10514 Use new :never value instead of t.
10515 (frameset-filter-alist): Expand and clarify docstring.
10516 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10517 (frameset-filter-minibuffer, frameset-filter-save-param)
10518 (frameset-filter-restore-param, frameset-filter-iconified):
10519 Add pointer to docstring of frameset-filter-alist.
10520 (frameset-filter-params): Rename filter values to be more meaningful:
10521 :never instead of t, and reverse the meanings of :save and :restore.
10522 (frameset--process-minibuffer-frames): Clarify error message.
10523 (frameset-save): Avoid unnecessary and confusing call to framep.
10524 Use new BOA constructor for framesets.
10525 (frameset--reuse-list): Doc fix.
10526 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10527 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10528 (frameset-minibufferless-first-p): Doc fix.
10529 Rename from frameset-sort-frames-for-deletion.
10530 (frameset-restore): Doc fixes. Use new function names.
10531 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10532
10533 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10534
10535 * desktop.el (desktop-restore-forces-onscreen)
10536 (desktop-restore-reuses-frames): Document :keyword constant values.
10537 (desktop-filter-parameters-alist): Remove, now identical to
10538 frameset-filter-alist.
10539 (desktop--filter-tty*): Remove, moved to frameset.el.
10540 (desktop-save-frameset, desktop-restore-frameset):
10541 Do not pass :filters argument.
10542
10543 * frameset.el (frameset-live-filter-alist)
10544 (frameset-persistent-filter-alist): New variables.
10545 (frameset-filter-alist): Use them. Add autoload cookie.
10546 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10547 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10548 `frameset--id' (it's supposed to be internal to frameset.el).
10549 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10550 (frameset--initial-params): New function.
10551 (frameset--get-frame): Use it. Doc fix.
10552 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10553 Accept :all, not 'all.
10554 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10555 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10556 with fbound symbols. Fix frame id matching, and remove matching ids if
10557 the frame being restored is deleted. Obey :delete.
10558
10559 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10560
10561 * subr.el (macrop): New function.
10562 (text-clone--maintaining): New var.
10563 (text-clone--maintain): Rename from text-clone-maintain. Use it
10564 instead of inhibit-modification-hooks.
10565
10566 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10567 a proxy, so as handle autoloads and redefinitions of the target.
10568 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10569
10570 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10571 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10572 (pcase--mutually-exclusive-p): New function.
10573 (pcase--split-consp): Use it.
10574 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10575 mutually exclusive with the current predicate.
10576
10577 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10578 (edebug-macrop): Remove. Use `macrop' instead.
10579 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10580 (ad-macro-p):
10581 * eshell/esh-cmd.el (eshell-macrop):
10582 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10583
10584 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10585
10586 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10587 (advice-mapc): New function, using it.
10588 (advice-function-member-p): New function.
10589 (advice--normalize): Store the cdr in advice--saved-rewrite since
10590 that's the part that will be changed.
10591 (advice--symbol-function): New function.
10592 (advice-remove): Handle removal before the function is defined.
10593 Adjust to new advice--saved-rewrite.
10594 (advice-member-p): Use advice-function-member-p and
10595 advice--symbol-function.
10596
10597 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10598
10599 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10600 (frameset-filter-minibuffer): Doc fix.
10601 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10602 (frameset--set-id, frameset--process-minibuffer-frames)
10603 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10604 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10605
10606 * desktop.el (desktop-clear): Only delete frames when called
10607 interactively and desktop-restore-frames is non-nil. Doc fix.
10608 (desktop-read): Set desktop-saved-frameset to nil.
10609
10610 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10611
10612 * vc/vc.el (vc-ignore): Rewrite.
10613 (vc-default-ignore-completion-table, vc--read-lines)
10614 (vc--add-line, vc--remove-regexp): New functions.
10615
10616 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10617 (vc-svn-ignore-completion-table): New function.
10618
10619 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10620 (vc-hg-ignore-completion-table)
10621 (vc-hg-find-ignore-file): New functions.
10622
10623 * vc/vc-git.el (vc-git-ignore): Rewrite.
10624 (vc-git-ignore-completion-table)
10625 (vc-git-find-ignore-file): New functions.
10626
10627 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10628
10629 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10630 (vc-bzr-ignore-completion-table)
10631 (vc-bzr-find-ignore-file): New functions.
10632
10633 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10634
10635 * frameset.el (frameset-prop): New function and setter.
10636 (frameset-save): Do not modify frame list passed by the caller.
10637
10638 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10639
10640 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10641
10642 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10643
10644 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10645 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10646
10647 * custom.el (custom-initialize-default, custom-initialize-set)
10648 (custom-initialize-reset, custom-initialize-changed): Affect the
10649 toplevel-default-value (bug#6275, bug#14586).
10650 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10651 for bug#6275.
10652
10653 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10654
10655 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10656 Add cl-def* expressions.
10657
10658 * frameset.el (frameset-filter-params): Fix order of arguments.
10659
10660 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10661
10662 Move code related to saving frames to frameset.el.
10663 * desktop.el: Require frameset.
10664 (desktop-restore-frames): Doc fix.
10665 (desktop-restore-reuses-frames): Rename from
10666 desktop-restoring-reuses-frames.
10667 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10668 (desktop-clear): Clear frames too.
10669 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10670 (desktop--filter-tty*, desktop-save, desktop-read):
10671 Use frameset functions.
10672 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10673 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10674 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10675 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10676 (desktop--process-minibuffer-frames, desktop-save-frames)
10677 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10678 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10679 (desktop--sort-states, desktop-restoring-frames-p)
10680 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10681 (desktop-restoring-frameset-p, desktop-restore-frameset)
10682 (desktop--check-dont-save, desktop-save-frameset): New functions.
10683 (desktop--app-id): New constant.
10684 (desktop-first-buffer, desktop-buffer-ok-count)
10685 (desktop-buffer-fail-count): Move before first use.
10686 * frameset.el: New file.
10687
10688 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * files.el: Use lexical-binding.
10691 (dir-locals-read-from-file): Remove unused `err' variable.
10692 (hack-dir-local-variables--warned-coding): New var.
10693 (hack-dir-local-variables): Use it to avoid repeated warnings.
10694 (make-backup-file-name--default-function): New function.
10695 (make-backup-file-name-function): Use it as default.
10696 (buffer-stale--default-function): New function.
10697 (buffer-stale-function): Use it as default.
10698 (revert-buffer-insert-file-contents--default-function): New function.
10699 (revert-buffer-insert-file-contents-function): Use it as default.
10700 (insert-directory): Avoid add-to-list.
10701
10702 * autorevert.el (auto-revert-handler): Simplify.
10703 Use buffer-stale--default-function.
10704
10705 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10706
10707 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10708
10709 * whitespace.el (whitespace-ensure-local-variables): New function.
10710 (whitespace-cleanup-region): Call it.
10711 (whitespace-turn-on): Call it.
10712
10713 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10714
10715 Complete file name handlers.
10716
10717 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10718 (tramp-handle-verify-visited-file-modtime)
10719 (tramp-handle-file-notify-rm-watch): New functions.
10720 (tramp-call-process): Do not bind `default-directory'.
10721
10722 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10723 Order alphabetically.
10724 <access-file, add-name-to-file, dired-call-process>:
10725 <dired-compress-file, file-acl, file-notify-rm-watch>:
10726 <file-ownership-preserved-p, file-selinux-context>:
10727 <make-directory-internal, make-symbolic-link, set-file-acl>:
10728 <set-file-selinux-context, set-visited-file-modtime>:
10729 <verify-visited-file-modtime>: Add handler.
10730 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10731
10732 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10733 <file-notify-add-watch, file-notify-rm-watch>:
10734 <set-file-times, set-visited-file-modtime>:
10735 <verify-visited-file-modtime>: Add handler.
10736 (with-tramp-gvfs-error-message)
10737 (tramp-gvfs-handle-set-visited-file-modtime)
10738 (tramp-gvfs-fuse-file-name): Remove.
10739 (tramp-gvfs-handle-file-notify-add-watch)
10740 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10741 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10742
10743 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10744 Order alphabetically.
10745 <file-notify-rm-watch>: Use default Tramp handler.
10746 <executable-find>: Remove private handler.
10747 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10748 `default-directory'.
10749 (tramp-sh-handle-executable-find)
10750 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10751 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10752 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10753 Do not use `format' in `tramp-message'.
10754
10755 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10756 <file-notify-rm-watch, set-visited-file-modtime>:
10757 <verify-visited-file-modtime>: Add handler.
10758 (tramp-smb-call-winexe): Do not bind `default-directory'.
10759
10760 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10761
10762 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10763
10764 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10765
10766 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10767 use it.
10768 (log-view-diff-changeset): Same.
10769 (log-view-diff-common): Call backend command `previous-revision'
10770 to find out the previous revision, in both cases. Swap the
10771 variables `to' and `fr', so that `fr' usually refers to the
10772 earlier revision (Bug#14989).
10773
10774 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10775
10776 * ibuf-ext.el (ibuffer-filter-by-filename):
10777 Make it work with dired buffers too.
10778
10779 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10780
10781 * emacs-lisp/re-builder.el (reb-color-display-p):
10782 * files.el (save-buffers-kill-terminal):
10783 * net/browse-url.el (browse-url):
10784 * server.el (server-save-buffers-kill-terminal):
10785 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10786 Prefer nil to selected-frame for the first arg of frame-parameter.
10787
10788 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10789
10790 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10791
10792 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10793
10794 * minibuffer.el (completion--twq-all): Try and preserve each
10795 completion's case choice (bug#14907).
10796
10797 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10798
10799 * net/network-stream.el (open-network-stream): Mention the new
10800 :nogreeting parameter.
10801 (network-stream-open-starttls): Use the :nogreeting parameter
10802 (bug#14938).
10803
10804 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10805
10806 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10807 more natural than popping.
10808
10809 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10810 (shr-urlify): Highlight under mouse.
10811
10812 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10813
10814 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10815
10816 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10817
10818 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10819 buffer for output.
10820
10821 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10822 point-min==1. Fix search string. Fix parentheses missing.
10823
10824 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10825 assume point-min==1. Fix search string. Fix parentheses missing.
10826
10827 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10828
10829 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10830 buffer for output.
10831
10832 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10833
10834 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10835 initial frame is minibuffer-less. (Bug#14841)
10836
10837 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10838
10839 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10840 option.
10841
10842 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10843 (tramp-maybe-open-connection): Use it.
10844
10845 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10846
10847 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10848 minimal set of parameters passed when creating a frame, because
10849 the minibuffer status of a frame cannot be changed later.
10850
10851 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10852
10853 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10854 replace-regexp-in-string and inadvertent omissions in previous change.
10855 (todo-filter-items): Ensure only file names are comma-separated in
10856 name of filtered items buffer.
10857
10858 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10859
10860 * desktop.el: Optionally force offscreen frames back onscreen.
10861 (desktop-restoring-reuses-frames): New option.
10862 (desktop--compute-pos, desktop--move-onscreen): New functions.
10863 (desktop--make-frame): Use desktop--move-onscreen.
10864
10865 2013-07-27 Alan Mackenzie <acm@muc.de>
10866
10867 Fontify a Java generic method as a function.
10868 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10869 value to t.
10870
10871 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10872
10873 * calendar/todo-mode.el: Add command to rename todo files.
10874 (todo-rename-file): New command.
10875 (todo-key-bindings-t): Add key binding for it. Change the
10876 bindings of todo-filter-regexp-items(-multifile) to use `x'
10877 instead of `r', since the latter is better suited to the new
10878 renaming command.
10879
10880 2013-07-27 Alan Mackenzie <acm@muc.de>
10881
10882 Make Java try-with-resources statement parse properly.
10883 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10884 (c-block-stmt-1-2-key): New language constants/variables.
10885 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10886 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10887 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10888 with c-block-stmt-1-2-key.
10889
10890 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10891
10892 * desktop.el (desktop--make-frame): Apply most frame parameters after
10893 creating the frame to force (partially or totally) offscreen frames to
10894 be restored as such.
10895
10896 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10897
10898 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10899 (Bug#14948)
10900
10901 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10902
10903 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10904 `base' arg of backtrace-frame.
10905
10906 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10907
10908 * simple.el (list-processes): Doc fix.
10909
10910 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10911
10912 * desktop.el (desktop--select-frame):
10913 Try harder to reuse existing frames.
10914
10915 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10918 (edebug-eval): Use backtrace-eval.
10919 (edebug--display, edebug--recursive-edit): Don't let-bind the
10920 edebug-outer-* vars that keep track of variables we locally let-bind.
10921 (edebug-outside-excursion): Don't restore outside values of locally
10922 let-bound vars.
10923 (edebug--display): Use user-error.
10924 (cl-lexical-debug, cl-debug-env): Remove.
10925
10926 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10927
10928 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10929 are restored to be sure that they are visible before deleting any
10930 remaining ones.
10931
10932 2013-07-26 Matthias Meulien <orontee@gmail.com>
10933
10934 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10935 vc-print-root-log. (Bug#14948)
10936
10937 2013-07-26 Richard Stallman <rms@gnu.org>
10938
10939 Add aliases for encrypting mail.
10940 * epa.el (epa-mail-aliases): New option.
10941 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10942 Bind inhibit-read-only so read-only text doesn't ruin everything.
10943 (epa-mail-default-recipients): New subroutine broken out.
10944 Handle epa-mail-aliases.
10945
10946 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 Add support for lexical variables to the debugger's `e' command.
10949 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10950 vars, except for debugger-outer-match-data.
10951 (debugger-frame-number): Move check for "on a function call" from
10952 callers into it. Add `skip-base' argument.
10953 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10954 (debugger-env-macro): Only reset the state stored in non-variables,
10955 i.e. current-buffer and match-data.
10956 (debugger-eval-expression): Rewrite using backtrace-eval.
10957 * subr.el (internal--called-interactively-p--get-frame): Remove.
10958 (called-interactively-p):
10959 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10960 `base' arg of backtrace-frame instead.
10961
10962 2013-07-26 Glenn Morris <rgm@gnu.org>
10963
10964 * align.el (align-regexp): Doc fix. (Bug#14857)
10965 (align-region): Explicit error if subexpression missing/does not match.
10966
10967 * simple.el (global-visual-line-mode):
10968 Do not duplicate the mode lighter. (Bug#14858)
10969
10970 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10971
10972 * window.el (display-buffer): In display-buffer bind
10973 split-window-keep-point to t, bug#14829.
10974
10975 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10976
10977 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10978 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10979 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10980 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10981 Change accordingly.
10982 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10983 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10984
10985 2013-07-25 Glenn Morris <rgm@gnu.org>
10986
10987 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10988
10989 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10990
10991 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10992 parameter to modify-frame-parameters if the value has not changed;
10993 this is a workaround for bug#14949.
10994 (desktop--make-frame): On cl-delete-if call, check parameter name,
10995 not full parameter.
10996
10997 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10998
10999 * vc/vc.el (vc-ignore): New function.
11000
11001 * vc/vc-svn.el (vc-svn-ignore): New function.
11002
11003 * vc/vc-hg.el (vc-hg-ignore): New function.
11004
11005 * vc/vc-git.el (vc-git-ignore): New function.
11006
11007 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11008 (vc-dir-ignore): New function.
11009
11010 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11011 (cvs-append-to-ignore): Move here from pcvs.el.
11012
11013 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11014
11015 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11016
11017 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11018
11019 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11020 (desktop-restore-frames): Warn when deleting an existing frame failed.
11021
11022 2013-07-24 Glenn Morris <rgm@gnu.org>
11023
11024 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11025
11026 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11027
11028 * filenotify.el (file-notify-supported-p):
11029 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11030 Remove functions.
11031
11032 * autorevert.el (auto-revert-use-notify)
11033 (auto-revert-notify-add-watch):
11034 * net/tramp.el (tramp-file-name-for-operation):
11035 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11036 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11037 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11038 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11039 Remove `file-notify-supported-p' entry.
11040
11041 2013-07-24 Glenn Morris <rgm@gnu.org>
11042
11043 * printing.el: Replace all uses of deleted ps-windows-system,
11044 ps-lp-system, ps-flatten-list with lpr- versions.
11045
11046 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11047
11048 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11049 checked with memq (bug#14935).
11050
11051 * files.el (revert-buffer-function): Use a non-nil default.
11052 (revert-buffer-preserve-modes): Declare var to
11053 provide access to the `preserve-modes' argument.
11054 (revert-buffer): Let-bind it.
11055 (revert-buffer--default): New function, extracted from revert-buffer.
11056
11057 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * lpr.el: Signal print errors more prominently.
11060 (print-region-function): Don't default to nil.
11061 (lpr-print-region): New function, extracted from print-region-1.
11062 Check lpr's return value and signal an error in case of problem.
11063 (print-region-1): Use it.
11064 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11065 versions instead.
11066 (ps-printer-name): Default to nil.
11067 (ps-printer-name-option): Default to lpr-printer-switch.
11068 (ps-print-region-function): Don't default to nil.
11069 (ps-postscript-code-directory): Simplify default.
11070 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11071 (ps-string-list, ps-eval-switch, ps-flatten-list)
11072 (ps-flatten-list-1): Remove.
11073 (ps-multibyte-buffer): Avoid setq.
11074 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11075 (print-region-function, ps-print-region-function): Don't set them here.
11076
11077 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11078
11079 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11080 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11081 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11082 (ido-decorations): Doc fix.
11083
11084 * ansi-color.el: Fix old URL.
11085
11086 2013-07-23 Michael R. Mauger <michael@mauger.com>
11087
11088 * progmodes/sql.el: Version 3.3
11089 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11090 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11091 (sql-interactive-remove-continuation-prompt): Rewrite, use
11092 functions above. Fix continuation prompt and complete output line
11093 handling.
11094 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11095 redirected output buffer.
11096 (sql-mode): Restore deleted code (Bug#13591).
11097
11098 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11099
11100 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11101
11102 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11103
11104 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11105
11106 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11108 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11109
11110 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11111
11112 * desktop.el (desktop-clear): Simplify; remove useless checks
11113 against invalid buffer names.
11114 (desktop-list*): Use cl-list*.
11115 (desktop-buffer-info, desktop-create-buffer): Simplify.
11116
11117 2013-07-23 Leo Liu <sdl.web@gmail.com>
11118
11119 * bookmark.el (bookmark-make-record): Restore NAME as a default
11120 value. (Bug#14933)
11121
11122 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11123
11124 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11125 extracted from autoload--insert-text.
11126 (autoload--insert-text): Remove.
11127 (autoload--print-cookie-text): New function, extracted from
11128 autoload--insert-cookie-text.
11129 (autoload--insert-cookie-text): Remove.
11130 (autoload-generate-file-autoloads): Adjust calls accordingly.
11131
11132 * winner.el (winner-hook-installed-p): Remove.
11133 (winner-mode): Simplify accordingly.
11134
11135 * subr.el (add-to-list): Fix compiler-macro when `append' is
11136 not constant. Don't use `cl-member' for the base case.
11137
11138 * progmodes/subword.el: Fix boundary case (bug#13758).
11139 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11140 own group.
11141 (subword-backward-regexp): Make it a constant.
11142 (subword-forward-internal): Don't treat a trailing capital as the
11143 beginning of a word.
11144
11145 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11146
11147 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11148 global value of tabulated-list-revert-hook (bug#14930).
11149
11150 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11151
11152 * desktop.el: Require 'cl-lib.
11153 (desktop-before-saving-frames-functions): New hook.
11154 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11155 for frames being saved. Rename from desktop--save-minibuffer-frames.
11156 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11157 Do not save frames with non-nil `desktop-dont-save' parameter.
11158 Filter out deleted frames.
11159 (desktop--find-frame): Use cl-find-if.
11160 (desktop--select-frame): Use cl-(first|second|third) to access values
11161 of desktop-mini.
11162 (desktop--make-frame): Use cl-delete-if.
11163 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11164 (desktop-restore-frames): Use cl-(first|second|third) to access values
11165 of desktop-mini. Look for visible frame at the end, not while
11166 restoring frames.
11167
11168 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11169 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11170 Use string-match-p, looking-at-p (bug#14927).
11171
11172 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11173
11174 * desktop.el (desktop-saved-frame-states):
11175 Rename from desktop--saved-states; all users changed.
11176 (desktop-save-frames): Rename from desktop--save-frames.
11177 Do not save state to desktop file.
11178 (desktop-save): Save desktop-saved-frame-states to desktop file
11179 and reset to nil.
11180 (desktop-restoring-frames-p): New function.
11181 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11182 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11183 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11184
11185 * desktop.el: Correctly restore iconified frames.
11186 (desktop--filter-iconified-position): New function.
11187 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11188
11189 2013-07-20 Glenn Morris <rgm@gnu.org>
11190
11191 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11192 Let `message' do the formatting.
11193 (def-gdb-preempt-display-buffer): Add explicit format.
11194
11195 * image-dired.el (image-dired-track-original-file):
11196 Use with-current-buffer.
11197 (image-dired-track-thumbnail): Use with-current-buffer.
11198 Avoid changing point of wrong window.
11199
11200 * image-dired.el (image-dired-track-original-file):
11201 Avoid changing point of wrong window. (Bug#14909)
11202
11203 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11204
11205 * progmodes/gdb-mi.el (gdb-done-or-error):
11206 Guard against "%" in gdb output. (Bug#14127)
11207
11208 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11209
11210 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11211 (Bug#14826)
11212
11213 * international/mule.el (coding-system-iso-2022-flags): Fix last
11214 change.
11215
11216 2013-07-20 Kenichi Handa <handa@gnu.org>
11217
11218 * international/mule.el (coding-system-iso-2022-flags):
11219 Add `8-bit-level-4'. (Bug#8522)
11220
11221 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11222
11223 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11224 (bug#14815).
11225
11226 * net/eww.el (eww-process-text-input): Allow inputting when the
11227 point is at the start of the line, as the properties aren't
11228 front-sticky.
11229
11230 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11231 degenerate widths.
11232
11233 2013-07-19 Richard Stallman <rms@gnu.org>
11234
11235 * epa.el (epa-popup-info-window): Doc fix.
11236
11237 * subr.el (split-string): New arg TRIM.
11238
11239 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11240
11241 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11242 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11243
11244 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11245
11246 * filenotify.el (file-notify--library): Rename from
11247 `file-notify-support'. Do not autoload. Adapt all uses.
11248 (file-notify-supported-p): New defun.
11249
11250 * autorevert.el (auto-revert-use-notify):
11251 Use `file-notify-supported-p' instead of `file-notify-support'.
11252 Adapt docstring.
11253 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11254
11255 * net/tramp.el (tramp-file-name-for-operation):
11256 Add `file-notify-supported-p'.
11257
11258 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11259 New defun.
11260 (tramp-sh-file-name-handler-alist): Add it as handler for
11261 `file-notify-supported-p '.
11262
11263 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11264 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11265 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11266 Add `ignore' as handler for `file-notify-*' functions.
11267
11268 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11269
11270 * simple.el (line-move-partial, line-move): Don't start vscroll or
11271 scroll-up if the current line is not taller than the window.
11272 (Bug#14881)
11273
11274 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11275
11276 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11277 highlight question marks in the method names as strings.
11278 (ruby-block-beg-keywords): Inline.
11279 (ruby-font-lock-keyword-beg-re): Extract from
11280 `ruby-font-lock-keywords'.
11281
11282 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11283
11284 * frame.el (blink-cursor-blinks): New defcustom.
11285 (blink-cursor-blinks-done): New defvar.
11286 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11287 (blink-cursor-timer-function): Check if number of blinks has been
11288 done on X and NS.
11289 (blink-cursor-suspend, blink-cursor-check): New defuns.
11290
11291 2013-07-15 Glenn Morris <rgm@gnu.org>
11292
11293 * edmacro.el (edmacro-format-keys): Fix previous change.
11294
11295 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11296
11297 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11298 The hack didn't work outside English locales anyway.
11299
11300 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11301
11302 * simple.el (define-alternatives): Rename from alternatives-define,
11303 per RMS' suggestion.
11304
11305 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11306
11307 * desktop.el (desktop-restore-frames): Change default to t.
11308 (desktop-restore-in-current-display): Now offer more options.
11309 (desktop-restoring-reuses-frames): New customization option.
11310 (desktop--saved-states): Doc fix.
11311 (desktop-filter-parameters-alist): New variable, renamed and expanded
11312 from desktop--excluded-frame-parameters.
11313 (desktop--target-display): New variable.
11314 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11315 (desktop--filter-tty*, desktop--filter-*-color)
11316 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11317 (desktop--filter-save-desktop-parm)
11318 (desktop-restore-in-original-display-p): New functions.
11319 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11320 (desktop--save-minibuffer-frames): New function, inspired by a similar
11321 function from Martin Rudalics.
11322 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11323 (desktop--restore-in-this-display-p): Remove.
11324 (desktop--find-frame): Rename from desktop--find-frame-in-display
11325 and add predicate argument.
11326 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11327 (desktop--reuse-list): New variable.
11328 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11329 New functions.
11330 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11331
11332 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11333
11334 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11335
11336 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11337
11338 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11339 Highlight conversion methods on Kernel.
11340
11341 2013-07-13 Alan Mackenzie <acm@muc.de>
11342
11343 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11344 and comment it out. This out-commenting enables certain C++
11345 declarations to be parsed correctly.
11346
11347 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11348
11349 * international/mule.el (define-coding-system): Doc fix.
11350
11351 * simple.el (default-font-height): Don't call font-info if the
11352 frame's default font didn't change since the frame was created.
11353 (Bug#14838)
11354
11355 2013-07-13 Leo Liu <sdl.web@gmail.com>
11356
11357 * ido.el (ido-read-file-name): Guard against non-symbol value.
11358
11359 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11360
11361 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11362 in nested defuns.
11363
11364 2013-07-13 Leo Liu <sdl.web@gmail.com>
11365
11366 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11367 ido-set-matches call. (Bug#6852)
11368
11369 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11370
11371 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11372 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11373 Ruby 2.0.
11374 (ruby-font-lock-keywords): Distinguish calls to functions with
11375 module-like names from module references. Highlight character
11376 literals.
11377
11378 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11379
11380 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11381 (gdb-send): Handle continued commands. (Bug#14847)
11382
11383 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11384
11385 * desktop.el (desktop--v2s): Remove unused local variable.
11386 (desktop-save-buffer): Make defvar-local; adjust docstring.
11387 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11388 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11389
11390 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11391
11392 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11393
11394 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11395
11396 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11397 (Bug#14842)
11398
11399 2013-07-12 Glenn Morris <rgm@gnu.org>
11400
11401 * doc-view.el: Require cl-lib at runtime too.
11402 (doc-view-remove-if): Remove.
11403 (doc-view-search-next-match, doc-view-search-previous-match):
11404 Use cl-remove-if.
11405
11406 * edmacro.el: Require cl-lib at runtime too.
11407 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11408 (edmacro-mismatch, edmacro-subseq): Remove.
11409
11410 * shadowfile.el: Require cl-lib.
11411 (shadow-remove-if): Remove.
11412 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11413 Use cl-remove-if.
11414
11415 * wid-edit.el: Require cl-lib.
11416 (widget-choose): Use cl-remove-if.
11417 (widget-remove-if): Remove.
11418
11419 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11420 (ebrowse-delete-if-not): Remove.
11421 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11422 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11423 Use cl-delete-if-not.
11424
11425 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11426
11427 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11428 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11429
11430 2013-07-12 Leo Liu <sdl.web@gmail.com>
11431
11432 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11433
11434 2013-07-11 Glenn Morris <rgm@gnu.org>
11435
11436 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11437 (edebug-gensym-index, edebug-gensym):
11438 Remove reimplementation of cl-gensym.
11439 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11440
11441 * thumbs.el: Require cl-lib at run-time too.
11442 (thumbs-gensym-counter, thumbs-gensym):
11443 Remove reimplementation of cl-gensym.
11444 (thumbs-temp-file): Use cl-gensym.
11445
11446 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11447 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11448 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11449 (ert--union, ert--gensym-counter, ert--gensym-counter)
11450 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11451 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11452 (ert-make-test-unbound, ert--expand-should-1)
11453 (ert--expand-should, ert--should-error-handle-error)
11454 (should-error, ert--explain-equal-rec)
11455 (ert--plist-difference-explanation, ert-select-tests)
11456 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11457 Use cl-lib functions rather than reimplementations.
11458
11459 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11460
11461 * net/tramp.el (tramp-methods): Extend docstring.
11462 (tramp-connection-timeout): New defcustom.
11463 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11464 (with-tramp-progress-reporter): Simplify.
11465 (tramp-process-actions): Improve messages.
11466
11467 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11468 * net/tramp-sh.el (tramp-maybe-open-connection):
11469 Use `tramp-connection-timeout'.
11470 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11471 (Bug#14808)
11472
11473 2013-07-11 Leo Liu <sdl.web@gmail.com>
11474
11475 * ido.el (ido-read-file-name): Conform to the requirements of
11476 read-file-name. (Bug#11861)
11477 (ido-read-directory-name): Conform to the requirements of
11478 read-directory-name.
11479
11480 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11481
11482 * subr.el (delay-warning): New function.
11483
11484 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11485
11486 * simple.el (default-line-height): New function.
11487 (line-move-partial, line-move): Use it instead of computing the
11488 line height inline.
11489 (line-move-partial): Always compute ROWH. If the last line is
11490 partially-visible, but its text is completely visible, allow
11491 cursor to enter such a partially-visible line.
11492
11493 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11494
11495 Improve error messages. (Bug#14808)
11496
11497 * net/tramp.el (tramp-current-connection): New defvar, moved from
11498 tramp-sh.el.
11499 (tramp-message-show-progress-reporter-message): Remove, not
11500 needed anymore.
11501 (tramp-error-with-buffer): Show message in minibuffer.
11502 Discard input before waiting. Reset connection timestamp.
11503 (with-tramp-progress-reporter): Improve messages.
11504 (tramp-process-actions): Use progress reporter. Delete process in
11505 case of error. Improve messages.
11506
11507 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11508 Call `tramp-error-with-buffer' with vector and buffer.
11509 (tramp-current-connection): Remove.
11510 (tramp-maybe-open-connection): The car of
11511 `tramp-current-connection' are the first 3 slots of the vector.
11512
11513 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11514
11515 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11516 inside continued strings.
11517
11518 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11519
11520 Timestamp fixes for undo (Bug#14824).
11521 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11522
11523 2013-07-10 Leo Liu <sdl.web@gmail.com>
11524
11525 * files.el (require-final-newline): Allow safe local value.
11526 (Bug#14834)
11527
11528 2013-07-09 Leo Liu <sdl.web@gmail.com>
11529
11530 * ido.el (ido-read-directory-name): Handle fallback.
11531 (ido-read-file-name): Update DIR to ido-current-directory.
11532 (Bug#1516)
11533 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11534
11535 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11536
11537 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11538 "autoload". Remove "warn lower camel case" section, previously
11539 commented out. Highlight negation char. Do not highlight the
11540 target in singleton method definitions.
11541
11542 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11543
11544 * faces.el (tty-setup-hook): Declare the hook.
11545
11546 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11547 and detect when a guard/pred depends on local vars (bug#14773).
11548 (pcase--u1): Adjust caller.
11549
11550 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11551
11552 * simple.el (line-move-partial, line-move): Account for
11553 line-spacing.
11554 (line-move-partial): Avoid setting vscroll when the last
11555 partially-visible line in window is of default height.
11556
11557 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11558
11559 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11560 been used a while.
11561
11562 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11563
11564 * subr.el (read-quoted-char): Remove unused local variable `char'.
11565
11566 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11567
11568 * ediff.el (ediff-version): Version update.
11569 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11570 (ediff-merge-with-ancestor-command, ediff-directories-command)
11571 (ediff-directories3-command, ediff-merge-directories-command)
11572 (ediff-merge-directories-with-ancestor-command): New functions.
11573 All are command-line interfaces to ediff: to facilitate calling
11574 Emacs with the appropriate ediff functions invoked.
11575
11576 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11577 (viper-save-kill-buffer): Check if buffer is modified.
11578
11579 * viper.el (viper-version): Version update.
11580 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11581
11582 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11583
11584 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11585 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11586 (viper-intercept-ESC-key): Simplify.
11587 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11588 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11589 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11590 (viper-setup-ESC-to-escape): New functions.
11591 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11592 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11593
11594 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11595
11596 * simple.el (default-font-height, window-screen-lines):
11597 New functions.
11598 (line-move, line-move-partial): Use them instead of
11599 frame-char-height and window-text-height. This makes scrolling
11600 text smoother when the buffer's default face uses a font that is
11601 different from the frame's default font.
11602
11603 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11604
11605 * files.el (write-file): Do not display confirm dialog for NS,
11606 it does its own dialog, which can't be canceled (Bug#14578).
11607
11608 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11609
11610 * simple.el (line-move-partial): Adjust the row returned by
11611 posn-at-point for the current window-vscroll. (Bug#14567)
11612
11613 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11614
11615 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11616 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11617 spaces.
11618
11619 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11620
11621 * window.el (window-state-put-stale-windows): New variable.
11622 (window--state-put-2): Save list of windows without matching buffer.
11623 (window-state-put): Remove "bufferless" windows if possible.
11624
11625 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11626
11627 * simple.el (alternatives-define): Remove leftover :group keyword.
11628 Tweak docstring.
11629
11630 2013-07-06 Leo Liu <sdl.web@gmail.com>
11631
11632 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11633 (ido-enable-virtual-buffers): New variable.
11634 (ido-buffer-internal, ido-toggle-virtual-buffers)
11635 (ido-make-buffer-list): Use it.
11636 (ido-exhibit): Support turning on and off virtual buffers
11637 automatically.
11638
11639 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11640
11641 * simple.el (alternatives-define): New macro.
11642
11643 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11644
11645 * subr.el (read-quoted-char): Use read-key.
11646 (sit-for): Let read-event decode tty input (bug#14782).
11647
11648 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11649
11650 * calendar/todo-mode.el: Add handling of file deletion, both by
11651 mode command and externally. Fix various related bugs.
11652 Clarify Commentary and improve some documentation strings and code.
11653 (todo-delete-file): New command.
11654 (todo-check-file): New function.
11655 (todo-show): Handle external deletion of the file we're trying to
11656 show (bug#14688). Replace called-interactively-p by an optional
11657 prefix argument to avoid problematic interaction with catch form
11658 when byte compiled (bug#14702).
11659 (todo-quit): Handle external deletion of the archive's todo file.
11660 Make sure the buffer that was visiting the archive file is still
11661 live before trying to bury it.
11662 (todo-category-completions): Handle external deletion of any
11663 category completion files.
11664 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11665 of todo files, in case of external deletion.
11666 (todo-add-file): Replace unnecessary setq by let-binding.
11667 (todo-find-archive): Check whether there are any archives.
11668 Replace unnecessary setq by let-binding.
11669 (todo-archive-done-item): Use find-file-noselect to get the
11670 archive buffer whether or not the archive already exists.
11671 Remove superfluous code. Use file size instead of buffer-file-name to
11672 check if the archive is new; if it is, update list of archives.
11673 (todo-default-todo-file): Allow nil to be a valid value for when
11674 there are no todo files.
11675 (todo-reevaluate-default-file-defcustom): Use corrected definition
11676 of todo-default-todo-file.
11677 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11678 (todo-delete-category, todo-show-categories-table)
11679 (todo-category-number): Clarify comment.
11680 (todo-filter-items): Clarify documentation string.
11681 (todo-show-current-file, todo-display-as-todo-file)
11682 (todo-reset-and-enable-done-separator): Tweak documentation string.
11683 (todo-done-separator): Make separator length window-width, since
11684 bug#2749 is now fixed.
11685
11686 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11687
11688 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11689 Support both "gvfs-monitor-dir" and "inotifywait".
11690 (tramp-sh-file-inotifywait-process-filter): Rename from
11691 `tramp-sh-file-notify-process-filter'.
11692 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11693 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11694
11695 2013-07-05 Leo Liu <sdl.web@gmail.com>
11696
11697 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11698
11699 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11700
11701 * frame.el (display-pixel-height, display-pixel-width)
11702 (display-mm-height, display-mm-width): Mention behavior on
11703 multi-monitor setups in docstrings.
11704 (w32-display-monitor-attributes-list): Declare function.
11705 (display-monitor-attributes-list): Use it.
11706
11707 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11708
11709 * filenotify.el: New package.
11710
11711 * autorevert.el (top): Require filenotify.el.
11712 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11713 instead.
11714 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11715 (auto-revert-notify-handler): Use `file-notify-*' functions.
11716
11717 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11718
11719 * net/tramp.el (tramp-file-name-for-operation):
11720 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11721
11722 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11723 for `file-notify-add-watch' and `file-notify-rm-watch'.
11724 (tramp-process-sentinel): Improve trace.
11725 (tramp-sh-handle-file-notify-add-watch)
11726 (tramp-sh-file-notify-process-filter)
11727 (tramp-sh-handle-file-notify-rm-watch)
11728 (tramp-get-remote-inotifywait): New defuns.
11729
11730 2013-07-03 Juri Linkov <juri@jurta.org>
11731
11732 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11733 call of `occur-read-primary-args' to interactive spec.
11734
11735 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11736 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11737
11738 2013-07-03 Matthias Meulien <orontee@gmail.com>
11739
11740 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11741 `Buffer-menu-multi-occur'. Add it to the menu.
11742 (Buffer-menu-mode): Document it in docstring.
11743 (Buffer-menu-multi-occur): New command. (Bug#14673)
11744
11745 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11746
11747 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11748 keywords and built-ins.
11749
11750 2013-07-03 Glenn Morris <rgm@gnu.org>
11751
11752 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11753
11754 Make info-xref checks case-sensitive by default
11755 * info.el (Info-find-node, Info-find-in-tag-table)
11756 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11757 Add option for exact case matching of nodes.
11758 * info-xref.el (info-xref): New custom group.
11759 (info-xref-case-fold): New option.
11760 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11761
11762 2013-07-03 Leo Liu <sdl.web@gmail.com>
11763
11764 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11765
11766 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11767
11768 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11769 middle of block statement initially, lower the depth. Remove
11770 FIXME comment, not longer valid. Remove middle of block statement
11771 detection, no need to do that anymore since we've been using
11772 `ruby-parse-region' here.
11773
11774 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11775
11776 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11777
11778 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11779
11780 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11781
11782 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11783
11784 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11785 (desktop-restore-in-current-display): New customization option.
11786 (desktop--excluded-frame-parameters): Add `font'.
11787 (desktop--save-frames): Rename from desktop--save-windows.
11788 (desktop--restore-in-this-display-p): New function.
11789 (desktop--make-full-frame): Remove unwanted width/height from
11790 full(width|height) frames.
11791 (desktop--restore-frames): Rename from desktop--restore-windows.
11792 Obey desktop-restore-current-display. Do not delete old frames or
11793 select a new frame unless we were able to restore at least one frame.
11794
11795 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11796
11797 * files.el (find-file-noselect): Simplify conditional expression.
11798
11799 * textmodes/remember.el (remember-append-to-file):
11800 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11801
11802 Add `remember-notes' function to store random notes across Emacs
11803 restarts.
11804 * textmodes/remember.el (remember-data-file): Add :set callback to
11805 affect notes buffer (if any).
11806 (remember-notes): New command.
11807 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11808 New defcustoms for the `remember-notes' function.
11809 (remember-notes-save-and-bury-buffer): New command.
11810 (remember-notes-mode-map): New variable.
11811 (remember-mode): New minor mode.
11812 (remember-notes--kill-buffer-query): New function.
11813 * startup.el (initial-buffer-choice): Add notes to custom type.
11814
11815 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11816
11817 * bindings.el (right-char, left-char): Don't call sit-for, this is
11818 no longer needed. Use arithmetic comparison only for numerical
11819 arguments.
11820
11821 * international/mule-cmds.el (select-safe-coding-system):
11822 Handle the case of FROM being a string correctly. (Bug#14755)
11823
11824 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
11826 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11827 progression on degenerate tables.
11828 (shr-rescale-image): ImageMagick animated images currently don't work.
11829
11830 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11831
11832 Some fixes and improvements for desktop frame restoration.
11833 It is still experimental and disabled by default.
11834 * desktop.el (desktop--save-windows): Put the selected frame at
11835 the head of the list.
11836 (desktop--make-full-frame): New function.
11837 (desktop--restore-windows): Try to re-select the frame that was
11838 selected upon saving. Do not abort if some frames fail to restore,
11839 just show an error message and continue. Set up maximized frames
11840 so they have default non-maximized dimensions.
11841
11842 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11843
11844 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11845 Don't start heredoc inside a string or comment.
11846
11847 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11848
11849 * bindings.el (visual-order-cursor-movement): New defcustom.
11850 (right-char, left-char): Provide visual-order cursor motion by
11851 calling move-point-visually. Update the doc strings.
11852
11853 2013-06-28 Kenichi Handa <handa@gnu.org>
11854
11855 * international/mule.el (define-coding-system): New coding system
11856 properties :inhibit-null-byte-detection,
11857 :inhibit-iso-escape-detection, and :prefer-utf-8.
11858 (set-buffer-file-coding-system): If :charset-list property of
11859 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11860 appropriate for setting.
11861
11862 * international/mule-cmds.el (select-safe-coding-system):
11863 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11864 multibyte characters, return utf-8 (or one of its siblings).
11865
11866 * international/mule-conf.el (prefer-utf-8): New coding system.
11867 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11868 files.
11869
11870 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11871
11872 * net/shr.el (shr-render-region): New function.
11873
11874 * net/eww.el: Autoload `eww-browse-url'.
11875
11876 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11877
11878 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11879 Adapt to `package-desc-version' being a list.
11880 Use `package--ac-desc-version' to retrieve version from a package
11881 archive element.
11882
11883 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11884
11885 New experimental feature to save&restore window and frame setup.
11886 * desktop.el (desktop-save-windows): New defcustom.
11887 (desktop--saved-states): New var.
11888 (desktop--excluded-frame-parameters): New defconst.
11889 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11890 (desktop--restore-windows, desktop--save-windows): New functions.
11891 (desktop-save): Call `desktop--save-windows'.
11892 (desktop-read): Call `desktop--restore-windows'.
11893
11894 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11895
11896 * net/shr.el (add-face-text-property): Remove compat definition.
11897
11898 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11899
11900 * info.el (Info-try-follow-nearest-node): Move search for footnote
11901 above search for node name to prevent missing a footnote (bug#14717).
11902
11903 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11904
11905 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11906
11907 2013-06-27 Leo Liu <sdl.web@gmail.com>
11908
11909 * net/eww.el (eww-read-bookmarks): Check file size.
11910
11911 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11912
11913 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11914 advice--pending if newdef is nil or an autoload (bug#13820).
11915 (advice-mapc): New function.
11916
11917 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11918
11919 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11920 probably.
11921 (eww-mode-map): Add a menu bar.
11922 (eww-add-bookmark): New command.
11923 (eww-bookmark-mode): New mode and commands.
11924 (eww-add-bookmark): Remove newlines from the title.
11925 (eww-bookmark-browse): Don't bug out if it's the only window.
11926
11927 2013-06-26 Glenn Morris <rgm@gnu.org>
11928
11929 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11930 (hfy-size): Handle ttys. (Bug#14668)
11931
11932 * info-xref.el: Update for Texinfo 5 change in *note format.
11933 (info-xref-node-re, info-xref-note-re): New constants.
11934 (info-xref-check-buffer): Use info-xref-note-re.
11935
11936 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11939
11940 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11941 nil terminate the loop (bug#14718).
11942
11943 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11944
11945 * net/eww.el: Rework history traversal. When going forward/back,
11946 put these actions into the history, too, so that they can be
11947 replayed.
11948 (eww-render): Move the history reset to the correct buffer.
11949
11950 2013-06-25 Juri Linkov <juri@jurta.org>
11951
11952 * files-x.el (modify-dir-local-variable): Change the header comment
11953 in the file with directory local variables. (Bug#14692)
11954
11955 * files-x.el (read-file-local-variable-value): Add `default'.
11956 (Bug#14710)
11957
11958 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11959
11960 * net/eww.el (eww-make-unique-file-name): Create a unique file
11961 name before saving to entering `y' accidentally asynchronously.
11962
11963 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11964
11965 * net/eww.el (eww-download): New command and keystroke.
11966
11967 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11968
11969 * net/eww.el (eww-copy-page-url): Change name of command.
11970
11971 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11972 be more consistent with Info and dired.
11973
11974 * net/eww.el (eww-mode-map): Ditto.
11975
11976 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11979 packages from archives.
11980 (package-archive-contents): Change format; include obsolete packages.
11981 (package-desc): Use `dir' to mark builtin packages.
11982 (package--from-builtin): Set the `dir' field to `builtin'.
11983 (generated-autoload-file, version-control): Declare.
11984 (package-compute-transaction): Change first arg and return value to be
11985 lists of package-descs. Adjust to new package-archive-contents format.
11986 (package--add-to-archive-contents): Adjust to new
11987 package-archive-contents format.
11988 (package-download-transaction): Arg is now a list of package-descs.
11989 (package-install): If `pkg' is a package name, pass it as
11990 a requirement, so it is subject to the usual (e.g. disabled) checks.
11991 (describe-package): Accept package-desc as well.
11992 (describe-package-1): Describe a specific package-desc. Add links to
11993 other package-descs for the same package name.
11994 (package-menu-describe-package): Pass the actual package-desc.
11995 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11996 works correctly.
11997 (package-desc-status): New function.
11998 (package-menu--refresh): New function, extracted
11999 from package-menu--generate.
12000 (package-menu--generate): Use it.
12001 (package-delete): Update package-alist.
12002 (package-menu-execute): Don't call package-initialize.
12003
12004 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12005 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12006 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12007 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12008 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12009 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12010
12011 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12012
12013 * window.el (window--state-get-1): Workaround for bug#14527.
12014 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12015
12016 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12017
12018 * net/eww.el (eww-back-url): Implement the history by stashing all
12019 the data into a list.
12020 (eww-forward-url): Allow going forward in the history, too.
12021
12022 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12023
12024 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12025 for values and use read--expression for expressions (bug#14710).
12026 (read-file-local-variable): Avoid setq.
12027 (read-file-local-variable-mode): Use minor-mode-list.
12028
12029 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12030
12031 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12032 for DOI URLs.
12033
12034 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12035
12036 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12037 Update imenu-support when dialect changes.
12038
12039 2013-06-25 Leo Liu <sdl.web@gmail.com>
12040
12041 * ido.el (ido-read-internal): Allow forward slash on windows.
12042
12043 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12044
12045 * net/eww.el (eww): Start of strings is \\`, not ^.
12046
12047 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12048
12049 * net/shr.el (shr-browse-url): Fix interactive spec.
12050
12051 * net/eww.el (eww): Add a trailing slash to domain names.
12052
12053 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12054
12055 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12056
12057 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12058
12059 * net/shr.el (shr-browse-url): Use an external browser if given a
12060 prefix.
12061
12062 * net/eww.el (eww-external-browser): Move to shr.
12063
12064 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12065
12066 * net/eww.el (eww): Work more correctly for file: URLs.
12067 (eww-detect-charset): Allow quoted charsets.
12068 (eww-yank-page-url): New command and keystroke.
12069
12070 2013-06-24 Daiki Ueno <ueno@gnu.org>
12071
12072 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12073 file name of gpg executable.
12074 (epg-context-program): New function.
12075 (epg-context-home-directory): New function.
12076 (epg-context-set-program): New function.
12077 (epg-context-set-home-directory): New function.
12078 (epg--start): Use `epg-context-program' instead of
12079 'epg-gpg-program'.
12080 (epg--list-keys-1): Likewise.
12081
12082 2013-06-24 Leo Liu <sdl.web@gmail.com>
12083
12084 * ido.el (ido-read-internal): Fix bug#14620.
12085
12086 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12087
12088 * faces.el (face-documentation): Simplify.
12089 (read-face-attribute, tty-find-type, x-resolve-font-name):
12090 Use `string-match-p'.
12091 (list-faces-display): Use `string-match-p'. Simplify.
12092 (face-spec-recalc): Check face to avoid face alias loops.
12093 (read-color): Use `string-match-p' and non-capturing parenthesis.
12094
12095 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12096
12097 * net/shr.el (shr-rescale-image): Use the new
12098 :max-width/:max-height functionality.
12099
12100 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12101
12102 * net/eww.el (eww-search-prefix): New variable.
12103 (eww): Use it.
12104 (eww-external-browser): New variable.
12105 (eww-mode-map): New keystroke.
12106 (eww-browse-with-external-browser): New command.
12107
12108 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12109
12110 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12111
12112 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12113 Don't skip aligning the next header field when padding is 0;
12114 otherwise, field width is not respected unless the title is as
12115 wide as the field.
12116
12117 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12118
12119 * emacs-lisp/package.el (package-el-version): Remove.
12120 (package-process-define-package): Fix inf-loop.
12121 (package-install): Allow symbols as arguments again.
12122
12123 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12124
12125 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12126 add some more keyword-like methods.
12127 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12128
12129 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12130
12131 * bs.el (bs-buffer-show-mark): Make defvar-local.
12132 (bs-mode): Use setq-local.
12133
12134 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12135 (emacs-lock--try-unlocking): Make defvar-local.
12136
12137 2013-06-22 Glenn Morris <rgm@gnu.org>
12138
12139 * play/cookie1.el (cookie-apropos): Minor simplification.
12140
12141 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12142
12143 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12144
12145 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12146 `regexp-opt', it breaks the build during dumping.
12147
12148 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12149
12150 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12151 Highlight keyword-like methods on Kernel and Module with
12152 font-lock-builtin-face.
12153 (auto-mode-alist): Consolidate different entries into one regexp
12154 and add more *file-s.
12155
12156 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12157
12158 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12159
12160 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12161 (diary-entry): Use it in the action of this button type instead of
12162 diary-goto-entry.
12163
12164 * calendar/todo-mode.el: New version.
12165 (todo-add-category): Append new category to end of file and give
12166 it the highest number, instead of putting it at the beginning and
12167 giving it 0. Incorporate noninteractive functionality.
12168 (todo-forward-category): Adapt to 1-based category numbering.
12169 Allow skipping over archived categories.
12170 (todo-backward-category): Derive from todo-forward-category.
12171 (todo-backward-item, todo-forward-item): Make noninteractive and
12172 delegate interactive part to new commands. Make sensitive to done items.
12173 (todo-categories): Make value an alist of category names and
12174 vectors of item counts.
12175 (todo-category-beg): Make a defconst.
12176 (todo-category-number): Use 1 instead of 0 as initial value.
12177 (todo-category-select): Make sensitive to overlays, optional item
12178 highlighting and done items.
12179 (todo-delete-item): Make sensitive to overlays and marked and done items.
12180 (todo-edit-item): Make sensitive to overlays and editing of
12181 date/time header optional. Add format checks.
12182 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12183 no-op if point is not on an item. Advertise using todo-edit-quit.
12184 (todo-edit-mode): Make sensitive to new format, font-locking, and
12185 multiple todo files.
12186 (todo-insert-item, todo-insert-item-here): Derive from
12187 todo-basic-insert-item and extend functionality.
12188 (todo-item-end, todo-item-start): Make sensitive to done items.
12189 (todo-item-string): Don't return text properties. Restore point.
12190 (todo-jump-to-category): Make sensitive to multiple todo files and
12191 todo archives. Use extended category completion.
12192 (todo-lower-item, todo-raise-item): Rename to *-priority and
12193 derive from todo-set-item-priority.
12194 (todo-mode): Derive from special-mode. Make sensitive to new
12195 format, font-locking and multiple todo files. Make read-only.
12196 (todo-mode-map): Don't suppress digit keys, so they can supply
12197 prefix arguments. Add many new key bindings.
12198 (todo-prefix): Insert as an overlay instead of file text.
12199 Change semantics from diary date expression to purely visual mark.
12200 (todo-print): Rename to todo-print-buffer. Make buffer display
12201 features printable. Remove option to restrict number of items
12202 printed. Add option to print to file.
12203 (todo-print-function): Rename to todo-print-buffer-function.
12204 (todo-quit): Extend to handle exiting new todo modes.
12205 (todo-remove-item): Make sensitive to overlays.
12206 (todo-save): Extend to buffers of filtered items.
12207 (todo-show): Make sensitive to done items, multiple todo files and
12208 new todo modes. Offer to convert legacy todo file before creating
12209 first new todo file.
12210 (todo-show-priorities): Rename to todo-top-priorities.
12211 Change semantics of value 0.
12212 (todo-top-priorities): Rename to todo-filter-top-priorities,
12213 derive from todo-filter-items and extend functionality.
12214 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12215 and extend functionality to other types of filtered items.
12216 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12217 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12218 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12219 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12220 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12221 (todo-edit-mode-hook, todo-entry-prefix-function)
12222 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12223 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12224 (todo-initials, todo-insert-threshold, todo-item-string-start)
12225 (todo-line-string, todo-menu, todo-mode-hook)
12226 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12227 (todo-print-priorities, todo-remove-separator)
12228 (todo-save-top-priorities-too, todo-string-count-lines)
12229 (todo-string-multiline-p, todo-time-string-format)
12230 (todo-tmp-buffer-name): Remove.
12231 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12232 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12233 (todo-edit-category-diary-inclusion)
12234 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12235 (todo-edit-file, todo-edit-item-date-day)
12236 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12237 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12238 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12239 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12240 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12241 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12242 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12243 (todo-filter-top-priorities-multifile, todo-find-archive)
12244 (todo-find-filtered-items-file, todo-go-to-source-item)
12245 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12246 (todo-jump-to-archive-category, todo-lower-category)
12247 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12248 (todo-move-category, todo-move-item, todo-next-button)
12249 (todo-next-item, todo-padded-string, todo-powerset)
12250 (todo-previous-button, todo-previous-item)
12251 (todo-print-buffer-to-file, todo-raise-category)
12252 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12253 (todo-set-category-number, todo-set-item-priority)
12254 (todo-set-top-priorities-in-category)
12255 (todo-set-top-priorities-in-file, todo-show-categories-table)
12256 (todo-sort-categories-alphabetically-or-numerically)
12257 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12258 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12259 (todo-toggle-item-header, todo-toggle-item-highlighting)
12260 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12261 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12262 (todo-unarchive-items, todo-unmark-category): New commands.
12263 (todo-absolute-file-name, todo-add-to-buffer-list)
12264 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12265 (todo-basic-insert-item, todo-category-completions)
12266 (todo-category-number, todo-category-string-matcher-1)
12267 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12268 (todo-check-format, todo-clear-matches)
12269 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12270 (todo-current-category, todo-date-string-matcher)
12271 (todo-define-insertion-command, todo-diary-expired-matcher)
12272 (todo-diary-goto-entry, todo-diary-item-p)
12273 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12274 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12275 (todo-done-item-section-p, todo-done-separator)
12276 (todo-done-string-matcher, todo-files, todo-filter-items)
12277 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12278 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12279 (todo-insert-category-line, todo-insert-item-from-calendar)
12280 (todo-insert-sort-button, todo-insert-with-overlays)
12281 (todo-insertion-command-name, todo-insertion-key-bindings)
12282 (todo-label-to-key, todo-longest-category-name-length)
12283 (todo-make-categories-list, todo-mode-external-set)
12284 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12285 (todo-modes-set-3, todo-multiple-filter-files)
12286 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12287 (todo-read-category, todo-read-date, todo-read-dayname)
12288 (todo-read-file-name, todo-read-time)
12289 (todo-reevaluate-category-completions-files-defcustom)
12290 (todo-reevaluate-default-file-defcustom)
12291 (todo-reevaluate-filelist-defcustoms)
12292 (todo-reevaluate-filter-files-defcustom)
12293 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12294 (todo-reset-done-separator, todo-reset-done-separator-string)
12295 (todo-reset-done-string, todo-reset-global-current-todo-file)
12296 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12297 (todo-reset-prefix, todo-set-categories)
12298 (todo-set-date-from-calendar, todo-set-show-current-file)
12299 (todo-set-top-priorities, todo-short-file-name)
12300 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12301 (todo-total-item-counts, todo-update-buffer-list)
12302 (todo-update-categories-display, todo-update-categories-sexp)
12303 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12304 New functions.
12305 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12306 New major modes.
12307 (todo-categories, todo-display, todo-edit, todo-faces)
12308 (todo-filtered): New defgroups.
12309 (todo-archived-only, todo-button, todo-category-string, todo-date)
12310 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12311 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12312 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12313 (todo-add-item-if-new-category, todo-always-add-time-string)
12314 (todo-categories-align, todo-categories-archived-label)
12315 (todo-categories-category-label, todo-categories-diary-label)
12316 (todo-categories-done-label, todo-categories-number-separator)
12317 (todo-categories-todo-label, todo-categories-totals-label)
12318 (todo-category-completions-files, todo-completion-ignore-case)
12319 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12320 (todo-done-separator-string, todo-done-string)
12321 (todo-files-function, todo-filter-done-items, todo-filter-files)
12322 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12323 (todo-initial-category, todo-initial-file, todo-item-mark)
12324 (todo-legacy-date-time-regexp, todo-mode-line-function)
12325 (todo-nondiary-marker, todo-number-prefix)
12326 (todo-print-buffer-function, todo-show-current-file)
12327 (todo-show-done-only, todo-show-first, todo-show-with-done)
12328 (todo-skip-archived-categories, todo-top-priorities-overrides)
12329 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12330 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12331 New defcustoms.
12332 (todo-category-done, todo-date-pattern, todo-date-string-start)
12333 (todo-diary-items-buffer, todo-done-string-start)
12334 (todo-filtered-items-buffer, todo-item-start)
12335 (todo-month-abbrev-array, todo-month-name-array)
12336 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12337 (todo-top-priorities-buffer): New defconsts.
12338 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12339 (todo-categories-with-marks, todo-category-string-face)
12340 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12341 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12342 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12343 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12344 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12345 (todo-font-lock-keywords, todo-global-current-todo-file)
12346 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12347 (todo-insertion-commands-args)
12348 (todo-insertion-commands-args-genlist)
12349 (todo-insertion-commands-names, todo-insertion-map)
12350 (todo-key-bindings-t, todo-key-bindings-t+a)
12351 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12352 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12353 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12354 (todo-visited): New variables.
12355
12356 2013-06-21 Glenn Morris <rgm@gnu.org>
12357
12358 * play/cookie1.el (cookie-apropos): Add optional display argument.
12359 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12360 (psychoanalyze-pinhead): Use cookie-doctor.
12361
12362 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12363
12364 * emacs-lisp/package.el (tar-get-file-descriptor)
12365 (tar--extract): Declare.
12366
12367 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12368
12369 Extend flymake's warning predicate to be a function (bug#14217).
12370 * progmodes/flymake.el (flymake-warning-predicate): New.
12371 (flymake-parse-line): Use it.
12372 (flymake-warning-re): Make obsolete alias to
12373 `flymake-warning-predicate'.
12374
12375 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12376
12377 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12378 (package-obsolete-list): Remove.
12379 (package-activate): Remove min-version argument. Add `force' argument.
12380 Adjust to new package-alist format.
12381 (package-mark-obsolete): Remove.
12382 (package-unpack): Force reload of the package's autoloads.
12383 (package-installed-p): Check builtins if the installed package is not
12384 recent enough.
12385 (package-initialize): Don't reset package-obsolete-list.
12386 Don't specify which package version to activate.
12387 (package-process-define-package, describe-package-1)
12388 (package-menu--generate): Adjust to new package-alist format.
12389
12390 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12391
12392 * allout-widgets.el (allout-widgets-mode-off)
12393 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12394 (allout-widgets-post-command-business)
12395 (allout-widgets-after-copy-or-kill-function)
12396 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12397 (allout-decorate-item-and-context)
12398 (allout-graphics-modification-handler): Fix typos in docstrings.
12399 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12400
12401 * cmuscheme.el (scheme-start-file): Doc fix.
12402 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12403 (scheme-input-filter): Use `string-match-p'.
12404
12405 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12406
12407 * dired-x.el: Use Dired consistently in docstrings.
12408
12409 * dired.el: Use Dired consistently in docstrings.
12410 (dired-readin, dired-mode): Use `setq-local'.
12411 (dired-switches-alist): Make defvar-local.
12412 (dired-buffers-for-dir): Use `zerop'.
12413 (dired-safe-switches-p, dired-switches-escape-p)
12414 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12415 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12416 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12417 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12418 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12419 (dired-toggle-marks, dired-mark-files-containing-regexp)
12420 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12421 (dired-flag-auto-save-files, dired-flag-backup-files):
12422 Use `looking-at-p'.
12423 (dired-mark-files-regexp, dired-build-subdir-alist):
12424 Use `string-match-p', `looking-at-p'.
12425
12426 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12427 (direct-print-region-helper): Use `string-match-p'.
12428
12429 2013-06-21 Leo Liu <sdl.web@gmail.com>
12430
12431 * comint.el (comint-redirect-results-list-from-process):
12432 Fix infinite loop.
12433
12434 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12435
12436 * net/eww.el (eww-update-header-line-format): Quote % characters.
12437
12438 2013-06-21 Glenn Morris <rgm@gnu.org>
12439
12440 * play/cookie1.el (cookie): New custom group.
12441 (cookie-file): New option.
12442 (cookie-check-file): New function.
12443 (cookie): Make it interactive. Make start and end messages optional.
12444 Interactively, display the result. Default to cookie-file.
12445 (cookie-insert): Default to cookie-file.
12446 (cookie-snarf): Make start and end messages optional.
12447 Default to cookie-file. Use with-temp-buffer.
12448 (cookie-read): Rename from read-cookie.
12449 Make start and end messages optional. Default to cookie-file.
12450 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12451 Do not autoload it.
12452 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12453 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12454
12455 2013-06-21 Leo Liu <sdl.web@gmail.com>
12456
12457 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12458
12459 2013-06-21 Glenn Morris <rgm@gnu.org>
12460
12461 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12462
12463 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12464 Daniel Hackney <dan@haxney.org>
12465
12466 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12467 Consolidate the single-file vs tarball code.
12468 (package-desc-suffix): New function.
12469 (package-desc-full-name): Don't bother inlining it.
12470 (package-load-descriptor): Return the new package-desc.
12471 (package-mark-obsolete): Remove unused arg `package'.
12472 (package-unpack): Make it work for single files as well.
12473 Make it update package-alist.
12474 (package--make-autoloads-and-stuff): Rename from
12475 package--make-autoloads-and-compile. Don't compile any more.
12476 (package--compile): New function.
12477 (package-generate-description-file): New function, extracted from
12478 package-unpack-single.
12479 (package-unpack-single): Remove.
12480 (package--with-work-buffer): Add indentation and debugging info.
12481 (package-download-single): Remove.
12482 (package-install-from-archive): Rename from package-download-tar, make
12483 it take a pkg-desc, and make it work for single files as well.
12484 (package-download-transaction): Simplify.
12485 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12486 external tar program.
12487 (package-install-from-buffer): Remove `pkg-desc' argument.
12488 Use package-tar-file-info for tar-mode buffers.
12489 (package-install-file): Simplify accordingly.
12490 (package-archive-base): Change to take a pkg-desc.
12491 * tar-mode.el (tar--check-descriptor): New function, extracted from
12492 tar-get-descriptor.
12493 (tar-get-descriptor): Use it.
12494 (tar-get-file-descriptor): New function.
12495 (tar--extract): New function, extracted from tar-extract.
12496 (tar--extract): Use it.
12497 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12498 case the summary uses non-ascii. Adjust to new calling convention of
12499 package-tar-file-info.
12500
12501 2013-06-21 Leo Liu <sdl.web@gmail.com>
12502
12503 * comint.el (comint-redirect-results-list-from-process):
12504 Fix random delay. (Bug#14681)
12505
12506 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12507
12508 * profiler.el (profiler-format-number): Use log, not log10.
12509
12510 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12511
12512 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12513
12514 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12515
12516 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12517 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12518 yet available.
12519 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12520 (AUTOGENEL): ... here.
12521 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12522 (cl--defsubst-expand): Use it.
12523
12524 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12525
12526 * subr.el (log10): Move here from C code, and declare as obsolete.
12527 All uses of (log10 X) replaced with (log X 10).
12528
12529 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12530
12531 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12532 Declare with `defvar-local'.
12533 (tabulated-list-use-header-line, tabulated-list-entries)
12534 (tabulated-list-padding, tabulated-list-printer)
12535 (tabulated-list-sort-key): Declare with `defvar-local'.
12536 (tabulated-list-init-header, tabulated-list-print-fake-header):
12537 Use `setq-local'.
12538
12539 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12540
12541 * arc-mode.el (archive-mode): Add `archive-write-file' to
12542 `write-contents-functions' also for remote files. (Bug#14652)
12543
12544 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12545
12546 * cus-edit.el (custom-commands): Fix typos.
12547 (custom-display): Fix tooltip text.
12548 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12549 Fix typos in docstrings.
12550 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12551 (custom-unlispify-menu-entry, custom-magic-value-create)
12552 (custom-add-see-also, custom-group-value-create): Use ?\s.
12553 (custom-guess-type, customize-apropos, editable-field)
12554 (custom-face-value-create): Use `string-match-p'.
12555 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12556
12557 * custom.el (custom-load-symbol): Use `string-match-p'.
12558
12559 * ansi-color.el: Convert to lexical binding.
12560 (ansi-colors): Fix URL.
12561 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12562 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12563 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12564
12565 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12566
12567 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12568
12569 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12570
12571 2013-06-19 Tom Tromey <tromey@redhat.com>
12572
12573 * net/eww.el (eww-top-url): Remove.
12574 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12575 (eww-render): Set new variables. Don't set eww-top-url.
12576 (eww-handle-link): Handle "prev", "home", and "contents".
12577 Downcase the rel text.
12578 (eww-top-url): Choose best top URL.
12579
12580 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12581
12582 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12583 relying in widget.el. Using widget.el leads to too many
12584 user interface inconsistencies.
12585 (eww-self-insert): Implement entering commands in text fields.
12586 (eww-process-text-input): New function to make text input field editing
12587 work.
12588 (eww-submit): Rewrite to use the new-style form methods.
12589 (eww-select-display): Display the correct selected item.
12590 (eww-change-select): Implement changing the select value.
12591 (eww-toggle-checkbox): Implement radio/checkboxes.
12592 (eww-update-field): Fix compilation error.
12593 (eww-tag-textarea): Implement <textarea>.
12594
12595 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12596 we don't shadow mode-specific bindings.
12597
12598 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12599 nothing to push.
12600
12601 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12602
12603 2013-06-19 Glenn Morris <rgm@gnu.org>
12604
12605 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12606
12607 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12608
12609 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12610 not needed.
12611
12612 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12613
12614 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12615
12616 * net/browse-url.el (browse-url-browser-function):
12617 `eww-browse-url' has the right calling signature, `eww' does not.
12618
12619 2013-06-19 Glenn Morris <rgm@gnu.org>
12620
12621 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12622 Only eval autoloaded macros.
12623 (byte-compile-autoload): Only give the macro warning for macros.
12624
12625 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12626 (ps-underlined-faces): Declare.
12627
12628 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12629 (speedbar-add-supported-extension): Declare.
12630
12631 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12632 Don't include a date stamp in the header of the generated file;
12633 it leads to needless differences between output files.
12634
12635 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12636
12637 * net/secrets.el (secrets-struct-secret-content-type):
12638 Replace check of introspection data by a test call of "CreateItem".
12639 Some servers do not offer introspection.
12640
12641 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12642
12643 * electric.el (electric-pair-mode): Improve interaction with
12644 electric-layout-mode.
12645 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12646 (electric-pair-syntax): Use text-mode-syntax-table in comments
12647 and strings.
12648 (electric-pair--insert): New function.
12649 (electric-pair-post-self-insert-function): Use it and
12650 electric--after-char-pos.
12651
12652 2013-06-19 Leo Liu <sdl.web@gmail.com>
12653
12654 * progmodes/octave.el (octave-help): Fix regexp.
12655
12656 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12657
12658 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12659 (shr-table-horizontal-line): Allow nil as a value, and change the
12660 default.
12661 (shr-insert-table-ruler): Respect the nil value.
12662
12663 2013-06-18 Tom Tromey <tromey@barimba>
12664
12665 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12666 New defvars.
12667 (eww-open-file): New defun.
12668 (eww-render): Initialize new variables.
12669 (eww-display-html): Handle "link" and "a".
12670 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12671 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12672 (eww-back-url): Rename from eww-previous-url.
12673 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12674 New defuns.
12675
12676 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12677
12678 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12679 Distinguish ternary operator tokens from slash symbol and slash
12680 char literal.
12681
12682 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12683
12684 Convert symbol prettification into minor mode and global minor mode.
12685
12686 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12687 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12688 (prettify-symbols--keywords): Rename from
12689 `prog-prettify-symbols-alist' and make a local defvar.
12690 (prettify-symbols--compose-symbol): Rename from
12691 `prog--prettify-font-lock-compose-symbol'.
12692 (prettify-symbols--make-keywords): Rename from
12693 `prog-prettify-font-lock-symbols-keywords' and simplify.
12694 (prog-prettify-install): Remove.
12695 (prettify-symbols-mode): New minor mode, based on
12696 `prog-prettify-install'.
12697 (turn-on-prettify-symbols-mode): New function.
12698 (global-prettify-symbols-mode): New globalized minor mode.
12699
12700 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12701 * progmodes/cfengine.el (cfengine3-mode):
12702 * progmodes/perl-mode.el (perl-mode): Don't call
12703 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12704
12705 2013-06-18 Juri Linkov <juri@jurta.org>
12706
12707 * files-x.el (modify-file-local-variable-message): New function.
12708 (modify-file-local-variable)
12709 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12710 and call `modify-file-local-variable-message' when it's non-nil.
12711 (add-file-local-variable, delete-file-local-variable)
12712 (add-file-local-variable-prop-line)
12713 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12714 and use it. (Bug#9820)
12715
12716 2013-06-18 Juri Linkov <juri@jurta.org>
12717
12718 * emulation/vi.el (vi-shell-op):
12719 * emulation/vip.el (vip-execute-com, ex-command):
12720 * emulation/viper-cmd.el (viper-exec-bang):
12721 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12722 the call of `shell-command-on-region'. (Bug#14637)
12723
12724 * simple.el (shell-command-on-region): Doc fix.
12725
12726 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12727
12728 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12729 (bug#14633).
12730
12731 2013-06-18 Glenn Morris <rgm@gnu.org>
12732
12733 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12734
12735 * newcomment.el (comment-search-forward, comment-search-backward):
12736 Doc fix. (Bug#14376)
12737
12738 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12739
12740 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12741 (buffer-face-mode-invoke): Doc fix.
12742
12743 2013-06-18 Matthias Meulien <orontee@gmail.com>
12744
12745 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12746 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12747
12748 2013-06-18 Glenn Morris <rgm@gnu.org>
12749
12750 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12751 Replace obsolete function generic-make-keywords with its expansion.
12752
12753 * progmodes/python.el (ffap-alist): Declare.
12754
12755 * textmodes/reftex.el (bibtex-mode-map): Declare.
12756
12757 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12758
12759 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12760 (package-unpack, package-unpack-single): Return the pkg-dir.
12761 (package-download-transaction): Use it to update package-alist.
12762
12763 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12764
12765 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12766 possible choice.
12767
12768 2013-06-17 Juri Linkov <juri@jurta.org>
12769
12770 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12771
12772 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12773
12774 * emacs-lisp/package.el (package-load-descriptor):
12775 Remove `with-syntax-table' call, `read' doesn't need it.
12776 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12777
12778 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12779
12780 * startup.el (command-line): Expand package name returned by
12781 `package--description-file' (bug#14639).
12782
12783 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12784
12785 * emacs-lisp/package.el (package-load-descriptor): Do not call
12786 `emacs-lisp-mode', just use its syntax table.
12787
12788 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12789
12790 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12791 `font-lock-extra-managed-props' if any prettifying keyword is added.
12792 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12793 (prog-mode): Use `setq-local'.
12794
12795 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12796
12797 * international/characters.el (standard-case-table): Set syntax of ?»
12798 and ?« to punctuation.
12799
12800 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12801
12802 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12803 Save relevant match data before calling `syntax-ppss' (bug#14595).
12804
12805 2013-06-15 Juri Linkov <juri@jurta.org>
12806
12807 * files-x.el (modify-file-local-variable-prop-line): Add local
12808 variables to the end of the existing comment on the first line.
12809 Use `file-auto-mode-skip' to skip interpreter magic line,
12810 and also skip XML declaration.
12811
12812 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12813
12814 * startup.el (package--builtin-versions): New var.
12815 (package-subdirectory-regexp): Remove.
12816 (package--description-file): Hard code its value instead.
12817
12818 * emacs-lisp/package.el: Don't activate packages older than builtin.
12819 (package-obsolete-list): Rename from package-obsolete-alist, and make
12820 it into a simple list of package-desc.
12821 (package-strip-version): Remove.
12822 (package-built-in-p): Use package--builtin-versions.
12823 (package-mark-obsolete): Simplify.
12824 (package-process-define-package): Mark it obsolete if older than the
12825 builtin version.
12826 (package-handle-response): Use line-end-position.
12827 (package-read-archive-contents, package--download-one-archive):
12828 Simplify.
12829 (package--add-to-archive-contents): Skip if older than the builtin or
12830 installed version.
12831 (package-menu-describe-package): Fix last change.
12832 (package-list-unversioned): New var.
12833 (package-menu--generate): Use it.
12834
12835 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12836 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12837 (autoload-builtin-package-versions): New variable.
12838 (autoload-generate-file-autoloads): Use them.
12839 Remove the list of autoloaded functions/macros from the
12840 (autoload...) comments.
12841
12842 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12843
12844 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12845
12846 * simple.el (line-move-partial): Don't jump to the next screen
12847 line as soon as it becomes visible. Instead, continue enlarging
12848 the vscroll until the portion of a tall screen line that's left on
12849 display is about the height of the frame's default font.
12850 (Bug#14567)
12851
12852 2013-06-15 Glenn Morris <rgm@gnu.org>
12853
12854 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12855 compilation-error-regexp-alist void, or local while let-bound.
12856
12857 * progmodes/make-mode.el (makefile-mode-syntax-table):
12858 Treat "=" as punctuation. (Bug#14614)
12859
12860 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12861
12862 * help-fns.el (describe-variable):
12863 Add extra line for permanent-local variables.
12864
12865 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12866
12867 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12868 Add export, import, library. (Bug#9164)
12869 (library): Set indent function.
12870
12871 2013-06-14 Glenn Morris <rgm@gnu.org>
12872
12873 * term/xterm.el (xterm--query):
12874 Stop after first matching handler. (Bug#14615)
12875
12876 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12877
12878 Add support for dired in saveplace.
12879 * dired.el (dired-initial-position-hook): New variable.
12880 (dired-initial-position): Call hook to place cursor position.
12881 * saveplace.el (save-place-to-alist): Add dired position.
12882 (save-place-dired-hook): New function.
12883
12884 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12885
12886 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12887 through a symbol rather than letrec.
12888
12889 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12890 (package-desc): Add `dir' field.
12891 (package-desc-full-name): New function.
12892 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12893 (package-maybe-load-descriptor): Remove.
12894 (package-load-all-descriptors): Just call package-load-descriptor.
12895 (package--disabled-p): New function.
12896 (package-desc-vers, package-desc-doc): Remove aliases.
12897 (package--dir): Remove function.
12898 (package-activate): Check if a package is disabled.
12899 (package-process-define-package): New function, extracted from
12900 define-package.
12901 (define-package): Turn into a place holder.
12902 (package-unpack-single, package-tar-file-info):
12903 Use package--description-file.
12904 (package-compute-transaction): Use package--disabled-p.
12905 (package-download-transaction): Don't call
12906 package-maybe-load-descriptor since they're all loaded anyway.
12907 (package-install): Change argument to be a pkg-desc.
12908 (package-delete): Use a single pkg-desc argument.
12909 (describe-package-1): Use package-desc-dir instead of package--dir.
12910 Use package-desc property instead of package-symbol.
12911 (package-install-button-action): Adjust accordingly.
12912 (package--push): Rewrite.
12913 (package-menu--print-info): Adjust accordingly. Change the ID format
12914 to be a pkg-desc.
12915 (package-menu-describe-package, package-menu-get-status)
12916 (package-menu--find-upgrades, package-menu-mark-upgrades)
12917 (package-menu-execute, package-menu--name-predicate):
12918 Adjust accordingly.
12919 * startup.el (package--description-file): New function.
12920 (command-line): Use it.
12921 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12922 Use package-desc-version.
12923
12924 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12925 (byte-compile-preprocess): Use it.
12926 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12927 can't quite recognize.
12928 (byte-compile-add-to-list): Remove.
12929 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12930 (cconv-closure-convert): Add assertion.
12931
12932 * emacs-lisp/map-ynp.el: Use lexical-binding.
12933 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12934 Factor out some repeated code.
12935
12936 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * subr.el (with-eval-after-load): New macro.
12939 (eval-after-load): Allow form to be a function.
12940 take advantage of lexical-binding.
12941 (do-after-load-evaluation): Use dolist and adjust to new format.
12942 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12943
12944 2013-06-13 Juri Linkov <juri@jurta.org>
12945
12946 * replace.el (perform-replace): Display "symbol " and other search
12947 modes from `isearch-message-prefix' in the *Help* buffer.
12948
12949 * isearch.el (isearch-query-replace): Add " symbol" and other
12950 possible search modes from `isearch-message-prefix' to the prompt.
12951 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12952 when reading a regexp to collect.
12953
12954 2013-06-13 Juri Linkov <juri@jurta.org>
12955
12956 * isearch.el (word-search-regexp): Match whitespace if the search
12957 string begins or ends in whitespace. The LAX arg is applied to
12958 both ends of the search string. Use `regexp-quote' and explicit
12959 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12960 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12961 boundaries are replaced with symbol boundaries, and characters
12962 between symbols match non-word non-symbol syntax. (Bug#14602)
12963
12964 2013-06-13 Juri Linkov <juri@jurta.org>
12965
12966 * isearch.el (isearch-del-char): Don't exceed the length of
12967 `isearch-string' by the prefix arg. (Bug#14563)
12968
12969 2013-06-13 Juri Linkov <juri@jurta.org>
12970
12971 * isearch.el (isearch-yank-word, isearch-yank-line)
12972 (isearch-char-by-name, isearch-quote-char)
12973 (isearch-printing-char, isearch-process-search-char):
12974 Add optional count prefix arg. (Bug#14563)
12975
12976 * international/isearch-x.el
12977 (isearch-process-search-multibyte-characters):
12978 Add optional count prefix arg.
12979
12980 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12981
12982 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12983 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12984 lexical-binding.
12985
12986 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12987
12988 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12989
12990 2013-06-13 Glenn Morris <rgm@gnu.org>
12991
12992 * startup.el (tty-handle-args):
12993 Don't just discard "--" and anything after. (Bug#14608)
12994
12995 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12996
12997 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12998
12999 Implement changes in Secret Service API. Make it backward compatible.
13000 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13001 (secrets-create-item): Use it. Prefix properties with interface.
13002
13003 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13004
13005 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13006 (term-emulate-terminal): Respect term-suppress-hard-newline.
13007
13008 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13009
13010 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13011 Only remove a `thumb-file' overlay. (Bug#14548)
13012
13013 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13014
13015 * mail/reporter.el (reporter-submit-bug-report):
13016 Handle missing package-name. (Bug#14600)
13017
13018 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13019
13020 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13021 (reftex-citation-prompt, reftex-default-bibliography)
13022 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13023 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13024 (reftex-bib-sort-author, reftex-bib-sort-year)
13025 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13026 (reftex-extract-bib-entries-from-thebibliography)
13027 (reftex-get-bibkey-default, reftex-get-bib-names)
13028 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13029 (reftex-format-bib-entry, reftex-parse-bibitem)
13030 (reftex-format-bibitem, reftex-do-citation)
13031 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13032 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13033 (reftex-insert-bib-matches, reftex-format-citation)
13034 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13035 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13036 existing comments into docstrings.
13037
13038 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13039
13040 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13041
13042 2013-06-12 Andreas Schwab <schwab@suse.de>
13043
13044 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13045 for auto-save files.
13046
13047 2013-06-12 Glenn Morris <rgm@gnu.org>
13048
13049 * ido.el (ido-delete-ignored-files): Remove.
13050 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13051 Go back to calling ido-ignore-item-p directly.
13052
13053 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13054
13055 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13056
13057 * ido.el (ido-delete-ignored-files): New function,
13058 split from ido-make-file-list-1.
13059 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13060 (ido-make-file-list-1): Use ido-delete-ignored-files.
13061
13062 2013-06-12 Leo Liu <sdl.web@gmail.com>
13063
13064 * progmodes/octave.el (inferior-octave-startup)
13065 (inferior-octave-completion-table)
13066 (inferior-octave-track-window-width-change)
13067 (octave-eldoc-function-signatures, octave-help)
13068 (octave-find-definition): Use single quoted strings.
13069 (inferior-octave-startup-args): Change default value.
13070 (inferior-octave-startup): Do not hard code "-i" and
13071 "--no-line-editing".
13072 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13073 (inferior-octave-directory-tracker): Use it.
13074 (octave-goto-function-definition): Robustify.
13075 (octave-help): Support highlighting operators in 'See also'.
13076 (octave-find-definition): Find subfunctions only in Octave mode.
13077
13078 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13079
13080 * help-fns.el (help-fns--compiler-macro): If the handler function is
13081 named, then put a link to it.
13082 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13083 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13084 (cl-typep): Use it.
13085 (cl-eval-when): Simplify debug spec.
13086 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13087 compiler-macro function instead of setting `compiler-macro-file'.
13088
13089 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13090
13091 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13092 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13093
13094 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13095 Daniel Hackney <dan@haxney.org>
13096
13097 First part of Daniel Hackney's patch to package.el.
13098 * emacs-lisp/package.el: Use defstruct.
13099 (package-desc): New, main struct.
13100 (package--bi-desc, package--ac-desc): New structs, used to describe the
13101 format in external files.
13102 (package-desc-vers): Replace with package-desc-version accessor.
13103 (package-desc-doc): Replace with package-desc-summary accessor.
13104 (package-activate-1): Remove `package' arg since the pkg-vec now
13105 includes the name.
13106 (define-package): Use package-desc-from-define.
13107 (package-unpack-single): Change file-name arg to be a symbol.
13108 (package--add-to-archive-contents): Use package-desc-create and new
13109 accessor functions to package--ac-desc.
13110 (package-buffer-info, package-tar-file-info): Return a package-desc.
13111 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13112 arg to be a package-desc.
13113 (package-install-file): Adjust accordingly. Use \' to match EOS.
13114 (package--from-builtin): New function.
13115 (describe-package-1, package-menu--generate): Use it.
13116 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13117 (package-generate-autoloads): Idem and return the name of the file.
13118 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13119 Change pkg-info arg to be a package-desc.
13120 Use package-make-ac-desc.
13121 (package-upload-file): Use \' to match EOS.
13122 * finder.el (finder-compile-keywords): Use package-make-builtin.
13123
13124 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13125
13126 * vc/vc.el (vc-deduce-fileset): Change error message.
13127 (vc-read-backend): New function.
13128 (vc-next-action): Use it.
13129
13130 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13131
13132 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13133 (prolog-font-lock-keywords): Use regexp-opt instead.
13134 Don't manually highlight strings.
13135 (prolog-mode-variables): Simplify comment-start-skip.
13136 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13137
13138 * emacs-lisp/generic.el (generic--normalise-comments)
13139 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13140 (generic-mode-set-comments): Use them.
13141 (generic-bracket-support): Use setq-local.
13142 (generic-make-keywords-list): Declare obsolete.
13143
13144 2013-06-11 Glenn Morris <rgm@gnu.org>
13145
13146 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13147 Prettify after setting font-lock-defaults. (Bug#14574)
13148
13149 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13150
13151 * replace.el (query-replace, occur-read-regexp-defaults-function)
13152 (replace-search):
13153 * subr.el (declare-function, number-sequence, local-set-key)
13154 (substitute-key-definition, locate-user-emacs-file)
13155 (with-silent-modifications, split-string, eval-after-load):
13156 Fix typos, remove unneeded backslashes and reflow some docstrings.
13157
13158 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13159
13160 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13161 default for Elisp files.
13162
13163 2013-06-11 Glenn Morris <rgm@gnu.org>
13164
13165 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13166 although define-derived-mode was doing this anyway. (Bug#14583)
13167
13168 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13169
13170 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13171 Fix make-variable-buffer-local call to refer to the correct variable.
13172
13173 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13174
13175 * eshell/em-term.el (eshell-visual-commands)
13176 (eshell-visual-subcommands, eshell-visual-options):
13177 Add summary line to docstrings. Add cross-references.
13178
13179 2013-06-10 Glenn Morris <rgm@gnu.org>
13180
13181 * epa.el (epa-read-file-name): New function. (Bug#14510)
13182 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13183
13184 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13185
13186 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13187 output redirection to be ignored with visual commands.
13188
13189 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13190
13191 * eshell/em-term.el (eshell-visual-command-p): New function.
13192 (eshell-term-initialize): Move long lambda to separate function
13193 eshell-visual-command-p.
13194 * eshell/em-dirs.el (eshell-dirs-initialize):
13195 * eshell/em-script.el (eshell-script-initialize):
13196 Add missing #' to lambda.
13197
13198 2013-06-08 Leo Liu <sdl.web@gmail.com>
13199
13200 * progmodes/octave.el (octave-add-log-current-defun): New function.
13201 (octave-mode): Set add-log-current-defun-function.
13202 (octave-goto-function-definition): Do not move point if not found.
13203 (octave-find-definition): Enhance to try subfunctions first.
13204
13205 2013-06-08 Glenn Morris <rgm@gnu.org>
13206
13207 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13208 (byte-compile-backward-char, byte-compile-backward-word):
13209 Improve previous change, to handle non-explicit nil.
13210
13211 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13212
13213 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13214 (smie--opener/closer-at-point): New function.
13215 (smie--matching-block-data): Use it. Don't match from right after an
13216 opener or right before a closer. Obey smie-blink-matching-inners.
13217 Don't signal a mismatch for repeated inners like "switch..case..case".
13218
13219 2013-06-07 Leo Liu <sdl.web@gmail.com>
13220
13221 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13222 to t. (Bug#14303)
13223 (octave-function-header-regexp): Fix. (Bug#14570)
13224 (octave-help-mode-finish-hook, octave-help-mode-finish):
13225 Remove. Just use temp-buffer-show-hook.
13226
13227 * newcomment.el (comment-search-backward): Revert last change.
13228 (Bug#14434)
13229
13230 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13231
13232 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13233
13234 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13235 through xargs, to avoid failure due to MS-Windows limitations on
13236 command-line length.
13237
13238 2013-06-06 Glenn Morris <rgm@gnu.org>
13239
13240 * font-lock.el (lisp-font-lock-keywords-2):
13241 Treat user-error like error.
13242
13243 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13244 (byte-compile-backward-char, byte-compile-backward-word):
13245 Handle explicit nil arguments. (Bug#14565)
13246
13247 2013-06-05 Alan Mackenzie <acm@muc.de>
13248
13249 * isearch.el (isearch-allow-prefix): New user option.
13250 (isearch-other-meta-char): Don't exit isearch when a prefix
13251 argument is typed whilst `isearch-allow-prefix' is non-nil.
13252 (Bug#9706)
13253
13254 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * autorevert.el (auto-revert-notify-handler): Use memq.
13257 Hide assertion failure.
13258
13259 * skeleton.el: Use cl-lib.
13260 (skeleton-further-elements): Use defvar-local.
13261 (skeleton-insert): Use cl-progv.
13262
13263 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13264
13265 * progmodes/prog-mode.el (prog-prettify-symbols)
13266 (prog-prettify-install): Update docstrings.
13267
13268 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13269
13270 * simple.el: Move all the prog-mode code to prog-mode.el.
13271 * progmodes/prog-mode.el: New file.
13272 * loadup.el: Add prog-mode.el.
13273
13274 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13275
13276 * simple.el (prog-prettify-symbols): Add version.
13277 (prog-prettify-install): Add convenience function to prettify symbols.
13278
13279 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13280 (perl--augmented-font-lock-keywords-1)
13281 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13282 variables and use it.
13283
13284 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13285 (cfengine3-mode): Remove unneeded variable and use it.
13286
13287 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13288 (lisp--augmented-font-lock-keywords-1)
13289 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13290 Remove unneeded variables and use it.
13291
13292 2013-06-05 João Távora <joaotavora@gmail.com>
13293
13294 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13295 to point when opening the connection. (Bug#14380)
13296
13297 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * subr.el (load-history-regexp, load-history-filename-element)
13300 (eval-after-load, after-load-functions, do-after-load-evaluation)
13301 (eval-next-after-load, display-delayed-warnings)
13302 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13303 definition of save-match-data.
13304 (overriding-local-map): Remove accidental obsolescence declaration.
13305
13306 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13307
13308 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13309
13310 Generalize symbol prettify support to prog-mode and implement it
13311 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13312 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13313 (prog--prettify-font-lock-compose-symbol)
13314 (prog-prettify-font-lock-symbols-keywords): New variables and
13315 functions to support symbol prettification.
13316 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13317 (lisp--augmented-font-lock-keywords-1)
13318 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13319 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13320 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13321 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13322 Implement prettify of -> => :: strings.
13323 * progmodes/perl-mode.el (perl-prettify-symbols)
13324 (perl--font-lock-compose-symbol)
13325 (perl--font-lock-symbols-keywords): Move to prog-mode.
13326 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13327 (perl-font-lock-keywords-1)
13328 (perl-font-lock-keywords-2): Remove explicit prettify support.
13329 (perl--augmented-font-lock-keywords)
13330 (perl--augmented-font-lock-keywords-1)
13331 (perl--augmented-font-lock-keywords-2, perl-mode):
13332 Implement prettify support.
13333
13334 2013-06-05 Leo Liu <sdl.web@gmail.com>
13335
13336 Re-implement SMIE matching block highlight using
13337 show-paren-data-function. (Bug#14395)
13338 * emacs-lisp/smie.el (smie-matching-block-highlight)
13339 (smie--highlight-matching-block-overlay)
13340 (smie--highlight-matching-block-lastpos)
13341 (smie-highlight-matching-block)
13342 (smie-highlight-matching-block-mode): Remove.
13343 (smie--matching-block-data-cache): New variable.
13344 (smie--matching-block-data): New function.
13345 (smie-setup): Use smie--matching-block-data for
13346 show-paren-data-function.
13347
13348 * progmodes/octave.el (octave-mode-menu): Fix.
13349 (octave-find-definition): Skip garbage lines.
13350
13351 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13352
13353 Fix compilation error with simultaneous dynamic+lexical scoping.
13354 Add warning when a defvar appears after the first let-binding.
13355 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13356 (byte-compile-close-variables): Initialize it.
13357 (byte-compile--declare-var): New function.
13358 (byte-compile-file-form-defvar)
13359 (byte-compile-file-form-define-abbrev-table)
13360 (byte-compile-file-form-custom-declare-variable): Use it.
13361 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13362 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13363 (byte-compile-bind): Handle dynamic bindings that shadow
13364 lexical bindings.
13365 (byte-compile-unbind): Make arg non-optional.
13366 (byte-compile-let): Simplify.
13367 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13368 (cconv--analyse-function, cconv-analyse-form): Populate it.
13369 Protect byte-compile-bound-variables to limit the scope of defvars.
13370 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13371 Remove unneeded rule for `declare'.
13372
13373 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13374 so as to avoid depending on cl-adjoin at run-time.
13375 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13376
13377 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13378 (macroexp--warn-and-return): Use it.
13379
13380 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13381
13382 * subr.el: Convert to lexical binding.
13383 (overriding-local-map): Make obsolete.
13384 (add-to-list): Doc fix. Add compiler macro.
13385 (read-key): Swap values of local maps.
13386
13387 2013-06-05 Leo Liu <sdl.web@gmail.com>
13388
13389 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13390
13391 2013-06-04 Leo Liu <sdl.web@gmail.com>
13392
13393 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13394 (compilation-auto-jump): Suppress the "Mark set" message to give
13395 way to exit message.
13396
13397 2013-06-04 Alan Mackenzie <acm@muc.de>
13398
13399 Remove faulty optimisation from indentation calculation.
13400 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13401 search limit based on 2000 characters back from indent-point.
13402
13403 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13404
13405 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13406
13407 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13408
13409 * emacs-lisp/lisp.el: Use lexical-binding.
13410 (lisp--local-variables-1, lisp--local-variables): New functions.
13411 (lisp--local-variables-completion-table): New var.
13412 (lisp-completion-at-point): Use it complete let-bound vars.
13413
13414 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13415 eagerly (bug#14422).
13416
13417 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13418
13419 * autorevert.el (auto-revert-notify-enabled)
13420 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13421 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13422 (auto-revert-notify-handler): Handle also gfilenotify.
13423
13424 * subr.el (file-notify-handle-event): New defun. Replacing ...
13425 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13426 Remove.
13427
13428 2013-06-03 Juri Linkov <juri@jurta.org>
13429
13430 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13431 `M-s h .'. (Bug#14427)
13432
13433 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13434 command `hi-lock-face-symbol-at-point'.
13435 (hi-lock-face-symbol-at-point): New command.
13436 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13437 (hi-lock-menu): Add `highlight-symbol-at-point'.
13438 (hi-lock-mode): Doc fix.
13439
13440 * isearch.el (isearch-forward-symbol-at-point): New command.
13441 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13442 (isearch-highlight-regexp): Add a regexp which matches
13443 words/symbols for word/symbol mode.
13444
13445 * subr.el (find-tag-default-bounds): New function with the body
13446 mostly moved from `find-tag-default'.
13447 (find-tag-default): Move most code to `find-tag-default-bounds',
13448 call it and apply `buffer-substring-no-properties' afterwards.
13449
13450 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13451
13452 * eshell/em-term.el (eshell-term-initialize):
13453 Use `cl-intersection' rather than `intersection'.
13454
13455 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13456
13457 * vc/log-view.el: Doc fix.
13458 (log-view-mode-map): Copy keymap from `special-mode-map'.
13459
13460 2013-06-02 Eric Ludlam <zappo@gnu.org>
13461
13462 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13463 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13464 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13465 (eieio-unbound, eieio-default-superclass)
13466 (eieio--define-field-accessors, method-static, method-before)
13467 (method-primary, method-after, method-num-lists)
13468 (method-generic-before, method-generic-primary)
13469 (method-generic-after, method-num-slots)
13470 (eieio-specialized-key-to-generic-key)
13471 (eieio--check-type, class-v, class-p)
13472 (eieio-class-name, define-obsolete-function-alias)
13473 (eieio-class-parents-fast, eieio-class-children-fast)
13474 (same-class-fast-p, class-constructor, generic-p)
13475 (generic-primary-only-p, generic-primary-only-one-p)
13476 (class-option-assoc, class-option, eieio-object-p)
13477 (class-abstract-p, class-method-invocation-order)
13478 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13479 (eieio-class-un-autoload, eieio-defclass)
13480 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13481 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13482 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13483 (eieio-defgeneric-reset-generic-form)
13484 (eieio-defgeneric-form-primary-only)
13485 (eieio-defgeneric-reset-generic-form-primary-only)
13486 (eieio-defgeneric-form-primary-only-one)
13487 (eieio-defgeneric-reset-generic-form-primary-only-one)
13488 (eieio-unbind-method-implementations)
13489 (eieio--defmethod, eieio--typep)
13490 (eieio-perform-slot-validation, eieio-validate-slot-value)
13491 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13492 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13493 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13494 (eieio-slot-name-index, eieio-class-slot-name-index)
13495 (eieio-set-defaults, eieio-initarg-to-attribute)
13496 (eieio-attribute-to-initarg, eieio-c3-candidate)
13497 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13498 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13499 (eieio-class-precedence-list, eieio-generic-call-methodname)
13500 (eieio-generic-call-arglst, eieio-generic-call-key)
13501 (eieio-generic-call-next-method-list)
13502 (eieio-pre-method-execution-functions, eieio-generic-call)
13503 (eieio-generic-call-primary-only, eieiomt-method-list)
13504 (eieiomt-optimizing-obarray, eieiomt-install)
13505 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13506 (eieio-generic-form, eieio-defmethod, make-obsolete)
13507 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13508 (defclass): Remove `eval-and-compile' from macro.
13509 (call-next-method, shared-initialize): Instead of using
13510 `scoped-class' variable, use new eieio--scoped-class, and
13511 eieio--with-scoped-class.
13512 (initialize-instance): Rename local variable 'scoped-class' to
13513 'this-class' to remove ambiguitity from old global.
13514
13515 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13516 eieio.el.
13517 (eieio--scoped-class-stack): New variable.
13518 (eieio--scoped-class): New fcn.
13519 (eieio--with-scoped-class): New scoping macro.
13520 (eieio-defclass): Use pushnew instead of add-to-list.
13521 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13522 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13523 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13524 `scoped-class' variable, use new eieio--scoped-class, and
13525 eieio--with-scoped-class.
13526
13527 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13528
13529 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13530
13531 * eshell/esh-ext.el (eshell-external-command): Pass args to
13532 `eshell-find-interpreter'.
13533 (eshell-find-interpreter): Add new second parameter ARGS.
13534
13535 * eshell/em-script.el (eshell-script-initialize): Add second arg
13536 to the function added as MATCH to `eshell-interpreter-alist'.
13537
13538 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13539 the function added as MATCH to `eshell-interpreter-alist'.
13540
13541 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13542 (eshell-visual-options): New defcustom.
13543 (eshell-escape-control-x): Adapt docstring.
13544 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13545 `eshell-visual-options' in addition to `eshell-visual-commands'.
13546 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13547
13548 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13549
13550 * progmodes/python.el (python-indent-block-enders): Add break,
13551 continue and raise keywords.
13552
13553 2013-06-01 Glenn Morris <rgm@gnu.org>
13554
13555 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13556
13557 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13558 * progmodes/cc-cmds.el (delete-forward-p):
13559 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13560 * progmodes/cc-engine.el (buffer-syntactic-context):
13561 * progmodes/cc-fonts.el (face-property-instance):
13562 * progmodes/cc-mode.el (set-keymap-parents):
13563 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13564 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13565 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13566 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13567 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13568
13569 * progmodes/cc-vars.el (other): Emacs has this widget since
13570 at least 21.1, so don't (re)define it.
13571
13572 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13573 Replace the obsolete alias pcomplete-arg-quote-list.
13574
13575 2013-06-01 Leo Liu <sdl.web@gmail.com>
13576
13577 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13578 punctuation syntax.
13579 (inferior-octave-minimal-columns)
13580 (inferior-octave-last-column-width): New variables.
13581 (inferior-octave-track-window-width-change): New function.
13582 (inferior-octave-mode): Adjust column width so that Octave output,
13583 for example from 'ls', can fit into the window nicely.
13584
13585 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13586
13587 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13588 Highlight expansions inside regexp literals.
13589
13590 2013-05-31 Glenn Morris <rgm@gnu.org>
13591
13592 * obsolete/sym-comp.el (symbol-complete):
13593 Replace obsolete completion-annotate-function.
13594
13595 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13596
13597 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13598
13599 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13600 New function, checks if point is inside a literal that allows
13601 expression expansion.
13602 (ruby-syntax-propertize-expansion): Use it.
13603 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13604 around the body.
13605
13606 2013-05-30 Juri Linkov <juri@jurta.org>
13607
13608 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13609 to "\M-si".
13610 (isearch-invisible): New variable.
13611 (isearch-forward): Doc fix.
13612 (isearch-mode): Set `isearch-invisible'
13613 to the value of `search-invisible'.
13614 (isearch-toggle-case-fold): Doc fix.
13615 (isearch-toggle-invisible): New command.
13616 (isearch-query-replace): Let-bind `search-invisible'
13617 to the value of `isearch-invisible'.
13618 (isearch-search): Use `isearch-invisible' instead of
13619 `search-invisible'. Let-bind `search-invisible'
13620 to the value of `isearch-invisible'. (Bug#11378)
13621
13622 2013-05-30 Juri Linkov <juri@jurta.org>
13623
13624 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13625 call when `query-flag' is nil and `search-invisible' is non-nil.
13626 (Bug#11746)
13627
13628 2013-05-30 Glenn Morris <rgm@gnu.org>
13629
13630 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13631
13632 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13633 (cc-require): Suppress spurious "noruntime" warnings.
13634 (cc-require-when-compile): Use fboundp, for sake of compiler.
13635
13636 * progmodes/cc-mode.el: Move load of cc-vars before that of
13637 cc-langs (which in turn loads cc-vars), to quieten compiler.
13638
13639 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13640
13641 * paren.el: Simplify the code.
13642 (show-paren-mode): Always start the timer.
13643 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13644 (show-paren--overlay, show-paren--overlay-1): Rename from
13645 show-paren-overlay and show-paren-overlay-1, and initialize to an
13646 overlay rather than to nil.
13647 (show-paren-function): Misc cleanup and simplifications.
13648
13649 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * paren.el (show-paren-data-function): New hook.
13652 (show-paren--default): New function, extracted from show-paren-function.
13653 (show-paren-function): Use show-paren-data-function.
13654
13655 2013-05-30 Glenn Morris <rgm@gnu.org>
13656
13657 * ielm.el (ielm-map, ielm-complete-symbol):
13658 Use completion-at-point rather than obsolete functions.
13659 (inferior-emacs-lisp-mode): Doc fix.
13660 Set completion-at-point-functions, rather than
13661 comint-dynamic-complete-functions.
13662
13663 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13664 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13665 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13666
13667 * image.el (image-animated-p): Tweak definition.
13668
13669 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13670 (rlogin-process-connection-type): Tweak default. Add set-after.
13671 (rlogin-host): Doc fix.
13672 (rlogin): Tweak prompt.
13673 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13674
13675 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13676 * progmodes/tcl.el (inferior-tcl-mode-map):
13677 Use completion-at-point rather than obsolete alias.
13678
13679 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13680
13681 * minibuffer.el (read-file-name-completion-ignore-case):
13682 Move before completion--in-region, for eager macro expansion.
13683
13684 2013-05-29 Juri Linkov <juri@jurta.org>
13685
13686 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13687 for total count of matching lines. Add `global-matches' for total
13688 count of matches. Rename `matches' to `lines' for count of
13689 matching lines. Add `matches' for count of matches.
13690 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13691 to `prev-line' for line number of prev match endpt.
13692 Increment `matches' for every match. Print the number of
13693 matching lines in the header.
13694 (occur-context-lines): Rename `lines' to `curr-line'.
13695 Rename `prev-lines' to `prev-line'. (Bug#14017)
13696
13697 2013-05-29 Juri Linkov <juri@jurta.org>
13698
13699 * replace.el (perform-replace): Add `skip-read-only-count',
13700 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13701 Increment them for corresponding conditions and report the number
13702 of skipped occurrences in the final message. (Bug#11746)
13703 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13704 (replace-string, replace-regexp): Doc fix.
13705
13706 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13707
13708 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13709
13710 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13711 prog-mode-map (bug#14504).
13712
13713 2013-05-29 Leo Liu <sdl.web@gmail.com>
13714
13715 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13716 (octave-help): Small simplification.
13717
13718 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13719 off the highlight first.
13720
13721 2013-05-29 Glenn Morris <rgm@gnu.org>
13722
13723 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13724 Handle idlwave-last-system-routine-info-cons-cell being nil.
13725
13726 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13727 (idlwave-write-paths): Simplify via with-temp-buffer.
13728
13729 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13730 * emulation/cua-rect.el: Also load cua-base at run time.
13731
13732 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13733 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13734 (cperl-imenu-on-info): Require imenu.
13735
13736 2013-05-28 Alan Mackenzie <acm@muc.de>
13737
13738 Handle "capitalised keywords" correctly.
13739 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13740
13741 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13742
13743 * eshell/em-unix.el: Add -r option to cp.
13744
13745 2013-05-28 Glenn Morris <rgm@gnu.org>
13746
13747 * vc/vc-arch.el (vc-exec-after): Declare.
13748 (vc-switches): Autoload.
13749 * vc/vc-bzr.el: No need to require vc when compiling.
13750 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13751 (vc-resynch-buffer, vc-dir-refresh): Declare.
13752 (vc-setup-buffer, vc-switches): Autoload.
13753 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13754 (vc-resynch-buffer): Declare.
13755 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13756 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13757 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13758 (grep-read-regexp, grep-read-files, grep-expand-template)
13759 (vc-dir-refresh): Declare.
13760 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13761 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13762 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13763 * vc/vc-mtn.el (vc-exec-after): Declare.
13764 (vc-switches): Autoload.
13765 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13766 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13767 (vc-file-tree-walk): Declare.
13768 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13769 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13770 (vc-tag-precondition, vc-rename-master): Autoload.
13771 * vc/vc-svn.el (vc-exec-after): Declare.
13772 (vc-switches, vc-setup-buffer): Autoload.
13773 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13774 Autoload.
13775 (vc-resynch-buffer): Declare.
13776
13777 * obsolete/fast-lock.el (byte-compile-warnings):
13778 Don't warn about obsolete features in this obsolete file.
13779
13780 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13781 Move definition before use.
13782
13783 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13784 (dun-unix-verbs): Remove dun-zippy.
13785 (dun-zippy): Remove function.
13786
13787 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13788
13789 2013-05-27 Juri Linkov <juri@jurta.org>
13790
13791 * replace.el (replace-search): New function with code moved out
13792 from `perform-replace'.
13793 (replace-highlight, replace-dehighlight): Move function definitions
13794 up closer to `replace-search'. (Bug#11746)
13795
13796 2013-05-27 Juri Linkov <juri@jurta.org>
13797
13798 * replace.el (perform-replace): Ignore invisible matches.
13799 In addition to checking `query-replace-skip-read-only', also
13800 filter out matches by calling `run-hook-with-args-until-failure'
13801 on `isearch-filter-predicates', and also check `search-invisible'
13802 for t or call `isearch-range-invisible'.
13803 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13804
13805 2013-05-27 Juri Linkov <juri@jurta.org>
13806
13807 * isearch.el (isearch-filter-predicates): Rename from
13808 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13809 (isearch-message-prefix): Display text from the property
13810 `isearch-message-prefix' of the currently active filters.
13811 (isearch-search): Don't compare `isearch-filter-predicate' with
13812 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13813 on `isearch-filter-predicates'. Also check `search-invisible' for t
13814 or call `isearch-range-invisible'.
13815 (isearch-filter-visible): Make obsolete.
13816 (isearch-lazy-highlight-search):
13817 Call `run-hook-with-args-until-failure' on
13818 `isearch-filter-predicates' and use `isearch-range-invisible'.
13819
13820 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13821 `isearch-filter-predicates' instead of `funcall'ing
13822 `isearch-filter-predicate'.
13823 (Info-mode): Set `Info-isearch-filter' to
13824 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13825
13826 * dired-aux.el (dired-isearch-filter-predicate-orig):
13827 Remove variable.
13828 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13829 (dired-isearch-filenames-end): Add and remove
13830 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13831 instead of changing the value of `isearch-filter-predicate'.
13832 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13833 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13834 Put property `isearch-message-prefix' to "filename " on
13835 `dired-isearch-filter-filenames'.
13836
13837 * wdired.el (wdired-change-to-wdired-mode):
13838 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13839 locally instead of changing `isearch-filter-predicate'.
13840 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13841
13842 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13843
13844 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13845 return the commit hash (Bug#14459). Also set the
13846 `vc-git-detached' property.
13847 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13848 (vc-git-mode-line-string): Use the same help-echo format whether
13849 in detached mode or not, because we know the actual revision now.
13850 When in detached mode, shorten the revision to 7 chars.
13851
13852 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * emacs-lisp/easy-mmode.el (define-minor-mode):
13855 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13856 mode hook and provide a docstring.
13857
13858 2013-05-27 Alan Mackenzie <acm@muc.de>
13859
13860 Remove spurious syntax-table text properties inserted by C-y.
13861 * progmodes/cc-mode.el (c-after-change): Also clear hard
13862 syntax-table property with value nil.
13863
13864 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13865
13866 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13867 when reading the events; the buffer layout shall not be changed.
13868
13869 2013-05-27 Leo Liu <sdl.web@gmail.com>
13870
13871 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13872 New variable.
13873 (inferior-octave-directory-tracker): Automatically re-sync
13874 default-directory.
13875 (octave-help): Improve handling of 'See also'.
13876
13877 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13878
13879 * doc-view.el: Minor naming convention tweaks.
13880 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13881
13882 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13883 even if there's no `display' property yet (bug#14435).
13884
13885 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13886
13887 * subr.el (unmsys--file-name): Rename from reveal-filename.
13888
13889 * Makefile.in (custom-deps, finder-data, autoloads)
13890 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13891 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13892 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13893
13894 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13895
13896 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13897 error-completion on the first 2 args of condition-case (bug#14446).
13898 Don't burp at EOB.
13899
13900 2013-05-25 Leo Liu <sdl.web@gmail.com>
13901
13902 * comint.el (comint-previous-matching-input): Do not flood the
13903 *Messages* buffer with trivial messages.
13904
13905 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13906
13907 * progmodes/flymake.el (flymake-nop): Don't return a string.
13908 (flymake-set-at): Fix typo.
13909
13910 * simple.el (read--expression): New function, extracted from
13911 eval-expression. Set completion-at-point-functions (bug#14465).
13912 (eval-expression, eval-minibuffer): Use it.
13913
13914 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13915
13916 * progmodes/flymake.el (flymake-save-buffer-in-file)
13917 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13918 (flymake-selected-frame, flymake-log, flymake-ins-after)
13919 (flymake-set-at, flymake-get-buildfile-from-cache)
13920 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13921 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13922 Refine the doc string.
13923 (flymake-get-file-name-mode-and-masks): Reformat.
13924 (flymake-get-real-file-name-function): Fix a minor bug.
13925
13926 2013-05-24 Juri Linkov <juri@jurta.org>
13927
13928 * progmodes/grep.el (grep-mode-font-lock-keywords):
13929 Support =linenumber= format used by git-grep for lines with
13930 function names. (Bug#13549)
13931
13932 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13933
13934 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13935 0 after a semi-colon; it works better for smie-auto-fill.
13936 (octave--indent-new-comment-line): New function.
13937 (octave-indent-new-comment-line): Use it (indirectly).
13938 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13939 modify comment-line-break-function.
13940
13941 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13942 (smie-setup): Use add-function to set it.
13943
13944 2013-05-24 Sam Steingold <sds@gnu.org>
13945
13946 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13947 argument (before the `interactive' argument).
13948
13949 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13950
13951 * image-mode.el (image-mode-winprops): Add winprops to
13952 image-mode-winprops-alist before running
13953 image-mode-new-window-functions.
13954 * doc-view.el (doc-view-new-window-function): Don't delay
13955 doc-view-goto-page via timers (bug#14435).
13956
13957 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13958
13959 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13960 (doc-view-desktop-save-buffer): New function.
13961 (doc-view-restore-desktop-buffer): New function.
13962 (desktop-buffer-mode-handlers):
13963 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13964 handler.
13965 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13966 `desktop-save-buffer' function.
13967
13968 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13969
13970 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13971 (tramp-gvfs-file-name-handler): Raise a user error when
13972 `tramp-gvfs-enabled' is nil.
13973 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13974 Do not raise a user error when loading package. (Bug#14447)
13975
13976 * net/xesam.el: Move to obsolete/.
13977
13978 2013-05-24 Glenn Morris <rgm@gnu.org>
13979
13980 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13981
13982 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13983
13984 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13985 (Info-find-node, Man-getpage-in-background): Declare.
13986
13987 * mail/unrmail.el (unrmail):
13988 Replace obsolete detect-coding-with-priority.
13989
13990 * net/socks.el (socks-split-string): Use this rather than split-string.
13991 (socks-nslookup-host): Update for above change.
13992 (dynamic-choice, s5-dynamic-choice-match)
13993 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13994 Comment out unused code.
13995
13996 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13997 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13998 (gud-tooltip-echo-area): Make obsolete.
13999 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14000
14001 * progmodes/js.el (js--optimize-arglist): Declare.
14002
14003 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14004
14005 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14006 (ediff-window-C): Declare.
14007
14008 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14009 Tweak requires to silence compiler.
14010
14011 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14012 (he-search-string, he-tried-table, he-expand-list)
14013 (he-init-string, he-string-member, he-substitute-string)
14014 (he-reset-string): Declare.
14015
14016 * obsolete/options.el (list-options): Use custom-variable-p,
14017 rather than obsolete alias.
14018
14019 2013-05-23 Sam Steingold <sds@gnu.org>
14020
14021 * simple.el (shell-command-on-region): Pass the `replace' argument
14022 down to `call-process-region' to comply with the doc as reported on
14023 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14024
14025 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14026
14027 * emacs-lisp/smie.el (smie-indent-forward-token)
14028 (smie-indent-backward-token): Handle string tokens (bug#14381).
14029
14030 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14031
14032 * ielm.el (ielm-menu): New menu.
14033 (inferior-emacs-lisp-mode): Set comment-start.
14034
14035 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14036
14037 * textmodes/reftex.el (reftex-ref-style-toggle):
14038 Fix deactivate action.
14039
14040 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14041 Add cleveref macros.
14042
14043 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14044 Accept options for bibliography commands.
14045 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14046 Add addbibresource. Basic Biblatex support.
14047
14048 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14049
14050 * net/tramp-gvfs.el (top):
14051 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14052 when loading package. (Bug#14447)
14053
14054 2013-05-23 Glenn Morris <rgm@gnu.org>
14055
14056 * progmodes/js.el: No need to load comint when compiling.
14057 (ring-insert, comint-send-string, comint-send-input)
14058 (comint-last-input-end, ido-chop): Declare.
14059
14060 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14061 * vc/ediff-mult.el: Adjust requires.
14062 (ediff-directories-internal, ediff-directory-revisions-internal)
14063 (ediff-patch-file-internal): Declare.
14064 * vc/ediff-ptch.el: Adjust requires.
14065 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14066 (ediff-find-file): Autoload.
14067 * vc/ediff-util.el: No need to load ediff when compiling.
14068 (ediff-regions-internal): Declare.
14069 * vc/ediff-wind.el: Adjust requires.
14070 (ediff-compute-toolbar-width): Define when compiling.
14071 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14072 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14073 (dired-get-filename, dired-get-marked-files)
14074 (ediff-last-dir-patch, ediff-patch-default-directory)
14075 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14076 (ediff-patch-buffer-internal): Declare.
14077
14078 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14079 (ispell-process, ispell-buffer-local-words, lm-summary)
14080 (lm-section-start, lm-section-end): Declare.
14081 (checkdoc-ispell-init): Simplify.
14082
14083 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14084 (he-string-member, he-reset-string, he-substitute-string): Declare.
14085
14086 * eshell/em-ls.el: Adjust requires.
14087 (eshell-glob-regexp): Declare.
14088 * eshell/em-tramp.el: Adjust requires.
14089 (eshell-parse-command): Autoload.
14090 * eshell/em-xtra.el: Adjust requires.
14091 (eshell-parse-command): Autoload.
14092 * eshell/esh-ext.el: Adjust requires.
14093 (eshell-parse-command, eshell-close-handles): Autoload.
14094 * eshell/esh-io.el: Adjust requires.
14095 (eshell-output-filter): Autoload.
14096 * eshell/esh-util.el: No need to load tramp when compiling.
14097 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14098 Declare.
14099 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14100 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14101 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14102 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14103 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14104 * eshell/esh-opt.el, eshell/esh-proc.el:
14105 * eshell/esh-var.el: Adjust requires.
14106 * eshell/eshell.el: Do not require esh-util twice.
14107 (eshell-add-input-to-history): Declare.
14108 (eshell-command): Check history module is active before using it.
14109
14110 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14111
14112 2013-05-22 Leo Liu <sdl.web@gmail.com>
14113
14114 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14115
14116 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14117
14118 * autorevert.el (auto-revert-notify-add-watch)
14119 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14120 it indicates changes in file modification time.
14121
14122 2013-05-22 Glenn Morris <rgm@gnu.org>
14123
14124 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14125 Always delete the autoloaded function from the noruntime and
14126 unresolved functions lists.
14127
14128 * allout.el: No need to load epa, epg, overlay when compiling.
14129 (epg-context-set-passphrase-callback, epg-list-keys)
14130 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14131 (epg-key-user-id-list): Declare.
14132
14133 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14134 (viper-set-parsing-style-toggling-macro)
14135 (viper-set-emacs-state-searchstyle-macros):
14136 Use called-interactively-p on Emacs.
14137 (viper-looking-back): Make it an obsolete alias. Update callers.
14138 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14139 Use looking-back rather than viper-looking-back.
14140 (viper-tmp-insert-at-eob, viper-enlarge-region)
14141 (viper-read-string-with-history, viper-register-to-point)
14142 (viper-append-to-register, viper-change-state-to-vi)
14143 (viper-backward-char-carefully, viper-forward-char-carefully)
14144 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14145 (viper-change-state-to-emacs): Declare.
14146 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14147 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14148 * emulation/viper-mous.el: Do not load viper-cmd.
14149 (viper-backward-char-carefully, viper-forward-char-carefully)
14150 (viper-forward-word, viper-adjust-window): Declare.
14151
14152 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14153
14154 * progmodes/idlw-help.el (idlwave-help-fontify):
14155 Use called-interactively-p.
14156
14157 * term/w32console.el (w32-get-console-codepage)
14158 (w32-get-console-output-codepage): Declare.
14159
14160 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14161 Remove unnecessary declarations.
14162 (dframe-message): Doc fix.
14163
14164 * info.el (dframe-select-attached-frame, dframe-current-frame):
14165 Declare.
14166
14167 * speedbar.el (speedbar-message): Make it an obsolete alias.
14168 Update all callers.
14169 (speedbar-with-attached-buffer)
14170 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14171 (speedbar-with-writable): Use backquote.
14172 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14173 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14174 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14175 rather than speedbar- aliases.
14176 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14177 (speedbar-make-specialized-keymap, speedbar-insert-button)
14178 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14179 (speedbar-do-function-pointer): Declare.
14180 (rmail-speedbar-button, rmail-speedbar-find-file)
14181 (rmail-speedbar-move-message):
14182 Use dframe-with-attached-buffer rather than speedbar- alias.
14183 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14184 (dframe-message, speedbar-make-specialized-keymap)
14185 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14186 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14187 (speedbar-insert-button, dframe-select-attached-frame)
14188 (dframe-maybee-jump-to-attached-frame)
14189 (speedbar-change-initial-expansion-list)
14190 (speedbar-previously-used-expansion-list-name): Declare.
14191 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14192 Use dframe-message, dframe-with-attached-buffer rather than
14193 speedbar- aliases.
14194 (gud-sentinel): Silence compiler.
14195 * progmodes/vhdl-mode.el (speedbar-refresh)
14196 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14197 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14198 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14199 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14200 (speedbar-file-lists, speedbar-make-tag-line)
14201 (speedbar-line-directory, speedbar-goto-this-file)
14202 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14203 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14204 (speedbar-make-button, speedbar-reset-scanners)
14205 (speedbar-files-item-info, speedbar-line-text)
14206 (speedbar-find-file-in-frame, speedbar-set-timer)
14207 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14208 (speedbar-with-writable): Do not (re)define it.
14209 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14210 rather than speedbar- alias.
14211
14212 2013-05-21 Leo Liu <sdl.web@gmail.com>
14213
14214 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14215 menu items.
14216 (octave-mode): Tweak fill-nobreak-predicate.
14217 (inferior-octave-startup): Check process to avoid infinite loop.
14218 (inferior-octave): Pop to buffer first to show abornmal process
14219 exit information.
14220
14221 2013-05-21 Glenn Morris <rgm@gnu.org>
14222
14223 * printing.el (pr-menu-bar): Define when compiling.
14224
14225 2013-05-21 Leo Liu <sdl.web@gmail.com>
14226
14227 * progmodes/octave.el (octave-auto-fill): Remove.
14228 (octave-indent-new-comment-line): Improve.
14229 (octave-mode): Use auto fill mode through
14230 comment-line-break-function and fill-nobreak-predicate.
14231 (octave-goto-function-definition): Support DEFUN_DLD.
14232 (octave-beginning-of-defun): Small tweak.
14233 (octave-help): Show parent directory.
14234
14235 2013-05-21 Glenn Morris <rgm@gnu.org>
14236
14237 * files.el (dired-unmark):
14238 * progmodes/gud.el (gdb-input): Update declarations.
14239
14240 * calculator.el (electric, ehelp): No need to load when compiling.
14241 (Electric-command-loop, electric-describe-mode): Declare.
14242
14243 * doc-view.el (doc-view-current-converter-processes): Move before use.
14244
14245 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14246 Move MODE-set-explicitly definition before use.
14247
14248 * international/mule-diag.el (mule-diag):
14249 Don't use obsolete window-system-version.
14250
14251 * mail/feedmail.el (smtpmail): No need to load when compiling.
14252 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14253
14254 * mail/mail-utils.el (rfc822): No need to load when compiling.
14255 (rfc822-addresses): Autoload it.
14256 (mail-strip-quoted-names): Trivial simplification.
14257
14258 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14259 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14260
14261 * net/snmp-mode.el (tempo): Don't duplicate requires.
14262
14263 * progmodes/prolog.el (info): No need to load when compiling.
14264 (comint): Require before shell requires it.
14265 (Info-goto-node): Autoload it.
14266 (Info-follow-nearest-node): Declare.
14267 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14268
14269 * textmodes/artist.el (picture-mode-exit): Declare.
14270
14271 * textmodes/reftex-parse.el (reftex-parse-from-file):
14272 Trivial rewrite so the compiler can parse it better.
14273
14274 2013-05-20 Leo Liu <sdl.web@gmail.com>
14275
14276 * progmodes/octave.el (octave-help-mode-map)
14277 (octave-help-mode-finish-hook): New variables.
14278 (octave-help-mode, octave-help-mode-finish): New functions.
14279 (octave-help): Use octave-help-mode.
14280
14281 2013-05-20 Glenn Morris <rgm@gnu.org>
14282
14283 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14284
14285 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14286
14287 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14288 start at point, so that expansion starting right after opening
14289 slash in a regexp is recognized.
14290 (ruby-syntax-before-regexp-re): New defvar, extracted from
14291 ruby-syntax-propertize-function. Since the value of this regexp
14292 is looked up at runtime now, we should be able to turn
14293 `ruby-syntax-methods-before-regexp' into a defcustom later.
14294 (ruby-syntax-propertize-function): Split regexp matching into two
14295 parts, for opening and closing slashes. That allows us to skip
14296 over string interpolations and support multiline regexps.
14297 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14298 for them, which calls `ruby-syntax-propertize-expansion'.
14299 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14300 call to `ruby-syntax-propertize-function'.
14301 (ruby-syntax-propertize-expansion): Extracted from
14302 `ruby-syntax-propertize-expansions'. Handles one expansion.
14303 (ruby-syntax-propertize-percent-literal): Leave point right after
14304 the percent symbol, so that the expression expansion rule can
14305 propertize the contents.
14306 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14307 heredoc openers.
14308 (ruby-syntax-propertize-expansions): Remove.
14309
14310 2013-05-18 Juri Linkov <juri@jurta.org>
14311
14312 * man.el (Man-default-man-entry): Remove `-' from the end
14313 of the default value. (Bug#14400)
14314
14315 2013-05-18 Glenn Morris <rgm@gnu.org>
14316
14317 * comint.el (comint-password-prompt-regexp):
14318 Allow "password for XXX" where XXX contains colons (eg https://...).
14319
14320 2013-05-18 Leo Liu <sdl.web@gmail.com>
14321
14322 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14323 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14324 (octave-source-directories): Don't check process.
14325 (octave-source-directories, octave-find-definition): Doc fix.
14326
14327 2013-05-18 Glenn Morris <rgm@gnu.org>
14328
14329 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14330 Remove backspace/delete bindings. (Bug#14392)
14331
14332 * cus-dep.el (custom-make-dependencies): Sort the output.
14333 (custom-versions-load-alist): Convert comment to doc.
14334
14335 2013-05-17 Leo Liu <sdl.web@gmail.com>
14336
14337 * newcomment.el (comment-search-backward): Stricter in finding
14338 comment start. (Bug#14303)
14339
14340 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14341 (octave-comment-start-skip): Properly anchored.
14342
14343 2013-05-17 Leo Liu <sdl.web@gmail.com>
14344
14345 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14346 Clean up when turned off. (Bug#14395)
14347 (smie--highlight-matching-block-overlay): No longer buffer-local.
14348 (smie-highlight-matching-block): Adjust.
14349
14350 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14351
14352 Doc string fix for "nanoseconds" (Bug#14406).
14353 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14354 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14355
14356 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14357
14358 * calc/calc-units.el (math-extract-units): Preserve powers
14359 of units.
14360
14361 2013-05-17 Leo Liu <sdl.web@gmail.com>
14362
14363 * subr.el (delete-consecutive-dups): New function.
14364 * ido.el (ido-set-matches-1): Use it.
14365 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14366 * ido.el (ido-remove-consecutive-dups): Remove.
14367
14368 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14369
14370 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14371 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14372 regexp-opt's `words'.
14373
14374 2013-05-16 Leo Liu <sdl.web@gmail.com>
14375
14376 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14377 (smie--highlight-matching-block-overlay)
14378 (smie--highlight-matching-block-lastpos)
14379 (smie--highlight-matching-block-timer): New variables.
14380 (smie-highlight-matching-block): New function.
14381 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14382 (smie-setup): Conditionally enable smie-blink-matching-open.
14383
14384 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14385
14386 Sync with upstream verilog-mode r840.
14387 * progmodes/verilog-mode.el (verilog-mode-version)
14388 (verilog-mode-release-date): Update.
14389 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14390 (verilog-sig-tieoff): Fix string error on
14391 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14392 (verilog-read-decls): Fix parameters confusing
14393 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14394
14395 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14396
14397 * subr.el (reveal-filename): New function.
14398
14399 * loadup.el: Compute Emacs executable versions on MS-Windows,
14400 where executables have the .exe extension. Add a hard link
14401 emacs-XX.YY.ZZ.exe on MS-Windows.
14402
14403 * Makefile.in (XARGS_LIMIT): New variable.
14404 (custom-deps, finder-data, autoloads)
14405 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14406 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14407 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14408 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14409
14410 2013-05-16 Leo Liu <sdl.web@gmail.com>
14411
14412 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14413 (octave-mode-menu, octave-mode-map): Remove its uses.
14414
14415 2013-05-16 Reto Zimmermann <reto@gnu.org>
14416
14417 Sync with upstream vhdl mode v3.34.2.
14418 * progmodes/vhdl-mode.el: Use `push' throughout.
14419 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14420 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14421 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14422 (vhdl-actual-generic-name): New option to derive actual generic name.
14423 (vhdl-port-paste-signals): Replace formal by actual generics.
14424 (vhdl-beautify): New name for old group vhdl-align. Update users.
14425 (vhdl-beautify-options): New option.
14426 (vhdl-last-input-event): New compat alias. Use throughout.
14427 (vhdl-goto-line): Replace user level function `goto-line'.
14428 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14429 vhdl-fix-statement-buffer.
14430 (vhdl-create-mode-menu): Add some entries.
14431 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14432 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14433 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14434 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14435 to force statements on one line.
14436 (vhdl-remove-trailing-spaces-region):
14437 New, split from vhdl-remove-trailing-spaces.
14438 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14439 Respect vhdl-beautify-options.
14440 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14441 (vhdl-update-sensitivity-list): Not add with index if exists without.
14442 Not include array index with signal. Ignore keywords in comments.
14443 (vhdl-get-visible-signals): Regexp tweaks.
14444 (vhdl-template-component-inst): Handle empty library.
14445 (vhdl-template-type): Add template for 'enum' type.
14446 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14447 Use vhdl-replace-string.
14448 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14449 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14450 (vhdl-speedbar-initialize): Update for above name change.
14451 (vhdl-compose-wire-components): Fix in handling of constants.
14452 (vhdl-error-regexp-emacs-alist): New variable.
14453 (vhdl-error-regexp-add-emacs): New function;
14454 adds support for new compile.el (Emacs 22+)
14455 (vhdl-generate-makefile-1): Change target order for single lib. units.
14456 Allow use of absolute file names.
14457
14458 2013-05-16 Leo Liu <sdl.web@gmail.com>
14459
14460 * simple.el (prog-indent-sexp): Indent enclosing defun.
14461
14462 2013-05-15 Glenn Morris <rgm@gnu.org>
14463
14464 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14465 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14466 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14467 (whitespace-highlight): Move to whitespace group.
14468
14469 * comint.el (comint-source):
14470 * pcmpl-linux.el (pcmpl-linux):
14471 * shell.el (shell-faces):
14472 * eshell/esh-opt.el (eshell-opt):
14473 * international/ccl.el (ccl): Remove empty custom groups.
14474
14475 * completion.el (dynamic-completion-mode):
14476 * jit-lock.el (jit-lock-debug-mode):
14477 * minibuffer.el (completion-in-region-mode):
14478 * type-break.el (type-break-mode-line-message-mode)
14479 (type-break-query-mode):
14480 * emulation/tpu-edt.el (tpu-edt-mode):
14481 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14482 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14483 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14484
14485 * term/xterm.el (xterm): Change parent group to terminals.
14486
14487 * master.el (master): Remove empty custom group.
14488 (master-mode): Remove unused :group argument.
14489 * textmodes/refill.el (refill): Remove empty custom group.
14490 (refill-mode): Remove unused :group argument.
14491
14492 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14493
14494 * cus-dep.el: Provide a feature.
14495 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14496 Don't mistakenly ignore files whose basenames match a basename
14497 from preloaded-file-list (eg cedet/ede/simple.el).
14498 Add a fallback method for getting :group.
14499
14500 2013-05-15 Juri Linkov <juri@jurta.org>
14501
14502 * isearch.el (isearch-char-by-name): Rename from
14503 `isearch-insert-char-by-name'. Doc fix.
14504 (isearch-forward): Mention `isearch-char-by-name' in
14505 the docstring. (Bug#13348)
14506
14507 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14508 `exit-minibuffer' instead of
14509 `isearch-nonincremental-exit-minibuffer'.
14510 (isearch-edit-string): Remove mention of
14511 `isearch-nonincremental-exit-minibuffer' from docstring.
14512 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14513 (isearch-forward-exit-minibuffer)
14514 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14515
14516 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14517
14518 * loadup.el: Just use unversioned DOC.
14519
14520 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14521 literals as extending to EOB.
14522 (nxml-last-fontify-end): Remove unused variable.
14523 (nxml-after-change1): Use with-silent-modifications.
14524 (nxml-extend-after-change-region): Simplify.
14525 (nxml-extend-after-change-region1): Remove function.
14526 (nxml-after-change1): Don't adjust for dependent regions.
14527 (nxml-fontify-matcher): Simplify.
14528 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14529 (xmltok-add-dependent): Remove function.
14530 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14531 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14532 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14533 unclosed <[[, <?, comment, and other literals as extending to EOB.
14534 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14535 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14536 Remove functions.
14537 (rng-do-some-validation-1): Don't mark dependent regions.
14538 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14539 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14540 (nxml-clear-dependent-regions): Remove functions.
14541 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14542 (nxml-ensure-scan-up-to-date):
14543 Don't clear&mark dependent regions.
14544
14545 2013-05-15 Leo Liu <sdl.web@gmail.com>
14546
14547 * progmodes/octave.el (octave-goto-function-definition):
14548 Improve and fix callers.
14549
14550 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14551
14552 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14553 the setter (bug#14387).
14554
14555 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14556 surrounding group (bug#14402).
14557
14558 2013-05-14 Juri Linkov <juri@jurta.org>
14559
14560 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14561 (Bug#14390)
14562
14563 2013-05-14 Glenn Morris <rgm@gnu.org>
14564
14565 * progmodes/f90.el (f90-imenu-generic-expression):
14566 Fix typo in 2013-05-08 change. (Bug#14402)
14567
14568 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14569
14570 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14571 Remove signals for which replies are never received.
14572
14573 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14574
14575 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14576 (gdb-handler-alist, gdb-handler-number): Remove variables.
14577 (gdb-handler-list): New variable.
14578 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14579 (gdb-pending-handler-p, gdb-handle-reply)
14580 (gdb-remove-all-pending-triggers): New functions.
14581 (gdb-discard-unordered-replies): New defcustom.
14582 (gdb-handler): New defstruct.
14583 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14584 instead of gdb-pending-triggers. Update docstring.
14585 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14586 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14587 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14588 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14589 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14590 (gdb-frame-handler): Pending triggers are now automatically managed.
14591 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14592 Remove argument.
14593 (gdb-input): Automatically handles pending triggers. Update docstring.
14594 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14595 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14596 Update comments.
14597 (gdb-done-or-error): Now use gdb-handle-reply.
14598
14599 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14600
14601 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14602 gdb-debug-log.
14603
14604 2013-05-14 Glenn Morris <rgm@gnu.org>
14605
14606 * subr.el (user-emacs-directory-warning): New option.
14607 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14608
14609 2013-05-14 Leo Liu <sdl.web@gmail.com>
14610
14611 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14612 during redisplay.
14613 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14614 (octave-font-lock-texinfo-comment): Fix invalid search bound
14615 error: wrong side of point.
14616
14617 2013-05-14 Glenn Morris <rgm@gnu.org>
14618
14619 * progmodes/flymake.el (flymake-xml-program): New option.
14620 (flymake-xml-init): Use it.
14621
14622 * term/xterm.el: Provide a feature.
14623
14624 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14625
14626 2013-05-13 Glenn Morris <rgm@gnu.org>
14627
14628 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14629 Add compat aliases as a hack workaround. (Bug#14384)
14630
14631 2013-05-13 Leo Liu <sdl.web@gmail.com>
14632
14633 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14634 ###, and %!.
14635 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14636 C-M-q.
14637 (octave-comment-start-skip): Include %!.
14638 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14639
14640 2013-05-12 Leo Liu <sdl.web@gmail.com>
14641
14642 * progmodes/octave.el (inferior-octave-startup): Store the value
14643 of __octave_srcdir__ for octave-source-directories.
14644 (inferior-octave-check-process): New function refactored out of
14645 inferior-octave-send-list-and-digest.
14646 (octave-source-directories)
14647 (octave-find-definition-filename-function): New variables.
14648 (octave-source-directories)
14649 (octave-find-definition-default-filename): New functions.
14650 (octave-find-definition): Improve to find functions implemented in C++.
14651
14652 2013-05-12 Glenn Morris <rgm@gnu.org>
14653
14654 * calendar/diary-lib.el (diary-outlook-format-1):
14655 Don't include dayname in the output. (Bug#14349)
14656
14657 2013-05-11 Glenn Morris <rgm@gnu.org>
14658
14659 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14660
14661 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14662 Treat cc-provide like provide.
14663
14664 2013-05-11 Kevin Ryde <user42@zip.com.au>
14665
14666 * cus-dep.el (custom-make-dependencies):
14667 Use generated-autoload-load-name for the sake of files such
14668 such cedet/semantic/bovine/c.el, where the base file name
14669 is not in load-path. (Bug#5277)
14670
14671 2013-05-11 Glenn Morris <rgm@gnu.org>
14672
14673 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14674 Provide features.
14675
14676 2013-05-11 Leo Liu <sdl.web@gmail.com>
14677
14678 * progmodes/octave.el (octave-indent-comment): Improve.
14679 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14680 (octave-eldoc-function-signatures, octave-eldoc-function):
14681 New functions.
14682 (octave-mode, inferior-octave-mode): Add eldoc support.
14683
14684 2013-05-11 Richard Stallman <rms@gnu.org>
14685
14686 * epa.el (epa-decrypt-file): Take output file name as argument
14687 and read it using `interactive'.
14688
14689 2013-05-11 Leo Liu <sdl.web@gmail.com>
14690
14691 * progmodes/octave.el (octave-beginning-of-line)
14692 (octave-end-of-line): Check before using up-list because it jumps
14693 out of more syntactic contructs since moving to smie.
14694 (octave-indent-comment): New function.
14695 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14696 (octave-begin-keywords, octave-end-keywords)
14697 (octave-reserved-words, octave-smie-bnf-table)
14698 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14699
14700 2013-05-11 Glenn Morris <rgm@gnu.org>
14701
14702 * faces.el (internal-face-x-get-resource):
14703 * frame.el (ns-display-monitor-attributes-list):
14704 * calc/calc-aent.el (math-to-radians-2):
14705 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14706 Fix declarations.
14707
14708 * calc/calc-menu.el: Make it loadable in isolation.
14709
14710 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14711 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14712 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14713 (eudc-bbdb-query-internal): Require 'bbdb.
14714
14715 * lpr.el (lpr-headers-switches):
14716 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14717
14718 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14719
14720 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14721
14722 * term.el (term-set-escape-char): Make it idempotent.
14723
14724 2013-05-10 Leo Liu <sdl.web@gmail.com>
14725
14726 * progmodes/octave.el (inferior-octave-completion-table):
14727 No longer a function and all uses changed. Use cache to speed up
14728 completion due to bug#11906.
14729 (octave-beginning-of-defun): Re-write to be more general.
14730
14731 2013-05-10 Glenn Morris <rgm@gnu.org>
14732
14733 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14734
14735 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14736
14737 * comint.el (comint-redirect-send-command-to-process): Use :around
14738 rather than :override for comint-redirect-filter.
14739 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14740 Call it instead of comint-redirect-original-filter-function (which
14741 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14742
14743 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14744
14745 * frame.el (display-monitor-attributes-list): Add NS case.
14746 (ns-display-monitor-attributes-list): Declare.
14747
14748 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14749
14750 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14751
14752 2013-05-09 Glenn Morris <rgm@gnu.org>
14753
14754 * international/fontset.el (vertical-centering-font-regexp):
14755 Set standard-value.
14756
14757 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14758
14759 * bookmark.el (bookmark-search-delay):
14760 * cus-start.el (vertical-centering-font-regexp):
14761 * ps-mule.el (ps-mule-font-info-database-default):
14762 * ps-print.el (ps-default-fg, ps-default-bg):
14763 * type-break.el (type-break-good-break-interval):
14764 * whitespace.el (whitespace-indentation-regexp)
14765 (whitespace-space-after-tab-regexp):
14766 * emacs-lisp/testcover.el (testcover-1value-functions)
14767 (testcover-noreturn-functions, testcover-progn-functions)
14768 (testcover-prog1-functions):
14769 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14770 * eshell/em-glob.el (eshell-glob-translate-alist):
14771 * play/tetris.el (tetris-tty-colors):
14772 * progmodes/cpp.el (cpp-face-default-list):
14773 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14774 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14775 (idlwave-help-browser-generic-args):
14776 * progmodes/make-mode.el (makefile-special-targets-list):
14777 * progmodes/python.el (python-shell-virtualenv-path):
14778 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14779 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14780 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14781 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14782 * textmodes/reftex-vars.el (reftex-format-label-function):
14783 * textmodes/remember.el (remember-diary-file): Fix custom types.
14784
14785 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14786 Add :version.
14787
14788 2013-05-09 Leo Liu <sdl.web@gmail.com>
14789
14790 * progmodes/octave.el (inferior-octave-completion-at-point):
14791 Restore file completion. (Bug#14300)
14792 (inferior-octave-startup): Fix incorrect highlighting for the
14793 first prompt.
14794
14795 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14796
14797 * progmodes/ruby-mode.el: First cut at SMIE support.
14798 (ruby-use-smie): New var.
14799 (ruby-smie-grammar): New constant.
14800 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14801 (ruby-smie--forward-token, ruby-smie--backward-token)
14802 (ruby-smie-rules): New functions.
14803 (ruby-mode-variables): Setup SMIE if applicable.
14804
14805 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14806
14807 * simple.el (line-move-visual): Signal beginning/end of buffer
14808 only if vertical-motion moved less than it was requested. Avoids
14809 silly incorrect error messages when there are display strings with
14810 multiple newlines at EOL.
14811
14812 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14813
14814 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14815 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14816 (prolog-char-quote-workaround):
14817 * progmodes/cperl-mode.el (cperl-under-as-char):
14818 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14819 Mark as obsolete.
14820 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14821 their declaration.
14822 (vhdl-mode-syntax-table-init): Remove.
14823
14824 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14825 last change.
14826
14827 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14828 syntax for "_".
14829 (ld-script-font-lock-keywords):
14830 Change regexps to use things like \_< and \_>.
14831
14832 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14833 Change all regexps to use things like \_< and \_>.
14834
14835 * progmodes/autoconf.el (autoconf-definition-regexp)
14836 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14837 Handle a _ with symbol syntax.
14838 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14839
14840 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14841 Consolidate declaration.
14842 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14843 the declaration.
14844 (ada-create-syntax-table): Remove.
14845 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14846 already has the right syntax nowadays.
14847 (ada-goto-next-word): Don't change the syntax of "_".
14848
14849 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14850 with-wrapper-hook.
14851
14852 2013-05-08 Sam Steingold <sds@gnu.org>
14853
14854 * thingatpt.el (thing-at-point): Accept optional second argument
14855 NO-PROPERTIES to strip the text properties from the return value.
14856 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14857 to `thing-at-point' instead of stripping the properties ourselves.
14858 Also, when `thing-at-point' fails to find a url, prepend "http://"
14859 to the filename at point on the assumption that the user is
14860 pointing at something like gnu.org/gnu.
14861
14862 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14863
14864 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14865 * faces.el (crm-separator):
14866 Silence byte-compiler.
14867
14868 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14869 (tool-bar-map): Remove unneeded defvars.
14870
14871 2013-05-08 Leo Liu <sdl.web@gmail.com>
14872
14873 Re-work a fix for bug#10994 based on Le Wang's patch.
14874 * ido.el (ido-remove-consecutive-dups): New helper.
14875 (ido-completing-read): Use it.
14876 (ido-chop): Revert fix for bug#10994.
14877
14878 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14879
14880 * cus-edit.el (custom-save-variables):
14881 Pretty-print long values. (Bug#14187)
14882
14883 2013-05-08 Glenn Morris <rgm@gnu.org>
14884
14885 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14886 (m4-mode-syntax-table): Init in the defvar.
14887 (m4-mode-abbrev-table): Let define-derived-mode define it.
14888
14889 2013-05-08 Tom Tromey <tromey@redhat.com>
14890
14891 * progmodes/m4-mode.el (m4-mode-syntax-table):
14892 Do not treat "_" as word constituent. (Bug#14167)
14893
14894 2013-05-07 Glenn Morris <rgm@gnu.org>
14895
14896 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14897 Remove explicit eshell-isearch-cancel-map.
14898
14899 * progmodes/f90.el (f90-smart-end-names): New option.
14900 (f90-smart-end): Doc fix.
14901 (f90-end-block-optional-name): New constant.
14902 (f90-block-match): Respect f90-smart-end-names.
14903
14904 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14905
14906 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14907 about implicit semi-colons (bug#14218).
14908
14909 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14910
14911 * frame.el (display-monitor-attributes-list)
14912 (frame-monitor-attributes): New functions.
14913
14914 2013-05-06 Leo Liu <sdl.web@gmail.com>
14915
14916 * progmodes/octave.el (octave-syntax-propertize-function): Change
14917 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14918 (octave-font-lock-keywords): Use octave-operator-regexp.
14919 (octave-completion-at-point): Rename from
14920 octave-completion-at-point-function.
14921 (inferior-octave-directory-tracker): Robustify.
14922 (octave-text-functions): Remove and fix its uses. No such things
14923 any more.
14924
14925 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14926
14927 * emacs-lisp/trace.el (trace--display-buffer): New function.
14928 (trace-make-advice): Use it.
14929
14930 2013-05-06 Juri Linkov <juri@jurta.org>
14931
14932 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14933 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14934 Doc fix.
14935 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14936 in the help string. (Bug#12985)
14937
14938 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14939
14940 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14941
14942 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14943
14944 * progmodes/perl-mode.el: Add support for here documents.
14945 (perl-syntax-propertize-function): Match here-doc markers.
14946 (perl-syntax-propertize-special-constructs): Find their end.
14947 (perl-imenu-generic-expression): Use [:alnum:].
14948
14949 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14950 (advice--add-function): Refresh the advice if already present
14951 (bug#14317).
14952
14953 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14954
14955 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14956
14957 2013-05-06 Glenn Morris <rgm@gnu.org>
14958
14959 * w32-fns.el (w32-charset-info-alist): Declare.
14960
14961 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14962 of its defcustom properties.
14963 (eshell-cmpl-initialize): No need to load pcomplete.
14964
14965 * generic-x.el: No need to require comint when compiling.
14966
14967 * net/eudc-export.el: Make it loadable without bbdb.
14968 (top-level): Use require rather than load-library.
14969 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14970 (eudc-batch-export-records-to-bbdb)
14971 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14972 Require bbdb.
14973
14974 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14975
14976 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14977 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14978 some tweaks, instead.
14979
14980 2013-05-05 Leo Liu <sdl.web@gmail.com>
14981
14982 * progmodes/octave.el (octave-font-lock-keywords)
14983 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14984 (inferior-octave-send-list-and-digest): Improve error message.
14985 (octave-mode, inferior-octave-mode): Use setq-local.
14986 (octave-help): Set info-lookup-mode.
14987
14988 2013-05-05 Richard Stallman <rms@gnu.org>
14989
14990 * vc/compare-w.el (compare-windows-whitespace):
14991 Treat no-break space as whitespace.
14992
14993 * mail/rmailsum.el (rmail-summary-rmail-update):
14994 Detect empty summary and don't change selected message.
14995 (rmail-summary-goto-msg): Likewise.
14996
14997 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14998 Doc fixes, rename args.
14999
15000 2013-05-05 Alan Mackenzie <acm@muc.de>
15001
15002 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15003
15004 2013-05-05 Juri Linkov <juri@jurta.org>
15005
15006 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15007 to not add the length of the summary segment to the return value.
15008 (Bug#14125)
15009
15010 2013-05-05 Leo Liu <sdl.web@gmail.com>
15011
15012 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15013 (inferior-octave-output-filter): Remove.
15014 (octave-send-region, inferior-octave-startup): Fix callers.
15015 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15016 (octave-binary-file-extensions): New user variable.
15017 (octave-find-definition): Confirm if opening binary files.
15018 (octave-help-file): Use octave-find-definition to get the binary
15019 confirmation.
15020 (octave-help): Adjust for octave-help-file change.
15021
15022 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15023
15024 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15025 Merge the two entries that handle function definitions.
15026 (pascal--syntax-propertize): New const.
15027 (pascal-mode): Use it. Use setq-local.
15028
15029 2013-05-04 Glenn Morris <rgm@gnu.org>
15030
15031 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15032 (diary-from-outlook): Respect diary-from-outlook-function.
15033
15034 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15035
15036 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15037 Move the declaration from C.
15038 (read-minibuffer, eval-minibuffer): Move from C.
15039 (completion-setup-function): Avoid minibuffer-completion-contents.
15040
15041 2013-05-03 Leo Liu <sdl.web@gmail.com>
15042
15043 * progmodes/octave.el (octave-font-lock-keywords): Do not
15044 dehighlight 'end' in comments or strings.
15045 (octave-completing-read, octave-goto-function-definition):
15046 New helpers.
15047 (octave-help-buffer): New user variable.
15048 (octave-help-file, octave-help-function): New button types.
15049 (octave-help): New command and bind it to C-h ;.
15050 (octave-find-definition): New command and bind it to M-.
15051 (user-error): Alias to error if not defined.
15052
15053 2013-05-02 Leo Liu <sdl.web@gmail.com>
15054
15055 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15056 for \. (bug#14332)
15057 (octave-font-lock-keywords): Include [ and {.
15058
15059 2013-05-02 Leo Liu <sdl.web@gmail.com>
15060
15061 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15062 (inferior-octave): Remove calling comint-mode and return the buffer.
15063 (inferior-octave-startup): Cosmetic changes.
15064
15065 2013-05-02 Leo Liu <sdl.web@gmail.com>
15066
15067 * progmodes/octave.el (octave-syntax-propertize-function):
15068 Include the case when ' is at line beginning. (Bug#14336)
15069
15070 2013-05-02 Glenn Morris <rgm@gnu.org>
15071
15072 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15073 * desktop.el (vc-dir-mode): Just autoload it here.
15074
15075 2013-05-02 Alan Mackenzie <acm@muc.de>
15076
15077 Eliminate variable c-standard-font-lock-fontify-region-function.
15078 * progmodes/cc-mode.el
15079 (c-standard-font-lock-fontify-region-function): Remove.
15080 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15081
15082 2013-05-01 Leo Liu <sdl.web@gmail.com>
15083
15084 * progmodes/octave.el: Compatible with older emacs-24 releases.
15085 (inferior-octave-has-built-in-variables): Remove. Built-in
15086 variables were removed from Octave in 2007.
15087 (inferior-octave-startup): Fix uses.
15088 (comint-line-beginning-position): Remove compatibility code for
15089 emacs 21.
15090
15091 2013-05-01 Juri Linkov <juri@jurta.org>
15092
15093 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15094
15095 2013-05-01 Juri Linkov <juri@jurta.org>
15096
15097 * comint.el (comint-previous-matching-input): Don't print message
15098 "History item: %d" when `isearch-mode' is active.
15099 (comint-history-isearch-message): Print message "History item: %d"
15100 when `comint-input-ring-index' is not empty and this function is
15101 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15102
15103 2013-05-01 Leo Liu <sdl.web@gmail.com>
15104
15105 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15106 definitions. Use completion-at-point to insert keywords.
15107 (octave-abbrev-start): Remove.
15108 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15109
15110 2013-04-30 Leo Liu <sdl.web@gmail.com>
15111
15112 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15113 change.
15114
15115 2013-04-30 Alan Mackenzie <acm@muc.de>
15116
15117 Handle arbitrarily long C++ member initialisation lists.
15118 * progmodes/cc-engine.el (c-back-over-member-initializers):
15119 new function.
15120 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15121 (most) member init lists.
15122
15123 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15124
15125 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15126 variable.
15127
15128 2013-04-30 Leo Liu <sdl.web@gmail.com>
15129
15130 * progmodes/octave.el (octave-variables): Remove. No builtin
15131 variables any more. All converted to functions.
15132 (octave-font-lock-keywords, octave-completion-at-point-function):
15133 Fix uses.
15134 (octave-font-lock-texinfo-comment): New user variable.
15135 (octave-texinfo-font-lock-keywords): New variable for texinfo
15136 comment block.
15137 (octave-function-comment-block): New face.
15138 (octave-font-lock-texinfo-comment): New function.
15139 (octave-mode): Font lock texinfo comment block.
15140
15141 2013-04-29 Leo Liu <sdl.web@gmail.com>
15142
15143 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15144 indexing expression.
15145 (octave-continuation-string): Do not use \.
15146 (inferior-octave-complete-impossible): Remove.
15147 (inferior-octave-completion-table)
15148 (inferior-octave-completion-at-point): Remove its uses.
15149 (inferior-octave-startup): completion_matches was introduced to
15150 Octave in 1996 so safe to assume it.
15151 (octave-function-file-comment): Improve to follow how Octave does it.
15152 (octave-update-function-file-comment): Tweak.
15153
15154 2013-04-29 Leo Liu <sdl.web@gmail.com>
15155
15156 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15157 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15158 (octave-function-file-comment): Fix typo.
15159 (octave-sync-function-file-names): Use read-char-choice.
15160
15161 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15162
15163 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15164 to t for the less important warnings.
15165
15166 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15167
15168 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15169
15170 2013-04-27 Glenn Morris <rgm@gnu.org>
15171
15172 * vc/log-view.el (log-view-current-entry):
15173 Treat "---" separator lines as part of the following rev. (Bug#14169)
15174
15175 2013-04-27 Juri Linkov <juri@jurta.org>
15176
15177 * subr.el (read-number): Doc fix about using it by interactive
15178 code letter `n'. (Bug#14254)
15179
15180 2013-04-27 Juri Linkov <juri@jurta.org>
15181
15182 * desktop.el (desktop-auto-save-timeout): New option.
15183 (desktop-file-checksum): New variable.
15184 (desktop-save): Add optional arg `auto-save' and don't auto-save
15185 if nothing changed.
15186 (desktop-auto-save-timer): New variable.
15187 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15188 (after-init-hook): Call `desktop-auto-save-set-timer'.
15189 Suggested by Reuben Thomas <rrt@sc3d.org> in
15190 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15191
15192 2013-04-27 Leo Liu <sdl.web@gmail.com>
15193
15194 * progmodes/octave.el (octave-function-file-p)
15195 (octave-skip-comment-forward, octave-function-file-comment)
15196 (octave-update-function-file-comment): New functions.
15197 (octave-mode-map): Bind C-c ; to
15198 octave-update-function-file-comment.
15199 (octave-mode-menu): Add octave-update-function-file-comment.
15200 (octave-mode, inferior-octave-mode): Fix doc-string.
15201 (octave-insert-defun): Conform to Octave's coding convention.
15202 (Bug#14285)
15203
15204 * files.el (basic-save-buffer): Don't let errors in
15205 before-save-hook prevent saving buffer.
15206
15207 2013-04-20 Roland Winkler <winkler@gnu.org>
15208
15209 * faces.el (read-face-name): Use completing-read if arg multiple
15210 is nil.
15211
15212 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15213
15214 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15215 displayed, move point to after the totals line.
15216 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15217 for the details.
15218
15219 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15220
15221 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15222 Add current dir to the load-path.
15223 (package-generate-autoloads): Don't rely on
15224 autoload-ensure-default-file.
15225
15226 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15227
15228 * textmodes/remember.el (remember-store-in-files): Document that
15229 the file name format is passed to `format-time-string'.
15230
15231 2013-04-26 Leo Liu <sdl.web@gmail.com>
15232
15233 * progmodes/octave.el (octave-sync-function-file-names): New function.
15234 (octave-mode): Use it in before-save-hook.
15235
15236 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15237
15238 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15239 (bug#14274).
15240
15241 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15242 \n and comment, even if it's not an implicit ; (bug#14218).
15243
15244 2013-04-26 Glenn Morris <rgm@gnu.org>
15245
15246 * subr.el (read-number): Once more use `read' rather than
15247 `string-to-number', to trap non-numeric input. (Bug#14254)
15248
15249 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15250
15251 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15252 Use `syntax-multiline' text property consistently instead of
15253 `font-lock-multiline'. (Bug#14237)
15254
15255 2013-04-26 Glenn Morris <rgm@gnu.org>
15256
15257 * emacs-lisp/shadow.el (list-load-path-shadows):
15258 No longer necessary to check for duplicate simple.el, since
15259 2012-07-07 change to init_lread to not include installation lisp
15260 directories in load-path when running uninstalled. (Bug#14270)
15261
15262 2013-04-26 Leo Liu <sdl.web@gmail.com>
15263
15264 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15265 (octave-mode, inferior-octave-mode): Use setq-local.
15266 (octave-not-in-string-or-comment-p): Rename to
15267 octave-in-string-or-comment-p.
15268 (octave-in-comment-p, octave-in-string-p)
15269 (octave-in-string-or-comment-p): Replace defsubst with defun.
15270
15271 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15272
15273 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15274
15275 2013-04-25 Bastien Guerry <bzg@gnu.org>
15276
15277 * textmodes/remember.el (remember-data-directory)
15278 (remember-directory-file-name-format): Fix custom types.
15279
15280 2013-04-25 Leo Liu <sdl.web@gmail.com>
15281
15282 * progmodes/octave.el (octave-completion-at-point-function):
15283 Make use of inferior octave process.
15284 (octave-initialize-completions): Remove.
15285 (inferior-octave-completion-table): New function.
15286 (inferior-octave-completion-at-point): Use it.
15287 (octave-completion-alist): Remove.
15288
15289 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15292 (opascal-mode-syntax-table): New var.
15293 (opascal-literal-kind, opascal-is-literal-end)
15294 (opascal-literal-token-at): Rewrite.
15295 (opascal--literal-start-re, opascal-font-lock-keywords)
15296 (opascal--syntax-propertize): New constants.
15297 (opascal-font-lock-defaults): Adjust.
15298 (opascal-mode): Use them. Set comment-<foo> variables as well.
15299 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15300 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15301 (delphi-other-face, opascal-other-face): Remove face variables.
15302 (opascal-save-state): Remove macro.
15303 (opascal-fontifying-progress-step): Remove constant.
15304 (opascal--ignore-changes): Remove var.
15305 (opascal-set-token-property, opascal-parse-next-literal)
15306 (opascal-is-stable-literal, opascal-complete-literal)
15307 (opascal-is-literal-start, opascal-face-of)
15308 (opascal-parse-region, opascal-parse-region-until-stable)
15309 (opascal-fontify-region, opascal-after-change)
15310 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15311 (opascal-debug-parse-region, opascal-debug-parse-window)
15312 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15313 (opascal-debug-fontify-buffer): Remove.
15314 (opascal-debug-mode-map): Adjust accordingly.
15315
15316 2013-04-25 Leo Liu <sdl.web@gmail.com>
15317
15318 Merge octave-mod.el and octave-inf.el into octave.el with some
15319 cleanups.
15320 * progmodes/octave.el: New file renamed from octave-mod.el.
15321 * progmodes/octave-inf.el: Merged into octave.el.
15322 * progmodes/octave-mod.el: Renamed to octave.el.
15323
15324 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15325
15326 * textmodes/reftex-vars.el
15327 (reftex-label-ignored-macros-and-environments): New defcustom.
15328
15329 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15330
15331 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15332
15333 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15334 (smie-indent-keyword): Improve the check to ensure that the next
15335 comment is really on the same line.
15336 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15337
15338 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15339 semi-colons if the line is not otherwise empty (bug#14218).
15340
15341 2013-04-25 Glenn Morris <rgm@gnu.org>
15342
15343 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15344
15345 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15346
15347 * progmodes/opascal.el (opascal-set-token-property): Rename from
15348 opascal-set-text-properties and only set `token' (bug#14134).
15349 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15350 (opascal-literal-text-properties): Remove.
15351 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15352 Adjust callers.
15353
15354 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15355
15356 * textmodes/remember.el (remember-handler-functions): Add an
15357 option for a new handler `remember-store-in-files'.
15358 (remember-data-directory, remember-directory-file-name-format):
15359 New options.
15360 (remember-store-in-files): New function to store remember notes
15361 as separate files within a directory.
15362
15363 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15364
15365 * progmodes/compile.el (compilation-next-error-function):
15366 Pass "formats" to compilation-find-file (bug#11777).
15367
15368 2013-04-24 Glenn Morris <rgm@gnu.org>
15369
15370 * vc/vc-bzr.el (vc-bzr-print-log):
15371 * vc/vc-hg.el (vc-hg-print-log):
15372 * vc/vc-svn.el (vc-svn-print-log):
15373 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15374
15375 * vc/vc-bzr.el (vc-bzr-print-log):
15376 * vc/vc-cvs.el (vc-cvs-print-log):
15377 * vc/vc-git.el (vc-git-print-log):
15378 * vc/vc-hg.el (vc-hg-print-log):
15379 * vc/vc-mtn.el (vc-mtn-print-log):
15380 * vc/vc-rcs.el (vc-rcs-print-log):
15381 * vc/vc-sccs.el (vc-sccs-print-log):
15382 * vc/vc-svn.el (vc-svn-print-log):
15383 * vc/vc.el (vc-print-log-internal): Doc fixes.
15384
15385 2013-04-23 Glenn Morris <rgm@gnu.org>
15386
15387 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15388 Remove venerable code attempting to avoid substitute-command-keys.
15389
15390 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15391
15392 * textmodes/reftex-vars.el (reftex-label-regexps):
15393 Call `reftex-compile-variables' after changes to this variable.
15394
15395 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15396
15397 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15398 Use lexical-binding.
15399 (jit-lock-force-redisplay): Use markers, check buffer's continued
15400 existence and beware narrowed buffers.
15401 (jit-lock-fontify-now): Adjust call accordingly.
15402
15403 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15404
15405 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15406 to avoid misleading the user.
15407
15408 2013-04-22 Leo Liu <sdl.web@gmail.com>
15409
15410 * info-look.el: Prefer latex2e.info. (Bug#14240)
15411
15412 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15413
15414 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15415
15416 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15417 * net/tramp.el (tramp-call-process): ... here.
15418 (tramp-set-completion-function, tramp-parse-putty):
15419 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15420 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15421 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15422 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15423 (tramp-call-local-coding-command): Use `tramp-call-process'
15424 instead of `tramp-compat-call-process'.
15425
15426 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15427 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15428 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15429 (tramp-find-inline-compress): Improve traces.
15430 (tramp-maybe-send-script): Check for Perl binary.
15431 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15432
15433 2013-04-22 Daiki Ueno <ueno@gnu.org>
15434
15435 * epg.el (epg-context-pinentry-mode): New function.
15436 (epg-context-set-pinentry-mode): New function.
15437 (epg--start): Pass --pinentry-mode option to gpg command.
15438
15439 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15440
15441 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15442 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15443 `completion-at-point'. (Bug#13774)
15444
15445 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15446 default key binding for `describe-distribution' has been moved to
15447 `C-h C-o'. (Bug#13970)
15448
15449 2013-04-21 Glenn Morris <rgm@gnu.org>
15450
15451 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15452 Add doc strings.
15453 (vc-print-log): Clarify interactive prompt.
15454
15455 2013-04-20 Glenn Morris <rgm@gnu.org>
15456
15457 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15458 No longer include timestamp etc information.
15459
15460 2013-04-20 Roland Winkler <winkler@gnu.org>
15461
15462 * faces.el (read-face-name): Bug fix, return just one face if arg
15463 multiple is nil. (Bug#14209)
15464
15465 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15466
15467 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15468 (remove-function): Autoload.
15469
15470 * comint.el (comint-redirect-original-filter-function): Remove.
15471 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15472 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15473 (vc-cvs-annotate-command):
15474 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15475 * progmodes/prolog.el (prolog-consult-compile):
15476 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15477 Use add/remove-function instead.
15478 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15479 (gud-tooltip-process-output, gud-tooltip-tips):
15480 Use add/remove-function instead.
15481 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15482 (scheme-interaction-mode, exit-scheme-interaction-mode):
15483 Use add/remove-function instead.
15484
15485 * vc/vc-dispatcher.el: Use lexical-binding.
15486 (vc--process-sentinel): Rename from vc-process-sentinel.
15487 Change last arg to be the code to run. Don't use vc-previous-sentinel
15488 and vc-sentinel-commands any more.
15489 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15490 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15491
15492 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15493
15494 * progmodes/sh-script.el (sh-imenu-generic-expression):
15495 Handle function names with a single character. (Bug#14111)
15496
15497 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15498
15499 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15500 for subroutines defined in an eval (bug#14182).
15501
15502 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15503
15504 * bookmark.el (bookmark-completing-read): Improve handling of empty
15505 string (bug#14176).
15506
15507 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15508
15509 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15510
15511 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15512
15513 New faster Imenu implementation (bug#14058).
15514 * progmodes/python.el (python-imenu-prev-index-position)
15515 (python-imenu-format-item-label-function)
15516 (python-imenu-format-parent-item-label-function)
15517 (python-imenu-format-parent-item-jump-label-function):
15518 New vars.
15519 (python-imenu-format-item-label)
15520 (python-imenu-format-parent-item-label)
15521 (python-imenu-format-parent-item-jump-label)
15522 (python-imenu--put-parent, python-imenu--build-tree)
15523 (python-imenu-create-index, python-imenu-create-flat-index)
15524 (python-util-popn): New functions.
15525 (python-mode): Set imenu-create-index-function to
15526 python-imenu-create-index.
15527
15528 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15529
15530 * winner.el (winner-active-region): Use region-active-p, activate-mark
15531 and deactivate-mark (bug#14225).
15532
15533 * simple.el (deactivate-mark): Don't inline it.
15534
15535 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15536
15537 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15538
15539 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15540
15541 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15542 file extensions from the archive-mode entry in order to prefer
15543 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15544
15545 2013-04-18 Leo Liu <sdl.web@gmail.com>
15546
15547 * bindings.el (help-event-list): Add ?\?.
15548
15549 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15550
15551 * subr.el (with-wrapper-hook): Declare obsolete.
15552 * simple.el (filter-buffer-substring-function): New hook.
15553 (filter-buffer-substring): Use it.
15554 (filter-buffer-substring-functions): Mark obsolete.
15555 * minibuffer.el (completion-in-region-function): New hook.
15556 (completion-in-region): Use it.
15557 (completion-in-region-functions): Mark obsolete.
15558 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15559 * abbrev.el (abbrev-expand-function): New hook.
15560 (expand-abbrev): Use it.
15561 (abbrev-expand-functions): Mark obsolete.
15562 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15563 and :filter-return.
15564
15565 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15566
15567 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15568 and do not care about match data.
15569
15570 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15571
15572 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15573 completion tables when completing error conditions and
15574 `declare' arguments.
15575 (lisp-complete-symbol, field-complete): Mark as obsolete.
15576 (check-parens): Unmatched parens are user errors.
15577 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15578
15579 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15580
15581 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15582 command changed buffer (ie. `flyspell-pre-buffer' is not current
15583 buffer), which prevents making decisions based on invalid value of
15584 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15585 cause an error when `flyspell-pre-point' was nil after switching
15586 buffers.
15587 (flyspell-post-command-hook): No longer needs to change buffers when
15588 checking pre-word. While at it remove unnecessary progn.
15589
15590 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15591
15592 * textmodes/ispell.el (ispell-add-per-file-word-list):
15593 Fix `flyspell-correct-word-before-point' error when accepting
15594 words and `coment-padding' is an integer by using
15595 `comment-normalize-vars' (Bug #14214).
15596
15597 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15598
15599 New defun movement commands.
15600 * progmodes/python.el (python-nav--syntactically)
15601 (python-nav--forward-defun, python-nav-backward-defun)
15602 (python-nav-forward-defun): New functions.
15603
15604 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15605
15606 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15607 (python-syntax-context): Use named compiler-macro for backwards
15608 compatibility with Emacs 24.x.
15609
15610 2013-04-17 Leo Liu <sdl.web@gmail.com>
15611
15612 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15613 octave-hide-process-buffer.
15614
15615 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15616
15617 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15618 (bug#14216).
15619
15620 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15621
15622 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15623 Fix adjustment of offset when receiving incomplete responses from GDB
15624 (bug#14129).
15625
15626 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15627
15628 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15629 python-mode-abbrev-table.
15630 (python-skeleton-define): Adjust accordingly.
15631 (python-mode-abbrev-table): New table that inherits from it so that
15632 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15633
15634 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15635 (abbrev-symbol): Use it.
15636 (abbrev--before-point): Use it since we already handle inheritance.
15637
15638 2013-04-16 Leo Liu <sdl.web@gmail.com>
15639
15640 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15641 binding to info-lookup-symbol.
15642
15643 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15644
15645 * minibuffer.el (completion--twq-all):
15646 * term/ns-win.el (ns-initialize-window-system):
15647 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15648
15649 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15650
15651 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15652 global bindings.
15653
15654 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15655
15656 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15657
15658 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15659 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15660 to nil.
15661 (ruby-end-of-defun): Remove the unused arg, change the docstring
15662 to reflect that this function is only used as the value of
15663 `end-of-defun-function'.
15664 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15665 to reflect an earlier change that beginning/end-of-defun functions
15666 jump between methods in a class definition, as well as top-level
15667 functions.
15668
15669 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15670
15671 * minibuffer.el (minibuffer-complete): Don't just scroll
15672 a *Completions* that's been iconified.
15673 (minibuffer-force-complete): Make sure repetitions do cycle when going
15674 through completion-in-region -> minibuffer-complete.
15675
15676 2013-04-15 Alan Mackenzie <acm@muc.de>
15677
15678 Correct the placement of c-cpp-delimiters when there're #s not at
15679 col 0.
15680
15681 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15682 place a submatch around the #.
15683 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15684 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15685 on the #, not BOL.
15686
15687 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15688
15689 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15690 (advice--member-p): New arg `name'.
15691 (advice--add-function, advice-member-p): Use it (bug#14202).
15692
15693 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15694
15695 Reformulate java imenu-generic-expression.
15696 The old expression contained ill formed regexps.
15697
15698 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15699 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15700 (cc-imenu-java-method-arg-regexp): New defconsts.
15701 (cc-imenu-java-build-type-args-regex): New defun.
15702 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15703 handling of spaces in the regexp.
15704
15705 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15706
15707 * textmodes/ispell.el (ispell-command-loop): Remove
15708 flyspell highlight of a word when ispell accepts it (bug #14178).
15709
15710 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15711
15712 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15713 uses code from the previous `ange-ftp-run-real-handler'.
15714 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15715 only in case that function exist. This is needed for proper
15716 unloading of Tramp.
15717
15718 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15719
15720 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15721
15722 * textmodes/reftex.el (reftex-compile-variables): Use it.
15723
15724 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15725
15726 * files.el (normal-mode): Only use default major-mode if no other mode
15727 was specified.
15728
15729 * emacs-lisp/trace.el (trace-values): New function.
15730
15731 * files.el: Allow : in local variables (bug#14089).
15732 (hack-local-variable-regexp): New var.
15733 (hack-local-variables-prop-line, hack-local-variables): Use it.
15734
15735 2013-04-13 Roland Winkler <winkler@gnu.org>
15736
15737 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15738 data before it gets modified by bibtex-beginning-of-entry.
15739
15740 2013-04-13 Roland Winkler <winkler@gnu.org>
15741
15742 * textmodes/bibtex.el (bibtex-url): Doc fix.
15743
15744 2013-04-13 Roland Winkler <winkler@gnu.org>
15745
15746 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15747 does not visit a BibTeX file, exclude it from the list of buffers
15748 returned by bibtex-initialize.
15749
15750 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15751
15752 * window.el (split-window): Remove interactive form, since as a
15753 command this function is a special case of split-window-below.
15754 Correct doc string.
15755
15756 2013-04-12 Roland Winkler <winkler@gnu.org>
15757
15758 * faces.el (read-face-name): Do not override value of arg default.
15759 Allow single faces and strings as default values. Remove those
15760 elements from return value that are not faces.
15761 (describe-face): Simplify.
15762 (face-at-point): New optional args thing and multiple so that this
15763 function can provide the same functionality previously provided by
15764 read-face-name.
15765 (make-face-bold, make-face-unbold, make-face-italic)
15766 (make-face-unitalic, make-face-bold-italic, invert-face)
15767 (modify-face, read-face-and-attribute): Use face-at-point.
15768
15769 * cus-edit.el (customize-face, customize-face-other-window)
15770 * cus-theme.el (custom-theme-add-face)
15771 * face-remap.el (buffer-face-set)
15772 * facemenu.el (facemenu-set-face): Use face-at-point.
15773
15774 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15775
15776 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15777
15778 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15779
15780 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15781 off leading { and trailing } from field values.
15782
15783 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15784
15785 * emacs-lisp/timer.el (timer--check): New function.
15786 (timer--time, timer-set-function, timer-event-handler): Use it.
15787 (timer-set-idle-time): Simplify.
15788 (timer--activate): CSE.
15789 (timer-event-handler): Give more info in error message.
15790 (internal-timer-start-idle): New function, moved from C.
15791
15792 * mpc.el (mpc-proc): Add `restart' argument.
15793 (mpc-proc-cmd): Use it.
15794 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15795 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15796 less often.
15797
15798 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15799
15800 * progmodes/sh-script.el: Implement `sh-mode' own
15801 `add-log-current-defun-function' (bug#14112).
15802 (sh-current-defun-name): New function.
15803 (sh-mode): Use the function.
15804
15805 2013-04-09 Bastien Guerry <bzg@gnu.org>
15806
15807 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15808
15809 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15810
15811 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15812
15813 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15814 timer (bug#14156).
15815
15816 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15817
15818 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15819 declaration.
15820
15821 2013-04-07 Leo Liu <sdl.web@gmail.com>
15822
15823 * pcmpl-x.el: New file.
15824
15825 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15826
15827 Do not set x-display-name until X connection is established.
15828 This is needed to prevent from weird situation described at
15829 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15830 * frame.el (make-frame): Set x-display-name after call to
15831 window system initialization function, not before.
15832 * term/x-win.el (x-initialize-window-system): Add optional
15833 display argument and use it.
15834 * term/w32-win.el (w32-initialize-window-system):
15835 * term/ns-win.el (ns-initialize-window-system):
15836 * term/pc-win.el (msdos-initialize-window-system):
15837 Add compatible optional display argument.
15838
15839 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15840
15841 * files.el (normal-backup-enable-predicate): On MS-Windows and
15842 MS-DOS compare truenames of temporary-file-directory and of the
15843 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15844 don't fail comparison by compare-strings. Also, compare file
15845 names case-insensitively on MS-Windows and MS-DOS.
15846
15847 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15848
15849 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15850 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15851
15852 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15853
15854 * whitespace.el (whitespace-color-on, whitespace-color-off):
15855 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15856
15857 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15858
15859 * ispell.el (ispell-set-spellchecker-params):
15860 Really set `ispell-args' for all equivs.
15861
15862 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15863
15864 * ido.el (ido-completions): Use extra elements of ido-decorations
15865 (bug#14143).
15866 (ido-decorations): Update docstring.
15867
15868 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15869
15870 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15871 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15872 nil during initialization, in order not to miss changes since the
15873 file was opened. (Bug#14140)
15874
15875 2013-04-05 Leo Liu <sdl.web@gmail.com>
15876
15877 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15878
15879 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15880
15881 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15882
15883 2013-04-04 Glenn Morris <rgm@gnu.org>
15884
15885 * electric.el (electric-pair-inhibit-predicate): Add :version.
15886
15887 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15888
15889 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15890 when a package is required several times (bug#14082).
15891
15892 2013-04-04 Roland Winkler <winkler@gnu.org>
15893
15894 * faces.el (read-face-name): Behave as promised by the docstring.
15895 Assume that arg default is a list of faces.
15896 (describe-face): Call read-face-name with list of default faces.
15897
15898 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15899
15900 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15901 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15902 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15903 the header.
15904 (bookmark-exit-hook-internal): Save even if list is empty.
15905
15906 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15907
15908 * emacs-lisp/package.el (package-pinned-packages): New var.
15909 (package--add-to-archive-contents): Obey it (bug#14118).
15910
15911 2013-04-03 Alan Mackenzie <acm@muc.de>
15912
15913 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15914 Also adapt to the new values of element 7 of a parse state.
15915
15916 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15917 parameter `not-in-delimiter'. Handle being inside comment opener.
15918 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15919 character in case we're typing a '*' after a '/'.
15920 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15921 instead by passing the parameter to c-state-pp-to-literal.
15922
15923 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15924 for elt. 7 of a parse state.
15925
15926 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15927
15928 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15929 * international/latin1-disp.el, international/mule-util.el:
15930 * language/cyril-util.el, language/european.el, language/ind-util.el:
15931 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15932 * language/tibetan.el, language/viet-util.el:
15933 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15934
15935 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15936
15937 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15938 (electric-pair-post-self-insert-function): Use it.
15939 (electric-pair-default-inhibit): New function, extracted from
15940 electric-pair-post-self-insert-function.
15941
15942 2013-03-31 Roland Winkler <winkler@gnu.org>
15943
15944 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15945
15946 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15947
15948 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15949
15950 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15951
15952 Un-indent after "pass" and "return" statements (Bug#13888)
15953 * progmodes/python.el (python-indent-block-enders): New var.
15954 (python-indent-calculate-indentation): Use it.
15955
15956 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15957
15958 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15959 defun. Defining it as defalias could introduce too eager
15960 byte-compiler optimization. (Bug#14030)
15961
15962 2013-03-30 Chong Yidong <cyd@gnu.org>
15963
15964 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15965
15966 2013-03-30 Leo Liu <sdl.web@gmail.com>
15967
15968 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15969 (kmacro-execute-from-register): Pass the keyboard macro to
15970 kmacro-call-macro or repeating won't work correctly.
15971
15972 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15973
15974 * progmodes/subword.el: Back to using `forward-symbol'.
15975
15976 * subr.el (forward-whitespace, forward-symbol)
15977 (forward-same-syntax): Move from thingatpt.el.
15978
15979 2013-03-29 Leo Liu <sdl.web@gmail.com>
15980
15981 * kmacro.el (kmacro-to-register): New command.
15982 (kmacro-execute-from-register): New function.
15983 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15984
15985 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15986
15987 * mpc.el: Use defvar-local and setq-local.
15988 (mpc--proc-connect): Connection failures are not bugs.
15989 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15990 (mpc-volume-map): Bind to the up-events.
15991
15992 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15993
15994 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15995 instead of `forward-symbol'.
15996
15997 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15998
15999 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16000 (edebug--recursive-edit): Use it.
16001 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16002 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16003
16004 2013-03-28 Leo Liu <sdl.web@gmail.com>
16005
16006 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16007
16008 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16009
16010 * facemenu.el (list-colors-callback): New defvar.
16011 (list-colors-redisplay): New function.
16012 (list-colors-display): Install list-colors-redisplay as the
16013 revert-buffer-function. (Bug#14063)
16014
16015 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16016
16017 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16018 and suffixes don't overlap (bug#14061).
16019
16020 * case-table.el: Use lexical-binding.
16021 (case-table-get-table): New function.
16022 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16023
16024 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16025
16026 * progmodes/subword.el: Add `superword-mode' to do word motion
16027 over symbol_words (parallels and leverages `subword-mode' which
16028 does word motion inside MixedCaseWords).
16029
16030 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16031
16032 * eshell/em-unix.el: Move su and sudo to...
16033 * eshell/em-tramp.el: ...Eshell tramp module.
16034
16035 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16036
16037 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16038 Change return value to be a sexp. Delay `get-buffer' to after
16039 restoring the desktop (bug#13951).
16040
16041 2013-03-26 Leo Liu <sdl.web@gmail.com>
16042
16043 * register.el: Move semantic tag handling back to
16044 cedet/semantic/senator.el. (Bug#14052)
16045
16046 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16047
16048 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16049 into the prompt either (bug#13963).
16050
16051 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16052
16053 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16054 part of "(error-foo)".
16055
16056 2013-03-24 Juri Linkov <juri@jurta.org>
16057
16058 * replace.el (list-matching-lines-prefix-face): New defcustom.
16059 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16060 `occur-engine' if `face-differs-from-default-p' returns t.
16061 (occur-engine): Add `,' inside backquote construct to evaluate
16062 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16063 Pass `prefix-face' to the functions `occur-context-lines' and
16064 `occur-engine-add-prefix'.
16065 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16066 `prefix-face' and propertize the prefix with `prefix-face'.
16067 (Bug#14017)
16068
16069 2013-03-24 Leo Liu <sdl.web@gmail.com>
16070
16071 * nxml/rng-valid.el (rng-validate-while-idle)
16072 (rng-validate-quick-while-idle): Guard against deleted buffer.
16073 (Bug#13999)
16074
16075 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16076 is the last entry in kill-buffer-hook.
16077
16078 * files.el (kill-buffer-hook): Doc fix.
16079
16080 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16081
16082 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16083 Make it safe-local.
16084
16085 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16086
16087 2013-03-23 Leo Liu <sdl.web@gmail.com>
16088
16089 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16090 Remove.
16091
16092 * nxml/rng-valid.el (rng-validate-mode)
16093 (rng-after-change-function, rng-do-some-validation):
16094 * nxml/rng-maint.el (rng-validate-buffer):
16095 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16096 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16097 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16098 (nxml-extend-after-change-region): Use with-silent-modifications.
16099
16100 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16101 timer-idle-list.
16102
16103 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16104 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16105 timer-idle-list. (Bug#13999)
16106
16107 2013-03-23 Juri Linkov <juri@jurta.org>
16108
16109 * info.el (info-index-match): New face.
16110 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16111 main pattern and add text properties with the new face to matches
16112 in index entries relative to the beginning of the index entry.
16113 (Bug#14015)
16114
16115 2013-03-21 Eric Ludlam <zappo@gnu.org>
16116
16117 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16118 Inhibit read only while inserting objects.
16119
16120 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16121
16122 * progmodes/cfengine.el: Update docs to mention
16123 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16124 symbol motion. Remove "_" from the word syntax.
16125
16126 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16127
16128 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16129 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16130
16131 2013-03-20 Juri Linkov <juri@jurta.org>
16132
16133 * info.el (Info-next-reference-or-link)
16134 (Info-prev-reference-or-link): New functions.
16135 (Info-next-reference, Info-prev-reference): Use them.
16136 (Info-try-follow-nearest-node): Handle footnote navigation.
16137 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16138
16139 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16140
16141 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16142 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16143
16144 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16145
16146 Suppress unnecessary non-ASCII chatter during build process.
16147 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16148 (batch-skkdic-convert): Suppress most of the chatter.
16149 It's not needed so much now that machines are faster,
16150 and its non-ASCII component was confusing; see Dmitry Gutov in
16151 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16152
16153 2013-03-20 Leo Liu <sdl.web@gmail.com>
16154
16155 * ido.el (ido-chop): Fix bug#10994.
16156
16157 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16158
16159 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16160 Remove vars.
16161 (whitespace-color-on, whitespace-color-off):
16162 Use `font-lock-fontify-buffer' (Bug#13817).
16163
16164 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16165
16166 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16167 remapping in mode-line.
16168 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16169
16170 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16171
16172 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16173 value for `whitespace-line' face (Bug#13875).
16174 (whitespace-font-lock-keywords): Change description.
16175 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16176 the constructed keywords instead.
16177 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16178
16179 2013-03-19 Leo Liu <sdl.web@gmail.com>
16180
16181 * progmodes/compile.el (compilation-display-error): New command.
16182 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16183 C-o. (Bug#13992)
16184
16185 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16186
16187 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16188
16189 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16190
16191 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16192
16193 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16194
16195 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16196
16197 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16198 * net/tramp-gvfs.el (top):
16199 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16200 (tramp-handle-shell-command): Use it.
16201 (tramp-dissect-file-name): Raise an error when hostname is a
16202 method name, and neither method nor user is specified.
16203
16204 * net/trampver.el: Update release number.
16205
16206 2013-03-18 Leo Liu <sdl.web@gmail.com>
16207
16208 Make sure eldoc can be turned off properly.
16209 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16210 eldoc-mode.
16211 (eldoc-display-message-p): Revert last change.
16212 (eldoc-display-message-no-interference-p)
16213 (eldoc-print-current-symbol-info): Tweak.
16214
16215 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16216
16217 * doc-view.el (doc-view-new-window-function): Check the new window
16218 overlay's display property instead the char property of the
16219 buffer's first char. Use `with-selected-window' instead of
16220 `save-window-excursion' with `select-window'.
16221 (doc-view-document->bitmap): Check the current doc-view overlay's
16222 display property instead the char property of the buffer's first char.
16223
16224 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16225
16226 Automate the build of ja-dic.el (Bug#13984).
16227 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16228 from the input, rather than assume that it's been done for us by the
16229 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16230 the current date into a ja-dic.el comment, as that complicates
16231 regression testing.
16232
16233 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16234
16235 * whitespace.el: Fix double evaluation.
16236 (whitespace-space, whitespace-hspace, whitespace-tab)
16237 (whitespace-newline, whitespace-trailing, whitespace-line)
16238 (whitespace-space-before-tab, whitespace-indentation)
16239 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16240 obsolete defvars.
16241 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16242 (whitespace-color-on): Use a single font-lock-add-keywords call.
16243 Fix double-evaluation of face variables.
16244
16245 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16246
16247 * net/tramp-adb.el (tramp-adb-parse-device-names):
16248 Use `start-process' instead of `call-process'. Otherwise, the
16249 function might be blocked under MS Windows. (Bug#13299)
16250
16251 2013-03-17 Leo Liu <sdl.web@gmail.com>
16252
16253 Extend eldoc to display info in the mode-line. (Bug#13978)
16254 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16255 (eldoc-mode-line-string): New variable.
16256 (eldoc-minibuffer-message): New function.
16257 (eldoc-message-function): New variable.
16258 (eldoc-message): Use it.
16259 (eldoc-display-message-p)
16260 (eldoc-display-message-no-interference-p):
16261 Support eldoc-post-insert-mode.
16262
16263 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16264 (eval-expression): Run it.
16265
16266 2013-03-17 Roland Winkler <winkler@gnu.org>
16267
16268 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16269 strings in the list of return values.
16270
16271 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16272
16273 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16274 radix before checking for HMS forms.
16275
16276 2013-03-16 Leo Liu <sdl.web@gmail.com>
16277
16278 * progmodes/scheme.el: Add indentation and font-locking for λ.
16279 (Bug#13975)
16280
16281 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16282
16283 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16284 token before point (bug#13942).
16285
16286 2013-03-16 Leo Liu <sdl.web@gmail.com>
16287
16288 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16289
16290 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16291
16292 * startup.el (command-line-normalize-file-name): Fix handling of
16293 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16294 <xfq.free@gmail.com> in
16295 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16296
16297 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16298
16299 Sync with Tramp 2.2.7.
16300
16301 * net/trampver.el: Update release number.
16302
16303 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16304
16305 * doc-view.el: Fix bug#13887.
16306 (doc-view-insert-image): Don't modify overlay associated to
16307 non-live windows, and implement horizontal centering of image in
16308 case it's smaller than the window.
16309 (doc-view-new-window-function): Force redisplay of new windows on
16310 doc-view buffers.
16311
16312 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16313
16314 * saveplace.el (save-place-alist-to-file): Don't sort
16315 `save-place-alist', just pretty-print it (bug#13882).
16316
16317 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16318
16319 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16320 Check whether `default-file-name-coding-system' is bound.
16321 It isn't in XEmacs.
16322
16323 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16324
16325 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16326 backquotes for `obsolete' (bug#13929).
16327
16328 * international/mule.el (find-auto-coding): Include file name in
16329 obsolescence warning (bug#13922).
16330
16331 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16332
16333 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16334 for CFEngine 3-specific indentation.
16335 (cfengine3-indent-line): Use it. Fix up category regex.
16336 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16337
16338 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16339
16340 * type-break.el (type-break-file-name):
16341 * textmodes/remember.el (remember-data-file):
16342 * strokes.el (strokes-file):
16343 * shadowfile.el (shadow-initialize):
16344 * saveplace.el (save-place-file):
16345 * ps-bdf.el (bdf-cache-file):
16346 * progmodes/idlwave.el (idlwave-config-directory):
16347 * net/quickurl.el (quickurl-url-file):
16348 * international/kkc.el (kkc-init-file-name):
16349 * ido.el (ido-save-directory-list-file):
16350 * emulation/viper.el (viper-custom-file-name):
16351 * emulation/vip.el (vip-startup-file):
16352 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16353 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16354
16355 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16356
16357 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16358 * language/thai-word.el: Switch to UTF-8.
16359
16360 See ChangeLog.16 for earlier changes.
16361
16362 ;; Local Variables:
16363 ;; coding: utf-8
16364 ;; End:
16365
16366 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16367
16368 This file is part of GNU Emacs.
16369
16370 GNU Emacs is free software: you can redistribute it and/or modify
16371 it under the terms of the GNU General Public License as published by
16372 the Free Software Foundation, either version 3 of the License, or
16373 (at your option) any later version.
16374
16375 GNU Emacs is distributed in the hope that it will be useful,
16376 but WITHOUT ANY WARRANTY; without even the implied warranty of
16377 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16378 GNU General Public License for more details.
16379
16380 You should have received a copy of the GNU General Public License
16381 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.