]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/vc/vc-hg.el (vc-hg-log-graph): New var.
[gnu-emacs] / lisp / ChangeLog
1 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
2
3 * vc/vc-hg.el (vc-hg-log-graph): New var.
4 (vc-hg-print-log): Use it.
5 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
6 graph output (bug#17515).
7
8 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9
10 * mouse.el (mouse-posn-property): Ignore buffer position info when the
11 even happened elsewhere.
12
13 2014-06-06 Mario Lang <mlang@delysid.org>
14
15 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
16 `recenter' if `current-buffer' is equal to `window-buffer'.
17
18 2014-06-05 Leo Liu <sdl.web@gmail.com>
19
20 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
21
22 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
23
24 * textmodes/tildify.el (tildify-foreach-region-outside-env):
25 New function which calls a callback on portions of the buffer that are
26 outside of ignored environments.
27 (tildify-build-regexp): Remove function since it is now
28 incorporated in `tildify-foreach-region-outside-env' where it is
29 optimised and simplified by the use of `mapconcat'.
30 (tildify-tildify): Return number of substitutions made so that…
31 (tildify-count): …can be removed.
32 (tildify-find-env): Accept a new PAIRS argument which was
33 previously looked up in `tildify-ignored-environments-alist' each
34 time the function was called. With this change, the lookup is
35 performed only once in `tildify-foreach-region-outside-env'.
36 (tildify-region): Greatly simplify the function since now most of
37 the work is done by `tildify-foreach-region-outside-env'.
38 (tildify-mode-alist): Simplify slightly by avoiding if and setq
39 and instead using or.
40
41 * textmodes/tildify.el (tildify-ignored-environments-alist):
42 Optimise environments regexes
43
44 Each time beginning of an environment to ignore is found,
45 `tildify-find-env' needs to identify regexp for the ending
46 of the environment. This is done by trying all the opening
47 regexes on matched text in a loop, so to speed that up, this
48 loop should have fewer things to match, which can be done by
49 using alternatives in the opening regexes.
50
51 Coincidentally, this should make matching of the opening
52 regexp faster as well thanks to the use of `regexp-opt' and
53 having common prefix pulled from many regexes.
54
55 * textmodes/tildify.el (tildify-string-alist)
56 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
57 of supported modes since `xml-mode' is no longer a thing but just
58 an alias to the former. Also include comments and insides of tags
59 in `tildify-ignored-environments-alist' for XML modes. Finally,
60 since XML does not define “&nbsp;”[1], use a numeric reference for
61 a no-break space (namely “&#160;”)
62
63 [1] XML specification defines only a handful of predefined entities.
64 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
65 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
66 >, &, ' and " respectively). This is in contrast to HTML and even
67 XHTML which defined a whole bunch of entities including “&nbsp;”.
68
69 * textmodes/tildify.el (tildify-pattern-alist)
70 (tildify-string-alist, tildify-ignored-environments-alist):
71 Improve defcustom's types by adding more tags explaining what each
72 value means and replace “sexp” used in
73 `tildify-ignored-environments-alist' with a full type declaration.
74
75 * textmodes/tildify.el (tildify-find-env): Fix matched group
76 indexes in end-regex building
77
78 When looking for a start of an ignore-environment, the regex is built
79 by concatenating regexes of all the environments configured in
80 `tildify-ignored-environments-alist'. So for example, the following
81 list could be used to match TeX's \verb and \verb* commands:
82
83 (("\\\\verb\\(.\\)" . (1))
84 ("\\\\verb\\*\\(.\\)" . (1)))
85
86 This would result in the following regex being used to find the start
87 of any of the variants of the \verb command:
88
89 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
90
91 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
92 won't match anything, and thus (match-string 1) will be nil, which
93 will cause building of the end-matching regex to fail.
94
95 Fix this by using capture groups from the time when the opening
96 regexes are matched individually.
97
98 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
99 in `tildify-find-env'
100
101 The `tildify-ignored-environments-alist' allows the end-regex to
102 be provided not as a static string but mix of strings and indexes
103 of groups matched the begin-regex. For example, the “\verb!…!”
104 TeX-command (where “!” is an arbitrary character) is handled
105 using:
106
107 ("\\\\verb\\*?\\(.\\)" . (1))
108
109 In the same way, the following should be supported as well:
110
111 ("open-\\(.\\)" . ("end-" 1))
112
113 However the tildify-find-env function fails at
114
115 (concat result
116 (if (stringp (setq aux (car expression)))
117 expression ; BUG: expression is a list
118 (regexp-quote (match-string aux))))
119
120 where the string part is handled incorrectly.
121
122 The most trivial fix would be to replace `expression' in the
123 true-part of the if-statement with `aux', but instead, this commit
124 optimises `tildify-find-env' by changing it to use `mapconcat'
125 rather than open-coded while-loop.
126
127 2014-06-05 Mario Lang <mlang@delysid.org>
128
129 * woman.el (woman-mapcan): Remove.
130 (woman-parse-colon-path): Use cl-mapcan instead.
131
132 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
133
134 * register.el: Add link to Emacs manual in Commentary.
135
136 2014-06-02 Sam Steingold <sds@gnu.org>
137
138 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
139 (popup-menu): ...here.
140 (menu-bar-open): Use it to avoid an error when `lookup-key'
141 returns a number.
142
143 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
144
145 * net/tramp.el (tramp-call-process): Add traces.
146 (tramp-handle-unhandled-file-name-directory): Return "/".
147
148 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
149
150 Sync with upstream verilog-mode revision 3cd8144.
151 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
152 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
153 (verilog-type-font-keywords): Add nor.
154 (verilog-batch-execute-func): Force reading of Local Variables.
155 Fix printing "no changes to be saved" with verilog-batch.
156 (verilog-auto-arg-ports): Doc fix.
157 Add verilog-auto-arg-format to support newlines in AUTOARG.
158 (verilog-auto-arg): Doc fix.
159
160 2014-06-02 Glenn Morris <rgm@gnu.org>
161
162 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
163 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
164 * emulation/ws-mode.el: Move to obsolete/.
165 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
166
167 2014-06-02 Eli Zaretskii <eliz@gnu.org>
168
169 * simple.el (keyboard-quit): Force update of mode lines, to remove
170 the "Def" indicator, if we were defining a macro. (Bug#17615)
171
172 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
173
174 * minibuffer.el (minibuffer-force-complete-and-exit):
175 Obey minibuffer-default (bug#17545).
176
177 * progmodes/js.el (js-indent-line): Don't mix columns and chars
178 (bug#17619).
179
180 * subr.el (set-transient-map): Don't wait for some "nested"
181 transient-map to finish if we're only supposed to be active for
182 the next command (bug#17642).
183
184 2014-06-02 Leo Liu <sdl.web@gmail.com>
185
186 * emacs-lisp/gv.el (window-buffer, window-display-table)
187 (window-dedicated-p, window-hscroll, window-point, window-start):
188 Fix gv-expander. (Bug#17630)
189
190 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
193 clicks (bug#17633).
194
195 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
196 for the single comma, since ", " is *very* common in normal French text
197 (bug#17643).
198
199 2014-06-02 Glenn Morris <rgm@gnu.org>
200
201 * emacs-lisp/package.el (package-check-signature)
202 (package-unsigned-archives): Fix :version.
203
204 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * subr.el (sit-for): Don't run input-methods (bug#15614).
207
208 2014-06-02 Glenn Morris <rgm@gnu.org>
209
210 * cus-start.el: Fix some :version numbers.
211
212 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * simple.el (deactivate-mark): Set mark-active to nil even if
215 deactivation is done via setting transient-mark-mode to nil,
216 since one is buffer-local and the other is global.
217
218 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
219 there can't be more than 2 arguments (bug#17584).
220
221 2014-06-02 Glenn Morris <rgm@gnu.org>
222
223 * simple.el (filter-buffer-substring-functions)
224 (filter-buffer-substring-function, buffer-substring-filters)
225 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
226
227 * minibuffer.el (completion-in-region-functions, completion-in-region)
228 (completion--in-region): Doc fixes.
229
230 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
231 (expand-abbrev, abbrev--default-expand): Doc fixes.
232
233 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
234
235 Include sources used to create macuvs.h.
236 * international/README: Refer to the Unicode Terms of Use rather
237 than copying it bodily here, as that simplifies maintenance.
238
239 2014-06-01 Glenn Morris <rgm@gnu.org>
240
241 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
242
243 2014-05-31 Glenn Morris <rgm@gnu.org>
244
245 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
246
247 2014-05-30 Glenn Morris <rgm@gnu.org>
248
249 * loadup.el: Treat `command-line-args' more flexibly.
250
251 2014-05-30 Alan Mackenzie <acm@muc.de>
252
253 Guard (looking-at "\\s!") from XEmacs.
254 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
255
256 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
257
258 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
259 The argument COUNT is now optional, to be more backward-compatible.
260 Doc fix. (Bug#17560)
261
262 2014-05-29 Reuben Thomas <rrt@sc3d.org>
263
264 * whitespace.el (whitespace-report-region):
265 Simplify documentation.
266 (whitespace-report-region): Allow report-if-bogus to take the
267 value `never', for non-interactive use.
268 (whitespace-report): Refer to whitespace-report-region's
269 documentation.
270
271 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * whitespace.el: Use font-lock-flush. Minimize refontifications.
274 Side benefit: it works without jit-lock.
275 (whitespace-point--used): New buffer-local var.
276 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
277 (whitespace-color-off): Use font-lock-flush.
278 (whitespace-point--used, whitespace-point--flush-used): New functions.
279 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
280 (whitespace-empty-at-eob-regexp): Use them.
281 (whitespace-post-command-hook): Rewrite.
282
283 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
284 (font-lock-fontify-buffer): Mark interactive-only.
285 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
286 Make buffer-local.
287 (font-lock-specified-p): Remove redundant boundp check.
288 (font-lock-flush-function, font-lock-ensure-function): New vars.
289 (font-lock-turn-on-thing-lock): Set them.
290 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
291 (font-lock-after-change-function): Make `old-len' optional.
292 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
293 Call font-lock-flush, just in case.
294 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
295 recent Emacsen.
296 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
297 (vera-mode-map, vera-mode-menu): Remove bindings to it.
298 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
299 and with-syntax-table.
300 * textmodes/conf-mode.el (conf-quote-normal):
301 * progmodes/sh-script.el (sh-set-shell):
302 * progmodes/prog-mode.el (prettify-symbols-mode):
303 * progmodes/f90.el (f90-font-lock-n):
304 * progmodes/cwarn.el (cwarn-mode):
305 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
306 * progmodes/compile.el (compilation-setup, compilation--unsetup):
307 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
308 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
309 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
310 font-lock-fontify-buffer-function and
311 font-lock-unfontify-buffer-function.
312 (rmail-unfontify-buffer-function, rmail-fontify-message):
313 Use with-silent-modifications.
314 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
315 and font-lock-ensure.
316 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
317
318 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
319
320 * emacs-lisp/package.el (package-generate-autoloads):
321 Inhibit backup files.
322
323 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
324
325 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
326 (bug#17608).
327
328 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
329
330 * textmodes/tildify.el (tildify-buffer, tildify-region):
331 Add dont-ask option.
332
333 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
336 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
337
338 * subr.el (internal--funcall-interactively): New.
339 (internal--call-interactively): Remove.
340 (called-interactively-p): Detect funcall-interactively instead of
341 call-interactively.
342 * simple.el (repeat-complex-command): Use funcall-interactively.
343 (repeat-complex-command--called-interactively-skip): Remove.
344
345 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
346
347 * register.el (register-read-with-preview): Don't burp on
348 frame switches (e.g. due to the frame we just popped).
349
350 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
351 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
352
353 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
354
355 * cus-face.el (custom-face-attributes): Add :distant-foreground.
356
357 2014-05-26 Martin Rudalics <rudalics@gmx.at>
358
359 * window.el (window--dump-frame): Remove interactive specification.
360
361 2014-05-26 Glenn Morris <rgm@gnu.org>
362
363 * hippie-exp.el (he-line-search-regexp):
364 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
365
366 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
367
368 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
369 to avoid errors when trying to create or visit a file foo.todo
370 located outside to todo-directory, and to allow having such files
371 without them being tied to Todo mode (bug#17482).
372 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
373 (todo-archive-done-item, todo-find-filtered-items-file)
374 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
375 (todo-category-completions, todo-read-category): When visiting a
376 Todo file, make sure we're in the right mode and the buffer local
377 variables are set.
378 (todo-make-categories-list, todo-reset-nondiary-marker)
379 (todo-reset-done-string, todo-reset-comment-string):
380 After processing all Todo files, kill the buffers of those files that
381 weren't being visited before the processing.
382 (todo-display-as-todo-file, todo-add-to-buffer-list)
383 (todo-visit-files-commands): Comment out.
384 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
385 (auto-mode-alist): Remove add-to-list calls making Todo file
386 extensions unrestrictedly tied to Todo modes.
387
388 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
391 (advice-function-member-p): Tell it to check both names and functions
392 (bug#17531).
393 (advice--add-function): Adjust call accordingly.
394
395 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
396
397 * calendar/todo-mode.el: Miscellaneous bug fixes.
398 (todo-delete-file): When deleting an archive but not its todo
399 file, make sure to update the todo file's category sexp.
400 (todo-move-category): Keep the moved category's name unless the
401 file moved to already has a category with that name. If the
402 numerically last category of the source file was moved, make the
403 first category current to avoid selecting a nonexisting category.
404 (todo-merge-category): Fix implementation to make merging to a
405 category in another file work as documented. Eliminate now
406 insufficient and unnecessary renaming of archive category, correct
407 document string accordingly, and clarify it. If the numerically
408 last category of the source file was merged, make the first
409 category current to avoid selecting a nonexisting category.
410 (todo-archive-done-item): When there are marked items and point
411 happens to be on an unmarked item, ignore the latter. Don't leave
412 point below last item after archiving marked items.
413 (todo-unarchive-items): Fix logic to ensure unarchiving an item
414 from an archive with only one category deletes the archive only
415 when the category is empty after unarchiving. Make sure the todo
416 file's category sexp is updated.
417 (todo-read-file-name): Allow an existing file name even when it is
418 not required (todo-move-category needs this to work as documented).
419 (todo-add-file): Call todo-validate-name to reject the name of an
420 existing todo file (needed due to fix in todo-read-file-name).
421 (todo-reset-nondiary-marker): Also reset in filtered items files.
422 (todo-reset-done-string, todo-reset-comment-string): Also reset in
423 regexp filtered items files.
424 (todo-reset-highlight-item): Also reset in filtered items files.
425 Fix incorrect variable reference in document string.
426
427 2014-05-26 Glenn Morris <rgm@gnu.org>
428
429 * window.el (window--dump-frame): Avoid error in --without-x builds.
430
431 2014-05-26 Glenn Morris <rgm@gnu.org>
432
433 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
434
435 2014-05-26 Eli Zaretskii <eliz@gnu.org>
436
437 * frame.el (set-frame-font): Doc fix.
438
439 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
440
441 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
442
443 * emacs-lisp/package.el (package--download-one-archive):
444 Use `write-region' instead of `save-buffer' to avoid running various
445 hooks. (Bug#17155)
446 (describe-package-1): Same. Insert newline at the end of the
447 buffer if appropriate.
448
449 2014-05-26 Juri Linkov <juri@jurta.org>
450
451 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
452 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
453 Add more modifiers: meta, control, shift, hyper, super, alt.
454 (Bug#17439)
455
456 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
457 to allow changing its value with `set-variable'.
458
459 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
462 #; comments.
463 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
464 New functions.
465 (scheme-mode-variables): Set syntax-propertize-function instead of
466 font-lock-syntactic-face-function.
467 (scheme-font-lock-syntactic-face-function): Delete.
468
469 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
470
471 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
472 (bug#17392).
473
474 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
475
476 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
477 for a temporary file name.
478
479 2014-05-26 Eli Zaretskii <eliz@gnu.org>
480
481 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
482
483 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
484
485 * net/dbus.el (dbus-init-bus, dbus-call-method)
486 (dbus-call-method-asynchronously, dbus-send-signal)
487 (dbus-method-return-internal, dbus-method-error-internal):
488 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
489
490 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
491
492 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
493 methods which do not have a doc string. (Bug#17490)
494
495 2014-05-25 Tassilo Horn <tsdh@gnu.org>
496
497 * textmodes/reftex-ref.el (reftex-format-special): Make it work
498 also for AMS Math's \eqref macro.
499
500 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
501
502 Arrange to never byte-compile the generated -pkg.el file.
503
504 * emacs-lisp/package.el (package-generate-description-file):
505 Output first-line comment to set buffer-local var `no-byte-compile'.
506 Suggested by Dmitry Gutov:
507 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
508
509 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
510
511 Fix bug: Properly quote args to generated -pkg.el `define-package'.
512
513 * emacs-lisp/package.el (package-generate-description-file):
514 Inline `package--alist-to-plist'; rewrite to selectively
515 quote alist values that are not self-quoting.
516 (package--alist-to-plist): Delete func.
517
518 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
519
520 * term/xterm.el (xterm-function-map): Add mapping for shifted
521 keypad keys.
522
523 2014-05-24 Daniel Colascione <dancol@dancol.org>
524
525 * progmodes/subword.el (subword-find-word-boundary): Move point to
526 correct spot before search. (Bug#17580)
527
528 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
529 breaking the build.
530
531 2014-05-24 Leo Liu <sdl.web@gmail.com>
532
533 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
534
535 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * minibuffer.el (completion--sreverse): Remove.
538 (completion--common-suffix): Use `reverse' instead.
539 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
540
541 2014-05-22 Glenn Morris <rgm@gnu.org>
542
543 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
544
545 2014-05-21 Daniel Colascione <dancol@dancol.org>
546
547 * files.el (interpreter-mode-alist): Add mksh.
548
549 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
550 derivative.
551 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
552 mksh. Improve custom spec; allow regular expressions.
553 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
554 (sh-after-hack-local-variables): New function.
555 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
556 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
557 the normalization.
558 (sh-canonicalize-shell): Rewrite to support regexes.
559
560 2014-05-21 Leo Liu <sdl.web@gmail.com>
561
562 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
563
564 2014-05-19 Leo Liu <sdl.web@gmail.com>
565
566 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
567
568 2014-05-18 Glenn Morris <rgm@gnu.org>
569
570 * loadup.el:
571 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
572
573 2014-05-14 Sam Steingold <sds@gnu.org>
574
575 * progmodes/python.el (python-shell-get-or-create-process):
576 Do not bind `current-prefix-arg' so that C-c C-z does not talk
577 back unless requested.
578
579 2014-05-14 Glenn Morris <rgm@gnu.org>
580
581 * subr.el (with-file-modes): New macro.
582 * printing.el (pr-save-file-modes): Make obsolete.
583 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
584 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
585 Add with-file-modes.
586 * doc-view.el (doc-view-make-safe-dir):
587 * epg.el (epg--start):
588 * files.el (locate-user-emacs-file, make-temp-file)
589 (backup-buffer-copy, move-file-to-trash):
590 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
591 * eshell/esh-util.el (eshell-with-private-file-modes)
592 (eshell-make-private-directory):
593 * net/browse-url.el (browse-url-mosaic):
594 * obsolete/mailpost.el (post-mail-send-it):
595 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
596 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
597 Use with-file-modes.
598
599 * vc/emerge.el (emerge-make-temp-file): Simplify.
600
601 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
602 Stefan Monnier <monnier@iro.umontreal.ca>
603
604 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
605 suffix (bug#15419).
606
607 2014-05-14 Glenn Morris <rgm@gnu.org>
608
609 * vc/emerge.el (emerge-temp-file-prefix):
610 Make pointless option obsolete.
611 (emerge-temp-file-mode): Make non-functional option obsolete.
612
613 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
614
615 * net/browse-url.el (browse-url):
616 Use `unhandled-file-name-directory' when setting `default-directory',
617 in order to circumvent stalled remote connections. (Bug#17425)
618
619 2014-05-14 Glenn Morris <rgm@gnu.org>
620
621 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
622 Optimize on Emacs, which has the relevant functions for ages.
623
624 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * simple.el (undo-make-selective-list): Obey undo-no-redo.
627
628 2014-05-12 Sam Steingold <sds@gnu.org>
629
630 * calendar/time-date.el (seconds-to-string): New function to
631 pretty print time delay in seconds.
632
633 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * mpc.el (mpc-format): Trim Date to the year.
636 (mpc-songs-hashcons): Shorten the Date field.
637
638 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
639 into autoloading just because of a silly indirection.
640
641 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
642
643 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
644
645 2014-05-12 Glenn Morris <rgm@gnu.org>
646
647 * emacs-lisp/find-gc.el: Move to ../admin.
648
649 * printing.el (pr-version):
650 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
651
652 * net/browse-url.el (browse-url-mosaic):
653 Create /tmp/Mosaic.PID as a private file.
654
655 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
658 (advice--member-p): If name is given, only compare the name.
659 (advice--remove-function): Don't stop at the first match.
660 (advice--normalize-place): New function.
661 (add-function, remove-function): Use it.
662 (advice--add-function): Pass the name, if any, to
663 advice--remove-function.
664
665 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
666
667 * electric.el (electric-indent-post-self-insert-function): Don't use
668 `pos' after modifying the buffer (bug#17449).
669
670 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
671
672 * calendar/todo-mode.el (todo-insert-item-from-calendar):
673 Correct argument list to conform to todo-insert-item--basic.
674
675 2014-05-12 Glenn Morris <rgm@gnu.org>
676
677 * files.el (cd-absolute): Test if directory is accessible
678 rather than executable. (Bug#17330)
679
680 * progmodes/compile.el (recompile):
681 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
682
683 * net/browse-url.el (browse-url-mosaic):
684 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
685 This is CVE-2014-3423.
686
687 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * mouse.el: Use the normal toplevel loop while dragging.
690 (mouse-set-point): Handle multi-clicks.
691 (mouse-set-region): Handle multi-clicks for drags.
692 (mouse-drag-region): Update call accordingly.
693 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
694 Use the normal event loop instead of a local while/read-event loop.
695 (global-map): Remove redundant bindings for double/triple-mouse-1.
696 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
697 Generate synthetic down events when the protocol only sends up events.
698 (xterm-mouse-last): Remove.
699 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
700 terminal parameter instead.
701 (xterm-mouse--set-click-count): New function.
702 (xterm-mouse-event): Detect/generate double/triple clicks.
703 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
704
705 * info.el (Info-quoted): New face.
706 (Info-mode-font-lock-keywords): New var.
707 (Info-mode): Use it.
708
709 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
710 are a hindrance for C-x C-e.
711
712 2014-05-11 Leo Liu <sdl.web@gmail.com>
713
714 * net/rcirc.el (rcirc-sentinel): Fix last change.
715
716 2014-05-08 Sam Steingold <sds@gnu.org>
717
718 * net/rcirc.el (rcirc-reconnect-delay): New user option.
719 (rcirc-sentinel): Auto-reconnect to the server if
720 `rcirc-reconnect-delay' is non-0 (but not more often than its
721 value in case the host is off-line).
722
723 2014-05-09 Eli Zaretskii <eliz@gnu.org>
724
725 * progmodes/grep.el (lgrep): Fix a typo in last commit.
726
727 2014-05-09 Glenn Morris <rgm@gnu.org>
728
729 * files.el (file-expand-wildcards):
730 * man.el (Man-support-local-filenames):
731 * printing.el (pr-i-directory, pr-interface-directory):
732 * progmodes/grep.el (lgrep, rgrep):
733 * textmodes/ispell.el (ispell-call-process)
734 (ispell-call-process-region, ispell-start-process)
735 (ispell-init-process): Use file-accessible-directory-p.
736
737 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
740 (xterm-mouse--read-event-sequence-1000): Return nil if something
741 looks fishy.
742 (xterm-mouse-event): Propagate it.
743 (xterm-mouse-translate-1): Handle it.
744
745 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
746
747 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
748 four slots of the parameter list are filled, make sure to pass it
749 to the argument list of todo-insert-item--basic.
750
751 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
752
753 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
754 Add optional `seen' argument to detect and break infinite loops.
755
756 2014-05-08 Eli Zaretskii <eliz@gnu.org>
757
758 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
759 (trace-unsafe, trace-use-tree): Make parentheses style be
760 according to Emacs style.
761
762 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
763
764 * net/tramp-sh.el (tramp-remote-process-environment):
765 Remove HISTFILE and HISTSIZE; it's too late to set them here.
766 Add :version entry.
767 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
768 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
769 extra "PSx=..." commands.
770 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
771 (Bug#17295)
772
773 (tramp-uudecode): Replace the hard-coded temporary file name by a
774 format specifier.
775 (tramp-remote-coding-commands): Enhance docstring.
776 (tramp-find-inline-encoding): Replace "%t" by a temporary file
777 name. (Bug#17415)
778 This is CVE-2014-3424.
779
780 2014-05-08 Glenn Morris <rgm@gnu.org>
781
782 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
783 (find-gc-source-files): Update some names.
784 (trace-call-tree): Simplify and update.
785 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
786 This is CVE-2014-3422.
787
788 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * minibuffer.el (completion--try-word-completion): Revert fix for
791 Bug#15980 (bug#17375).
792
793 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
794 Always store button numbers in the same way in xterm-mouse-last;
795 Don't burp is xterm-mouse-last is not set as expected.
796 Never return negative indices.
797
798 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
799
800 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
801 Backtrack one char if the global/char-literal var matcher hits
802 inside a string. The next char could be the beginning of an
803 expression expansion.
804
805 2014-05-08 Glenn Morris <rgm@gnu.org>
806
807 * help-fns.el (describe-function-1): Test for an autoload before a
808 macro, since `macrop' works on autoloads. (Bug#17410)
809
810 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * electric.el (electric-indent-functions-without-reindent): Add yaml.
813
814 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
815 Make sure the new point we return is within the new string (bug#17239).
816
817 2014-05-05 Daniel Colascione <dancol@dancol.org>
818
819 * progmodes/compile.el (compilation-error-regexp-alist-alist):
820 Port `gnu' pattern to rx.
821
822 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
823
824 Remove unneeded prompt when closing a buffer with active
825 emacsclient ("Buffer ... still has clients"), #16548.
826 * server.el (server-start): Remove the only call to:
827 (server-kill-buffer-query-function): Remove.
828
829 2014-05-04 Leo Liu <sdl.web@gmail.com>
830
831 * calendar/diary-lib.el (calendar-chinese-month-name-array):
832 Defvar to pacify compiler.
833
834 2014-05-04 Eli Zaretskii <eliz@gnu.org>
835
836 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
837
838 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
841 Use nil rather than `default' for the "default" appearance (bug#17388).
842 * vc/ediff-util.el (ediff-inferior-compare-regions)
843 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
844 a misleading `default' value when it's really a boolean.
845 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
846 overlay is not visible.
847
848 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
849
850 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
851 (todo-menu): Uncomment and update.
852
853 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
854
855 * calendar/todo-mode.el: Reimplement item editing to have the same
856 basic user interface as item insertion, and make small UI and
857 larger internal improvements to the latter.
858 (todo-insert-item): Add reference to the Todo mode user manual to
859 the documentation string.
860 (todo-insert-item--basic): Rename from todo-basic-insert-item and
861 adjust all callers. Change signature to combine diary and
862 nonmarking arguments. Incorporate functionality of deleted item
863 copying command and add error checking. Remove detailed
864 descriptions of the arguments from the documentation string, since
865 this is treated in the Todo mode user manual.
866 (todo-copy-item, todo-edit-multiline-item)
867 (todo-edit-done-item-comment, todo-edit-item-header)
868 (todo-edit-item-time, todo-edit-item-date-from-calendar)
869 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
870 (todo-edit-item-date-year, todo-edit-item-date-month)
871 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
872 Remove.
873 (todo-edit-item): Reimplement as wrapper command for
874 todo-edit-item--next-key and make it distinguish done and not done
875 todo items.
876 (todo-edit-item--text): New function, replacing old command
877 todo-edit-item and incorporating deleted commands
878 todo-edit-multiline-item and todo-edit-done-item-comment.
879 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
880 Use only numeric value of prefix argument. Remove detailed
881 descriptions of the arguments from the documentation string, since
882 this is treated in the Todo mode user manual.
883 (todo-edit-item--diary-inclusion): New function, replacing old
884 command todo-edit-item-diary-inclusion and incorporating and fixing
885 functionality of deleted command todo-edit-item-diary-nonmarking,
886 making sure to remove todo-nondiary-marker when adding
887 diary-nonmarking-symbol.
888 (todo-edit-category-diary-inclusion): Make sure to delete
889 diary-nonmarking-symbol when adding todo-nondiary-marker.
890 (todo-edit-category-diary-nonmarking): Fix indentation.
891 (todo-insert-item--parameters): Group diary and nonmarking
892 parameters together.
893 (todo-insert-item--apply-args): Adjust to signature of
894 todo-insert-item--basic and incorporate copy parameter.
895 Make small code improvements.
896 (todo-insert-item--next-param): Improve prompt and adjust it to
897 new parameter grouping. Remove obsolete code.
898 (todo-edit-item--param-key-alist)
899 (todo-edit-item--date-param-key-alist)
900 (todo-edit-done-item--param-key-alist): New defconsts.
901 (todo-edit-item--prompt): New variable.
902 (todo-edit-item--next-key): New function.
903 (todo-key-bindings-t): Bind "e" to todo-edit-item.
904 Remove bindings of deleted commands.
905
906 2014-05-04 Leo Liu <sdl.web@gmail.com>
907
908 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
909
910 2014-05-04 Glenn Morris <rgm@gnu.org>
911
912 * allout-widgets.el (allout-widgets-tally)
913 (allout-decorate-item-guides):
914 * menu-bar.el (menu-bar-positive-p):
915 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
916 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
917 * progmodes/js.el (js--inside-param-list-p)
918 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
919 * progmodes/prolog.el (region-exists-p):
920 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
921 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
922 Doc fixes (replace `iff').
923
924 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
925
926 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
927
928 2014-05-04 Leo Liu <sdl.web@gmail.com>
929
930 Support Chinese diary entries in calendar and diary. (Bug#17393)
931 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
932 (calendar-chinese-from-absolute-for-diary)
933 (calendar-chinese-to-absolute-for-diary)
934 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
935 (diary-chinese-list-entries): New functions to list and mark
936 Chinese diary entries in the calendar window.
937 (diary-chinese-anniversary)
938 (diary-chinese-insert-anniversary-entry)
939 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
940 (diary-chinese-insert-yearly-entry): New commands to insert
941 Chinese diary entries.
942
943 * calendar/diary-lib.el (diary-font-lock-keywords):
944 Support font-locking Chinese dates.
945
946 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
947 inserting Chinese diary entries.
948
949 * calendar/calendar.el (diary-chinese-entry-symbol):
950 New customizable variable.
951 (calendar-mode-map): Add bindings for inserting Chinese diary
952 entries.
953
954 2014-05-03 Juri Linkov <juri@jurta.org>
955
956 * dired.el (dired-check-switches, dired-switches-recursive-p):
957 New functions. (Bug#17218)
958 (dired-switches-escape-p, dired-move-to-end-of-filename):
959 Use `dired-check-switches'.
960 (dired-insert-old-subdirs, dired-build-subdir-alist)
961 (dired-sort-R-check): Use `dired-switches-recursive-p'.
962
963 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
964
965 * simple.el (undo-make-selective-list): New algorithm fixes
966 incorrectness of position adjustments when undoing in region.
967 (Bug#17235)
968 (undo-elt-crosses-region): Make obsolete.
969 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
970 New functions to adjust positions using undo-deltas.
971
972 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
975 the last consecutive closing paren (bug#17345).
976
977 2014-04-30 Reuben Thomas <rrt@sc3d.org>
978
979 * dired.el (dired-mode): make terminology for eXpunge command
980 consistent. (Bug#17276)
981
982 2014-04-30 Eli Zaretskii <eliz@gnu.org>
983
984 * dired.el (dired-initial-position-hook, dired-initial-position):
985 Doc string fixes.
986
987 2014-04-30 Glenn Morris <rgm@gnu.org>
988
989 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
990
991 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
992
993 * faces.el (face-spec-recalc): Apply X resources only after the
994 defface spec has been applied. Thus, X resources are no longer
995 overriden by the defface spec which also fixes issues on win32 where
996 the toolbar coloring was wrong because it is set through X resources
997 and was (wrongfully) overriden. (Bug#16694)
998
999 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 * textmodes/rst.el (electric-pair-pairs): Declare.
1002 (rst-mode): Set it (bug#17131).
1003
1004 2014-04-30 Juri Linkov <juri@jurta.org>
1005
1006 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1007 and `print-level' to nil. (Bug#17351)
1008
1009 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1010
1011 * battery.el (battery-update): Handle the case where battery
1012 status is "N/A" (bug#17319).
1013
1014 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1017 to syntax-propertize.
1018 (ps-mode-auto-indent): Mark as obsolete.
1019 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1020 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1021 word regexp operators.
1022 (ps-mode-map): Move initialization into declaration. Remove binding
1023 for TAB, RET, >, ], and }.
1024 (ps-mode-syntax-table): Move initialization into declaration.
1025 Don't give word syntax to non-word chars.
1026 (ps-run-mode-map): Move initialization into declaration.
1027 (ps-mode-menu-main): Remove auto-indent entry.
1028 (ps-mode-smie-rules): New function.
1029 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1030 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1031 (ps-mode--string-syntax-table): New const.
1032 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1033 New functions.
1034 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1035 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1036
1037 2014-04-27 Daniel Colascione <dancol@dancol.org>
1038
1039 * term/xterm.el (xterm-paste): Use large finite timeout when
1040 reading event to avoid putting keys in this-command-keys.
1041
1042 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1043
1044 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1045 (perl-syntax-propertize-function): Use it. Extend handling of
1046 here-docs to the unquoted case.
1047
1048 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1049
1050 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1051 Use equal-including-properties to compare help-echo strings (bug#17331).
1052
1053 2014-04-25 Leo Liu <sdl.web@gmail.com>
1054
1055 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1056 Fix syntax for @. (Bug#17325)
1057
1058 2014-04-25 Daniel Colascione <dancol@dancol.org>
1059
1060 * emacs-lisp/cl.el (gv): Require gv early to break eager
1061 macro-expansion cycles.
1062
1063 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * simple.el (region-active-p): Check there's a mark (bug#17324).
1066
1067 * simple.el (completion-list-mode-map): Use choose-completion for the
1068 mouse binding as well (bug#17302).
1069 (completion-list-mode, completion-setup-function): Adjust docstring and
1070 echo area message accordingly.
1071 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1072 calling convention of choose-completion.
1073 * comint.el (comint-dynamic-list-completions):
1074 * term.el (term-dynamic-list-completions): Accept choose-completion.
1075
1076 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1077 &, |, +, - and * can't be a division (bug#17317).
1078
1079 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1080 features on gnome-terminal (bug#16988).
1081
1082 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1083
1084 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1085
1086 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1087 the declared object, ignore zero or more parens, not zero or one.
1088
1089 2014-04-24 Leo Liu <sdl.web@gmail.com>
1090
1091 * progmodes/xscheme.el (xscheme-expressions-ring)
1092 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1093 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1094 (xscheme-allow-output-p, xscheme-prompt)
1095 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1096
1097 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1098 Comment out unused functions.
1099
1100 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * info.el: Use lexical-binding and cl-lib.
1103 Use defvar-local and setq-local instead of make-local-variable.
1104 (Info-apropos-matches): Avoid add-to-list.
1105 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1106
1107 2014-04-24 Daniel Colascione <dancol@dancol.org>
1108
1109 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1110
1111 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1114
1115 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1116
1117 * dired.el (dired-insert-set-properties): Do not consider
1118 subdirectory headings and empty lines to be information that
1119 `dired-hide-details-mode' should hide. (Bug#17228)
1120
1121 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1124 Remove test messages.
1125 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1126 and `target' twice.
1127
1128 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1131 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1132
1133 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1134
1135 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1136
1137 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1138 Set "IFS=" when using read builtin, in order to preserve spaces in
1139 the file name. Add test messages for hunting a bug on hydra.
1140 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1141
1142 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1143
1144 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1145 Don't prettify a word within a symbol.
1146
1147 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1148
1149 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1150 possible.
1151
1152 2014-04-22 Daniel Colascione <dancol@dancol.org>
1153
1154 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1155 use defun to define `function-put'.
1156
1157 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1160 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1161 (lisp-mode-variables): Set font-lock-extra-managed-props.
1162
1163 * emacs-lisp/byte-run.el (function-put): New function.
1164 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1165 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1166 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1167 Use them.
1168
1169 2014-04-22 Daniel Colascione <dancol@dancol.org>
1170
1171 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1172 Add `full-p' parameter; when nil, call `macroexpand' instead of
1173 `macroexpand-all'.
1174
1175 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1176 Improve docstrings.
1177
1178 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1179 Use lambda function values, not quoted lambdas.
1180 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1181
1182 * emacs-lisp/cl-macs.el
1183 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1184 (cl-struct-slot-value): Conditionally use aref or nth so that the
1185 compiler produces optimal code.
1186
1187 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1190 (inline): Don't inline cl--set-elt.
1191 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1192 Define as inlinable instead.
1193 (cl-struct-set-slot-value): Remove.
1194
1195 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1196 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1197 Use setf instead.
1198
1199 2014-04-21 Daniel Colascione <dancol@dancol.org>
1200
1201 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1202 last two parameters after all.
1203 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1204 (cl--compiler-macro-assoc,cl-struct-slot-value)
1205 (cl-struct-set-slot-value): Stop using them.
1206
1207 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1210 entry in image-mode-winprops-alist.
1211
1212 2014-04-21 Daniel Colascione <dancol@dancol.org>
1213
1214 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1215 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1216 (byte-compile-toplevel-file-form): Use it.
1217
1218 * emacs-lisp/cl-macs.el:
1219 (cl--loop-let): Properly destructure `while' clauses.
1220
1221 2014-04-20 Daniel Colascione <dancol@dancol.org>
1222
1223 * vc/vc.el (vc-root-dir): New public autoloaded function for
1224 generically finding the current VC root.
1225 * vc/vc-hooks.el (vc-not-supported): New error.
1226 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1227
1228 2014-04-20 Daniel Colascione <dancol@dancol.org>
1229
1230 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1231 argument.
1232 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1233 argument in case we're inside a symbol-macrolet.
1234 (cl--do-arglist, cl--compiler-macro-typep)
1235 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1236 environment to `cl--const-expr-val'.
1237 (cl-struct-sequence-type,cl-struct-slot-info)
1238 (cl-struct-slot-offset, cl-struct-slot-value)
1239 (cl-struct-set-slot-value): New functions.
1240
1241 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1242
1243 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1244 assignments such as "case=hello" (bug#17297).
1245
1246 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1247
1248 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1249 Do not autoload.
1250 (tramp-file-name-handler, tramp-completion-file-name-handler):
1251 Revert patch from 2014-04-10, it isn't necessary anymore.
1252 (tramp-autoload-file-name-handler)
1253 (tramp-register-autoload-file-name-handlers): New defuns.
1254 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1255 (tramp-register-file-name-handlers): Remove also
1256 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1257 Do not autoload its invocation, but eval it after loading of 'tramp.
1258
1259 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1260
1261 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1262
1263 2014-04-17 Daniel Colascione <dancol@dancol.org>
1264
1265 Add support for bracketed paste mode; add infrastructure for
1266 managing terminal mode enabling and disabling automatically.
1267
1268 * xt-mouse.el:
1269 (xterm-mouse-mode): Simplify.
1270 (xterm-mouse-tracking-enable-sequence)
1271 (xterm-mouse-tracking-disable-sequence): New constants.
1272 (turn-on-xterm-mouse-tracking-on-terminal)
1273 (turn-off-xterm-mouse-tracking-on-terminal):
1274 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1275 parameters instead of random hooks.
1276 (turn-on-xterm-mouse-tracking)
1277 (turn-off-xterm-mouse-tracking): Delete.
1278
1279 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1280 (xterm-paste-ending-sequence): New constant.
1281 (xterm-paste): New command used for bracketed paste support.
1282
1283 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1284 (terminal-init-xterm-bracketed-paste-mode): New function.
1285 (terminal-init-xterm): Call it.
1286 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1287 and tty-mode-reset-strings instead of random hooks.
1288 (xterm-turn-on-modify-other-keys)
1289 (xterm-turn-off-modify-other-keys)
1290 (xterm-remove-modify-other-keys): Delete obsolete functions.
1291
1292 * term/screen.el: Rewrite to just use the xterm code.
1293 Add copyright notice. Mention tmux.
1294
1295 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1296
1297 * image-mode.el (image-mode-window-put): Also update the property of
1298 the "default window".
1299 * doc-view.el (doc-view-new-window-function): If no window
1300 exists, move to the last known page.
1301
1302 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1305 here-documents (bug#17262).
1306
1307 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1308
1309 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1310 Provide doc strings, as required by snarf-documentation.
1311
1312 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1315 arg of overlays-at. Use `invisible-p'.
1316
1317 * obsolete/lucid.el (extent-at):
1318 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1319 overlays-at.
1320 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1321
1322 2014-04-16 João Távora <joaotavora@gmail.com>
1323
1324 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1325 links. (Bug#17217).
1326
1327 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1328
1329 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1330 Use mapc to loop over a vector. (Bug#17257).
1331
1332 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1333
1334 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1335 patch, there are new problems with file names containing spaces.
1336 Get rid of backticks. (Bug#17238)
1337
1338 2014-04-16 João Távora <joaotavora@gmail.com>
1339
1340 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1341 possible bug.
1342
1343 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1344
1345 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1346 (blink-cursor-mode): Mention customization variables and the
1347 effect of 'blink-cursor-blinks'.
1348
1349 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1350
1351 * simple.el (undo): Prevent insertion of identity mapping into
1352 undo-equiv-table so as undo-only does not inf loop in the presence
1353 of consecutive nils in undo list.
1354
1355 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1356
1357 * faces.el (make-face): Deprecate optional argument as it is no
1358 longer needed/used since the conditional X resources handling
1359 has been pushed down to make-face-x-resource-internal itself.
1360 (make-empty-face): Don't pass optional argument to make-face.
1361
1362 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1363
1364 * savehist.el (savehist-save): Remove workaround for a read-passwd
1365 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1366 noticing that the shim was still present.
1367
1368 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1369
1370 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1371
1372 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1373
1374 * faces.el (face-set-after-frame-default): Remove unused local variable.
1375
1376 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1377
1378 * progmodes/grep.el: Use lexical-binding.
1379 (grep-expand-template): Pass explicit lexical env to `eval'.
1380 (zrgrep): Let-bind grep-find-template explicitly.
1381
1382 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1383 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1384
1385 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1386
1387 * international/characters.el <standard-case-table>: Add entries
1388 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1389 Set category of Coptic characters be 'g' (Greek).
1390
1391 2014-04-12 Leo Liu <sdl.web@gmail.com>
1392
1393 * progmodes/octave.el (completion-table-with-cache):
1394 Define if not available.
1395 (octave-goto-function-definition, octave-sync-function-file-names)
1396 (octave-find-definition-default-filename):
1397 Backquote upattern for compatibility.
1398
1399 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1400
1401 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1402 name twice due to backticks. (Bug#17238)
1403
1404 2014-04-12 Glenn Morris <rgm@gnu.org>
1405
1406 * term/w32-win.el (x-win-suspend-error):
1407 * term/x-win.el (x-win-suspend-error): Sync docs.
1408
1409 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1410
1411 * faces.el (make-face): Remove deprecated optional argument.
1412 The conditional application of X resources is handled directly by
1413 make-face-x-resource-internal since Emacs 24.4.
1414 (make-empty-face): Don't pass optional argument to make-face.
1415
1416 2014-04-11 Glenn Morris <rgm@gnu.org>
1417
1418 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1419
1420 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 Ediff's overlay priorities cause more trouble than they solve.
1423 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1424 (ediff-highest-priority): Remove function (bug#17234).
1425 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1426 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1427 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1428 overlay priorities.
1429
1430 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1431
1432 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1433 entry; use symbol boundaries to avoid mis-matches.
1434
1435 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1436
1437 * net/tramp.el (tramp-file-name-handler)
1438 (tramp-completion-file-name-handler): Avoid recursive loading.
1439
1440 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1441 Quote result also locally.
1442
1443 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1446 Remove left-over code.
1447
1448 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1449 Reuse the previous comment's indentation unconditionally if it's on its
1450 own line.
1451
1452 2014-04-09 Daniel Colascione <dancol@dancol.org>
1453
1454 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1455 `no-syntax-crossing' arguments. Forward to `up-list'.
1456 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1457 Implement logic for escaping from strings. Use narrowing to deal
1458 with corner cases.
1459
1460 2014-04-09 Leo Liu <sdl.web@gmail.com>
1461
1462 * net/rcirc.el (rcirc-connection-info): New variable.
1463 (rcirc-connect): Use it to store connection info.
1464 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1465 for killed process.
1466 (rcirc-cmd-reconnect): New command. (Bug#17045)
1467 (rcirc-mode, set-rcirc-encode-coding-system)
1468 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1469
1470 2014-04-09 Daniel Colascione <dancol@dancol.org>
1471
1472 * emacs-lisp/cl-indent.el: Add comment claiming
1473 facility is also good for elisp.
1474 (lisp-indent-find-method): New function.
1475 (common-lisp-indent-function): Recognize cl-loop.
1476 (common-lisp-indent-function-1): Recognize cl constructs; use
1477 `lisp-indent-find-method' instead of `get' directly.
1478 (if): Use else-body style for elisp.
1479
1480 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1481
1482 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1483 Module methods. (Bug#17216)
1484
1485 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1488 (describe-bindings-internal): Mark obsolete.
1489
1490 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1493 buffer-file-name, and buffer-file-truename any more.
1494
1495 2014-04-08 Leo Liu <sdl.web@gmail.com>
1496
1497 Use lexical-binding and require cl-lib.
1498 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1499 (rcirc-handler-generic, rcirc-fill-paragraph)
1500 (rcirc-format-response-string, rcirc-target-buffer)
1501 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1502 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1503 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1504 (rcirc-markup-timestamp, rcirc-markup-attributes)
1505 (rcirc-markup-my-nick, rcirc-markup-urls)
1506 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1507 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1508 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1509 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1510 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1511 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1512 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1513 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1514 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1515 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1516 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1517 use cl-lib.
1518
1519 2014-04-07 João Távora <joaotavora@gmail.com>
1520
1521 * elec-pair.el (electric-pair--syntax-ppss):
1522 When inside comments parse from comment beginning.
1523 (electric-pair--balance-info): Fix typo in comment.
1524 (electric-pair--in-unterminated-string-p): Delete.
1525 (electric-pair--unbalanced-strings-p): New function.
1526 (electric-pair-string-bound-function): New var.
1527 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1528 according to `electric-pair--in-unterminated-string-p'
1529
1530 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1531 Inhibit quote pairing if point-max is inside an unterminated string.
1532 (electric-pair--looking-at-unterminated-string-p): Delete.
1533 (electric-pair--in-unterminated-string-p): New function.
1534
1535 2014-04-07 Glenn Morris <rgm@gnu.org>
1536
1537 * shell.el (shell-directory-tracker):
1538 Go back to just ignoring failures. (Bug#17159)
1539
1540 2014-04-07 João Távora <joaotavora@gmail.com>
1541
1542 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1543 backspace. (bug#16981)
1544 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1545 (electric-pair-backward-delete-char-untabify): Delete.
1546 (electric-pair-mode-map): Bind backspace to a menu item filtering
1547 a new `electric-pair-delete-pair' command.
1548 (electric-pair-delete-pair): New command.
1549
1550 * progmodes/python.el (python-electric-pair-string-delimiter):
1551 Fix triple-quoting electricity. (Bug#17192)
1552
1553 * elec-pair.el (electric-pair-post-self-insert-function):
1554 Don't skip whitespace when `electric-pair-text-pairs' and
1555 `electric-pair-pairs' were used. syntax to
1556 electric-pair--skip-whitespace. (Bug#17183)
1557
1558 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1559
1560 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1561 "<F>". (Bug#17199)
1562
1563 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1564
1565 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1566 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1567
1568 2014-04-07 Glenn Morris <rgm@gnu.org>
1569
1570 * help.el (view-lossage): Doc tweak.
1571
1572 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1573
1574 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1575 only when inhibit-x-resources is nil, and do that earlier in the
1576 function. Doc fix. (Bug#16694)
1577 (face-spec-choose): Accept additional optional argument, whose
1578 value is returned if no matching attributes are found.
1579 (face-spec-recalc): Use the new optional argument when calling
1580 face-spec-choose. (Bug#16378)
1581 (make-face-x-resource-internal): Do nothing when
1582 inhibit-x-resources is non-nil. Don't touch the default face if
1583 reversed video is given--as was done in previous versions of Emacs.
1584 (face-set-after-frame-default): Don't call
1585 make-face-x-resource-internal here. (Bug#16434)
1586
1587 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1588
1589 * doc-view.el (doc-view-bookmark-jump):
1590 Use `bookmark-after-jump-hook' to jump to the right page after the
1591 buffer is shown in a window. (bug#16090)
1592
1593 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1594
1595 * international/characters.el (mirroring): Fix last change:
1596 instead of loading uni-mirrored.el explicitly, do that implicitly
1597 by creating the 'mirroring' uniprop table. This avoids announcing
1598 the loading of uni-mirrored.el.
1599
1600 2014-04-07 Glenn Morris <rgm@gnu.org>
1601
1602 * files.el (buffer-stale--default-function)
1603 (buffer-stale-function, revert-buffer--default):
1604 * autorevert.el (auto-revert-buffers): Doc tweaks.
1605
1606 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1607
1608 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1609
1610 2014-04-07 Glenn Morris <rgm@gnu.org>
1611
1612 * files.el (make-backup-file-name-function)
1613 (make-backup-file-name, make-backup-file-name--default-function)
1614 (make-backup-file-name-1, find-backup-file-name)
1615 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1616 (buffer-stale--default-function, buffer-stale-function)
1617 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1618 (revert-buffer, revert-buffer--default)
1619 (revert-buffer-insert-file-contents--default-function):
1620 Doc fixes related to defaults no longer being nil.
1621 (make-backup-file-name-function): Bump :version.
1622 Restore nil as a valid but deprecated custom type.
1623
1624 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1625
1626 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1627 Handle $' used as a variable (bug#17174).
1628
1629 * progmodes/perl-mode.el (perl-indent-new-calculate):
1630 Handle forward-sexp failure (bug#16985).
1631 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1632 modifiers introducing expressions (bug#17116).
1633
1634 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1637
1638 2014-04-05 Leo Liu <sdl.web@gmail.com>
1639
1640 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1641 Add define-compilation-mode.
1642
1643 2014-04-04 João Távora <joaotavora@gmail.com>
1644
1645 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1646 parse from comment beginning.
1647 (electric-pair--balance-info): Fix typo in comment.
1648 (electric-pair--in-unterminated-string-p): Delete.
1649 (electric-pair--unbalanced-strings-p): New function.
1650 (electric-pair-string-bound-function): New var.
1651 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1652 according to `electric-pair--in-unterminated-string-p'.
1653
1654 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1657 Move declaration before first use.
1658 (reftex-move-to-next-arg): Silence compiler warning.
1659
1660 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1661
1662 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1663 Use `window-total-width' instead of `window-width'.
1664
1665 2014-04-03 Daniel Colascione <dancol@dancol.org>
1666
1667 * subr.el (set-transient-map): Remove rms's workaround entirely;
1668 use new `suspicious-object' subr to mark our lambda for closer
1669 scrutiny during gc.
1670
1671 2014-04-02 Richard Stallman <rms@gnu.org>
1672
1673 * subr.el (set-transient-map): Comment out previous change.
1674
1675 2014-04-02 Glenn Morris <rgm@gnu.org>
1676
1677 * menu-bar.el (menu-bar-file-menu):
1678 * vc/ediff.el (ediff-current-file):
1679 Update for revert-buffer-function no longer being nil by default.
1680
1681 * simple.el (command-execute): Respect nil disabled-command-function.
1682
1683 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1684
1685 * simple.el (command-execute): Do not execute the command when it
1686 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1687
1688 2014-04-02 Juri Linkov <juri@jurta.org>
1689
1690 * dired-aux.el (dired-compress-file): Don't use string-match-p
1691 because its match data is used afterwards.
1692
1693 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1694
1695 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1696 0 like nil.
1697
1698 2014-04-02 João Távora <joaotavora@gmail.com>
1699
1700 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1701 Inhibit quote pairing if point-max is inside an unterminated string.
1702 (electric-pair--looking-at-unterminated-string-p):
1703 Delete.
1704 (electric-pair--in-unterminated-string-p): New function.
1705
1706 2014-04-01 Daniel Colascione <dancol@dancol.org>
1707
1708 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1709 when trying to complete the prompt.
1710
1711 2014-03-31 Leo Liu <sdl.web@gmail.com>
1712
1713 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1714 Refactor out eldoc-documentation-function-default.
1715 (eldoc-documentation-function-default): New function.
1716 (eldoc-documentation-function): Change value.
1717
1718 2014-03-31 Glenn Morris <rgm@gnu.org>
1719
1720 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1721
1722 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1723 (vhdl-compose-components-package, vhdl-compose-configuration):
1724 Abbreviate default-directory (missing from some previous upstream sync).
1725
1726 2014-03-31 Reto Zimmermann <reto@gnu.org>
1727
1728 Sync with upstream vhdl mode v3.35.2.
1729 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1730 (top-level): No longer require assoc.
1731 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1732 New functions. Use throughout to replace aget etc.
1733 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1734 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1735 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1736 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1737 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1738 except `vhdl-compiler'.
1739 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1740 when appropriate.
1741
1742 2014-03-31 Glenn Morris <rgm@gnu.org>
1743
1744 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1745 Revert 2014-03-26 merge goof; go back to using defalias.
1746
1747 2014-03-30 Daniel Colascione <dancol@dancol.org>
1748
1749 * comint.el (comint-send-input):
1750 Deactivate completion-in-region-mode before we send comint input.
1751 (Bug#17139).
1752
1753 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1754 on keyboard-quit.
1755
1756 2014-03-29 Glenn Morris <rgm@gnu.org>
1757
1758 * textmodes/reftex.el: Manage most autoloads automatically.
1759 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1760 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1761 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1762 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1763 * textmodes/reftex-toc.el: Set generated-autoload-file,
1764 and add autoload cookies for reftex.el.
1765 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1766
1767 2014-03-28 Glenn Morris <rgm@gnu.org>
1768
1769 * cus-start.el (report-emacs-bug-address): Set custom properties.
1770 * mail/emacsbug.el (report-emacs-bug-address):
1771 Variable is now defined in emacs.c.
1772
1773 * mail/emacsbug.el (report-emacs-bug):
1774 Include system-configuration-features.
1775
1776 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1777
1778 * simple.el (cycle-spacing): Never delete spaces on first run by
1779 default, but do so in a new 'fast mode and if there are already
1780 N spaces (the previous behavior).
1781 Compare N with its value in previous invocation so that changing
1782 prefix argument restarts `cycle-spacing' sequence.
1783 The idea is that with this change, binding M-SPC to
1784 `cycle-spacing' should not introduce any changes in behavior of
1785 the binding so long as users do not type M-SPC twice in a raw with
1786 the same prefix argument or lack thereof.
1787
1788 2014-03-28 Glenn Morris <rgm@gnu.org>
1789
1790 * faces.el (term-file-aliases): New variable.
1791 (tty-run-terminal-initialization): Respect term-file-aliases.
1792 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1793 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1794 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1795
1796 2014-03-27 Glenn Morris <rgm@gnu.org>
1797
1798 * startup.el (inhibit-startup-hooks): Doc tweak.
1799 (normal-top-level): Simplify running of hooks.
1800 For window-setup-hook, respect inhibit-startup-hooks.
1801 (command-line-1): Don't set window-setup-hook to nil.
1802
1803 Allow selective autoloading from obsolete/ directory.
1804 * Makefile.in (obsolete-autoloads): New rule.
1805 (autoloads): Run obsolete-autoloads.
1806 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1807 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1808
1809 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1810
1811 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1812 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1813
1814 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1815 Don't propertize `?' or `!' as symbol constituent when after
1816 colon. (Bug#17097)
1817
1818 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1819
1820 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1821 which is no longer needed and causes trouble in GTK builds (bug#17046).
1822
1823 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1824 Use url-insert-file-contents; package-handle-response no longer exists.
1825
1826 2014-03-26 Daniel Colascione <dancol@dancol.org>
1827
1828 * simple.el (process-menu-mode-map): New variable.
1829 (process-menu-delete-process): New command.
1830
1831 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1832
1833 * emacs-lisp/package.el: Fix bug#16733 (again).
1834 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1835 (url-http-target-url): Remove unused declarations.
1836 (package-handle-response): Remove.
1837 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1838 (package--download-one-archive): Use current-buffer instead of
1839 dynamic binding of `buffer'.
1840 (describe-package-1): Do not decode readme-string.
1841
1842 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1843
1844 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1845
1846 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1847 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1848 `remote-file-name-inhibit-cache' to nil in the second pass.
1849 (tramp-find-executable): Do not call "which" on SunOS.
1850 (tramp-send-command-and-check): Fix docstring.
1851 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1852 check whether source directory has set the sticky bit.
1853
1854 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1855
1856 * simple.el (primitive-undo): Only process marker adjustments
1857 validated against their corresponding (TEXT . POS). Issue warning
1858 for lone marker adjustments in undo history. (Bug#16818)
1859 (undo-make-selective-list): Add marker adjustments to selective
1860 undo list based on whether their corresponding (TEXT . POS) is in
1861 the region. Remove variable adjusted-markers, which was unused
1862 and only non nil during undo-make-selective-list.
1863 (undo-elt-in-region): Return nil when passed a marker adjustment
1864 and explain in function doc.
1865
1866 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1867
1868 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1869
1870 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1871
1872 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1873 Match special global variables without curlies, too.
1874 (ruby-font-lock-keywords): Simplify the matcher for special global
1875 variables. Don't require a non-word character after the variable.
1876 (Bug#17057)
1877
1878 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * simple.el (redisplay-highlight-region-function): Increase priority of
1881 overlay to make sure boundaries are visible (bug#15899).
1882
1883 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1884
1885 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1886 (frameset-restore): Compare display strings with equal.
1887
1888 * frame.el (make-frame): Don't quote display name in error message,
1889 it is already a string.
1890
1891 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1892
1893 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1894 the password.
1895
1896 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1897
1898 * emacs-lisp/package.el (package--add-to-archive-contents):
1899 Include already installed and built-in packages in
1900 `package-archive-contents'.
1901 (package-install): Don't include already installed packages in the
1902 options during interactive invocation. (Bug#16762)
1903 (package-show-package-list): If the buffer is already displayed in
1904 another window, switch to that window.
1905
1906 2014-03-26 Reto Zimmermann <reto@gnu.org>
1907
1908 Sync with upstream vhdl mode v3.35.1.
1909 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1910 (vhdl-compiler-alist): Doc fix.
1911 (vhdl-goto-line): Remove.
1912 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1913 (vhdl-mode) <paragraph-start>: Fix value.
1914 (vhdl-fix-statement-region): Not `for' in wait-statement.
1915 (vhdl-beautify-region): Also (un)tabify.
1916 (vhdl-get-visible-signals):
1917 Scan declarative part of generate statements.
1918 (vhdl-template-record): Fix indentation for record type declaration.
1919 (vhdl-expand-abbrev, vhdl-expand-paren):
1920 Revert to using fset again rather than defalias.
1921 (vhdl-scan-directory-contents): Tweak.
1922 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1923 (vhdl-compose-components-package):
1924 Replace vhdl-goto-line with forward-line.
1925 (top-level): Tweak speedbar frame selection.
1926 (vhdl-generate-makefile-1): Support for compilers with no
1927 unit-to-file name mapping (create directory with dummy files).
1928
1929 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1930
1931 Sync with upstream verilog-mode revision 702457d.
1932 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1933 (create-lockfiles): Declare.
1934 (verilog-read-decls): Fix module header imports, bug709.
1935 Reported by Victor Lau.
1936 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1937 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1938 interface-only modules, bug721. Reported by Dean Hoyt.
1939
1940 2014-03-26 Glenn Morris <rgm@gnu.org>
1941
1942 * obsolete/gulp.el: Move here from emacs-lisp/.
1943
1944 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1945 Remove fallback aliases, since they are always defined now.
1946
1947 2014-03-24 Daniel Colascione <dancol@dancol.org>
1948
1949 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1950 instead of cl-loop search function.
1951
1952 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1953
1954 * calendar/parse-time.el (parse-time-iso8601-regexp)
1955 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1956 it more generally.
1957
1958 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1959
1960 * net/dns.el (network-interface-list): Define for XEmacs.
1961
1962 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1963
1964 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1965 the network interfaces changed.
1966 (dns-query): Use it to flush the data.
1967
1968 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1969
1970 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1971
1972 2014-03-23 Daniel Colascione <dancol@dancol.org>
1973
1974 Change subword-mode to use `find-word-boundary-function-table' and
1975 replace `capitalized-words-mode'. Also, convert to lexical
1976 binding.
1977
1978 * progmodes/cap-words.el: Delete now-obsolete file.
1979 * progmodes/subword.el: Reimplement using
1980 `find-word-boundary-function-table'.
1981 (subword-mode-map): Hollow out.
1982 (capitalized-words-mode): Define as obsolete alias for
1983 `subword-mode'.
1984 (subword-mode, superword-mode): Tweak documentation to reflect new
1985 implementation; call `subword-setup-buffer'.
1986 (subword-forward, subword-capitalize): Add underscore to indicate
1987 unused variable.
1988 (subword-find-word-boundary-function-table): New constant.
1989 (subword-empty-char-table): New constant.
1990 (subword-setup-buffer): New function.
1991 (subword-find-word-boundary): New function.
1992
1993 2014-03-23 Daniel Colascione <dancol@dancol.org>
1994
1995 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1996 list to look for keyword arguments instead of `memq', fixing
1997 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1998 Please make bootstrap.
1999
2000 2014-03-22 Glenn Morris <rgm@gnu.org>
2001
2002 * dired.el (dired-read-regexp): Make obsolete.
2003 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2004 (dired-flag-files-regexp):
2005 * dired-aux.el (dired-mark-read-regexp):
2006 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2007
2008 * startup.el (fancy-startup-text):
2009 * help.el (describe-gnu-project): Visit online info about GNU project.
2010
2011 * help-fns.el (help-fns--interactive-only): New function.
2012 (help-fns-describe-function-functions): Add the above function.
2013 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2014 (next-line, previous-line): Remove hand-written interactive-only
2015 information from doc strings, it is auto-generated now.
2016 * bookmark.el (bookmark-write):
2017 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2018 (epa-mail-import-keys): Mark interactive-only,
2019 and remove hand-written interactive-only information from doc strings.
2020 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2021 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2022 * files.el (not-modified):
2023 * simple.el (mark-whole-buffer): Mark interactive-only.
2024
2025 * emacs-lisp/byte-run.el (defun-declarations-alist):
2026 Add interactive-only. Doc tweak.
2027 (macro-declarations-alist): Doc tweak.
2028 * subr.el (declare): Doc tweak (add xref to manual).
2029 * comint.el (comint-run):
2030 * files.el (insert-file-literally, insert-file):
2031 * replace.el (replace-string, replace-regexp):
2032 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2033 (delete-forward-char, goto-line, insert-buffer, next-line)
2034 (previous-line): Set interactive-only via declare.
2035
2036 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2037
2038 * emacs-lisp/package.el (package-desc): Use the contents of the
2039 quoted form, not its cdr. (Bug#16873)
2040
2041 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2042
2043 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2044 benefit of doc.c; change parameter profile to match the X function.
2045
2046 2014-03-22 Leo Liu <sdl.web@gmail.com>
2047
2048 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2049 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2050
2051 2014-03-21 Richard Stallman <rms@gnu.org>
2052
2053 * battery.el (battery-linux-sysfs): Search for each field
2054 from the beginning of the buffer.
2055
2056 * subr.el (set-transient-map): Clear out function and value
2057 of the temporary symbol when we're done with it.
2058
2059 * mail/rmailsum.el (rmail-summary-delete-forward):
2060 Optimize case of reaching end and handling count.
2061 (rmail-summary-mark-deleted): Optimize when N is current msg.
2062 Don't create new summary line.
2063 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2064 (rmail-summary-undelete-many): Rewrite for speed.
2065 (rmail-summary-msg-number): New function.
2066
2067 * mail/rmail.el (rmail-delete-message): Update summary.
2068 (rmail-undelete-previous-message): Handle repeat count arg.
2069 (rmail-delete-backward, rmail-delete-forward): Likewise.
2070
2071 2014-03-21 Daniel Colascione <dancol@dancol.org>
2072
2073 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2074 information in bug reports.
2075
2076 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2077
2078 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2079 and `tramp-copy-env'.
2080
2081 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2082 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2083
2084 2014-03-21 Glenn Morris <rgm@gnu.org>
2085
2086 * electric.el (electric-indent-post-self-insert-function): Add doc.
2087
2088 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2089
2090 * emacs-lisp/package.el (package-compute-transaction):
2091 Use `version-list-<=' to compare the requirement version against
2092 the version of package already to be installed. Update the error
2093 message. (Bug#16826)
2094
2095 * progmodes/ruby-mode.el (ruby-smie-rules):
2096 Add indentation rule for ` @ '. (Bug#17050)
2097
2098 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2099
2100 * align.el (align-regexp): Remove superfluous backslash.
2101
2102 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2103 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2104 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2105 Fix docstring typos.
2106 (ffap-next): Use C-u in docstring.
2107 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2108 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2109 Remove superfluous backslashes.
2110 (ffap-string-at-point): Reflow docstring.
2111
2112 * server.el (server-host): Reflow docstring.
2113 (server-unload-function): Fix docstring typo.
2114 (server-eval-at): Remove superfluous backslash.
2115
2116 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2117 (skeleton-insert): Doc fix.
2118 (skeleton-insert): Reflow docstring.
2119
2120 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2121 (tty-color-approximate, tty-color-by-index, tty-color-values)
2122 (tty-color-desc): Remove superfluous backslashes.
2123
2124 2014-03-21 Glenn Morris <rgm@gnu.org>
2125
2126 * cus-start.el (history-length): Bump :version.
2127
2128 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2129 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2130 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2131 Don't set `make-backup-files'.
2132
2133 * info.el (info--prettify-description): New function,
2134 to give info-finder descriptions consistent case, punctuation.
2135 (Info-finder-find-node): Use it. Sort packages.
2136 Refer to "description" rather than "commentary".
2137
2138 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2139
2140 * frameset.el (frameset--print-register): New function.
2141 (frameset-to-register): Use it.
2142
2143 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2144
2145 * progmodes/hideif.el (hif-string-to-number): New function.
2146 (hif-tokenize): Use it to understand non-decimal floats.
2147
2148 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2149
2150 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2151
2152 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * electric.el (electric-newline-and-maybe-indent): New command.
2155 Bind it globally to C-j.
2156 (electric-indent-mode): Don't mess with the global map any more.
2157 Don't drop the post-self-insert-hook is some buffer is still using it
2158 (bug#16770).
2159
2160 * bindings.el (global-map): Remove C-j binding.
2161
2162 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2163 the docstring of functions advised before dumping (bug#16993).
2164
2165 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2166
2167 * ps-print.el (ps-generate-postscript-with-faces):
2168 Explicitly deactivate the mark (bug#16866).
2169 * simple.el (deactivate-mark): Update region highlight.
2170
2171 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2172
2173 * emacs-lisp/package.el (describe-package-1):
2174 Decode commentary (bug#16733).
2175
2176 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2177
2178 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2179 modification of the value argument of :set (bug#16755).
2180
2181 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * simple.el (newline-and-indent): Do autofill (bug#17031).
2184
2185 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2186
2187 * newcomment.el (comment-normalize-vars): Only add escaping check
2188 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2189 (comment-beginning): Use `narrow-to-region' instead of moving back
2190 one character.
2191 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2192 (comment-start-skip): Update the docstring.
2193
2194 2014-03-18 Richard Stallman <rms@gnu.org>
2195
2196 * dired.el (dired-display-file): Force use of other window.
2197
2198 2014-03-18 Daniel Colascione <dancol@dancol.org>
2199
2200 * startup.el (tty-handle-args): Remove debug message from 2007.
2201
2202 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2203
2204 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2205 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2206 (advice--make-1, advice-add, advice-remove):
2207 Remove braindead :advice-pending hack.
2208
2209 2014-03-17 Glenn Morris <rgm@gnu.org>
2210
2211 * calendar/calendar.el (calendar-generate-month): Apply weekend
2212 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2213
2214 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2215
2216 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2217 (tramp-call-process): Trace also DESTINATION.
2218
2219 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2220 Quote file names when they are local. Remove superfluous trace.
2221
2222 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2223
2224 * newcomment.el (comment-beginning): If `comment-start-skip'
2225 doesn't match, move back one char and try again. (Bug#16971)
2226
2227 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2228 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2229 Set `comment-start-skip' to a simpler value that doesn't try to
2230 check if the semicolon is escaped (this is handled by
2231 `syntax-ppss' now). (Bug#16971)
2232
2233 * progmodes/scheme.el (scheme-mode-variables): Same.
2234
2235 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2236
2237 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2238 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2239 current (Bug#16816, Bug#17007).
2240 (with-current-buffer-window): New macro doing the same as
2241 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2242 * help.el (help-print-return-message): Warn in doc-string to not
2243 use this in `with-help-window'.
2244 (describe-bindings-internal): Call `describe-buffer-bindings'
2245 from within help buffer. See Juanma's scenario in (Bug#16816).
2246 (with-help-window): Update doc-string.
2247 * dired.el (dired-mark-pop-up):
2248 * files.el (save-buffers-kill-emacs):
2249 * register.el (register-preview): Use `with-current-buffer-window'
2250 instead of `with-temp-buffer-window'.
2251
2252 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2253
2254 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2255 Implement inserting into current buffer, documented in their docstrings.
2256 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2257 (rst-section-tree-point, rst-forward-section, rst-indent)
2258 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2259 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2260 (rst-font-lock-handle-adornment-pre-match-form)
2261 (rst-repeat-last-character): Reflow docstrings.
2262 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2263 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2264 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2265 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2266 Fix docstring typos.
2267 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2268 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2269 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2270
2271 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2272
2273 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2274 for compatibility with other ports.
2275 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2276 from the -xrm command line argument, but in the Nextstep port its value
2277 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2278
2279 * progmodes/python.el (defconst, python-syntax-count-quotes)
2280 (python-indent-region, python-indent-shift-right)
2281 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2282 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2283 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2284 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2285 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2286 (python-shell-buffer-substring, python-shell-send-buffer)
2287 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2288 (python-completion-complete-at-point, python-fill-docstring-style)
2289 (python-eldoc-function, python-imenu-format-item-label)
2290 (python-imenu-format-parent-item-label)
2291 (python-imenu-format-parent-item-jump-label)
2292 (python-imenu--build-tree, python-imenu-create-index)
2293 (python-imenu-create-flat-index): Fix docstring typos.
2294 (python-indent-context, python-shell-prompt-regexp, run-python):
2295 Remove superfluous backslashes.
2296 (python-indent-line, python-nav-beginning-of-defun)
2297 (python-shell-get-buffer, python-shell-get-process)
2298 (python-info-current-defun, python-info-current-line-comment-p)
2299 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2300 (python-indent-post-self-insert-function, python-shell-send-file)
2301 (python-shell-completion-get-completions)
2302 (python-shell-completion-complete-or-indent)
2303 (python-eldoc--get-doc-at-point): Reflow docstrings.
2304
2305 2014-03-14 Glenn Morris <rgm@gnu.org>
2306
2307 * emacs-lisp/package.el (package-menu-mode-map):
2308 Replace use of obsolete function alias. Tweak menu item text.
2309
2310 * info.el (Info-finder-find-node):
2311 Ignore the `emacs' metapackage. (Bug#10813)
2312
2313 * finder.el (finder-list-matches): Include unversioned packages
2314 in the result of a keyword search.
2315
2316 * finder.el (finder--builtins-descriptions): New constant.
2317 (finder-compile-keywords): Use finder--builtins-descriptions.
2318
2319 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2320
2321 * simple.el (blink-matching-paren): Describe the new value,
2322 `jump', enabling the old behavior.
2323 (blink-matching-open): Use that value. (Bug#17008)
2324
2325 2014-03-14 Glenn Morris <rgm@gnu.org>
2326
2327 * finder.el (finder-no-scan-regexp): Add leim-list.
2328 (finder-compile-keywords):
2329 Don't skip files with same basename. (Bug#14010)
2330 * Makefile.in (setwins_finder): New, excluding leim.
2331 (finder-data): Use setwins_finder.
2332
2333 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2334 (help-function-arglist, help-make-usage): Move from here...
2335 * help.el (help-split-fundoc, help-add-fundoc-usage)
2336 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2337 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2338
2339 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2340
2341 * net/socks.el (socks, socks-override-functions)
2342 (socks-find-services-entry):
2343 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2344 (hif-find-ifdef-block):
2345 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2346
2347 * net/tls.el (tls-program): Reflow docstring.
2348
2349 * progmodes/pascal.el (pascal-mode-abbrev-table)
2350 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2351 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2352 (pascal-outline-mode): Fix docstring typos.
2353 (pascal-mode): Let define-derived-mode document mode hook.
2354 (pascal-uncomment-area): Reflow.
2355 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2356
2357 * progmodes/opascal.el (opascal-compound-block-indent)
2358 (opascal-case-label-indent): Fix docstring typos.
2359 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2360
2361 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2362
2363 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2364 Fontify multiple adjacent negation chars. (Bug#17004)
2365
2366 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2367
2368 * emacs-lisp/package.el (package--prepare-dependencies):
2369 Accept requirements without explicit version (bug#14941).
2370
2371 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2372
2373 * register.el (register-separator, copy-to-register): Doc fixes.
2374 (register-preview-default): Remove unnecessary call to concat.
2375
2376 * frameset.el (frameset-restore): When checking for a visible frame,
2377 use the action map instead of calling visible-frame-list.
2378
2379 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2380
2381 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2382
2383 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2384
2385 * window.el (fit-frame-to-buffer): Get maximum width from
2386 display's width instead of height.
2387
2388 2014-03-12 Glenn Morris <rgm@gnu.org>
2389
2390 * desktop.el (desktop-restore-frames)
2391 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2392 (desktop-restore-reuses-frames): Doc tweaks.
2393
2394 * electric.el (electric-indent-mode): Doc fix.
2395
2396 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2397
2398 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2399 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2400 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2401 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2402 (cvs-dired-use-hook): Fix docstring typos.
2403 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2404 Doc fixes.
2405
2406 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2407 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2408 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2409 (cvs-execute-single-dir): Fix docstring typos.
2410
2411 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2412 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2413
2414 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2415
2416 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2417 Fix docstring typos.
2418
2419 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2420
2421 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2422 called from jump-to-register after unloading the frameset package.
2423
2424 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2427 (bug#16975). Deactivate the mark before setting it to nil.
2428 (activate-mark): Do nothing if region is already active.
2429
2430 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2431
2432 * frameset.el (frameset--target-display): Remove definition; declare.
2433 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2434
2435 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2436
2437 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2438 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2439 when the advice is pending.
2440 (advice-remove): Remove this marker when not needed any more.
2441
2442 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2443
2444 * frameset.el: Separate options for reusing frames and cleaning up.
2445 (frameset--reuse-list): Remove definition; declare.
2446 (frameset--action-map): Declare.
2447 (frameset--find-frame-if): Doc fix.
2448 (frameset--restore-frame): Cache frame action.
2449 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2450 how to clean up the frame list after restoring. Remove cleaning
2451 options from REUSE-FRAMES. Change all keyword values to symbols.
2452 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2453
2454 * desktop.el (desktop-restore-forces-onscreen)
2455 (desktop-restore-reuses-frames): Use non-keyword values.
2456 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2457
2458 2014-03-10 Glenn Morris <rgm@gnu.org>
2459
2460 * files.el (find-file): Doc fix: update info node name.
2461
2462 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2463 Doc fix: remove references to deleted info nodes.
2464
2465 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2466
2467 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2468 Do not add `nil' to the environment, when there's no remote `locale'.
2469 (tramp-find-inline-encoding): Check, that the remote host has
2470 installed perl, before sending scripts.
2471
2472 2014-03-10 Leo Liu <sdl.web@gmail.com>
2473
2474 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2475 Clear eldoc-last-message. (Bug#16920)
2476
2477 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2480 (bug#14430).
2481
2482 2014-03-09 Juri Linkov <juri@jurta.org>
2483
2484 * ansi-color.el (ansi-color-names-vector): Copy default colors
2485 from `xterm-standard-colors' that look well on the default white
2486 background (and also on the black background) to avoid illegible
2487 color combinations like yellow-on-white and white-on-white.
2488 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2489
2490 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2491
2492 * frameset.el (frameset-restore): When no frame is visible, do not
2493 generate a list of frames, just make visible the selected one.
2494
2495 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2496
2497 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2498 it only contains the repository root. (Bug#16897)
2499
2500 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2501
2502 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2503 only when `remote-file-name-inhibit-cache' is nil.
2504 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2505
2506 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2507
2508 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2509 Fix doc-strings.
2510 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2511 fit-frame-to-buffer variable. Fix doc-string.
2512 (fit-window-to-buffer): Set ONLY argument in call of
2513 fit-frame-to-buffer. Fix doc-string.
2514
2515 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2516
2517 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2518 (tramp-action-password): Clear password cache if needed.
2519 (tramp-read-passwd): Do not clear password cache.
2520
2521 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2522 cache unless it is the first password request.
2523
2524 2014-03-06 Glenn Morris <rgm@gnu.org>
2525
2526 * simple.el (newline): Doc tweak.
2527
2528 * emacs-lisp/shadow.el (load-path-shadows-find):
2529 Ignore dir-locals. (Bug#12357)
2530
2531 2014-03-05 Glenn Morris <rgm@gnu.org>
2532
2533 * files.el (interpreter-mode-alist):
2534 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2535
2536 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2537
2538 * frameset.el (frameset--initial-params): Filter out null entries.
2539
2540 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2541
2542 * window.el (window-min-height, window-min-width):
2543 Rewrite doc-strings.
2544 (window-body-size): Add PIXELWISE argument to make it consistent
2545 with its callees.
2546
2547 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2548
2549 * finder.el (finder-mode-map, finder-mode-syntax-table):
2550 Revert part of 2014-02-28 change.
2551
2552 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2553
2554 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2555 (eww-setup-buffer): Clear next/prev/etc more reliably.
2556 (eww-textarea-map): [tab] doesn't work on tty.
2557 Reported by Mario Lang.
2558
2559 * net/shr.el (shr-map): Ditto.
2560
2561 2014-03-04 Glenn Morris <rgm@gnu.org>
2562
2563 * minibuffer.el (completion-hilit-commonality):
2564 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2565
2566 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2567
2568 * hilit-chg.el (hilit-chg-unload-function): New function.
2569 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2570 (hilit-chg-map-changes): Prefer cardinal number to digit.
2571 (hilit-chg-display-changes): Reflow docstring.
2572 (highlight-changes-rotate-faces): Remove superfluous backslash.
2573
2574 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2575
2576 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2577 `tramp-send-command-and-check'.
2578
2579 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2580
2581 * hexl.el (hexl-address-region, hexl-ascii-region)
2582 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2583 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2584 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2585 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2586 (hexl-mode): Doc fix.
2587 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2588 (hexl-mode-ruler): Fix typos in docstrings.
2589
2590 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2591 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2592 Remove superfluous backslashes.
2593 (strokes-last-stroke, strokes-global-map, strokes-mode):
2594 Reflow docstrings.
2595 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2596 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2597 (strokes-distance-squared, strokes-global-set-stroke)
2598 (strokes-global-set-stroke-string): Doc fixes.
2599 (strokes-help): Fix typos; reflow docstring.
2600
2601 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2602
2603 * window.el (window-in-direction): Fix doc-string.
2604
2605 2014-03-04 Glenn Morris <rgm@gnu.org>
2606
2607 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2608 Explicit error if no grammar.
2609 (smie-config-save): Doc fix. Fix quote typo.
2610
2611 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2614 electric-indent-mode-hook if we obey electric-indent-mode.
2615 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2616 decide whether we obey electric-indent-mode.
2617 (c-change-set-fl-decl-start, c-extend-after-change-region):
2618 Silence warnings.
2619 (c-electric-indent-mode-hook): Assume we do want to obey
2620 electric-indent-mode.
2621
2622 * electric.el (electric-indent-mode-has-been-called): Remove.
2623 (electric-indent-mode): Fix accordingly.
2624
2625 * files.el (hack-local-variables): Mention file name in warning.
2626
2627 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2628
2629 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2630
2631 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2632 * simple.el (delete-forward-char): Mark as interactive-only.
2633
2634 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2635
2636 * icomplete.el (icomplete-completions):
2637 Follow-up to 2014-03-01 change.
2638
2639 * icomplete.el: Miscellaneous doc fixes.
2640 Use Icomplete everywhere instead of icomplete for consistency.
2641 (icomplete-max-delay-chars): Fix typo.
2642 (icomplete-mode): Use \[].
2643 (icomplete-tidy, icomplete-exhibit): Reflow.
2644 (icomplete-minibuffer-setup-hook, icomplete-completions):
2645 Remove superfluous backlashes.
2646
2647 * ido.el: Miscellaneous doc fixes.
2648 Use Ido everywhere instead of ido or `ido' for consistency.
2649 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2650 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2651 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2652 (ido-separator): Extract obsolescence info from docstring and declare
2653 with make-obsolete-variable.
2654 (ido-minibuffer-setup-hook): Simplify example.
2655 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2656 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2657 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2658 (ido-everywhere): Reflow docstring.
2659 (ido-toggle-vc): Doc fix.
2660 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2661 of long list of keybindings.
2662
2663 2014-03-03 Glenn Morris <rgm@gnu.org>
2664
2665 * frame.el (display-pixel-height, display-pixel-width)
2666 (display-mm-dimensions-alist, display-mm-height)
2667 (display-mm-width): Doc tweaks.
2668
2669 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2670
2671 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2672 case of undo in region.
2673
2674 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2675
2676 * window.el (fit-window-to-buffer): Fix argument in window-size
2677 call when window is horizontally combined.
2678
2679 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2680
2681 * icomplete.el (icomplete-completions): Use string-width.
2682 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2683
2684 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2685
2686 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2687 Highlight regexp options. (Bug#16914)
2688
2689 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2690
2691 * window.el (window--max-delta-1): Round down when calculating
2692 how many lines/columns we can get from a window.
2693
2694 2014-03-01 Glenn Morris <rgm@gnu.org>
2695
2696 * isearch.el (search-invisible): Doc fix.
2697
2698 * minibuffer.el (completion-hilit-commonality):
2699 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2700 * comint.el (comint-dynamic-list-completions): Doc fix.
2701 * comint.el (comint-dynamic-list-completions):
2702 * filecache.el (file-cache-minibuffer-complete):
2703 * tempo.el (tempo-display-completions):
2704 * eshell/em-hist.el (eshell-list-history):
2705 Replace use of obsolete argument of display-completion-list.
2706
2707 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2708
2709 * icomplete.el (icomplete-completions):
2710 Revert back to using "..." when ?… cannot be displayed.
2711
2712 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2713
2714 * finder.el (finder-unload-function): New function.
2715
2716 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2717
2718 * dframe.el (dframe-detach):
2719 * find-dired.el (find-dired, find-name-dired):
2720 * finder.el (finder-mode-map, finder-mode-syntax-table)
2721 (finder-headmark, finder-select, finder-mouse-select):
2722 Fix docstring typos.
2723
2724 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2725
2726 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2727 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2728 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2729 Fix doc-string based on a suggestion by Nicolas Richard
2730 <theonewiththeevillook@yahoo.fr>.
2731 * help.el (with-help-window): Fix doc-string.
2732
2733 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2734
2735 * net/shr.el (shr-image-animate): New option.
2736 (shr-put-image): Respect shr-image-animate.
2737
2738 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * net/tramp-adb.el (tramp-adb-parse-device-names):
2741 Use `accept-process-output'.
2742 (tramp-adb-handle-file-truename): Cache the localname only.
2743 (tramp-adb-handle-make-directory)
2744 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2745 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2746 modes cannot be changed.
2747
2748 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2749 file properties of symlinks.
2750
2751 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2752
2753 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2754 required/optional fields to match development biblatex. (Bug#16781)
2755
2756 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2757
2758 * saveplace.el (toggle-save-place):
2759 Fix argument handling. (Bug#16673)
2760
2761 2014-02-28 Glenn Morris <rgm@gnu.org>
2762
2763 * minibuffer.el (completions-first-difference)
2764 (completions-common-part, completion-hilit-commonality): Doc fixes.
2765
2766 2014-02-28 Karl Berry <karl@gnu.org>
2767
2768 * info.el (Info-mode-map): Add H for describe-mode,
2769 to synchronize with standalone Info.
2770
2771 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2772
2773 * progmodes/sql.el (sql-interactive-mode):
2774 Avoid setting global comint-input-ring-separator. (Bug#16814)
2775
2776 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2777
2778 * net/dbus.el (dbus--init-bus): Declare function.
2779 (dbus-path-local, dbus-interface-local): New defconst.
2780 (dbus-init-bus): Use them.
2781 (dbus-return-values-table): Extend doc.
2782 (dbus-handle-bus-disconnect): Extend error message.
2783
2784 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2785
2786 * subr.el (y-or-n-p): Fix double space issue in message.
2787
2788 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2789
2790 * net/tramp.el (tramp-call-process): Improve trace message.
2791 (tramp-handle-insert-file-contents): Trace error case.
2792
2793 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2794 <insert-directory>: Use `tramp-handle-insert-directory'.
2795 (tramp-adb-handle-insert-directory): Remove function.
2796 (tramp-adb-send-command-and-check): New defun, replacing
2797 `tramp-adb-command-exit-status'. Change all callees.
2798 (tramp-adb-handle-file-attributes)
2799 (tramp-adb-handle-directory-files-and-attributes): Use it.
2800 (tramp-adb-ls-output-name-less-p):
2801 Use `directory-listing-before-filename-regexp'.
2802 (tramp-adb-handle-delete-directory): Flush also file properties of
2803 the truename of directory.
2804 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2805 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2806 (tramp-adb-handle-write-region): Implement APPEND.
2807 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2808 properties correctly.
2809 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2810 variables. Check for connected devices only when needed.
2811
2812 2014-02-27 Glenn Morris <rgm@gnu.org>
2813
2814 * minibuffer.el (completion-table-dynamic)
2815 (completion-table-with-cache): Doc fixes.
2816
2817 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2818 (completing-read-multiple): Doc fixes.
2819
2820 2014-02-27 Daniel Colascione <dancol@dancol.org>
2821
2822 * minibuffer.el (completion--nth-completion): Fix indentation.
2823
2824 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2825 explicit tramp path is empty.
2826
2827 2014-02-27 Glenn Morris <rgm@gnu.org>
2828
2829 * emacs-lisp/crm.el (completing-read-multiple):
2830 Empower help-enable-auto-load.
2831
2832 2014-02-26 Glenn Morris <rgm@gnu.org>
2833
2834 * startup.el (command-line): Don't init the tty in daemon mode.
2835
2836 Avoid calling tty-setup-hook twice, eg if a term file
2837 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2838 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2839 (tty-create-frame-with-faces): Use it.
2840 * startup.el (command-line): Pass run-hook argument
2841 to tty-run-terminal-initialization.
2842
2843 * dired.el (dired-restore-desktop-buffer): Demote errors;
2844 eg in case a glob match fails. (Bug#16884)
2845
2846 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2847
2848 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2849 error from `read-from-string'. (Bug#16850)
2850
2851 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2852 result of `completing-read' in the interactive form. (Bug#16854)
2853
2854 2014-02-25 Glenn Morris <rgm@gnu.org>
2855
2856 * image.el (image-animate, image-animate-timeout):
2857 Stop animating images in dead buffers. (Bug#16878)
2858
2859 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2860
2861 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2862 Doc fixes.
2863 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2864 * term/sun.el (sun-raw-prefix-hooks):
2865 Use tty-setup-hook instead of term-setup-hook.
2866 (terminal-init-sun): Construct message from bytecomp plist.
2867 * term/wyse50.el (enable-arrow-keys): Doc fix.
2868
2869 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2870
2871 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2872 Fix docstring typos.
2873
2874 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2875
2876 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2877
2878 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2879
2880 * minibuffer.el (completion--try-word-completion):
2881 Fix error when completing M-x commands (bug#16808).
2882
2883 2014-02-24 Leo Liu <sdl.web@gmail.com>
2884
2885 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2886
2887 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2888
2889 * apropos.el (apropos-print): Avoid formatting error when
2890 apropos-do-all and apropos-compact-layout are both t.
2891
2892 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2893
2894 * apropos.el (apropos-property, apropos-all-words-regexp)
2895 (apropos-true-hit, apropos-variable, apropos-print):
2896 Fix docstring typos, and remove obsolete comment.
2897
2898 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2899
2900 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2901 Preserve trailing "/". (Bug#16851)
2902
2903 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2904
2905 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2906 after `=>' (bug#16811).
2907 (ruby-smie-rules): Handle the inconsistent second element of the
2908 list returned by `smie-indent--parent'.
2909 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2910 method call.
2911
2912 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2913
2914 * elec-pair.el (electric-pair-text-syntax-table)
2915 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2916 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2917 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2918 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2919
2920 2014-02-22 Glenn Morris <rgm@gnu.org>
2921
2922 * imenu.el (imenu--generic-function): Doc fix.
2923
2924 * register.el (frame-configuration-to-register): Make obsolete.
2925
2926 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2927
2928 * desktop.el (desktop-save-buffer-p): Do not fail when
2929 desktop-files-not-to-save is nil. Return t for true result
2930 as the doc says.
2931
2932 2014-02-22 Daniel Colascione <dancol@dancol.org>
2933
2934 * net/secrets.el (secrets-create-item, secrets-search-items):
2935 Check that attribute values are strings, avoiding the construction
2936 of invalid dbus messages.
2937
2938 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2939
2940 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2941 defun-declarations-alist.
2942
2943 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2946 (bug#16829).
2947
2948 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2949
2950 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2951 (whitespace-newline, whitespace-trailing, whitespace-line)
2952 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2953 (whitespace-space-after-tab): Fix typo in docstrings.
2954
2955 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2956
2957 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2958
2959 * electric.el (electric-indent-functions-without-reindent):
2960 Add `yaml-indent-line'.
2961
2962 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2963
2964 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2965 It has done nothing for years; should be removed after the release.
2966
2967 * simple.el (choose-completion): Fix docstring typo.
2968 (read-quoted-char-radix): Remove unneeded * in docstring.
2969 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2970 Don't escape parentheses unnecessarily in docstrings.
2971
2972 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2973
2974 Fix handling of window-min-height/-width (Bug#16738).
2975 * window.el (window--dump-window, window--dump-frame):
2976 New functions.
2977 (window--min-size-1): Account for window dividers.
2978 When window-resize-pixelwise is nil, delay rounding till after the
2979 sum of the window components has been calculated.
2980 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2981 nil make sure at least one text line and two text columns remain
2982 fully visible.
2983 (window-resize): Signal an error when window-resize-apply fails.
2984 (window--resize-child-windows): Fix calculation of by how many
2985 pixels a window can still be shrunk via window-new-normal.
2986 (adjust-window-trailing-edge): Call window--resizable with
2987 correct TRAIL argument.
2988
2989 (with-temp-buffer-window): Don't evaluate BODY within
2990 with-current-buffer (Bug#16816).
2991
2992 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2993
2994 * net/tramp.el (tramp-check-cached-permissions):
2995 Call `file-attributes' with `suffix' being a symbol but a string.
2996
2997 2014-02-21 Daniel Colascione <dancol@dancol.org>
2998
2999 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3000 (dbus-init-bus): New function: call into dbus-init-bus-1
3001 and installs a handler for the disconnect signal.
3002 (dbus-call-method): Rewrite to look for result in cons.
3003 (dbus-call-method-handler): Store result in cons.
3004 (dbus-check-event): Recognize events with nil sender as valid.
3005 (dbus-handle-bus-disconnect): New function. React to bus
3006 disconnection signal by synthesizing dbus error for each
3007 pending synchronous or asynchronous call.
3008 (dbus-notice-synchronous-call-errors): New function.
3009 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3010 is true, not all the time.
3011
3012 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3013
3014 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3015 Remove obsolescence declarations, these variables do not exist anymore.
3016
3017 * savehist.el (savehist-save-minibuffer-history)
3018 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3019 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3020 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3021 mostly, refer to "Savehist mode" when talking about the mode,
3022 and not the function.
3023
3024 * saveplace.el (save-place): Remove redundant info in docstring.
3025 (save-place-forget-unreadable-files, toggle-save-place)
3026 (save-place-forget-unreadable-files, save-place-dired-hook):
3027 Fix typos and remove unneeded backslashes.
3028
3029 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3030
3031 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3032 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3033
3034 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3035 <insert-directory>: Use `tramp-handle-insert-directory'.
3036 (tramp-gvfs-handle-insert-directory): Remove function.
3037
3038 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3039 Call `tramp-handle-insert-directory'.
3040
3041 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3042
3043 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3044 before the start of buffer/region (bug#16799).
3045
3046 2014-02-20 Glenn Morris <rgm@gnu.org>
3047
3048 * isearch.el (search-invisible): Doc fix.
3049
3050 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3051
3052 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3053 (bug#16657).
3054
3055 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3056
3057 * frameset.el (frameset-restore): Delay removing an old frame's
3058 duplicate id until the new frame has been correctly created.
3059
3060 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3061
3062 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3063 (tramp-check-cached-permissions): Call `file-attributes' if the
3064 cache is empty.
3065
3066 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3067 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3068
3069 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3070 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3071 (tramp-gvfs-maybe-open-connection): Set always connection
3072 properties, even if target is mounted already.
3073
3074 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3075 Set tramp-autoload cookie.
3076 (tramp-get-remote-touch): New defun.
3077 (tramp-sh-handle-set-file-times): Use it.
3078 (tramp-sh-handle-directory-files-and-attributes):
3079 Use `tramp-handle-directory-files-and-attributes' if neither stat
3080 nor perl are available on the remote host.
3081
3082 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3083 "/". Write long listing only when "l" belongs to the switches.
3084
3085 * net/trampver.el: Update release number.
3086
3087 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3088
3089 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3090
3091 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3092
3093 * window.el (window-state-put): Allow WINDOW to refer to an
3094 internal window (Bug#16793).
3095
3096 2014-02-19 Glenn Morris <rgm@gnu.org>
3097
3098 * textmodes/remember.el: Move provide statement to end.
3099 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3100 (remember-notes): Doc fixes.
3101
3102 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 * delsel.el (delete-char): Restore incorrectly erased property
3105 (bug#16795).
3106
3107 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3108
3109 * frameset.el (frameset--restore-frame): When a frame is being reused
3110 and its root window is not alive, delete all the frame's windows before
3111 restoring the window state. This works around the issue in bug#16793.
3112
3113 2014-02-18 Glenn Morris <rgm@gnu.org>
3114
3115 * textmodes/remember.el (remember-data-directory)
3116 (remember-directory-file-name-format, remember-store-in-files)
3117 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3118 (remember-notes-save-and-bury-buffer)
3119 (remember-notes--kill-buffer-query): Doc fixes.
3120
3121 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3122
3123 2014-02-17 Alan Mackenzie <acm@muc.de>
3124
3125 Connect electric-indent-mode up with CC Mode. Bug #15478.
3126 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3127 to electric-indent-{,local-}-mode.
3128 (c-basic-common-init): Set electric-indent-inhibit.
3129 Initialise c-electric-flag from electric-indent-mode.
3130 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3131 New hook functions which propagate electric-indent-mode to CC mode.
3132
3133 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3134 hit, toggle electric-indent-local-mode.
3135
3136 * electric.el (electric-indent-mode-has-been-called):
3137 New variable.
3138
3139 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3140
3141 * frameset.el (frameset-cfg-id): New function.
3142 (frameset--reuse-frame, frameset-restore): Use it.
3143 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3144
3145 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3146
3147 * ido.el (ido-file-internal): Remove unused var `d'.
3148 Use \` for to match BoS. Fit within 80n columns.
3149
3150 2014-02-17 Daniel Colascione <dancol@dancol.org>
3151
3152 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3153 dbus-call-method check for completion using a busy-wait loop with
3154 gradual backoff.
3155
3156 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3157
3158 Sync with Tramp 2.2.9.
3159
3160 * net/trampver.el: Update release number.
3161
3162 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3163
3164 * ido.el (ido-file-internal): Don't add the name of an existing
3165 directory twice. (Bug#16747)
3166
3167 2014-02-16 Glenn Morris <rgm@gnu.org>
3168
3169 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3170 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3171
3172 2014-02-15 Michael R. Mauger <michael@mauger.com>
3173
3174 * progmodes/sql.el: Version 3.4
3175 (sql-oracle-options): New default value ("-L").
3176 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3177 (sql-placeholders-filter): Correct placeholder pattern.
3178 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3179 (sql-login-delay): New variable.
3180 (sql-product-interactive): Use it.
3181
3182 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3183
3184 * frameset.el (frameset--jump-to-register): Check that buffer is live
3185 (bug#16749).
3186
3187 2014-02-15 Glenn Morris <rgm@gnu.org>
3188
3189 * info.el (info-initialize): Revert 2014-01-10 change.
3190
3191 2014-02-14 Glenn Morris <rgm@gnu.org>
3192
3193 * replace.el (map-query-replace-regexp)
3194 (read-regexp-defaults-function, read-regexp): Doc fixes.
3195
3196 * dired.el (dired-read-regexp):
3197 * faces.el (list-faces-display):
3198 * misearch.el (multi-isearch-read-matching-buffers)
3199 (multi-isearch-read-matching-files):
3200 * play/cookie1.el (cookie-apropos):
3201 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3202
3203 * textmodes/remember.el (remember): Use frameset-to-register
3204 rather than frame-configuration-to-register.
3205
3206 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3207
3208 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3209 incorrect keybinding.
3210
3211 2014-02-13 Daniel Colascione <dancol@dancol.org>
3212
3213 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3214 when adding overlays so that line numbers from compiler match line
3215 numbers we use.
3216
3217 2014-02-13 Glenn Morris <rgm@gnu.org>
3218
3219 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3220
3221 * jit-lock.el (jit-lock-mode): Doc fix.
3222
3223 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3224
3225 * apropos.el (apropos-read-pattern): When the user passes an empty
3226 string, give a more helpful error message than "Wrong type
3227 argument: stringp, nil".
3228
3229 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3232
3233 2014-02-13 Glenn Morris <rgm@gnu.org>
3234
3235 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3236
3237 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3238
3239 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3240 shift-select commands.
3241
3242 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3243
3244 * progmodes/js.el (js-indent-line): Don't widen.
3245 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3246
3247 2014-02-12 Glenn Morris <rgm@gnu.org>
3248
3249 * icomplete.el (icomplete): Add info-link to defgroup.
3250 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3251 (icomplete-minibuffer-map, icomplete-mode)
3252 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3253
3254 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3255 (package-menu-filter): Rename from package-menu-filter-interactive.
3256 Doc fix.
3257
3258 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3259
3260 * frameset.el (frameset--jump-to-register): Select the required
3261 window and buffer before restoring position (bug#16696).
3262
3263 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3264
3265 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3266
3267 2014-02-10 Glenn Morris <rgm@gnu.org>
3268
3269 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3270
3271 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3272
3273 * w32-common-fns.el (x-get-selection): Doc fix.
3274 * select.el (x-get-selection): Doc fix. (Bug#15109)
3275
3276 * face-remap.el (face-remap-add-relative)
3277 (face-remap-remove-relative, face-remap-reset-base)
3278 (face-remap-set-base): Call force-mode-line-update to redisplay
3279 the current buffer due to potential change in faces. (Bug#16709)
3280
3281 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3282
3283 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3284 script more robustly.
3285
3286 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3287
3288 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3289
3290 * simple.el (choose-completion): Doc fix (bug#14160).
3291
3292 * subr.el (event-start): Say what a nil EVENT value means.
3293
3294 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3295 (bug#14197).
3296
3297 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3298
3299 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3300
3301 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3302
3303 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3304 predicate function (bug#15455).
3305
3306 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3307
3308 * ielm.el (inferior-emacs-lisp-mode): Instead of
3309 `comment-use-global-state', set `comment-use-syntax'.
3310
3311 2014-02-10 Glenn Morris <rgm@gnu.org>
3312
3313 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3314
3315 2014-02-09 Alan Mackenzie <acm@muc.de>
3316
3317 Fix c-invalidate-state-cache on narrowed buffers.
3318 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3319 Widen when setting and clearing the CPP delimiter properties.
3320
3321 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3322
3323 * help.el (describe-bindings): Doc fix (bug#9888).
3324
3325 * files.el (save-buffer): Use ARG as the parameter name for
3326 consistency (bug#10346).
3327 (save-buffer): Clarify the 0 argument (bug#10346).
3328
3329 * cus-edit.el (customize-apropos): Fix error string.
3330 (custom-buffer-create): Doc fix (bug#11122).
3331 (custom-sort-items): Doc fix (bug#11121).
3332
3333 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3334
3335 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3336 (icomplete-simple-completing-p): Mention the previous variable.
3337
3338 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3339 meaning of the parameter (bug#12282).
3340
3341 * files.el (find-file-noselect): Clarify prompt when changing
3342 readedness (bug#13261).
3343 (locate-file): Suffixes aren't returned, so don't say that they
3344 are (bug#12674).
3345 (backup-inhibited): Doc clarification (bug#12525).
3346
3347 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3348 before we actually start to delete things (bug#16331).
3349
3350 * subr.el (event-start): Doc fix (bug#14228).
3351 (event-end): Ditto.
3352
3353 2014-02-09 Glenn Morris <rgm@gnu.org>
3354
3355 * emacs-lisp/warnings.el (lwarn):
3356 Empower help-enable-auto-load. (Bug#15940)
3357
3358 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3359
3360 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3361 (Bug#16690)
3362
3363 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3364
3365 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3366 Insert output at end of buffer. (Bug#16120)
3367
3368 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3369
3370 * simple.el (choose-completion-string-functions): Document new
3371 calling convention (bug#14153).
3372 (execute-extended-command): Clarify doc string (bug#13373).
3373
3374 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3375
3376 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3377 (find-grep-dired): Doc fix (bug#14288).
3378
3379 2014-02-08 Juri Linkov <juri@jurta.org>
3380
3381 * isearch.el (isearch-quote-char): Check character validity
3382 like in `quoted-insert' (bug#16677).
3383
3384 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3385
3386 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3387
3388 * isearch.el (isearch-hide-immediately): Doc clarification
3389 (bug#14723).
3390
3391 * simple.el (line-move): Document utility function used many
3392 places in the Emacs sources (bug#14843).
3393
3394 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3395 (dired-prev-marked-file): Doc fix (bug#14855).
3396 (dired-up-directory): Doc fix (bug#14848).
3397
3398 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3399
3400 * files.el (file-relative-name): Doc fix (bug#15159).
3401
3402 * fringe.el (fringe-styles): Doc fix (bug#15239).
3403
3404 * isearch.el (isearch-filter-predicate): Documentation typo fix
3405 (bug#15474).
3406
3407 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3408
3409 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3410
3411 * replace.el (replace-match-maybe-edit): Doc clarification
3412 (bug#15632).
3413
3414 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3415
3416 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3417
3418 2014-02-08 Glenn Morris <rgm@gnu.org>
3419
3420 * help-fns.el (describe-variable):
3421 Check {file,dir}-local-variables-alist, and buffer-file-name,
3422 in the correct buffer.
3423
3424 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3425
3426 * help-fns.el (describe-variable): Fix the case where
3427 a value is directory-local with no dir-locals file. (Bug#16635)
3428
3429 2014-02-08 Glenn Morris <rgm@gnu.org>
3430
3431 * abbrev.el (edit-abbrevs-mode):
3432 Derive from fundamental-mode. (Bug#16682)
3433
3434 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3435
3436 * simple.el (quoted-insert): Check character validity (bug#16677).
3437
3438 2014-02-07 Juri Linkov <juri@jurta.org>
3439
3440 * desktop.el (desktop-read): Claim the lock when the owner is not
3441 the current process. (Bug#16157)
3442
3443 2014-02-07 Juri Linkov <juri@jurta.org>
3444
3445 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3446 to "\\` ". (Bug#16651)
3447
3448 2014-02-07 Juri Linkov <juri@jurta.org>
3449
3450 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3451 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3452 (desktop-auto-save-cancel-timer): New function with some code from
3453 `desktop-auto-save-set-timer'.
3454 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3455 Instead of setting `desktop-save-mode' to nil, call
3456 `desktop-save-mode' with arg 0. (Bug#16630)
3457
3458 2014-02-07 Glenn Morris <rgm@gnu.org>
3459
3460 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3461 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3462 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3463
3464 * obsolete/iswitchb.el: Move to obsolete/.
3465 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3466 since obsolete/ is not scanned for autoloads.
3467 * emacs-lisp/authors.el (authors-valid-file-names):
3468 Add iswitchb.el.
3469
3470 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3471 Disable now non-functional find-file-hook.
3472
3473 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3474
3475 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3476 instead of ";" in order to avoid additional prompts. Let heredoc
3477 scripts read from tty. (Bug#16582)
3478 (tramp-send-command): No special handling of heredocs, it isn't
3479 necessary anymore.
3480
3481 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3484 with a space (bug#16664). Limit the symbols considered to the ones
3485 that are bound or fbound (bug#16646).
3486
3487 2014-02-06 Glenn Morris <rgm@gnu.org>
3488
3489 * epa.el (epa-mail-aliases): Doc fix.
3490
3491 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3492
3493 * emacs-lisp/lisp.el (lisp-completion-at-point):
3494 Use `completion-table-merge' instead of `completion-table-in-turn'
3495 (bug#16604).
3496
3497 * minibuffer.el (completion-table-merge): New function.
3498
3499 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3500
3501 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3502 (tramp-sh-handle-set-file-acl)
3503 (tramp-sh-handle-start-file-process)
3504 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3505 (tramp-find-executable, tramp-send-command): Use it.
3506
3507 2014-02-05 Glenn Morris <rgm@gnu.org>
3508
3509 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3510
3511 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3512
3513 * progmodes/python.el (python-shell-send-string)
3514 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3515
3516 2014-02-04 Anders Lindgren <andlind@gmail.com>
3517
3518 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3519 the names (bug#16620).
3520
3521 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3522
3523 * faces.el (window-divider): New default value. Rewrite doc-string.
3524 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3525
3526 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3527
3528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3529 `protected' and `public' can also be called without arguments.
3530
3531 2014-02-03 Glenn Morris <rgm@gnu.org>
3532
3533 * register.el (window-configuration-to-register)
3534 (frame-configuration-to-register): Unadvertise unused argument.
3535 * frameset.el (frameset-to-register): Remove unused argument.
3536
3537 * frameset.el (frameset-to-register):
3538 * kmacro.el (kmacro-to-register):
3539 * register.el (increment-register):
3540 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3541 (calc-append-to-register, calc-prepend-to-register):
3542 * play/gametree.el (gametree-layout-to-register)
3543 (gametree-apply-register-layout):
3544 * textmodes/picture.el (picture-clear-rectangle-to-register)
3545 (picture-yank-rectangle-from-register):
3546 * vc/emerge.el (emerge-combine-versions-register):
3547 Use register-read-with-preview to read registers.
3548
3549 2014-02-03 João Távora <joaotavora@gmail.com>
3550
3551 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3552 when at beginning of (possibly narrowed) buffer.
3553
3554 2014-02-02 Daniel Colascione <dancol@dancol.org>
3555
3556 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3557 Also try to display local help from just before point.
3558
3559 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3560
3561 c-parse-state. Don't "append-lower-brace-pair" in certain
3562 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3563 recognised as a comment.
3564
3565 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3566 as well as normal comment starter.
3567 (c-parse-state-get-strategy): Extra return possibility
3568 'back-and-forward.
3569 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3570 return value list to indicate replacement of a brace-pair cons
3571 with its car.
3572 (c-parse-state-1): With 'back-and-forward, only call
3573 c-append-lower-brace-pair-to state-cache when cons-separated.
3574
3575 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3576
3577 * term/ns-win.el (ns-suspend-error): New function.
3578 (ns-initialize-window-system): Add ns-suspend-error to
3579 suspend-hook (Bug#16612).
3580
3581 2014-02-02 Daniel Colascione <dancol@dancol.org>
3582
3583 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3584 Make loading cc-mode silent.
3585
3586 2014-02-02 Daniel Colascione <dancol@dancol.org>
3587
3588 * comint.el (comint-prompt-read-only): Change doc to suggest
3589 remap keybinding.
3590
3591 2014-02-02 Glenn Morris <rgm@gnu.org>
3592
3593 * register.el (register-read-with-preview, point-to-register)
3594 (window-configuration-to-register, frame-configuration-to-register)
3595 (jump-to-register, number-to-register, view-register, insert-register)
3596 (copy-to-register, append-to-register, prepend-to-register)
3597 (copy-rectangle-to-register): Doc fixes.
3598
3599 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3600
3601 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3602 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3603 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3604 * help-fns.el (describe-function-1): Use it.
3605
3606 2014-02-02 Glenn Morris <rgm@gnu.org>
3607
3608 * register.el (register-preview-default): New function,
3609 split from register-preview.
3610 (register-preview-function): Rename from register-preview-functions,
3611 make it not a hook.
3612 (register-preview): Use register-preview-function.
3613 (register-read-with-preview): Error on non-character event. (Bug#16595)
3614
3615 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3616
3617 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3618 `:' before binary operators (bug#16609). Don't check for `:'
3619 before `[' and `(', or their syntax status. A percent literal
3620 can't end with either.
3621 (ruby-font-lock-keywords): For built-ins that require arguments,
3622 check that they're followed by something that looks like argument
3623 (bug#16610).
3624
3625 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3626
3627 * subr.el (butlast): Document what an omitted N means (bug#13437).
3628 (nbutlast): Ditto.
3629
3630 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3631
3632 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3633 depth shallower (bug#16587).
3634 (shr-tag-svg): Respect `shr-inhibit-images'.
3635 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3636
3637 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3638
3639 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3640 (ruby-smie-grammar): Make "." right-associative. Make its priority
3641 lower than the ternary and all binary operators.
3642 (ruby-smie-rules): Indent "(" relative to the first non-"."
3643 parent, or the first "." parent at indentation.
3644 Use `ruby-align-chained-calls' for indentation of "." tokens.
3645 (Bug#16593)
3646
3647 2014-01-31 Juri Linkov <juri@jurta.org>
3648
3649 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3650 from `make-hash-table'.
3651
3652 * textmodes/ispell.el (ispell-init-process): Change message format
3653 to be consistent with other messages.
3654
3655 2014-01-31 Glenn Morris <rgm@gnu.org>
3656
3657 * delsel.el (delete-selection-mode): Doc fix.
3658
3659 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3660 (trace-function-background): Doc fixes.
3661
3662 * ido.el (ido-use-virtual-buffers): Doc fix.
3663 Reset :version, since the default value has not changed.
3664
3665 * register.el (register-preview-delay, register-read-with-preview):
3666 Doc fixes.
3667
3668 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3669 do not mess with mail-buffer position (fixes 2009-11-03 change).
3670 * progmodes/cc-mode.el (c-submit-bug-report):
3671 Check auto-fill-mode is bound. (Bug#16592)
3672
3673 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3674
3675 * startup.el (fancy-splash-image-file): New function,
3676 split from fancy-splash-head.
3677 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3678 so that we are both using the same image. (Bug#16574)
3679
3680 2014-01-30 Glenn Morris <rgm@gnu.org>
3681
3682 * simple.el (eval-expression): Doc fix.
3683
3684 * hexl.el (hexl-mode-hook):
3685 * ielm.el (ielm-mode-hook):
3686 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3687 (lisp-interaction-mode-hook):
3688 * progmodes/cfengine.el (cfengine3-documentation-function):
3689 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3690
3691 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3694 is a symbol (bug#16584).
3695
3696 2014-01-30 Glenn Morris <rgm@gnu.org>
3697
3698 * help.el (help-for-help-internal): Add "P" to text.
3699
3700 2014-01-29 Glenn Morris <rgm@gnu.org>
3701
3702 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3703
3704 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3705
3706 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3707 height constraints.
3708
3709 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3710
3711 * progmodes/hideif.el: Extend to full CPP expression syntax.
3712 (hif-token-alist): Add missing tokens.
3713 (hif-token-regexp): Add support for float/octal/hex immediates.
3714 (hif-string-literal-regexp): New const.
3715 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3716 (hif-exprlist): New function.
3717 (hif-parse-if-exp): Use it.
3718 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3719 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3720 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3721 (hif-logxor, hif-comma): New functions.
3722
3723 2014-01-28 Glenn Morris <rgm@gnu.org>
3724
3725 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3726
3727 * indent.el (tab-stop-list): Doc fix. Add :version.
3728
3729 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3730 (cvs-append-to-ignore): Add compatibility alias.
3731
3732 2014-01-27 Glenn Morris <rgm@gnu.org>
3733
3734 * dired.el (dired-hide-details-mode): Don't autoload it,
3735 since it cannot be used outside Dired buffers anyway.
3736
3737 * emulation/cua-base.el (cua-mode): Doc fix.
3738
3739 * dired.el (dired-hide-details-hide-symlink-targets)
3740 (dired-hide-details-hide-information-lines)
3741 (dired-hide-details-mode): Doc fixes.
3742
3743 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3744 * strokes.el (strokes-file): Doc fix. Bump :version.
3745 (strokes-help): Doc fix.
3746 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3747 * emulation/viper.el (viper): Doc fix for custom group.
3748 (top-level): Remove oh-so-no-longer-relevant text about vip.
3749 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3750
3751 * ido.el (ido-save-directory-list-file):
3752 * saveplace.el (save-place-file):
3753 * calendar/timeclock.el (timeclock-file):
3754 * net/quickurl.el (quickurl-url-file):
3755 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3756 * progmodes/idlwave.el (idlwave-config-directory):
3757 * textmodes/remember.el (remember-data-file):
3758 Bump :version.
3759
3760 2014-01-26 Glenn Morris <rgm@gnu.org>
3761
3762 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3763 Doc fix. Make obsolete.
3764 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3765
3766 * sort.el (delete-duplicate-lines): Doc fix.
3767
3768 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3769
3770 * progmodes/ada-mode.el (ada):
3771 * woman.el (woman): Link to info manual and Commentary section.
3772
3773 * progmodes/flymake.el (flymake):
3774 * nxml/nxml-mode.el (nxml):
3775 * net/eww.el (eww):
3776 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3777 * htmlfontify.el (htmlfontify):
3778 * ses.el (ses):
3779 * epa.el (epa):
3780 * ido.el (ido): Link to info manual.
3781
3782 2014-01-25 Leo Liu <sdl.web@gmail.com>
3783
3784 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3785
3786 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3787
3788 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3789 (bug#16537).
3790
3791 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3792
3793 * net/eww.el (eww-download-callback):
3794 Fix reference to eww-download-directory.
3795
3796 * emacs-lisp/bytecomp.el (byte-compile-file):
3797 Remove unused local variable `file-name'.
3798
3799 2014-01-24 Glenn Morris <rgm@gnu.org>
3800
3801 * woman.el (woman-default-faces, woman-monochrome-faces):
3802 Fix obsolescence specification.
3803
3804 * subr.el (with-demoted-errors): Doc fix.
3805
3806 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3809 (cl--macroexp-fboundp): New function.
3810 (cl--make-type-test): Use it.
3811
3812 2014-01-23 Glenn Morris <rgm@gnu.org>
3813
3814 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3815 * simple.el (eval-expression): Doc fixes.
3816
3817 2014-01-22 Glenn Morris <rgm@gnu.org>
3818
3819 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3820
3821 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3822
3823 * emacs-lisp/package.el: Write files silently.
3824 (package-autoload-ensure-default-file, package--write-file-no-coding)
3825 (package-generate-description-file, package--download-one-archive)
3826 (package-install-from-archive): Tell `write-region' to stay quiet.
3827 (package-menu-mode, package-menu--print-info): Omit the Archive column
3828 if there's only one archive.
3829 (package-all-keywords, package--has-keyword-p): Remove dead code.
3830
3831 2014-01-22 Glenn Morris <rgm@gnu.org>
3832
3833 * version.el (emacs-bzr-version-bzr): Fix typo.
3834
3835 * version.el (emacs-repository-get-version):
3836 Check either .bzr or .git, but not both.
3837 Make the git case actually use the DIR argument, and return nil
3838 rather than the empty string.
3839 Avoid error if .git exists but the git executable is not found.
3840
3841 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3842
3843 Fixes in window size functions around Bug#16430 and Bug#16470.
3844 * window.el (window-total-size, window-size): New argument ROUND.
3845 (window--min-delta-1, window-min-delta, window--max-delta-1):
3846 Be more conservative when calculating the numbers of lines or
3847 columns a window can shrink (Bug#16430).
3848 (fit-window-to-buffer): Simplify code.
3849 * term.el (term-window-width): Call window-body-width again.
3850
3851 2014-01-22 Glenn Morris <rgm@gnu.org>
3852
3853 * image.el (image-format-suffixes): Doc fix.
3854
3855 * international/quail.el (quail-define-package): Doc fix.
3856
3857 * emacs-lisp/authors.el (authors-valid-file-names)
3858 (authors-renamed-files-alist): Additions.
3859
3860 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3861 reverts 2014-01-09 change. (Bug#16422)
3862
3863 * calc/calc-embed.el (thing-at-point-looking-at):
3864 * emacs-lisp/map-ynp.el (x-popup-dialog):
3865 * obsolete/lmenu.el (x-popup-dialog):
3866 * emacs-lisp/package.el (url-recreate-url):
3867 * mail/mailclient.el (clipboard-kill-ring-save):
3868 * subr.el (x-popup-dialog): Update declaration.
3869 * mail/rmail.el (rmail-mime-message-p):
3870 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3871
3872 2014-01-21 Daniel Colascione <dancol@dancol.org>
3873
3874 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3875 Correctly detect when we're inside an arithmetic expansion form
3876 containing nested parenthesis.
3877 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3878 to detect cases where we shouldn't expand "<<" to a heredoc
3879 skeleton.
3880
3881 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3884 (eldoc--message-command-p): New function.
3885 (eldoc-display-message-p): Use it.
3886 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3887 message is not automatically erased for us.
3888 (eldoc-print-current-symbol-info): Erase previous message, if any.
3889
3890 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3891
3892 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3893 specify it's an interactive function.
3894
3895 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3896 Fix regex used for scanning for citation keys which failed for
3897 citations with optional arguments.
3898
3899 2014-01-21 Leo Liu <sdl.web@gmail.com>
3900
3901 * simple.el (read--expression): Don't enable eldoc-mode.
3902
3903 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * simple.el (move-beginning-of-line): Make sure we don't move forward
3906 (bug#16497).
3907
3908 2014-01-20 Juri Linkov <juri@jurta.org>
3909
3910 * saveplace.el (toggle-save-place, save-place-to-alist)
3911 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3912 'dired-mode) before checking for dired-directory. (Bug#16477)
3913
3914 2014-01-20 Juri Linkov <juri@jurta.org>
3915
3916 * indent.el (indent-line-to): Use backward-to-indentation
3917 instead of back-to-indentation. (Bug#16461)
3918
3919 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3920
3921 Revert some of the CANNOT_DUMP fix (Bug#16494).
3922 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3923 but fixing this can wait until after the next release.
3924 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3925
3926 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3927
3928 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3929 Use `password-word-equivalents'.
3930 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3931 to t. (Bug#5664, Bug#13124)
3932
3933 2014-01-19 Alan Mackenzie <acm@muc.de>
3934
3935 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3936 points.
3937 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3938 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3939 * progmodes/cc-mode.el (c-before-change, c-after-change)
3940 (c-font-lock-fontify-region): Bind it here.
3941
3942 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3943
3944 * term.el (term-window-width): Call window-text-width instead of
3945 window-width (Bug#16470).
3946
3947 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3948
3949 * simple.el (password-word-equivalents): Remove duplicates.
3950 Sort, to make this easier next time.
3951 Downcase. Omit ": " after "jelszó".
3952
3953 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3954
3955 * term/common-win.el (saved-region-selection): Defvar it.
3956 (x-select-text): Set saved-region-selection (Bug#16382).
3957
3958 2014-01-18 Glenn Morris <rgm@gnu.org>
3959
3960 * emacs-lisp/authors.el (authors-aliases)
3961 (authors-renamed-files-alist): Add some entries.
3962
3963 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3964
3965 * net/tramp.el (tramp-password-prompt-regexp):
3966 Use `password-word-equivalents' if available.
3967 (tramp-action-password, tramp-process-one-action)
3968 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3969
3970 2014-01-17 Chong Yidong <cyd@gnu.org>
3971
3972 * simple.el (password-word-equivalents): New defcustom.
3973 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3974 to 24.4.
3975 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3976 to t. (Bug#13124)
3977
3978 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3979
3980 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3981 (ruby-align-to-stmt-keywords): Change the default value.
3982 Use `ruby-alignable-keywords' to generate the possible customization
3983 choices.
3984 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3985 keywords, check against the value of `ruby-alignable-keywords'
3986 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3987
3988 2014-01-17 Glenn Morris <rgm@gnu.org>
3989
3990 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3991
3992 Make M-x authors return zero *Authors Errors* from current logs.
3993 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3994 (authors-ignored-files): Add some entries, remove others.
3995 (authors-ambiguous-files, authors-valid-file-names):
3996 Add some entries.
3997 (authors-renamed-files-alist): Add, remove, and adjust entries.
3998 (authors-renamed-files-regexps): Add some entries.
3999 Remove some very broad ones. Make some entries `lax'.
4000 (authors-lax-changelogs): New constant.
4001 (authors-disambiguate-file-name): Treat top-level specially.
4002 (authors-lax-changelog-p): New function.
4003 (authors-canonical-file-name): Check file as written against
4004 authors-valid-file-names. Do not special-case etc/.
4005 Handle `lax' logs and authors-renamed-files-regexps elements.
4006
4007 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4008
4009 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4010 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4011 callers.
4012
4013 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4016 Assume we're already in the proper buffer.
4017 Inspired by Anders Lindgren <andlind@gmail.com>.
4018 (follow-post-command-hook): Call it from the right buffer.
4019 (follow-comint-scroll-to-bottom): Adjust call.
4020 (follow-all-followers): Use get-buffer-window-list.
4021
4022 2014-01-15 Daniel Colascione <dancol@dancol.org>
4023
4024 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4025 `buffer-file-name' in interactive-form so that we don't leave
4026 pathless file names in `file-name-history'.
4027
4028 2014-01-15 Juri Linkov <juri@jurta.org>
4029
4030 * indent.el (indent-rigidly): Set deactivate-mark to nil
4031 in transient indentation mode. (Bug#16438)
4032
4033 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4034
4035 * emacs-lisp/package.el (package-desc-keywords): New function
4036 (Bug#16222).
4037 (describe-package-1, package-all-keywords)
4038 (package--has-keyword-p): Use it.
4039
4040 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4041
4042 * simple.el (define-alternatives): When creating the
4043 COMMAND-alternatives variable, assign COMMAND as its definition
4044 name so that `describe-variable' can relocate it.
4045
4046 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4047
4048 * font-lock.el (font-lock-keywords): Fix typo in docstring
4049 (bug#16307).
4050
4051 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4052
4053 * ispell.el (ispell-region): Reset `in-comment' for new line
4054 instead of wrongly reset `add-coment' (bug#13577).
4055
4056 2014-01-14 Daiki Ueno <ueno@gnu.org>
4057
4058 * epa-file.el (epa-file-write-region): Encode the region according
4059 to `buffer-file-format'. Problem reported at:
4060 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4061
4062 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4065 so it applies in the right buffer (bug#16410).
4066
4067 2014-01-13 Daniel Colascione <dancol@dancol.org>
4068
4069 * textmodes/rst.el (rst-define-key): Provide deprecated
4070 keybindings through named functions instead of anonymous ones so
4071 that "??" doesn't appear in describe-mode output.
4072
4073 2014-01-13 Bastien Guerry <bzg@gnu.org>
4074
4075 * simple.el (define-alternatives): Call the selected command
4076 interactively. When setting `COMMAND--implementation' for the
4077 first time, tell the user how to chose another implementation.
4078 Enhance the docstring.
4079
4080 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4083 (log-edit--match-first-line): New function.
4084 (log-edit-font-lock-keywords): Use it.
4085 (log-edit-mode): Make jit-lock-defer-multiline work.
4086
4087 2014-01-13 Bastien Guerry <bzg@gnu.org>
4088
4089 * rect.el (rectangle-mark-mode): When the region is not active,
4090 display a message saying that the mark as been set and that
4091 rectangle mode is in use.
4092 (rectangle--highlight-for-redisplay): Only put an overlay with a
4093 visible vertical bar when (display-graphic-p) is non-nil.
4094 This partially fixes Bug#16403.
4095
4096 2014-01-13 Juri Linkov <juri@jurta.org>
4097
4098 * info.el (Info-find-file): Go to DIR before displaying the error
4099 about a nonexistent file if no previous Info file is visited.
4100 Use `user-error' instead of `error' for "Info file %s does not exist".
4101 (Info-find-node-2): In case of a nonexistent node in unwind forms
4102 go to the Top node if there is no previous node to revert to.
4103 (Bug#16405)
4104
4105 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4106
4107 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4108 * window.el (fit-frame-to-buffer): Fix doc-string.
4109 Respect window-min-height/-width. Fit pixelwise when
4110 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4111 when avoiding that frame goes partially off-screen.
4112 (fit-window-to-buffer): Respect window-min-height/-width
4113 (Bug#14096).
4114
4115 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4116
4117 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4118 after an empty line.
4119
4120 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * net/shr.el (shr-render-region): Autoload.
4123
4124 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4125
4126 * net/eww.el (eww-download-directory): Rename from
4127 `eww-download-path' (Bug#16419).
4128
4129 2014-01-12 Leo Liu <sdl.web@gmail.com>
4130
4131 * dired-x.el (dired-mode-map): Fix last change.
4132
4133 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4134
4135 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4136
4137 Spelling fixes.
4138 * emacs-lisp/generic.el (generic--normalize-comments):
4139 Rename from generic--normalise-comments. All uses changed.
4140 * play/bubbles.el (bubbles--neighborhood-score)
4141 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4142 (bubbles--neighborhood-available)
4143 (bubbles--update-neighborhood-score):
4144 Rename from names with 'neighbourhood'. All uses changed.
4145
4146 2014-01-12 Leo Liu <sdl.web@gmail.com>
4147
4148 Re-implement the feature of showing eldoc info after editing.
4149 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4150 (eldoc-edit-message-commands): New function.
4151 (eldoc-print-after-edit): New variable.
4152 (eldoc-pre-command-refresh-echo-area): Emit message only by
4153 eldoc-message-commands.
4154 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4155 if eldoc-print-after-edit is set. (Bug#16346)
4156 * simple.el (read--expression): Enable eldoc-mode.
4157 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4158
4159 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4160 Eric S. Raymond <esr@thyrsus.com>
4161
4162 * version.el (emacs-repository-get-version): Enhance so the
4163 function works correctly in either a Bazaar or Git repo.
4164
4165 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4166
4167 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4168 Goes with removal of the joke manpages from /etc.
4169
4170 2014-01-10 Kenichi Handa <handa@gnu.org>
4171
4172 * mail/rmail.el (rmail-get-coding-system):
4173 Check rmail-get-coding-function before "funcall"ing it.
4174
4175 2014-01-10 Glenn Morris <rgm@gnu.org>
4176
4177 * emacs-lisp/authors.el (authors-fixed-entries):
4178 Update for files that no longer exist.
4179
4180 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4181
4182 * version.el (emacs-bzr-get-version): Restore compatibilty with
4183 24.3 (Tested).
4184
4185 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4186
4187 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4188 and Podfile.
4189
4190 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4191
4192 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4193
4194 2014-01-10 Chong Yidong <cyd@gnu.org>
4195
4196 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4197
4198 2014-01-10 Anders Lindgren <andlind@gmail.com>
4199
4200 * follow.el (follow-cache-command-list): Include right-char and
4201 left-char.
4202
4203 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4204
4205 Spelling fixes.
4206 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4207 * woman.el (woman-mark-horizontal-position):
4208 Rename from woman-mark-horizonal-position. Use changed.
4209
4210 2014-01-10 Glenn Morris <rgm@gnu.org>
4211
4212 * info.el (info-initialize): If running uninstalled, ensure our
4213 own info files are always found first, even if INFOPATH is set.
4214
4215 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4216
4217 2014-01-09 David Engster <deng@randomsample.de>
4218
4219 * emacs-lisp/eieio-custom.el:
4220 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4221 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4222 * emacs-lisp/eieio.el: Regenerate autoloads.
4223
4224 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4225
4226 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4227 following renames. (Bug#8756)
4228
4229 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4232 (bug#16382).
4233 (activate-mark): Add `no-tmm' argument.
4234 (set-mark, push-mark-command): Use it instead of running
4235 activate-mark-hook by hand.
4236
4237 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4238
4239 In preparation for the move to git, sanitize out some
4240 Bazaar-specific names.
4241
4242 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4243
4244 * version.el (emacs-bzr-version): Name changed to
4245 emacs-repository-version. Obsolete-variable alias made.
4246 * loadup.el: Follow through on this name change.
4247 * mail/emacsbug.el (report-emacs-bug): Factor out any
4248 assumption about the version control system in use.
4249
4250 2014-01-08 David Engster <deng@randomsample.de>
4251
4252 * help-fns.el (help-fns-describe-function-functions):
4253 New variable to call functions for augmenting help buffers.
4254 (describe-function-1): Remove explicit calls to
4255 `help-fns--compiler-macro', `help-fns--parent-mode' and
4256 `help-fns--obsolete'. Put them in above new variable instead, and
4257 call them through `run-hook-with-args'.
4258 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4259 `eieio-describe-class'. Not meant for interactive use anymore,
4260 but to augment existing help buffers. Remove optional second
4261 argument. Create proper button for file location.
4262 Rewrite function to use `insert' instead of `princ' and `prin1' where
4263 possible.
4264 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4265 (eieio-method-def, eieio-class-def): Move further up.
4266 (describe-method, describe-generic, eieio-describe-method):
4267 Remove aliases.
4268 (eieio-help-constructor, eieio-help-generic): Rename from
4269 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4270 Rewrite to use `insert' in the current buffer and use proper help
4271 buttons.
4272 (eieio-help-find-method-definition)
4273 (eieio-help-find-class-definition): Also accept symbols as
4274 arguments.
4275 (eieio-help-mode-augmentation-maybee): Remove.
4276 (eieio-describe-class-sb): Use `describe-function'.
4277 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4278 Add `eieio-help-generic' and `eieio-help-constructor'.
4279
4280 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4281
4282 Spelling fixes.
4283 * language/china-util.el (hz-ascii-designation):
4284 Rename from hz-ascii-designnation.
4285 (hz-ascii-designation): Rename from hz-ascii-designnation.
4286 All uses changed.
4287
4288 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4291 package-alist.
4292
4293 2014-01-08 Bastien Guerry <bzg@gnu.org>
4294
4295 * emacs-lisp/package.el (package-delete):
4296 Correctly delete the package from package-alist.
4297
4298 2014-01-08 Daiki Ueno <ueno@gnu.org>
4299
4300 * emacs-lisp/package.el (url-recreate-url): Declare.
4301 (url-http-target-url): Declare.
4302 (package-handle-response): Include requested URL in the error message.
4303 (package--check-signature): Don't re-signal errors from
4304 package--with-work-buffer. Suggested by Stefan Monnier.
4305
4306 2014-01-07 Bastien Guerry <bzg@gnu.org>
4307
4308 * minibuffer.el (completion--try-word-completion): When both a
4309 hyphen and a space are possible candidates for the character
4310 following a word, display both candidates. (Bug#15980)
4311
4312 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4313
4314 * window.el (balance-windows-2): While rounding don't give a
4315 window more than the remainder. Bug#16351, bug#16383.
4316
4317 2014-01-07 Glenn Morris <rgm@gnu.org>
4318
4319 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4320 (menu-bar-help-menu): Use view-external-packages instead.
4321
4322 2014-01-07 Bastien Guerry <bzg@gnu.org>
4323
4324 * emacs-lisp/package.el (package-delete): Also delete the package
4325 name from `package-alist', not its description only.
4326
4327 2014-01-07 Glenn Morris <rgm@gnu.org>
4328
4329 * help.el (view-external-packages):
4330 * menu-bar.el (menu-bar-help-extra-packages):
4331 Visit efaq.info rather than etc/MORE.STUFF.
4332
4333 2014-01-07 Juri Linkov <juri@jurta.org>
4334
4335 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4336 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4337
4338 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4339 that shadows RET. (Bug#16342)
4340
4341 2014-01-07 Chong Yidong <cyd@gnu.org>
4342
4343 * isearch.el (isearch-yank-char, isearch-yank-word)
4344 (isearch-yank-line): Doc fix.
4345
4346 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4349 * emacs-lisp/elint.el (elint-find-builtins):
4350 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4351 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4352 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4353 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4354 * apropos.el (apropos-safe-documentation):
4355 * subr.el (symbol-file): Remove redundant fboundp.
4356 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4357
4358 2014-01-06 Bastien Guerry <bzg@gnu.org>
4359
4360 * hl-line.el (global-hl-line-overlay): Make a local variable.
4361 (global-hl-line-overlays): New variable to store all overlays.
4362 (global-hl-line-mode): Don't delete overlays from the current
4363 buffer when `global-hl-line-sticky-flag' is non-nil.
4364 (global-hl-line-highlight): Add new overlays to
4365 `global-hl-line-overlays'.
4366 (global-hl-line-unhighlight-all): New function to delete all
4367 overlays when turning off `global-hl-line-mode'.
4368 This fixes Bug#16183.
4369
4370 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * subr.el (set-transient-map): Fix nested case and docstring.
4373
4374 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4375
4376 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4377 `Texinfo' entry.
4378
4379 2014-01-06 Daniel Colascione <dancol@dancol.org>
4380
4381 Fix defun navigation in vc log view.
4382
4383 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4384 like `beginning-of-defun'.
4385 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4386 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4387 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4388 (log-view-extract-comment): Call `log-view-current-entry' directly
4389 instead of relying on broken `log-view-beginning-of-defun' behavior.
4390
4391 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4392
4393 Spelling fixes.
4394 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4395 * emacs-lisp/debug.el (cancel-debug-on-entry):
4396 * epg.el (epg-error-to-string):
4397 * files.el (recover-file):
4398 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4399 * mail/emacsbug.el (report-emacs-bug-hook):
4400 * mail/sendmail.el (mail-recover):
4401 * ses.el (ses-yank-resize):
4402 * term/ns-win.el (ns-print-buffer):
4403 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4404 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4405 All uses changed.
4406 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4407
4408 2014-01-06 Leo Liu <sdl.web@gmail.com>
4409
4410 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4411 to avoid shadowing global key. (Bug#16354)
4412
4413 2014-01-06 Daniel Colascione <dancol@dancol.org>
4414
4415 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4416 rst-mode.
4417
4418 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4419
4420 * window.el (balance-windows): Add mising t to fix Bug#16351.
4421
4422 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4423
4424 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4425 (bug#16285).
4426 (shr-insert): If we have a word that's longer than `shr-width',
4427 break after it anyway. Otherwise we'll do no breaking once we get
4428 such a long word.
4429
4430 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4431
4432 * net/eww.el (eww): Support single/double quote for search.
4433 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4434 (eww-history-quit): Delete and use quit-window.
4435 (eww-history-kill): Delete, because it doesn't work well and
4436 not necessary.
4437 (eww-history-mode-map): Delete some keys and add easy-menu.
4438
4439 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4440
4441 Fix misspelling of 'chinese' in rx (Bug#16237).
4442 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4443 chinese-two-byte.
4444
4445 Change subword regexps back to vars (Bug#16296).
4446 * progmodes/subword.el (subword-forward-regexp)
4447 (subword-backward-regexp): Change these back to variables.
4448
4449 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4452 syntax-begin-function (bug#16247).
4453
4454 2014-01-03 Chong Yidong <cyd@gnu.org>
4455
4456 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4457 (advice--docstring): Delete variable.
4458 (advice--make-1): Leave the docstring empty.
4459 (advice-add): Use function-documentation for advised docstring.
4460
4461 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4462 Ignore function-documentation property when getting documentation.
4463 (ad-activate-advised-definition): Use function-documentation
4464 generate the docstring.
4465 (ad-make-advised-definition): Don't call
4466 ad-make-advised-definition-docstring.
4467 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4468 Delete functions.
4469
4470 * progmodes/sql.el (sql-help): Use function-documentation instead
4471 of dynamic-docstring-function property. No need to autoload now.
4472 (sql--help-docstring): New variable.
4473 (sql--make-help-docstring): Use it.
4474
4475 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4476
4477 * ielm.el (ielm-tab): Retarget.
4478 (ielm-map): Use ielm-tab for tab.
4479 (ielm-complete-filename): Use comint-filename-completion.
4480 (ielm-complete-symbol): Remove.
4481 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4482 remove ielm-tab from completion-at-point-functions (bug#16224).
4483
4484 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4485 Beware signals raised by predicates (bug#16201).
4486
4487 2014-01-02 Richard Stallman <rms@gnu.org>
4488
4489 * dired-aux.el (dired-do-print): Handle printer-name.
4490
4491 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4492 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4493 (rmail-epa-decrypt): Turn off mime processing.
4494
4495 * mail/rmail.el (rmail-make-in-reply-to-field):
4496 Add parens in message-id.
4497
4498 * mail/rmail.el (rmail-get-coding-function): Variable.
4499 (rmail-get-coding-system): Use it.
4500
4501 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4502
4503 * international/mule-conf.el: Unify the charset indian-is13194.
4504 (indian-is13194): Specify unify-map.
4505
4506 2013-12-31 Leo Liu <sdl.web@gmail.com>
4507
4508 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4509
4510 2013-12-30 Daniel Colascione <dancol@dancol.org>
4511
4512 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4513 of printing a useless when we resume from sleep.
4514
4515 * progmodes/sh-script.el
4516 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4517 in indentation code. (Bug#16233)
4518
4519 2013-12-28 João Távora <joaotavora@gmail.com>
4520
4521 * elec-pair.el (electric-pair-post-self-insert-function):
4522 Don't open extra newlines at beginning of buffer. (Bug#16272)
4523
4524 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4525
4526 * frame.el (window-system-for-display): Don't allow to create a
4527 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4528
4529 2013-12-28 Glenn Morris <rgm@gnu.org>
4530
4531 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4532 Update callers.
4533
4534 * apropos.el (apropos-match-face):
4535 * calculator.el (calculator-displayer):
4536 * dabbrev.el (dabbrev-search-these-buffers-only):
4537 * face-remap.el (buffer-face-mode-face):
4538 * simple.el (yank-handled-properties):
4539 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4540 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4541 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4542 (hashcash-double-spend-database):
4543 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4544 (ruby-deep-indent-paren-style):
4545 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4546 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4547 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4548 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4549 Specify custom types.
4550
4551 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4552 * bookmark.el (bookmark-bmenu-use-header-line):
4553 * doc-view.el (doc-view-scale-internally):
4554 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4555 * register.el (register-preview-delay):
4556 * net/shr.el (shr-bullet):
4557 * progmodes/cfengine.el (cfengine-cf-promises)
4558 (cfengine-parameters-indent):
4559 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4560 * textmodes/reftex-vars.el (reftex-label-regexps):
4561 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4562
4563 * net/tls.el (tls-certtool-program): Fix default value.
4564
4565 * desktop.el (desktop-restore-in-current-display):
4566 * newcomment.el (comment-empty-lines):
4567 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4568 (idlwave-pad-keyword):
4569 * progmodes/tcl.el (tcl-tab-always-indent):
4570 * textmodes/reftex-vars.el (reftex-index-default-tag):
4571 * elec-pair.el (electric-pair-skip-whitespace):
4572 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4573
4574 * emacs-lisp/authors.el (authors-ignored-files)
4575 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4576
4577 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4578
4579 * shell.el (shell-dynamic-complete-command): Doc fix.
4580 (shell--command-completion-data): Shell completion now matches
4581 executable filenames from the current buffer's directory, on
4582 systems in which this behavior is the default (windows-nt, ms-dos).
4583
4584 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4585
4586 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4587
4588 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4589
4590 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4591 (bug#16251).
4592
4593 * electric.el: Move all electric-pair-* to elec-pair.el.
4594 * elec-pair.el: New file, split from electric.el.
4595
4596 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4597
4598 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4599 indentation level is larger than the width, because that will
4600 infloop.
4601 (shr-insert): Fill repeatedly long texts, so that Japanese is
4602 formatted correctly (bug#16263).
4603 (shr-find-fill-point): Off by one error in comparison with the
4604 indentation.
4605
4606 2013-12-26 João Távora <joaotavora@gmail.com>
4607
4608 * electric.el (electric-pair-mode): More flexible engine for skip-
4609 and inhibit predicates, new options for pairing-related functionality.
4610 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4611 if that keeps or improves their balance in buffers.
4612 (electric-pair-delete-adjacent-pairs): Delete the pair when
4613 backspacing over adjacent matched delimiters.
4614 (electric-pair-open-extra-newline): Open extra newline when
4615 inserting newlines between adjacent matched delimiters.
4616 (electric--sort-post-self-insertion-hook):
4617 Sort post-self-insert-hook according to priority values when
4618 minor-modes are activated.
4619 * simple.el (newline-and-indent): Call newline with interactive
4620 set to t.
4621 (blink-paren-post-self-insert-function): Set priority to 100.
4622 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4623 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4624 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4625 electric-pair-open-newline-between-pairs to nil.
4626
4627 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4628
4629 * progmodes/python.el: Use lexical-binding.
4630 (python-nav-beginning-of-defun): Stop searching ASAP.
4631
4632 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4633
4634 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4635 Fix interactive spec. Doc fix. (Bug#15754)
4636
4637 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4638
4639 * emacs-lisp/byte-run.el (eval-when-compile):
4640 * progmodes/cc-defs.el (cc-eval-when-compile):
4641 Fix edebug spec (bug#16184).
4642
4643 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4644
4645 * net/shr.el (shr-visit-file): Remove debugging function.
4646 (shr-insert): Don't infloop if we can't find a good place to break
4647 the line (bug#16256).
4648
4649 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4650
4651 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4652 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4653 python-nav-lisp-forward-sexp-safe.
4654 (python-nav--forward-sexp): New argument SAFE allows switching
4655 forward sexp movement behavior for parens.
4656 (python-nav-forward-sexp): Throw errors on unterminated parens
4657 (Bug#16191).
4658 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4659 (python-nav-backward-sexp-safe): New functions.
4660 (python-shell-buffer-substring):
4661 Use `python-nav-forward-sexp-safe'.
4662
4663 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4664
4665 * net/shr.el (shr-find-fill-point): Don't break lines before a
4666 quotation mark.
4667 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4668 (shr-find-fill-point): Remove the special checks for the quotation
4669 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4670
4671 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4672
4673 * net/eww.el (eww-form-textarea): Use a different face for
4674 textareas than text input since they have different keymaps
4675 (bug#16142).
4676
4677 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4678
4679 * progmodes/python.el (python-nav-beginning-of-statement):
4680 Speed up (Bug#15295).
4681
4682 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4683
4684 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4685 the window configuration.
4686
4687 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4688
4689 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4690 we run on MS-Windows or MS-DOS.
4691
4692 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4693
4694 * window.el (balance-windows-area): Call window-size instead of
4695 window-height and window-width. Bug#16241.
4696
4697 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4698
4699 * net/eww.el (eww-bookmark-quit): Remove.
4700 (eww-bookmark-browse): Restore the window configuration when you
4701 choose a bookmark (bug#16144).
4702
4703 2013-12-24 Daniel Colascione <dancol@dancol.org>
4704
4705 * icomplete.el: Remove redundant :group arguments to `defcustom'
4706 throughout.
4707 (icomplete-show-matches-on-no-input): New customizable variable.
4708 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4709 we have something to show.
4710 (icomplete-exhibit): Compute completions even if we have no user input.
4711
4712 2013-12-23 Daniel Colascione <dancol@dancol.org>
4713
4714 * icomplete.el: Move `provide' to end of file.
4715
4716 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4717
4718 * net/gnutls.el (gnutls-verify-error): Add version tag.
4719
4720 2013-12-23 Chong Yidong <cyd@gnu.org>
4721
4722 * subr.el (set-transient-map): Rename from
4723 set-temporary-overlay-map. Doc fix.
4724
4725 * face-remap.el (text-scale-adjust):
4726 * indent.el (indent-rigidly):
4727 * kmacro.el (kmacro-call-macro):
4728 * minibuffer.el (minibuffer-force-complete):
4729 * repeat.el (repeat):
4730 * simple.el (universal-argument--mode):
4731 * calendar/todo-mode.el (todo-insert-item--next-param):
4732 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4733
4734 * indent.el (indent-rigidly): Use substitute-command-keys.
4735
4736 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4737
4738 * net/eww.el (eww-tag-select): Add text-property to jump to next
4739 select field.
4740 (eww): Add non-supported ftp error.
4741
4742 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4743
4744 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4745 comments. Handle electric indent after typing `?' and `!'.
4746
4747 2013-12-22 Chong Yidong <cyd@gnu.org>
4748
4749 * faces.el (face-spec-recalc): If the theme specs are not
4750 applicable to a frame, fall back on the defface spec.
4751 This prevents themes from obliterating faces on low-color terminals.
4752
4753 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4754
4755 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4756 after `{'. We need it after block openers, and it doesn't seem
4757 to hurt after hash openers.
4758
4759 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4760
4761 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4762 extracted from `ruby-smie-rules'.
4763 (ruby--electric-indent-chars): New variable.
4764 (ruby--electric-indent-p): New function.
4765 (ruby-mode): Use `electric-indent-functions' instead of
4766 `electric-indent-chars'.
4767
4768 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4769
4770 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4771 docstring.
4772 (ruby-smie-rules): Indent plus one level after `=>'.
4773
4774 2013-12-21 Richard Stallman <rms@gnu.org>
4775
4776 * simple.el (newline): Doc fix.
4777
4778 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4779
4780 * net/eww.el (eww-list-histories, eww-list-histories)
4781 (eww-history-browse, eww-history-quit, eww-history-kill)
4782 (eww-history-mode-map, eww-history-mode): New command and
4783 functions to list browser histories.
4784 (eww-form-text): Support text form with disabled
4785 and readonly attributes.
4786 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4787
4788 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4789
4790 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4791 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4792 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4793 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4794 Use `user-error'.
4795 (eww-bookmark-mode-map): Add menu.
4796 (eww-render, eww-mode): Use `setq-local'.
4797 (eww-tool-bar-map): New variable.
4798 (eww-mode): Set `tool-bar-map'.
4799 (eww-view-source): Check for `html-mode' with `fboundp'.
4800
4801 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4802
4803 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4804 elements with text inside. Also remove debugging.
4805
4806 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4807
4808 * cus-start.el (all): Add ns-use-srgb-colorspace.
4809
4810 2013-12-21 Chong Yidong <cyd@gnu.org>
4811
4812 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4813 undefined. Thus, theme settings for undefined faces do not take
4814 effect until the faces are defined with defface, the same as with
4815 theme variables.
4816
4817 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4818 (face-spec-reset-face): Don't assign extra properties in temacs.
4819 (face-spec-recalc): Apply X resources too.
4820
4821 2013-12-21 Chong Yidong <cyd@gnu.org>
4822
4823 * faces.el (face-spec-set):
4824 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4825 * custom.el (defface): Doc fixes (Bug#16203).
4826
4827 * indent.el (indent-rigidly-map): Add docstring, and move commands
4828 into named functions.
4829 (indent-rigidly-left, indent-rigidly-right)
4830 (indent-rigidly-left-to-tab-stop)
4831 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4832 indentation direction based on bidi direction, and accumulate
4833 sequential commands in a single undo boundary.
4834 (indent-rigidly--pop-undo): New utility function.
4835
4836 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4837
4838 * faces.el (read-face-name): Require crm.el when using crm-separator.
4839
4840 2013-12-20 Daniel Colascione <dancol@dancol.org>
4841
4842 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4843 so that we don't reflow comments into the shebang line.
4844
4845 2013-12-20 Juri Linkov <juri@jurta.org>
4846
4847 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4848 a position when `dired-directory' is non-nil. Check integer
4849 positions with `integerp'.
4850 (toggle-save-place, save-places-to-alist): Add check for
4851 `dired-directory'.
4852 (save-place-find-file-hook): Check integer positions with
4853 `integerp'.
4854 (save-place-dired-hook): Use `dired-goto-file' when
4855 `dired-filename' is found in the assoc list. Check integer
4856 positions with `integerp'.
4857 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4858
4859 * dired.el (dired-initial-position-hook): Rename back from
4860 `dired-initial-point-hook'.
4861 (dired-initial-position): Rename `dired-initial-point-hook' to
4862 `dired-initial-position-hook'.
4863 (dired-file-name-at-point): Doc fix. (Bug#15329)
4864
4865 2013-12-20 Juri Linkov <juri@jurta.org>
4866
4867 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4868 (read-regexp-suggestions): New function.
4869 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4870 Use `read-regexp-suggestions'. Add non-empty default to history
4871 for empty input.
4872 (occur-read-regexp-defaults-function): Remove function.
4873 (occur-read-primary-args): Use `regexp-history-last' instead of
4874 `occur-read-regexp-defaults-function'.
4875
4876 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4877 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4878 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4879 `hi-lock-read-regexp-defaults-function'. Doc fix.
4880 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4881 with `find-tag-default-as-symbol-regexp'. Doc fix.
4882 (hi-lock-read-regexp-defaults): Remove function.
4883 (hi-lock-regexp-okay): Add check for null.
4884
4885 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4886 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4887
4888 * subr.el (find-tag-default-as-symbol-regexp): New function.
4889 (find-tag-default-as-regexp): Move symbol regexp formatting to
4890 `find-tag-default-as-symbol-regexp'.
4891
4892 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4893
4894 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4895 (Bug#14179)
4896
4897 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4898
4899 * calendar/todo-mode.el: New implementation of item insertion
4900 commands and key bindings.
4901 (todo-key-prompt): New face.
4902 (todo-insert-item): New command.
4903 (todo-insert-item--parameters): New defconst, replacing defvar
4904 todo-insertion-commands-args-genlist.
4905 (todo-insert-item--param-key-alist): New defconst, replacing
4906 defvar todo-insertion-commands-arg-key-list.
4907 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4908 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4909 (todo-insert-item--next-param): New functions.
4910 (todo-insert-item--args, todo-insert-item--argleft)
4911 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4912 New variables.
4913 (todo-key-bindings-t): Change binding of "i" from
4914 todo-insertion-map to todo-insert-item.
4915 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4916 (todo-insertion-command-name, todo-insertion-commands-names)
4917 (todo-define-insertion-command, todo-insertion-commands)
4918 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4919
4920 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4921
4922 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4923 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4924 eval-when-compile.
4925 (todo-move-category): Allow choosing a non-existing todo file to
4926 move the category to, and create that file.
4927 (todo-default-priority): New user option.
4928 (todo-set-item-priority): Use it.
4929 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4930 (desktop-restore-file-buffer): Declare.
4931 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4932 (todo-modes-set-2): Locally set desktop-save-buffer to
4933 todo-desktop-save-buffer.
4934 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4935 (auto-mode-alist): Add autoload cookie.
4936
4937 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4938
4939 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4940 helpers.el was a poor choice of name.
4941 (string-remove-prefix): New function.
4942 (string-remove-suffix): New function.
4943
4944 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4945
4946 Fix assignment for new window total sizes.
4947 * window.el (window--pixel-to-size): Remove function.
4948 (window--pixel-to-total-1, window--pixel-to-total):
4949 Fix calculation of new total sizes.
4950
4951 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4952
4953 * comint.el (comint-output-filter): Fix rear-nonsticky property
4954 placement (Bug#16010).
4955
4956 2013-12-20 Chong Yidong <cyd@gnu.org>
4957
4958 * faces.el (read-color): Minor fix for completion function.
4959
4960 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4961
4962 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4963 New option. (Bug#16182)
4964 (ruby-smie--indent-to-stmt-p): Use it.
4965 (ruby-smie-rules): Revert the logic in the handling of `when'.
4966 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4967 (ruby-deep-arglist, ruby-deep-indent-paren)
4968 (ruby-deep-indent-paren-style): Update docstrings to note that the
4969 vars don't have any effect with SMIE.
4970
4971 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4972
4973 * calc/calc.el (calc-enter, calc-pop): Use the variable
4974 `calc-context-sensitive-enter'.
4975
4976 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977
4978 * net/shr.el (shr-insert): Protect against infloops in degenerate
4979 tables.
4980
4981 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4982
4983 * progmodes/octave.el (octave): Add link to manual and octave
4984 homepage.
4985 (octave-mode-menu): Link to octave-mode manual.
4986
4987 2013-12-20 Leo Liu <sdl.web@gmail.com>
4988
4989 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4990 insertion using skeleton-end-newline. (Bug#16138)
4991
4992 2013-12-20 Juri Linkov <juri@jurta.org>
4993
4994 * replace.el (occur-engine): Use `add-face-text-property'
4995 to add the face property to matches and titles. (Bug#14645)
4996
4997 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4998 the palette of other hi-lock colors.
4999 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5000
5001 2013-12-19 Juri Linkov <juri@jurta.org>
5002
5003 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5004 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5005 (minibuffer-history-symbol): Move variable declaration closer to
5006 its usage.
5007
5008 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5009 (Bug#14785)
5010
5011 2013-12-19 Juri Linkov <juri@jurta.org>
5012
5013 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5014 New function.
5015 (log-edit-hook): Add it to :options. (Bug#16170)
5016
5017 2013-12-19 Juri Linkov <juri@jurta.org>
5018
5019 * simple.el (eval-expression-print-format): Don't check for
5020 command names and the last command. Always display additional
5021 formats of the integer result in the echo area, and insert them
5022 to the current buffer only with a zero prefix arg.
5023 Display character when char-displayable-p is non-nil.
5024 (eval-expression): With a zero prefix arg, set `print-length' and
5025 `print-level' to nil, and insert the integer values from
5026 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5027
5028 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5029 `eval-last-sexp-arg-internal'. Doc fix.
5030 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5031 `eval-last-sexp-print-value'. Doc fix.
5032 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5033 Set `print-length' and `print-level' to nil when arg is zero.
5034 (eval-last-sexp): Doc fix.
5035 (eval-defun-2): Print the integer values from
5036 `eval-expression-print-format' at the end.
5037
5038 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5039 values from `eval-expression-print-format' at the end.
5040
5041 * ielm.el (ielm-eval-input): Print the integer
5042 values from `eval-expression-print-format' at the end.
5043
5044 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5045
5046 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5047 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5048
5049 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5052 (hl-line-highlight, global-hl-line-highlight): Use it.
5053 (hl-line-overlay): Use defvar-local.
5054
5055 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5056
5057 * term/ns-win.el: Require dnd.
5058 (global-map): Remove drag items.
5059 (ns-insert-text, ns-set-foreground-at-mouse)
5060 (ns-set-background-at-mouse):
5061 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5062 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5063 New functions.
5064
5065 2013-12-19 Glenn Morris <rgm@gnu.org>
5066
5067 * emacs-lisp/ert.el (ert-select-tests):
5068 Fix string/symbol mixup. (Bug#16121)
5069
5070 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5071
5072 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5073 keywords to their parent.
5074
5075 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5076
5077 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5078 first arg to be a string (fixed dead code), or an operator symbol.
5079 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5080 operator symbols.
5081 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5082 did nothing. Don't respond to `(:after ".")', it will be called
5083 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5084 change anything. Only return indentation for binary operators
5085 when they are hanging. De-dent opening paren when its parent is
5086 `.', otherwise it looks bad when the dot is not at bol or eol
5087 (bug#16182).
5088
5089 2013-12-19 Juri Linkov <juri@jurta.org>
5090
5091 * replace.el (query-replace-read-args): Split a non-negative arg
5092 and a negative arg into separate elements.
5093 (query-replace, query-replace-regexp, replace-string)
5094 (replace-regexp): Add arg `backward'. Doc fix.
5095 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5096 move point to the beginning of the match.
5097 (replace-search, replace-highlight): Use new arg `backward'
5098 to set the value of `isearch-forward'.
5099 (perform-replace): Add arg `backward' and use it to perform
5100 replacement backward. (Bug#14979)
5101
5102 * isearch.el (isearch-query-replace): Use a negative prefix arg
5103 to call `perform-replace' with a non-nil arg `backward'.
5104
5105 2013-12-18 Juri Linkov <juri@jurta.org>
5106
5107 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5108 to the default list. Move `log-edit-show-files' to the end.
5109 Add more available functions to options.
5110 (log-edit): Move default specific settings to
5111 `log-edit-insert-message-template'. Don't move point.
5112 (log-edit-insert-message-template): New function.
5113 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5114 (Bug#16170)
5115
5116 2013-12-18 Juri Linkov <juri@jurta.org>
5117
5118 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5119 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5120
5121 2013-12-18 Leo Liu <sdl.web@gmail.com>
5122
5123 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5124 (Bug#16186)
5125
5126 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5127
5128 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5129 formats for displaying file sizes when the -s switch is given.
5130 Instead, compute a separate format for displaying the size in
5131 blocks, which is displayed in addition to the "regular" size.
5132 When -h is given in addition to -s, produce size in blocks in
5133 human-readable form as well. (Bug#16179)
5134
5135 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5136
5137 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5138 Reference tables with ~\ref{...} instead of only \ref{...}.
5139
5140 2013-12-18 Chong Yidong <cyd@gnu.org>
5141
5142 * cus-edit.el (custom-magic-alist): Fix "themed" description
5143 (Bug#14348).
5144
5145 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5146 is non-nil, do not create a new entry in the symbol's theme-value
5147 or theme-face property; update theme-settings only (Bug#14664).
5148 (custom-available-themes): Doc fix.
5149
5150 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5151 (Bug#15674).
5152
5153 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5154
5155 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5156
5157 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5158 (Bug#13914).
5159
5160 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5161
5162 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5163
5164 2013-12-18 Glenn Morris <rgm@gnu.org>
5165
5166 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5167 * cus-start.el (load-prefer-newer): New option.
5168
5169 2013-12-18 Le Wang <l26wang@gmail.com>
5170
5171 * comint.el (comint-previous-matching-input-from-input):
5172 Retain point (Bug#13404).
5173
5174 2013-12-18 Chong Yidong <cyd@gnu.org>
5175
5176 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5177
5178 2013-12-18 Glenn Morris <rgm@gnu.org>
5179
5180 * mail/emacsbug.el (report-emacs-bug):
5181 Only mention enable-multibyte-characters if non-standard.
5182
5183 2013-12-17 Juri Linkov <juri@jurta.org>
5184
5185 * arc-mode.el (archive-extract-by-file): Check if directory exists
5186 before deletion to not show irrelevant errors if it doesn't exist.
5187
5188 2013-12-17 Juri Linkov <juri@jurta.org>
5189
5190 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5191 (Bug#14751)
5192
5193 * net/eww.el (browse-web): Add alias to `eww'.
5194 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5195 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5196
5197 * net/browse-url.el (browse-url-browser-function): Move `eww'
5198 closer to similar functions.
5199
5200 * startup.el (fancy-startup-screen, fancy-about-screen):
5201 Set browse-url-browser-function to eww-browse-url locally.
5202 (Bug#14751)
5203
5204 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * window.el (window--pixel-to-total): Remove unused `mini' var.
5207 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5208 (split-window): Remove unused `new' var.
5209 (window--display-buffer): Remove unused `frame' and `delta' vars.
5210 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5211 and display-width'.
5212
5213 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5214
5215 * dired.el (dired-mark-pop-up):
5216 * register.el (register-preview): Don't bind
5217 split-height-threshold here since it's now done in
5218 display-buffer-below-selected.
5219
5220 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5221
5222 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5223 xterm-rgb-convert-to-16bit.
5224 (rxvt-register-default-colors): Standardize with
5225 xterm-register-default-colors (Bug#14078).
5226
5227 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5228
5229 * simple.el (kill-region): Pass mark first, then point, so that
5230 kill-append works right (Bug#12819).
5231 (copy-region-as-kill, kill-ring-save): Likewise.
5232
5233 2013-12-17 Leo Liu <sdl.web@gmail.com>
5234
5235 * net/rcirc.el (rcirc-add-face):
5236 * eshell/em-prompt.el (eshell-emit-prompt):
5237 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5238 (Bug#16167)
5239
5240 2013-12-17 Chong Yidong <cyd@gnu.org>
5241
5242 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5243 Suggested by Xue Fuqiao.
5244
5245 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5246
5247 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5248
5249 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5250
5251 * net/shr.el (shr-insert-document): Remove unused var
5252 `shr-preliminary-table-render'.
5253 (shr-rescale-image): Remove unused arg `force'.
5254 (shr-put-image): Update calls accordingly.
5255 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5256
5257 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5258
5259 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5260 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5261 :close-all, to see which indentation method to use (Bug#16116).
5262 (smie-rules-function): Document the method :close-all.
5263
5264 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5265
5266 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5267
5268 * net/eww.el (eww-display-html): If we can't find the anchor we're
5269 looking for, then go to point-min.
5270
5271 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5272
5273 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5274 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5275 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5276 Expand dir too, in case it's relative.
5277
5278 2013-12-16 Juri Linkov <juri@jurta.org>
5279
5280 * desktop.el (desktop-auto-save-timeout): Change default to
5281 `auto-save-timeout'. Doc fix.
5282 (desktop-save): Skip the timestamp in desktop-saved-frameset
5283 when checking for auto-save changes.
5284 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5285 `desktop-auto-save' is called repeatedly by the idle timer.
5286 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5287 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5288 (Bug#15331)
5289
5290 2013-12-16 Juri Linkov <juri@jurta.org>
5291
5292 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5293 (Bug#16035)
5294 (isearch-pre-command-hook): Check `this-command' for symbolp.
5295
5296 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5299
5300 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5301
5302 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5303 (cfengine3--current-function): Bring in the current-function
5304 functionality from `cfengine3--current-word'.
5305 (cfengine3-completion-function): Bring in the
5306 bounds-of-current-word functionality from
5307 `cfengine3--current-word'.
5308
5309 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5310
5311 * window.el (display-buffer-below-selected):
5312 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5313
5314 2013-12-16 Leo Liu <sdl.web@gmail.com>
5315
5316 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5317 Remove NOMSG arg and all uses changed.
5318
5319 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5320
5321 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5322 (cua--deactivate-rectangle): Don't deactivate the mark.
5323 (cua-set-rectangle-mark): Don't set mark-active since
5324 cua--activate-rectangle already does it for us.
5325 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5326 non-rectangular region.
5327
5328 * emulation/cua-base.el (cua-repeat-replace-region):
5329 Use with-current-buffer.
5330
5331 * net/gnutls.el: Use cl-lib.
5332 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5333
5334 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5335
5336 * emacs-lisp/package.el (package-built-in-p): Support both
5337 built-in and the package.el converted package descriptions.
5338 (package-show-package-list): Allow keywords.
5339 (package-keyword-button-action): Use it instead of
5340 `finder-list-matches'.
5341 (package-menu-filter-interactive): Interactive filtering (by
5342 keyword) function.
5343 (package-menu--generate): Support keywords and change keymappings
5344 and headers when they are given.
5345 (package--has-keyword-p): Helper function.
5346 (package-menu--refresh): Use it.
5347 (package--mapc): Helper function.
5348 (package-all-keywords): Use it.
5349 (package-menu-mode-map): Set up menu items and keybindings to
5350 provide a filtering UI.
5351
5352 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5353
5354 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5355 the behavior when a certificate fails validation. Defaults to
5356 old behavior: never abort, just warn.
5357 (gnutls-negotiate): Use it.
5358
5359 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5360
5361 * window.el (display-buffer-below-selected): Never split window
5362 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5363
5364 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5365
5366 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5367 (package-buffer-info): Use it (bug#15108).
5368
5369 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * icomplete.el (icomplete-completions): Make sure the prefix is already
5372 displayed elsewhere before hiding it (bug#16219).
5373
5374 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5375
5376 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5377 open-paren tokens when preceded by a open-paren, too.
5378 (ruby-smie-rules): Handle virtual indentation after open-paren
5379 tokens specially. If there is code between it and eol, return the
5380 column where is starts (Bug#16118).
5381
5382 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5383
5384 * progmodes/cfengine.el: Fix `add-hook' doc.
5385 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5386 (cfengine3--current-word): Fix parameters.
5387 (cfengine3-make-syntax-cache): Simplify further.
5388 (cfengine3-completion-function, cfengine3--current-function):
5389 Use `assq' for symbols.
5390 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5391
5392 2013-12-13 Glenn Morris <rgm@gnu.org>
5393
5394 * loadup.el (load-path): Warn if site-load or site-init changes it.
5395 No more need to reset it when bootstrapping.
5396
5397 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5398
5399 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5400 locations for cf-promises.
5401 (cfengine-mode-syntax-functions-regex): New caching variable.
5402 (cfengine3-fallback-syntax): Fallback syntax for cases where
5403 cf-promises doesn't run.
5404 (cfengine3--current-word): Reimplement using
5405 `cfengine-mode-syntax-functions-regex'.
5406 (cfengine3-completion-function, cfengine3--current-function):
5407 Use `cfengine3-make-syntax-cache' directly.
5408 (cfengine3-clear-syntax-cache): New function.
5409 (cfengine3-make-syntax-cache): Simplify and create
5410 `cfengine-mode-syntax-functions-regex' on demand.
5411 (cfengine3-format-function-docstring): Don't call
5412 `cfengine3-make-syntax-cache' explicitly.
5413
5414 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5415
5416 Fix windmove-find-other-window broken after pixelwise resizing
5417 (Bug#16017).
5418 * windmove.el (windmove-other-window-loc): Revert change from
5419 2013-12-04.
5420 (windmove-find-other-window): Call window-in-direction.
5421 * window.el (window-in-direction): New arguments SIGN, WRAP and
5422 MINI to emulate original windmove-find-other-window behavior.
5423
5424 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5425
5426 * simple.el (blink-matching--overlay): New variable.
5427 (blink-matching-open): Instead of moving point, highlight the
5428 matching paren with an overlay
5429 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5430
5431 * faces.el (paren-showing-faces, show-paren-match)
5432 (show-paren-mismatch): Move from paren.el.
5433
5434 2013-12-13 Leo Liu <sdl.web@gmail.com>
5435
5436 * indent.el (indent-region): Disable progress reporter in
5437 minibuffer. (Bug#16108)
5438
5439 * bindings.el (visual-order-cursor-movement): Fix version.
5440
5441 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5442
5443 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5444 Also match after beginning of line.
5445 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5446 files. Thanks to Russell Sim. (Bug#15378)
5447
5448 2013-12-13 Juri Linkov <juri@jurta.org>
5449
5450 * simple.el <Keypad support>: Remove key bindings duplicated
5451 with bindings.el. (Bug#14397)
5452
5453 2013-12-13 Juri Linkov <juri@jurta.org>
5454
5455 * comint.el (comint-mode-map): Replace `delete-char' with
5456 `delete-forward-char'. (Bug#16109)
5457
5458 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5459
5460 * progmodes/python.el (python-indent-calculate-indentation):
5461 Fix de-denters cornercase. (Bug#15731)
5462
5463 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5466 (advice--make): Pay attention to `depth'.
5467 (advice--make-1): Don't autoload commands eagerly.
5468 * emacs-lisp/elp.el (elp-instrument-function):
5469 * emacs-lisp/trace.el (trace-function-internal):
5470 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5471
5472 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5473
5474 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5475
5476 * term/w32-win.el (w32-handle-dropped-file):
5477 * startup.el (normal-top-level):
5478 * net/browse-url.el (browse-url-file-url):
5479 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5480 decode file names using 'utf-8' rather than
5481 file-name-coding-system.
5482
5483 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5484
5485 * progmodes/python.el (python-indent-context)
5486 (python-indent-calculate-indentation): Fix auto-identation
5487 behavior for comment blocks. (Bug#15916)
5488
5489 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5490
5491 * progmodes/python.el (python-indent-calculate-indentation):
5492 When determining indentation, don't treat "return", "pass", etc., as
5493 operators when they are just string constituents. (Bug#15812)
5494
5495 2013-12-12 Juri Linkov <juri@jurta.org>
5496
5497 * uniquify.el (uniquify-buffer-name-style): Change default to
5498 `post-forward-angle-brackets'.
5499
5500 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5501 `uniquify'. Change default to `post-forward-angle-brackets'.
5502
5503 2013-12-11 Glenn Morris <rgm@gnu.org>
5504
5505 * emacs-lisp/package.el (finder-list-matches):
5506 Autoload rather than falsely declaring.
5507
5508 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5509
5510 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5511 (eww-mode-map): Use them.
5512
5513 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5514
5515 * window.el (display-buffer-in-side-window): Fix doc-string
5516 (Bug#16115).
5517
5518 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5519
5520 * vc/vc-git.el: Silence byte-compiler warnings.
5521 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5522 (log-edit-set-header): Declare.
5523
5524 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5525
5526 * Makefile.in (custom-deps, finder-data): Run output file names
5527 through unmsys--file-name. (Bug#16099)
5528
5529 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5532 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5533
5534 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5535 instead of deleting the selection "by hand" (bug#16098).
5536 Rely on insert-for-yank to yank rectangles.
5537 (cua-highlight-region-shift-only): Mark obsolete.
5538 (cua-mode): Don't enable/disable transient-mark-mode,
5539 shift-select-mode (cua-mode works both with and without them), and
5540 pc-selection-mode (obsolete).
5541 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5542 (cua--deactivate-rectangle): Deactivate it.
5543
5544 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5545 (delete-selection-helper): Make sure yank starts at the top of the
5546 deleted region.
5547 (minibuffer-keyboard-quit): Use region-active-p.
5548
5549 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5550
5551 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5552 to `delete' (bug#16109).
5553
5554 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5555
5556 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5557 info manual and show keybindings and set `:group' keyword.
5558
5559 2013-12-11 Juri Linkov <juri@jurta.org>
5560
5561 * delsel.el (delete-active-region): Let-bind `this-command'
5562 to prevent `kill-region' from changing its original value.
5563 (delete-selection-helper): Handle `overwrite-mode' for the type
5564 `kill' exactly the same way as for the type `t'.
5565 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5566 Support more commands. (Bug#13312)
5567
5568 2013-12-11 Juri Linkov <juri@jurta.org>
5569
5570 * bindings.el: Map kp keys to non-kp keys systematically
5571 with basic modifiers control, meta and shift. (Bug#14397)
5572
5573 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5574
5575 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5576 "Close browser" menu items. Fix wrong function of "List
5577 bookmarks".
5578
5579 2013-12-11 Juri Linkov <juri@jurta.org>
5580
5581 * misearch.el (multi-isearch-buffers): Set the value of
5582 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5583 arg of isearch-forward to t.
5584 (multi-isearch-buffers-regexp): Set the value of
5585 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5586 arg of isearch-forward-regexp to t.
5587 (multi-isearch-files): Set the value of
5588 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5589 arg of isearch-forward to t.
5590 (multi-isearch-files-regexp): Set the value of
5591 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5592 arg of isearch-forward-regexp to t. (Bug#16035)
5593
5594 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5595 arg of isearch-forward to t.
5596 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5597 arg of isearch-forward-regexp to t.
5598 (dired-isearch-filter-filenames): Remove unnecessary check for
5599 `dired-isearch-filenames'.
5600
5601 * comint.el (comint-history-isearch-backward):
5602 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5603 (comint-history-isearch-backward-regexp):
5604 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5605
5606 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5607
5608 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5609 unmsys--file-name. (Bug#16099)
5610
5611 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5612
5613 * emacs-lisp/package.el (package-keyword-button-action):
5614 Remove finder.el require dependency.
5615
5616 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5617
5618 * emacs-lisp/package.el: Require finder.el.
5619 (describe-package-1): Add keyword buttons.
5620 (package-make-button): New convenience function.
5621 (package-keyword-button-action): Keyword button action using
5622 `finder-list-matches'.
5623
5624 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5625
5626 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5627 last commit.
5628
5629 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5630
5631 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5632 symlinked files.
5633
5634 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5635
5636 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5637 after the end of a percent literal.
5638
5639 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5640
5641 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5642 Handle caret-delimited strings (Bug#16079).
5643
5644 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5645
5646 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5647 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5648 `ruby-parse-partial' (Bug#16078).
5649
5650 2013-12-09 Leo Liu <sdl.web@gmail.com>
5651
5652 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5653
5654 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5655
5656 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5657 (js-switch-indent-offset): New option.
5658 (js--proper-indentation): Use it. And handle the case when
5659 "default" is actually a key in an object literal.
5660 (js--same-line): New function.
5661 (js--multi-line-declaration-indentation): Use it.
5662 (js--indent-in-array-comp, js--array-comp-indentation):
5663 New functions.
5664 (js--proper-indentation): Use them, to handle array comprehension
5665 continuations.
5666
5667 2013-12-08 Leo Liu <sdl.web@gmail.com>
5668
5669 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5670 (flymake-make-overlay): Remove arg MOUSE-FACE.
5671 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5672
5673 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5676 New function.
5677 (redisplay-highlight-region-function): Use it.
5678
5679 * emulation/cua-base.el (cua--explicit-region-start)
5680 (cua--last-region-shifted): Remove.
5681 (cua--deactivate): Use deactivate-mark.
5682 (cua--pre-command-handler-1): Don't handle shift-selection.
5683 (cua--post-command-handler-1): Don't change transient-mark-mode.
5684 (cua--select-keymaps): Use region-active-p rather than
5685 cua--explicit-region-start or cua--last-region-shifted.
5686 (cua-mode): Enable shift-select-mode.
5687
5688 2013-12-08 Leo Liu <sdl.web@gmail.com>
5689
5690 * progmodes/flymake.el (flymake-popup-current-error-menu):
5691 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5692 (flymake-posn-at-point-as-event, flymake-popup-menu)
5693 (flymake-make-emacs-menu): Remove. (Bug#16077)
5694
5695 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * rect.el (rectangle-mark-mode): Activate mark even if
5698 transient-mark-mode is off (bug#16066).
5699 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5700 is > mark and at bolp.
5701
5702 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5703 (region-extract-function): Use it.
5704 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5705 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5706 Delete functions.
5707 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5708 kill-ring-save, kill-region, delete-char, delete-forward-char.
5709 Ignore self-insert-iso.
5710
5711 * emulation/cua-gmrk.el (cua--init-global-mark):
5712 Ignore `self-insert-iso'.
5713
5714 * emulation/cua-base.el (cua--prefix-copy-handler)
5715 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5716 checking cua--rectangle.
5717 (cua-delete-region): Use region-extract-function.
5718 (cua-replace-region): Delete function.
5719 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5720 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5721 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5722 (cua--init-keymaps): Don't remap delete-selection commands.
5723 (cua-mode): Use delete-selection-mode instead of rolling our own
5724 (bug#16085).
5725
5726 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5727 Obey region-extract-function.
5728
5729 Make registers and delete-selection-mode work on rectangles.
5730 * register.el (describe-register-1): Don't modify the register's value.
5731 (copy-to-register): Obey region-extract-function.
5732 * delsel.el (delete-active-region): Obey region-extract-function.
5733
5734 2013-12-08 Leo Liu <sdl.web@gmail.com>
5735
5736 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5737 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5738 (flymake-compilation-prevents-syntax-check)
5739 (flymake-start-syntax-check-on-newline)
5740 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5741 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5742 (flymake-xml-program, flymake-master-file-dirs)
5743 (flymake-master-file-count-limit)
5744 (flymake-allowed-file-name-masks): Relocate.
5745 (flymake-makehash, flymake-float-time)
5746 (flymake-replace-regexp-in-string, flymake-split-string)
5747 (flymake-get-temp-dir): Remove.
5748 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5749 (flymake-current-row, flymake-selected-frame)
5750 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5751 related functions. (Bug#16077)
5752
5753 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5754
5755 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5756
5757 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5758
5759 * help-fns.el (describe-function-1): Use new advice-* functions
5760 rather than old ad-* functions. Fix function type description and
5761 source links for advised functions and subrs.
5762
5763 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5764
5765 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5766
5767 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5768
5769 * progmodes/compile.el (compilation-start):
5770 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5771
5772 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5773 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5774
5775 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5776
5777 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5778 Touch up the last change.
5779
5780 2013-12-06 Leo Liu <sdl.web@gmail.com>
5781
5782 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5783 (inferior-octave-startup): Always use "octave> " for prompt.
5784 (octave-goto-function-definition)
5785 (octave-sync-function-file-names)
5786 (octave-find-definition-default-filename): Remove redundant backquotes.
5787
5788 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5789
5790 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5791 syntax for `?'.
5792 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5793 where appropriate already.
5794 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5795 end of method names (Bug#15874).
5796
5797 2013-12-06 Juri Linkov <juri@jurta.org>
5798
5799 * isearch.el (isearch--saved-overriding-local-map):
5800 New internal variable.
5801 (isearch-mode): Set it to the initial value of
5802 `overriding-terminal-local-map'.
5803 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5804 with `isearch--saved-overriding-local-map'. (Bug#16035)
5805
5806 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5807
5808 * progmodes/octave.el (inferior-octave-completion-table):
5809 Turn back into function, use `completion-table-with-cache'
5810 (Bug#11906). Update all references.
5811
5812 * minibuffer.el (completion-table-with-cache): New function.
5813
5814 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5815
5816 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5817
5818 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5819
5820 * net/eww.el (eww-current-source): New variable to store page
5821 source.
5822 (eww-display-html, eww-mode, eww-save-history)
5823 (eww-restore-history): Use it.
5824 (eww-view-source): New command to view page source.
5825 Opportunistically uses `html-mode' to highlight the buffer.
5826 (eww-mode-map): Install it.
5827
5828 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5829
5830 * net/dbus.el (dbus-unregister-service)
5831 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5832 Fix docstring.
5833 (dbus-unregister-service): Skip :serial entries in
5834 `dbus-registered-objects-table'.
5835 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5836
5837 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5838
5839 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5840 around keywords with extra `split-string' argument.
5841
5842 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5843
5844 * windmove.el (windmove-other-window-loc): Handle navigation
5845 between windows (excluding the minibuffer window - Bug#16017).
5846
5847 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5848
5849 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5850 in D-Bus type syntax.
5851 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5852 preserve unibyte strings. (Bug#16048)
5853
5854 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5857 Call force-mode-line-update is the proper buffer (bug#16042).
5858
5859 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5860
5861 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5862 `log-edit-remember-comment', make argument optional. Adjust all
5863 callers.
5864 (log-edit-mode): Add `log-edit-remember-comment' to
5865 `kill-buffer-hook' locally.
5866 (log-edit-kill-buffer): Don't remember comment explicitly since
5867 the buffer is killed anyway.
5868
5869 2013-12-04 Juri Linkov <juri@jurta.org>
5870
5871 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5872 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5873
5874 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5875
5876 * notifications.el (notifications-close-notification): Call the
5877 D-Bus method with ID being a `:uint32'. (Bug#16030)
5878
5879 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5880
5881 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5882
5883 2013-12-03 Juri Linkov <juri@jurta.org>
5884
5885 * progmodes/compile.el (compilation-start): Rename window alist
5886 entry `no-display-ok' to `allow-no-window'.
5887
5888 * simple.el (shell-command): Add window alist entry
5889 `allow-no-window' to `display-buffer'.
5890 (async-shell-command): Doc fix.
5891
5892 * window.el (display-buffer-no-window): New action function.
5893 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5894
5895 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5896
5897 * vc/log-edit.el (log-edit-set-header): Extract from
5898 `log-edit-toggle-header'.
5899 (log-edit-extract-headers): Separate the summary, when extracted
5900 from header, from the rest of the message with an empty line.
5901
5902 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5903 line, if present, to the Summary header.
5904
5905 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5908 in current-buffer (bug#16029).
5909
5910 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5911
5912 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5913 (debugger-mode-map): Bind it.
5914 (debugger--backtrace-base): New function.
5915 (debugger-eval-expression): Use it.
5916 (debugger-frame-number): Skip local vars when present.
5917 (debugger--locals-visible-p, debugger--insert-locals)
5918 (debugger--show-locals, debugger--hide-locals): New functions.
5919
5920 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5921
5922 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5923 "LC_ALL".
5924 (tramp-get-remote-locale): New defun.
5925 (tramp-open-connection-setup-interactive-shell): Use it.
5926
5927 2013-12-02 Leo Liu <sdl.web@gmail.com>
5928
5929 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5930
5931 * progmodes/sh-script.el (sh-shell-process):
5932 * progmodes/octave.el (inferior-octave-process-live-p):
5933 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5934 (gdb-inferior-io-sentinel):
5935 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5936
5937 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5938
5939 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5940 `save-selected-window' to `log-edit-hide-buf'. This makes
5941 `log-edit-show-files' idempotent.
5942 (log-edit-show-files): Mark the new window as dedicated.
5943
5944 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5945
5946 * vc/log-edit.el (log-edit-mode-map): Add binding for
5947 `log-edit-kill-biffer'.
5948 (log-edit-hide-buf): Add a FIXME comment.
5949 (log-edit-add-new-comment): New function, extracted from
5950 `log-edit-done'.
5951 (log-edit-done, log-edit-add-to-changelog): Use it.
5952 (log-edit-kill-buffer): New command.
5953
5954 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5955
5956 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5957 instead of killing the buffer.
5958
5959 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5962
5963 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5964
5965 * net/eww.el (eww-form-checkbox-selected-symbol)
5966 (eww-form-checkbox-symbol): New customizable variable.
5967 (eww-form-checkbox, eww-toggle-checkbox):
5968 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5969
5970 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5971 (shr--get-media-pref, shr--extract-best-source): New function.
5972 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5973 no :src tag was specified.
5974
5975 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5976 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5977 Use \\` to match beginning of string instead of ^.
5978 (eww-browse-with-external-browser): Provide optional URL parameter.
5979 (eww-render): Set `eww-current-title' back to "".
5980
5981 * net/shr.el (shr-tag-video): Display content for video if no
5982 poster is available.
5983 (shr-tag-audio): Add support for <audio> tag.
5984
5985 * net/eww.el (eww-text-input-types): New const.
5986 (eww-process-text-input): Treat input types in
5987 `eww-text-input-types' as text.
5988
5989 * net/shr.el (shr-tag-table): Fix comment typo.
5990
5991 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5992
5993 * net/eww.el (eww-follow-link): New command to avoid reloading
5994 pages when we follow #target links (bug#15243).
5995 (eww-quit): Special mode buffers shouldn't query before exiting.
5996
5997 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5998
5999 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6000 forms.
6001
6002 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6003
6004 * net/eww.el (eww-restore-history): Update the window title after
6005 moving in the history.
6006 (eww-current-dom): New variable used to save the current DOM.
6007
6008 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6009
6010 * vc/log-edit.el (log-edit-mode-map): Add binding for
6011 `log-edit-beginning-of-line'.
6012 (log-edit-setup-add-author): New user option.
6013 (log-edit-beginning-of-line): New command.
6014 (log-edit): Move major mode call above the contents setup so that
6015 the local variable values are already applied.
6016 (log-edit): Only insert "Author: " when
6017 `log-edit-setup-add-author' is non-nil.
6018 (log-edit): When SETUP is non-nil, position point after ": "
6019 instead of point-min.
6020
6021 2013-12-01 Glenn Morris <rgm@gnu.org>
6022
6023 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6024
6025 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6026
6027 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6028 redisplay to make sure the initial frame gets a chance to become
6029 visible. (Bug#16014)
6030
6031 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6032
6033 Support resizing frames and windows pixelwise.
6034 * cus-start.el (frame-resize-pixelwise)
6035 (window-resize-pixelwise): New entries.
6036 * emacs-lisp/debug.el (debug): Use window-total-height instead
6037 of window-total-size.
6038 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6039 * help.el (describe-bindings-internal): Use help-buffer as
6040 argument for with-help-window.
6041 (temp-buffer-max-width): New option.
6042 (resize-temp-buffer-window, help-window-setup)
6043 (with-help-window): Rewrite.
6044 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6045 dragging dividers.
6046 * window.el (frame-char-size, window-min-pixel-height)
6047 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6048 (window-min-pixel-width, window-safe-min-pixel-size)
6049 (window-combination-p, window-safe-min-size)
6050 (window-resizable-p, window--size-to-pixel)
6051 (window--pixel-to-size, window--resize-apply-p): New functions.
6052 (window-safe-min-height): Fix doc-string.
6053 (window-size, window-min-size, window--min-size-1)
6054 (window-sizable, window-sizable-p, window--min-delta-1)
6055 (window-min-delta, window--max-delta-1, window-max-delta)
6056 (window--resizable, window--resizable-p, window-resizable)
6057 (window-full-height-p, window-full-width-p, window-at-side-p)
6058 (window--in-direction-2, window-in-direction)
6059 (window--resize-reset-1, window--resize-mini-window)
6060 (window-resize, window-resize-no-error)
6061 (window--resize-child-windows-normal)
6062 (window--resize-child-windows, window--resize-siblings)
6063 (window--resize-this-window, window--resize-root-window)
6064 (window--resize-root-window-vertically)
6065 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6066 (maximize-window, minimize-window, delete-window)
6067 (quit-restore-window, window-split-min-size, split-window)
6068 (balance-windows-2, balance-windows)
6069 (balance-windows-area-adjust, balance-windows-area)
6070 (window--state-get-1, window-state-get, window--state-put-1)
6071 (window--state-put-2, window-state-put)
6072 (display-buffer-record-window, window--display-buffer):
6073 Make functions handle pixelwise sizing of windows.
6074 (display-buffer--action-function-custom-type)
6075 (display-buffer-fallback-action):
6076 Add display-buffer-in-previous-window.
6077 (display-buffer-use-some-window): Resize window to height it had
6078 before.
6079 (fit-window-to-buffer-horizontally): New option.
6080 (fit-frame-to-buffer): Describe new values.
6081 (fit-frame-to-buffer-bottom-margin): Replace with
6082 fit-frame-to-buffer-margins.
6083 (window--sanitize-margin): New function.
6084 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6085 using window-text-pixel-size.
6086
6087 2013-11-30 Glenn Morris <rgm@gnu.org>
6088
6089 * emacs-lisp/bytecomp.el (byte-compile-form):
6090 Make the `interactive-only' warning like the `obsolete' one.
6091 * comint.el (comint-run):
6092 * files.el (insert-file-literally, insert-file):
6093 * replace.el (replace-string, replace-regexp):
6094 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6095 (goto-line, insert-buffer, next-line, previous-line):
6096 Tweak `interactive-only' spec.
6097
6098 Stop keeping (most) generated cedet grammar files in the repository.
6099 * Makefile.in (semantic): New.
6100 (compile-main): Depend on semantic.
6101
6102 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6103
6104 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6105 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6106
6107 * uniquify.el (uniquify-buffer-name-style): Change default.
6108
6109 * loadup.el: Preload "uniquify".
6110
6111 * time.el (display-time-update): Update all mode lines (bug#15999).
6112
6113 * electric.el (electric-indent-mode): Enable by default.
6114 * loadup.el: Preload "electric".
6115
6116 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6117
6118 * emacs-lisp/helpers.el (string-empty-p): New function.
6119 (string-blank-p): New function.
6120
6121 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6122
6123 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6124 (Bug#14029).
6125
6126 2013-11-29 Andreas Politz <politza@fh-trier.de>
6127 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6128 allow non-lambda lists as functions.
6129 (imenu--in-alist): Don't recurse into non-subalists.
6130 (imenu): Don't pass function itself as an argument (Bug#14029).
6131
6132 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * progmodes/python.el (python-mode-map): Remove binding for ":".
6135 (python-indent-electric-colon): Remove command.
6136 (python-indent-post-self-insert-function): Integrate the previous code
6137 of python-indent-electric-colon. Make it conditional on
6138 electric-indent-mode.
6139 (python-mode): Add ?: to electric-indent-chars.
6140 Move python-indent-post-self-insert-function to the end of
6141 post-self-insert-hook.
6142
6143 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6144
6145 * doc-view.el (doc-view-goto-page): Update mode-line.
6146
6147 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6148
6149 2013-11-27 Glenn Morris <rgm@gnu.org>
6150
6151 * international/charprop.el, international/uni-bidi.el:
6152 * international/uni-category.el, international/uni-combining.el:
6153 * international/uni-comment.el, international/uni-decimal.el:
6154 * international/uni-decomposition.el, international/uni-digit.el:
6155 * international/uni-lowercase.el, international/uni-mirrored.el:
6156 * international/uni-name.el, international/uni-numeric.el:
6157 * international/uni-old-name.el, international/uni-titlecase.el:
6158 * international/uni-uppercase.el:
6159 Remove generated files from VCS repository.
6160
6161 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6162
6163 * filenotify.el (file-notify-add-watch): Don't special-case
6164 w32notify when computing the directory to watch.
6165
6166 2013-11-27 Glenn Morris <rgm@gnu.org>
6167
6168 Make bootstrap without generated uni-*.el files possible again.
6169 * loadup.el: Update command-line-args checking for unidata-gen.
6170 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6171 * composite.el, international/characters.el:
6172 Handle unicode tables being undefined.
6173
6174 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6175 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6176 (compile-main): Depend on leim rule.
6177 (leim): New rule.
6178 * loadup.el: Move leim-list.el to leim/ subdirectory.
6179 * startup.el (normal-top-level): No more leim directory.
6180 * international/ja-dic-cnv.el (skkdic-convert):
6181 Disable version-control and autoloads in output files.
6182 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6183 Disable version-control and autoloads in output files.
6184 * leim/quail: Move here from ../leim.
6185 * leim/quail/hangul.el (hangul-input-method-activate):
6186 Add autoload cookie.
6187 (generated-autoload-load-name): Set file-local value.
6188 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6189 (generated-autoload-load-name): Set file-local value.
6190
6191 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6192
6193 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6194 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6195 (eww-quit): Ask confirmation before quitting eww.
6196
6197 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6198
6199 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6200 reading output from Diff on MS-Windows and MS-DOS.
6201
6202 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6203
6204 * emacs-lisp/helpers.el (string-reverse): New function.
6205
6206 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6207
6208 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6209 names on MS Windows, like "/[::1]:".
6210
6211 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6212 SWITCHES.
6213
6214 2013-11-26 Glenn Morris <rgm@gnu.org>
6215
6216 * progmodes/python.el (python-indent-guess-indent-offset):
6217 Avoid corner-case error. (Bug#15975)
6218
6219 Preload leim-list.el. (Bug#4789)
6220 * loadup.el: Load leim-list.el when found.
6221 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6222
6223 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6224
6225 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6226
6227 * emacs-lisp/helpers.el (string-join): New function.
6228
6229 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6230
6231 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6232 Mark as obsolete and replace it with a symbol property.
6233 (byte-compile-form): Use new 'interactive-only property.
6234 * comint.el, files.el, replace.el, simple.el:
6235 Apply new 'interactive-only properly.
6236
6237 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6238
6239 * window.el (display-buffer-at-bottom): Make sure that
6240 split-window-sensibly creates the new window on bottom
6241 (Bug#15961).
6242
6243 2013-11-23 David Kastrup <dak@gnu.org>
6244
6245 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6246 on the conflict markers when available.
6247 (smerge--get-marker): New function.
6248 (smerge-end-re, smerge-base-re): Add subgroup.
6249
6250 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6251
6252 * frame.el (handle-focus-in, handle-focus-out): Add missing
6253 interactive spec.
6254
6255 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6256
6257 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6258 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6259
6260 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6261
6262 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6263 (gomoku--last-pos): New var.
6264 (gomoku--intangible-chars): New const.
6265 (gomoku--intangible): New function.
6266 (gomoku-mode): Use it. Derive from special-mode.
6267 (gomoku-move-up): Adjust line count.
6268 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6269 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6270 Simplify accordingly.
6271
6272 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6273 Remove blink-cursor code.
6274 (blink-cursor-timer-function, blink-cursor-suspend):
6275 Don't special-case GUIs.
6276 (blink-cursor-mode): Use focus-in/out-hook.
6277
6278 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6279
6280 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6281 work when annotation is invisible (Bug#13886).
6282
6283 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6284
6285 * json.el (json-alist-p): Only return non-nil if the alist has
6286 simple keys (Bug#13518).
6287
6288 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6289
6290 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6291 when control-statement is the first statement in a buffer (Bug#15956).
6292
6293 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6294
6295 * imenu.el (imenu-generic-skip-comments-and-strings):
6296 New option (Bug#15560).
6297 (imenu--generic-function): Use it.
6298
6299 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6300
6301 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6302 (Bug#13898)
6303
6304 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6305
6306 * emacs-lisp/helpers.el: Add some string helpers.
6307 (string-trim-left): Removes leading whitespace.
6308 (string-trim-right): Removes trailing whitespace.
6309 (string-trim): Removes leading and trailing whitespace.
6310
6311 * subr.el (string-suffix-p): New function.
6312
6313 2013-11-23 Glenn Morris <rgm@gnu.org>
6314
6315 * progmodes/python.el (python-shell-send-file):
6316 Add option to delete file when done. (Bug#15647)
6317 (python-shell-send-string, python-shell-send-region): Use it.
6318
6319 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6320
6321 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6322 to set buffer-read-only to t, never to nil. (Bug#15938)
6323
6324 * textmodes/tex-mode.el (latex-noindent-environments):
6325 Add safe-local-variable property. (Bug#15936)
6326
6327 2013-11-23 Glenn Morris <rgm@gnu.org>
6328
6329 * textmodes/enriched.el (enriched-mode): Doc fix.
6330 * emacs-lisp/authors.el (authors-renamed-files-alist):
6331 Add enriched.doc -> enriched.txt.
6332
6333 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6334
6335 2013-11-22 Leo Liu <sdl.web@gmail.com>
6336
6337 * progmodes/octave.el (inferior-octave-startup): Spit out error
6338 message.
6339
6340 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6341
6342 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6343 Improve docstring.
6344 Add :version.
6345 (ruby-encoding-magic-comment-style): Add :version.
6346
6347 2013-11-22 Leo Liu <sdl.web@gmail.com>
6348
6349 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6350 (Bug#15076)
6351 (octave-help-mode): Adapt to change to help-mode-finish to use
6352 derived-mode-p on 2013-09-17.
6353 (inferior-octave-prompt): Also match octave-gui.
6354 (octave-kill-process): Don't ask twice. (Bug#10564)
6355
6356 2013-11-22 Leo Liu <sdl.web@gmail.com>
6357
6358 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6359 (inferior-octave-startup, inferior-octave-check-process)
6360 (inferior-octave-track-window-width-change)
6361 (octave-completion-at-point, octave-eldoc-function): Use it.
6362 (octave-kill-process): Provide confirmation. (Bug#10564)
6363
6364 2013-11-21 Leo Liu <sdl.web@gmail.com>
6365
6366 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6367 Fix obsolete variable comment-use-global-state.
6368
6369 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6370
6371 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6372 Add `octave-source-file'.
6373 (octave-source-file): New function. (Bug#15935)
6374
6375 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6376
6377 * net/eww.el (eww-local-regex): New variable.
6378 (eww): Use it to detect localhost and similar.
6379
6380 2013-11-21 Leo Liu <sdl.web@gmail.com>
6381
6382 Add completion for command `ag'.
6383 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6384 (pcomplete/ag): New function.
6385 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6386
6387 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6390 (bug#14646).
6391 (make-obsolete): Remove interactive spec.
6392
6393 2013-11-21 Glenn Morris <rgm@gnu.org>
6394
6395 * startup.el (command-line-1): Use path-separator with -L.
6396
6397 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6398
6399 * emacs-lisp/package.el (describe-package-1): Add package archive
6400 to shown fields.
6401
6402 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6403
6404 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6405 Change default to "# encoding: %s" to differentiate it from the
6406 default Ruby encoding comment template.
6407
6408 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6409
6410 * ses.el (ses-mode): Doc fix. (Bug#14748)
6411
6412 2013-11-20 Leo Liu <sdl.web@gmail.com>
6413
6414 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6415
6416 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6417
6418 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6419 when rebase or bisect are in progress.
6420
6421 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6422
6423 * filenotify.el (file-notify-add-watch): Doc fix.
6424
6425 2013-11-19 Leo Liu <sdl.web@gmail.com>
6426
6427 * obsolete/rcompile.el: Mark obsolete.
6428
6429 * progmodes/compile.el (compilation-start)
6430 (compilation-goto-locus, compilation-find-file):
6431 Pass no-display-ok and handle nil value from display-buffer.
6432 (Bug#13594)
6433
6434 * window.el (display-buffer-alist, display-buffer): Document the
6435 new parameter no-display-ok. Return either a window or nil
6436 but never a non-window value.
6437
6438 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6439
6440 * electric.el (electric-indent-mode-map): Remove.
6441 (electric-indent-mode): Change the global-map instead (bug#15915).
6442
6443 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6444 Use add-function.
6445
6446 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * emacs-lisp/nadvice.el (remove-function): Align with
6449 add-function's behavior.
6450
6451 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6452 (gdb--string-regexp): New constant.
6453 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6454 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6455 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6456 submatch 1.
6457 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6458 Adjust use accordingly.
6459 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6460
6461 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6462
6463 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6464 interpolation curlies (Bug#15914).
6465
6466 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6467
6468 * calc/calc.el (calc-context-sensitive-enter): New variable.
6469 (calc-enter): Use `calc-context-sensitive-enter'.
6470
6471 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6472
6473 * progmodes/cfengine.el: Version bump.
6474 (cfengine-cf-promises): New defcustom to locate cf-promises.
6475 (cfengine3-vartypes): Add new "data" type.
6476 (cfengine3--current-word): New function to get current name-like
6477 word or its bounds.
6478 (cfengine3--current-function): New function to look up a CFEngine
6479 function's definition.
6480 (cfengine3-format-function-docstring): New function.
6481 (cfengine3-make-syntax-cache): New function.
6482 (cfengine3-documentation-function): New function: ElDoc glue.
6483 (cfengine3-completion-function): New function: completion glue.
6484 (cfengine3-mode): Set `compile-command',
6485 `eldoc-documentation-function', and add to
6486 `completion-at-point-functions'.
6487
6488 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6489
6490 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6491 `tramp-current-connection'.
6492
6493 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6494
6495 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6496 nil/self/true/false with "end of symbol".
6497
6498 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6499
6500 * subr.el (version-regexp-alist): Fix a typo.
6501
6502 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6503
6504 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6505 "en_US.utf8" and "LC_CTYPE" to "".
6506 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6507 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6508
6509 2013-11-15 Leo Liu <sdl.web@gmail.com>
6510
6511 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6512
6513 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6514
6515 * progmodes/gud.el (ctl-x-map):
6516 Remove C-x SPC binding. (Bug#12342)
6517 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6518
6519 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6520
6521 * subr.el (version-regexp-alist):
6522 Recognize hg, svn and darcs versions as snapshot versions.
6523
6524 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6525 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6526 (ruby--encoding-comment-required-p): Extract from
6527 `ruby-mode-set-encoding'.
6528 (ruby-mode-set-encoding): Add the ability to always insert an
6529 utf-8 encoding comment. Fix and simplify coding comment update
6530 logic.
6531
6532 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6533
6534 * net/tramp-gvfs.el (top): Run init code only when
6535 `tramp-gvfs-enabled' is not nil.
6536 (tramp-gvfs-enabled): Check also :system bus.
6537
6538 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 Sync with upstream verilog-mode revision 78e66ba.
6541 * progmodes/verilog-mode.el (verilog-end-of-defun)
6542 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6543 (verilog-get-end-of-defun): Remove unused argument.
6544 (verilog-comment-depth): Remove unused local `e'.
6545 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6546 Don't pass arg to verilog-get-end-of-defun.
6547
6548 2013-11-14 Glenn Morris <rgm@gnu.org>
6549
6550 * obsolete/assoc.el (aget): Prefix dynamic variable.
6551
6552 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6553
6554 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6555
6556 * widget.el, hfy-cmap.el: Remove bogus package version number.
6557
6558 2013-11-13 Glenn Morris <rgm@gnu.org>
6559
6560 * replace.el (replace-eval-replacement):
6561 Try to give more helpful error message. (Bug#15836)
6562
6563 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6564 (archive-7z-update): Avoid custom type mismatches.
6565
6566 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6567
6568 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6571 address can be empty.
6572
6573 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6574 Accept nil SWITCHES.
6575 (tramp-gvfs-handle-write-region): Implement APPEND.
6576
6577 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6578
6579 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6580 binary "|" operator and closing block args delimiter.
6581 Remove FIXME comment referring to Ruby 1.8-only syntax.
6582 (ruby-smie--implicit-semi-p): Not after "|" operator.
6583 (ruby-smie--closing-pipe-p): New function.
6584 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6585 (ruby-smie-rules): Indent after "|".
6586
6587 2013-11-12 Glenn Morris <rgm@gnu.org>
6588
6589 * ps-print.el (ps-face-attribute-list):
6590 Handle anonymous faces. (Bug#15827)
6591
6592 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6593
6594 * window.el (display-buffer-other-frame): Fix doc-string.
6595 (Bug#15868)
6596
6597 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6600
6601 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6602
6603 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6604 (tramp-sh-handle-file-local-copy): Don't write a message when
6605 saving temporary files.
6606
6607 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6608 both directories are remote.
6609 (tramp-smb-handle-directory-files): Do not return double entries.
6610 Do not expand full file names.
6611 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6612 (tramp-smb-handle-write-region): Implement APPEND.
6613 (tramp-smb-get-stat-capability): Fix a stupid bug.
6614
6615 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6618
6619 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6620
6621 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6622 throwing error over malformed let/let* (bug#15814).
6623
6624 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 * iswitchb.el (iswitchb-mode): Mark obsolete.
6627
6628 2013-11-11 Glenn Morris <rgm@gnu.org>
6629
6630 * international/uni-bidi.el, international/uni-category.el:
6631 * international/uni-name.el, international/uni-numeric.el:
6632 Regenerate for Unicode 6.3.0.
6633
6634 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6635
6636 * net/tramp.el (tramp-methods):
6637 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6638 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6639
6640 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6641
6642 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6643 Force highlighting text after Summary keyword in doc face for rpm.
6644
6645 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6646
6647 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6648 available and the word has no wildcards, append one to the grep pattern.
6649 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6650 (ispell-complete-word): Call `ispell-lookup-words' with the value
6651 independent of `ispell-look-p'.
6652
6653 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6654
6655 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6656 Not after "||".
6657 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6658 their parent.
6659
6660 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6661
6662 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6663 (ruby-font-lock-keywords): Use backquote.
6664
6665 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6666
6667 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6668 (ruby-smie--backward-token): Only consider full-string matches.
6669
6670 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6671
6672 * faces.el (describe-face): Add distant-foreground.
6673
6674 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6675
6676 * progmodes/ruby-mode.el: Improve encoding comment handling.
6677 (ruby-encoding-magic-comment-style): New option.
6678 (ruby-custom-encoding-magic-comment-template): New option.
6679 (ruby--insert-coding-comment, ruby--detect-encoding):
6680 New functions extracted from `ruby-mode-set-encoding'.
6681 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6682 to control the style of the auto-inserted encoding comment.
6683
6684 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6685
6686 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6687 Use `smie-backward-sexp' with token argument.
6688
6689 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6690
6691 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6692 Remove instrumentation code.
6693
6694 2013-11-08 Glenn Morris <rgm@gnu.org>
6695
6696 * progmodes/autoconf.el (autoconf-mode):
6697 Tweak comment-start-skip. (Bug#15822)
6698
6699 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6702 at bobp (bug#15826).
6703 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6704
6705 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6706
6707 * man.el (Man-start-calling): New macro, extracted from
6708 Man-getpage-in-background.
6709 (Man-getpage-in-background): Use it.
6710 (Man-update-manpage): New command.
6711 (Man-mode-map): Bind it.
6712
6713 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6714
6715 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6716 of "and", "or", "&&" and "||".
6717 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6718 argument. Prohibit opening curly brace because it could only be a
6719 block opener in that position.
6720 (ruby-smie--forward-token, ruby-smie--backward-token):
6721 Separate "|" from "&" or "*" going after it. That can happen in block
6722 arguments.
6723 (ruby-smie--indent-to-stmt): New function, seeks the end of
6724 previous statement or beginning of buffer.
6725 (ruby-smie-rules): Use it.
6726 (ruby-smie-rules): Check if there's a ":" before a curly block
6727 opener candidate; if there is, it's a hash.
6728
6729 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6730
6731 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6732 (cl--block-wrapper): Fix last accidental change.
6733
6734 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6735
6736 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6737 Instrument, in order to hunt failure on hydra.
6738
6739 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6740
6741 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6742 malformed bindings form (bug#15814).
6743
6744 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6745
6746 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6747 "." compared to " @ ". This incidentally fixes some indentation
6748 examples with "do".
6749 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6750 (ruby-smie-grammar): New tokens: "and" and "or".
6751 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6752 Exclude "and" and "or". Remove "do" in order to work around token
6753 priorities.
6754 (ruby-smie-rules): Add all infix tokens. Handle the case of
6755 beginning-of-buffer.
6756
6757 2013-11-06 Glenn Morris <rgm@gnu.org>
6758
6759 * Makefile.in (setwins_almost, setwins_for_subdirs):
6760 Avoid accidental matches.
6761
6762 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6763
6764 * menu-bar.el (popup-menu): Use key-binding.
6765
6766 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6767
6768 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6769 menus, support also the menus produced by minor modes.
6770 (Bug#15817)
6771
6772 2013-11-06 Leo Liu <sdl.web@gmail.com>
6773
6774 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6775 DISTANCE to bound the search. All uses changed. (Bug#15808)
6776
6777 2013-11-06 Glenn Morris <rgm@gnu.org>
6778
6779 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6780 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6781 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6782
6783 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6784
6785 * electric.el (electric-indent-just-newline): New command.
6786 (electric-indent-mode-map): New keymap.
6787 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6788 Re-add :group which weren't redundant.
6789
6790 * electric.el (electric-indent-local-mode): New minor mode.
6791 (electric-indent-functions-without-reindent): New var.
6792 (electric-indent-post-self-insert-function): Use it.
6793 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6794
6795 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6796
6797 * international/quail.el (quail-help): Be more explicit about the
6798 meaning of the labels shown on the keys. (Bug#15800)
6799
6800 * startup.el (normal-top-level): Load the subdirs.el files before
6801 setting the locale environment. (Bug#15805)
6802
6803 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6806 via arguments so as to get the right ones (bug#15418).
6807
6808 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6809
6810 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6811
6812 Fix problems found while writing a test suite.
6813
6814 * net/tramp-compat.el (tramp-compat-load): New defun.
6815 * net/tramp.el (tramp-handle-load): Use it.
6816
6817 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6818 "(numberp ok-if-already-exists)" correctly.
6819
6820 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6821
6822 * international/characters.el (glyphless-char-display-control):
6823 Add usage note.
6824
6825 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6826
6827 * progmodes/python.el (python-mode):
6828 * progmodes/scheme.el (scheme-mode):
6829 * progmodes/prolog.el (prolog-mode):
6830 * progmodes/ruby-mode.el (ruby-mode):
6831 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6832 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6833
6834 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * rect.el (rectangle--highlight-for-redisplay):
6837 * emacs-lisp/smie.el (smie--next-indent-change):
6838 Use buffer-chars-modified-tick.
6839
6840 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6841
6842 * electric.el (electric-indent-post-self-insert-function):
6843 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6844
6845 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6846
6847 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6848
6849 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6850
6851 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6852 (bug#15786).
6853
6854 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6857
6858 * progmodes/python.el: Fix up last change.
6859 (python-shell--save-temp-file): New function.
6860 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6861 `string' comes from the current buffer.
6862 (python-shell-send-string-no-output): Remove `msg' arg.
6863 (python--use-fake-loc): New var.
6864 (python-shell-buffer-substring): Obey it. Try to compensate for the
6865 extra coding line added by python-shell--save-temp-file.
6866 (python-shell-send-region): Use python-shell--save-temp-file and
6867 python-shell-send-file directly. Add `nomain' argument.
6868 (python-shell-send-buffer): Use python-shell-send-region.
6869 (python-electric-pair-string-delimiter): New function.
6870 (python-mode): Use it.
6871
6872 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6873
6874 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6875 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6876 environment and decoding all of the default-directory's to here
6877 from command-line.
6878 (command-line): Decode also argv[0].
6879
6880 * loadup.el: Error out if default-directory is a multibyte string
6881 when we are dumping.
6882
6883 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6884
6885 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6886
6887 * emacs-lisp/package.el (package-menu-mode)
6888 (package-menu--print-info, package-menu--archive-predicate):
6889 Add Archive column to package list.
6890
6891 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6892
6893 Fix problems found while writing a test suite.
6894
6895 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6896 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6897 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6898 to nil when running original file name handler. Otherwise,
6899 there are problems with constructs like "$$FOO".
6900
6901 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6902 for `localname'.
6903
6904 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6905
6906 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6907
6908 * subr.el (version<, version<=, version=):
6909 Update docstrings with information for snapshot versions.
6910
6911 * helpers.el: New library for misc helper functions.
6912 (hash-table-keys): New function returning a list of hash keys.
6913 (hash-table-values): New function returning a list of hash values.
6914
6915 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6916
6917 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6918 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6919
6920 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6921
6922 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6923 checking whether point is after a 1-letter word.
6924
6925 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6926
6927 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6928 Don't infloop when expanding region over `multiline' syntax-type that
6929 begins a line (bug#15778).
6930
6931 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6934 Make it into a proper minor mode.
6935 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6936 (rectangle-mark-mode-map): New keymap.
6937 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6938
6939 2013-11-04 Glenn Morris <rgm@gnu.org>
6940
6941 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6942
6943 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6946 (ruby-smie-rules): Use smie-rule-parent instead.
6947
6948 * emacs-lisp/smie.el (smie-rule-parent): Always call
6949 smie-indent-virtual rather than only for hanging tokens.
6950 (smie--next-indent-change): New helper command.
6951
6952 2013-11-03 Glenn Morris <rgm@gnu.org>
6953
6954 * Makefile.in (abs_srcdir): Remove.
6955 (emacs): Unset EMACSLOADPATH.
6956
6957 2013-11-02 Glenn Morris <rgm@gnu.org>
6958
6959 * Makefile.in (EMACS): Use a relative filename.
6960 (abs_top_builddir): Remove.
6961 (custom-deps, finder-data, autoloads): Use --chdir.
6962
6963 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6964
6965 Use relative filenames in TAGS files.
6966 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6967 (lisptagsfiles4, TAGS): Use relative file names.
6968 (TAGS-LISP): Remove.
6969 (maintainer-clean): No more TAGS-LISP file.
6970
6971 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6972 (lisptagsfiles4): Use absolute filenames again.
6973 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6974 Remove all *loaddefs files, not just the first. Remove esh-groups.
6975 (maintainer-clean): Delete TAGS, TAGS-LISP.
6976
6977 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6978
6979 * emacs-lisp/package.el (package-version-join):
6980 Recognize snapshot versions.
6981
6982 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6983
6984 * subr.el (version-regexp-alist): Add support for snapshot versions.
6985
6986 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6987
6988 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6989 New function, replacement for `smie-rule-parent' for when we want to
6990 skip over our direct parent if it's an assignment token..
6991 (ruby-smie-rules): Use it.
6992
6993 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6994
6995 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6996 unconditionally. Remove now unnecessary forward declarations.
6997 Remove XEmacs-specific setup.
6998 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6999 (ruby-font-lock-syntactic-keywords)
7000 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7001 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7002 (ruby-here-doc-end-syntax): Remove.
7003 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7004 defined as function.
7005
7006 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7007
7008 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7009
7010 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7011
7012 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7013 table and abbrev table, `define-derived-mode' does that for us
7014 anyway.
7015
7016 2013-11-01 Glenn Morris <rgm@gnu.org>
7017
7018 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7019 files is atomic for some time, so no parallel compilation issues).
7020
7021 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7022
7023 * faces.el (face-x-resources): Add :distant-foreground.
7024 (region): Use :distant-foreground for gtk and ns.
7025
7026 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7027
7028 Allow multiple bibliographies when BibLaTeX is used rather than
7029 BibTeX.
7030 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7031 (reftex-locate-bibliography-files): Us it.
7032
7033 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7034
7035 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7036 allow comments in pbm files.
7037
7038 * term/w32-win.el (dynamic-library-alist): Support newer versions
7039 of libjpeg starting with v7: look only for the DLL from the
7040 version against which Emacs was built.
7041 Support versions of libpng beyond 1.4.x.
7042 Support libtiff v4.x.
7043
7044 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7045
7046 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7047 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7048 Add property :safe.
7049 (ruby-deep-arglist): Add property :type.
7050
7051 2013-10-31 Glenn Morris <rgm@gnu.org>
7052
7053 * Makefile.in (custom-deps, finder-data): No need to setq the target
7054 variables, we are in the right directory and the defaults work fine.
7055
7056 2013-10-30 Glenn Morris <rgm@gnu.org>
7057
7058 * Makefile.in (autoloads): Do not use abs_lisp.
7059
7060 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7061 `newline' does not respect `standard-output', so use `princ'.
7062
7063 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7064
7065 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7066 * buff-menu.el (Buffer-menu--unmark): New function.
7067 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7068
7069 2013-10-30 Glenn Morris <rgm@gnu.org>
7070
7071 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7072
7073 * emacs-lisp/package.el (lm-homepage): Declare.
7074
7075 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7076 Fix doc typos.
7077
7078 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7079
7080 * Makefile.in (finder-data, autoloads, update-subdirs)
7081 (compile-main, compile-clean, compile-always, bootstrap-clean):
7082 Check return value of cd.
7083 (compile-calc): Remove.
7084
7085 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7088
7089 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7090 (byte-compile-and-folded): New function.
7091 (=, <, >, <=, >=): Use it.
7092
7093 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7094 (path-separator, null-device, buffer-file-coding-system)
7095 (lpr-headers-switches): Check system-type before modifying them.
7096 (find-buffer-file-type-coding-system): Mark obsolete.
7097 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7098 find-file-not-found-set-buffer-file-coding-system.
7099 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7100 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7101 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7102 (w32-direct-print-region-helper, w32-direct-print-region-function)
7103 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7104 * startup.el (normal-top-level-add-subdirs-to-load-path):
7105 * ps-print.el (ps-print-region-function):
7106 * lpr.el (print-region-function): Use new name.
7107
7108 * subr.el (custom-declare-variable-early): Remove function.
7109 (custom-declare-variable-list): Remove var.
7110 (error, user-error): Remove `while' loop.
7111 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7112 (user-emacs-directory-warning, locate-user-emacs-file):
7113 Move to files.el.
7114 * simple.el (read-quoted-char-radix, read-quoted-char):
7115 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7116 Move from subr.el.
7117 * custom.el (custom-declare-variable-list): Don't process
7118 custom-declare-variable-list.
7119
7120 * progmodes/python.el (python-shell-get-buffer): New function.
7121 (python-shell-get-process): Use it.
7122 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7123 Python which encoding was used. Don't split-string since we only care
7124 about the first line. Return the temp-file, if applicable.
7125 (python-shell-send-region): Tell compile.el how to turn locations in
7126 the temp-file into locations in the source buffer.
7127
7128 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * subr.el (undefined): Add missing behavior from the C code for
7131 unbound keys.
7132
7133 * rect.el: Use lexical-binding. Add new rectangular region support.
7134 (rectangle-mark): New command.
7135 (rectangle--region): New var.
7136 (deactivate-mark-hook): Reset rectangle--region.
7137 (rectangle--extract-region, rectangle--insert-for-yank)
7138 (rectangle--highlight-for-redisplay)
7139 (rectangle--unhighlight-for-redisplay): New functions.
7140 (region-extract-function, redisplay-unhighlight-region-function)
7141 (redisplay-highlight-region-function): Use them to handle
7142 rectangular region.
7143 * simple.el (region-extract-function): New var.
7144 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7145 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7146 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7147 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7148 (redisplay-unhighlight-region-function)
7149 (redisplay-highlight-region-function): New vars.
7150 (redisplay--update-region-highlight): New function.
7151 (pre-redisplay-function): Use it.
7152 (exchange-point-and-mark): Don't deactivate the mark before
7153 reactivate-it anyway.
7154 * comint.el (comint-kill-region): Remove yank-handler argument.
7155 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7156 (delete-char): Remove property, since it's now part of their
7157 default behavior.
7158 (self-insert-iso): Remove property since this command doesn't exist.
7159
7160 * emacs-lisp/package.el (package--download-one-archive)
7161 (describe-package-1): Don't query the user about final newline.
7162
7163 2013-10-29 Daniel Colascione <dancol@dancol.org>
7164
7165 * net/tramp.el (tramp-methods): Document new functionality.
7166 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7167 tramp-hostname-checker if method provides one instead of scanning
7168 argument list for "%h" to decide hostname acceptability.
7169
7170 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7171
7172 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7173 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7174 Handle COPY-CONTENTS. (Bug#15737)
7175
7176 2013-10-28 Daiki Ueno <ueno@gnu.org>
7177
7178 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7179 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7180
7181 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7182
7183 * image.el (defimage, image-load-path): Doc fixes.
7184
7185 2013-10-27 Alan Mackenzie <acm@muc.de>
7186
7187 Indent statements in macros following "##" correctly.
7188 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7189 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7190
7191 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7192
7193 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7194
7195 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7196
7197 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7198 after `=' is probably a new expression.
7199
7200 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7201
7202 * man.el (man-imenu-title): New option.
7203 (Man-mode-map): Add menu. (Bug#15722)
7204 (Man-mode): Add imenu to menu.
7205
7206 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7207
7208 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7209 specific in what the first arg can be: a non-keyword word,
7210 string/regexp/percent literal opener, opening paren, or unary
7211 operator followed directly by word.
7212
7213 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7216 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7217 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7218 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7219 Remove vars, they do not apply any more.
7220 (prolog-mode-abbrev-table): Remove redundant declaration.
7221 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7222 (prolog-use-smie): Remove.
7223 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7224 supported by prolog-electric-if-then-else-flag.
7225 (prolog-mode-variables, prolog-menu): Use setq-local.
7226 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7227 Remove binding to `Backspace' since this key doesn't exist anyway.
7228 Remove bindings for electric self-inserting keys.
7229 (prog-mode): Assume it's defined.
7230 (prolog-post-self-insert): New function.
7231 (prolog-mode): Use it.
7232 (prolog-indent-line, prolog-indent-level)
7233 (prolog-find-indent-of-matching-paren)
7234 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7235 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7236 (prolog-goto-next-paren, prolog-in-string-or-comment)
7237 (prolog-tokenize, prolog-inside-mline-comment)
7238 (prolog-find-start-of-mline-comment): Remove functions.
7239 (prolog-find-unmatched-paren, prolog-clause-end)
7240 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7241 (prolog-electric--if-then-else): Rename from
7242 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7243 (prolog-tokenize-searchkey): Remove const.
7244 (prolog-clause-info): Use forward-sexp.
7245 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7246 (prolog-electric-if-then-else): Remove commands.
7247 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7248 for use in post-self-insert-hook.
7249 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7250 for use in post-self-insert-hook.
7251 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7252 for use in post-self-insert-hook.
7253 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7254 adapt it for use in post-self-insert-hook.
7255
7256 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7257
7258 * emacs-lisp/ert.el (ert-run-tests-interactively):
7259 Use `completing-read'. (Bug#9756)
7260
7261 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7262
7263 * simple.el (line-move): Call line-move-1 instead of
7264 line-move-visual when the current window hscroll is zero, but
7265 temporary-goal-column indicates we will need to hscroll as result
7266 of the movement. (Bug#15712)
7267
7268 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7269
7270 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7271 capitalization. Use :visible instead of :active.
7272 Fix `ruby-indent-exp' reference. Add menu items for the generic
7273 commands that are used with SMIE.
7274 (ruby-do-end-to-brace): Insert space after `{'.
7275
7276 2013-10-25 John Anthony <john@jo.hnanthony.com>
7277
7278 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7279
7280 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7281
7282 2013-10-25 Glenn Morris <rgm@gnu.org>
7283
7284 * vc/vc.el (vc-print-log): Don't use a working revision unless
7285 one was explicitly specified. (Bug#15322)
7286
7287 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7288
7289 * subr.el (add-to-list): Preserve return value in compiler-macro
7290 (bug#15692).
7291
7292 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7293
7294 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7295 result. Ask user to retry using '-all' flag. (Bug#15701)
7296
7297 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * emacs-lisp/smie.el: New smie-config system.
7300 (smie-config): New defcustom.
7301 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7302 (smie-config-guess, smie-config-save): New commands.
7303 (smie-config--mode-local, smie-config--buffer-local)
7304 (smie-config--trace, smie-config--modefuns): New vars.
7305 (smie-config--advice, smie-config--mode-hook)
7306 (smie-config--setter, smie-config-local, smie-config--get-trace)
7307 (smie-config--guess-value, smie-config--guess): New functions.
7308 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7309 text properties. Treat "string fence" syntax like string syntax.
7310
7311 * progmodes/sh-script.el (sh-use-smie): Change default.
7312 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7313 (sh-var-value): Simplify by CSE.
7314 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7315 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7316 is used.
7317 (sh-guess-basic-offset): Use cl-incf.
7318 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7319
7320 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7321
7322 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7323 (bug#15699).
7324
7325 2013-10-24 Glenn Morris <rgm@gnu.org>
7326
7327 * Makefile.in (abs_top_srcdir): Remove.
7328 (update-subdirs): Use relative path to update-subdirs.
7329
7330 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7331
7332 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7333 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7334 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7335 Call unmsys--file-name before expand-file-name, not after it.
7336
7337 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7338
7339 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7340 (ert-test-skipped): New error.
7341 (ert-skip, ert-stats-skipped): New defuns.
7342 (ert--skip-unless): New macro.
7343 (ert-test-skipped): New struct.
7344 (ert--run-test-debugger, ert-test-result-type-p)
7345 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7346 (ert--stats-set-test-and-result, ert-char-for-test-result)
7347 (ert-string-for-test-result, ert-run-tests-batch)
7348 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7349 Handle skipped tests. (Bug#9803)
7350
7351 2013-10-24 Glenn Morris <rgm@gnu.org>
7352
7353 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7354
7355 * Makefile.in (abs_top_srcdir): New, set by configure.
7356 (update-subdirs): Correct build-aux location.
7357
7358 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7359
7360 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7361 value, whether we could auto-deduce `backend', or not.
7362
7363 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7364 with parameters" example. Simplify the "is it block or is it
7365 hash" check, but also make it more thorough.
7366
7367 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7368
7369 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7370
7371 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7374 { if it is hanging.
7375
7376 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7377 :before ";".
7378
7379 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7380
7381 * progmodes/compile.el (compilation-directory-matcher)
7382 (compilation-page-delimiter):
7383 Support GNU Make-4.0 directory quoting. (Bug#15678)
7384
7385 2013-10-23 Leo Liu <sdl.web@gmail.com>
7386
7387 * ido.el (ido-tidy): Handle read-only text.
7388
7389 2013-10-23 Glenn Morris <rgm@gnu.org>
7390
7391 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7392 (emacs, compile, compile-always):
7393 Quote entities that might contain whitespace.
7394 (custom-deps, finder-data, autoloads): Use abs_lisp.
7395 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7396 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7397 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7398
7399 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7400
7401 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7402 Use `following-char'.
7403
7404 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7407 * progmodes/ruby-mode.el (ruby-smie-rules):
7408 Remove corresponding workaround. Fix indentation rule of ";" so it
7409 also applies when ";" is the parent.
7410
7411 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7412
7413 * frame.el (display-screens, display-pixel-height)
7414 (display-pixel-width, display-mm-width, display-backing-store)
7415 (display-save-under, display-planes, display-color-cells)
7416 (display-visual-class, display-monitor-attributes-list):
7417 Mention the optional ‘display’ argument in doc strings.
7418
7419 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7420
7421 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7422 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7423
7424 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7425
7426 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7427 TODO. Add "." after " @ ".
7428 (ruby-smie--at-dot-call): New function. Checks if point at method
7429 call with explicit target.
7430 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7431 to the method name tokens when it precedes them.
7432 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7433 (ruby-smie-rules): Add rule for indentation before and after "."
7434 token.
7435
7436 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7437
7438 * textmodes/remember.el (remember-diary-extract-entries):
7439 Avoid add-to-list.
7440
7441 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7442 an instruction.
7443
7444 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7445
7446 * progmodes/ruby-mode.el (ruby-smie-grammar):
7447 Add (almost) all infix operators.
7448 (ruby-smie--implicit-semi-p): Add new operator chars.
7449
7450 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7451 `smie-down-list'.
7452 (ruby-smie--args-separator-p): Check that there's no newline
7453 between method call and its arguments.
7454
7455 2013-10-20 Alan Mackenzie <acm@muc.de>
7456
7457 Allow comma separated lists after Java "implements".
7458
7459 * progmodes/cc-engine.el (c-backward-over-enum-header):
7460 Parse commas.
7461 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7462 from a "disallowed" list in enum fontification.
7463
7464 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7465
7466 * startup.el (default-frame-background-mode): Remove unused defvar.
7467
7468 * progmodes/verilog-mode.el (verilog-mode): Don't set
7469 comment-indent-function globally.
7470
7471 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7472
7473 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7474 Move Info menu item creation to ns-win.el.
7475
7476 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7477 in menu bar.
7478
7479 * menu-bar.el: Move GNUstep specific menus...
7480
7481 * term/ns-win.el (ns-initialize-window-system): ... to here.
7482
7483 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * simple.el (newline): Only run post-self-insert-hook when
7486 called interactively.
7487
7488 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7489
7490 * icomplete.el (icomplete-with-completion-tables): Add :version.
7491
7492 2013-10-19 Alan Mackenzie <acm@muc.de>
7493
7494 Fix fontification bugs with constructors and const.
7495
7496 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7497 CASE 2) Remove the check for the absence of a suffix construct
7498 after a function declaration with only types (no identifiers) in
7499 the parentheses. Also, accept a function declaration with just a
7500 type inside the parentheses, if this type can be positively
7501 recognised as such, or if a prefix keyword like "explicit" nails
7502 down the construct as a declaration.
7503
7504 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7505
7506 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7507 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7508 the problem whereby selecting a menu item that leads to a
7509 minibuffer prompt moves the cursor out of the minibuffer window,
7510 making it hard to type at the prompt. Suggested by Stefan Monnier
7511 <monnier@iro.umontreal.ca>.
7512
7513 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7514
7515 * menu-bar.el: Don't make Services menu.
7516
7517 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7518
7519 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7520 (ffap-alist): Use ffap-c++-mode for c++-mode.
7521 (ffap-c++-path): New variable.
7522 (ffap-c++-mode): New function.
7523
7524 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7525
7526 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7527
7528 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7529
7530 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7531 introduced on 2013-09-08, which results in an infinite loop
7532 requesting a password.
7533
7534 2013-10-18 Glenn Morris <rgm@gnu.org>
7535
7536 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7537
7538 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7539
7540 Sync with upstream verilog-mode revision 1a6ecec7.
7541 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7542 (verilog-mode-release-date): Remove.
7543 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7544 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7545 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7546 (verilog-auto-tieoff-ignore-regexp)
7547 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7548 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7549 (verilog-signals-with, verilog-dir-cache-preserving)
7550 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7551 Doc fixes.
7552 (verilog-case-fold): New option, to control case folding in
7553 regexp searches, bug597.
7554 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7555 (verilog-string-match-fold, verilog-in-paren-count)
7556 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7557 (verilog-at-close-struct-p): New functions.
7558 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7559 (verilog-forward-sexp, verilog-set-auto-endcomments)
7560 (verilog-leap-to-case-head): Handle "unique0" case.
7561 (verilog-in-constraint-re): New constant.
7562 (verilog-keywords, verilog-type-font-keywords):
7563 Add some SystemVerilog 1800-2012 keywords.
7564 (verilog-label-be): Remove unimplemented argument, bug669.
7565 (verilog-batch-execute-func): When batch expanding clear
7566 create-lockfiles to prevent spurious user locks when a file ends
7567 up not changing.
7568 (verilog-calculate-indent, verilog-calc-1)
7569 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7570 (verilog-do-indent): Fix indentation of nested constraints
7571 and structures.
7572 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7573 (verilog-auto-inst-param): Use verilog-string-match-fold.
7574 (verilog-read-inst-module-matcher):
7575 Fix AUTOINST on gate primitives with #1.
7576 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7577 Reads all user-defined typed variables.
7578 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7579 (verilog-signals-matching-regexp)
7580 (verilog-signals-not-matching-regexp, verilog-auto):
7581 Respect verilog-case-fold.
7582 (verilog-diff-report): Fix line count.
7583 (verilog-auto-assign-modport): Remove unused local `modi'.
7584 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7585 better handle multidimensional arrays.
7586 Fix packed array ports misadding bit index in AUTOINST, bug637.
7587 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7588 to not double-declare existing outputs and inputs, respectively.
7589 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7590 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7591 (verilog-sk-uvm-component): New skeleton.
7592 (verilog-submit-bug-report): Add verilog-case-fold,
7593 remove verilog-mode-release-date.
7594
7595 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7596
7597 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7598 as before.
7599
7600 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7601
7602 * textmodes/remember.el (remember): Set buffer-offer-save in
7603 remember buffers (bug#13566).
7604
7605 2013-10-18 Daniel Colascione <dancol@dancol.org>
7606
7607 When evaluating forms in ielm, direct standard output to ielm
7608 buffer. Add new ielm-return-for-effect command. Remove trailing
7609 whitespace throughout.
7610
7611 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7612 (ielm-return-for-effect): New command.
7613 (ielm-send-input): Accept optional `for-effect' parameter.
7614 (ielm-eval-input): Accept optional `for-effect' parameter.
7615 Bind `standard-output' to stream we create using
7616 `ielm-standard-output-impl'. Suppress printing result when
7617 `for-effect'.
7618 (ielm-standard-output-impl): New function.
7619 (inferior-emacs-lisp-mode): Explain new features in documentation.
7620
7621 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7622
7623 Code cleanup.
7624
7625 * net/tramp.el (tramp-debug-message): Do not check for connection
7626 buffer.
7627 (tramp-message): Use "vector" connection property.
7628
7629 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7630 (tramp-equal-remote, tramp-eshell-directory-change)
7631 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7632 (tramp-adb-handle-rename-file)
7633 * net/tramp-cmds.el (tramp-list-remote-buffers)
7634 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7635 * net/tramp-compat.el (tramp-compat-process-running-p)
7636 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7637 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7638 (tramp-gvfs-handle-rename-file)
7639 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7640 (tramp-set-file-uid-gid)
7641 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7642 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7643 of `file-remote-p'.
7644
7645 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7646 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7647 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7648 (tramp-gw-open-network-stream): Suppress unrelated traces.
7649
7650 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7651 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7652 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7653 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7654 connection property.
7655
7656 * net/tramp-cache.el (top): Suppress traces when reading
7657 persistency file.
7658
7659 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7660 Refactor common code. Improve debug message.
7661 (tramp-maybe-open-connection)
7662 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7663 connection buffer too early.
7664
7665 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7666 from `tramp-smb-actions-with-acl'.
7667 (tramp-smb-actions-set-acl): New defconst.
7668 (tramp-smb-handle-copy-directory)
7669 (tramp-smb-action-get-acl): New defun, renamed from
7670 `tramp-smb-action-with-acl'.
7671 (tramp-smb-action-set-acl): New defun.
7672 (tramp-smb-handle-set-file-acl): Rewrite.
7673
7674 2013-10-17 Glenn Morris <rgm@gnu.org>
7675
7676 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7677
7678 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * skeleton.el (skeleton-newline): Remove.
7681 (skeleton-internal-1): Use (insert "\n") instead.
7682
7683 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7684 let-bindings.
7685
7686 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7687 forward-sexp-function while we redo its job (bug#15613).
7688
7689 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7690
7691 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7692 represented by lists.
7693
7694 2013-10-16 Glenn Morris <rgm@gnu.org>
7695
7696 * tmm.el (tmm--history): New dynamic variable.
7697 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7698
7699 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7700
7701 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7702 (tramp-smb-errors): Add error messages.
7703 (tramp-smb-actions-with-acl): New defconst.
7704 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7705 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7706 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7707 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7708 (tramp-smb-get-stat-capability): Fix tests.
7709
7710 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7711
7712 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7713 (bug#15580).
7714
7715 2013-10-16 Glenn Morris <rgm@gnu.org>
7716
7717 * ansi-color.el (ansi-color-drop-regexp):
7718 Add 1J, 1K, 2K. (Bug#15617)
7719
7720 * files.el (hack-local-variables--warned-lexical): New.
7721 (hack-local-variables):
7722 Warn about misplaced lexical-binding. (Bug#15616)
7723
7724 * net/eww.el (eww-render): Always set eww-current-url,
7725 and update header line. (Bug#15622)
7726 (eww-display-html): ... Rather than just doing it here.
7727
7728 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7729
7730 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7731 menu navigations commands.
7732
7733 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7734
7735 * progmodes/subword.el (subword-capitalize): Be careful when
7736 the search for [[:alpha:]] fails (bug#15580).
7737
7738 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7739
7740 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7741 to commands that scroll the menu.
7742
7743 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7744
7745 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7746 Handle methods ending with `?' and `!'.
7747
7748 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7749
7750 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7751 `japanese-cp932' to `cp932' to fix the problem where saving a
7752 source file written in Shift_JIS twice would end up having
7753 `coding: japanese-cp932' which Ruby could not recognize.
7754 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7755 in `ruby-encoding-map'.
7756 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7757 doesn't need to be explicitly declared in magic comment.
7758 (ruby-encoding-map): Add type declaration for better customize UI.
7759
7760 2013-10-13 Glenn Morris <rgm@gnu.org>
7761
7762 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7763 Occur buffers are read-only. http://bugs.debian.org/720775
7764
7765 * emacs-lisp/authors.el (authors-fixed-entries):
7766 Comment out old alpha stuff.
7767
7768 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7769
7770 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7771 to `after-save-hook' instead of `before-save-hook'.
7772 (ruby-mode-set-encoding): Use the value of coding system used to
7773 write the file. Call `basic-save-buffer-1' after modifying the
7774 buffer.
7775
7776 2013-10-13 Alan Mackenzie <acm@muc.de>
7777
7778 Fix indentation/fontification of Java enum with
7779 "implements"/generic.
7780
7781 * progmodes/cc-engine.el (c-backward-over-enum-header):
7782 Extracted from the three other places and enhanced to handle generics.
7783 (c-inside-bracelist-p): Uses new function above.
7784 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7785 function above.
7786 (c-font-lock-enum-tail): Uses new function above.
7787
7788 2013-10-13 Kenichi Handa <handa@gnu.org>
7789
7790 * international/mule-cmds.el (select-safe-coding-system): Remove a
7791 superfluous condition in chekcing whether a coding system is safe
7792 or not.
7793
7794 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7795
7796 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7797
7798 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7799
7800 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7801
7802 2013-10-13 Glenn Morris <rgm@gnu.org>
7803
7804 * menu-bar.el (menu-bar-update-buffers):
7805 Unify Buffers menu prompt string. (Bug#15576)
7806
7807 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7808
7809 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7810 Add some entries.
7811 (authors-fixed-entries): Use accented form of name.
7812
7813 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7816 method calls (bug#15594).
7817 (ruby-smie--args-separator-p): New function.
7818 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7819 recognize paren-free method calls.
7820
7821 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7822 internals of universal-argument.
7823
7824 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7825
7826 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7827 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7828 dropped menu on second mouse click on the menu bar.
7829
7830 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7831
7832 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7833 (explicit-shell-file-name): Declare.
7834 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7835 (sh-completion-at-point-function): New function.
7836 (sh-mode): Use it.
7837 (sh-smie--keyword-p): Remove unused argument.
7838 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7839 vars.
7840 (sh-set-shell): Always setup SMIE, even if we use the
7841 old indentation code.
7842
7843 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7844
7845 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7846 cases of ? and =.
7847 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7848 predicate would return nil are almost non-existent.
7849 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7850
7851 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7852 cache also after commands that modify the buffer but don't move
7853 point.
7854
7855 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * env.el (substitute-env-in-file-name): New function.
7858 (substitute-env-vars): Extend the meaning of the optional arg.
7859
7860 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7861
7862 * term/w32-win.el (dynamic-library-alist): Define separate lists
7863 of GIF DLLs for versions before and after 5.0.0 of giflib.
7864 (Bug#15531)
7865
7866 2013-10-10 João Távora <joaotavora@gmail.com>
7867
7868 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7869 not locked, use last revision and current source as
7870 defaults. (Bug#15569)
7871
7872 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7873
7874 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7875 menu-bar is hidden.
7876
7877 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7878
7879 * window.el (pop-to-buffer-same-window): Fix doc-string.
7880 (Bug#15492)
7881
7882 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7885
7886 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7887
7888 * calendar/icalendar.el (icalendar-import-file):
7889 Fix interactive spec. (Bug#15482)
7890
7891 2013-10-10 Glenn Morris <rgm@gnu.org>
7892
7893 * desktop.el (desktop-save): Default to saving in .emacs.d,
7894 since PWD is no longer in desktop-path by default. (Bug#15319)
7895
7896 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7897 now that text mode has a menu with the same entry.
7898 (menu-bar-text-mode-auto-fill): Remove now unused func.
7899 * textmodes/text-mode.el (text-mode-map):
7900 Use auto-fill help text from menu-bar.el.
7901
7902 2013-10-10 John Anthony <john@jo.hnanthony.com>
7903
7904 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7905
7906 2013-10-09 Juri Linkov <juri@jurta.org>
7907
7908 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7909 instead of this-command-keys. Add universal-argument-more and
7910 universal-argument-minus to the list of prefix commands. (Bug#15568)
7911
7912 2013-10-09 Glenn Morris <rgm@gnu.org>
7913
7914 * vc/vc-svn.el (vc-svn-create-repo):
7915 Expand paths in file://... url. (Bug#15446)
7916
7917 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7918 Add some entries.
7919 (authors): Remove unused local variables.
7920
7921 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * profiler.el: Create a more coherent calltree from partial backtraces.
7924 (profiler-format): Hide the tail with `invisible' so that C-s can still
7925 find the hidden elements.
7926 (profiler-calltree-depth): Don't recurse so enthusiastically.
7927 (profiler-function-equal): New hash-table-test.
7928 (profiler-calltree-build-unified): New function.
7929 (profiler-calltree-build): Use it.
7930 (profiler-report-make-name-part): Indent the calltree less.
7931 (profiler-report-mode): Add visibility specs for profiler-format.
7932 (profiler-report-expand-entry, profiler-report-toggle-entry):
7933 Expand the whole subtree when provided with a prefix arg.
7934
7935 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7936
7937 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7938 iuwu-mod token.
7939 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7940 hanging iuwu-mod token.
7941 (ruby-smie--forward-token): Do not include a dot after a token in
7942 that token.
7943 (ruby-smie--backward-token): Likewise.
7944
7945 2013-10-08 Juri Linkov <juri@jurta.org>
7946
7947 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7948 to isearch-other-control-char.
7949 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7950 and isearch-post-command-hook to post-command-hook.
7951 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7952 and isearch-post-command-hook from post-command-hook.
7953 (isearch-unread-key-sequence)
7954 (isearch-reread-key-sequence-naturally)
7955 (isearch-lookup-scroll-key, isearch-other-control-char)
7956 (isearch-other-meta-char): Remove functions.
7957 (isearch-pre-command-hook, isearch-post-command-hook):
7958 New functions based on isearch-other-meta-char rewritten
7959 relying on the new behavior of overriding-terminal-local-map
7960 that does not replace the local keymaps any more. (Bug#15200)
7961
7962 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7963
7964 Support menus on text-mode terminals.
7965 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7966 functionality.
7967
7968 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7969
7970 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7971 Move here from mouse.el.
7972 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7973 and arrow keys.
7974 (tty-menu-navigation-map): New map for TTY menu navigation.
7975
7976 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7977
7978 * frame.el (display-mouse-p): Report text-mode mouse as available
7979 on w32.
7980 (display-popup-menus-p): Report availability if mouse is
7981 available; don't condition on window-system.
7982
7983 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7984 (tty-menu-selected-face): New faces.
7985
7986 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7989 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7990 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7991 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7992 New constants.
7993 (lisp-mode-variables): New `elisp' argument.
7994 (emacs-lisp-mode): Use it.
7995 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7996 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7997
7998 * indent.el: Use lexical-binding.
7999 (indent-region): Add progress reporter.
8000 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8001 last step.
8002 (indent--next-tab-stop): New function to implement this behavior.
8003 (tab-to-tab-stop, move-to-tab-stop): Use it.
8004
8005 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8006
8007 * indent.el (indent-rigidly--current-indentation): New function.
8008 (indent-rigidly-map): New var.
8009 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8010
8011 2013-10-08 Bastien Guerry <bzg@gnu.org>
8012
8013 * register.el (insert-register): Fix 2013-10-07 change.
8014
8015 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * progmodes/perl-mode.el: Use lexical-binding.
8018 Remove redundant :group args.
8019 (perl-nochange): Change default to be closer to other major modes's
8020 standard behavior.
8021 (perl-indent-line): Don't consider text on current line as a
8022 valid beginning of function from which to indent.
8023
8024 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8025 with more than one argument (bug#15538).
8026
8027 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8028
8029 * vc/pcvs.el: Use lexical-binding.
8030 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8031 environment of `eval'.
8032 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8033 than a list of expressions. Adjust callers.
8034 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8035
8036 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8037
8038 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8039 case of the dot in a chained method call being on the following line.
8040
8041 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * electric.el (electric-indent-inhibit): New var.
8044 (electric-indent-post-self-insert-function): Use it.
8045 * progmodes/python.el (python-mode): Set it.
8046
8047 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8048 open braces.
8049
8050 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8051
8052 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8053 (css-mode): Use electric-indent-chars.
8054
8055 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8056 (font-lock-beg, font-lock-end): Move before first use.
8057 (nxml-mode): Use syntax-propertize-function.
8058 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8059 (nxml-extend-after-change-region): Remove.
8060 * nxml/xmltok.el: Use lexical-binding.
8061 (xmltok-save): Use `declare'.
8062 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8063 * nxml/nxml-util.el: Use lexical-binding.
8064 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8065 Use `declare'.
8066 * nxml/nxml-ns.el: Use lexical-binding.
8067 (nxml-ns-save): Use `declare'.
8068 (nxml-ns-prefixes-for): Avoid add-to-list.
8069 * nxml/rng-match.el: Use lexical-binding.
8070 (rng--ipattern): Use cl-defstruct.
8071 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8072 (rng-cons-group-after, rng-subst-group-after)
8073 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8074 Use closures instead of `(lambda...).
8075
8076 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8077
8078 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8079 of BEG and END.
8080
8081 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8082 Use `tramp-handle-insert-file-contents'.
8083 (tramp-gvfs-handle-insert-file-contents): Remove function.
8084
8085 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8086 Use `save-restriction' in order to keep markers.
8087
8088 * net/trampver.el: Update release number.
8089
8090 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8091
8092 * progmodes/compile.el (compilation-parse-errors):
8093 Use compilation--put-prop.
8094 (compilation--ensure-parse): Check compilation-multiline.
8095
8096 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8097
8098 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8099 lexical-binding.
8100
8101 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8102
8103 * progmodes/ruby-mode.el: Fix recently added tests.
8104 (ruby-smie-grammar): Add - and +.
8105 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8106 (ruby-smie--backward-id): New functions.
8107 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8108 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8109 any more.
8110
8111 2013-10-07 Leo Liu <sdl.web@gmail.com>
8112
8113 * register.el (register-preview-delay)
8114 (register-preview-functions): New variables.
8115 (register-read-with-preview, register-preview)
8116 (register-describe-oneline): New functions.
8117 (point-to-register, window-configuration-to-register)
8118 (frame-configuration-to-register, jump-to-register)
8119 (number-to-register, view-register, insert-register)
8120 (copy-to-register, append-to-register, prepend-to-register)
8121 (copy-rectangle-to-register): Use register-read-with-preview to
8122 read register. (Bug#15525)
8123
8124 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8125
8126 * net/network-stream.el (network-stream-open-starttls): Don't add
8127 --insecure if it's already present, because that gnutls-cli
8128 rejects getting that parameter twice.
8129
8130 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8131
8132 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8133 keyword, too.
8134
8135 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8136
8137 * newcomment.el (comment-use-global-state): Change default value
8138 to t, mark obsolete (Bug#15251).
8139 (comment-beginning): In addition to `comment-to-syntax', check the
8140 value of `comment-use-global-state'.
8141
8142 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8145 (ruby-comment-column): Follow the global default, by default.
8146 (ruby-smie-grammar): Add assignment syntax.
8147 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8148 open-paren, a comma, or a \.
8149 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8150 and line continuations.
8151 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8152 followed by implicit semi-colons. Add rule for string concatenation
8153 and for indentation at BOB.
8154 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8155
8156 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8157 calling next-sexp, since next-token may have skipped chars which
8158 next-sexp doesn't know should be skipped!
8159
8160 2013-10-05 Leo Liu <sdl.web@gmail.com>
8161
8162 * progmodes/octave.el (octave-send-region):
8163 Call compilation-forget-errors.
8164
8165 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8166
8167 * vc/vc-svn.el (vc-svn-find-admin-dir):
8168 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8169 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8170 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8171 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8172
8173 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8176
8177 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * subr.el (read-passwd): Hide chars even when called within a context
8180 where after-change-functions is disabled (bug#15501).
8181 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8182 until we removed ourself from overriding-terminal-local-map.
8183
8184 2013-10-04 Leo Liu <sdl.web@gmail.com>
8185
8186 * progmodes/octave.el (inferior-octave-mode):
8187 Call compilation-forget-errors.
8188
8189 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8190
8191 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8192
8193 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8194
8195 * net/secrets.el (secrets-create-collection): Add optional
8196 argument ALIAS. Use proper Label keyword. Append ALIAS as
8197 dbus-call-method argument. (Bug#15516)
8198
8199 2013-10-04 Leo Liu <sdl.web@gmail.com>
8200
8201 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8202 (inferior-octave-compilation-font-lock-keywords): New variables.
8203 (compilation-error-regexp-alist)
8204 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8205 (inferior-octave-mode): Use compilation-shell-minor-mode.
8206
8207 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8208
8209 * minibuffer.el (completion--replace): Be careful that `end' might be
8210 a marker.
8211
8212 2013-10-03 Daiki Ueno <ueno@gnu.org>
8213
8214 Add support for package signature checking.
8215 * emacs-lisp/package.el (url-http-file-exists-p)
8216 (epg-make-context, epg-context-set-home-directory)
8217 (epg-verify-string, epg-context-result-for)
8218 (epg-signature-status, epg-signature-to-string)
8219 (epg-check-configuration, epg-configuration)
8220 (epg-import-keys-from-file): Declare.
8221 (package-check-signature): New user option.
8222 (package-unsigned-archives): New user option.
8223 (package-desc): Add `signed' field.
8224 (package-load-descriptor): Set `signed' field if .signed file exists.
8225 (package--archive-file-exists-p): New function.
8226 (package--check-signature): New function.
8227 (package-install-from-archive): Check package signature.
8228 (package--download-one-archive): Check archive signature.
8229 (package-delete): Remove .signed file.
8230 (package-import-keyring): New command.
8231 (package-refresh-contents): Import default keyring.
8232 (package-desc-status): Add "unsigned" status.
8233 (describe-package-1, package-menu--print-info)
8234 (package-menu-mark-delete, package-menu--find-upgrades)
8235 (package-menu--status-predicate): Support "unsigned" status.
8236
8237 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8240 the new compilation scheme using the new byte-codes.
8241
8242 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8243 (byte-pophandler): New byte codes.
8244 (byte-goto-ops): Adjust accordingly.
8245 (byte-compile--use-old-handlers): New var.
8246 (byte-compile-catch): Use new byte codes depending on
8247 byte-compile--use-old-handlers.
8248 (byte-compile-condition-case--old): Rename from
8249 byte-compile-condition-case.
8250 (byte-compile-condition-case--new): New function.
8251 (byte-compile-condition-case): New function that dispatches depending
8252 on byte-compile--use-old-handlers.
8253 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8254 when we can.
8255
8256 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8257 Optimize under `condition-case' and `catch' if
8258 byte-compile--use-old-handlers is nil.
8259 (disassemble-offset): Handle new bytecodes.
8260
8261 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8262
8263 * subr.el (error): Use `declare'.
8264 (decode-char, encode-char): Use advertised-calling-convention instead
8265 of the docstring to discourage use of the `restriction' arg.
8266
8267 2013-10-03 Daiki Ueno <ueno@gnu.org>
8268
8269 * epg.el (epg-verify-file): Add a comment saying that it does not
8270 notify verification error as a return value nor a signal.
8271 (epg-verify-string): Ditto.
8272
8273 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8274
8275 * progmodes/compile.el (compilation-start): Try globbing the arg to
8276 `cd' (bug#15417).
8277
8278 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8279
8280 Sync with Tramp 2.2.8.
8281
8282 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8283 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8284 * net/trampver.el: Update release number.
8285
8286 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8287
8288 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8289 and default-process-coding-system for darwin only.
8290
8291 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8294
8295 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8296
8297 * vc/vc-git.el (vc-git-grep): Disable pager.
8298
8299 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8300
8301 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8302 Use :url instead of :homepage, as per
8303 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8304
8305 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8306 non-nil, use `syntax-ppss' (Bug#15251).
8307
8308 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8309
8310 * progmodes/octave.el (inferior-octave-startup-file):
8311 Prefer ~/.emacs.d/init_octave.m.
8312
8313 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8314
8315 * emacs-lisp/package.el (package-desc-from-define):
8316 Accept additional arguments as plist, convert them to an alist and store
8317 them in the `extras' slot.
8318 (package-generate-description-file): Convert extras alist back to
8319 plist and append to the `define-package' form arguments.
8320 (package--alist-to-plist): New function.
8321 (package--ac-desc): Add `extras' slot.
8322 (package--add-to-archive-contents): Check if the archive-contents
8323 vector is long enough, and if it is, pass its `extras' slot value
8324 to `package-desc-create'.
8325 (package-buffer-info): Call `lm-homepage', pass the returned value
8326 to `package-desc-from-define'.
8327 (describe-package-1): Render the homepage button (Bug#13291).
8328
8329 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8330 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8331
8332 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8333
8334 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8335 and default-process-coding-system to utf-8-unix (Bug#15402).
8336
8337 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8338
8339 * subr.el (looking-back): Do not recommend using looking-back.
8340
8341 2013-09-28 Alan Mackenzie <acm@muc.de>
8342
8343 Fix indentation/fontification of Java enum with "implements".
8344
8345 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8346 regexp which matches "implements", etc., in Java.
8347 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8348 specifier clauses coming after "enum".
8349 * progmodes/cc-fonts.el (c-font-lock-declarations)
8350 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8351 after "enum".
8352
8353 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8354
8355 * faces.el (region): Change ns_selection_color to
8356 ns_selection_fg_color, add ns_selection_bg_color.
8357
8358 2013-09-28 Leo Liu <sdl.web@gmail.com>
8359
8360 * progmodes/octave.el (inferior-octave-completion-table)
8361 (inferior-octave-completion-at-point): Minor tweaks.
8362
8363 * textmodes/ispell.el (ispell-lookup-words): Rename from
8364 lookup-words. (Bug#15460)
8365 (lookup-words): Obsolete.
8366 (ispell-complete-word, ispell-command-loop): All uses changed.
8367
8368 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8369
8370 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8371 (octave-mode-menu): Add octave-send-buffer.
8372 (octave-send-buffer): New function.
8373
8374 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8375
8376 * progmodes/octave.el (octave-mode-map): Add key binding for
8377 octave-lookfor.
8378 (octave-mode-menu): Add octave-lookfor.
8379 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8380 octave-lookfor.
8381 (octave-lookfor): New function.
8382
8383 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8384
8385 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8386 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8387 its convention.
8388 (cl--loop-set-iterator-function): New function.
8389 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8390 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8391 Bind `it' with `let' instead of substituting it with `cl-subst'.
8392 (cl--unused-var-p): New function.
8393 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8394 Eliminate some unused variable warnings (bug#15326).
8395
8396 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8397
8398 * doc-view.el (doc-view-scale-reset): Rename from
8399 `doc-view-reset-zoom-level'.
8400 (doc-view-scale-adjust): New command.
8401 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8402 `doc-view-scale-adjust'.
8403
8404 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8405
8406 * doc-view.el (doc-view-reset-zoom-level): New command.
8407 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8408 zoom commands (bug#15466).
8409
8410 2013-09-26 Kenichi Handa <handa@gnu.org>
8411
8412 * international/quail.el (quail-help): Make it not a command.
8413
8414 2013-09-26 Leo Liu <sdl.web@gmail.com>
8415
8416 * minibuffer.el (completion-all-sorted-completions): Make args
8417 optional as they are.
8418
8419 2013-09-25 Daniel Colascione <dancol@dancol.org>
8420
8421 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8422 specs are and that they're not evaluated.
8423
8424 2013-09-24 Sam Steingold <sds@gnu.org>
8425
8426 * midnight.el (clean-buffer-list-kill-regexps)
8427 (clean-buffer-list-kill-buffer-names): Update for the new Man
8428 buffer naming which includes the object name.
8429
8430 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8431
8432 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8433 (eshell-parse-command, eshell-parse-pipeline): Use it since
8434 eshell-separate-commands requires a dynamic scoped var.
8435 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8436
8437 2013-09-23 Leo Liu <sdl.web@gmail.com>
8438
8439 * autoinsert.el (auto-insert-alist): Make the value of
8440 lexical-binding match its file setting.
8441
8442 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8443
8444 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8445
8446 * autoarg.el (autoarg-kp-digit-argument):
8447 * electric.el (Electric-command-loop):
8448 * kmacro.el (kmacro-step-edit-insert):
8449 Do not set universal-argument-num-events.
8450
8451 2013-09-22 Leo Liu <sdl.web@gmail.com>
8452
8453 * files.el (interpreter-mode-alist): Add octave.
8454
8455 2013-09-21 Alan Mackenzie <acm@muc.de>
8456
8457 C++: fontify identifier in declaration following "public:" correctly.
8458 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8459 to match "public", etc.
8460 (c-decl-prefix-re): Add ":" into the C++ value.
8461 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8462 bit. Add a check for a ":" preceded by "public", etc.
8463
8464 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8465
8466 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8467 recognized by GDB 7.5 and later.
8468
8469 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8470
8471 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8472
8473 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8474
8475 * subr.el (internal--call-interactively): New const.
8476 (called-interactively-p): Use it (bug#3984).
8477
8478 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8479
8480 * vc/pcvs.el (cvs-mode-ignore):
8481 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8482 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8483
8484 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8487 (eshell-ls-orig-insert-directory): Remove.
8488 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8489 (eshell-ls-use-in-dired): Use advice-add/remove.
8490 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8491 Add `orig-fun' arg for use in :around advice.
8492 Make it check (redundantly) eshell-ls-use-in-dired.
8493
8494 2013-09-19 Glenn Morris <rgm@gnu.org>
8495
8496 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8497
8498 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8499
8500 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8501
8502 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8503
8504 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8505 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8506 (tramp-get-remote-python): New defuns.
8507 (tramp-get-remote-uid-with-perl)
8508 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8509 contributed by yary <not.com@gmail.com> (tiny change).
8510 (tramp-get-remote-uid-with-python)
8511 (tramp-get-remote-gid-with-python): New defuns. Python code
8512 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8513 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8514
8515 2013-09-19 Glenn Morris <rgm@gnu.org>
8516
8517 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8518
8519 * eshell/em-unix.el (eshell-remove-entries):
8520 Rename argument to avoid name-clash with global `top-level'.
8521
8522 * eshell/esh-proc.el (eshell-kill-process-function):
8523 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8524 (eshell-reset-after-proc): Remove unused arg `proc'.
8525
8526 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8527 (directory-files-and-attributes): Mark unused arg.
8528
8529 * eshell/em-unix.el (eshell-remove-entries):
8530 Remove unused arg `path'. Update callers.
8531
8532 * eshell/em-hist.el (eshell-hist-parse-arguments):
8533 Remove unused arg `silent'. Update callers.
8534
8535 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8536 Fix (f)boundp mix-up.
8537
8538 * eshell/em-smart.el (eshell-smart-scroll-window)
8539 (eshell-disable-after-change):
8540 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8541
8542 2013-09-18 Alan Mackenzie <acm@muc.de>
8543
8544 Fix fontification of type when followed by "const".
8545 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8546 "known" types from fontification.
8547
8548 2013-09-18 Glenn Morris <rgm@gnu.org>
8549
8550 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8551 (chart-face-list): Drop Emacsen without display-color-p.
8552
8553 * net/eww.el (libxml-parse-html-region): Declare.
8554 (eww-display-html): Explicit error if no libxml2 support.
8555
8556 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8557
8558 * image.el (image-type-from-buffer, image-multi-frame-p):
8559 Remove --without-x warning/error.
8560
8561 * mouse.el (mouse-yank-primary):
8562 * term.el (term-mouse-paste):
8563 Reorder to silence --without-x compilation.
8564
8565 * mpc.el (doc-view-mode): Silence --without-x compilation.
8566
8567 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8568 Silence --without-x compilation.
8569
8570 * progmodes/gud.el (gud-find-file, gud-mode):
8571 Silence --without-x compilation.
8572 (tooltip-mode): Declare.
8573
8574 * wdired.el (dired-backup-overwrite): Remove declaration.
8575 (wdired-mode-map): Add doc string.
8576
8577 * custom.el (x-get-resource): Declare.
8578
8579 * eshell/em-glob.el (ange-cache):
8580 * eshell/em-unix.el (ange-cache): Declare.
8581
8582 * faces.el (x-display-list, x-open-connection, x-get-resource):
8583 Declare.
8584
8585 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8586 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8587 Declare.
8588
8589 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8590
8591 * net/gnutls.el (gnutls-log-level): Declare.
8592
8593 * net/shr.el (image-size, image-animate): Declare.
8594
8595 * simple.el (font-info): Declare.
8596
8597 * subr.el (x-popup-dialog): Declare.
8598
8599 * term/common-win.el (x-select-enable-primary)
8600 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8601 Declare.
8602
8603 * term/ns-win.el (x-handle-args): Declare.
8604
8605 * term/x-win.el (x-select-enable-clipboard): Declare.
8606
8607 * term/w32-win.el (create-default-fontset): Declare.
8608
8609 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8610 Declare.
8611
8612 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8613 (fit-frame-to-buffer): Explicit error if --without-x.
8614 (mouse-autoselect-window-select): Silence compiler.
8615
8616 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8617
8618 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8619 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8620 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8621 * eshell/esh-util.el (eshell-sublist):
8622 Remove unused local variables.
8623
8624 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8625
8626 * textmodes/two-column.el: Make 2C-split work for --without-x.
8627 (scroll-bar-columns): Autoload.
8628 (top-level): Require fringe when compiling.
8629
8630 2013-09-18 Leo Liu <sdl.web@gmail.com>
8631
8632 * subr.el (add-hook): Robustify to handle closure as well.
8633
8634 2013-09-17 Glenn Morris <rgm@gnu.org>
8635
8636 * simple.el (messages-buffer-mode-map): Unbind "g".
8637
8638 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * help-mode.el (help-mode-finish): Use derived-mode-p.
8641 Remove obsolete highlighting.
8642
8643 * play/life.el (life-mode): Use define-derived-mode. Derive from
8644 special-mode.
8645 (life): Let-bind inhibit-read-only.
8646 (life-setup): Avoid `setq'. Use `life-mode'.
8647
8648 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8649 which should not be needed any more.
8650 (package-menu-refresh, package-menu-describe-package): Use user-error.
8651
8652 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8653 (eshell-post-rewrite-command-hook): Make obsolete.
8654 (eshell-parse-command): Simplify.
8655 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8656 (eshell--cmd): Declare.
8657 (eshell-parse-pipeline): Remove unused var `final-p'.
8658 Pass a dynvar to eshell-post-rewrite-command-hook.
8659 Implement the new eshell-post-rewrite-command-function.
8660 (eshell-invoke-directly): Remove unused arg `input'.
8661 * eshell/esh-io.el (eshell-io-initialize):
8662 Use eshell-post-rewrite-command-function (bug#15399).
8663 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8664 adjust to new calling convention.
8665 (eshell-create-handles): Rename args to avoid clashing with dynvar
8666 `standard-output'.
8667
8668 2013-09-17 Glenn Morris <rgm@gnu.org>
8669
8670 * simple.el (messages-buffer-mode): New major mode.
8671 (messages-buffer): New function.
8672 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8673 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8674 (ert-run-test): Use `messages-buffer' function.
8675 (ert--force-message-log-buffer-truncation): Ignore read-only.
8676 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8677 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8678
8679 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8680
8681 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8682
8683 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8684
8685 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * icomplete.el (icomplete-in-buffer): New var.
8688 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8689 vars and replace them with functions.
8690 (icomplete-minibuffer-setup): Adjust accordingly.
8691 (icomplete--completion-table, icomplete--completion-predicate)
8692 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8693 New functions.
8694 (icomplete-forward-completions, icomplete-backward-completions)
8695 (icomplete-simple-completing-p, icomplete-exhibit)
8696 (icomplete-completions): Use them.
8697 (icomplete--in-region-buffer): New var.
8698 (icomplete--in-region-setup): New function.
8699 (icomplete-mode): Use it.
8700
8701 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8702 (bug#15379).
8703 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8704 return args and options.
8705 (eshell-eval-using-options): Use the new return value of
8706 eshell--do-opts to set the options's vars in their scope.
8707 (eshell--set-option): Rename from eshell-set-option.
8708 Add arg `opt-vals'.
8709 (eshell--process-option): Rename from eshell-process-option.
8710 Add arg `opt-vals'.
8711 (eshell--process-args): Use an `opt-vals' alist to store the options's
8712 values during their processing and return them additionally to the
8713 remaining args.
8714
8715 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8716
8717 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8718 continuation character an operator, as far as indentation is
8719 concerned (Bug#15369).
8720
8721 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8722
8723 * window.el (window--state-put-2): Don't process buffer state
8724 when buffer doesn't exist any more (Bug#15382).
8725
8726 2013-09-15 Glenn Morris <rgm@gnu.org>
8727
8728 * eshell/em-unix.el (eshell/rm):
8729 Make -f ignore missing files. (Bug#15373)
8730
8731 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8732 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8733 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8734
8735 2013-09-14 Glenn Morris <rgm@gnu.org>
8736
8737 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8738
8739 2013-09-13 Glenn Morris <rgm@gnu.org>
8740
8741 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8742 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8743
8744 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8745
8746 * frame.el (x-focus-frame): Mark as declared in frame.c.
8747
8748 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * ls-lisp.el: Use advice-add.
8751 (original-insert-directory): Remove.
8752 (ls-lisp--insert-directory): Rename from insert-directory; add
8753 `orig-fun' argument.
8754 (insert-directory): Advise.
8755
8756 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8757
8758 * term.el (term-emulate-terminal): Decode the command string
8759 before passing it to term-command-hook. (Bug#15337)
8760
8761 2013-09-13 Glenn Morris <rgm@gnu.org>
8762
8763 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8764
8765 * eshell/esh-ext.el (eshell-search-path): Declare.
8766
8767 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8768 Otherwise an error occurs if eshell-dirs module not loaded.
8769
8770 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8771
8772 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8773
8774 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8775 `tramp-check-proper-host'. Check for a valid method name.
8776
8777 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8778 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8779 * net/tramp-sh.el (tramp-maybe-open-connection):
8780 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8781
8782 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8783 also for hash values.
8784
8785 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8786
8787 * term/ns-win.el (parameters): Don't declare as dynamic.
8788 (before-make-frame-hook): Don't add ineffective function.
8789
8790 * eshell/*.el: Use lexical-binding (bug#15231).
8791
8792 2013-09-12 Kenichi Handa <handa@gnu.org>
8793
8794 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8795
8796 2013-09-12 Glenn Morris <rgm@gnu.org>
8797
8798 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8799 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8800
8801 * subr.el (do-after-load-evaluation): Also give compiler warnings
8802 when obsolete files are used (except by obsolete files).
8803
8804 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8805 in the status output, assume `filename' is the first. (Bug#15322)
8806
8807 * vc/vc.el (vc-deduce-fileset): Doc fix.
8808
8809 * calc/calc-help.el (Info-goto-node):
8810 * progmodes/cperl-mode.el (Info-find-node):
8811 * vc/ediff.el (Info-goto-node): Update declarations.
8812
8813 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8814
8815 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8816 (vc-bzr-pull): Require vc-dispatcher.
8817 * vc/vc-git.el (vc-compilation-mode): Declare.
8818 (vc-git-pull): Require vc-dispatcher.
8819
8820 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8821
8822 * progmodes/octave.el (help-button-action): Declare.
8823
8824 * shell.el (shell-directory-tracker): Output error as a message
8825 rather than just returning it as a string.
8826 (shell-process-pushd): Remove useless use of message.
8827
8828 * dframe.el (dframe-timer-fn):
8829 * files.el (dir-locals-read-from-file):
8830 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8831 (mpc-format):
8832 * reveal.el (reveal-post-command):
8833 * saveplace.el (load-save-place-alist-from-file):
8834 * shell.el (shell-resync-dirs):
8835 * w32-common-fns.el (x-get-selection-value):
8836 * emacs-lisp/copyright.el (copyright-find-copyright):
8837 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8838 * emulation/tpu-edt.el (tpu-copy-keyfile):
8839 * play/bubbles.el (bubbles--mark-neighbourhood):
8840 * progmodes/executable.el
8841 (executable-make-buffer-file-executable-if-script-p):
8842 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8843
8844 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 Cleanup Eshell to rely less on dynamic scoping.
8847 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8848 last-value, and ext-command here. Bind `args' closer to `body'.
8849 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8850 (eshell--args): Declare new dynamic var.
8851 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8852 last-value, and ext-command. Pass `args' to `body'.
8853 (eshell-process-args): Bind eshell--args.
8854 (eshell-set-option): Use eshell--args.
8855 * eshell/eshell.el (eshell): Use derived-mode-p.
8856 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8857 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8858 (eshell-glob-function): Declare.
8859 * eshell/esh-util.el: Require cl-lib.
8860 (eshell-read-hosts-file): Avoid add-to-list.
8861 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8862 `err'.
8863 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8864 Declare.
8865 (eshell/diff): Remove unused var `err'.
8866 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8867 `killflag'.
8868 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8869 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8870 first use.
8871 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8872 Move declaration before first use.
8873 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8874 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8875 rely on cl-return.
8876
8877 2013-09-12 Glenn Morris <rgm@gnu.org>
8878
8879 * term/ns-win.el (global-map): Remove binding for ispell-next,
8880 deleted 1999-05-29. (Bug#15357)
8881
8882 2013-09-11 Glenn Morris <rgm@gnu.org>
8883
8884 * echistory.el (electric-command-history): Remove call to deleted func.
8885
8886 * play/landmark.el (landmark-mode): Fix typos.
8887
8888 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8889 Check cvs-sort-ignore-file is bound.
8890
8891 * savehist.el: No need for cl when compiling on Emacs.
8892
8893 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8896 (bug#15338).
8897 (eshell-self-insert-command, eshell-send-invisible):
8898 Remove unused argument.
8899 (eshell-handle-control-codes): Remove unused var `orig'.
8900 Avoid delete-backward-char.
8901
8902 * files.el (set-auto-mode): Simplify a bit further.
8903
8904 2013-09-11 Glenn Morris <rgm@gnu.org>
8905
8906 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8907 (set-auto-mode): Don't regexp-quote elements.
8908 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8909 * progmodes/cc-mode.el (interpreter-mode-alist):
8910 * progmodes/ruby-mode.el (interpreter-mode-alist):
8911 Revert previous change.
8912
8913 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * play/snake.el (snake-mode):
8916 * play/mpuz.el (mpuz-mode):
8917 * play/landmark.el (lm-mode):
8918 * play/blackbox.el (blackbox-mode):
8919 * play/5x5.el (5x5-mode):
8920 * obsolete/options.el (Edit-options-mode):
8921 * net/quickurl.el (quickurl-list-mode):
8922 * net/newst-treeview.el (newsticker-treeview-mode):
8923 * mail/rmailsum.el (rmail-summary-mode):
8924 * mail/mspools.el (mspools-mode):
8925 * locate.el (locate-mode):
8926 * ibuffer.el (ibuffer-mode):
8927 * emulation/ws-mode.el (wordstar-mode):
8928 * emacs-lisp/debug.el (debugger-mode):
8929 * array.el (array-mode):
8930 * net/eudc.el (eudc-mode): Use define-derived-mode.
8931 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8932 Move initialization into declaration.
8933 (mairix-searches-mode): Use define-derived-mode.
8934 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8935 (eudc-edit-hotlist): Use dolist.
8936 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8937 (Man-mode): Use define-derived-mode.
8938 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8939 (Info-edit-mode): Use define-derived-mode.
8940 (Info-cease-edit): Use Info-mode.
8941 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8942 into declaration.
8943 (eshell-mode): Use define-derived-mode.
8944 * chistory.el (command-history-mode-map): Rename from
8945 command-history-map.
8946 (command-history-mode): Use define-derived-mode.
8947 (Command-history-setup): Remove function.
8948 * calc/calc.el (calc-trail-mode-map): New var.
8949 (calc-trail-mode): Use define-derived-mode.
8950 (calc-trail-buffer): Set calc-main-buffer manually.
8951 * bookmark.el (bookmark-insert-annotation): New function.
8952 (bookmark-edit-annotation): Use it.
8953 (bookmark-edit-annotation-mode): Make it a proper major mode.
8954 (bookmark-send-edited-annotation): Use derived-mode-p.
8955 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8956 closer to its ideal place. Use \' to match EOS.
8957
8958 * profiler.el (profiler-calltree-find): Use function-equal.
8959
8960 2013-09-10 Glenn Morris <rgm@gnu.org>
8961
8962 * files.el (interpreter-mode-alist): Convert to regexps.
8963 (set-auto-mode): Adapt for this. (Bug#15306)
8964 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8965 Comment out unused variable.
8966 * progmodes/cc-mode.el (interpreter-mode-alist):
8967 * progmodes/python.el (interpreter-mode-alist):
8968 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8969 * progmodes/sh-script.el (sh-set-shell):
8970 No longer use interpreter-mode-alist to get list of shells.
8971
8972 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8973
8974 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8975
8976 * simple.el: Use set-temporary-overlay-map for universal-argument.
8977 (universal-argument-map): Don't use default-bindings (bug#15317).
8978 Bind switch-frame explicitly. Replace universal-argument-minus with
8979 a conditional binding.
8980 (universal-argument-num-events, saved-overriding-map): Remove.
8981 (restore-overriding-map): Remove.
8982 (universal-argument--mode): Rename from save&set-overriding-map,
8983 and rewrite.
8984 (universal-argument, universal-argument-more, negative-argument)
8985 (digit-argument): Adjust accordingly.
8986 (universal-argument-minus): Remove.
8987 (universal-argument-other-key): Remove.
8988
8989 * subr.el (with-demoted-errors): Add `format' argument.
8990
8991 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8992
8993 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8994 `tramp-cleanup-connection'.
8995
8996 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8997 parameters KEEP-DEBUG and KEEP-PASSWORD.
8998
8999 * net/tramp.el (tramp-file-name-handler):
9000 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9001 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9002 (tramp-maybe-open-connection):
9003 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9004 Use `tramp-cleanup-connection'.
9005
9006 * net/tramp-sh.el (tramp-maybe-open-connection):
9007 Catch 'uname-changed inside the progress reporter.
9008
9009 2013-09-10 Glenn Morris <rgm@gnu.org>
9010
9011 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9012
9013 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9014 returns "alternate access method" in mode (eg "-rw-r--r--.").
9015
9016 2013-09-08 Glenn Morris <rgm@gnu.org>
9017
9018 * saveplace.el (load-save-place-alist-from-file):
9019 Demote errors. (Bug#15305)
9020
9021 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9022
9023 Improve compatibility with older Emacsen, and XEmacs.
9024
9025 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9026 only if it is bound. It isn't for XEmacs.
9027 (with-tramp-progress-reporter): Do not let-bind `result'.
9028 This yields to scoping errors in XEmacs.
9029 (tramp-handle-make-auto-save-file-name): New function, moved from
9030 tramp-sh.el.
9031
9032 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9033 for `make-auto-save-file-name'.
9034 (tramp-adb--gnu-switches-to-ash):
9035 Use `tramp-compat-replace-regexp-in-string'.
9036
9037 * net/tramp-cache.el (tramp-cache-print): Call
9038 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9039
9040 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9041 bound. It isn't for XEmacs.
9042
9043 * net/tramp-compat.el (tramp-compat-copy-file):
9044 Catch `wrong-number-of-arguments' error.
9045 (tramp-compat-replace-regexp-in-string): New defun.
9046
9047 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9048 for `make-auto-save-file-name'.
9049 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9050 `copy-file'.
9051 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9052 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9053 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9054
9055 * net/tramp-gw.el (tramp-gw-open-network-stream):
9056 Use `tramp-compat-replace-regexp-in-string'.
9057
9058 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9059 Call `tramp-handle-make-auto-save-file-name'.
9060 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9061 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9062 (tramp-sh-file-inotifywait-process-filter):
9063 Use `tramp-compat-replace-regexp-in-string'.
9064 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9065
9066 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9067 for `make-auto-save-file-name'.
9068 (tramp-smb-handle-copy-directory):
9069 Call `tramp-compat-replace-regexp-in-string'.
9070 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9071 (tramp-smb-handle-copy-file): Improve error message.
9072 (tramp-smb-handle-rename-file): Rename directly only in case
9073 `newname' does not exist yet. This is a restriction of smbclient.
9074 (tramp-smb-maybe-open-connection): Rerun the function only when
9075 `auth-sources' is non-nil.
9076
9077 2013-09-08 Kenichi Handa <handa@gnu.org>
9078
9079 * international/characters.el: Set category "^" (Combining) for
9080 more characters.
9081
9082 2013-09-07 Alan Mackenzie <acm@muc.de>
9083
9084 Correctly fontify Java class constructors.
9085 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9086 in Java Mode.
9087 (c-recognize-typeless-decls): Set the Java value to t.
9088 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9089 While handling a "(", add a check for, effectively, Java, and handle a
9090 "typeless" declaration there.
9091
9092 2013-09-07 Roland Winkler <winkler@gnu.org>
9093
9094 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9095 field subtitle for entry type book.
9096
9097 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * minibuffer.el: Make minibuffer-complete call completion-in-region
9100 rather than other way around.
9101 (completion--some, completion-pcm--find-all-completions):
9102 Don't delay signals when debugging.
9103 (minibuffer-completion-contents): Beware fields within the
9104 minibuffer contents.
9105 (completion-all-sorted-completions): Use defvar-local.
9106 (completion--do-completion, completion--cache-all-sorted-completions)
9107 (completion-all-sorted-completions, minibuffer-force-complete):
9108 Add args `beg' and `end'.
9109 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9110 (minibuffer-complete): Use completion-in-region.
9111 (completion-complete-and-exit): New fun, extracted from
9112 minibuffer-complete-and-exit.
9113 (minibuffer-complete-and-exit): Use it.
9114 (completion--complete-and-exit): Rename from
9115 minibuffer--complete-and-exit.
9116 (completion-in-region--single-word): New function, extracted from
9117 minibuffer-complete-word.
9118 (minibuffer-complete-word): Use it.
9119 (display-completion-list): Make `common-substring' argument obsolete.
9120 (completion--in-region): Call completion--in-region-1 instead of
9121 minibuffer-complete.
9122 (completion-help-at-point): Pass boundaries to
9123 minibuffer-completion-help as args rather than via an overlay.
9124 (completion-pcm--string->pattern): Use `any-delim'.
9125 (completion-pcm--optimize-pattern): New function.
9126 (completion-pcm--pattern->regex): Handle `any-delim'.
9127 * icomplete.el (icomplete-forward-completions)
9128 (icomplete-backward-completions, icomplete-completions):
9129 Adjust calls to completion-all-sorted-completions and
9130 completion--cache-all-sorted-completions.
9131 (icomplete-with-completion-tables): Default to t.
9132 * emacs-lisp/crm.el (crm--current-element): Rename from
9133 crm--select-current-element. Don't put an overlay but return the
9134 boundaries instead.
9135 (crm--completion-command): Take two new args to bind to the boundaries.
9136 (crm-completion-help): Adjust accordingly.
9137 (crm-complete): Use completion-in-region.
9138 (crm-complete-word): Use completion-in-region--single-word.
9139 (crm-complete-and-exit): Use completion-complete-and-exit.
9140
9141 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9144 than dynamically.
9145
9146 2013-09-06 Juri Linkov <juri@jurta.org>
9147
9148 * info.el (Info-display-images-node): When image file doesn't exist
9149 display text version of the image if it's provided in the Info file.
9150 Otherwise, display the location of missing image from SRC attribute.
9151 Add help-echo text property from ALT attribute. (Bug#15279)
9152
9153 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9154
9155 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9156 (edit-abbrevs-mode): Use define-derived-mode.
9157
9158 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9159 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9160 that it's defined.
9161 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9162 Use define-derived-mode.
9163
9164 * epg.el (epg-start-encrypt): Minor CSE simplification.
9165
9166 2013-09-06 William Xu <william.xwl@gmail.com>
9167
9168 * arc-mode.el: Add support for 7za (bug#15264).
9169 (archive-7z-program): New var.
9170 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9171 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9172 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9173
9174 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9175
9176 Remove URL syntax.
9177
9178 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9179 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9180 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9181 (tramp-postfix-host-format, tramp-file-name-regexp)
9182 (tramp-completion-file-name-regexp)
9183 (tramp-completion-dissect-file-name)
9184 (tramp-handle-substitute-in-file-name): Remove 'url case.
9185 (tramp-file-name-regexp-url)
9186 (tramp-completion-file-name-regexp-url): Remove constants.
9187
9188 2013-09-06 Glenn Morris <rgm@gnu.org>
9189
9190 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9191
9192 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9193
9194 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9195 keywords" below "here-doc beginnings" (Bug#15270).
9196
9197 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9198
9199 * subr.el (pop): Use `car-safe'.
9200 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9201 to detect unused `pop' return value.
9202
9203 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9204 var `block-regexp'.
9205 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9206 (python-fill-string): Remove unused var `marker'.
9207 (python-skeleton-add-menu-items): Remove unused var `items'.
9208
9209 * international/mule-cmds.el: Require CL.
9210 (find-coding-systems-for-charsets): Avoid add-to-list.
9211 (sanitize-coding-system-list): New function, extracted from
9212 select-safe-coding-system-interactively.
9213 (select-safe-coding-system-interactively): Use it.
9214 (read-input-method-name): Accept symbols for `default'.
9215
9216 * emacs-lisp/advice.el (defadvice): Add indent rule.
9217
9218 2013-09-05 Daniel Hackney <dan@haxney.org>
9219
9220 * dired-x.el:
9221 * net/ange-ftp.el:
9222 * net/browse-url.el:
9223 * net/dbus.el:
9224 * net/eudc.el:
9225 * net/eudcb-ldap.el:
9226 * net/eww.el:
9227 * net/imap.el:
9228 * printing.el:
9229 * vc/ediff-diff.el:
9230 * vc/ediff-init.el:
9231 * vc/ediff-merg.el:
9232 * vc/ediff-mult.el:
9233 * vc/ediff-util.el:
9234 * vc/ediff-wind.el:
9235 * vc/ediff.el:
9236 * vc/emerge.el:
9237 * vc/pcvs.el:
9238 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9239 byte compiler. Remove some unused let-bound variables.
9240
9241 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9244 a "ref-cell", since it gets better optimized (bug#14883).
9245
9246 2013-09-05 Glenn Morris <rgm@gnu.org>
9247
9248 * progmodes/cc-awk.el (c-forward-sws): Declare.
9249
9250 2013-09-04 Glenn Morris <rgm@gnu.org>
9251
9252 * generic-x.el [rul-generic-mode]: Require cc-mode.
9253 (c++-mode-syntax-table): Declare.
9254 (rul-generic-mode-syntax-table): Init in the defvar.
9255
9256 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9257
9258 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9259 (vc-do-command, vc-set-async-update):
9260 * vc/vc-mtn.el (vc-mtn-dir-status):
9261 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9262 (vc-hg-pull, vc-hg-merge-branch):
9263 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9264 (vc-git-merge-branch):
9265 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9266 (vc-cvs-dir-status-files):
9267 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9268 (vc-bzr-dir-status-files):
9269 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9270 * vc/vc-annotate.el: Use lexical-binding.
9271 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9272 (vc-sentinel-movepoint): Declare.
9273 (vc-annotate): Don't use `goto-line'.
9274 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9275 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9276 (vc-sentinel-movepoint): Declare.
9277 * vc/vc-svn.el: Use lexical-binding.
9278 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9279 * vc/vc-sccs.el:
9280 * vc/vc-rcs.el: Use lexical-binding.
9281
9282 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9283 `deleted'. Don't drop errors silently.
9284
9285 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9286
9287 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9288
9289 * vc/vc.el (vc-ignore): Rewrite.
9290 (vc-default-ignore): New function.
9291 (vc-default-ignore-completion-table): Use find-ignore-file.
9292
9293 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9294 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9295 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9296 Remove. Most code moved to vc.el.
9297
9298 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9301 * net/tramp-smb.el (tramp-smb-get-file-entries):
9302 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9303 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9304
9305 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9306 Update call to it.
9307 (eww-change-select): Remove unused var `properties'.
9308 (eww-make-unique-file-name): Remove unused var `base'.
9309
9310 * finder.el (finder-compile-keywords): Don't mess with windows.
9311
9312 * calculator.el (calculator-funcall): Fix typo in last change.
9313
9314 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9315
9316 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9317 <pkg>-autoloads.el file stop us.
9318
9319 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9320 warnings, and factor out common code.
9321
9322 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9323
9324 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9325 two-character operators and whether the character preceding them
9326 changes their meaning (Bug#15208).
9327
9328 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9329
9330 Format code sent to Python shell for robustness.
9331 * progmodes/python.el (python-shell-buffer-substring):
9332 New function.
9333 (python-shell-send-region, python-shell-send-buffer): Use it.
9334
9335 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9336
9337 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9338 * net/tramp.el (tramp-user-error): ... here.
9339 (tramp-find-method, tramp-check-proper-host)
9340 (tramp-dissect-file-name, tramp-debug-message)
9341 (tramp-handle-shell-command):
9342 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9343 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9344
9345 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9346
9347 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9348
9349 * avoid.el (mouse-avoidance-point-position)
9350 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9351 returns nil.
9352
9353 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9354
9355 * progmodes/python.el (python-shell-completion-get-completions):
9356 Drop use of deleted `comint-last-prompt-overlay'.
9357 (python-nav-if-name-main): New command.
9358
9359 2013-09-01 Glenn Morris <rgm@gnu.org>
9360
9361 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9362 Avoid leading space in $wins. Otherwise the sed command used by
9363 eg compile-main ends up containing "/*.el". (Bug#15170)
9364
9365 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9366
9367 2013-08-30 Glenn Morris <rgm@gnu.org>
9368
9369 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9370 Fix is-this-a-directory logic. (Bug#15220)
9371
9372 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * textmodes/css-mode.el: Use SMIE.
9375 (css-smie-grammar): New var.
9376 (css-smie--forward-token, css-smie--backward-token)
9377 (css-smie-rules): New functions.
9378 (css-mode): Use them.
9379 (css-navigation-syntax-table): Remove var.
9380 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9381 (css-indent-calculate, css-indent-line): Remove functions.
9382
9383 Misc changes to reduce use of `(lambda...); and other cleanups.
9384 * cus-edit.el: Use lexical-binding.
9385 (customize-push-and-save, customize-apropos)
9386 (custom-buffer-create-internal): Use closures.
9387 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9388 * progmodes/ada-xref.el: Use setq.
9389 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9390 * dframe.el: Use lexical-binding.
9391 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9392 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9393 * descr-text.el: Use lexical-binding.
9394 (describe-text-widget, describe-text-sexp, describe-property-list):
9395 Use closures.
9396 * comint.el (comint-history-isearch-push-state): Use a closure.
9397 * calculator.el: Use lexical-binding.
9398 (calculator-number-to-string): Make it work with lexical-binding.
9399 (calculator-funcall): Same and use cl-letf.
9400
9401 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9402 (lisp--company-doc-string, lisp--company-location): New functions.
9403 (lisp-completion-at-point): Use them to improve Company support.
9404
9405 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9406 params of lambda expressions.
9407 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9408 (ruby-smie--opening-pipe-p): New function.
9409 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9410 symbols and matched |...| for formal params.
9411 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9412 from being treated as hanging. Handle "rescue".
9413
9414 2013-08-29 Glenn Morris <rgm@gnu.org>
9415
9416 * progmodes/cc-engine.el (c-pull-open-brace):
9417 Move definition before use.
9418
9419 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9420
9421 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9422 are immutable. Don't use `unsafe' any more.
9423 (cl--defsubst-expand): Don't substitute at the same time as keeping
9424 a residual unused let-binding. Don't use `unsafe' any more.
9425
9426 2013-08-29 Glenn Morris <rgm@gnu.org>
9427
9428 * calendar/cal-china.el (calendar-chinese-year-cache):
9429 Recenter on 2015.
9430
9431 * nxml/nxml-util.el (nxml-debug-clear-inside):
9432 Use cl-loop rather than loop.
9433
9434 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9435
9436 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9437
9438 2013-08-28 Glenn Morris <rgm@gnu.org>
9439
9440 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9441
9442 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9443
9444 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9445
9446 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9447
9448 * simple.el (repeat-complex-command--called-interactively-skip):
9449 New function.
9450 (repeat-complex-command): Use it (bug#14136).
9451
9452 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9453 (c-define-abbrev-table): Add `doc' argument.
9454 (c-mode-abbrev-table, c++-mode-abbrev-table)
9455 (objc-mode-abbrev-table, java-mode-abbrev-table)
9456 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9457 (awk-mode-abbrev-table): Use it.
9458 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9459 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9460 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9461 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9462 Move initialization into the declaration; and remove any
9463 autoload cookie.
9464
9465 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9466 and dynamic let binding.
9467
9468 * vc/smerge-mode.el: Remove redundant :group args.
9469
9470 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9471 to load-path.
9472
9473 2013-08-28 Juri Linkov <juri@jurta.org>
9474
9475 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9476 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9477 (isearch-other-meta-char): Handle an undefined shifted printing
9478 character by downshifting it. (Bug#15200)
9479
9480 2013-08-28 Juri Linkov <juri@jurta.org>
9481
9482 * isearch.el (isearch-search): Change regexp error message for
9483 non-regexp searches. (Bug#15166)
9484
9485 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9486
9487 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9488 for portability to hosts where /bin/sh has problems.
9489
9490 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9493
9494 2013-08-27 Juri Linkov <juri@jurta.org>
9495
9496 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9497 in the keyboard macro. (Bug#15126)
9498
9499 2013-08-27 Juri Linkov <juri@jurta.org>
9500
9501 * isearch.el (isearch-quote-char): Comment out converting unibyte
9502 to multibyte, thus syncing with its `quoted-insert' counterpart.
9503 (Bug#15166)
9504
9505 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9506
9507 * window.el (display-buffer-use-some-window): Add missing
9508 argument in call of get-largest-window (Bug#15185).
9509 Reported by Stephen Leake.
9510
9511 2013-08-27 Glenn Morris <rgm@gnu.org>
9512
9513 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9514
9515 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9516
9517 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9518 from a matcher-function unless there's no more matches (bug#15161).
9519
9520 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9521
9522 * minibuffer.el: Revert change from 2013-08-20.
9523
9524 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9525 with text property `tramp-default', if appropriate.
9526 (tramp-check-proper-host): New defun.
9527 (tramp-dissect-file-name): Do not check hostname. Revert change
9528 of 2013-03-18.
9529 (tramp-backtrace): Make VEC-OR-PROC optional.
9530
9531 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9532 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9533 * net/tramp-sh.el (tramp-maybe-open-connection):
9534 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9535 Apply `tramp-check-proper-host'.
9536
9537 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9538
9539 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9540 lambda expression in order to have `describe-variable' display it.
9541
9542 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9543
9544 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9545 BUF can be optional. (Bug#15186)
9546
9547 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9548
9549 * progmodes/flymake.el (flymake-get-real-file-name-function):
9550 Fix broken customization. (Bug#15184)
9551
9552 2013-08-25 Alan Mackenzie <acm@muc.de>
9553
9554 Improve indentation of bracelists defined by macros (without "=").
9555
9556 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9557 expansion begins with "{", regard it as bracelist when it doesn't
9558 contain a ";".
9559
9560 Parse C++ inher-intro when there's a template split over 2 lines.
9561
9562 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9563 rigorously the search for "class" etc. followed by ":".
9564
9565 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9566 random languages a regexp which never matches rather than nil.
9567
9568 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9569
9570 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9571 (c-awk-regexp-one-line-possibly-open-char-list-re)
9572 (c-awk-one-line-possibly-open-regexp-re)
9573 (c-awk-one-line-non-syn-ws*-re): Remove.
9574 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9575 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9576 (c-awk-space*-unclosed-regexp-/-re): New constants.
9577 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9578 aren't regexp delimiters.
9579
9580 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9581 handling for a rare situation in AWK Mode involving unterminated
9582 strings/regexps.
9583
9584 2013-08-23 Glenn Morris <rgm@gnu.org>
9585
9586 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9587
9588 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9589
9590 * files.el (create-file-buffer): If the result would begin with
9591 spaces, prepend a "|" instead of removing them. (Bug#15162)
9592
9593 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9594
9595 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9596 text-properties (bug#15155).
9597
9598 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9599 exist any more.
9600 (calc-keypad-redraw): Remove unused var `pad'.
9601 (calc-keypad-press): Remove unused var `menu'.
9602
9603 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9604
9605 * window.el (display-buffer-pop-up-frame):
9606 Call pop-up-frame-function with BUFFER current so `make-frame' will
9607 use it as the new frame's buffer (Bug#15133).
9608
9609 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * calendar/timeclock.el: Minor cleanups.
9612 (timeclock-ask-before-exiting, timeclock-use-display-time):
9613 Use `symbol'.
9614 (timeclock-modeline-display): Define as alias before the
9615 actual definition.
9616 (timeclock-mode-line-display): Use define-minor-mode.
9617 (timeclock-day-list-template): Make it a function, add an argument.
9618 (timeclock-day-list-required, timeclock-day-list-length)
9619 (timeclock-day-list-debt, timeclock-day-list-span)
9620 (timeclock-day-list-break): Adjust calls accordingly.
9621
9622 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9623
9624 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9625 Use read--expression so that completion works again.
9626
9627 2013-08-21 Sam Steingold <sds@gnu.org>
9628
9629 Add rudimentary inferior shell interaction
9630 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9631 (sh-set-shell): Reset it.
9632 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9633 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9634
9635 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * align.el: Use lexical-binding.
9638 (align-region): Simplify accordingly.
9639
9640 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9641
9642 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9643
9644 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9645 `non-essential' up.
9646
9647 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9648
9649 * net/tramp.el:
9650 * net/tramp-adb.el:
9651 * net/tramp-cmds.el:
9652 * net/tramp-ftp.el:
9653 * net/tramp-gvfs.el:
9654 * net/tramp-gw.el:
9655 * net/tramp-sh.el: Don't wrap external variable declarations by
9656 `eval-when-compile'.
9657
9658 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9659
9660 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9661 now that Emacs supports ImageMagick animations.
9662
9663 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9664
9665 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9666 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9667
9668 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9669
9670 * window.el (mouse-autoselect-window-select): Do autoselect when
9671 mouse pointer is on margin.
9672
9673 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9674
9675 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9676
9677 2013-08-16 Glenn Morris <rgm@gnu.org>
9678
9679 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9680 Handle "Remote Directory" response of some clients. (Bug#15058)
9681
9682 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9683 Tweak warning. (Bug#14926)
9684
9685 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9686 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9687
9688 * image-mode.el (image-mode-map): Add menu items to reverse,
9689 increase, decrease, reset animation speed.
9690 (image--set-speed, image-increase-speed, image-decrease-speed)
9691 (image-reverse-speed, image-reset-speed): New functions.
9692 (image-mode-map): Add bindings for speed commands.
9693
9694 * image.el (image-animate-get-speed, image-animate-set-speed):
9695 New functions.
9696 (image-animate-timeout): Respect image :speed property.
9697
9698 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9701 previous line (bug#15101).
9702 (debugger-eval-expression, debugger-record-expression):
9703 Use read--expression (bug#15102).
9704
9705 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9706
9707 Remove byte compiler warnings, visible when compiling with
9708 `byte-compile-force-lexical-warnings' set to t.
9709
9710 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9711 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9712 (tramp-handle-unhandled-file-name-directory)
9713 (tramp-handle-file-notify-add-watch, tramp-action-login)
9714 (tramp-action-succeed, tramp-action-permission-denied)
9715 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9716 arguments with "_".
9717
9718 * net/tramp-adb.el (tramp-adb-parse-device-names)
9719 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9720 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9721 (tramp-adb-handle-file-truename): Remove unused arguments.
9722
9723 * net/tramp-cache.el (tramp-flush-directory-property)
9724 (tramp-flush-connection-property, tramp-list-connections)
9725 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9726
9727 * net/tramp-compat.el (tramp-compat-make-temp-file):
9728 Rename FILENAME to F.
9729
9730 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9731 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9732 (tramp-zeroconf-parse-workstation-device-names)
9733 (tramp-zeroconf-parse-webdav-device-names)
9734 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9735
9736 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9737 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9738
9739 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9740 arguments.
9741 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9742 (tramp-sh-handle-insert-file-contents-literally)
9743 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9744 with "_".
9745 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9746 Remove unused variables.
9747
9748 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9749 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9750 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9751
9752 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9753 Make them a defconst.
9754 (tramp-uuencode-region): Remove unused variable.
9755
9756 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9757
9758 * frameset.el (frameset--prop-setter): New function.
9759 (frameset-prop): Add gv-setter declaration.
9760 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9761 parameter was already set in FILTERED. Doc fix.
9762 (frameset--record-minibuffer-relationships): Allow saving a
9763 minibufferless frame without its corresponding minibuffer frame.
9764 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9765 frame, if the frame id matches.
9766 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9767 frames before orphaned ones.
9768 (frameset-restore): Warn about orphaned windows, instead of error out.
9769
9770 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9771
9772 * window.el (window-make-atom): Don't overwrite parameter
9773 already present.
9774 (display-buffer-in-atom-window): Handle special case where we
9775 split an already atomic window.
9776 (window--major-non-side-window, display-buffer-in-side-window)
9777 (window--side-check): Ignore minibuffer window when walking
9778 window tree.
9779 (window-deletable-p): Return 'frame only if no other frame uses
9780 our minibuffer window.
9781 (record-window-buffer): Run buffer-list-update-hook.
9782 (split-window): Make sure window--check-frame won't destroy an
9783 existing atomic window in case the new window gets nested
9784 inside.
9785 (display-buffer-at-bottom): Ignore minibuffer window when
9786 walking window tree. Don't split a side window.
9787 (pop-to-buffer): Don't set-buffer here, the select-window call
9788 should do that.
9789 (mouse-autoselect-window-select): Autoselect only if we are in the
9790 text portion of the window.
9791
9792 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9793
9794 * net/shr.el (shr-parse-image-data): New function to grab both the
9795 data itself and the Content-Type.
9796 (shr-put-image): Use it.
9797
9798 * net/eww.el (eww-display-image): Ditto.
9799
9800 * image.el (image-content-type-suffixes): New variable.
9801
9802 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9803
9804 * progmodes/python.el (python-imenu--build-tree)
9805 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9806
9807 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9808
9809 * simple.el (backward-word): Mention the optional argument.
9810
9811 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9812
9813 * frameset.el (frameset--make): Rename constructor from make-frameset.
9814 (frameset-p, frameset-valid-p): Don't autoload.
9815 (frameset-valid-p): Use normal accessors.
9816
9817 2013-08-13 Glenn Morris <rgm@gnu.org>
9818
9819 * progmodes/compile.el (compile-command): Tweak example in doc.
9820 * obsolete/scribe.el (scribe-mode):
9821 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9822
9823 * mail/feedmail.el (feedmail-confirm-outgoing)
9824 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9825
9826 * cus-start.el (truncate-partial-width-windows): Fix type.
9827
9828 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9829
9830 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9831
9832 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9833
9834 * emacs-lisp/timer.el (timer--time-setter): New function.
9835 (timer--time): Use it as gv-setter.
9836
9837 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9838 setter is not a symbol.
9839
9840 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9841
9842 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9843 if sending fails. This makes debugging easier.
9844
9845 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9846
9847 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9848 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9849 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9850
9851 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9852
9853 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9854
9855 2013-08-12 Glenn Morris <rgm@gnu.org>
9856
9857 * format.el (format-annotate-function):
9858 Handle read-only text properties in the source. (Bug#14887)
9859
9860 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9861
9862 * net/eww.el (eww-display-html): Ignore coding system errors.
9863 One web site uses "utf-8lias" as the coding system.
9864
9865 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9866
9867 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9868
9869 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9870
9871 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9872 (tutorial--detailed-help): Remove unused local variables.
9873 (tutorial--save-tutorial-to): Use ignore-errors.
9874 (help-with-tutorial): Use looking-at-p.
9875
9876 * view.el (view-buffer-other-window, view-buffer-other-frame):
9877 Mark unused arguments.
9878
9879 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9880 (woman-select-symbol-fonts, woman, woman-find-file)
9881 (woman-insert-file-contents, woman-non-underline-faces):
9882 Use string-match-p.
9883 (woman1-unquote): Move declaration.
9884
9885 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9886 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9887 argument. Remove unused local variable.
9888 (xml-parse-elem-type): Use string-match-p.
9889 (xml-substitute-numeric-entities): Use ignore-errors.
9890
9891 * calculator.el (calculator): Mark unused argument.
9892 (calculator-paste, calculator-quit, calculator-integer-p):
9893 Use ignore-errors.
9894 (calculator-string-to-number, calculator-decimal, calculator-exp)
9895 (calculator-op-or-exp): Use string-match-p.
9896
9897 * dired.el (dired-buffer-more-recently-used-p): Declare.
9898 (dired-insert-set-properties, dired-insert-old-subdirs):
9899 Use ignore-errors.
9900
9901 * dired-aux.el (dired-compress): Use ignore-errors.
9902 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9903 (dired-do-async-shell-command, dired-do-shell-command)
9904 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9905 (dired-insert-subdir-validate): Use string-match-p.
9906 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9907 (dired-add-entry): Use string-match-p, looking-at-p.
9908 (dired-insert-subdir-newpos): Remove unused local variable.
9909
9910 * filenotify.el (file-notify-callback): Remove unused local variable.
9911
9912 * filesets.el (filesets-error): Mark unused argument.
9913 (filesets-which-command-p, filesets-filter-dir-names)
9914 (filesets-directory-files, filesets-get-external-viewer)
9915 (filesets-ingroup-get-data): Use string-match-p.
9916
9917 * find-file.el (ff-other-file-name, ff-other-file-name)
9918 (ff-find-the-other-file, ff-cc-hh-converter):
9919 Remove unused local variables.
9920 (ff-get-file-name): Use string-match-p.
9921 (ff-all-dirs-under): Use ignore-errors.
9922
9923 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9924 (follow-select-if-visible): Remove unused local variable.
9925
9926 * forms.el (read-file-filter): Move declaration.
9927 (forms--make-format, forms--make-parser, forms-insert-record):
9928 Quote function with #'.
9929 (forms--update): Use string-match-p. Quote function with #'.
9930
9931 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9932 (help-make-xrefs): Use looking-at-p.
9933 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9934
9935 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9936 (ibuffer-confirm-operation-on): Use string-match-p.
9937
9938 * msb.el (msb-item-handler, msb-dired-item-handler):
9939 Mark unused arguments.
9940
9941 * ses.el (ses-decode-cell-symbol)
9942 (ses-kill-override): Remove unused local variable.
9943 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9944 (ses-load): Use ignore-errors, looking-at-p.
9945 (ses-jump-safe): Use ignore-errors.
9946 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9947
9948 * tabify.el (untabify, tabify): Mark unused arguments.
9949
9950 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9951 Mark unused argument.
9952 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9953 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9954
9955 * emacs-lisp/timer.el (timer--time): Define setter with
9956 gv-define-setter to avoid deprecation warning.
9957
9958 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9959 (*record-cmpl-statistics-p*): Remove (was commented out).
9960 (cmpl-statistics-block): Remove (body was commented out).
9961 All callers changed.
9962 (add-completions-from-buffer, load-completions-from-file):
9963 Remove unused variables.
9964
9965 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9966
9967 * filecache.el (file-cache-delete-file-list):
9968 Print message only when told so.
9969 (file-cache-files-matching): Use #' in mapconcat argument.
9970
9971 * ffap.el (ffap-url-at-point): Fix reference to variable
9972 thing-at-point-default-mail-uri-scheme.
9973
9974 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 * subr.el (define-error): New function.
9977 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9978 error-file-not-found and define with define-error.
9979 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9980 and define with define-error.
9981 * userlock.el (file-locked, file-supersession):
9982 * simple.el (mark-inactive):
9983 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9984 * progmodes/ada-mode.el (ada-mode-errors):
9985 * play/life.el (life-extinct):
9986 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9987 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9988 * nxml/rng-util.el (rng-error):
9989 * nxml/rng-uri.el (rng-uri-error):
9990 * nxml/rng-match.el (rng-compile-error):
9991 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9992 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9993 * nxml/nxml-rap.el (nxml-scan-error):
9994 * nxml/nxml-outln.el (nxml-outline-error):
9995 * net/soap-client.el (soap-error):
9996 * net/gnutls.el (gnutls-error):
9997 * net/ange-ftp.el (ftp-error):
9998 * mpc.el (mpc-proc-error):
9999 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10000 (json-number-format, json-string-escape, json-string-format)
10001 (json-key-format, json-object-format):
10002 * jka-compr.el (compression-error):
10003 * international/quail.el (quail-error):
10004 * international/kkc.el (kkc-error):
10005 * emacs-lisp/ert.el (ert-test-failed):
10006 * calc/calc.el (calc-error, inexact-result, math-overflow)
10007 (math-underflow):
10008 * bookmark.el (bookmark-error-no-filename):
10009 * epg.el (epg-error): Define with define-error.
10010
10011 * time.el (display-time-event-handler)
10012 (display-time-next-load-average): Don't call sit-for since it seems
10013 unnecessary (bug#15045).
10014
10015 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10016 Use #' instead of ' to quote functions.
10017 (checkdoc-output-mode): Use setq-local.
10018 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10019 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10020 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10021 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10022 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10023 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10024 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10025 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10026
10027 * ido.el (ido-completion-help): Fix up compiler warning.
10028
10029 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10030
10031 * frameset.el (frameset-p): Add autoload cookie.
10032 (frameset--jump-to-register): New function, based on code moved from
10033 register.el.
10034 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10035
10036 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10037 (frameset-restore, frameset-save, frameset-session-filter-alist):
10038 Remove declarations.
10039 (register-alist): Doc fix.
10040 (frameset-to-register): Move to frameset.el.
10041 (jump-to-register, describe-register-1): Remove frameset-specific code.
10042
10043 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10044
10045 * allout-widgets.el (allout-widgets-pre-command-business)
10046 (allout-widgets-post-command-business)
10047 (allout-widgets-after-change-handler)
10048 (allout-decorate-item-and-context, allout-set-boundary-marker)
10049 (allout-body-modification-handler)
10050 (allout-graphics-modification-handler): Mark ignored arguments.
10051 (allout-widgets-post-command-business)
10052 (allout-widgets-exposure-change-processor)
10053 (allout-widgets-exposure-undo-processor)
10054 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10055 (allout-parse-item-at-point, allout-decorate-item-guides)
10056 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10057 * allout.el (epa-passphrase-callback-function): Declare.
10058 (allout-overlay-insert-in-front-handler)
10059 (allout-overlay-interior-modification-handler)
10060 (allout-isearch-end-handler, allout-chart-siblings)
10061 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10062 (allout-yank-processing, allout-process-exposed)
10063 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10064 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10065 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10066 (lisp-indent-defform): Mark ignored arguments.
10067 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10068 (calculate-lisp-indent): Remove unused variables.
10069 * international/characters.el (indian-2-column, arabic-2-column)
10070 (tibetan): Mark ignored arguments.
10071 (use-cjk-char-width-table): Mark ignored arguments.
10072 Remove unused variables.
10073 * international/fontset.el (build-default-fontset-data)
10074 (x-compose-font-name, create-fontset-from-fontset-spec):
10075 Mark ignored arguments.
10076 (fontset-plain-name): Remove unused variables.
10077 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10078 (keyboard-coding-system): Mark ignored arguments.
10079 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10080 * help.el (resize-temp-buffer-window):
10081 * window.el (display-buffer-in-major-side-window)
10082 (display-buffer-in-side-window, display-buffer-in-previous-window):
10083 Remove unused variables.
10084 * isearch.el (isearch-forward-symbol):
10085 * version.el (emacs-bzr-version-bzr):
10086 * international/mule-cmds.el (current-language-environment):
10087 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10088 (x-handle-display):
10089 * term/pc-win.el (x-list-fonts, x-display-planes)
10090 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10091 (x-server-version, x-display-screens, x-display-mm-height)
10092 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10093 (x-selection-owner-p, x-own-selection-internal)
10094 (x-disown-selection-internal, x-get-selection-internal)
10095 (msdos-initialize-window-system):
10096 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10097 * term/x-win.el (x-handle-no-bitmap-icon):
10098 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10099 (vc-default-find-file-hook, vc-default-extra-menu):
10100 Mark ignored arguments.
10101
10102 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10105 break-condition in the context of the debugged code (bug#12685).
10106
10107 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10108
10109 * comint.el:
10110 Do not use an overlay to highlight the last prompt. (Bug#14744)
10111 (comint-mode): Make comint-last-prompt buffer local.
10112 (comint-last-prompt): New variable.
10113 (comint-last-prompt-overlay): Remove. Superseded by
10114 comint-last-prompt.
10115 (comint-snapshot-last-prompt, comint-output-filter):
10116 Use comint-last-prompt.
10117
10118 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10119
10120 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10121 (frameset-save): Check validity of the resulting frameset.
10122
10123 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10124
10125 * ido.el (ido-record-command): Add doc string.
10126
10127 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10128
10129 * frameset.el (frameset): Do not disable creation of the default
10130 frameset-p predicate. Doc fix.
10131 (frameset-valid-p): New function, copied from the old predicate-p.
10132 Add additional checks.
10133 (frameset-restore): Check with frameset-valid-p.
10134 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10135 (frameset-name, frameset-description, frameset-properties)
10136 (frameset-states): Add docstring.
10137 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10138 (frameset-filter-alist): Doc fixes.
10139
10140 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10141
10142 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10143
10144 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10147 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10148 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10149 (byte-compile-normal-call): Remove obsolescence check.
10150
10151 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10152
10153 * frameset.el (frameset-restore): Doc fix.
10154
10155 * register.el (frameset-frame-id, frameset-frame-with-id)
10156 (frameset-p, frameset-restore, frameset-save): Declare.
10157 (register-alist): Document framesets.
10158 (frameset-session-filter-alist): Declare.
10159 (frameset-to-register): New function.
10160 (jump-to-register): Implement jumping to framesets. Doc fix.
10161 (describe-register-1): Describe framesets.
10162
10163 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10164
10165 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10166
10167 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10168 Use lexical-binding.
10169
10170 * frameset.el (frameset): Use type vector, not list (incompatible
10171 change). Do not declare a new constructor, use the default one.
10172 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10173 `name' and `description', respectively, and add read-only slot
10174 `timestamp'. Doc fixes.
10175 (frameset-copy, frameset-persistent-filter-alist)
10176 (frameset-filter-alist, frameset-switch-to-gui-p)
10177 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10178 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10179 (frameset-filter-iconified, frameset-keep-original-display-p):
10180 Doc fixes.
10181 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10182 Rename from frameset-filter-(save|restore)-param. All callers changed.
10183 Doc fix.
10184 (frameset-p): Adapt to change to vector and be more thorough.
10185 Change arg name to OBJECT. Doc fix.
10186 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10187 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10188 All callers changed.
10189 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10190 All callers changed.
10191 (frameset--record-minibuffer-relationships): Rename from
10192 frameset--process-minibuffer-frames. All callers changed.
10193 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10194 Use new default constructor (again). Doc fix.
10195 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10196 All callers changed.
10197 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10198 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10199 Doc fix.
10200 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10201 PARAMETERS and WINDOW-STATE, respectively.
10202 (frameset-restore): Add new keyword argument PREDICATE.
10203 Reset frameset--target-display to nil. Doc fix.
10204
10205 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10208 (bat-mode): Use it.
10209 (bat-mode-syntax-table): Mark \n as end-of-comment.
10210 (bat-font-lock-keywords): Remove comment rule.
10211
10212 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10213 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10214
10215 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10216 (byte-compile-callargs-warn): Use `push'.
10217 (byte-compile-arglist-warn): Ignore higher-order "calls".
10218 (byte-compile-file-form-autoload): Use `pcase'.
10219 (byte-compile-function-form): If quoting a symbol, check that it exists.
10220
10221 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10222
10223 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10224 and add a few popular commands found in batch files.
10225 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10226 (dos-mode): Doc fixes.
10227
10228 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10231 (dos-mode): Use setq-local. Add space after "rem".
10232 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10233 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10234
10235 2013-08-07 Arni Magnusson <arnima@hafro.is>
10236
10237 * progmodes/dos.el: New file.
10238 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10239 dos-mode.
10240
10241 2013-08-06 Glenn Morris <rgm@gnu.org>
10242
10243 * calendar/calendar.el: Add new faces, and day-header-array.
10244 (calendar-weekday-header, calendar-weekend-header)
10245 (calendar-month-header): New faces.
10246 (calendar-day-header-construct): New function.
10247 (calendar-day-header-width): Also :set calendar-day-header-array.
10248 (calendar-american-month-header, calendar-european-month-header)
10249 (calendar-iso-month-header): Use calendar- faces.
10250 (calendar-generate-month):
10251 Use calendar-day-header-array for day headers; apply faces to them.
10252 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10253 (calendar-abbrev-construct): Add optional maxlen argument.
10254 (calendar-day-name-array): Doc fix.
10255 (calendar-day-name-array, calendar-abbrev-length)
10256 (calendar-day-abbrev-array):
10257 Also :set calendar-day-header-array, and maybe redraw.
10258 (calendar-day-header-array): New option. (Bug#15007)
10259 (calendar-font-lock-keywords): Set to nil and make obsolete.
10260 (calendar-day-name): Add option to use header array.
10261
10262 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10263
10264 * net/shr.el (shr-render-td): Remove debugging.
10265 (shr-render-td): Make width computation consistent by defaulting
10266 all zero-width columns to 10 characters. This may not be optimal,
10267 but it's at least consistent.
10268 (shr-make-table-1): Redo last change to fix the real problem in
10269 colspan handling.
10270
10271 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10272
10273 * files.el (cache-long-line-scans):
10274 Make obsolete alias to `cache-long-scans'.
10275
10276 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10277
10278 * frameset.el (frameset, frameset-filter-alist)
10279 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10280 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10281 (frameset-compute-pos): Rename from frameset--compute-pos,
10282 and add docstring.
10283 (frameset-move-onscreen): Use frameset-compute-pos.
10284 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10285
10286 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10287 Fix typos in docstrings.
10288
10289 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10290
10291 * frame.el (get-other-frame): Tiny cleanup.
10292
10293 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10294
10295 * vc/vc.el (vc-default-ignore-completion-table):
10296 Silence byte-compiler warning.
10297
10298 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10299 slot, which can indeed be nil.
10300 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10301 Move entry for `left' from persistent to live filter alist.
10302 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10303 Doc fixes.
10304 (frameset-filter-params): When restoring a frame, copy items added to
10305 `filtered', to avoid unwittingly modifying the original parameters.
10306 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10307 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10308
10309 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10310 to use looking-at-p instead of looking-at. (Bug#15028)
10311
10312 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10313
10314 Revert introduction of isearch-filter-predicates (bug#14714).
10315 Rely on add-function instead.
10316 * isearch.el (isearch-filter-predicates): Rename it back to
10317 isearch-filter-predicate.
10318 (isearch-message-prefix): Use advice-function-mapc and advice
10319 properties to get the isearch-message-prefix.
10320 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10321 instead of run-hook-with-args-until-failure.
10322 (isearch-filter-visible): Not obsolete any more.
10323 * loadup.el: Preload nadvice.
10324 * replace.el (perform-replace): Revert to funcall
10325 instead of run-hook-with-args-until-failure.
10326 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10327 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10328 dired-isearch-filenames-toggle; make it into a proper minor mode.
10329 Use add/remove-function.
10330 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10331 Call the minor-mode rather than add/remove-hook.
10332 (dired-isearch-filter-filenames):
10333 Remove isearch-message-prefix property.
10334 * info.el (Info--search-loop): New function, extracted from Info-search.
10335 Funcall isearch-filter-predicate instead of
10336 run-hook-with-args-until-failure isearch-filter-predicates.
10337 (Info-search): Use it.
10338 (Info-mode): Use isearch-filter-predicate instead of
10339 isearch-filter-predicates.
10340
10341 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10342
10343 Do not call to `selected-window' where it is assumed by default.
10344 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10345 `window-hscroll', `window-width', `window-height', `window-buffer',
10346 `window-frame', `window-start', `window-point', `next-window'
10347 and `window-display-table'.
10348 * abbrev.el (abbrev--default-expand):
10349 * bs.el (bs--show-with-configuration):
10350 * buff-menu.el (Buffer-menu-mouse-select):
10351 * calc/calc.el (calc):
10352 * calendar/calendar.el (calendar-generate-window):
10353 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10354 (diary-make-entry):
10355 * comint.el (send-invisible, comint-dynamic-complete-filename)
10356 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10357 * completion.el (complete):
10358 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10359 * disp-table.el (describe-current-display-table):
10360 * doc-view.el (doc-view-insert-image):
10361 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10362 * ehelp.el (with-electric-help):
10363 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10364 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10365 * emacs-lisp/helper.el (Helper-help-scroller):
10366 * emulation/cua-base.el (cua--post-command-handler-1):
10367 * eshell/esh-mode.el (eshell-output-filter):
10368 * ffap.el (ffap-gnus-wrapper):
10369 * help-macro.el (make-help-screen):
10370 * hilit-chg.el (highlight-compare-buffers):
10371 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10372 * hl-line.el (global-hl-line-highlight):
10373 * icomplete.el (icomplete-simple-completing-p):
10374 * isearch.el (isearch-done):
10375 * jit-lock.el (jit-lock-stealth-fontify):
10376 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10377 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10378 * mpc.el (mpc-tagbrowser, mpc):
10379 * net/rcirc.el (rcirc-any-buffer):
10380 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10381 * play/landmark.el (landmark-max-width, landmark-max-height):
10382 * play/zone.el (zone):
10383 * progmodes/compile.el (compilation-goto-locus):
10384 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10385 * progmodes/etags.el (find-tag-other-window):
10386 * progmodes/fortran.el (fortran-column-ruler):
10387 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10388 * progmodes/verilog-mode.el (verilog-point-text):
10389 * reposition.el (reposition-window):
10390 * rot13.el (toggle-rot13-mode):
10391 * server.el (server-switch-buffer):
10392 * shell.el (shell-dynamic-complete-command)
10393 (shell-dynamic-complete-environment-variable):
10394 * simple.el (insert-buffer, set-selective-display)
10395 (delete-completion-window):
10396 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10397 (speedbar-recenter):
10398 * startup.el (fancy-splash-head):
10399 * textmodes/ispell.el (ispell-command-loop):
10400 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10401 * tutorial.el (help-with-tutorial):
10402 * vc/add-log.el (add-change-log-entry):
10403 * vc/compare-w.el (compare-windows):
10404 * vc/ediff-help.el (ediff-indent-help-message):
10405 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10406 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10407 (ediff-setup-control-frame):
10408 * vc/emerge.el (emerge-position-region):
10409 * vc/pcvs-util.el (cvs-bury-buffer):
10410 * window.el (walk-windows, mouse-autoselect-window-select):
10411 * winner.el (winner-set-conf, winner-undo): Related users changed.
10412
10413 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10414
10415 * frameset.el (frameset--set-id): Doc fix.
10416 (frameset-frame-id, frameset-frame-id-equal-p)
10417 (frameset-locate-frame-id): New functions.
10418 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10419 (frameset-restore): Use them.
10420
10421 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10422
10423 Do not call to `selected-frame' where it is assumed by default.
10424 Affected functions are `raise-frame', `redraw-frame',
10425 `frame-first-window', `frame-terminal' and `delete-frame'.
10426 * calendar/appt.el (appt-disp-window):
10427 * epg.el (epg-wait-for-completion):
10428 * follow.el (follow-delete-other-windows-and-split)
10429 (follow-avoid-tail-recenter):
10430 * international/mule.el (set-terminal-coding-system):
10431 * mail/rmail.el (rmail-mail-return):
10432 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10433 * progmodes/f90.el (f90-add-imenu-menu):
10434 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10435 * server.el (server-switch-buffer):
10436 * simple.el (delete-completion-window):
10437 * talk.el (talk):
10438 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10439 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10440 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10441 * vc/ediff.el (ediff-documentation): Related users changed.
10442 * frame.el (selected-terminal): Remove the leftover.
10443
10444 2013-08-05 Glenn Morris <rgm@gnu.org>
10445
10446 * calendar/calendar.el (calendar-generate-month):
10447 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10448 (calendar-generate-month, calendar-font-lock-keywords):
10449 Fix for calendar-day-header-width > length of any day name.
10450
10451 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10452
10453 * desktop.el (desktop-clear): Use new name of sort predicate.
10454
10455 * frameset.el (frameset): Add docstring. Move :version property to its
10456 own `version' slot.
10457 (frameset-copy): Rename from copy-frameset.
10458 (frameset-p): Check more thoroughly.
10459 (frameset-prop): Do not check for :version, which is no longer a prop.
10460 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10461 Use new :never value instead of t.
10462 (frameset-filter-alist): Expand and clarify docstring.
10463 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10464 (frameset-filter-minibuffer, frameset-filter-save-param)
10465 (frameset-filter-restore-param, frameset-filter-iconified):
10466 Add pointer to docstring of frameset-filter-alist.
10467 (frameset-filter-params): Rename filter values to be more meaningful:
10468 :never instead of t, and reverse the meanings of :save and :restore.
10469 (frameset--process-minibuffer-frames): Clarify error message.
10470 (frameset-save): Avoid unnecessary and confusing call to framep.
10471 Use new BOA constructor for framesets.
10472 (frameset--reuse-list): Doc fix.
10473 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10474 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10475 (frameset-minibufferless-first-p): Doc fix.
10476 Rename from frameset-sort-frames-for-deletion.
10477 (frameset-restore): Doc fixes. Use new function names.
10478 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10479
10480 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10481
10482 * desktop.el (desktop-restore-forces-onscreen)
10483 (desktop-restore-reuses-frames): Document :keyword constant values.
10484 (desktop-filter-parameters-alist): Remove, now identical to
10485 frameset-filter-alist.
10486 (desktop--filter-tty*): Remove, moved to frameset.el.
10487 (desktop-save-frameset, desktop-restore-frameset):
10488 Do not pass :filters argument.
10489
10490 * frameset.el (frameset-live-filter-alist)
10491 (frameset-persistent-filter-alist): New variables.
10492 (frameset-filter-alist): Use them. Add autoload cookie.
10493 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10494 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10495 `frameset--id' (it's supposed to be internal to frameset.el).
10496 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10497 (frameset--initial-params): New function.
10498 (frameset--get-frame): Use it. Doc fix.
10499 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10500 Accept :all, not 'all.
10501 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10502 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10503 with fbound symbols. Fix frame id matching, and remove matching ids if
10504 the frame being restored is deleted. Obey :delete.
10505
10506 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10507
10508 * subr.el (macrop): New function.
10509 (text-clone--maintaining): New var.
10510 (text-clone--maintain): Rename from text-clone-maintain. Use it
10511 instead of inhibit-modification-hooks.
10512
10513 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10514 a proxy, so as handle autoloads and redefinitions of the target.
10515 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10516
10517 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10518 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10519 (pcase--mutually-exclusive-p): New function.
10520 (pcase--split-consp): Use it.
10521 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10522 mutually exclusive with the current predicate.
10523
10524 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10525 (edebug-macrop): Remove. Use `macrop' instead.
10526 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10527 (ad-macro-p):
10528 * eshell/esh-cmd.el (eshell-macrop):
10529 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10530
10531 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10532
10533 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10534 (advice-mapc): New function, using it.
10535 (advice-function-member-p): New function.
10536 (advice--normalize): Store the cdr in advice--saved-rewrite since
10537 that's the part that will be changed.
10538 (advice--symbol-function): New function.
10539 (advice-remove): Handle removal before the function is defined.
10540 Adjust to new advice--saved-rewrite.
10541 (advice-member-p): Use advice-function-member-p and
10542 advice--symbol-function.
10543
10544 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10545
10546 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10547 (frameset-filter-minibuffer): Doc fix.
10548 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10549 (frameset--set-id, frameset--process-minibuffer-frames)
10550 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10551 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10552
10553 * desktop.el (desktop-clear): Only delete frames when called
10554 interactively and desktop-restore-frames is non-nil. Doc fix.
10555 (desktop-read): Set desktop-saved-frameset to nil.
10556
10557 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10558
10559 * vc/vc.el (vc-ignore): Rewrite.
10560 (vc-default-ignore-completion-table, vc--read-lines)
10561 (vc--add-line, vc--remove-regexp): New functions.
10562
10563 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10564 (vc-svn-ignore-completion-table): New function.
10565
10566 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10567 (vc-hg-ignore-completion-table)
10568 (vc-hg-find-ignore-file): New functions.
10569
10570 * vc/vc-git.el (vc-git-ignore): Rewrite.
10571 (vc-git-ignore-completion-table)
10572 (vc-git-find-ignore-file): New functions.
10573
10574 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10575
10576 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10577 (vc-bzr-ignore-completion-table)
10578 (vc-bzr-find-ignore-file): New functions.
10579
10580 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10581
10582 * frameset.el (frameset-prop): New function and setter.
10583 (frameset-save): Do not modify frame list passed by the caller.
10584
10585 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10586
10587 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10588
10589 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10590
10591 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10592 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10593
10594 * custom.el (custom-initialize-default, custom-initialize-set)
10595 (custom-initialize-reset, custom-initialize-changed): Affect the
10596 toplevel-default-value (bug#6275, bug#14586).
10597 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10598 for bug#6275.
10599
10600 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10601
10602 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10603 Add cl-def* expressions.
10604
10605 * frameset.el (frameset-filter-params): Fix order of arguments.
10606
10607 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10608
10609 Move code related to saving frames to frameset.el.
10610 * desktop.el: Require frameset.
10611 (desktop-restore-frames): Doc fix.
10612 (desktop-restore-reuses-frames): Rename from
10613 desktop-restoring-reuses-frames.
10614 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10615 (desktop-clear): Clear frames too.
10616 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10617 (desktop--filter-tty*, desktop-save, desktop-read):
10618 Use frameset functions.
10619 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10620 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10621 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10622 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10623 (desktop--process-minibuffer-frames, desktop-save-frames)
10624 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10625 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10626 (desktop--sort-states, desktop-restoring-frames-p)
10627 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10628 (desktop-restoring-frameset-p, desktop-restore-frameset)
10629 (desktop--check-dont-save, desktop-save-frameset): New functions.
10630 (desktop--app-id): New constant.
10631 (desktop-first-buffer, desktop-buffer-ok-count)
10632 (desktop-buffer-fail-count): Move before first use.
10633 * frameset.el: New file.
10634
10635 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 * files.el: Use lexical-binding.
10638 (dir-locals-read-from-file): Remove unused `err' variable.
10639 (hack-dir-local-variables--warned-coding): New var.
10640 (hack-dir-local-variables): Use it to avoid repeated warnings.
10641 (make-backup-file-name--default-function): New function.
10642 (make-backup-file-name-function): Use it as default.
10643 (buffer-stale--default-function): New function.
10644 (buffer-stale-function): Use it as default.
10645 (revert-buffer-insert-file-contents--default-function): New function.
10646 (revert-buffer-insert-file-contents-function): Use it as default.
10647 (insert-directory): Avoid add-to-list.
10648
10649 * autorevert.el (auto-revert-handler): Simplify.
10650 Use buffer-stale--default-function.
10651
10652 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10653
10654 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10655
10656 * whitespace.el (whitespace-ensure-local-variables): New function.
10657 (whitespace-cleanup-region): Call it.
10658 (whitespace-turn-on): Call it.
10659
10660 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10661
10662 Complete file name handlers.
10663
10664 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10665 (tramp-handle-verify-visited-file-modtime)
10666 (tramp-handle-file-notify-rm-watch): New functions.
10667 (tramp-call-process): Do not bind `default-directory'.
10668
10669 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10670 Order alphabetically.
10671 <access-file, add-name-to-file, dired-call-process>:
10672 <dired-compress-file, file-acl, file-notify-rm-watch>:
10673 <file-ownership-preserved-p, file-selinux-context>:
10674 <make-directory-internal, make-symbolic-link, set-file-acl>:
10675 <set-file-selinux-context, set-visited-file-modtime>:
10676 <verify-visited-file-modtime>: Add handler.
10677 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10678
10679 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10680 <file-notify-add-watch, file-notify-rm-watch>:
10681 <set-file-times, set-visited-file-modtime>:
10682 <verify-visited-file-modtime>: Add handler.
10683 (with-tramp-gvfs-error-message)
10684 (tramp-gvfs-handle-set-visited-file-modtime)
10685 (tramp-gvfs-fuse-file-name): Remove.
10686 (tramp-gvfs-handle-file-notify-add-watch)
10687 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10688 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10689
10690 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10691 Order alphabetically.
10692 <file-notify-rm-watch>: Use default Tramp handler.
10693 <executable-find>: Remove private handler.
10694 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10695 `default-directory'.
10696 (tramp-sh-handle-executable-find)
10697 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10698 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10699 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10700 Do not use `format' in `tramp-message'.
10701
10702 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10703 <file-notify-rm-watch, set-visited-file-modtime>:
10704 <verify-visited-file-modtime>: Add handler.
10705 (tramp-smb-call-winexe): Do not bind `default-directory'.
10706
10707 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10708
10709 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10710
10711 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10712
10713 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10714 use it.
10715 (log-view-diff-changeset): Same.
10716 (log-view-diff-common): Call backend command `previous-revision'
10717 to find out the previous revision, in both cases. Swap the
10718 variables `to' and `fr', so that `fr' usually refers to the
10719 earlier revision (Bug#14989).
10720
10721 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10722
10723 * ibuf-ext.el (ibuffer-filter-by-filename):
10724 Make it work with dired buffers too.
10725
10726 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10727
10728 * emacs-lisp/re-builder.el (reb-color-display-p):
10729 * files.el (save-buffers-kill-terminal):
10730 * net/browse-url.el (browse-url):
10731 * server.el (server-save-buffers-kill-terminal):
10732 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10733 Prefer nil to selected-frame for the first arg of frame-parameter.
10734
10735 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10736
10737 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10738
10739 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10740
10741 * minibuffer.el (completion--twq-all): Try and preserve each
10742 completion's case choice (bug#14907).
10743
10744 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10745
10746 * net/network-stream.el (open-network-stream): Mention the new
10747 :nogreeting parameter.
10748 (network-stream-open-starttls): Use the :nogreeting parameter
10749 (bug#14938).
10750
10751 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10752
10753 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10754 more natural than popping.
10755
10756 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10757 (shr-urlify): Highlight under mouse.
10758
10759 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10760
10761 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10762
10763 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10764
10765 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10766 buffer for output.
10767
10768 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10769 point-min==1. Fix search string. Fix parentheses missing.
10770
10771 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10772 assume point-min==1. Fix search string. Fix parentheses missing.
10773
10774 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10775
10776 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10777 buffer for output.
10778
10779 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10780
10781 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10782 initial frame is minibuffer-less. (Bug#14841)
10783
10784 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10785
10786 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10787 option.
10788
10789 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10790 (tramp-maybe-open-connection): Use it.
10791
10792 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10793
10794 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10795 minimal set of parameters passed when creating a frame, because
10796 the minibuffer status of a frame cannot be changed later.
10797
10798 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10799
10800 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10801 replace-regexp-in-string and inadvertent omissions in previous change.
10802 (todo-filter-items): Ensure only file names are comma-separated in
10803 name of filtered items buffer.
10804
10805 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10806
10807 * desktop.el: Optionally force offscreen frames back onscreen.
10808 (desktop-restoring-reuses-frames): New option.
10809 (desktop--compute-pos, desktop--move-onscreen): New functions.
10810 (desktop--make-frame): Use desktop--move-onscreen.
10811
10812 2013-07-27 Alan Mackenzie <acm@muc.de>
10813
10814 Fontify a Java generic method as a function.
10815 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10816 value to t.
10817
10818 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10819
10820 * calendar/todo-mode.el: Add command to rename todo files.
10821 (todo-rename-file): New command.
10822 (todo-key-bindings-t): Add key binding for it. Change the
10823 bindings of todo-filter-regexp-items(-multifile) to use `x'
10824 instead of `r', since the latter is better suited to the new
10825 renaming command.
10826
10827 2013-07-27 Alan Mackenzie <acm@muc.de>
10828
10829 Make Java try-with-resources statement parse properly.
10830 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10831 (c-block-stmt-1-2-key): New language constants/variables.
10832 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10833 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10834 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10835 with c-block-stmt-1-2-key.
10836
10837 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10838
10839 * desktop.el (desktop--make-frame): Apply most frame parameters after
10840 creating the frame to force (partially or totally) offscreen frames to
10841 be restored as such.
10842
10843 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10844
10845 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10846 (Bug#14948)
10847
10848 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10849
10850 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10851 `base' arg of backtrace-frame.
10852
10853 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10854
10855 * simple.el (list-processes): Doc fix.
10856
10857 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10858
10859 * desktop.el (desktop--select-frame):
10860 Try harder to reuse existing frames.
10861
10862 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10863
10864 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10865 (edebug-eval): Use backtrace-eval.
10866 (edebug--display, edebug--recursive-edit): Don't let-bind the
10867 edebug-outer-* vars that keep track of variables we locally let-bind.
10868 (edebug-outside-excursion): Don't restore outside values of locally
10869 let-bound vars.
10870 (edebug--display): Use user-error.
10871 (cl-lexical-debug, cl-debug-env): Remove.
10872
10873 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10874
10875 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10876 are restored to be sure that they are visible before deleting any
10877 remaining ones.
10878
10879 2013-07-26 Matthias Meulien <orontee@gmail.com>
10880
10881 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10882 vc-print-root-log. (Bug#14948)
10883
10884 2013-07-26 Richard Stallman <rms@gnu.org>
10885
10886 Add aliases for encrypting mail.
10887 * epa.el (epa-mail-aliases): New option.
10888 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10889 Bind inhibit-read-only so read-only text doesn't ruin everything.
10890 (epa-mail-default-recipients): New subroutine broken out.
10891 Handle epa-mail-aliases.
10892
10893 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 Add support for lexical variables to the debugger's `e' command.
10896 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10897 vars, except for debugger-outer-match-data.
10898 (debugger-frame-number): Move check for "on a function call" from
10899 callers into it. Add `skip-base' argument.
10900 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10901 (debugger-env-macro): Only reset the state stored in non-variables,
10902 i.e. current-buffer and match-data.
10903 (debugger-eval-expression): Rewrite using backtrace-eval.
10904 * subr.el (internal--called-interactively-p--get-frame): Remove.
10905 (called-interactively-p):
10906 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10907 `base' arg of backtrace-frame instead.
10908
10909 2013-07-26 Glenn Morris <rgm@gnu.org>
10910
10911 * align.el (align-regexp): Doc fix. (Bug#14857)
10912 (align-region): Explicit error if subexpression missing/does not match.
10913
10914 * simple.el (global-visual-line-mode):
10915 Do not duplicate the mode lighter. (Bug#14858)
10916
10917 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10918
10919 * window.el (display-buffer): In display-buffer bind
10920 split-window-keep-point to t, bug#14829.
10921
10922 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10923
10924 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10925 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10926 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10927 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10928 Change accordingly.
10929 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10930 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10931
10932 2013-07-25 Glenn Morris <rgm@gnu.org>
10933
10934 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10935
10936 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10937
10938 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10939 parameter to modify-frame-parameters if the value has not changed;
10940 this is a workaround for bug#14949.
10941 (desktop--make-frame): On cl-delete-if call, check parameter name,
10942 not full parameter.
10943
10944 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10945
10946 * vc/vc.el (vc-ignore): New function.
10947
10948 * vc/vc-svn.el (vc-svn-ignore): New function.
10949
10950 * vc/vc-hg.el (vc-hg-ignore): New function.
10951
10952 * vc/vc-git.el (vc-git-ignore): New function.
10953
10954 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10955 (vc-dir-ignore): New function.
10956
10957 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10958 (cvs-append-to-ignore): Move here from pcvs.el.
10959
10960 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10961
10962 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10963
10964 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10965
10966 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10967 (desktop-restore-frames): Warn when deleting an existing frame failed.
10968
10969 2013-07-24 Glenn Morris <rgm@gnu.org>
10970
10971 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10972
10973 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10974
10975 * filenotify.el (file-notify-supported-p):
10976 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10977 Remove functions.
10978
10979 * autorevert.el (auto-revert-use-notify)
10980 (auto-revert-notify-add-watch):
10981 * net/tramp.el (tramp-file-name-for-operation):
10982 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10983 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10984 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10985 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10986 Remove `file-notify-supported-p' entry.
10987
10988 2013-07-24 Glenn Morris <rgm@gnu.org>
10989
10990 * printing.el: Replace all uses of deleted ps-windows-system,
10991 ps-lp-system, ps-flatten-list with lpr- versions.
10992
10993 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10994
10995 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10996 checked with memq (bug#14935).
10997
10998 * files.el (revert-buffer-function): Use a non-nil default.
10999 (revert-buffer-preserve-modes): Declare var to
11000 provide access to the `preserve-modes' argument.
11001 (revert-buffer): Let-bind it.
11002 (revert-buffer--default): New function, extracted from revert-buffer.
11003
11004 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11005
11006 * lpr.el: Signal print errors more prominently.
11007 (print-region-function): Don't default to nil.
11008 (lpr-print-region): New function, extracted from print-region-1.
11009 Check lpr's return value and signal an error in case of problem.
11010 (print-region-1): Use it.
11011 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11012 versions instead.
11013 (ps-printer-name): Default to nil.
11014 (ps-printer-name-option): Default to lpr-printer-switch.
11015 (ps-print-region-function): Don't default to nil.
11016 (ps-postscript-code-directory): Simplify default.
11017 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11018 (ps-string-list, ps-eval-switch, ps-flatten-list)
11019 (ps-flatten-list-1): Remove.
11020 (ps-multibyte-buffer): Avoid setq.
11021 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11022 (print-region-function, ps-print-region-function): Don't set them here.
11023
11024 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11025
11026 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11027 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11028 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11029 (ido-decorations): Doc fix.
11030
11031 * ansi-color.el: Fix old URL.
11032
11033 2013-07-23 Michael R. Mauger <michael@mauger.com>
11034
11035 * progmodes/sql.el: Version 3.3
11036 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11037 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11038 (sql-interactive-remove-continuation-prompt): Rewrite, use
11039 functions above. Fix continuation prompt and complete output line
11040 handling.
11041 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11042 redirected output buffer.
11043 (sql-mode): Restore deleted code (Bug#13591).
11044
11045 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11046
11047 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11048
11049 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11050
11051 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11052
11053 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11054 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11055 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11056
11057 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11058
11059 * desktop.el (desktop-clear): Simplify; remove useless checks
11060 against invalid buffer names.
11061 (desktop-list*): Use cl-list*.
11062 (desktop-buffer-info, desktop-create-buffer): Simplify.
11063
11064 2013-07-23 Leo Liu <sdl.web@gmail.com>
11065
11066 * bookmark.el (bookmark-make-record): Restore NAME as a default
11067 value. (Bug#14933)
11068
11069 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11070
11071 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11072 extracted from autoload--insert-text.
11073 (autoload--insert-text): Remove.
11074 (autoload--print-cookie-text): New function, extracted from
11075 autoload--insert-cookie-text.
11076 (autoload--insert-cookie-text): Remove.
11077 (autoload-generate-file-autoloads): Adjust calls accordingly.
11078
11079 * winner.el (winner-hook-installed-p): Remove.
11080 (winner-mode): Simplify accordingly.
11081
11082 * subr.el (add-to-list): Fix compiler-macro when `append' is
11083 not constant. Don't use `cl-member' for the base case.
11084
11085 * progmodes/subword.el: Fix boundary case (bug#13758).
11086 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11087 own group.
11088 (subword-backward-regexp): Make it a constant.
11089 (subword-forward-internal): Don't treat a trailing capital as the
11090 beginning of a word.
11091
11092 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11093
11094 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11095 global value of tabulated-list-revert-hook (bug#14930).
11096
11097 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11098
11099 * desktop.el: Require 'cl-lib.
11100 (desktop-before-saving-frames-functions): New hook.
11101 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11102 for frames being saved. Rename from desktop--save-minibuffer-frames.
11103 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11104 Do not save frames with non-nil `desktop-dont-save' parameter.
11105 Filter out deleted frames.
11106 (desktop--find-frame): Use cl-find-if.
11107 (desktop--select-frame): Use cl-(first|second|third) to access values
11108 of desktop-mini.
11109 (desktop--make-frame): Use cl-delete-if.
11110 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11111 (desktop-restore-frames): Use cl-(first|second|third) to access values
11112 of desktop-mini. Look for visible frame at the end, not while
11113 restoring frames.
11114
11115 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11116 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11117 Use string-match-p, looking-at-p (bug#14927).
11118
11119 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11120
11121 * desktop.el (desktop-saved-frame-states):
11122 Rename from desktop--saved-states; all users changed.
11123 (desktop-save-frames): Rename from desktop--save-frames.
11124 Do not save state to desktop file.
11125 (desktop-save): Save desktop-saved-frame-states to desktop file
11126 and reset to nil.
11127 (desktop-restoring-frames-p): New function.
11128 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11129 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11130 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11131
11132 * desktop.el: Correctly restore iconified frames.
11133 (desktop--filter-iconified-position): New function.
11134 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11135
11136 2013-07-20 Glenn Morris <rgm@gnu.org>
11137
11138 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11139 Let `message' do the formatting.
11140 (def-gdb-preempt-display-buffer): Add explicit format.
11141
11142 * image-dired.el (image-dired-track-original-file):
11143 Use with-current-buffer.
11144 (image-dired-track-thumbnail): Use with-current-buffer.
11145 Avoid changing point of wrong window.
11146
11147 * image-dired.el (image-dired-track-original-file):
11148 Avoid changing point of wrong window. (Bug#14909)
11149
11150 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11151
11152 * progmodes/gdb-mi.el (gdb-done-or-error):
11153 Guard against "%" in gdb output. (Bug#14127)
11154
11155 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11156
11157 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11158 (Bug#14826)
11159
11160 * international/mule.el (coding-system-iso-2022-flags): Fix last
11161 change.
11162
11163 2013-07-20 Kenichi Handa <handa@gnu.org>
11164
11165 * international/mule.el (coding-system-iso-2022-flags):
11166 Add `8-bit-level-4'. (Bug#8522)
11167
11168 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11169
11170 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11171 (bug#14815).
11172
11173 * net/eww.el (eww-process-text-input): Allow inputting when the
11174 point is at the start of the line, as the properties aren't
11175 front-sticky.
11176
11177 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11178 degenerate widths.
11179
11180 2013-07-19 Richard Stallman <rms@gnu.org>
11181
11182 * epa.el (epa-popup-info-window): Doc fix.
11183
11184 * subr.el (split-string): New arg TRIM.
11185
11186 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11187
11188 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11189 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11190
11191 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11192
11193 * filenotify.el (file-notify--library): Rename from
11194 `file-notify-support'. Do not autoload. Adapt all uses.
11195 (file-notify-supported-p): New defun.
11196
11197 * autorevert.el (auto-revert-use-notify):
11198 Use `file-notify-supported-p' instead of `file-notify-support'.
11199 Adapt docstring.
11200 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11201
11202 * net/tramp.el (tramp-file-name-for-operation):
11203 Add `file-notify-supported-p'.
11204
11205 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11206 New defun.
11207 (tramp-sh-file-name-handler-alist): Add it as handler for
11208 `file-notify-supported-p '.
11209
11210 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11211 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11212 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11213 Add `ignore' as handler for `file-notify-*' functions.
11214
11215 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11216
11217 * simple.el (line-move-partial, line-move): Don't start vscroll or
11218 scroll-up if the current line is not taller than the window.
11219 (Bug#14881)
11220
11221 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11222
11223 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11224 highlight question marks in the method names as strings.
11225 (ruby-block-beg-keywords): Inline.
11226 (ruby-font-lock-keyword-beg-re): Extract from
11227 `ruby-font-lock-keywords'.
11228
11229 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11230
11231 * frame.el (blink-cursor-blinks): New defcustom.
11232 (blink-cursor-blinks-done): New defvar.
11233 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11234 (blink-cursor-timer-function): Check if number of blinks has been
11235 done on X and NS.
11236 (blink-cursor-suspend, blink-cursor-check): New defuns.
11237
11238 2013-07-15 Glenn Morris <rgm@gnu.org>
11239
11240 * edmacro.el (edmacro-format-keys): Fix previous change.
11241
11242 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11243
11244 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11245 The hack didn't work outside English locales anyway.
11246
11247 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11248
11249 * simple.el (define-alternatives): Rename from alternatives-define,
11250 per RMS' suggestion.
11251
11252 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11253
11254 * desktop.el (desktop-restore-frames): Change default to t.
11255 (desktop-restore-in-current-display): Now offer more options.
11256 (desktop-restoring-reuses-frames): New customization option.
11257 (desktop--saved-states): Doc fix.
11258 (desktop-filter-parameters-alist): New variable, renamed and expanded
11259 from desktop--excluded-frame-parameters.
11260 (desktop--target-display): New variable.
11261 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11262 (desktop--filter-tty*, desktop--filter-*-color)
11263 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11264 (desktop--filter-save-desktop-parm)
11265 (desktop-restore-in-original-display-p): New functions.
11266 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11267 (desktop--save-minibuffer-frames): New function, inspired by a similar
11268 function from Martin Rudalics.
11269 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11270 (desktop--restore-in-this-display-p): Remove.
11271 (desktop--find-frame): Rename from desktop--find-frame-in-display
11272 and add predicate argument.
11273 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11274 (desktop--reuse-list): New variable.
11275 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11276 New functions.
11277 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11278
11279 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11280
11281 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11282
11283 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11284
11285 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11286 Highlight conversion methods on Kernel.
11287
11288 2013-07-13 Alan Mackenzie <acm@muc.de>
11289
11290 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11291 and comment it out. This out-commenting enables certain C++
11292 declarations to be parsed correctly.
11293
11294 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11295
11296 * international/mule.el (define-coding-system): Doc fix.
11297
11298 * simple.el (default-font-height): Don't call font-info if the
11299 frame's default font didn't change since the frame was created.
11300 (Bug#14838)
11301
11302 2013-07-13 Leo Liu <sdl.web@gmail.com>
11303
11304 * ido.el (ido-read-file-name): Guard against non-symbol value.
11305
11306 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11307
11308 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11309 in nested defuns.
11310
11311 2013-07-13 Leo Liu <sdl.web@gmail.com>
11312
11313 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11314 ido-set-matches call. (Bug#6852)
11315
11316 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11317
11318 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11319 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11320 Ruby 2.0.
11321 (ruby-font-lock-keywords): Distinguish calls to functions with
11322 module-like names from module references. Highlight character
11323 literals.
11324
11325 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11326
11327 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11328 (gdb-send): Handle continued commands. (Bug#14847)
11329
11330 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11331
11332 * desktop.el (desktop--v2s): Remove unused local variable.
11333 (desktop-save-buffer): Make defvar-local; adjust docstring.
11334 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11335 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11336
11337 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11338
11339 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11340
11341 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11342
11343 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11344 (Bug#14842)
11345
11346 2013-07-12 Glenn Morris <rgm@gnu.org>
11347
11348 * doc-view.el: Require cl-lib at runtime too.
11349 (doc-view-remove-if): Remove.
11350 (doc-view-search-next-match, doc-view-search-previous-match):
11351 Use cl-remove-if.
11352
11353 * edmacro.el: Require cl-lib at runtime too.
11354 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11355 (edmacro-mismatch, edmacro-subseq): Remove.
11356
11357 * shadowfile.el: Require cl-lib.
11358 (shadow-remove-if): Remove.
11359 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11360 Use cl-remove-if.
11361
11362 * wid-edit.el: Require cl-lib.
11363 (widget-choose): Use cl-remove-if.
11364 (widget-remove-if): Remove.
11365
11366 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11367 (ebrowse-delete-if-not): Remove.
11368 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11369 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11370 Use cl-delete-if-not.
11371
11372 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11373
11374 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11375 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11376
11377 2013-07-12 Leo Liu <sdl.web@gmail.com>
11378
11379 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11380
11381 2013-07-11 Glenn Morris <rgm@gnu.org>
11382
11383 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11384 (edebug-gensym-index, edebug-gensym):
11385 Remove reimplementation of cl-gensym.
11386 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11387
11388 * thumbs.el: Require cl-lib at run-time too.
11389 (thumbs-gensym-counter, thumbs-gensym):
11390 Remove reimplementation of cl-gensym.
11391 (thumbs-temp-file): Use cl-gensym.
11392
11393 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11394 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11395 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11396 (ert--union, ert--gensym-counter, ert--gensym-counter)
11397 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11398 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11399 (ert-make-test-unbound, ert--expand-should-1)
11400 (ert--expand-should, ert--should-error-handle-error)
11401 (should-error, ert--explain-equal-rec)
11402 (ert--plist-difference-explanation, ert-select-tests)
11403 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11404 Use cl-lib functions rather than reimplementations.
11405
11406 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11407
11408 * net/tramp.el (tramp-methods): Extend docstring.
11409 (tramp-connection-timeout): New defcustom.
11410 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11411 (with-tramp-progress-reporter): Simplify.
11412 (tramp-process-actions): Improve messages.
11413
11414 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11415 * net/tramp-sh.el (tramp-maybe-open-connection):
11416 Use `tramp-connection-timeout'.
11417 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11418 (Bug#14808)
11419
11420 2013-07-11 Leo Liu <sdl.web@gmail.com>
11421
11422 * ido.el (ido-read-file-name): Conform to the requirements of
11423 read-file-name. (Bug#11861)
11424 (ido-read-directory-name): Conform to the requirements of
11425 read-directory-name.
11426
11427 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11428
11429 * subr.el (delay-warning): New function.
11430
11431 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11432
11433 * simple.el (default-line-height): New function.
11434 (line-move-partial, line-move): Use it instead of computing the
11435 line height inline.
11436 (line-move-partial): Always compute ROWH. If the last line is
11437 partially-visible, but its text is completely visible, allow
11438 cursor to enter such a partially-visible line.
11439
11440 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11441
11442 Improve error messages. (Bug#14808)
11443
11444 * net/tramp.el (tramp-current-connection): New defvar, moved from
11445 tramp-sh.el.
11446 (tramp-message-show-progress-reporter-message): Remove, not
11447 needed anymore.
11448 (tramp-error-with-buffer): Show message in minibuffer.
11449 Discard input before waiting. Reset connection timestamp.
11450 (with-tramp-progress-reporter): Improve messages.
11451 (tramp-process-actions): Use progress reporter. Delete process in
11452 case of error. Improve messages.
11453
11454 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11455 Call `tramp-error-with-buffer' with vector and buffer.
11456 (tramp-current-connection): Remove.
11457 (tramp-maybe-open-connection): The car of
11458 `tramp-current-connection' are the first 3 slots of the vector.
11459
11460 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11461
11462 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11463 inside continued strings.
11464
11465 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11466
11467 Timestamp fixes for undo (Bug#14824).
11468 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11469
11470 2013-07-10 Leo Liu <sdl.web@gmail.com>
11471
11472 * files.el (require-final-newline): Allow safe local value.
11473 (Bug#14834)
11474
11475 2013-07-09 Leo Liu <sdl.web@gmail.com>
11476
11477 * ido.el (ido-read-directory-name): Handle fallback.
11478 (ido-read-file-name): Update DIR to ido-current-directory.
11479 (Bug#1516)
11480 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11481
11482 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11483
11484 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11485 "autoload". Remove "warn lower camel case" section, previously
11486 commented out. Highlight negation char. Do not highlight the
11487 target in singleton method definitions.
11488
11489 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 * faces.el (tty-setup-hook): Declare the hook.
11492
11493 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11494 and detect when a guard/pred depends on local vars (bug#14773).
11495 (pcase--u1): Adjust caller.
11496
11497 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11498
11499 * simple.el (line-move-partial, line-move): Account for
11500 line-spacing.
11501 (line-move-partial): Avoid setting vscroll when the last
11502 partially-visible line in window is of default height.
11503
11504 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11505
11506 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11507 been used a while.
11508
11509 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11510
11511 * subr.el (read-quoted-char): Remove unused local variable `char'.
11512
11513 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11514
11515 * ediff.el (ediff-version): Version update.
11516 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11517 (ediff-merge-with-ancestor-command, ediff-directories-command)
11518 (ediff-directories3-command, ediff-merge-directories-command)
11519 (ediff-merge-directories-with-ancestor-command): New functions.
11520 All are command-line interfaces to ediff: to facilitate calling
11521 Emacs with the appropriate ediff functions invoked.
11522
11523 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11524 (viper-save-kill-buffer): Check if buffer is modified.
11525
11526 * viper.el (viper-version): Version update.
11527 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11528
11529 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11530
11531 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11532 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11533 (viper-intercept-ESC-key): Simplify.
11534 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11535 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11536 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11537 (viper-setup-ESC-to-escape): New functions.
11538 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11539 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11540
11541 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11542
11543 * simple.el (default-font-height, window-screen-lines):
11544 New functions.
11545 (line-move, line-move-partial): Use them instead of
11546 frame-char-height and window-text-height. This makes scrolling
11547 text smoother when the buffer's default face uses a font that is
11548 different from the frame's default font.
11549
11550 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11551
11552 * files.el (write-file): Do not display confirm dialog for NS,
11553 it does its own dialog, which can't be canceled (Bug#14578).
11554
11555 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11556
11557 * simple.el (line-move-partial): Adjust the row returned by
11558 posn-at-point for the current window-vscroll. (Bug#14567)
11559
11560 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11561
11562 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11563 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11564 spaces.
11565
11566 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11567
11568 * window.el (window-state-put-stale-windows): New variable.
11569 (window--state-put-2): Save list of windows without matching buffer.
11570 (window-state-put): Remove "bufferless" windows if possible.
11571
11572 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11573
11574 * simple.el (alternatives-define): Remove leftover :group keyword.
11575 Tweak docstring.
11576
11577 2013-07-06 Leo Liu <sdl.web@gmail.com>
11578
11579 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11580 (ido-enable-virtual-buffers): New variable.
11581 (ido-buffer-internal, ido-toggle-virtual-buffers)
11582 (ido-make-buffer-list): Use it.
11583 (ido-exhibit): Support turning on and off virtual buffers
11584 automatically.
11585
11586 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11587
11588 * simple.el (alternatives-define): New macro.
11589
11590 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11591
11592 * subr.el (read-quoted-char): Use read-key.
11593 (sit-for): Let read-event decode tty input (bug#14782).
11594
11595 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11596
11597 * calendar/todo-mode.el: Add handling of file deletion, both by
11598 mode command and externally. Fix various related bugs.
11599 Clarify Commentary and improve some documentation strings and code.
11600 (todo-delete-file): New command.
11601 (todo-check-file): New function.
11602 (todo-show): Handle external deletion of the file we're trying to
11603 show (bug#14688). Replace called-interactively-p by an optional
11604 prefix argument to avoid problematic interaction with catch form
11605 when byte compiled (bug#14702).
11606 (todo-quit): Handle external deletion of the archive's todo file.
11607 Make sure the buffer that was visiting the archive file is still
11608 live before trying to bury it.
11609 (todo-category-completions): Handle external deletion of any
11610 category completion files.
11611 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11612 of todo files, in case of external deletion.
11613 (todo-add-file): Replace unnecessary setq by let-binding.
11614 (todo-find-archive): Check whether there are any archives.
11615 Replace unnecessary setq by let-binding.
11616 (todo-archive-done-item): Use find-file-noselect to get the
11617 archive buffer whether or not the archive already exists.
11618 Remove superfluous code. Use file size instead of buffer-file-name to
11619 check if the archive is new; if it is, update list of archives.
11620 (todo-default-todo-file): Allow nil to be a valid value for when
11621 there are no todo files.
11622 (todo-reevaluate-default-file-defcustom): Use corrected definition
11623 of todo-default-todo-file.
11624 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11625 (todo-delete-category, todo-show-categories-table)
11626 (todo-category-number): Clarify comment.
11627 (todo-filter-items): Clarify documentation string.
11628 (todo-show-current-file, todo-display-as-todo-file)
11629 (todo-reset-and-enable-done-separator): Tweak documentation string.
11630 (todo-done-separator): Make separator length window-width, since
11631 bug#2749 is now fixed.
11632
11633 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11634
11635 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11636 Support both "gvfs-monitor-dir" and "inotifywait".
11637 (tramp-sh-file-inotifywait-process-filter): Rename from
11638 `tramp-sh-file-notify-process-filter'.
11639 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11640 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11641
11642 2013-07-05 Leo Liu <sdl.web@gmail.com>
11643
11644 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11645
11646 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11647
11648 * frame.el (display-pixel-height, display-pixel-width)
11649 (display-mm-height, display-mm-width): Mention behavior on
11650 multi-monitor setups in docstrings.
11651 (w32-display-monitor-attributes-list): Declare function.
11652 (display-monitor-attributes-list): Use it.
11653
11654 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11655
11656 * filenotify.el: New package.
11657
11658 * autorevert.el (top): Require filenotify.el.
11659 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11660 instead.
11661 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11662 (auto-revert-notify-handler): Use `file-notify-*' functions.
11663
11664 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11665
11666 * net/tramp.el (tramp-file-name-for-operation):
11667 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11668
11669 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11670 for `file-notify-add-watch' and `file-notify-rm-watch'.
11671 (tramp-process-sentinel): Improve trace.
11672 (tramp-sh-handle-file-notify-add-watch)
11673 (tramp-sh-file-notify-process-filter)
11674 (tramp-sh-handle-file-notify-rm-watch)
11675 (tramp-get-remote-inotifywait): New defuns.
11676
11677 2013-07-03 Juri Linkov <juri@jurta.org>
11678
11679 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11680 call of `occur-read-primary-args' to interactive spec.
11681
11682 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11683 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11684
11685 2013-07-03 Matthias Meulien <orontee@gmail.com>
11686
11687 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11688 `Buffer-menu-multi-occur'. Add it to the menu.
11689 (Buffer-menu-mode): Document it in docstring.
11690 (Buffer-menu-multi-occur): New command. (Bug#14673)
11691
11692 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11693
11694 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11695 keywords and built-ins.
11696
11697 2013-07-03 Glenn Morris <rgm@gnu.org>
11698
11699 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11700
11701 Make info-xref checks case-sensitive by default
11702 * info.el (Info-find-node, Info-find-in-tag-table)
11703 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11704 Add option for exact case matching of nodes.
11705 * info-xref.el (info-xref): New custom group.
11706 (info-xref-case-fold): New option.
11707 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11708
11709 2013-07-03 Leo Liu <sdl.web@gmail.com>
11710
11711 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11712
11713 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11714
11715 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11716 middle of block statement initially, lower the depth. Remove
11717 FIXME comment, not longer valid. Remove middle of block statement
11718 detection, no need to do that anymore since we've been using
11719 `ruby-parse-region' here.
11720
11721 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11722
11723 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11724
11725 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11726
11727 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11728
11729 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11730
11731 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11732 (desktop-restore-in-current-display): New customization option.
11733 (desktop--excluded-frame-parameters): Add `font'.
11734 (desktop--save-frames): Rename from desktop--save-windows.
11735 (desktop--restore-in-this-display-p): New function.
11736 (desktop--make-full-frame): Remove unwanted width/height from
11737 full(width|height) frames.
11738 (desktop--restore-frames): Rename from desktop--restore-windows.
11739 Obey desktop-restore-current-display. Do not delete old frames or
11740 select a new frame unless we were able to restore at least one frame.
11741
11742 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11743
11744 * files.el (find-file-noselect): Simplify conditional expression.
11745
11746 * textmodes/remember.el (remember-append-to-file):
11747 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11748
11749 Add `remember-notes' function to store random notes across Emacs
11750 restarts.
11751 * textmodes/remember.el (remember-data-file): Add :set callback to
11752 affect notes buffer (if any).
11753 (remember-notes): New command.
11754 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11755 New defcustoms for the `remember-notes' function.
11756 (remember-notes-save-and-bury-buffer): New command.
11757 (remember-notes-mode-map): New variable.
11758 (remember-mode): New minor mode.
11759 (remember-notes--kill-buffer-query): New function.
11760 * startup.el (initial-buffer-choice): Add notes to custom type.
11761
11762 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11763
11764 * bindings.el (right-char, left-char): Don't call sit-for, this is
11765 no longer needed. Use arithmetic comparison only for numerical
11766 arguments.
11767
11768 * international/mule-cmds.el (select-safe-coding-system):
11769 Handle the case of FROM being a string correctly. (Bug#14755)
11770
11771 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11772
11773 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11774 progression on degenerate tables.
11775 (shr-rescale-image): ImageMagick animated images currently don't work.
11776
11777 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11778
11779 Some fixes and improvements for desktop frame restoration.
11780 It is still experimental and disabled by default.
11781 * desktop.el (desktop--save-windows): Put the selected frame at
11782 the head of the list.
11783 (desktop--make-full-frame): New function.
11784 (desktop--restore-windows): Try to re-select the frame that was
11785 selected upon saving. Do not abort if some frames fail to restore,
11786 just show an error message and continue. Set up maximized frames
11787 so they have default non-maximized dimensions.
11788
11789 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11790
11791 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11792 Don't start heredoc inside a string or comment.
11793
11794 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11795
11796 * bindings.el (visual-order-cursor-movement): New defcustom.
11797 (right-char, left-char): Provide visual-order cursor motion by
11798 calling move-point-visually. Update the doc strings.
11799
11800 2013-06-28 Kenichi Handa <handa@gnu.org>
11801
11802 * international/mule.el (define-coding-system): New coding system
11803 properties :inhibit-null-byte-detection,
11804 :inhibit-iso-escape-detection, and :prefer-utf-8.
11805 (set-buffer-file-coding-system): If :charset-list property of
11806 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11807 appropriate for setting.
11808
11809 * international/mule-cmds.el (select-safe-coding-system):
11810 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11811 multibyte characters, return utf-8 (or one of its siblings).
11812
11813 * international/mule-conf.el (prefer-utf-8): New coding system.
11814 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11815 files.
11816
11817 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11818
11819 * net/shr.el (shr-render-region): New function.
11820
11821 * net/eww.el: Autoload `eww-browse-url'.
11822
11823 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11824
11825 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11826 Adapt to `package-desc-version' being a list.
11827 Use `package--ac-desc-version' to retrieve version from a package
11828 archive element.
11829
11830 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11831
11832 New experimental feature to save&restore window and frame setup.
11833 * desktop.el (desktop-save-windows): New defcustom.
11834 (desktop--saved-states): New var.
11835 (desktop--excluded-frame-parameters): New defconst.
11836 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11837 (desktop--restore-windows, desktop--save-windows): New functions.
11838 (desktop-save): Call `desktop--save-windows'.
11839 (desktop-read): Call `desktop--restore-windows'.
11840
11841 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11842
11843 * net/shr.el (add-face-text-property): Remove compat definition.
11844
11845 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11846
11847 * info.el (Info-try-follow-nearest-node): Move search for footnote
11848 above search for node name to prevent missing a footnote (bug#14717).
11849
11850 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11851
11852 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11853
11854 2013-06-27 Leo Liu <sdl.web@gmail.com>
11855
11856 * net/eww.el (eww-read-bookmarks): Check file size.
11857
11858 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11859
11860 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11861 advice--pending if newdef is nil or an autoload (bug#13820).
11862 (advice-mapc): New function.
11863
11864 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11865
11866 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11867 probably.
11868 (eww-mode-map): Add a menu bar.
11869 (eww-add-bookmark): New command.
11870 (eww-bookmark-mode): New mode and commands.
11871 (eww-add-bookmark): Remove newlines from the title.
11872 (eww-bookmark-browse): Don't bug out if it's the only window.
11873
11874 2013-06-26 Glenn Morris <rgm@gnu.org>
11875
11876 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11877 (hfy-size): Handle ttys. (Bug#14668)
11878
11879 * info-xref.el: Update for Texinfo 5 change in *note format.
11880 (info-xref-node-re, info-xref-note-re): New constants.
11881 (info-xref-check-buffer): Use info-xref-note-re.
11882
11883 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11884
11885 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11886
11887 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11888 nil terminate the loop (bug#14718).
11889
11890 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11891
11892 * net/eww.el: Rework history traversal. When going forward/back,
11893 put these actions into the history, too, so that they can be
11894 replayed.
11895 (eww-render): Move the history reset to the correct buffer.
11896
11897 2013-06-25 Juri Linkov <juri@jurta.org>
11898
11899 * files-x.el (modify-dir-local-variable): Change the header comment
11900 in the file with directory local variables. (Bug#14692)
11901
11902 * files-x.el (read-file-local-variable-value): Add `default'.
11903 (Bug#14710)
11904
11905 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11906
11907 * net/eww.el (eww-make-unique-file-name): Create a unique file
11908 name before saving to entering `y' accidentally asynchronously.
11909
11910 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11911
11912 * net/eww.el (eww-download): New command and keystroke.
11913
11914 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11915
11916 * net/eww.el (eww-copy-page-url): Change name of command.
11917
11918 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11919 be more consistent with Info and dired.
11920
11921 * net/eww.el (eww-mode-map): Ditto.
11922
11923 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11926 packages from archives.
11927 (package-archive-contents): Change format; include obsolete packages.
11928 (package-desc): Use `dir' to mark builtin packages.
11929 (package--from-builtin): Set the `dir' field to `builtin'.
11930 (generated-autoload-file, version-control): Declare.
11931 (package-compute-transaction): Change first arg and return value to be
11932 lists of package-descs. Adjust to new package-archive-contents format.
11933 (package--add-to-archive-contents): Adjust to new
11934 package-archive-contents format.
11935 (package-download-transaction): Arg is now a list of package-descs.
11936 (package-install): If `pkg' is a package name, pass it as
11937 a requirement, so it is subject to the usual (e.g. disabled) checks.
11938 (describe-package): Accept package-desc as well.
11939 (describe-package-1): Describe a specific package-desc. Add links to
11940 other package-descs for the same package name.
11941 (package-menu-describe-package): Pass the actual package-desc.
11942 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11943 works correctly.
11944 (package-desc-status): New function.
11945 (package-menu--refresh): New function, extracted
11946 from package-menu--generate.
11947 (package-menu--generate): Use it.
11948 (package-delete): Update package-alist.
11949 (package-menu-execute): Don't call package-initialize.
11950
11951 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11952 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11953 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11954 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11955 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11956 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11957
11958 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11959
11960 * window.el (window--state-get-1): Workaround for bug#14527.
11961 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11962
11963 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11964
11965 * net/eww.el (eww-back-url): Implement the history by stashing all
11966 the data into a list.
11967 (eww-forward-url): Allow going forward in the history, too.
11968
11969 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11972 for values and use read--expression for expressions (bug#14710).
11973 (read-file-local-variable): Avoid setq.
11974 (read-file-local-variable-mode): Use minor-mode-list.
11975
11976 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11977
11978 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11979 for DOI URLs.
11980
11981 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11982
11983 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11984 Update imenu-support when dialect changes.
11985
11986 2013-06-25 Leo Liu <sdl.web@gmail.com>
11987
11988 * ido.el (ido-read-internal): Allow forward slash on windows.
11989
11990 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11991
11992 * net/eww.el (eww): Start of strings is \\`, not ^.
11993
11994 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11995
11996 * net/shr.el (shr-browse-url): Fix interactive spec.
11997
11998 * net/eww.el (eww): Add a trailing slash to domain names.
11999
12000 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12001
12002 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12003
12004 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12005
12006 * net/shr.el (shr-browse-url): Use an external browser if given a
12007 prefix.
12008
12009 * net/eww.el (eww-external-browser): Move to shr.
12010
12011 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12012
12013 * net/eww.el (eww): Work more correctly for file: URLs.
12014 (eww-detect-charset): Allow quoted charsets.
12015 (eww-yank-page-url): New command and keystroke.
12016
12017 2013-06-24 Daiki Ueno <ueno@gnu.org>
12018
12019 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12020 file name of gpg executable.
12021 (epg-context-program): New function.
12022 (epg-context-home-directory): New function.
12023 (epg-context-set-program): New function.
12024 (epg-context-set-home-directory): New function.
12025 (epg--start): Use `epg-context-program' instead of
12026 'epg-gpg-program'.
12027 (epg--list-keys-1): Likewise.
12028
12029 2013-06-24 Leo Liu <sdl.web@gmail.com>
12030
12031 * ido.el (ido-read-internal): Fix bug#14620.
12032
12033 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12034
12035 * faces.el (face-documentation): Simplify.
12036 (read-face-attribute, tty-find-type, x-resolve-font-name):
12037 Use `string-match-p'.
12038 (list-faces-display): Use `string-match-p'. Simplify.
12039 (face-spec-recalc): Check face to avoid face alias loops.
12040 (read-color): Use `string-match-p' and non-capturing parenthesis.
12041
12042 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12043
12044 * net/shr.el (shr-rescale-image): Use the new
12045 :max-width/:max-height functionality.
12046
12047 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12048
12049 * net/eww.el (eww-search-prefix): New variable.
12050 (eww): Use it.
12051 (eww-external-browser): New variable.
12052 (eww-mode-map): New keystroke.
12053 (eww-browse-with-external-browser): New command.
12054
12055 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12056
12057 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12058
12059 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12060 Don't skip aligning the next header field when padding is 0;
12061 otherwise, field width is not respected unless the title is as
12062 wide as the field.
12063
12064 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12065
12066 * emacs-lisp/package.el (package-el-version): Remove.
12067 (package-process-define-package): Fix inf-loop.
12068 (package-install): Allow symbols as arguments again.
12069
12070 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12071
12072 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12073 add some more keyword-like methods.
12074 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12075
12076 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12077
12078 * bs.el (bs-buffer-show-mark): Make defvar-local.
12079 (bs-mode): Use setq-local.
12080
12081 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12082 (emacs-lock--try-unlocking): Make defvar-local.
12083
12084 2013-06-22 Glenn Morris <rgm@gnu.org>
12085
12086 * play/cookie1.el (cookie-apropos): Minor simplification.
12087
12088 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12089
12090 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12091
12092 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12093 `regexp-opt', it breaks the build during dumping.
12094
12095 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12096
12097 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12098 Highlight keyword-like methods on Kernel and Module with
12099 font-lock-builtin-face.
12100 (auto-mode-alist): Consolidate different entries into one regexp
12101 and add more *file-s.
12102
12103 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12104
12105 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12106
12107 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12108 (diary-entry): Use it in the action of this button type instead of
12109 diary-goto-entry.
12110
12111 * calendar/todo-mode.el: New version.
12112 (todo-add-category): Append new category to end of file and give
12113 it the highest number, instead of putting it at the beginning and
12114 giving it 0. Incorporate noninteractive functionality.
12115 (todo-forward-category): Adapt to 1-based category numbering.
12116 Allow skipping over archived categories.
12117 (todo-backward-category): Derive from todo-forward-category.
12118 (todo-backward-item, todo-forward-item): Make noninteractive and
12119 delegate interactive part to new commands. Make sensitive to done items.
12120 (todo-categories): Make value an alist of category names and
12121 vectors of item counts.
12122 (todo-category-beg): Make a defconst.
12123 (todo-category-number): Use 1 instead of 0 as initial value.
12124 (todo-category-select): Make sensitive to overlays, optional item
12125 highlighting and done items.
12126 (todo-delete-item): Make sensitive to overlays and marked and done items.
12127 (todo-edit-item): Make sensitive to overlays and editing of
12128 date/time header optional. Add format checks.
12129 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12130 no-op if point is not on an item. Advertise using todo-edit-quit.
12131 (todo-edit-mode): Make sensitive to new format, font-locking, and
12132 multiple todo files.
12133 (todo-insert-item, todo-insert-item-here): Derive from
12134 todo-basic-insert-item and extend functionality.
12135 (todo-item-end, todo-item-start): Make sensitive to done items.
12136 (todo-item-string): Don't return text properties. Restore point.
12137 (todo-jump-to-category): Make sensitive to multiple todo files and
12138 todo archives. Use extended category completion.
12139 (todo-lower-item, todo-raise-item): Rename to *-priority and
12140 derive from todo-set-item-priority.
12141 (todo-mode): Derive from special-mode. Make sensitive to new
12142 format, font-locking and multiple todo files. Make read-only.
12143 (todo-mode-map): Don't suppress digit keys, so they can supply
12144 prefix arguments. Add many new key bindings.
12145 (todo-prefix): Insert as an overlay instead of file text.
12146 Change semantics from diary date expression to purely visual mark.
12147 (todo-print): Rename to todo-print-buffer. Make buffer display
12148 features printable. Remove option to restrict number of items
12149 printed. Add option to print to file.
12150 (todo-print-function): Rename to todo-print-buffer-function.
12151 (todo-quit): Extend to handle exiting new todo modes.
12152 (todo-remove-item): Make sensitive to overlays.
12153 (todo-save): Extend to buffers of filtered items.
12154 (todo-show): Make sensitive to done items, multiple todo files and
12155 new todo modes. Offer to convert legacy todo file before creating
12156 first new todo file.
12157 (todo-show-priorities): Rename to todo-top-priorities.
12158 Change semantics of value 0.
12159 (todo-top-priorities): Rename to todo-filter-top-priorities,
12160 derive from todo-filter-items and extend functionality.
12161 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12162 and extend functionality to other types of filtered items.
12163 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12164 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12165 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12166 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12167 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12168 (todo-edit-mode-hook, todo-entry-prefix-function)
12169 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12170 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12171 (todo-initials, todo-insert-threshold, todo-item-string-start)
12172 (todo-line-string, todo-menu, todo-mode-hook)
12173 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12174 (todo-print-priorities, todo-remove-separator)
12175 (todo-save-top-priorities-too, todo-string-count-lines)
12176 (todo-string-multiline-p, todo-time-string-format)
12177 (todo-tmp-buffer-name): Remove.
12178 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12179 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12180 (todo-edit-category-diary-inclusion)
12181 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12182 (todo-edit-file, todo-edit-item-date-day)
12183 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12184 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12185 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12186 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12187 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12188 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12189 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12190 (todo-filter-top-priorities-multifile, todo-find-archive)
12191 (todo-find-filtered-items-file, todo-go-to-source-item)
12192 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12193 (todo-jump-to-archive-category, todo-lower-category)
12194 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12195 (todo-move-category, todo-move-item, todo-next-button)
12196 (todo-next-item, todo-padded-string, todo-powerset)
12197 (todo-previous-button, todo-previous-item)
12198 (todo-print-buffer-to-file, todo-raise-category)
12199 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12200 (todo-set-category-number, todo-set-item-priority)
12201 (todo-set-top-priorities-in-category)
12202 (todo-set-top-priorities-in-file, todo-show-categories-table)
12203 (todo-sort-categories-alphabetically-or-numerically)
12204 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12205 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12206 (todo-toggle-item-header, todo-toggle-item-highlighting)
12207 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12208 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12209 (todo-unarchive-items, todo-unmark-category): New commands.
12210 (todo-absolute-file-name, todo-add-to-buffer-list)
12211 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12212 (todo-basic-insert-item, todo-category-completions)
12213 (todo-category-number, todo-category-string-matcher-1)
12214 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12215 (todo-check-format, todo-clear-matches)
12216 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12217 (todo-current-category, todo-date-string-matcher)
12218 (todo-define-insertion-command, todo-diary-expired-matcher)
12219 (todo-diary-goto-entry, todo-diary-item-p)
12220 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12221 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12222 (todo-done-item-section-p, todo-done-separator)
12223 (todo-done-string-matcher, todo-files, todo-filter-items)
12224 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12225 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12226 (todo-insert-category-line, todo-insert-item-from-calendar)
12227 (todo-insert-sort-button, todo-insert-with-overlays)
12228 (todo-insertion-command-name, todo-insertion-key-bindings)
12229 (todo-label-to-key, todo-longest-category-name-length)
12230 (todo-make-categories-list, todo-mode-external-set)
12231 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12232 (todo-modes-set-3, todo-multiple-filter-files)
12233 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12234 (todo-read-category, todo-read-date, todo-read-dayname)
12235 (todo-read-file-name, todo-read-time)
12236 (todo-reevaluate-category-completions-files-defcustom)
12237 (todo-reevaluate-default-file-defcustom)
12238 (todo-reevaluate-filelist-defcustoms)
12239 (todo-reevaluate-filter-files-defcustom)
12240 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12241 (todo-reset-done-separator, todo-reset-done-separator-string)
12242 (todo-reset-done-string, todo-reset-global-current-todo-file)
12243 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12244 (todo-reset-prefix, todo-set-categories)
12245 (todo-set-date-from-calendar, todo-set-show-current-file)
12246 (todo-set-top-priorities, todo-short-file-name)
12247 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12248 (todo-total-item-counts, todo-update-buffer-list)
12249 (todo-update-categories-display, todo-update-categories-sexp)
12250 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12251 New functions.
12252 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12253 New major modes.
12254 (todo-categories, todo-display, todo-edit, todo-faces)
12255 (todo-filtered): New defgroups.
12256 (todo-archived-only, todo-button, todo-category-string, todo-date)
12257 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12258 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12259 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12260 (todo-add-item-if-new-category, todo-always-add-time-string)
12261 (todo-categories-align, todo-categories-archived-label)
12262 (todo-categories-category-label, todo-categories-diary-label)
12263 (todo-categories-done-label, todo-categories-number-separator)
12264 (todo-categories-todo-label, todo-categories-totals-label)
12265 (todo-category-completions-files, todo-completion-ignore-case)
12266 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12267 (todo-done-separator-string, todo-done-string)
12268 (todo-files-function, todo-filter-done-items, todo-filter-files)
12269 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12270 (todo-initial-category, todo-initial-file, todo-item-mark)
12271 (todo-legacy-date-time-regexp, todo-mode-line-function)
12272 (todo-nondiary-marker, todo-number-prefix)
12273 (todo-print-buffer-function, todo-show-current-file)
12274 (todo-show-done-only, todo-show-first, todo-show-with-done)
12275 (todo-skip-archived-categories, todo-top-priorities-overrides)
12276 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12277 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12278 New defcustoms.
12279 (todo-category-done, todo-date-pattern, todo-date-string-start)
12280 (todo-diary-items-buffer, todo-done-string-start)
12281 (todo-filtered-items-buffer, todo-item-start)
12282 (todo-month-abbrev-array, todo-month-name-array)
12283 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12284 (todo-top-priorities-buffer): New defconsts.
12285 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12286 (todo-categories-with-marks, todo-category-string-face)
12287 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12288 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12289 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12290 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12291 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12292 (todo-font-lock-keywords, todo-global-current-todo-file)
12293 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12294 (todo-insertion-commands-args)
12295 (todo-insertion-commands-args-genlist)
12296 (todo-insertion-commands-names, todo-insertion-map)
12297 (todo-key-bindings-t, todo-key-bindings-t+a)
12298 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12299 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12300 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12301 (todo-visited): New variables.
12302
12303 2013-06-21 Glenn Morris <rgm@gnu.org>
12304
12305 * play/cookie1.el (cookie-apropos): Add optional display argument.
12306 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12307 (psychoanalyze-pinhead): Use cookie-doctor.
12308
12309 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12310
12311 * emacs-lisp/package.el (tar-get-file-descriptor)
12312 (tar--extract): Declare.
12313
12314 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12315
12316 Extend flymake's warning predicate to be a function (bug#14217).
12317 * progmodes/flymake.el (flymake-warning-predicate): New.
12318 (flymake-parse-line): Use it.
12319 (flymake-warning-re): Make obsolete alias to
12320 `flymake-warning-predicate'.
12321
12322 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12323
12324 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12325 (package-obsolete-list): Remove.
12326 (package-activate): Remove min-version argument. Add `force' argument.
12327 Adjust to new package-alist format.
12328 (package-mark-obsolete): Remove.
12329 (package-unpack): Force reload of the package's autoloads.
12330 (package-installed-p): Check builtins if the installed package is not
12331 recent enough.
12332 (package-initialize): Don't reset package-obsolete-list.
12333 Don't specify which package version to activate.
12334 (package-process-define-package, describe-package-1)
12335 (package-menu--generate): Adjust to new package-alist format.
12336
12337 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12338
12339 * allout-widgets.el (allout-widgets-mode-off)
12340 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12341 (allout-widgets-post-command-business)
12342 (allout-widgets-after-copy-or-kill-function)
12343 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12344 (allout-decorate-item-and-context)
12345 (allout-graphics-modification-handler): Fix typos in docstrings.
12346 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12347
12348 * cmuscheme.el (scheme-start-file): Doc fix.
12349 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12350 (scheme-input-filter): Use `string-match-p'.
12351
12352 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12353
12354 * dired-x.el: Use Dired consistently in docstrings.
12355
12356 * dired.el: Use Dired consistently in docstrings.
12357 (dired-readin, dired-mode): Use `setq-local'.
12358 (dired-switches-alist): Make defvar-local.
12359 (dired-buffers-for-dir): Use `zerop'.
12360 (dired-safe-switches-p, dired-switches-escape-p)
12361 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12362 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12363 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12364 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12365 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12366 (dired-toggle-marks, dired-mark-files-containing-regexp)
12367 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12368 (dired-flag-auto-save-files, dired-flag-backup-files):
12369 Use `looking-at-p'.
12370 (dired-mark-files-regexp, dired-build-subdir-alist):
12371 Use `string-match-p', `looking-at-p'.
12372
12373 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12374 (direct-print-region-helper): Use `string-match-p'.
12375
12376 2013-06-21 Leo Liu <sdl.web@gmail.com>
12377
12378 * comint.el (comint-redirect-results-list-from-process):
12379 Fix infinite loop.
12380
12381 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12382
12383 * net/eww.el (eww-update-header-line-format): Quote % characters.
12384
12385 2013-06-21 Glenn Morris <rgm@gnu.org>
12386
12387 * play/cookie1.el (cookie): New custom group.
12388 (cookie-file): New option.
12389 (cookie-check-file): New function.
12390 (cookie): Make it interactive. Make start and end messages optional.
12391 Interactively, display the result. Default to cookie-file.
12392 (cookie-insert): Default to cookie-file.
12393 (cookie-snarf): Make start and end messages optional.
12394 Default to cookie-file. Use with-temp-buffer.
12395 (cookie-read): Rename from read-cookie.
12396 Make start and end messages optional. Default to cookie-file.
12397 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12398 Do not autoload it.
12399 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12400 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12401
12402 2013-06-21 Leo Liu <sdl.web@gmail.com>
12403
12404 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12405
12406 2013-06-21 Glenn Morris <rgm@gnu.org>
12407
12408 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12409
12410 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12411 Daniel Hackney <dan@haxney.org>
12412
12413 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12414 Consolidate the single-file vs tarball code.
12415 (package-desc-suffix): New function.
12416 (package-desc-full-name): Don't bother inlining it.
12417 (package-load-descriptor): Return the new package-desc.
12418 (package-mark-obsolete): Remove unused arg `package'.
12419 (package-unpack): Make it work for single files as well.
12420 Make it update package-alist.
12421 (package--make-autoloads-and-stuff): Rename from
12422 package--make-autoloads-and-compile. Don't compile any more.
12423 (package--compile): New function.
12424 (package-generate-description-file): New function, extracted from
12425 package-unpack-single.
12426 (package-unpack-single): Remove.
12427 (package--with-work-buffer): Add indentation and debugging info.
12428 (package-download-single): Remove.
12429 (package-install-from-archive): Rename from package-download-tar, make
12430 it take a pkg-desc, and make it work for single files as well.
12431 (package-download-transaction): Simplify.
12432 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12433 external tar program.
12434 (package-install-from-buffer): Remove `pkg-desc' argument.
12435 Use package-tar-file-info for tar-mode buffers.
12436 (package-install-file): Simplify accordingly.
12437 (package-archive-base): Change to take a pkg-desc.
12438 * tar-mode.el (tar--check-descriptor): New function, extracted from
12439 tar-get-descriptor.
12440 (tar-get-descriptor): Use it.
12441 (tar-get-file-descriptor): New function.
12442 (tar--extract): New function, extracted from tar-extract.
12443 (tar--extract): Use it.
12444 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12445 case the summary uses non-ascii. Adjust to new calling convention of
12446 package-tar-file-info.
12447
12448 2013-06-21 Leo Liu <sdl.web@gmail.com>
12449
12450 * comint.el (comint-redirect-results-list-from-process):
12451 Fix random delay. (Bug#14681)
12452
12453 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12454
12455 * profiler.el (profiler-format-number): Use log, not log10.
12456
12457 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12458
12459 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12460
12461 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12462
12463 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12464 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12465 yet available.
12466 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12467 (AUTOGENEL): ... here.
12468 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12469 (cl--defsubst-expand): Use it.
12470
12471 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12472
12473 * subr.el (log10): Move here from C code, and declare as obsolete.
12474 All uses of (log10 X) replaced with (log X 10).
12475
12476 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12477
12478 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12479 Declare with `defvar-local'.
12480 (tabulated-list-use-header-line, tabulated-list-entries)
12481 (tabulated-list-padding, tabulated-list-printer)
12482 (tabulated-list-sort-key): Declare with `defvar-local'.
12483 (tabulated-list-init-header, tabulated-list-print-fake-header):
12484 Use `setq-local'.
12485
12486 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12487
12488 * arc-mode.el (archive-mode): Add `archive-write-file' to
12489 `write-contents-functions' also for remote files. (Bug#14652)
12490
12491 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12492
12493 * cus-edit.el (custom-commands): Fix typos.
12494 (custom-display): Fix tooltip text.
12495 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12496 Fix typos in docstrings.
12497 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12498 (custom-unlispify-menu-entry, custom-magic-value-create)
12499 (custom-add-see-also, custom-group-value-create): Use ?\s.
12500 (custom-guess-type, customize-apropos, editable-field)
12501 (custom-face-value-create): Use `string-match-p'.
12502 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12503
12504 * custom.el (custom-load-symbol): Use `string-match-p'.
12505
12506 * ansi-color.el: Convert to lexical binding.
12507 (ansi-colors): Fix URL.
12508 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12509 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12510 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12511
12512 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12513
12514 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12515
12516 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12517
12518 2013-06-19 Tom Tromey <tromey@redhat.com>
12519
12520 * net/eww.el (eww-top-url): Remove.
12521 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12522 (eww-render): Set new variables. Don't set eww-top-url.
12523 (eww-handle-link): Handle "prev", "home", and "contents".
12524 Downcase the rel text.
12525 (eww-top-url): Choose best top URL.
12526
12527 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12528
12529 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12530 relying in widget.el. Using widget.el leads to too many
12531 user interface inconsistencies.
12532 (eww-self-insert): Implement entering commands in text fields.
12533 (eww-process-text-input): New function to make text input field editing
12534 work.
12535 (eww-submit): Rewrite to use the new-style form methods.
12536 (eww-select-display): Display the correct selected item.
12537 (eww-change-select): Implement changing the select value.
12538 (eww-toggle-checkbox): Implement radio/checkboxes.
12539 (eww-update-field): Fix compilation error.
12540 (eww-tag-textarea): Implement <textarea>.
12541
12542 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12543 we don't shadow mode-specific bindings.
12544
12545 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12546 nothing to push.
12547
12548 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12549
12550 2013-06-19 Glenn Morris <rgm@gnu.org>
12551
12552 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12553
12554 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12555
12556 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12557 not needed.
12558
12559 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12560
12561 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12562
12563 * net/browse-url.el (browse-url-browser-function):
12564 `eww-browse-url' has the right calling signature, `eww' does not.
12565
12566 2013-06-19 Glenn Morris <rgm@gnu.org>
12567
12568 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12569 Only eval autoloaded macros.
12570 (byte-compile-autoload): Only give the macro warning for macros.
12571
12572 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12573 (ps-underlined-faces): Declare.
12574
12575 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12576 (speedbar-add-supported-extension): Declare.
12577
12578 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12579 Don't include a date stamp in the header of the generated file;
12580 it leads to needless differences between output files.
12581
12582 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12583
12584 * net/secrets.el (secrets-struct-secret-content-type):
12585 Replace check of introspection data by a test call of "CreateItem".
12586 Some servers do not offer introspection.
12587
12588 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12589
12590 * electric.el (electric-pair-mode): Improve interaction with
12591 electric-layout-mode.
12592 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12593 (electric-pair-syntax): Use text-mode-syntax-table in comments
12594 and strings.
12595 (electric-pair--insert): New function.
12596 (electric-pair-post-self-insert-function): Use it and
12597 electric--after-char-pos.
12598
12599 2013-06-19 Leo Liu <sdl.web@gmail.com>
12600
12601 * progmodes/octave.el (octave-help): Fix regexp.
12602
12603 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12604
12605 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12606 (shr-table-horizontal-line): Allow nil as a value, and change the
12607 default.
12608 (shr-insert-table-ruler): Respect the nil value.
12609
12610 2013-06-18 Tom Tromey <tromey@barimba>
12611
12612 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12613 New defvars.
12614 (eww-open-file): New defun.
12615 (eww-render): Initialize new variables.
12616 (eww-display-html): Handle "link" and "a".
12617 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12618 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12619 (eww-back-url): Rename from eww-previous-url.
12620 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12621 New defuns.
12622
12623 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12624
12625 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12626 Distinguish ternary operator tokens from slash symbol and slash
12627 char literal.
12628
12629 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12630
12631 Convert symbol prettification into minor mode and global minor mode.
12632
12633 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12634 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12635 (prettify-symbols--keywords): Rename from
12636 `prog-prettify-symbols-alist' and make a local defvar.
12637 (prettify-symbols--compose-symbol): Rename from
12638 `prog--prettify-font-lock-compose-symbol'.
12639 (prettify-symbols--make-keywords): Rename from
12640 `prog-prettify-font-lock-symbols-keywords' and simplify.
12641 (prog-prettify-install): Remove.
12642 (prettify-symbols-mode): New minor mode, based on
12643 `prog-prettify-install'.
12644 (turn-on-prettify-symbols-mode): New function.
12645 (global-prettify-symbols-mode): New globalized minor mode.
12646
12647 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12648 * progmodes/cfengine.el (cfengine3-mode):
12649 * progmodes/perl-mode.el (perl-mode): Don't call
12650 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12651
12652 2013-06-18 Juri Linkov <juri@jurta.org>
12653
12654 * files-x.el (modify-file-local-variable-message): New function.
12655 (modify-file-local-variable)
12656 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12657 and call `modify-file-local-variable-message' when it's non-nil.
12658 (add-file-local-variable, delete-file-local-variable)
12659 (add-file-local-variable-prop-line)
12660 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12661 and use it. (Bug#9820)
12662
12663 2013-06-18 Juri Linkov <juri@jurta.org>
12664
12665 * emulation/vi.el (vi-shell-op):
12666 * emulation/vip.el (vip-execute-com, ex-command):
12667 * emulation/viper-cmd.el (viper-exec-bang):
12668 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12669 the call of `shell-command-on-region'. (Bug#14637)
12670
12671 * simple.el (shell-command-on-region): Doc fix.
12672
12673 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12674
12675 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12676 (bug#14633).
12677
12678 2013-06-18 Glenn Morris <rgm@gnu.org>
12679
12680 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12681
12682 * newcomment.el (comment-search-forward, comment-search-backward):
12683 Doc fix. (Bug#14376)
12684
12685 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12686
12687 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12688 (buffer-face-mode-invoke): Doc fix.
12689
12690 2013-06-18 Matthias Meulien <orontee@gmail.com>
12691
12692 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12693 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12694
12695 2013-06-18 Glenn Morris <rgm@gnu.org>
12696
12697 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12698 Replace obsolete function generic-make-keywords with its expansion.
12699
12700 * progmodes/python.el (ffap-alist): Declare.
12701
12702 * textmodes/reftex.el (bibtex-mode-map): Declare.
12703
12704 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12705
12706 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12707 (package-unpack, package-unpack-single): Return the pkg-dir.
12708 (package-download-transaction): Use it to update package-alist.
12709
12710 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12711
12712 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12713 possible choice.
12714
12715 2013-06-17 Juri Linkov <juri@jurta.org>
12716
12717 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12718
12719 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12720
12721 * emacs-lisp/package.el (package-load-descriptor):
12722 Remove `with-syntax-table' call, `read' doesn't need it.
12723 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12724
12725 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12726
12727 * startup.el (command-line): Expand package name returned by
12728 `package--description-file' (bug#14639).
12729
12730 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12731
12732 * emacs-lisp/package.el (package-load-descriptor): Do not call
12733 `emacs-lisp-mode', just use its syntax table.
12734
12735 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12736
12737 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12738 `font-lock-extra-managed-props' if any prettifying keyword is added.
12739 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12740 (prog-mode): Use `setq-local'.
12741
12742 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12743
12744 * international/characters.el (standard-case-table): Set syntax of ?»
12745 and ?« to punctuation.
12746
12747 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12748
12749 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12750 Save relevant match data before calling `syntax-ppss' (bug#14595).
12751
12752 2013-06-15 Juri Linkov <juri@jurta.org>
12753
12754 * files-x.el (modify-file-local-variable-prop-line): Add local
12755 variables to the end of the existing comment on the first line.
12756 Use `file-auto-mode-skip' to skip interpreter magic line,
12757 and also skip XML declaration.
12758
12759 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * startup.el (package--builtin-versions): New var.
12762 (package-subdirectory-regexp): Remove.
12763 (package--description-file): Hard code its value instead.
12764
12765 * emacs-lisp/package.el: Don't activate packages older than builtin.
12766 (package-obsolete-list): Rename from package-obsolete-alist, and make
12767 it into a simple list of package-desc.
12768 (package-strip-version): Remove.
12769 (package-built-in-p): Use package--builtin-versions.
12770 (package-mark-obsolete): Simplify.
12771 (package-process-define-package): Mark it obsolete if older than the
12772 builtin version.
12773 (package-handle-response): Use line-end-position.
12774 (package-read-archive-contents, package--download-one-archive):
12775 Simplify.
12776 (package--add-to-archive-contents): Skip if older than the builtin or
12777 installed version.
12778 (package-menu-describe-package): Fix last change.
12779 (package-list-unversioned): New var.
12780 (package-menu--generate): Use it.
12781
12782 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12783 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12784 (autoload-builtin-package-versions): New variable.
12785 (autoload-generate-file-autoloads): Use them.
12786 Remove the list of autoloaded functions/macros from the
12787 (autoload...) comments.
12788
12789 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12790
12791 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12792
12793 * simple.el (line-move-partial): Don't jump to the next screen
12794 line as soon as it becomes visible. Instead, continue enlarging
12795 the vscroll until the portion of a tall screen line that's left on
12796 display is about the height of the frame's default font.
12797 (Bug#14567)
12798
12799 2013-06-15 Glenn Morris <rgm@gnu.org>
12800
12801 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12802 compilation-error-regexp-alist void, or local while let-bound.
12803
12804 * progmodes/make-mode.el (makefile-mode-syntax-table):
12805 Treat "=" as punctuation. (Bug#14614)
12806
12807 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12808
12809 * help-fns.el (describe-variable):
12810 Add extra line for permanent-local variables.
12811
12812 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12813
12814 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12815 Add export, import, library. (Bug#9164)
12816 (library): Set indent function.
12817
12818 2013-06-14 Glenn Morris <rgm@gnu.org>
12819
12820 * term/xterm.el (xterm--query):
12821 Stop after first matching handler. (Bug#14615)
12822
12823 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12824
12825 Add support for dired in saveplace.
12826 * dired.el (dired-initial-position-hook): New variable.
12827 (dired-initial-position): Call hook to place cursor position.
12828 * saveplace.el (save-place-to-alist): Add dired position.
12829 (save-place-dired-hook): New function.
12830
12831 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12832
12833 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12834 through a symbol rather than letrec.
12835
12836 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12837 (package-desc): Add `dir' field.
12838 (package-desc-full-name): New function.
12839 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12840 (package-maybe-load-descriptor): Remove.
12841 (package-load-all-descriptors): Just call package-load-descriptor.
12842 (package--disabled-p): New function.
12843 (package-desc-vers, package-desc-doc): Remove aliases.
12844 (package--dir): Remove function.
12845 (package-activate): Check if a package is disabled.
12846 (package-process-define-package): New function, extracted from
12847 define-package.
12848 (define-package): Turn into a place holder.
12849 (package-unpack-single, package-tar-file-info):
12850 Use package--description-file.
12851 (package-compute-transaction): Use package--disabled-p.
12852 (package-download-transaction): Don't call
12853 package-maybe-load-descriptor since they're all loaded anyway.
12854 (package-install): Change argument to be a pkg-desc.
12855 (package-delete): Use a single pkg-desc argument.
12856 (describe-package-1): Use package-desc-dir instead of package--dir.
12857 Use package-desc property instead of package-symbol.
12858 (package-install-button-action): Adjust accordingly.
12859 (package--push): Rewrite.
12860 (package-menu--print-info): Adjust accordingly. Change the ID format
12861 to be a pkg-desc.
12862 (package-menu-describe-package, package-menu-get-status)
12863 (package-menu--find-upgrades, package-menu-mark-upgrades)
12864 (package-menu-execute, package-menu--name-predicate):
12865 Adjust accordingly.
12866 * startup.el (package--description-file): New function.
12867 (command-line): Use it.
12868 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12869 Use package-desc-version.
12870
12871 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12872 (byte-compile-preprocess): Use it.
12873 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12874 can't quite recognize.
12875 (byte-compile-add-to-list): Remove.
12876 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12877 (cconv-closure-convert): Add assertion.
12878
12879 * emacs-lisp/map-ynp.el: Use lexical-binding.
12880 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12881 Factor out some repeated code.
12882
12883 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12884
12885 * subr.el (with-eval-after-load): New macro.
12886 (eval-after-load): Allow form to be a function.
12887 take advantage of lexical-binding.
12888 (do-after-load-evaluation): Use dolist and adjust to new format.
12889 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12890
12891 2013-06-13 Juri Linkov <juri@jurta.org>
12892
12893 * replace.el (perform-replace): Display "symbol " and other search
12894 modes from `isearch-message-prefix' in the *Help* buffer.
12895
12896 * isearch.el (isearch-query-replace): Add " symbol" and other
12897 possible search modes from `isearch-message-prefix' to the prompt.
12898 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12899 when reading a regexp to collect.
12900
12901 2013-06-13 Juri Linkov <juri@jurta.org>
12902
12903 * isearch.el (word-search-regexp): Match whitespace if the search
12904 string begins or ends in whitespace. The LAX arg is applied to
12905 both ends of the search string. Use `regexp-quote' and explicit
12906 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12907 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12908 boundaries are replaced with symbol boundaries, and characters
12909 between symbols match non-word non-symbol syntax. (Bug#14602)
12910
12911 2013-06-13 Juri Linkov <juri@jurta.org>
12912
12913 * isearch.el (isearch-del-char): Don't exceed the length of
12914 `isearch-string' by the prefix arg. (Bug#14563)
12915
12916 2013-06-13 Juri Linkov <juri@jurta.org>
12917
12918 * isearch.el (isearch-yank-word, isearch-yank-line)
12919 (isearch-char-by-name, isearch-quote-char)
12920 (isearch-printing-char, isearch-process-search-char):
12921 Add optional count prefix arg. (Bug#14563)
12922
12923 * international/isearch-x.el
12924 (isearch-process-search-multibyte-characters):
12925 Add optional count prefix arg.
12926
12927 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12928
12929 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12930 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12931 lexical-binding.
12932
12933 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12934
12935 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12936
12937 2013-06-13 Glenn Morris <rgm@gnu.org>
12938
12939 * startup.el (tty-handle-args):
12940 Don't just discard "--" and anything after. (Bug#14608)
12941
12942 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12943
12944 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12945
12946 Implement changes in Secret Service API. Make it backward compatible.
12947 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12948 (secrets-create-item): Use it. Prefix properties with interface.
12949
12950 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12951
12952 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12953 (term-emulate-terminal): Respect term-suppress-hard-newline.
12954
12955 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12956
12957 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12958 Only remove a `thumb-file' overlay. (Bug#14548)
12959
12960 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12961
12962 * mail/reporter.el (reporter-submit-bug-report):
12963 Handle missing package-name. (Bug#14600)
12964
12965 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12966
12967 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12968 (reftex-citation-prompt, reftex-default-bibliography)
12969 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12970 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12971 (reftex-bib-sort-author, reftex-bib-sort-year)
12972 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12973 (reftex-extract-bib-entries-from-thebibliography)
12974 (reftex-get-bibkey-default, reftex-get-bib-names)
12975 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12976 (reftex-format-bib-entry, reftex-parse-bibitem)
12977 (reftex-format-bibitem, reftex-do-citation)
12978 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12979 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12980 (reftex-insert-bib-matches, reftex-format-citation)
12981 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12982 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12983 existing comments into docstrings.
12984
12985 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12986
12987 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12988
12989 2013-06-12 Andreas Schwab <schwab@suse.de>
12990
12991 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12992 for auto-save files.
12993
12994 2013-06-12 Glenn Morris <rgm@gnu.org>
12995
12996 * ido.el (ido-delete-ignored-files): Remove.
12997 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12998 Go back to calling ido-ignore-item-p directly.
12999
13000 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13001
13002 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13003
13004 * ido.el (ido-delete-ignored-files): New function,
13005 split from ido-make-file-list-1.
13006 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13007 (ido-make-file-list-1): Use ido-delete-ignored-files.
13008
13009 2013-06-12 Leo Liu <sdl.web@gmail.com>
13010
13011 * progmodes/octave.el (inferior-octave-startup)
13012 (inferior-octave-completion-table)
13013 (inferior-octave-track-window-width-change)
13014 (octave-eldoc-function-signatures, octave-help)
13015 (octave-find-definition): Use single quoted strings.
13016 (inferior-octave-startup-args): Change default value.
13017 (inferior-octave-startup): Do not hard code "-i" and
13018 "--no-line-editing".
13019 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13020 (inferior-octave-directory-tracker): Use it.
13021 (octave-goto-function-definition): Robustify.
13022 (octave-help): Support highlighting operators in 'See also'.
13023 (octave-find-definition): Find subfunctions only in Octave mode.
13024
13025 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13026
13027 * help-fns.el (help-fns--compiler-macro): If the handler function is
13028 named, then put a link to it.
13029 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13030 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13031 (cl-typep): Use it.
13032 (cl-eval-when): Simplify debug spec.
13033 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13034 compiler-macro function instead of setting `compiler-macro-file'.
13035
13036 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13037
13038 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13039 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13040
13041 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13042 Daniel Hackney <dan@haxney.org>
13043
13044 First part of Daniel Hackney's patch to package.el.
13045 * emacs-lisp/package.el: Use defstruct.
13046 (package-desc): New, main struct.
13047 (package--bi-desc, package--ac-desc): New structs, used to describe the
13048 format in external files.
13049 (package-desc-vers): Replace with package-desc-version accessor.
13050 (package-desc-doc): Replace with package-desc-summary accessor.
13051 (package-activate-1): Remove `package' arg since the pkg-vec now
13052 includes the name.
13053 (define-package): Use package-desc-from-define.
13054 (package-unpack-single): Change file-name arg to be a symbol.
13055 (package--add-to-archive-contents): Use package-desc-create and new
13056 accessor functions to package--ac-desc.
13057 (package-buffer-info, package-tar-file-info): Return a package-desc.
13058 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13059 arg to be a package-desc.
13060 (package-install-file): Adjust accordingly. Use \' to match EOS.
13061 (package--from-builtin): New function.
13062 (describe-package-1, package-menu--generate): Use it.
13063 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13064 (package-generate-autoloads): Idem and return the name of the file.
13065 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13066 Change pkg-info arg to be a package-desc.
13067 Use package-make-ac-desc.
13068 (package-upload-file): Use \' to match EOS.
13069 * finder.el (finder-compile-keywords): Use package-make-builtin.
13070
13071 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13072
13073 * vc/vc.el (vc-deduce-fileset): Change error message.
13074 (vc-read-backend): New function.
13075 (vc-next-action): Use it.
13076
13077 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13078
13079 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13080 (prolog-font-lock-keywords): Use regexp-opt instead.
13081 Don't manually highlight strings.
13082 (prolog-mode-variables): Simplify comment-start-skip.
13083 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13084
13085 * emacs-lisp/generic.el (generic--normalise-comments)
13086 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13087 (generic-mode-set-comments): Use them.
13088 (generic-bracket-support): Use setq-local.
13089 (generic-make-keywords-list): Declare obsolete.
13090
13091 2013-06-11 Glenn Morris <rgm@gnu.org>
13092
13093 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13094 Prettify after setting font-lock-defaults. (Bug#14574)
13095
13096 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13097
13098 * replace.el (query-replace, occur-read-regexp-defaults-function)
13099 (replace-search):
13100 * subr.el (declare-function, number-sequence, local-set-key)
13101 (substitute-key-definition, locate-user-emacs-file)
13102 (with-silent-modifications, split-string, eval-after-load):
13103 Fix typos, remove unneeded backslashes and reflow some docstrings.
13104
13105 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13106
13107 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13108 default for Elisp files.
13109
13110 2013-06-11 Glenn Morris <rgm@gnu.org>
13111
13112 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13113 although define-derived-mode was doing this anyway. (Bug#14583)
13114
13115 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13116
13117 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13118 Fix make-variable-buffer-local call to refer to the correct variable.
13119
13120 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13121
13122 * eshell/em-term.el (eshell-visual-commands)
13123 (eshell-visual-subcommands, eshell-visual-options):
13124 Add summary line to docstrings. Add cross-references.
13125
13126 2013-06-10 Glenn Morris <rgm@gnu.org>
13127
13128 * epa.el (epa-read-file-name): New function. (Bug#14510)
13129 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13130
13131 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13132
13133 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13134 output redirection to be ignored with visual commands.
13135
13136 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13137
13138 * eshell/em-term.el (eshell-visual-command-p): New function.
13139 (eshell-term-initialize): Move long lambda to separate function
13140 eshell-visual-command-p.
13141 * eshell/em-dirs.el (eshell-dirs-initialize):
13142 * eshell/em-script.el (eshell-script-initialize):
13143 Add missing #' to lambda.
13144
13145 2013-06-08 Leo Liu <sdl.web@gmail.com>
13146
13147 * progmodes/octave.el (octave-add-log-current-defun): New function.
13148 (octave-mode): Set add-log-current-defun-function.
13149 (octave-goto-function-definition): Do not move point if not found.
13150 (octave-find-definition): Enhance to try subfunctions first.
13151
13152 2013-06-08 Glenn Morris <rgm@gnu.org>
13153
13154 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13155 (byte-compile-backward-char, byte-compile-backward-word):
13156 Improve previous change, to handle non-explicit nil.
13157
13158 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13159
13160 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13161 (smie--opener/closer-at-point): New function.
13162 (smie--matching-block-data): Use it. Don't match from right after an
13163 opener or right before a closer. Obey smie-blink-matching-inners.
13164 Don't signal a mismatch for repeated inners like "switch..case..case".
13165
13166 2013-06-07 Leo Liu <sdl.web@gmail.com>
13167
13168 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13169 to t. (Bug#14303)
13170 (octave-function-header-regexp): Fix. (Bug#14570)
13171 (octave-help-mode-finish-hook, octave-help-mode-finish):
13172 Remove. Just use temp-buffer-show-hook.
13173
13174 * newcomment.el (comment-search-backward): Revert last change.
13175 (Bug#14434)
13176
13177 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13178
13179 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13180
13181 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13182 through xargs, to avoid failure due to MS-Windows limitations on
13183 command-line length.
13184
13185 2013-06-06 Glenn Morris <rgm@gnu.org>
13186
13187 * font-lock.el (lisp-font-lock-keywords-2):
13188 Treat user-error like error.
13189
13190 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13191 (byte-compile-backward-char, byte-compile-backward-word):
13192 Handle explicit nil arguments. (Bug#14565)
13193
13194 2013-06-05 Alan Mackenzie <acm@muc.de>
13195
13196 * isearch.el (isearch-allow-prefix): New user option.
13197 (isearch-other-meta-char): Don't exit isearch when a prefix
13198 argument is typed whilst `isearch-allow-prefix' is non-nil.
13199 (Bug#9706)
13200
13201 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13202
13203 * autorevert.el (auto-revert-notify-handler): Use memq.
13204 Hide assertion failure.
13205
13206 * skeleton.el: Use cl-lib.
13207 (skeleton-further-elements): Use defvar-local.
13208 (skeleton-insert): Use cl-progv.
13209
13210 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13211
13212 * progmodes/prog-mode.el (prog-prettify-symbols)
13213 (prog-prettify-install): Update docstrings.
13214
13215 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13216
13217 * simple.el: Move all the prog-mode code to prog-mode.el.
13218 * progmodes/prog-mode.el: New file.
13219 * loadup.el: Add prog-mode.el.
13220
13221 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13222
13223 * simple.el (prog-prettify-symbols): Add version.
13224 (prog-prettify-install): Add convenience function to prettify symbols.
13225
13226 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13227 (perl--augmented-font-lock-keywords-1)
13228 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13229 variables and use it.
13230
13231 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13232 (cfengine3-mode): Remove unneeded variable and use it.
13233
13234 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13235 (lisp--augmented-font-lock-keywords-1)
13236 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13237 Remove unneeded variables and use it.
13238
13239 2013-06-05 João Távora <joaotavora@gmail.com>
13240
13241 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13242 to point when opening the connection. (Bug#14380)
13243
13244 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13245
13246 * subr.el (load-history-regexp, load-history-filename-element)
13247 (eval-after-load, after-load-functions, do-after-load-evaluation)
13248 (eval-next-after-load, display-delayed-warnings)
13249 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13250 definition of save-match-data.
13251 (overriding-local-map): Remove accidental obsolescence declaration.
13252
13253 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13254
13255 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13256
13257 Generalize symbol prettify support to prog-mode and implement it
13258 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13259 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13260 (prog--prettify-font-lock-compose-symbol)
13261 (prog-prettify-font-lock-symbols-keywords): New variables and
13262 functions to support symbol prettification.
13263 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13264 (lisp--augmented-font-lock-keywords-1)
13265 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13266 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13267 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13268 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13269 Implement prettify of -> => :: strings.
13270 * progmodes/perl-mode.el (perl-prettify-symbols)
13271 (perl--font-lock-compose-symbol)
13272 (perl--font-lock-symbols-keywords): Move to prog-mode.
13273 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13274 (perl-font-lock-keywords-1)
13275 (perl-font-lock-keywords-2): Remove explicit prettify support.
13276 (perl--augmented-font-lock-keywords)
13277 (perl--augmented-font-lock-keywords-1)
13278 (perl--augmented-font-lock-keywords-2, perl-mode):
13279 Implement prettify support.
13280
13281 2013-06-05 Leo Liu <sdl.web@gmail.com>
13282
13283 Re-implement SMIE matching block highlight using
13284 show-paren-data-function. (Bug#14395)
13285 * emacs-lisp/smie.el (smie-matching-block-highlight)
13286 (smie--highlight-matching-block-overlay)
13287 (smie--highlight-matching-block-lastpos)
13288 (smie-highlight-matching-block)
13289 (smie-highlight-matching-block-mode): Remove.
13290 (smie--matching-block-data-cache): New variable.
13291 (smie--matching-block-data): New function.
13292 (smie-setup): Use smie--matching-block-data for
13293 show-paren-data-function.
13294
13295 * progmodes/octave.el (octave-mode-menu): Fix.
13296 (octave-find-definition): Skip garbage lines.
13297
13298 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13299
13300 Fix compilation error with simultaneous dynamic+lexical scoping.
13301 Add warning when a defvar appears after the first let-binding.
13302 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13303 (byte-compile-close-variables): Initialize it.
13304 (byte-compile--declare-var): New function.
13305 (byte-compile-file-form-defvar)
13306 (byte-compile-file-form-define-abbrev-table)
13307 (byte-compile-file-form-custom-declare-variable): Use it.
13308 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13309 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13310 (byte-compile-bind): Handle dynamic bindings that shadow
13311 lexical bindings.
13312 (byte-compile-unbind): Make arg non-optional.
13313 (byte-compile-let): Simplify.
13314 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13315 (cconv--analyse-function, cconv-analyse-form): Populate it.
13316 Protect byte-compile-bound-variables to limit the scope of defvars.
13317 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13318 Remove unneeded rule for `declare'.
13319
13320 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13321 so as to avoid depending on cl-adjoin at run-time.
13322 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13323
13324 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13325 (macroexp--warn-and-return): Use it.
13326
13327 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13328
13329 * subr.el: Convert to lexical binding.
13330 (overriding-local-map): Make obsolete.
13331 (add-to-list): Doc fix. Add compiler macro.
13332 (read-key): Swap values of local maps.
13333
13334 2013-06-05 Leo Liu <sdl.web@gmail.com>
13335
13336 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13337
13338 2013-06-04 Leo Liu <sdl.web@gmail.com>
13339
13340 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13341 (compilation-auto-jump): Suppress the "Mark set" message to give
13342 way to exit message.
13343
13344 2013-06-04 Alan Mackenzie <acm@muc.de>
13345
13346 Remove faulty optimisation from indentation calculation.
13347 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13348 search limit based on 2000 characters back from indent-point.
13349
13350 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13351
13352 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13353
13354 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13355
13356 * emacs-lisp/lisp.el: Use lexical-binding.
13357 (lisp--local-variables-1, lisp--local-variables): New functions.
13358 (lisp--local-variables-completion-table): New var.
13359 (lisp-completion-at-point): Use it complete let-bound vars.
13360
13361 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13362 eagerly (bug#14422).
13363
13364 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13365
13366 * autorevert.el (auto-revert-notify-enabled)
13367 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13368 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13369 (auto-revert-notify-handler): Handle also gfilenotify.
13370
13371 * subr.el (file-notify-handle-event): New defun. Replacing ...
13372 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13373 Remove.
13374
13375 2013-06-03 Juri Linkov <juri@jurta.org>
13376
13377 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13378 `M-s h .'. (Bug#14427)
13379
13380 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13381 command `hi-lock-face-symbol-at-point'.
13382 (hi-lock-face-symbol-at-point): New command.
13383 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13384 (hi-lock-menu): Add `highlight-symbol-at-point'.
13385 (hi-lock-mode): Doc fix.
13386
13387 * isearch.el (isearch-forward-symbol-at-point): New command.
13388 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13389 (isearch-highlight-regexp): Add a regexp which matches
13390 words/symbols for word/symbol mode.
13391
13392 * subr.el (find-tag-default-bounds): New function with the body
13393 mostly moved from `find-tag-default'.
13394 (find-tag-default): Move most code to `find-tag-default-bounds',
13395 call it and apply `buffer-substring-no-properties' afterwards.
13396
13397 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13398
13399 * eshell/em-term.el (eshell-term-initialize):
13400 Use `cl-intersection' rather than `intersection'.
13401
13402 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13403
13404 * vc/log-view.el: Doc fix.
13405 (log-view-mode-map): Copy keymap from `special-mode-map'.
13406
13407 2013-06-02 Eric Ludlam <zappo@gnu.org>
13408
13409 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13410 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13411 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13412 (eieio-unbound, eieio-default-superclass)
13413 (eieio--define-field-accessors, method-static, method-before)
13414 (method-primary, method-after, method-num-lists)
13415 (method-generic-before, method-generic-primary)
13416 (method-generic-after, method-num-slots)
13417 (eieio-specialized-key-to-generic-key)
13418 (eieio--check-type, class-v, class-p)
13419 (eieio-class-name, define-obsolete-function-alias)
13420 (eieio-class-parents-fast, eieio-class-children-fast)
13421 (same-class-fast-p, class-constructor, generic-p)
13422 (generic-primary-only-p, generic-primary-only-one-p)
13423 (class-option-assoc, class-option, eieio-object-p)
13424 (class-abstract-p, class-method-invocation-order)
13425 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13426 (eieio-class-un-autoload, eieio-defclass)
13427 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13428 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13429 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13430 (eieio-defgeneric-reset-generic-form)
13431 (eieio-defgeneric-form-primary-only)
13432 (eieio-defgeneric-reset-generic-form-primary-only)
13433 (eieio-defgeneric-form-primary-only-one)
13434 (eieio-defgeneric-reset-generic-form-primary-only-one)
13435 (eieio-unbind-method-implementations)
13436 (eieio--defmethod, eieio--typep)
13437 (eieio-perform-slot-validation, eieio-validate-slot-value)
13438 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13439 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13440 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13441 (eieio-slot-name-index, eieio-class-slot-name-index)
13442 (eieio-set-defaults, eieio-initarg-to-attribute)
13443 (eieio-attribute-to-initarg, eieio-c3-candidate)
13444 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13445 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13446 (eieio-class-precedence-list, eieio-generic-call-methodname)
13447 (eieio-generic-call-arglst, eieio-generic-call-key)
13448 (eieio-generic-call-next-method-list)
13449 (eieio-pre-method-execution-functions, eieio-generic-call)
13450 (eieio-generic-call-primary-only, eieiomt-method-list)
13451 (eieiomt-optimizing-obarray, eieiomt-install)
13452 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13453 (eieio-generic-form, eieio-defmethod, make-obsolete)
13454 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13455 (defclass): Remove `eval-and-compile' from macro.
13456 (call-next-method, shared-initialize): Instead of using
13457 `scoped-class' variable, use new eieio--scoped-class, and
13458 eieio--with-scoped-class.
13459 (initialize-instance): Rename local variable 'scoped-class' to
13460 'this-class' to remove ambiguitity from old global.
13461
13462 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13463 eieio.el.
13464 (eieio--scoped-class-stack): New variable.
13465 (eieio--scoped-class): New fcn.
13466 (eieio--with-scoped-class): New scoping macro.
13467 (eieio-defclass): Use pushnew instead of add-to-list.
13468 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13469 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13470 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13471 `scoped-class' variable, use new eieio--scoped-class, and
13472 eieio--with-scoped-class.
13473
13474 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13475
13476 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13477
13478 * eshell/esh-ext.el (eshell-external-command): Pass args to
13479 `eshell-find-interpreter'.
13480 (eshell-find-interpreter): Add new second parameter ARGS.
13481
13482 * eshell/em-script.el (eshell-script-initialize): Add second arg
13483 to the function added as MATCH to `eshell-interpreter-alist'.
13484
13485 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13486 the function added as MATCH to `eshell-interpreter-alist'.
13487
13488 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13489 (eshell-visual-options): New defcustom.
13490 (eshell-escape-control-x): Adapt docstring.
13491 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13492 `eshell-visual-options' in addition to `eshell-visual-commands'.
13493 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13494
13495 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13496
13497 * progmodes/python.el (python-indent-block-enders): Add break,
13498 continue and raise keywords.
13499
13500 2013-06-01 Glenn Morris <rgm@gnu.org>
13501
13502 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13503
13504 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13505 * progmodes/cc-cmds.el (delete-forward-p):
13506 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13507 * progmodes/cc-engine.el (buffer-syntactic-context):
13508 * progmodes/cc-fonts.el (face-property-instance):
13509 * progmodes/cc-mode.el (set-keymap-parents):
13510 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13511 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13512 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13513 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13514 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13515
13516 * progmodes/cc-vars.el (other): Emacs has this widget since
13517 at least 21.1, so don't (re)define it.
13518
13519 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13520 Replace the obsolete alias pcomplete-arg-quote-list.
13521
13522 2013-06-01 Leo Liu <sdl.web@gmail.com>
13523
13524 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13525 punctuation syntax.
13526 (inferior-octave-minimal-columns)
13527 (inferior-octave-last-column-width): New variables.
13528 (inferior-octave-track-window-width-change): New function.
13529 (inferior-octave-mode): Adjust column width so that Octave output,
13530 for example from 'ls', can fit into the window nicely.
13531
13532 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13533
13534 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13535 Highlight expansions inside regexp literals.
13536
13537 2013-05-31 Glenn Morris <rgm@gnu.org>
13538
13539 * obsolete/sym-comp.el (symbol-complete):
13540 Replace obsolete completion-annotate-function.
13541
13542 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13543
13544 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13545
13546 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13547 New function, checks if point is inside a literal that allows
13548 expression expansion.
13549 (ruby-syntax-propertize-expansion): Use it.
13550 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13551 around the body.
13552
13553 2013-05-30 Juri Linkov <juri@jurta.org>
13554
13555 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13556 to "\M-si".
13557 (isearch-invisible): New variable.
13558 (isearch-forward): Doc fix.
13559 (isearch-mode): Set `isearch-invisible'
13560 to the value of `search-invisible'.
13561 (isearch-toggle-case-fold): Doc fix.
13562 (isearch-toggle-invisible): New command.
13563 (isearch-query-replace): Let-bind `search-invisible'
13564 to the value of `isearch-invisible'.
13565 (isearch-search): Use `isearch-invisible' instead of
13566 `search-invisible'. Let-bind `search-invisible'
13567 to the value of `isearch-invisible'. (Bug#11378)
13568
13569 2013-05-30 Juri Linkov <juri@jurta.org>
13570
13571 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13572 call when `query-flag' is nil and `search-invisible' is non-nil.
13573 (Bug#11746)
13574
13575 2013-05-30 Glenn Morris <rgm@gnu.org>
13576
13577 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13578
13579 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13580 (cc-require): Suppress spurious "noruntime" warnings.
13581 (cc-require-when-compile): Use fboundp, for sake of compiler.
13582
13583 * progmodes/cc-mode.el: Move load of cc-vars before that of
13584 cc-langs (which in turn loads cc-vars), to quieten compiler.
13585
13586 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * paren.el: Simplify the code.
13589 (show-paren-mode): Always start the timer.
13590 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13591 (show-paren--overlay, show-paren--overlay-1): Rename from
13592 show-paren-overlay and show-paren-overlay-1, and initialize to an
13593 overlay rather than to nil.
13594 (show-paren-function): Misc cleanup and simplifications.
13595
13596 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13597
13598 * paren.el (show-paren-data-function): New hook.
13599 (show-paren--default): New function, extracted from show-paren-function.
13600 (show-paren-function): Use show-paren-data-function.
13601
13602 2013-05-30 Glenn Morris <rgm@gnu.org>
13603
13604 * ielm.el (ielm-map, ielm-complete-symbol):
13605 Use completion-at-point rather than obsolete functions.
13606 (inferior-emacs-lisp-mode): Doc fix.
13607 Set completion-at-point-functions, rather than
13608 comint-dynamic-complete-functions.
13609
13610 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13611 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13612 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13613
13614 * image.el (image-animated-p): Tweak definition.
13615
13616 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13617 (rlogin-process-connection-type): Tweak default. Add set-after.
13618 (rlogin-host): Doc fix.
13619 (rlogin): Tweak prompt.
13620 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13621
13622 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13623 * progmodes/tcl.el (inferior-tcl-mode-map):
13624 Use completion-at-point rather than obsolete alias.
13625
13626 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13627
13628 * minibuffer.el (read-file-name-completion-ignore-case):
13629 Move before completion--in-region, for eager macro expansion.
13630
13631 2013-05-29 Juri Linkov <juri@jurta.org>
13632
13633 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13634 for total count of matching lines. Add `global-matches' for total
13635 count of matches. Rename `matches' to `lines' for count of
13636 matching lines. Add `matches' for count of matches.
13637 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13638 to `prev-line' for line number of prev match endpt.
13639 Increment `matches' for every match. Print the number of
13640 matching lines in the header.
13641 (occur-context-lines): Rename `lines' to `curr-line'.
13642 Rename `prev-lines' to `prev-line'. (Bug#14017)
13643
13644 2013-05-29 Juri Linkov <juri@jurta.org>
13645
13646 * replace.el (perform-replace): Add `skip-read-only-count',
13647 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13648 Increment them for corresponding conditions and report the number
13649 of skipped occurrences in the final message. (Bug#11746)
13650 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13651 (replace-string, replace-regexp): Doc fix.
13652
13653 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13654
13655 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13656
13657 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13658 prog-mode-map (bug#14504).
13659
13660 2013-05-29 Leo Liu <sdl.web@gmail.com>
13661
13662 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13663 (octave-help): Small simplification.
13664
13665 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13666 off the highlight first.
13667
13668 2013-05-29 Glenn Morris <rgm@gnu.org>
13669
13670 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13671 Handle idlwave-last-system-routine-info-cons-cell being nil.
13672
13673 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13674 (idlwave-write-paths): Simplify via with-temp-buffer.
13675
13676 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13677 * emulation/cua-rect.el: Also load cua-base at run time.
13678
13679 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13680 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13681 (cperl-imenu-on-info): Require imenu.
13682
13683 2013-05-28 Alan Mackenzie <acm@muc.de>
13684
13685 Handle "capitalised keywords" correctly.
13686 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13687
13688 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13689
13690 * eshell/em-unix.el: Add -r option to cp.
13691
13692 2013-05-28 Glenn Morris <rgm@gnu.org>
13693
13694 * vc/vc-arch.el (vc-exec-after): Declare.
13695 (vc-switches): Autoload.
13696 * vc/vc-bzr.el: No need to require vc when compiling.
13697 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13698 (vc-resynch-buffer, vc-dir-refresh): Declare.
13699 (vc-setup-buffer, vc-switches): Autoload.
13700 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13701 (vc-resynch-buffer): Declare.
13702 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13703 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13704 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13705 (grep-read-regexp, grep-read-files, grep-expand-template)
13706 (vc-dir-refresh): Declare.
13707 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13708 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13709 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13710 * vc/vc-mtn.el (vc-exec-after): Declare.
13711 (vc-switches): Autoload.
13712 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13713 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13714 (vc-file-tree-walk): Declare.
13715 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13716 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13717 (vc-tag-precondition, vc-rename-master): Autoload.
13718 * vc/vc-svn.el (vc-exec-after): Declare.
13719 (vc-switches, vc-setup-buffer): Autoload.
13720 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13721 Autoload.
13722 (vc-resynch-buffer): Declare.
13723
13724 * obsolete/fast-lock.el (byte-compile-warnings):
13725 Don't warn about obsolete features in this obsolete file.
13726
13727 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13728 Move definition before use.
13729
13730 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13731 (dun-unix-verbs): Remove dun-zippy.
13732 (dun-zippy): Remove function.
13733
13734 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13735
13736 2013-05-27 Juri Linkov <juri@jurta.org>
13737
13738 * replace.el (replace-search): New function with code moved out
13739 from `perform-replace'.
13740 (replace-highlight, replace-dehighlight): Move function definitions
13741 up closer to `replace-search'. (Bug#11746)
13742
13743 2013-05-27 Juri Linkov <juri@jurta.org>
13744
13745 * replace.el (perform-replace): Ignore invisible matches.
13746 In addition to checking `query-replace-skip-read-only', also
13747 filter out matches by calling `run-hook-with-args-until-failure'
13748 on `isearch-filter-predicates', and also check `search-invisible'
13749 for t or call `isearch-range-invisible'.
13750 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13751
13752 2013-05-27 Juri Linkov <juri@jurta.org>
13753
13754 * isearch.el (isearch-filter-predicates): Rename from
13755 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13756 (isearch-message-prefix): Display text from the property
13757 `isearch-message-prefix' of the currently active filters.
13758 (isearch-search): Don't compare `isearch-filter-predicate' with
13759 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13760 on `isearch-filter-predicates'. Also check `search-invisible' for t
13761 or call `isearch-range-invisible'.
13762 (isearch-filter-visible): Make obsolete.
13763 (isearch-lazy-highlight-search):
13764 Call `run-hook-with-args-until-failure' on
13765 `isearch-filter-predicates' and use `isearch-range-invisible'.
13766
13767 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13768 `isearch-filter-predicates' instead of `funcall'ing
13769 `isearch-filter-predicate'.
13770 (Info-mode): Set `Info-isearch-filter' to
13771 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13772
13773 * dired-aux.el (dired-isearch-filter-predicate-orig):
13774 Remove variable.
13775 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13776 (dired-isearch-filenames-end): Add and remove
13777 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13778 instead of changing the value of `isearch-filter-predicate'.
13779 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13780 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13781 Put property `isearch-message-prefix' to "filename " on
13782 `dired-isearch-filter-filenames'.
13783
13784 * wdired.el (wdired-change-to-wdired-mode):
13785 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13786 locally instead of changing `isearch-filter-predicate'.
13787 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13788
13789 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13790
13791 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13792 return the commit hash (Bug#14459). Also set the
13793 `vc-git-detached' property.
13794 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13795 (vc-git-mode-line-string): Use the same help-echo format whether
13796 in detached mode or not, because we know the actual revision now.
13797 When in detached mode, shorten the revision to 7 chars.
13798
13799 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13800
13801 * emacs-lisp/easy-mmode.el (define-minor-mode):
13802 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13803 mode hook and provide a docstring.
13804
13805 2013-05-27 Alan Mackenzie <acm@muc.de>
13806
13807 Remove spurious syntax-table text properties inserted by C-y.
13808 * progmodes/cc-mode.el (c-after-change): Also clear hard
13809 syntax-table property with value nil.
13810
13811 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13812
13813 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13814 when reading the events; the buffer layout shall not be changed.
13815
13816 2013-05-27 Leo Liu <sdl.web@gmail.com>
13817
13818 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13819 New variable.
13820 (inferior-octave-directory-tracker): Automatically re-sync
13821 default-directory.
13822 (octave-help): Improve handling of 'See also'.
13823
13824 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13825
13826 * doc-view.el: Minor naming convention tweaks.
13827 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13828
13829 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13830 even if there's no `display' property yet (bug#14435).
13831
13832 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13833
13834 * subr.el (unmsys--file-name): Rename from reveal-filename.
13835
13836 * Makefile.in (custom-deps, finder-data, autoloads)
13837 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13838 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13839 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13840
13841 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13842
13843 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13844 error-completion on the first 2 args of condition-case (bug#14446).
13845 Don't burp at EOB.
13846
13847 2013-05-25 Leo Liu <sdl.web@gmail.com>
13848
13849 * comint.el (comint-previous-matching-input): Do not flood the
13850 *Messages* buffer with trivial messages.
13851
13852 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * progmodes/flymake.el (flymake-nop): Don't return a string.
13855 (flymake-set-at): Fix typo.
13856
13857 * simple.el (read--expression): New function, extracted from
13858 eval-expression. Set completion-at-point-functions (bug#14465).
13859 (eval-expression, eval-minibuffer): Use it.
13860
13861 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13862
13863 * progmodes/flymake.el (flymake-save-buffer-in-file)
13864 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13865 (flymake-selected-frame, flymake-log, flymake-ins-after)
13866 (flymake-set-at, flymake-get-buildfile-from-cache)
13867 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13868 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13869 Refine the doc string.
13870 (flymake-get-file-name-mode-and-masks): Reformat.
13871 (flymake-get-real-file-name-function): Fix a minor bug.
13872
13873 2013-05-24 Juri Linkov <juri@jurta.org>
13874
13875 * progmodes/grep.el (grep-mode-font-lock-keywords):
13876 Support =linenumber= format used by git-grep for lines with
13877 function names. (Bug#13549)
13878
13879 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13882 0 after a semi-colon; it works better for smie-auto-fill.
13883 (octave--indent-new-comment-line): New function.
13884 (octave-indent-new-comment-line): Use it (indirectly).
13885 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13886 modify comment-line-break-function.
13887
13888 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13889 (smie-setup): Use add-function to set it.
13890
13891 2013-05-24 Sam Steingold <sds@gnu.org>
13892
13893 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13894 argument (before the `interactive' argument).
13895
13896 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13897
13898 * image-mode.el (image-mode-winprops): Add winprops to
13899 image-mode-winprops-alist before running
13900 image-mode-new-window-functions.
13901 * doc-view.el (doc-view-new-window-function): Don't delay
13902 doc-view-goto-page via timers (bug#14435).
13903
13904 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13905
13906 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13907 (doc-view-desktop-save-buffer): New function.
13908 (doc-view-restore-desktop-buffer): New function.
13909 (desktop-buffer-mode-handlers):
13910 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13911 handler.
13912 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13913 `desktop-save-buffer' function.
13914
13915 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13916
13917 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13918 (tramp-gvfs-file-name-handler): Raise a user error when
13919 `tramp-gvfs-enabled' is nil.
13920 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13921 Do not raise a user error when loading package. (Bug#14447)
13922
13923 * net/xesam.el: Move to obsolete/.
13924
13925 2013-05-24 Glenn Morris <rgm@gnu.org>
13926
13927 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13928
13929 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13930
13931 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13932 (Info-find-node, Man-getpage-in-background): Declare.
13933
13934 * mail/unrmail.el (unrmail):
13935 Replace obsolete detect-coding-with-priority.
13936
13937 * net/socks.el (socks-split-string): Use this rather than split-string.
13938 (socks-nslookup-host): Update for above change.
13939 (dynamic-choice, s5-dynamic-choice-match)
13940 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13941 Comment out unused code.
13942
13943 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13944 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13945 (gud-tooltip-echo-area): Make obsolete.
13946 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13947
13948 * progmodes/js.el (js--optimize-arglist): Declare.
13949
13950 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13951
13952 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13953 (ediff-window-C): Declare.
13954
13955 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13956 Tweak requires to silence compiler.
13957
13958 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13959 (he-search-string, he-tried-table, he-expand-list)
13960 (he-init-string, he-string-member, he-substitute-string)
13961 (he-reset-string): Declare.
13962
13963 * obsolete/options.el (list-options): Use custom-variable-p,
13964 rather than obsolete alias.
13965
13966 2013-05-23 Sam Steingold <sds@gnu.org>
13967
13968 * simple.el (shell-command-on-region): Pass the `replace' argument
13969 down to `call-process-region' to comply with the doc as reported on
13970 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13971
13972 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13973
13974 * emacs-lisp/smie.el (smie-indent-forward-token)
13975 (smie-indent-backward-token): Handle string tokens (bug#14381).
13976
13977 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13978
13979 * ielm.el (ielm-menu): New menu.
13980 (inferior-emacs-lisp-mode): Set comment-start.
13981
13982 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13983
13984 * textmodes/reftex.el (reftex-ref-style-toggle):
13985 Fix deactivate action.
13986
13987 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13988 Add cleveref macros.
13989
13990 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13991 Accept options for bibliography commands.
13992 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13993 Add addbibresource. Basic Biblatex support.
13994
13995 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13996
13997 * net/tramp-gvfs.el (top):
13998 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13999 when loading package. (Bug#14447)
14000
14001 2013-05-23 Glenn Morris <rgm@gnu.org>
14002
14003 * progmodes/js.el: No need to load comint when compiling.
14004 (ring-insert, comint-send-string, comint-send-input)
14005 (comint-last-input-end, ido-chop): Declare.
14006
14007 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14008 * vc/ediff-mult.el: Adjust requires.
14009 (ediff-directories-internal, ediff-directory-revisions-internal)
14010 (ediff-patch-file-internal): Declare.
14011 * vc/ediff-ptch.el: Adjust requires.
14012 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14013 (ediff-find-file): Autoload.
14014 * vc/ediff-util.el: No need to load ediff when compiling.
14015 (ediff-regions-internal): Declare.
14016 * vc/ediff-wind.el: Adjust requires.
14017 (ediff-compute-toolbar-width): Define when compiling.
14018 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14019 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14020 (dired-get-filename, dired-get-marked-files)
14021 (ediff-last-dir-patch, ediff-patch-default-directory)
14022 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14023 (ediff-patch-buffer-internal): Declare.
14024
14025 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14026 (ispell-process, ispell-buffer-local-words, lm-summary)
14027 (lm-section-start, lm-section-end): Declare.
14028 (checkdoc-ispell-init): Simplify.
14029
14030 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14031 (he-string-member, he-reset-string, he-substitute-string): Declare.
14032
14033 * eshell/em-ls.el: Adjust requires.
14034 (eshell-glob-regexp): Declare.
14035 * eshell/em-tramp.el: Adjust requires.
14036 (eshell-parse-command): Autoload.
14037 * eshell/em-xtra.el: Adjust requires.
14038 (eshell-parse-command): Autoload.
14039 * eshell/esh-ext.el: Adjust requires.
14040 (eshell-parse-command, eshell-close-handles): Autoload.
14041 * eshell/esh-io.el: Adjust requires.
14042 (eshell-output-filter): Autoload.
14043 * eshell/esh-util.el: No need to load tramp when compiling.
14044 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14045 Declare.
14046 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14047 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14048 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14049 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14050 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14051 * eshell/esh-opt.el, eshell/esh-proc.el:
14052 * eshell/esh-var.el: Adjust requires.
14053 * eshell/eshell.el: Do not require esh-util twice.
14054 (eshell-add-input-to-history): Declare.
14055 (eshell-command): Check history module is active before using it.
14056
14057 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14058
14059 2013-05-22 Leo Liu <sdl.web@gmail.com>
14060
14061 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14062
14063 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14064
14065 * autorevert.el (auto-revert-notify-add-watch)
14066 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14067 it indicates changes in file modification time.
14068
14069 2013-05-22 Glenn Morris <rgm@gnu.org>
14070
14071 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14072 Always delete the autoloaded function from the noruntime and
14073 unresolved functions lists.
14074
14075 * allout.el: No need to load epa, epg, overlay when compiling.
14076 (epg-context-set-passphrase-callback, epg-list-keys)
14077 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14078 (epg-key-user-id-list): Declare.
14079
14080 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14081 (viper-set-parsing-style-toggling-macro)
14082 (viper-set-emacs-state-searchstyle-macros):
14083 Use called-interactively-p on Emacs.
14084 (viper-looking-back): Make it an obsolete alias. Update callers.
14085 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14086 Use looking-back rather than viper-looking-back.
14087 (viper-tmp-insert-at-eob, viper-enlarge-region)
14088 (viper-read-string-with-history, viper-register-to-point)
14089 (viper-append-to-register, viper-change-state-to-vi)
14090 (viper-backward-char-carefully, viper-forward-char-carefully)
14091 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14092 (viper-change-state-to-emacs): Declare.
14093 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14094 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14095 * emulation/viper-mous.el: Do not load viper-cmd.
14096 (viper-backward-char-carefully, viper-forward-char-carefully)
14097 (viper-forward-word, viper-adjust-window): Declare.
14098
14099 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14100
14101 * progmodes/idlw-help.el (idlwave-help-fontify):
14102 Use called-interactively-p.
14103
14104 * term/w32console.el (w32-get-console-codepage)
14105 (w32-get-console-output-codepage): Declare.
14106
14107 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14108 Remove unnecessary declarations.
14109 (dframe-message): Doc fix.
14110
14111 * info.el (dframe-select-attached-frame, dframe-current-frame):
14112 Declare.
14113
14114 * speedbar.el (speedbar-message): Make it an obsolete alias.
14115 Update all callers.
14116 (speedbar-with-attached-buffer)
14117 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14118 (speedbar-with-writable): Use backquote.
14119 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14120 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14121 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14122 rather than speedbar- aliases.
14123 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14124 (speedbar-make-specialized-keymap, speedbar-insert-button)
14125 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14126 (speedbar-do-function-pointer): Declare.
14127 (rmail-speedbar-button, rmail-speedbar-find-file)
14128 (rmail-speedbar-move-message):
14129 Use dframe-with-attached-buffer rather than speedbar- alias.
14130 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14131 (dframe-message, speedbar-make-specialized-keymap)
14132 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14133 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14134 (speedbar-insert-button, dframe-select-attached-frame)
14135 (dframe-maybee-jump-to-attached-frame)
14136 (speedbar-change-initial-expansion-list)
14137 (speedbar-previously-used-expansion-list-name): Declare.
14138 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14139 Use dframe-message, dframe-with-attached-buffer rather than
14140 speedbar- aliases.
14141 (gud-sentinel): Silence compiler.
14142 * progmodes/vhdl-mode.el (speedbar-refresh)
14143 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14144 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14145 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14146 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14147 (speedbar-file-lists, speedbar-make-tag-line)
14148 (speedbar-line-directory, speedbar-goto-this-file)
14149 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14150 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14151 (speedbar-make-button, speedbar-reset-scanners)
14152 (speedbar-files-item-info, speedbar-line-text)
14153 (speedbar-find-file-in-frame, speedbar-set-timer)
14154 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14155 (speedbar-with-writable): Do not (re)define it.
14156 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14157 rather than speedbar- alias.
14158
14159 2013-05-21 Leo Liu <sdl.web@gmail.com>
14160
14161 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14162 menu items.
14163 (octave-mode): Tweak fill-nobreak-predicate.
14164 (inferior-octave-startup): Check process to avoid infinite loop.
14165 (inferior-octave): Pop to buffer first to show abornmal process
14166 exit information.
14167
14168 2013-05-21 Glenn Morris <rgm@gnu.org>
14169
14170 * printing.el (pr-menu-bar): Define when compiling.
14171
14172 2013-05-21 Leo Liu <sdl.web@gmail.com>
14173
14174 * progmodes/octave.el (octave-auto-fill): Remove.
14175 (octave-indent-new-comment-line): Improve.
14176 (octave-mode): Use auto fill mode through
14177 comment-line-break-function and fill-nobreak-predicate.
14178 (octave-goto-function-definition): Support DEFUN_DLD.
14179 (octave-beginning-of-defun): Small tweak.
14180 (octave-help): Show parent directory.
14181
14182 2013-05-21 Glenn Morris <rgm@gnu.org>
14183
14184 * files.el (dired-unmark):
14185 * progmodes/gud.el (gdb-input): Update declarations.
14186
14187 * calculator.el (electric, ehelp): No need to load when compiling.
14188 (Electric-command-loop, electric-describe-mode): Declare.
14189
14190 * doc-view.el (doc-view-current-converter-processes): Move before use.
14191
14192 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14193 Move MODE-set-explicitly definition before use.
14194
14195 * international/mule-diag.el (mule-diag):
14196 Don't use obsolete window-system-version.
14197
14198 * mail/feedmail.el (smtpmail): No need to load when compiling.
14199 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14200
14201 * mail/mail-utils.el (rfc822): No need to load when compiling.
14202 (rfc822-addresses): Autoload it.
14203 (mail-strip-quoted-names): Trivial simplification.
14204
14205 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14206 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14207
14208 * net/snmp-mode.el (tempo): Don't duplicate requires.
14209
14210 * progmodes/prolog.el (info): No need to load when compiling.
14211 (comint): Require before shell requires it.
14212 (Info-goto-node): Autoload it.
14213 (Info-follow-nearest-node): Declare.
14214 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14215
14216 * textmodes/artist.el (picture-mode-exit): Declare.
14217
14218 * textmodes/reftex-parse.el (reftex-parse-from-file):
14219 Trivial rewrite so the compiler can parse it better.
14220
14221 2013-05-20 Leo Liu <sdl.web@gmail.com>
14222
14223 * progmodes/octave.el (octave-help-mode-map)
14224 (octave-help-mode-finish-hook): New variables.
14225 (octave-help-mode, octave-help-mode-finish): New functions.
14226 (octave-help): Use octave-help-mode.
14227
14228 2013-05-20 Glenn Morris <rgm@gnu.org>
14229
14230 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14231
14232 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14233
14234 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14235 start at point, so that expansion starting right after opening
14236 slash in a regexp is recognized.
14237 (ruby-syntax-before-regexp-re): New defvar, extracted from
14238 ruby-syntax-propertize-function. Since the value of this regexp
14239 is looked up at runtime now, we should be able to turn
14240 `ruby-syntax-methods-before-regexp' into a defcustom later.
14241 (ruby-syntax-propertize-function): Split regexp matching into two
14242 parts, for opening and closing slashes. That allows us to skip
14243 over string interpolations and support multiline regexps.
14244 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14245 for them, which calls `ruby-syntax-propertize-expansion'.
14246 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14247 call to `ruby-syntax-propertize-function'.
14248 (ruby-syntax-propertize-expansion): Extracted from
14249 `ruby-syntax-propertize-expansions'. Handles one expansion.
14250 (ruby-syntax-propertize-percent-literal): Leave point right after
14251 the percent symbol, so that the expression expansion rule can
14252 propertize the contents.
14253 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14254 heredoc openers.
14255 (ruby-syntax-propertize-expansions): Remove.
14256
14257 2013-05-18 Juri Linkov <juri@jurta.org>
14258
14259 * man.el (Man-default-man-entry): Remove `-' from the end
14260 of the default value. (Bug#14400)
14261
14262 2013-05-18 Glenn Morris <rgm@gnu.org>
14263
14264 * comint.el (comint-password-prompt-regexp):
14265 Allow "password for XXX" where XXX contains colons (eg https://...).
14266
14267 2013-05-18 Leo Liu <sdl.web@gmail.com>
14268
14269 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14270 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14271 (octave-source-directories): Don't check process.
14272 (octave-source-directories, octave-find-definition): Doc fix.
14273
14274 2013-05-18 Glenn Morris <rgm@gnu.org>
14275
14276 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14277 Remove backspace/delete bindings. (Bug#14392)
14278
14279 * cus-dep.el (custom-make-dependencies): Sort the output.
14280 (custom-versions-load-alist): Convert comment to doc.
14281
14282 2013-05-17 Leo Liu <sdl.web@gmail.com>
14283
14284 * newcomment.el (comment-search-backward): Stricter in finding
14285 comment start. (Bug#14303)
14286
14287 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14288 (octave-comment-start-skip): Properly anchored.
14289
14290 2013-05-17 Leo Liu <sdl.web@gmail.com>
14291
14292 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14293 Clean up when turned off. (Bug#14395)
14294 (smie--highlight-matching-block-overlay): No longer buffer-local.
14295 (smie-highlight-matching-block): Adjust.
14296
14297 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14298
14299 Doc string fix for "nanoseconds" (Bug#14406).
14300 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14301 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14302
14303 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14304
14305 * calc/calc-units.el (math-extract-units): Preserve powers
14306 of units.
14307
14308 2013-05-17 Leo Liu <sdl.web@gmail.com>
14309
14310 * subr.el (delete-consecutive-dups): New function.
14311 * ido.el (ido-set-matches-1): Use it.
14312 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14313 * ido.el (ido-remove-consecutive-dups): Remove.
14314
14315 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14316
14317 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14318 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14319 regexp-opt's `words'.
14320
14321 2013-05-16 Leo Liu <sdl.web@gmail.com>
14322
14323 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14324 (smie--highlight-matching-block-overlay)
14325 (smie--highlight-matching-block-lastpos)
14326 (smie--highlight-matching-block-timer): New variables.
14327 (smie-highlight-matching-block): New function.
14328 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14329 (smie-setup): Conditionally enable smie-blink-matching-open.
14330
14331 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14332
14333 Sync with upstream verilog-mode r840.
14334 * progmodes/verilog-mode.el (verilog-mode-version)
14335 (verilog-mode-release-date): Update.
14336 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14337 (verilog-sig-tieoff): Fix string error on
14338 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14339 (verilog-read-decls): Fix parameters confusing
14340 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14341
14342 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14343
14344 * subr.el (reveal-filename): New function.
14345
14346 * loadup.el: Compute Emacs executable versions on MS-Windows,
14347 where executables have the .exe extension. Add a hard link
14348 emacs-XX.YY.ZZ.exe on MS-Windows.
14349
14350 * Makefile.in (XARGS_LIMIT): New variable.
14351 (custom-deps, finder-data, autoloads)
14352 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14353 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14354 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14355 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14356
14357 2013-05-16 Leo Liu <sdl.web@gmail.com>
14358
14359 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14360 (octave-mode-menu, octave-mode-map): Remove its uses.
14361
14362 2013-05-16 Reto Zimmermann <reto@gnu.org>
14363
14364 Sync with upstream vhdl mode v3.34.2.
14365 * progmodes/vhdl-mode.el: Use `push' throughout.
14366 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14367 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14368 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14369 (vhdl-actual-generic-name): New option to derive actual generic name.
14370 (vhdl-port-paste-signals): Replace formal by actual generics.
14371 (vhdl-beautify): New name for old group vhdl-align. Update users.
14372 (vhdl-beautify-options): New option.
14373 (vhdl-last-input-event): New compat alias. Use throughout.
14374 (vhdl-goto-line): Replace user level function `goto-line'.
14375 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14376 vhdl-fix-statement-buffer.
14377 (vhdl-create-mode-menu): Add some entries.
14378 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14379 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14380 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14381 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14382 to force statements on one line.
14383 (vhdl-remove-trailing-spaces-region):
14384 New, split from vhdl-remove-trailing-spaces.
14385 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14386 Respect vhdl-beautify-options.
14387 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14388 (vhdl-update-sensitivity-list): Not add with index if exists without.
14389 Not include array index with signal. Ignore keywords in comments.
14390 (vhdl-get-visible-signals): Regexp tweaks.
14391 (vhdl-template-component-inst): Handle empty library.
14392 (vhdl-template-type): Add template for 'enum' type.
14393 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14394 Use vhdl-replace-string.
14395 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14396 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14397 (vhdl-speedbar-initialize): Update for above name change.
14398 (vhdl-compose-wire-components): Fix in handling of constants.
14399 (vhdl-error-regexp-emacs-alist): New variable.
14400 (vhdl-error-regexp-add-emacs): New function;
14401 adds support for new compile.el (Emacs 22+)
14402 (vhdl-generate-makefile-1): Change target order for single lib. units.
14403 Allow use of absolute file names.
14404
14405 2013-05-16 Leo Liu <sdl.web@gmail.com>
14406
14407 * simple.el (prog-indent-sexp): Indent enclosing defun.
14408
14409 2013-05-15 Glenn Morris <rgm@gnu.org>
14410
14411 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14412 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14413 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14414 (whitespace-highlight): Move to whitespace group.
14415
14416 * comint.el (comint-source):
14417 * pcmpl-linux.el (pcmpl-linux):
14418 * shell.el (shell-faces):
14419 * eshell/esh-opt.el (eshell-opt):
14420 * international/ccl.el (ccl): Remove empty custom groups.
14421
14422 * completion.el (dynamic-completion-mode):
14423 * jit-lock.el (jit-lock-debug-mode):
14424 * minibuffer.el (completion-in-region-mode):
14425 * type-break.el (type-break-mode-line-message-mode)
14426 (type-break-query-mode):
14427 * emulation/tpu-edt.el (tpu-edt-mode):
14428 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14429 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14430 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14431
14432 * term/xterm.el (xterm): Change parent group to terminals.
14433
14434 * master.el (master): Remove empty custom group.
14435 (master-mode): Remove unused :group argument.
14436 * textmodes/refill.el (refill): Remove empty custom group.
14437 (refill-mode): Remove unused :group argument.
14438
14439 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14440
14441 * cus-dep.el: Provide a feature.
14442 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14443 Don't mistakenly ignore files whose basenames match a basename
14444 from preloaded-file-list (eg cedet/ede/simple.el).
14445 Add a fallback method for getting :group.
14446
14447 2013-05-15 Juri Linkov <juri@jurta.org>
14448
14449 * isearch.el (isearch-char-by-name): Rename from
14450 `isearch-insert-char-by-name'. Doc fix.
14451 (isearch-forward): Mention `isearch-char-by-name' in
14452 the docstring. (Bug#13348)
14453
14454 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14455 `exit-minibuffer' instead of
14456 `isearch-nonincremental-exit-minibuffer'.
14457 (isearch-edit-string): Remove mention of
14458 `isearch-nonincremental-exit-minibuffer' from docstring.
14459 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14460 (isearch-forward-exit-minibuffer)
14461 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14462
14463 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14464
14465 * loadup.el: Just use unversioned DOC.
14466
14467 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14468 literals as extending to EOB.
14469 (nxml-last-fontify-end): Remove unused variable.
14470 (nxml-after-change1): Use with-silent-modifications.
14471 (nxml-extend-after-change-region): Simplify.
14472 (nxml-extend-after-change-region1): Remove function.
14473 (nxml-after-change1): Don't adjust for dependent regions.
14474 (nxml-fontify-matcher): Simplify.
14475 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14476 (xmltok-add-dependent): Remove function.
14477 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14478 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14479 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14480 unclosed <[[, <?, comment, and other literals as extending to EOB.
14481 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14482 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14483 Remove functions.
14484 (rng-do-some-validation-1): Don't mark dependent regions.
14485 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14486 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14487 (nxml-clear-dependent-regions): Remove functions.
14488 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14489 (nxml-ensure-scan-up-to-date):
14490 Don't clear&mark dependent regions.
14491
14492 2013-05-15 Leo Liu <sdl.web@gmail.com>
14493
14494 * progmodes/octave.el (octave-goto-function-definition):
14495 Improve and fix callers.
14496
14497 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14498
14499 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14500 the setter (bug#14387).
14501
14502 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14503 surrounding group (bug#14402).
14504
14505 2013-05-14 Juri Linkov <juri@jurta.org>
14506
14507 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14508 (Bug#14390)
14509
14510 2013-05-14 Glenn Morris <rgm@gnu.org>
14511
14512 * progmodes/f90.el (f90-imenu-generic-expression):
14513 Fix typo in 2013-05-08 change. (Bug#14402)
14514
14515 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14516
14517 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14518 Remove signals for which replies are never received.
14519
14520 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14521
14522 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14523 (gdb-handler-alist, gdb-handler-number): Remove variables.
14524 (gdb-handler-list): New variable.
14525 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14526 (gdb-pending-handler-p, gdb-handle-reply)
14527 (gdb-remove-all-pending-triggers): New functions.
14528 (gdb-discard-unordered-replies): New defcustom.
14529 (gdb-handler): New defstruct.
14530 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14531 instead of gdb-pending-triggers. Update docstring.
14532 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14533 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14534 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14535 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14536 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14537 (gdb-frame-handler): Pending triggers are now automatically managed.
14538 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14539 Remove argument.
14540 (gdb-input): Automatically handles pending triggers. Update docstring.
14541 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14542 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14543 Update comments.
14544 (gdb-done-or-error): Now use gdb-handle-reply.
14545
14546 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14547
14548 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14549 gdb-debug-log.
14550
14551 2013-05-14 Glenn Morris <rgm@gnu.org>
14552
14553 * subr.el (user-emacs-directory-warning): New option.
14554 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14555
14556 2013-05-14 Leo Liu <sdl.web@gmail.com>
14557
14558 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14559 during redisplay.
14560 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14561 (octave-font-lock-texinfo-comment): Fix invalid search bound
14562 error: wrong side of point.
14563
14564 2013-05-14 Glenn Morris <rgm@gnu.org>
14565
14566 * progmodes/flymake.el (flymake-xml-program): New option.
14567 (flymake-xml-init): Use it.
14568
14569 * term/xterm.el: Provide a feature.
14570
14571 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14572
14573 2013-05-13 Glenn Morris <rgm@gnu.org>
14574
14575 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14576 Add compat aliases as a hack workaround. (Bug#14384)
14577
14578 2013-05-13 Leo Liu <sdl.web@gmail.com>
14579
14580 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14581 ###, and %!.
14582 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14583 C-M-q.
14584 (octave-comment-start-skip): Include %!.
14585 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14586
14587 2013-05-12 Leo Liu <sdl.web@gmail.com>
14588
14589 * progmodes/octave.el (inferior-octave-startup): Store the value
14590 of __octave_srcdir__ for octave-source-directories.
14591 (inferior-octave-check-process): New function refactored out of
14592 inferior-octave-send-list-and-digest.
14593 (octave-source-directories)
14594 (octave-find-definition-filename-function): New variables.
14595 (octave-source-directories)
14596 (octave-find-definition-default-filename): New functions.
14597 (octave-find-definition): Improve to find functions implemented in C++.
14598
14599 2013-05-12 Glenn Morris <rgm@gnu.org>
14600
14601 * calendar/diary-lib.el (diary-outlook-format-1):
14602 Don't include dayname in the output. (Bug#14349)
14603
14604 2013-05-11 Glenn Morris <rgm@gnu.org>
14605
14606 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14607
14608 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14609 Treat cc-provide like provide.
14610
14611 2013-05-11 Kevin Ryde <user42@zip.com.au>
14612
14613 * cus-dep.el (custom-make-dependencies):
14614 Use generated-autoload-load-name for the sake of files such
14615 such cedet/semantic/bovine/c.el, where the base file name
14616 is not in load-path. (Bug#5277)
14617
14618 2013-05-11 Glenn Morris <rgm@gnu.org>
14619
14620 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14621 Provide features.
14622
14623 2013-05-11 Leo Liu <sdl.web@gmail.com>
14624
14625 * progmodes/octave.el (octave-indent-comment): Improve.
14626 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14627 (octave-eldoc-function-signatures, octave-eldoc-function):
14628 New functions.
14629 (octave-mode, inferior-octave-mode): Add eldoc support.
14630
14631 2013-05-11 Richard Stallman <rms@gnu.org>
14632
14633 * epa.el (epa-decrypt-file): Take output file name as argument
14634 and read it using `interactive'.
14635
14636 2013-05-11 Leo Liu <sdl.web@gmail.com>
14637
14638 * progmodes/octave.el (octave-beginning-of-line)
14639 (octave-end-of-line): Check before using up-list because it jumps
14640 out of more syntactic contructs since moving to smie.
14641 (octave-indent-comment): New function.
14642 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14643 (octave-begin-keywords, octave-end-keywords)
14644 (octave-reserved-words, octave-smie-bnf-table)
14645 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14646
14647 2013-05-11 Glenn Morris <rgm@gnu.org>
14648
14649 * faces.el (internal-face-x-get-resource):
14650 * frame.el (ns-display-monitor-attributes-list):
14651 * calc/calc-aent.el (math-to-radians-2):
14652 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14653 Fix declarations.
14654
14655 * calc/calc-menu.el: Make it loadable in isolation.
14656
14657 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14658 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14659 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14660 (eudc-bbdb-query-internal): Require 'bbdb.
14661
14662 * lpr.el (lpr-headers-switches):
14663 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14664
14665 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14666
14667 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14668
14669 * term.el (term-set-escape-char): Make it idempotent.
14670
14671 2013-05-10 Leo Liu <sdl.web@gmail.com>
14672
14673 * progmodes/octave.el (inferior-octave-completion-table):
14674 No longer a function and all uses changed. Use cache to speed up
14675 completion due to bug#11906.
14676 (octave-beginning-of-defun): Re-write to be more general.
14677
14678 2013-05-10 Glenn Morris <rgm@gnu.org>
14679
14680 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14681
14682 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14683
14684 * comint.el (comint-redirect-send-command-to-process): Use :around
14685 rather than :override for comint-redirect-filter.
14686 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14687 Call it instead of comint-redirect-original-filter-function (which
14688 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14689
14690 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14691
14692 * frame.el (display-monitor-attributes-list): Add NS case.
14693 (ns-display-monitor-attributes-list): Declare.
14694
14695 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14696
14697 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14698
14699 2013-05-09 Glenn Morris <rgm@gnu.org>
14700
14701 * international/fontset.el (vertical-centering-font-regexp):
14702 Set standard-value.
14703
14704 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14705
14706 * bookmark.el (bookmark-search-delay):
14707 * cus-start.el (vertical-centering-font-regexp):
14708 * ps-mule.el (ps-mule-font-info-database-default):
14709 * ps-print.el (ps-default-fg, ps-default-bg):
14710 * type-break.el (type-break-good-break-interval):
14711 * whitespace.el (whitespace-indentation-regexp)
14712 (whitespace-space-after-tab-regexp):
14713 * emacs-lisp/testcover.el (testcover-1value-functions)
14714 (testcover-noreturn-functions, testcover-progn-functions)
14715 (testcover-prog1-functions):
14716 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14717 * eshell/em-glob.el (eshell-glob-translate-alist):
14718 * play/tetris.el (tetris-tty-colors):
14719 * progmodes/cpp.el (cpp-face-default-list):
14720 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14721 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14722 (idlwave-help-browser-generic-args):
14723 * progmodes/make-mode.el (makefile-special-targets-list):
14724 * progmodes/python.el (python-shell-virtualenv-path):
14725 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14726 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14727 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14728 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14729 * textmodes/reftex-vars.el (reftex-format-label-function):
14730 * textmodes/remember.el (remember-diary-file): Fix custom types.
14731
14732 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14733 Add :version.
14734
14735 2013-05-09 Leo Liu <sdl.web@gmail.com>
14736
14737 * progmodes/octave.el (inferior-octave-completion-at-point):
14738 Restore file completion. (Bug#14300)
14739 (inferior-octave-startup): Fix incorrect highlighting for the
14740 first prompt.
14741
14742 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14743
14744 * progmodes/ruby-mode.el: First cut at SMIE support.
14745 (ruby-use-smie): New var.
14746 (ruby-smie-grammar): New constant.
14747 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14748 (ruby-smie--forward-token, ruby-smie--backward-token)
14749 (ruby-smie-rules): New functions.
14750 (ruby-mode-variables): Setup SMIE if applicable.
14751
14752 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14753
14754 * simple.el (line-move-visual): Signal beginning/end of buffer
14755 only if vertical-motion moved less than it was requested. Avoids
14756 silly incorrect error messages when there are display strings with
14757 multiple newlines at EOL.
14758
14759 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14760
14761 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14762 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14763 (prolog-char-quote-workaround):
14764 * progmodes/cperl-mode.el (cperl-under-as-char):
14765 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14766 Mark as obsolete.
14767 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14768 their declaration.
14769 (vhdl-mode-syntax-table-init): Remove.
14770
14771 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14772 last change.
14773
14774 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14775 syntax for "_".
14776 (ld-script-font-lock-keywords):
14777 Change regexps to use things like \_< and \_>.
14778
14779 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14780 Change all regexps to use things like \_< and \_>.
14781
14782 * progmodes/autoconf.el (autoconf-definition-regexp)
14783 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14784 Handle a _ with symbol syntax.
14785 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14786
14787 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14788 Consolidate declaration.
14789 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14790 the declaration.
14791 (ada-create-syntax-table): Remove.
14792 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14793 already has the right syntax nowadays.
14794 (ada-goto-next-word): Don't change the syntax of "_".
14795
14796 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14797 with-wrapper-hook.
14798
14799 2013-05-08 Sam Steingold <sds@gnu.org>
14800
14801 * thingatpt.el (thing-at-point): Accept optional second argument
14802 NO-PROPERTIES to strip the text properties from the return value.
14803 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14804 to `thing-at-point' instead of stripping the properties ourselves.
14805 Also, when `thing-at-point' fails to find a url, prepend "http://"
14806 to the filename at point on the assumption that the user is
14807 pointing at something like gnu.org/gnu.
14808
14809 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14810
14811 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14812 * faces.el (crm-separator):
14813 Silence byte-compiler.
14814
14815 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14816 (tool-bar-map): Remove unneeded defvars.
14817
14818 2013-05-08 Leo Liu <sdl.web@gmail.com>
14819
14820 Re-work a fix for bug#10994 based on Le Wang's patch.
14821 * ido.el (ido-remove-consecutive-dups): New helper.
14822 (ido-completing-read): Use it.
14823 (ido-chop): Revert fix for bug#10994.
14824
14825 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14826
14827 * cus-edit.el (custom-save-variables):
14828 Pretty-print long values. (Bug#14187)
14829
14830 2013-05-08 Glenn Morris <rgm@gnu.org>
14831
14832 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14833 (m4-mode-syntax-table): Init in the defvar.
14834 (m4-mode-abbrev-table): Let define-derived-mode define it.
14835
14836 2013-05-08 Tom Tromey <tromey@redhat.com>
14837
14838 * progmodes/m4-mode.el (m4-mode-syntax-table):
14839 Do not treat "_" as word constituent. (Bug#14167)
14840
14841 2013-05-07 Glenn Morris <rgm@gnu.org>
14842
14843 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14844 Remove explicit eshell-isearch-cancel-map.
14845
14846 * progmodes/f90.el (f90-smart-end-names): New option.
14847 (f90-smart-end): Doc fix.
14848 (f90-end-block-optional-name): New constant.
14849 (f90-block-match): Respect f90-smart-end-names.
14850
14851 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14852
14853 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14854 about implicit semi-colons (bug#14218).
14855
14856 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14857
14858 * frame.el (display-monitor-attributes-list)
14859 (frame-monitor-attributes): New functions.
14860
14861 2013-05-06 Leo Liu <sdl.web@gmail.com>
14862
14863 * progmodes/octave.el (octave-syntax-propertize-function): Change
14864 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14865 (octave-font-lock-keywords): Use octave-operator-regexp.
14866 (octave-completion-at-point): Rename from
14867 octave-completion-at-point-function.
14868 (inferior-octave-directory-tracker): Robustify.
14869 (octave-text-functions): Remove and fix its uses. No such things
14870 any more.
14871
14872 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14873
14874 * emacs-lisp/trace.el (trace--display-buffer): New function.
14875 (trace-make-advice): Use it.
14876
14877 2013-05-06 Juri Linkov <juri@jurta.org>
14878
14879 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14880 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14881 Doc fix.
14882 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14883 in the help string. (Bug#12985)
14884
14885 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14886
14887 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14888
14889 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14890
14891 * progmodes/perl-mode.el: Add support for here documents.
14892 (perl-syntax-propertize-function): Match here-doc markers.
14893 (perl-syntax-propertize-special-constructs): Find their end.
14894 (perl-imenu-generic-expression): Use [:alnum:].
14895
14896 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14897 (advice--add-function): Refresh the advice if already present
14898 (bug#14317).
14899
14900 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14901
14902 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14903
14904 2013-05-06 Glenn Morris <rgm@gnu.org>
14905
14906 * w32-fns.el (w32-charset-info-alist): Declare.
14907
14908 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14909 of its defcustom properties.
14910 (eshell-cmpl-initialize): No need to load pcomplete.
14911
14912 * generic-x.el: No need to require comint when compiling.
14913
14914 * net/eudc-export.el: Make it loadable without bbdb.
14915 (top-level): Use require rather than load-library.
14916 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14917 (eudc-batch-export-records-to-bbdb)
14918 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14919 Require bbdb.
14920
14921 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14924 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14925 some tweaks, instead.
14926
14927 2013-05-05 Leo Liu <sdl.web@gmail.com>
14928
14929 * progmodes/octave.el (octave-font-lock-keywords)
14930 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14931 (inferior-octave-send-list-and-digest): Improve error message.
14932 (octave-mode, inferior-octave-mode): Use setq-local.
14933 (octave-help): Set info-lookup-mode.
14934
14935 2013-05-05 Richard Stallman <rms@gnu.org>
14936
14937 * vc/compare-w.el (compare-windows-whitespace):
14938 Treat no-break space as whitespace.
14939
14940 * mail/rmailsum.el (rmail-summary-rmail-update):
14941 Detect empty summary and don't change selected message.
14942 (rmail-summary-goto-msg): Likewise.
14943
14944 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14945 Doc fixes, rename args.
14946
14947 2013-05-05 Alan Mackenzie <acm@muc.de>
14948
14949 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14950
14951 2013-05-05 Juri Linkov <juri@jurta.org>
14952
14953 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14954 to not add the length of the summary segment to the return value.
14955 (Bug#14125)
14956
14957 2013-05-05 Leo Liu <sdl.web@gmail.com>
14958
14959 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14960 (inferior-octave-output-filter): Remove.
14961 (octave-send-region, inferior-octave-startup): Fix callers.
14962 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14963 (octave-binary-file-extensions): New user variable.
14964 (octave-find-definition): Confirm if opening binary files.
14965 (octave-help-file): Use octave-find-definition to get the binary
14966 confirmation.
14967 (octave-help): Adjust for octave-help-file change.
14968
14969 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14970
14971 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14972 Merge the two entries that handle function definitions.
14973 (pascal--syntax-propertize): New const.
14974 (pascal-mode): Use it. Use setq-local.
14975
14976 2013-05-04 Glenn Morris <rgm@gnu.org>
14977
14978 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14979 (diary-from-outlook): Respect diary-from-outlook-function.
14980
14981 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14982
14983 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14984 Move the declaration from C.
14985 (read-minibuffer, eval-minibuffer): Move from C.
14986 (completion-setup-function): Avoid minibuffer-completion-contents.
14987
14988 2013-05-03 Leo Liu <sdl.web@gmail.com>
14989
14990 * progmodes/octave.el (octave-font-lock-keywords): Do not
14991 dehighlight 'end' in comments or strings.
14992 (octave-completing-read, octave-goto-function-definition):
14993 New helpers.
14994 (octave-help-buffer): New user variable.
14995 (octave-help-file, octave-help-function): New button types.
14996 (octave-help): New command and bind it to C-h ;.
14997 (octave-find-definition): New command and bind it to M-.
14998 (user-error): Alias to error if not defined.
14999
15000 2013-05-02 Leo Liu <sdl.web@gmail.com>
15001
15002 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15003 for \. (bug#14332)
15004 (octave-font-lock-keywords): Include [ and {.
15005
15006 2013-05-02 Leo Liu <sdl.web@gmail.com>
15007
15008 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15009 (inferior-octave): Remove calling comint-mode and return the buffer.
15010 (inferior-octave-startup): Cosmetic changes.
15011
15012 2013-05-02 Leo Liu <sdl.web@gmail.com>
15013
15014 * progmodes/octave.el (octave-syntax-propertize-function):
15015 Include the case when ' is at line beginning. (Bug#14336)
15016
15017 2013-05-02 Glenn Morris <rgm@gnu.org>
15018
15019 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15020 * desktop.el (vc-dir-mode): Just autoload it here.
15021
15022 2013-05-02 Alan Mackenzie <acm@muc.de>
15023
15024 Eliminate variable c-standard-font-lock-fontify-region-function.
15025 * progmodes/cc-mode.el
15026 (c-standard-font-lock-fontify-region-function): Remove.
15027 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15028
15029 2013-05-01 Leo Liu <sdl.web@gmail.com>
15030
15031 * progmodes/octave.el: Compatible with older emacs-24 releases.
15032 (inferior-octave-has-built-in-variables): Remove. Built-in
15033 variables were removed from Octave in 2007.
15034 (inferior-octave-startup): Fix uses.
15035 (comint-line-beginning-position): Remove compatibility code for
15036 emacs 21.
15037
15038 2013-05-01 Juri Linkov <juri@jurta.org>
15039
15040 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15041
15042 2013-05-01 Juri Linkov <juri@jurta.org>
15043
15044 * comint.el (comint-previous-matching-input): Don't print message
15045 "History item: %d" when `isearch-mode' is active.
15046 (comint-history-isearch-message): Print message "History item: %d"
15047 when `comint-input-ring-index' is not empty and this function is
15048 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15049
15050 2013-05-01 Leo Liu <sdl.web@gmail.com>
15051
15052 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15053 definitions. Use completion-at-point to insert keywords.
15054 (octave-abbrev-start): Remove.
15055 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15056
15057 2013-04-30 Leo Liu <sdl.web@gmail.com>
15058
15059 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15060 change.
15061
15062 2013-04-30 Alan Mackenzie <acm@muc.de>
15063
15064 Handle arbitrarily long C++ member initialisation lists.
15065 * progmodes/cc-engine.el (c-back-over-member-initializers):
15066 new function.
15067 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15068 (most) member init lists.
15069
15070 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15071
15072 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15073 variable.
15074
15075 2013-04-30 Leo Liu <sdl.web@gmail.com>
15076
15077 * progmodes/octave.el (octave-variables): Remove. No builtin
15078 variables any more. All converted to functions.
15079 (octave-font-lock-keywords, octave-completion-at-point-function):
15080 Fix uses.
15081 (octave-font-lock-texinfo-comment): New user variable.
15082 (octave-texinfo-font-lock-keywords): New variable for texinfo
15083 comment block.
15084 (octave-function-comment-block): New face.
15085 (octave-font-lock-texinfo-comment): New function.
15086 (octave-mode): Font lock texinfo comment block.
15087
15088 2013-04-29 Leo Liu <sdl.web@gmail.com>
15089
15090 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15091 indexing expression.
15092 (octave-continuation-string): Do not use \.
15093 (inferior-octave-complete-impossible): Remove.
15094 (inferior-octave-completion-table)
15095 (inferior-octave-completion-at-point): Remove its uses.
15096 (inferior-octave-startup): completion_matches was introduced to
15097 Octave in 1996 so safe to assume it.
15098 (octave-function-file-comment): Improve to follow how Octave does it.
15099 (octave-update-function-file-comment): Tweak.
15100
15101 2013-04-29 Leo Liu <sdl.web@gmail.com>
15102
15103 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15104 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15105 (octave-function-file-comment): Fix typo.
15106 (octave-sync-function-file-names): Use read-char-choice.
15107
15108 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15109
15110 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15111 to t for the less important warnings.
15112
15113 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15114
15115 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15116
15117 2013-04-27 Glenn Morris <rgm@gnu.org>
15118
15119 * vc/log-view.el (log-view-current-entry):
15120 Treat "---" separator lines as part of the following rev. (Bug#14169)
15121
15122 2013-04-27 Juri Linkov <juri@jurta.org>
15123
15124 * subr.el (read-number): Doc fix about using it by interactive
15125 code letter `n'. (Bug#14254)
15126
15127 2013-04-27 Juri Linkov <juri@jurta.org>
15128
15129 * desktop.el (desktop-auto-save-timeout): New option.
15130 (desktop-file-checksum): New variable.
15131 (desktop-save): Add optional arg `auto-save' and don't auto-save
15132 if nothing changed.
15133 (desktop-auto-save-timer): New variable.
15134 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15135 (after-init-hook): Call `desktop-auto-save-set-timer'.
15136 Suggested by Reuben Thomas <rrt@sc3d.org> in
15137 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15138
15139 2013-04-27 Leo Liu <sdl.web@gmail.com>
15140
15141 * progmodes/octave.el (octave-function-file-p)
15142 (octave-skip-comment-forward, octave-function-file-comment)
15143 (octave-update-function-file-comment): New functions.
15144 (octave-mode-map): Bind C-c ; to
15145 octave-update-function-file-comment.
15146 (octave-mode-menu): Add octave-update-function-file-comment.
15147 (octave-mode, inferior-octave-mode): Fix doc-string.
15148 (octave-insert-defun): Conform to Octave's coding convention.
15149 (Bug#14285)
15150
15151 * files.el (basic-save-buffer): Don't let errors in
15152 before-save-hook prevent saving buffer.
15153
15154 2013-04-20 Roland Winkler <winkler@gnu.org>
15155
15156 * faces.el (read-face-name): Use completing-read if arg multiple
15157 is nil.
15158
15159 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15160
15161 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15162 displayed, move point to after the totals line.
15163 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15164 for the details.
15165
15166 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15167
15168 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15169 Add current dir to the load-path.
15170 (package-generate-autoloads): Don't rely on
15171 autoload-ensure-default-file.
15172
15173 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15174
15175 * textmodes/remember.el (remember-store-in-files): Document that
15176 the file name format is passed to `format-time-string'.
15177
15178 2013-04-26 Leo Liu <sdl.web@gmail.com>
15179
15180 * progmodes/octave.el (octave-sync-function-file-names): New function.
15181 (octave-mode): Use it in before-save-hook.
15182
15183 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15184
15185 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15186 (bug#14274).
15187
15188 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15189 \n and comment, even if it's not an implicit ; (bug#14218).
15190
15191 2013-04-26 Glenn Morris <rgm@gnu.org>
15192
15193 * subr.el (read-number): Once more use `read' rather than
15194 `string-to-number', to trap non-numeric input. (Bug#14254)
15195
15196 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15197
15198 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15199 Use `syntax-multiline' text property consistently instead of
15200 `font-lock-multiline'. (Bug#14237)
15201
15202 2013-04-26 Glenn Morris <rgm@gnu.org>
15203
15204 * emacs-lisp/shadow.el (list-load-path-shadows):
15205 No longer necessary to check for duplicate simple.el, since
15206 2012-07-07 change to init_lread to not include installation lisp
15207 directories in load-path when running uninstalled. (Bug#14270)
15208
15209 2013-04-26 Leo Liu <sdl.web@gmail.com>
15210
15211 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15212 (octave-mode, inferior-octave-mode): Use setq-local.
15213 (octave-not-in-string-or-comment-p): Rename to
15214 octave-in-string-or-comment-p.
15215 (octave-in-comment-p, octave-in-string-p)
15216 (octave-in-string-or-comment-p): Replace defsubst with defun.
15217
15218 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15219
15220 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15221
15222 2013-04-25 Bastien Guerry <bzg@gnu.org>
15223
15224 * textmodes/remember.el (remember-data-directory)
15225 (remember-directory-file-name-format): Fix custom types.
15226
15227 2013-04-25 Leo Liu <sdl.web@gmail.com>
15228
15229 * progmodes/octave.el (octave-completion-at-point-function):
15230 Make use of inferior octave process.
15231 (octave-initialize-completions): Remove.
15232 (inferior-octave-completion-table): New function.
15233 (inferior-octave-completion-at-point): Use it.
15234 (octave-completion-alist): Remove.
15235
15236 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15237
15238 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15239 (opascal-mode-syntax-table): New var.
15240 (opascal-literal-kind, opascal-is-literal-end)
15241 (opascal-literal-token-at): Rewrite.
15242 (opascal--literal-start-re, opascal-font-lock-keywords)
15243 (opascal--syntax-propertize): New constants.
15244 (opascal-font-lock-defaults): Adjust.
15245 (opascal-mode): Use them. Set comment-<foo> variables as well.
15246 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15247 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15248 (delphi-other-face, opascal-other-face): Remove face variables.
15249 (opascal-save-state): Remove macro.
15250 (opascal-fontifying-progress-step): Remove constant.
15251 (opascal--ignore-changes): Remove var.
15252 (opascal-set-token-property, opascal-parse-next-literal)
15253 (opascal-is-stable-literal, opascal-complete-literal)
15254 (opascal-is-literal-start, opascal-face-of)
15255 (opascal-parse-region, opascal-parse-region-until-stable)
15256 (opascal-fontify-region, opascal-after-change)
15257 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15258 (opascal-debug-parse-region, opascal-debug-parse-window)
15259 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15260 (opascal-debug-fontify-buffer): Remove.
15261 (opascal-debug-mode-map): Adjust accordingly.
15262
15263 2013-04-25 Leo Liu <sdl.web@gmail.com>
15264
15265 Merge octave-mod.el and octave-inf.el into octave.el with some
15266 cleanups.
15267 * progmodes/octave.el: New file renamed from octave-mod.el.
15268 * progmodes/octave-inf.el: Merged into octave.el.
15269 * progmodes/octave-mod.el: Renamed to octave.el.
15270
15271 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15272
15273 * textmodes/reftex-vars.el
15274 (reftex-label-ignored-macros-and-environments): New defcustom.
15275
15276 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15277
15278 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15279
15280 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15281 (smie-indent-keyword): Improve the check to ensure that the next
15282 comment is really on the same line.
15283 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15284
15285 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15286 semi-colons if the line is not otherwise empty (bug#14218).
15287
15288 2013-04-25 Glenn Morris <rgm@gnu.org>
15289
15290 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15291
15292 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15293
15294 * progmodes/opascal.el (opascal-set-token-property): Rename from
15295 opascal-set-text-properties and only set `token' (bug#14134).
15296 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15297 (opascal-literal-text-properties): Remove.
15298 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15299 Adjust callers.
15300
15301 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15302
15303 * textmodes/remember.el (remember-handler-functions): Add an
15304 option for a new handler `remember-store-in-files'.
15305 (remember-data-directory, remember-directory-file-name-format):
15306 New options.
15307 (remember-store-in-files): New function to store remember notes
15308 as separate files within a directory.
15309
15310 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15311
15312 * progmodes/compile.el (compilation-next-error-function):
15313 Pass "formats" to compilation-find-file (bug#11777).
15314
15315 2013-04-24 Glenn Morris <rgm@gnu.org>
15316
15317 * vc/vc-bzr.el (vc-bzr-print-log):
15318 * vc/vc-hg.el (vc-hg-print-log):
15319 * vc/vc-svn.el (vc-svn-print-log):
15320 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15321
15322 * vc/vc-bzr.el (vc-bzr-print-log):
15323 * vc/vc-cvs.el (vc-cvs-print-log):
15324 * vc/vc-git.el (vc-git-print-log):
15325 * vc/vc-hg.el (vc-hg-print-log):
15326 * vc/vc-mtn.el (vc-mtn-print-log):
15327 * vc/vc-rcs.el (vc-rcs-print-log):
15328 * vc/vc-sccs.el (vc-sccs-print-log):
15329 * vc/vc-svn.el (vc-svn-print-log):
15330 * vc/vc.el (vc-print-log-internal): Doc fixes.
15331
15332 2013-04-23 Glenn Morris <rgm@gnu.org>
15333
15334 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15335 Remove venerable code attempting to avoid substitute-command-keys.
15336
15337 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15338
15339 * textmodes/reftex-vars.el (reftex-label-regexps):
15340 Call `reftex-compile-variables' after changes to this variable.
15341
15342 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15343
15344 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15345 Use lexical-binding.
15346 (jit-lock-force-redisplay): Use markers, check buffer's continued
15347 existence and beware narrowed buffers.
15348 (jit-lock-fontify-now): Adjust call accordingly.
15349
15350 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15351
15352 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15353 to avoid misleading the user.
15354
15355 2013-04-22 Leo Liu <sdl.web@gmail.com>
15356
15357 * info-look.el: Prefer latex2e.info. (Bug#14240)
15358
15359 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15360
15361 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15362
15363 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15364 * net/tramp.el (tramp-call-process): ... here.
15365 (tramp-set-completion-function, tramp-parse-putty):
15366 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15367 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15368 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15369 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15370 (tramp-call-local-coding-command): Use `tramp-call-process'
15371 instead of `tramp-compat-call-process'.
15372
15373 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15374 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15375 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15376 (tramp-find-inline-compress): Improve traces.
15377 (tramp-maybe-send-script): Check for Perl binary.
15378 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15379
15380 2013-04-22 Daiki Ueno <ueno@gnu.org>
15381
15382 * epg.el (epg-context-pinentry-mode): New function.
15383 (epg-context-set-pinentry-mode): New function.
15384 (epg--start): Pass --pinentry-mode option to gpg command.
15385
15386 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15387
15388 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15389 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15390 `completion-at-point'. (Bug#13774)
15391
15392 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15393 default key binding for `describe-distribution' has been moved to
15394 `C-h C-o'. (Bug#13970)
15395
15396 2013-04-21 Glenn Morris <rgm@gnu.org>
15397
15398 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15399 Add doc strings.
15400 (vc-print-log): Clarify interactive prompt.
15401
15402 2013-04-20 Glenn Morris <rgm@gnu.org>
15403
15404 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15405 No longer include timestamp etc information.
15406
15407 2013-04-20 Roland Winkler <winkler@gnu.org>
15408
15409 * faces.el (read-face-name): Bug fix, return just one face if arg
15410 multiple is nil. (Bug#14209)
15411
15412 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15413
15414 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15415 (remove-function): Autoload.
15416
15417 * comint.el (comint-redirect-original-filter-function): Remove.
15418 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15419 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15420 (vc-cvs-annotate-command):
15421 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15422 * progmodes/prolog.el (prolog-consult-compile):
15423 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15424 Use add/remove-function instead.
15425 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15426 (gud-tooltip-process-output, gud-tooltip-tips):
15427 Use add/remove-function instead.
15428 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15429 (scheme-interaction-mode, exit-scheme-interaction-mode):
15430 Use add/remove-function instead.
15431
15432 * vc/vc-dispatcher.el: Use lexical-binding.
15433 (vc--process-sentinel): Rename from vc-process-sentinel.
15434 Change last arg to be the code to run. Don't use vc-previous-sentinel
15435 and vc-sentinel-commands any more.
15436 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15437 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15438
15439 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15440
15441 * progmodes/sh-script.el (sh-imenu-generic-expression):
15442 Handle function names with a single character. (Bug#14111)
15443
15444 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15445
15446 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15447 for subroutines defined in an eval (bug#14182).
15448
15449 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15450
15451 * bookmark.el (bookmark-completing-read): Improve handling of empty
15452 string (bug#14176).
15453
15454 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15455
15456 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15457
15458 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15459
15460 New faster Imenu implementation (bug#14058).
15461 * progmodes/python.el (python-imenu-prev-index-position)
15462 (python-imenu-format-item-label-function)
15463 (python-imenu-format-parent-item-label-function)
15464 (python-imenu-format-parent-item-jump-label-function):
15465 New vars.
15466 (python-imenu-format-item-label)
15467 (python-imenu-format-parent-item-label)
15468 (python-imenu-format-parent-item-jump-label)
15469 (python-imenu--put-parent, python-imenu--build-tree)
15470 (python-imenu-create-index, python-imenu-create-flat-index)
15471 (python-util-popn): New functions.
15472 (python-mode): Set imenu-create-index-function to
15473 python-imenu-create-index.
15474
15475 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15476
15477 * winner.el (winner-active-region): Use region-active-p, activate-mark
15478 and deactivate-mark (bug#14225).
15479
15480 * simple.el (deactivate-mark): Don't inline it.
15481
15482 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15483
15484 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15485
15486 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15487
15488 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15489 file extensions from the archive-mode entry in order to prefer
15490 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15491
15492 2013-04-18 Leo Liu <sdl.web@gmail.com>
15493
15494 * bindings.el (help-event-list): Add ?\?.
15495
15496 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15497
15498 * subr.el (with-wrapper-hook): Declare obsolete.
15499 * simple.el (filter-buffer-substring-function): New hook.
15500 (filter-buffer-substring): Use it.
15501 (filter-buffer-substring-functions): Mark obsolete.
15502 * minibuffer.el (completion-in-region-function): New hook.
15503 (completion-in-region): Use it.
15504 (completion-in-region-functions): Mark obsolete.
15505 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15506 * abbrev.el (abbrev-expand-function): New hook.
15507 (expand-abbrev): Use it.
15508 (abbrev-expand-functions): Mark obsolete.
15509 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15510 and :filter-return.
15511
15512 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15513
15514 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15515 and do not care about match data.
15516
15517 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15518
15519 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15520 completion tables when completing error conditions and
15521 `declare' arguments.
15522 (lisp-complete-symbol, field-complete): Mark as obsolete.
15523 (check-parens): Unmatched parens are user errors.
15524 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15525
15526 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15527
15528 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15529 command changed buffer (ie. `flyspell-pre-buffer' is not current
15530 buffer), which prevents making decisions based on invalid value of
15531 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15532 cause an error when `flyspell-pre-point' was nil after switching
15533 buffers.
15534 (flyspell-post-command-hook): No longer needs to change buffers when
15535 checking pre-word. While at it remove unnecessary progn.
15536
15537 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15538
15539 * textmodes/ispell.el (ispell-add-per-file-word-list):
15540 Fix `flyspell-correct-word-before-point' error when accepting
15541 words and `coment-padding' is an integer by using
15542 `comment-normalize-vars' (Bug #14214).
15543
15544 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15545
15546 New defun movement commands.
15547 * progmodes/python.el (python-nav--syntactically)
15548 (python-nav--forward-defun, python-nav-backward-defun)
15549 (python-nav-forward-defun): New functions.
15550
15551 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15552
15553 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15554 (python-syntax-context): Use named compiler-macro for backwards
15555 compatibility with Emacs 24.x.
15556
15557 2013-04-17 Leo Liu <sdl.web@gmail.com>
15558
15559 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15560 octave-hide-process-buffer.
15561
15562 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15563
15564 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15565 (bug#14216).
15566
15567 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15568
15569 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15570 Fix adjustment of offset when receiving incomplete responses from GDB
15571 (bug#14129).
15572
15573 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15574
15575 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15576 python-mode-abbrev-table.
15577 (python-skeleton-define): Adjust accordingly.
15578 (python-mode-abbrev-table): New table that inherits from it so that
15579 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15580
15581 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15582 (abbrev-symbol): Use it.
15583 (abbrev--before-point): Use it since we already handle inheritance.
15584
15585 2013-04-16 Leo Liu <sdl.web@gmail.com>
15586
15587 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15588 binding to info-lookup-symbol.
15589
15590 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15591
15592 * minibuffer.el (completion--twq-all):
15593 * term/ns-win.el (ns-initialize-window-system):
15594 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15595
15596 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15597
15598 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15599 global bindings.
15600
15601 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15602
15603 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15604
15605 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15606 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15607 to nil.
15608 (ruby-end-of-defun): Remove the unused arg, change the docstring
15609 to reflect that this function is only used as the value of
15610 `end-of-defun-function'.
15611 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15612 to reflect an earlier change that beginning/end-of-defun functions
15613 jump between methods in a class definition, as well as top-level
15614 functions.
15615
15616 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15617
15618 * minibuffer.el (minibuffer-complete): Don't just scroll
15619 a *Completions* that's been iconified.
15620 (minibuffer-force-complete): Make sure repetitions do cycle when going
15621 through completion-in-region -> minibuffer-complete.
15622
15623 2013-04-15 Alan Mackenzie <acm@muc.de>
15624
15625 Correct the placement of c-cpp-delimiters when there're #s not at
15626 col 0.
15627
15628 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15629 place a submatch around the #.
15630 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15631 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15632 on the #, not BOL.
15633
15634 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15635
15636 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15637 (advice--member-p): New arg `name'.
15638 (advice--add-function, advice-member-p): Use it (bug#14202).
15639
15640 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15641
15642 Reformulate java imenu-generic-expression.
15643 The old expression contained ill formed regexps.
15644
15645 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15646 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15647 (cc-imenu-java-method-arg-regexp): New defconsts.
15648 (cc-imenu-java-build-type-args-regex): New defun.
15649 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15650 handling of spaces in the regexp.
15651
15652 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15653
15654 * textmodes/ispell.el (ispell-command-loop): Remove
15655 flyspell highlight of a word when ispell accepts it (bug #14178).
15656
15657 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15658
15659 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15660 uses code from the previous `ange-ftp-run-real-handler'.
15661 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15662 only in case that function exist. This is needed for proper
15663 unloading of Tramp.
15664
15665 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15666
15667 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15668
15669 * textmodes/reftex.el (reftex-compile-variables): Use it.
15670
15671 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15672
15673 * files.el (normal-mode): Only use default major-mode if no other mode
15674 was specified.
15675
15676 * emacs-lisp/trace.el (trace-values): New function.
15677
15678 * files.el: Allow : in local variables (bug#14089).
15679 (hack-local-variable-regexp): New var.
15680 (hack-local-variables-prop-line, hack-local-variables): Use it.
15681
15682 2013-04-13 Roland Winkler <winkler@gnu.org>
15683
15684 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15685 data before it gets modified by bibtex-beginning-of-entry.
15686
15687 2013-04-13 Roland Winkler <winkler@gnu.org>
15688
15689 * textmodes/bibtex.el (bibtex-url): Doc fix.
15690
15691 2013-04-13 Roland Winkler <winkler@gnu.org>
15692
15693 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15694 does not visit a BibTeX file, exclude it from the list of buffers
15695 returned by bibtex-initialize.
15696
15697 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15698
15699 * window.el (split-window): Remove interactive form, since as a
15700 command this function is a special case of split-window-below.
15701 Correct doc string.
15702
15703 2013-04-12 Roland Winkler <winkler@gnu.org>
15704
15705 * faces.el (read-face-name): Do not override value of arg default.
15706 Allow single faces and strings as default values. Remove those
15707 elements from return value that are not faces.
15708 (describe-face): Simplify.
15709 (face-at-point): New optional args thing and multiple so that this
15710 function can provide the same functionality previously provided by
15711 read-face-name.
15712 (make-face-bold, make-face-unbold, make-face-italic)
15713 (make-face-unitalic, make-face-bold-italic, invert-face)
15714 (modify-face, read-face-and-attribute): Use face-at-point.
15715
15716 * cus-edit.el (customize-face, customize-face-other-window)
15717 * cus-theme.el (custom-theme-add-face)
15718 * face-remap.el (buffer-face-set)
15719 * facemenu.el (facemenu-set-face): Use face-at-point.
15720
15721 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15722
15723 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15724
15725 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15726
15727 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15728 off leading { and trailing } from field values.
15729
15730 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15731
15732 * emacs-lisp/timer.el (timer--check): New function.
15733 (timer--time, timer-set-function, timer-event-handler): Use it.
15734 (timer-set-idle-time): Simplify.
15735 (timer--activate): CSE.
15736 (timer-event-handler): Give more info in error message.
15737 (internal-timer-start-idle): New function, moved from C.
15738
15739 * mpc.el (mpc-proc): Add `restart' argument.
15740 (mpc-proc-cmd): Use it.
15741 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15742 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15743 less often.
15744
15745 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15746
15747 * progmodes/sh-script.el: Implement `sh-mode' own
15748 `add-log-current-defun-function' (bug#14112).
15749 (sh-current-defun-name): New function.
15750 (sh-mode): Use the function.
15751
15752 2013-04-09 Bastien Guerry <bzg@gnu.org>
15753
15754 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15755
15756 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15757
15758 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15759
15760 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15761 timer (bug#14156).
15762
15763 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15764
15765 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15766 declaration.
15767
15768 2013-04-07 Leo Liu <sdl.web@gmail.com>
15769
15770 * pcmpl-x.el: New file.
15771
15772 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15773
15774 Do not set x-display-name until X connection is established.
15775 This is needed to prevent from weird situation described at
15776 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15777 * frame.el (make-frame): Set x-display-name after call to
15778 window system initialization function, not before.
15779 * term/x-win.el (x-initialize-window-system): Add optional
15780 display argument and use it.
15781 * term/w32-win.el (w32-initialize-window-system):
15782 * term/ns-win.el (ns-initialize-window-system):
15783 * term/pc-win.el (msdos-initialize-window-system):
15784 Add compatible optional display argument.
15785
15786 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15787
15788 * files.el (normal-backup-enable-predicate): On MS-Windows and
15789 MS-DOS compare truenames of temporary-file-directory and of the
15790 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15791 don't fail comparison by compare-strings. Also, compare file
15792 names case-insensitively on MS-Windows and MS-DOS.
15793
15794 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15797 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15798
15799 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15800
15801 * whitespace.el (whitespace-color-on, whitespace-color-off):
15802 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15803
15804 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15805
15806 * ispell.el (ispell-set-spellchecker-params):
15807 Really set `ispell-args' for all equivs.
15808
15809 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15810
15811 * ido.el (ido-completions): Use extra elements of ido-decorations
15812 (bug#14143).
15813 (ido-decorations): Update docstring.
15814
15815 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15816
15817 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15818 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15819 nil during initialization, in order not to miss changes since the
15820 file was opened. (Bug#14140)
15821
15822 2013-04-05 Leo Liu <sdl.web@gmail.com>
15823
15824 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15825
15826 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15827
15828 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15829
15830 2013-04-04 Glenn Morris <rgm@gnu.org>
15831
15832 * electric.el (electric-pair-inhibit-predicate): Add :version.
15833
15834 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15835
15836 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15837 when a package is required several times (bug#14082).
15838
15839 2013-04-04 Roland Winkler <winkler@gnu.org>
15840
15841 * faces.el (read-face-name): Behave as promised by the docstring.
15842 Assume that arg default is a list of faces.
15843 (describe-face): Call read-face-name with list of default faces.
15844
15845 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15846
15847 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15848 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15849 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15850 the header.
15851 (bookmark-exit-hook-internal): Save even if list is empty.
15852
15853 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15854
15855 * emacs-lisp/package.el (package-pinned-packages): New var.
15856 (package--add-to-archive-contents): Obey it (bug#14118).
15857
15858 2013-04-03 Alan Mackenzie <acm@muc.de>
15859
15860 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15861 Also adapt to the new values of element 7 of a parse state.
15862
15863 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15864 parameter `not-in-delimiter'. Handle being inside comment opener.
15865 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15866 character in case we're typing a '*' after a '/'.
15867 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15868 instead by passing the parameter to c-state-pp-to-literal.
15869
15870 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15871 for elt. 7 of a parse state.
15872
15873 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15874
15875 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15876 * international/latin1-disp.el, international/mule-util.el:
15877 * language/cyril-util.el, language/european.el, language/ind-util.el:
15878 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15879 * language/tibetan.el, language/viet-util.el:
15880 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15881
15882 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15883
15884 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15885 (electric-pair-post-self-insert-function): Use it.
15886 (electric-pair-default-inhibit): New function, extracted from
15887 electric-pair-post-self-insert-function.
15888
15889 2013-03-31 Roland Winkler <winkler@gnu.org>
15890
15891 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15892
15893 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15894
15895 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15896
15897 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15898
15899 Un-indent after "pass" and "return" statements (Bug#13888)
15900 * progmodes/python.el (python-indent-block-enders): New var.
15901 (python-indent-calculate-indentation): Use it.
15902
15903 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15904
15905 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15906 defun. Defining it as defalias could introduce too eager
15907 byte-compiler optimization. (Bug#14030)
15908
15909 2013-03-30 Chong Yidong <cyd@gnu.org>
15910
15911 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15912
15913 2013-03-30 Leo Liu <sdl.web@gmail.com>
15914
15915 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15916 (kmacro-execute-from-register): Pass the keyboard macro to
15917 kmacro-call-macro or repeating won't work correctly.
15918
15919 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15920
15921 * progmodes/subword.el: Back to using `forward-symbol'.
15922
15923 * subr.el (forward-whitespace, forward-symbol)
15924 (forward-same-syntax): Move from thingatpt.el.
15925
15926 2013-03-29 Leo Liu <sdl.web@gmail.com>
15927
15928 * kmacro.el (kmacro-to-register): New command.
15929 (kmacro-execute-from-register): New function.
15930 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15931
15932 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15933
15934 * mpc.el: Use defvar-local and setq-local.
15935 (mpc--proc-connect): Connection failures are not bugs.
15936 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15937 (mpc-volume-map): Bind to the up-events.
15938
15939 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15940
15941 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15942 instead of `forward-symbol'.
15943
15944 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15945
15946 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15947 (edebug--recursive-edit): Use it.
15948 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15949 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15950
15951 2013-03-28 Leo Liu <sdl.web@gmail.com>
15952
15953 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15954
15955 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15956
15957 * facemenu.el (list-colors-callback): New defvar.
15958 (list-colors-redisplay): New function.
15959 (list-colors-display): Install list-colors-redisplay as the
15960 revert-buffer-function. (Bug#14063)
15961
15962 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15963
15964 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15965 and suffixes don't overlap (bug#14061).
15966
15967 * case-table.el: Use lexical-binding.
15968 (case-table-get-table): New function.
15969 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15970
15971 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15972
15973 * progmodes/subword.el: Add `superword-mode' to do word motion
15974 over symbol_words (parallels and leverages `subword-mode' which
15975 does word motion inside MixedCaseWords).
15976
15977 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15978
15979 * eshell/em-unix.el: Move su and sudo to...
15980 * eshell/em-tramp.el: ...Eshell tramp module.
15981
15982 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15983
15984 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15985 Change return value to be a sexp. Delay `get-buffer' to after
15986 restoring the desktop (bug#13951).
15987
15988 2013-03-26 Leo Liu <sdl.web@gmail.com>
15989
15990 * register.el: Move semantic tag handling back to
15991 cedet/semantic/senator.el. (Bug#14052)
15992
15993 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15994
15995 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15996 into the prompt either (bug#13963).
15997
15998 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15999
16000 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16001 part of "(error-foo)".
16002
16003 2013-03-24 Juri Linkov <juri@jurta.org>
16004
16005 * replace.el (list-matching-lines-prefix-face): New defcustom.
16006 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16007 `occur-engine' if `face-differs-from-default-p' returns t.
16008 (occur-engine): Add `,' inside backquote construct to evaluate
16009 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16010 Pass `prefix-face' to the functions `occur-context-lines' and
16011 `occur-engine-add-prefix'.
16012 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16013 `prefix-face' and propertize the prefix with `prefix-face'.
16014 (Bug#14017)
16015
16016 2013-03-24 Leo Liu <sdl.web@gmail.com>
16017
16018 * nxml/rng-valid.el (rng-validate-while-idle)
16019 (rng-validate-quick-while-idle): Guard against deleted buffer.
16020 (Bug#13999)
16021
16022 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16023 is the last entry in kill-buffer-hook.
16024
16025 * files.el (kill-buffer-hook): Doc fix.
16026
16027 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16028
16029 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16030 Make it safe-local.
16031
16032 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16033
16034 2013-03-23 Leo Liu <sdl.web@gmail.com>
16035
16036 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16037 Remove.
16038
16039 * nxml/rng-valid.el (rng-validate-mode)
16040 (rng-after-change-function, rng-do-some-validation):
16041 * nxml/rng-maint.el (rng-validate-buffer):
16042 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16043 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16044 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16045 (nxml-extend-after-change-region): Use with-silent-modifications.
16046
16047 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16048 timer-idle-list.
16049
16050 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16051 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16052 timer-idle-list. (Bug#13999)
16053
16054 2013-03-23 Juri Linkov <juri@jurta.org>
16055
16056 * info.el (info-index-match): New face.
16057 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16058 main pattern and add text properties with the new face to matches
16059 in index entries relative to the beginning of the index entry.
16060 (Bug#14015)
16061
16062 2013-03-21 Eric Ludlam <zappo@gnu.org>
16063
16064 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16065 Inhibit read only while inserting objects.
16066
16067 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16068
16069 * progmodes/cfengine.el: Update docs to mention
16070 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16071 symbol motion. Remove "_" from the word syntax.
16072
16073 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16074
16075 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16076 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16077
16078 2013-03-20 Juri Linkov <juri@jurta.org>
16079
16080 * info.el (Info-next-reference-or-link)
16081 (Info-prev-reference-or-link): New functions.
16082 (Info-next-reference, Info-prev-reference): Use them.
16083 (Info-try-follow-nearest-node): Handle footnote navigation.
16084 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16085
16086 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16087
16088 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16089 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16090
16091 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16092
16093 Suppress unnecessary non-ASCII chatter during build process.
16094 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16095 (batch-skkdic-convert): Suppress most of the chatter.
16096 It's not needed so much now that machines are faster,
16097 and its non-ASCII component was confusing; see Dmitry Gutov in
16098 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16099
16100 2013-03-20 Leo Liu <sdl.web@gmail.com>
16101
16102 * ido.el (ido-chop): Fix bug#10994.
16103
16104 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16105
16106 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16107 Remove vars.
16108 (whitespace-color-on, whitespace-color-off):
16109 Use `font-lock-fontify-buffer' (Bug#13817).
16110
16111 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16112
16113 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16114 remapping in mode-line.
16115 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16116
16117 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16118
16119 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16120 value for `whitespace-line' face (Bug#13875).
16121 (whitespace-font-lock-keywords): Change description.
16122 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16123 the constructed keywords instead.
16124 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16125
16126 2013-03-19 Leo Liu <sdl.web@gmail.com>
16127
16128 * progmodes/compile.el (compilation-display-error): New command.
16129 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16130 C-o. (Bug#13992)
16131
16132 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16133
16134 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16135
16136 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16137
16138 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16139
16140 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16141
16142 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16143
16144 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16145 * net/tramp-gvfs.el (top):
16146 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16147 (tramp-handle-shell-command): Use it.
16148 (tramp-dissect-file-name): Raise an error when hostname is a
16149 method name, and neither method nor user is specified.
16150
16151 * net/trampver.el: Update release number.
16152
16153 2013-03-18 Leo Liu <sdl.web@gmail.com>
16154
16155 Make sure eldoc can be turned off properly.
16156 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16157 eldoc-mode.
16158 (eldoc-display-message-p): Revert last change.
16159 (eldoc-display-message-no-interference-p)
16160 (eldoc-print-current-symbol-info): Tweak.
16161
16162 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16163
16164 * doc-view.el (doc-view-new-window-function): Check the new window
16165 overlay's display property instead the char property of the
16166 buffer's first char. Use `with-selected-window' instead of
16167 `save-window-excursion' with `select-window'.
16168 (doc-view-document->bitmap): Check the current doc-view overlay's
16169 display property instead the char property of the buffer's first char.
16170
16171 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16172
16173 Automate the build of ja-dic.el (Bug#13984).
16174 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16175 from the input, rather than assume that it's been done for us by the
16176 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16177 the current date into a ja-dic.el comment, as that complicates
16178 regression testing.
16179
16180 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16181
16182 * whitespace.el: Fix double evaluation.
16183 (whitespace-space, whitespace-hspace, whitespace-tab)
16184 (whitespace-newline, whitespace-trailing, whitespace-line)
16185 (whitespace-space-before-tab, whitespace-indentation)
16186 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16187 obsolete defvars.
16188 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16189 (whitespace-color-on): Use a single font-lock-add-keywords call.
16190 Fix double-evaluation of face variables.
16191
16192 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16193
16194 * net/tramp-adb.el (tramp-adb-parse-device-names):
16195 Use `start-process' instead of `call-process'. Otherwise, the
16196 function might be blocked under MS Windows. (Bug#13299)
16197
16198 2013-03-17 Leo Liu <sdl.web@gmail.com>
16199
16200 Extend eldoc to display info in the mode-line. (Bug#13978)
16201 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16202 (eldoc-mode-line-string): New variable.
16203 (eldoc-minibuffer-message): New function.
16204 (eldoc-message-function): New variable.
16205 (eldoc-message): Use it.
16206 (eldoc-display-message-p)
16207 (eldoc-display-message-no-interference-p):
16208 Support eldoc-post-insert-mode.
16209
16210 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16211 (eval-expression): Run it.
16212
16213 2013-03-17 Roland Winkler <winkler@gnu.org>
16214
16215 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16216 strings in the list of return values.
16217
16218 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16219
16220 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16221 radix before checking for HMS forms.
16222
16223 2013-03-16 Leo Liu <sdl.web@gmail.com>
16224
16225 * progmodes/scheme.el: Add indentation and font-locking for λ.
16226 (Bug#13975)
16227
16228 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16229
16230 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16231 token before point (bug#13942).
16232
16233 2013-03-16 Leo Liu <sdl.web@gmail.com>
16234
16235 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16236
16237 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16238
16239 * startup.el (command-line-normalize-file-name): Fix handling of
16240 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16241 <xfq.free@gmail.com> in
16242 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16243
16244 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16245
16246 Sync with Tramp 2.2.7.
16247
16248 * net/trampver.el: Update release number.
16249
16250 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16251
16252 * doc-view.el: Fix bug#13887.
16253 (doc-view-insert-image): Don't modify overlay associated to
16254 non-live windows, and implement horizontal centering of image in
16255 case it's smaller than the window.
16256 (doc-view-new-window-function): Force redisplay of new windows on
16257 doc-view buffers.
16258
16259 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16260
16261 * saveplace.el (save-place-alist-to-file): Don't sort
16262 `save-place-alist', just pretty-print it (bug#13882).
16263
16264 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16265
16266 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16267 Check whether `default-file-name-coding-system' is bound.
16268 It isn't in XEmacs.
16269
16270 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16271
16272 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16273 backquotes for `obsolete' (bug#13929).
16274
16275 * international/mule.el (find-auto-coding): Include file name in
16276 obsolescence warning (bug#13922).
16277
16278 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16279
16280 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16281 for CFEngine 3-specific indentation.
16282 (cfengine3-indent-line): Use it. Fix up category regex.
16283 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16284
16285 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16286
16287 * type-break.el (type-break-file-name):
16288 * textmodes/remember.el (remember-data-file):
16289 * strokes.el (strokes-file):
16290 * shadowfile.el (shadow-initialize):
16291 * saveplace.el (save-place-file):
16292 * ps-bdf.el (bdf-cache-file):
16293 * progmodes/idlwave.el (idlwave-config-directory):
16294 * net/quickurl.el (quickurl-url-file):
16295 * international/kkc.el (kkc-init-file-name):
16296 * ido.el (ido-save-directory-list-file):
16297 * emulation/viper.el (viper-custom-file-name):
16298 * emulation/vip.el (vip-startup-file):
16299 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16300 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16301
16302 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16303
16304 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16305 * language/thai-word.el: Switch to UTF-8.
16306
16307 See ChangeLog.16 for earlier changes.
16308
16309 ;; Local Variables:
16310 ;; coding: utf-8
16311 ;; End:
16312
16313 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16314
16315 This file is part of GNU Emacs.
16316
16317 GNU Emacs is free software: you can redistribute it and/or modify
16318 it under the terms of the GNU General Public License as published by
16319 the Free Software Foundation, either version 3 of the License, or
16320 (at your option) any later version.
16321
16322 GNU Emacs is distributed in the hope that it will be useful,
16323 but WITHOUT ANY WARRANTY; without even the implied warranty of
16324 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16325 GNU General Public License for more details.
16326
16327 You should have received a copy of the GNU General Public License
16328 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.