* emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
[bpt/emacs.git] / lisp / ChangeLog
1 2014-06-06 Mario Lang <mlang@delysid.org>
2
3 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
4 `recenter' if `current-buffer' is equal to `window-buffer'.
5
6 2014-06-05 Leo Liu <sdl.web@gmail.com>
7
8 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9
10 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
11
12 * textmodes/tildify.el (tildify-foreach-region-outside-env): New
13 function which calls a callback on portions of the buffer that are
14 outside of ignored environments.
15 (tildify-build-regexp): Remove function since it is now
16 incorporated in `tildify-foreach-region-outside-env' where it is
17 optimised and simplified by the use of `mapconcat'.
18 (tildify-tildify): Return number of substitutions made so that…
19 (tildify-count): …can be removed.
20 (tildify-find-env): Accept a new PAIRS argument which was
21 previously looked up in `tildify-ignored-environments-alist' each
22 time the function was called. With this change, the lookup is
23 performed only once in `tildify-foreach-region-outside-env'.
24 (tildify-region): Greatly simplify the function since now most of
25 the work is done by `tildify-foreach-region-outside-env'.
26 (tildify-mode-alist): Simplify slightly by avoiding if and setq
27 and instead using or.
28
29 * textmodes/tildify.el (tildify-ignored-environments-alist):
30 Optimise environments regexes
31
32 Each time beginning of an environment to ignore is found,
33 `tildify-find-env' needs to identify regexp for the ending
34 of the environment. This is done by trying all the opening
35 regexes on matched text in a loop, so to speed that up, this
36 loop should have fewer things to match, which can be done by
37 using alternatives in the opening regexes.
38
39 Coincidentally, this should make matching of the opening
40 regexp faster as well thanks to the use of `regexp-opt' and
41 having common prefix pulled from many regexes.
42
43 * textmodes/tildify.el (tildify-string-alist)
44 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
45 of supported modes since `xml-mode' is no longer a thing but just
46 an alias to the former. Also include comments and insides of tags
47 in `tildify-ignored-environments-alist' for XML modes. Finally,
48 since XML does not define “&nbsp;”[1], use a numeric reference for
49 a no-break space (namely “&#160;”)
50
51 [1] XML specification defines only a handful of predefined entities.
52 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
53 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
54 >, &, ' and " respectively). This is in contrast to HTML and even
55 XHTML which defined a whole bunch of entities including “&nbsp;”.
56
57 * textmodes/tildify.el (tildify-pattern-alist)
58 (tildify-string-alist, tildify-ignored-environments-alist):
59 Improve defcustom's types by adding more tags explaining what each
60 value means and replace “sexp” used in
61 `tildify-ignored-environments-alist' with a full type declaration.
62
63 * textmodes/tildify.el (tildify-find-env): Fix matched group
64 indexes in end-regex building
65
66 When looking for a start of an ignore-environment, the regex is built
67 by concatenating regexes of all the environments configured in
68 `tildify-ignored-environments-alist'. So for example, the following
69 list could be used to match TeX's \verb and \verb* commands:
70
71 (("\\\\verb\\(.\\)" . (1))
72 ("\\\\verb\\*\\(.\\)" . (1)))
73
74 This would result in the following regex being used to find the start
75 of any of the variants of the \verb command:
76
77 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
78
79 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
80 won't match anything, and thus (match-string 1) will be nil, which
81 will cause building of the end-matching regex to fail.
82
83 Fix this by using capture groups from the time when the opening
84 regexes are matched individually.
85
86 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
87 in `tildify-find-env'
88
89 The `tildify-ignored-environments-alist' allows the end-regex to
90 be provided not as a static string but mix of strings and indexes
91 of groups matched the begin-regex. For example, the “\verb!…!”
92 TeX-command (where “!” is an arbitrary character) is handled
93 using:
94
95 ("\\\\verb\\*?\\(.\\)" . (1))
96
97 In the same way, the following should be supported as well:
98
99 ("open-\\(.\\)" . ("end-" 1))
100
101 However the tildify-find-env function fails at
102
103 (concat result
104 (if (stringp (setq aux (car expression)))
105 expression ; BUG: expression is a list
106 (regexp-quote (match-string aux))))
107
108 where the string part is handled incorrectly.
109
110 The most trivial fix would be to replace `expression' in the
111 true-part of the if-statement with `aux', but instead, this commit
112 optimises `tildify-find-env' by changing it to use `mapconcat'
113 rather than open-coded while-loop.
114
115 2014-06-05 Mario Lang <mlang@delysid.org>
116
117 * woman.el (woman-mapcan): Remove.
118 (woman-parse-colon-path): Use cl-mapcan instead.
119
120 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
121
122 * register.el: Add link to Emacs manual in Commentary.
123
124 2014-06-02 Sam Steingold <sds@gnu.org>
125
126 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
127 (popup-menu): ...here.
128 (menu-bar-open): Use it to avoid an error when `lookup-key'
129 returns a number.
130
131 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
132
133 * net/tramp.el (tramp-call-process): Add traces.
134 (tramp-handle-unhandled-file-name-directory): Return "/".
135
136 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
137
138 Sync with upstream verilog-mode revision 3cd8144.
139 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
140 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
141 (verilog-type-font-keywords): Add nor.
142 (verilog-batch-execute-func): Force reading of Local Variables.
143 Fix printing "no changes to be saved" with verilog-batch.
144 (verilog-auto-arg-ports): Doc fix.
145 Add verilog-auto-arg-format to support newlines in AUTOARG.
146 (verilog-auto-arg): Doc fix.
147
148 2014-06-02 Glenn Morris <rgm@gnu.org>
149
150 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
151 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
152 * emulation/ws-mode.el: Move to obsolete/.
153 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
154
155 2014-06-02 Eli Zaretskii <eliz@gnu.org>
156
157 * simple.el (keyboard-quit): Force update of mode lines, to remove
158 the "Def" indicator, if we were defining a macro. (Bug#17615)
159
160 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * minibuffer.el (minibuffer-force-complete-and-exit):
163 Obey minibuffer-default (bug#17545).
164
165 * progmodes/js.el (js-indent-line): Don't mix columns and chars
166 (bug#17619).
167
168 * subr.el (set-transient-map): Don't wait for some "nested"
169 transient-map to finish if we're only supposed to be active for
170 the next command (bug#17642).
171
172 2014-06-02 Leo Liu <sdl.web@gmail.com>
173
174 * emacs-lisp/gv.el (window-buffer, window-display-table)
175 (window-dedicated-p, window-hscroll, window-point, window-start):
176 Fix gv-expander. (Bug#17630)
177
178 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
181 clicks (bug#17633).
182
183 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
184 for the single comma, since ", " is *very* common in normal French text
185 (bug#17643).
186
187 2014-06-02 Glenn Morris <rgm@gnu.org>
188
189 * emacs-lisp/package.el (package-check-signature)
190 (package-unsigned-archives): Fix :version.
191
192 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * subr.el (sit-for): Don't run input-methods (bug#15614).
195
196 2014-06-02 Glenn Morris <rgm@gnu.org>
197
198 * cus-start.el: Fix some :version numbers.
199
200 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * simple.el (deactivate-mark): Set mark-active to nil even if
203 deactivation is done via setting transient-mark-mode to nil,
204 since one is buffer-local and the other is global.
205
206 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
207 there can't be more than 2 arguments (bug#17584).
208
209 2014-06-02 Glenn Morris <rgm@gnu.org>
210
211 * simple.el (filter-buffer-substring-functions)
212 (filter-buffer-substring-function, buffer-substring-filters)
213 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
214
215 * minibuffer.el (completion-in-region-functions, completion-in-region)
216 (completion--in-region): Doc fixes.
217
218 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
219 (expand-abbrev, abbrev--default-expand): Doc fixes.
220
221 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
222
223 Include sources used to create macuvs.h.
224 * international/README: Refer to the Unicode Terms of Use rather
225 than copying it bodily here, as that simplifies maintenance.
226
227 2014-06-01 Glenn Morris <rgm@gnu.org>
228
229 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
230
231 2014-05-31 Glenn Morris <rgm@gnu.org>
232
233 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
234
235 2014-05-30 Glenn Morris <rgm@gnu.org>
236
237 * loadup.el: Treat `command-line-args' more flexibly.
238
239 2014-05-30 Alan Mackenzie <acm@muc.de>
240
241 Guard (looking-at "\\s!") from XEmacs.
242 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
243
244 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
245
246 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
247 argument COUNT is now optional, to be more backward-compatible.
248 Doc fix. (Bug#17560)
249
250 2014-05-29 Reuben Thomas <rrt@sc3d.org>
251
252 * whitespace.el (whitespace-report-region): Simplify
253 documentation.
254 (whitespace-report-region): Allow report-if-bogus to take the
255 value `never', for non-interactive use.
256 (whitespace-report): Refer to whitespace-report-region's
257 documentation.
258
259 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * whitespace.el: Use font-lock-flush. Minimize refontifications.
262 Side benefit: it works without jit-lock.
263 (whitespace-point--used): New buffer-local var.
264 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
265 (whitespace-color-off): Use font-lock-flush.
266 (whitespace-point--used, whitespace-point--flush-used): New functions.
267 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
268 (whitespace-empty-at-eob-regexp): Use them.
269 (whitespace-post-command-hook): Rewrite.
270
271 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
272 (font-lock-fontify-buffer): Mark interactive-only.
273 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
274 Make buffer-local.
275 (font-lock-specified-p): Remove redundant boundp check.
276 (font-lock-flush-function, font-lock-ensure-function): New vars.
277 (font-lock-turn-on-thing-lock): Set them.
278 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
279 (font-lock-after-change-function): Make `old-len' optional.
280 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
281 Call font-lock-flush, just in case.
282 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
283 recent Emacsen.
284 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
285 (vera-mode-map, vera-mode-menu): Remove bindings to it.
286 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
287 and with-syntax-table.
288 * textmodes/conf-mode.el (conf-quote-normal):
289 * progmodes/sh-script.el (sh-set-shell):
290 * progmodes/prog-mode.el (prettify-symbols-mode):
291 * progmodes/f90.el (f90-font-lock-n):
292 * progmodes/cwarn.el (cwarn-mode):
293 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
294 * progmodes/compile.el (compilation-setup, compilation--unsetup):
295 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
296 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
297 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
298 font-lock-fontify-buffer-function and
299 font-lock-unfontify-buffer-function.
300 (rmail-unfontify-buffer-function, rmail-fontify-message):
301 Use with-silent-modifications.
302 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
303 and font-lock-ensure.
304 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
305
306 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
307
308 * emacs-lisp/package.el (package-generate-autoloads):
309 Inhibit backup files.
310
311 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
312
313 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
314 (bug#17608).
315
316 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
317
318 * textmodes/tildify.el (tildify-buffer, tildify-region):
319 Add dont-ask option.
320
321 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
324 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
325
326 * subr.el (internal--funcall-interactively): New.
327 (internal--call-interactively): Remove.
328 (called-interactively-p): Detect funcall-interactively instead of
329 call-interactively.
330 * simple.el (repeat-complex-command): Use funcall-interactively.
331 (repeat-complex-command--called-interactively-skip): Remove.
332
333 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * register.el (register-read-with-preview): Don't burp on
336 frame switches (e.g. due to the frame we just popped).
337
338 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
339 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
340
341 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
342
343 * cus-face.el (custom-face-attributes): Add :distant-foreground.
344
345 2014-05-26 Martin Rudalics <rudalics@gmx.at>
346
347 * window.el (window--dump-frame): Remove interactive specification.
348
349 2014-05-26 Glenn Morris <rgm@gnu.org>
350
351 * hippie-exp.el (he-line-search-regexp):
352 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
353
354 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
355
356 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
357 to avoid errors when trying to create or visit a file foo.todo
358 located outside to todo-directory, and to allow having such files
359 without them being tied to Todo mode (bug#17482).
360 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
361 (todo-archive-done-item, todo-find-filtered-items-file)
362 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
363 (todo-category-completions, todo-read-category): When visiting a
364 Todo file, make sure we're in the right mode and the buffer local
365 variables are set.
366 (todo-make-categories-list, todo-reset-nondiary-marker)
367 (todo-reset-done-string, todo-reset-comment-string):
368 After processing all Todo files, kill the buffers of those files that
369 weren't being visited before the processing.
370 (todo-display-as-todo-file, todo-add-to-buffer-list)
371 (todo-visit-files-commands): Comment out.
372 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
373 (auto-mode-alist): Remove add-to-list calls making Todo file
374 extensions unrestrictedly tied to Todo modes.
375
376 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
379 (advice-function-member-p): Tell it to check both names and functions
380 (bug#17531).
381 (advice--add-function): Adjust call accordingly.
382
383 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
384
385 * calendar/todo-mode.el: Miscellaneous bug fixes.
386 (todo-delete-file): When deleting an archive but not its todo
387 file, make sure to update the todo file's category sexp.
388 (todo-move-category): Keep the moved category's name unless the
389 file moved to already has a category with that name. If the
390 numerically last category of the source file was moved, make the
391 first category current to avoid selecting a nonexisting category.
392 (todo-merge-category): Fix implementation to make merging to a
393 category in another file work as documented. Eliminate now
394 insufficient and unnecessary renaming of archive category, correct
395 document string accordingly, and clarify it. If the numerically
396 last category of the source file was merged, make the first
397 category current to avoid selecting a nonexisting category.
398 (todo-archive-done-item): When there are marked items and point
399 happens to be on an unmarked item, ignore the latter. Don't leave
400 point below last item after archiving marked items.
401 (todo-unarchive-items): Fix logic to ensure unarchiving an item
402 from an archive with only one category deletes the archive only
403 when the category is empty after unarchiving. Make sure the todo
404 file's category sexp is updated.
405 (todo-read-file-name): Allow an existing file name even when it is
406 not required (todo-move-category needs this to work as documented).
407 (todo-add-file): Call todo-validate-name to reject the name of an
408 existing todo file (needed due to fix in todo-read-file-name).
409 (todo-reset-nondiary-marker): Also reset in filtered items files.
410 (todo-reset-done-string, todo-reset-comment-string): Also reset in
411 regexp filtered items files.
412 (todo-reset-highlight-item): Also reset in filtered items files.
413 Fix incorrect variable reference in document string.
414
415 2014-05-26 Glenn Morris <rgm@gnu.org>
416
417 * window.el (window--dump-frame): Avoid error in --without-x builds.
418
419 2014-05-26 Glenn Morris <rgm@gnu.org>
420
421 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
422
423 2014-05-26 Eli Zaretskii <eliz@gnu.org>
424
425 * frame.el (set-frame-font): Doc fix.
426
427 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
428
429 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
430
431 * emacs-lisp/package.el (package--download-one-archive):
432 Use `write-region' instead of `save-buffer' to avoid running various
433 hooks. (Bug#17155)
434 (describe-package-1): Same. Insert newline at the end of the
435 buffer if appropriate.
436
437 2014-05-26 Juri Linkov <juri@jurta.org>
438
439 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
440 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
441 Add more modifiers: meta, control, shift, hyper, super, alt.
442 (Bug#17439)
443
444 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
445 to allow changing its value with `set-variable'.
446
447 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
450 #; comments.
451 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
452 New functions.
453 (scheme-mode-variables): Set syntax-propertize-function instead of
454 font-lock-syntactic-face-function.
455 (scheme-font-lock-syntactic-face-function): Delete.
456
457 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
458
459 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
460 (bug#17392).
461
462 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
463
464 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
465 for a temporary file name.
466
467 2014-05-26 Eli Zaretskii <eliz@gnu.org>
468
469 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
470
471 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
472
473 * net/dbus.el (dbus-init-bus, dbus-call-method)
474 (dbus-call-method-asynchronously, dbus-send-signal)
475 (dbus-method-return-internal, dbus-method-error-internal):
476 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
477
478 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
479
480 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
481 methods which do not have a doc string. (Bug#17490)
482
483 2014-05-25 Tassilo Horn <tsdh@gnu.org>
484
485 * textmodes/reftex-ref.el (reftex-format-special): Make it work
486 also for AMS Math's \eqref macro.
487
488 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
489
490 Arrange to never byte-compile the generated -pkg.el file.
491
492 * emacs-lisp/package.el (package-generate-description-file):
493 Output first-line comment to set buffer-local var `no-byte-compile'.
494 Suggested by Dmitry Gutov:
495 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
496
497 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
498
499 Fix bug: Properly quote args to generated -pkg.el `define-package'.
500
501 * emacs-lisp/package.el (package-generate-description-file):
502 Inline `package--alist-to-plist'; rewrite to selectively
503 quote alist values that are not self-quoting.
504 (package--alist-to-plist): Delete func.
505
506 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
507
508 * term/xterm.el (xterm-function-map): Add mapping for shifted
509 keypad keys.
510
511 2014-05-24 Daniel Colascione <dancol@dancol.org>
512
513 * progmodes/subword.el (subword-find-word-boundary): Move point to
514 correct spot before search. (Bug#17580)
515
516 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
517 breaking the build.
518
519 2014-05-24 Leo Liu <sdl.web@gmail.com>
520
521 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
522
523 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
524
525 * minibuffer.el (completion--sreverse): Remove.
526 (completion--common-suffix): Use `reverse' instead.
527 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
528
529 2014-05-22 Glenn Morris <rgm@gnu.org>
530
531 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
532
533 2014-05-21 Daniel Colascione <dancol@dancol.org>
534
535 * files.el (interpreter-mode-alist): Add mksh.
536
537 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
538 derivative.
539 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
540 mksh. Improve custom spec; allow regular expressions.
541 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
542 (sh-after-hack-local-variables): New function.
543 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
544 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
545 the normalization.
546 (sh-canonicalize-shell): Rewrite to support regexes.
547
548 2014-05-21 Leo Liu <sdl.web@gmail.com>
549
550 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
551
552 2014-05-19 Leo Liu <sdl.web@gmail.com>
553
554 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
555
556 2014-05-18 Glenn Morris <rgm@gnu.org>
557
558 * loadup.el:
559 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
560
561 2014-05-14 Sam Steingold <sds@gnu.org>
562
563 * progmodes/python.el (python-shell-get-or-create-process):
564 Do not bind `current-prefix-arg' so that C-c C-z does not talk
565 back unless requested.
566
567 2014-05-14 Glenn Morris <rgm@gnu.org>
568
569 * subr.el (with-file-modes): New macro.
570 * printing.el (pr-save-file-modes): Make obsolete.
571 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
572 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
573 Add with-file-modes.
574 * doc-view.el (doc-view-make-safe-dir):
575 * epg.el (epg--start):
576 * files.el (locate-user-emacs-file, make-temp-file)
577 (backup-buffer-copy, move-file-to-trash):
578 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
579 * eshell/esh-util.el (eshell-with-private-file-modes)
580 (eshell-make-private-directory):
581 * net/browse-url.el (browse-url-mosaic):
582 * obsolete/mailpost.el (post-mail-send-it):
583 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
584 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
585 Use with-file-modes.
586
587 * vc/emerge.el (emerge-make-temp-file): Simplify.
588
589 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
590 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
593 suffix (bug#15419).
594
595 2014-05-14 Glenn Morris <rgm@gnu.org>
596
597 * vc/emerge.el (emerge-temp-file-prefix):
598 Make pointless option obsolete.
599 (emerge-temp-file-mode): Make non-functional option obsolete.
600
601 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
602
603 * net/browse-url.el (browse-url):
604 Use `unhandled-file-name-directory' when setting `default-directory',
605 in order to circumvent stalled remote connections. (Bug#17425)
606
607 2014-05-14 Glenn Morris <rgm@gnu.org>
608
609 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
610 Optimize on Emacs, which has the relevant functions for ages.
611
612 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * simple.el (undo-make-selective-list): Obey undo-no-redo.
615
616 2014-05-12 Sam Steingold <sds@gnu.org>
617
618 * calendar/time-date.el (seconds-to-string): New function to
619 pretty print time delay in seconds.
620
621 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * mpc.el (mpc-format): Trim Date to the year.
624 (mpc-songs-hashcons): Shorten the Date field.
625
626 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
627 into autoloading just because of a silly indirection.
628
629 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
630
631 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
632
633 2014-05-12 Glenn Morris <rgm@gnu.org>
634
635 * emacs-lisp/find-gc.el: Move to ../admin.
636
637 * printing.el (pr-version):
638 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
639
640 * net/browse-url.el (browse-url-mosaic):
641 Create /tmp/Mosaic.PID as a private file.
642
643 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
646 (advice--member-p): If name is given, only compare the name.
647 (advice--remove-function): Don't stop at the first match.
648 (advice--normalize-place): New function.
649 (add-function, remove-function): Use it.
650 (advice--add-function): Pass the name, if any, to
651 advice--remove-function.
652
653 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
654
655 * electric.el (electric-indent-post-self-insert-function): Don't use
656 `pos' after modifying the buffer (bug#17449).
657
658 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
659
660 * calendar/todo-mode.el (todo-insert-item-from-calendar):
661 Correct argument list to conform to todo-insert-item--basic.
662
663 2014-05-12 Glenn Morris <rgm@gnu.org>
664
665 * files.el (cd-absolute): Test if directory is accessible
666 rather than executable. (Bug#17330)
667
668 * progmodes/compile.el (recompile):
669 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
670
671 * net/browse-url.el (browse-url-mosaic):
672 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
673 This is CVE-2014-3423.
674
675 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * mouse.el: Use the normal toplevel loop while dragging.
678 (mouse-set-point): Handle multi-clicks.
679 (mouse-set-region): Handle multi-clicks for drags.
680 (mouse-drag-region): Update call accordingly.
681 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
682 Use the normal event loop instead of a local while/read-event loop.
683 (global-map): Remove redundant bindings for double/triple-mouse-1.
684 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
685 Generate synthetic down events when the protocol only sends up events.
686 (xterm-mouse-last): Remove.
687 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
688 terminal parameter instead.
689 (xterm-mouse--set-click-count): New function.
690 (xterm-mouse-event): Detect/generate double/triple clicks.
691 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
692
693 * info.el (Info-quoted): New face.
694 (Info-mode-font-lock-keywords): New var.
695 (Info-mode): Use it.
696
697 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
698 are a hindrance for C-x C-e.
699
700 2014-05-11 Leo Liu <sdl.web@gmail.com>
701
702 * net/rcirc.el (rcirc-sentinel): Fix last change.
703
704 2014-05-08 Sam Steingold <sds@gnu.org>
705
706 * net/rcirc.el (rcirc-reconnect-delay): New user option.
707 (rcirc-sentinel): Auto-reconnect to the server if
708 `rcirc-reconnect-delay' is non-0 (but not more often than its
709 value in case the host is off-line).
710
711 2014-05-09 Eli Zaretskii <eliz@gnu.org>
712
713 * progmodes/grep.el (lgrep): Fix a typo in last commit.
714
715 2014-05-09 Glenn Morris <rgm@gnu.org>
716
717 * files.el (file-expand-wildcards):
718 * man.el (Man-support-local-filenames):
719 * printing.el (pr-i-directory, pr-interface-directory):
720 * progmodes/grep.el (lgrep, rgrep):
721 * textmodes/ispell.el (ispell-call-process)
722 (ispell-call-process-region, ispell-start-process)
723 (ispell-init-process): Use file-accessible-directory-p.
724
725 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
728 (xterm-mouse--read-event-sequence-1000): Return nil if something
729 looks fishy.
730 (xterm-mouse-event): Propagate it.
731 (xterm-mouse-translate-1): Handle it.
732
733 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
734
735 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
736 four slots of the parameter list are filled, make sure to pass it
737 to the argument list of todo-insert-item--basic.
738
739 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
742 Add optional `seen' argument to detect and break infinite loops.
743
744 2014-05-08 Eli Zaretskii <eliz@gnu.org>
745
746 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
747 (trace-unsafe, trace-use-tree): Make parentheses style be
748 according to Emacs style.
749
750 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
751
752 * net/tramp-sh.el (tramp-remote-process-environment):
753 Remove HISTFILE and HISTSIZE; it's too late to set them here.
754 Add :version entry.
755 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
756 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
757 extra "PSx=..." commands.
758 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
759 (Bug#17295)
760
761 (tramp-uudecode): Replace the hard-coded temporary file name by a
762 format specifier.
763 (tramp-remote-coding-commands): Enhance docstring.
764 (tramp-find-inline-encoding): Replace "%t" by a temporary file
765 name. (Bug#17415)
766 This is CVE-2014-3424.
767
768 2014-05-08 Glenn Morris <rgm@gnu.org>
769
770 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
771 (find-gc-source-files): Update some names.
772 (trace-call-tree): Simplify and update.
773 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
774 This is CVE-2014-3422.
775
776 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * minibuffer.el (completion--try-word-completion): Revert fix for
779 Bug#15980 (bug#17375).
780
781 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
782 Always store button numbers in the same way in xterm-mouse-last;
783 Don't burp is xterm-mouse-last is not set as expected.
784 Never return negative indices.
785
786 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
787
788 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
789 Backtrack one char if the global/char-literal var matcher hits
790 inside a string. The next char could be the beginning of an
791 expression expansion.
792
793 2014-05-08 Glenn Morris <rgm@gnu.org>
794
795 * help-fns.el (describe-function-1): Test for an autoload before a
796 macro, since `macrop' works on autoloads. (Bug#17410)
797
798 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * electric.el (electric-indent-functions-without-reindent): Add yaml.
801
802 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
803 Make sure the new point we return is within the new string (bug#17239).
804
805 2014-05-05 Daniel Colascione <dancol@dancol.org>
806
807 * progmodes/compile.el (compilation-error-regexp-alist-alist):
808 Port `gnu' pattern to rx.
809
810 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
811
812 Remove unneeded prompt when closing a buffer with active
813 emacsclient ("Buffer ... still has clients"), #16548.
814 * server.el (server-start): Remove the only call to:
815 (server-kill-buffer-query-function): Remove.
816
817 2014-05-04 Leo Liu <sdl.web@gmail.com>
818
819 * calendar/diary-lib.el (calendar-chinese-month-name-array):
820 Defvar to pacify compiler.
821
822 2014-05-04 Eli Zaretskii <eliz@gnu.org>
823
824 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
825
826 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
829 Use nil rather than `default' for the "default" appearance (bug#17388).
830 * vc/ediff-util.el (ediff-inferior-compare-regions)
831 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
832 a misleading `default' value when it's really a boolean.
833 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
834 overlay is not visible.
835
836 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
837
838 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
839 (todo-menu): Uncomment and update.
840
841 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
842
843 * calendar/todo-mode.el: Reimplement item editing to have the same
844 basic user interface as item insertion, and make small UI and
845 larger internal improvements to the latter.
846 (todo-insert-item): Add reference to the Todo mode user manual to
847 the documentation string.
848 (todo-insert-item--basic): Rename from todo-basic-insert-item and
849 adjust all callers. Change signature to combine diary and
850 nonmarking arguments. Incorporate functionality of deleted item
851 copying command and add error checking. Remove detailed
852 descriptions of the arguments from the documentation string, since
853 this is treated in the Todo mode user manual.
854 (todo-copy-item, todo-edit-multiline-item)
855 (todo-edit-done-item-comment, todo-edit-item-header)
856 (todo-edit-item-time, todo-edit-item-date-from-calendar)
857 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
858 (todo-edit-item-date-year, todo-edit-item-date-month)
859 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
860 Remove.
861 (todo-edit-item): Reimplement as wrapper command for
862 todo-edit-item--next-key and make it distinguish done and not done
863 todo items.
864 (todo-edit-item--text): New function, replacing old command
865 todo-edit-item and incorporating deleted commands
866 todo-edit-multiline-item and todo-edit-done-item-comment.
867 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
868 Use only numeric value of prefix argument. Remove detailed
869 descriptions of the arguments from the documentation string, since
870 this is treated in the Todo mode user manual.
871 (todo-edit-item--diary-inclusion): New function, replacing old
872 command todo-edit-item-diary-inclusion and incorporating and fixing
873 functionality of deleted command todo-edit-item-diary-nonmarking,
874 making sure to remove todo-nondiary-marker when adding
875 diary-nonmarking-symbol.
876 (todo-edit-category-diary-inclusion): Make sure to delete
877 diary-nonmarking-symbol when adding todo-nondiary-marker.
878 (todo-edit-category-diary-nonmarking): Fix indentation.
879 (todo-insert-item--parameters): Group diary and nonmarking
880 parameters together.
881 (todo-insert-item--apply-args): Adjust to signature of
882 todo-insert-item--basic and incorporate copy parameter.
883 Make small code improvements.
884 (todo-insert-item--next-param): Improve prompt and adjust it to
885 new parameter grouping. Remove obsolete code.
886 (todo-edit-item--param-key-alist)
887 (todo-edit-item--date-param-key-alist)
888 (todo-edit-done-item--param-key-alist): New defconsts.
889 (todo-edit-item--prompt): New variable.
890 (todo-edit-item--next-key): New function.
891 (todo-key-bindings-t): Bind "e" to todo-edit-item.
892 Remove bindings of deleted commands.
893
894 2014-05-04 Leo Liu <sdl.web@gmail.com>
895
896 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
897
898 2014-05-04 Glenn Morris <rgm@gnu.org>
899
900 * allout-widgets.el (allout-widgets-tally)
901 (allout-decorate-item-guides):
902 * menu-bar.el (menu-bar-positive-p):
903 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
904 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
905 * progmodes/js.el (js--inside-param-list-p)
906 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
907 * progmodes/prolog.el (region-exists-p):
908 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
909 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
910 Doc fixes (replace `iff').
911
912 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
915
916 2014-05-04 Leo Liu <sdl.web@gmail.com>
917
918 Support Chinese diary entries in calendar and diary. (Bug#17393)
919 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
920 (calendar-chinese-from-absolute-for-diary)
921 (calendar-chinese-to-absolute-for-diary)
922 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
923 (diary-chinese-list-entries): New functions to list and mark
924 Chinese diary entries in the calendar window.
925 (diary-chinese-anniversary)
926 (diary-chinese-insert-anniversary-entry)
927 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
928 (diary-chinese-insert-yearly-entry): New commands to insert
929 Chinese diary entries.
930
931 * calendar/diary-lib.el (diary-font-lock-keywords):
932 Support font-locking Chinese dates.
933
934 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
935 inserting Chinese diary entries.
936
937 * calendar/calendar.el (diary-chinese-entry-symbol):
938 New customizable variable.
939 (calendar-mode-map): Add bindings for inserting Chinese diary
940 entries.
941
942 2014-05-03 Juri Linkov <juri@jurta.org>
943
944 * dired.el (dired-check-switches, dired-switches-recursive-p):
945 New functions. (Bug#17218)
946 (dired-switches-escape-p, dired-move-to-end-of-filename):
947 Use `dired-check-switches'.
948 (dired-insert-old-subdirs, dired-build-subdir-alist)
949 (dired-sort-R-check): Use `dired-switches-recursive-p'.
950
951 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
952
953 * simple.el (undo-make-selective-list): New algorithm fixes
954 incorrectness of position adjustments when undoing in region.
955 (Bug#17235)
956 (undo-elt-crosses-region): Make obsolete.
957 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
958 New functions to adjust positions using undo-deltas.
959
960 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
961
962 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
963 the last consecutive closing paren (bug#17345).
964
965 2014-04-30 Reuben Thomas <rrt@sc3d.org>
966
967 * dired.el (dired-mode): make terminology for eXpunge command
968 consistent. (Bug#17276)
969
970 2014-04-30 Eli Zaretskii <eliz@gnu.org>
971
972 * dired.el (dired-initial-position-hook, dired-initial-position):
973 Doc string fixes.
974
975 2014-04-30 Glenn Morris <rgm@gnu.org>
976
977 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
978
979 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
980
981 * faces.el (face-spec-recalc): Apply X resources only after the
982 defface spec has been applied. Thus, X resources are no longer
983 overriden by the defface spec which also fixes issues on win32 where
984 the toolbar coloring was wrong because it is set through X resources
985 and was (wrongfully) overriden. (Bug#16694)
986
987 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * textmodes/rst.el (electric-pair-pairs): Declare.
990 (rst-mode): Set it (bug#17131).
991
992 2014-04-30 Juri Linkov <juri@jurta.org>
993
994 * desktop.el (desktop-value-to-string): Let-bind `print-length'
995 and `print-level' to nil. (Bug#17351)
996
997 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
998
999 * battery.el (battery-update): Handle the case where battery
1000 status is "N/A" (bug#17319).
1001
1002 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1005 to syntax-propertize.
1006 (ps-mode-auto-indent): Mark as obsolete.
1007 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1008 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1009 word regexp operators.
1010 (ps-mode-map): Move initialization into declaration. Remove binding
1011 for TAB, RET, >, ], and }.
1012 (ps-mode-syntax-table): Move initialization into declaration.
1013 Don't give word syntax to non-word chars.
1014 (ps-run-mode-map): Move initialization into declaration.
1015 (ps-mode-menu-main): Remove auto-indent entry.
1016 (ps-mode-smie-rules): New function.
1017 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1018 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1019 (ps-mode--string-syntax-table): New const.
1020 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1021 New functions.
1022 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1023 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1024
1025 2014-04-27 Daniel Colascione <dancol@dancol.org>
1026
1027 * term/xterm.el (xterm-paste): Use large finite timeout when
1028 reading event to avoid putting keys in this-command-keys.
1029
1030 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1033 (perl-syntax-propertize-function): Use it. Extend handling of
1034 here-docs to the unquoted case.
1035
1036 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1037
1038 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1039 Use equal-including-properties to compare help-echo strings (bug#17331).
1040
1041 2014-04-25 Leo Liu <sdl.web@gmail.com>
1042
1043 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1044 Fix syntax for @. (Bug#17325)
1045
1046 2014-04-25 Daniel Colascione <dancol@dancol.org>
1047
1048 * emacs-lisp/cl.el (gv): Require gv early to break eager
1049 macro-expansion cycles.
1050
1051 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * simple.el (region-active-p): Check there's a mark (bug#17324).
1054
1055 * simple.el (completion-list-mode-map): Use choose-completion for the
1056 mouse binding as well (bug#17302).
1057 (completion-list-mode, completion-setup-function): Adjust docstring and
1058 echo area message accordingly.
1059 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1060 calling convention of choose-completion.
1061 * comint.el (comint-dynamic-list-completions):
1062 * term.el (term-dynamic-list-completions): Accept choose-completion.
1063
1064 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1065 &, |, +, - and * can't be a division (bug#17317).
1066
1067 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1068 features on gnome-terminal (bug#16988).
1069
1070 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1071
1072 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1073
1074 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1075 the declared object, ignore zero or more parens, not zero or one.
1076
1077 2014-04-24 Leo Liu <sdl.web@gmail.com>
1078
1079 * progmodes/xscheme.el (xscheme-expressions-ring)
1080 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1081 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1082 (xscheme-allow-output-p, xscheme-prompt)
1083 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1084
1085 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1086 Comment out unused functions.
1087
1088 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1089
1090 * info.el: Use lexical-binding and cl-lib.
1091 Use defvar-local and setq-local instead of make-local-variable.
1092 (Info-apropos-matches): Avoid add-to-list.
1093 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1094
1095 2014-04-24 Daniel Colascione <dancol@dancol.org>
1096
1097 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1098
1099 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1100
1101 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1102
1103 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1104
1105 * dired.el (dired-insert-set-properties): Do not consider
1106 subdirectory headings and empty lines to be information that
1107 `dired-hide-details-mode' should hide. (Bug#17228)
1108
1109 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1110
1111 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1112 Remove test messages.
1113 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1114 and `target' twice.
1115
1116 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1119 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1120
1121 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1122
1123 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1124
1125 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1126 Set "IFS=" when using read builtin, in order to preserve spaces in
1127 the file name. Add test messages for hunting a bug on hydra.
1128 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1129
1130 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1131
1132 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1133 Don't prettify a word within a symbol.
1134
1135 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1136
1137 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1138 possible.
1139
1140 2014-04-22 Daniel Colascione <dancol@dancol.org>
1141
1142 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1143 use defun to define `function-put'.
1144
1145 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1148 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1149 (lisp-mode-variables): Set font-lock-extra-managed-props.
1150
1151 * emacs-lisp/byte-run.el (function-put): New function.
1152 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1153 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1154 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1155 Use them.
1156
1157 2014-04-22 Daniel Colascione <dancol@dancol.org>
1158
1159 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1160 Add `full-p' parameter; when nil, call `macroexpand' instead of
1161 `macroexpand-all'.
1162
1163 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1164 Improve docstrings.
1165
1166 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1167 Use lambda function values, not quoted lambdas.
1168 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1169
1170 * emacs-lisp/cl-macs.el
1171 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1172 (cl-struct-slot-value): Conditionally use aref or nth so that the
1173 compiler produces optimal code.
1174
1175 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1178 (inline): Don't inline cl--set-elt.
1179 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1180 Define as inlinable instead.
1181 (cl-struct-set-slot-value): Remove.
1182
1183 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1184 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1185 Use setf instead.
1186
1187 2014-04-21 Daniel Colascione <dancol@dancol.org>
1188
1189 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1190 last two parameters after all.
1191 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1192 (cl--compiler-macro-assoc,cl-struct-slot-value)
1193 (cl-struct-set-slot-value): Stop using them.
1194
1195 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1198 entry in image-mode-winprops-alist.
1199
1200 2014-04-21 Daniel Colascione <dancol@dancol.org>
1201
1202 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1203 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1204 (byte-compile-toplevel-file-form): Use it.
1205
1206 * emacs-lisp/cl-macs.el:
1207 (cl--loop-let): Properly destructure `while' clauses.
1208
1209 2014-04-20 Daniel Colascione <dancol@dancol.org>
1210
1211 * vc/vc.el (vc-root-dir): New public autoloaded function for
1212 generically finding the current VC root.
1213 * vc/vc-hooks.el (vc-not-supported): New error.
1214 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1215
1216 2014-04-20 Daniel Colascione <dancol@dancol.org>
1217
1218 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1219 argument.
1220 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1221 argument in case we're inside a symbol-macrolet.
1222 (cl--do-arglist, cl--compiler-macro-typep)
1223 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1224 environment to `cl--const-expr-val'.
1225 (cl-struct-sequence-type,cl-struct-slot-info)
1226 (cl-struct-slot-offset, cl-struct-slot-value)
1227 (cl-struct-set-slot-value): New functions.
1228
1229 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1230
1231 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1232 assignments such as "case=hello" (bug#17297).
1233
1234 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1235
1236 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1237 Do not autoload.
1238 (tramp-file-name-handler, tramp-completion-file-name-handler):
1239 Revert patch from 2014-04-10, it isn't necessary anymore.
1240 (tramp-autoload-file-name-handler)
1241 (tramp-register-autoload-file-name-handlers): New defuns.
1242 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1243 (tramp-register-file-name-handlers): Remove also
1244 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1245 Do not autoload its invocation, but eval it after loading of 'tramp.
1246
1247 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1248
1249 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1250
1251 2014-04-17 Daniel Colascione <dancol@dancol.org>
1252
1253 Add support for bracketed paste mode; add infrastructure for
1254 managing terminal mode enabling and disabling automatically.
1255
1256 * xt-mouse.el:
1257 (xterm-mouse-mode): Simplify.
1258 (xterm-mouse-tracking-enable-sequence)
1259 (xterm-mouse-tracking-disable-sequence): New constants.
1260 (turn-on-xterm-mouse-tracking-on-terminal)
1261 (turn-off-xterm-mouse-tracking-on-terminal):
1262 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1263 parameters instead of random hooks.
1264 (turn-on-xterm-mouse-tracking)
1265 (turn-off-xterm-mouse-tracking): Delete.
1266
1267 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1268 (xterm-paste-ending-sequence): New constant.
1269 (xterm-paste): New command used for bracketed paste support.
1270
1271 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1272 (terminal-init-xterm-bracketed-paste-mode): New function.
1273 (terminal-init-xterm): Call it.
1274 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1275 and tty-mode-reset-strings instead of random hooks.
1276 (xterm-turn-on-modify-other-keys)
1277 (xterm-turn-off-modify-other-keys)
1278 (xterm-remove-modify-other-keys): Delete obsolete functions.
1279
1280 * term/screen.el: Rewrite to just use the xterm code.
1281 Add copyright notice. Mention tmux.
1282
1283 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1284
1285 * image-mode.el (image-mode-window-put): Also update the property of
1286 the "default window".
1287 * doc-view.el (doc-view-new-window-function): If no window
1288 exists, move to the last known page.
1289
1290 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1293 here-documents (bug#17262).
1294
1295 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1296
1297 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1298 Provide doc strings, as required by snarf-documentation.
1299
1300 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1303 arg of overlays-at. Use `invisible-p'.
1304
1305 * obsolete/lucid.el (extent-at):
1306 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1307 overlays-at.
1308 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1309
1310 2014-04-16 João Távora <joaotavora@gmail.com>
1311
1312 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1313 links. (Bug#17217).
1314
1315 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1316
1317 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1318 Use mapc to loop over a vector. (Bug#17257).
1319
1320 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1321
1322 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1323 patch, there are new problems with file names containing spaces.
1324 Get rid of backticks. (Bug#17238)
1325
1326 2014-04-16 João Távora <joaotavora@gmail.com>
1327
1328 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1329 possible bug.
1330
1331 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1332
1333 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1334 (blink-cursor-mode): Mention customization variables and the
1335 effect of 'blink-cursor-blinks'.
1336
1337 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1338
1339 * simple.el (undo): Prevent insertion of identity mapping into
1340 undo-equiv-table so as undo-only does not inf loop in the presence
1341 of consecutive nils in undo list.
1342
1343 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1344
1345 * faces.el (make-face): Deprecate optional argument as it is no
1346 longer needed/used since the conditional X resources handling
1347 has been pushed down to make-face-x-resource-internal itself.
1348 (make-empty-face): Don't pass optional argument to make-face.
1349
1350 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1351
1352 * savehist.el (savehist-save): Remove workaround for a read-passwd
1353 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1354 noticing that the shim was still present.
1355
1356 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1359
1360 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1361
1362 * faces.el (face-set-after-frame-default): Remove unused local variable.
1363
1364 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1365
1366 * progmodes/grep.el: Use lexical-binding.
1367 (grep-expand-template): Pass explicit lexical env to `eval'.
1368 (zrgrep): Let-bind grep-find-template explicitly.
1369
1370 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1371 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1372
1373 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1374
1375 * international/characters.el <standard-case-table>: Add entries
1376 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1377 Set category of Coptic characters be 'g' (Greek).
1378
1379 2014-04-12 Leo Liu <sdl.web@gmail.com>
1380
1381 * progmodes/octave.el (completion-table-with-cache):
1382 Define if not available.
1383 (octave-goto-function-definition, octave-sync-function-file-names)
1384 (octave-find-definition-default-filename):
1385 Backquote upattern for compatibility.
1386
1387 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1388
1389 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1390 name twice due to backticks. (Bug#17238)
1391
1392 2014-04-12 Glenn Morris <rgm@gnu.org>
1393
1394 * term/w32-win.el (x-win-suspend-error):
1395 * term/x-win.el (x-win-suspend-error): Sync docs.
1396
1397 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1398
1399 * faces.el (make-face): Remove deprecated optional argument.
1400 The conditional application of X resources is handled directly by
1401 make-face-x-resource-internal since Emacs 24.4.
1402 (make-empty-face): Don't pass optional argument to make-face.
1403
1404 2014-04-11 Glenn Morris <rgm@gnu.org>
1405
1406 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1407
1408 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1409
1410 Ediff's overlay priorities cause more trouble than they solve.
1411 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1412 (ediff-highest-priority): Remove function (bug#17234).
1413 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1414 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1415 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1416 overlay priorities.
1417
1418 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1419
1420 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1421 entry; use symbol boundaries to avoid mis-matches.
1422
1423 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1424
1425 * net/tramp.el (tramp-file-name-handler)
1426 (tramp-completion-file-name-handler): Avoid recursive loading.
1427
1428 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1429 Quote result also locally.
1430
1431 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1432
1433 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1434 Remove left-over code.
1435
1436 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1437 Reuse the previous comment's indentation unconditionally if it's on its
1438 own line.
1439
1440 2014-04-09 Daniel Colascione <dancol@dancol.org>
1441
1442 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1443 `no-syntax-crossing' arguments. Forward to `up-list'.
1444 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1445 Implement logic for escaping from strings. Use narrowing to deal
1446 with corner cases.
1447
1448 2014-04-09 Leo Liu <sdl.web@gmail.com>
1449
1450 * net/rcirc.el (rcirc-connection-info): New variable.
1451 (rcirc-connect): Use it to store connection info.
1452 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1453 for killed process.
1454 (rcirc-cmd-reconnect): New command. (Bug#17045)
1455 (rcirc-mode, set-rcirc-encode-coding-system)
1456 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1457
1458 2014-04-09 Daniel Colascione <dancol@dancol.org>
1459
1460 * emacs-lisp/cl-indent.el: Add comment claiming
1461 facility is also good for elisp.
1462 (lisp-indent-find-method): New function.
1463 (common-lisp-indent-function): Recognize cl-loop.
1464 (common-lisp-indent-function-1): Recognize cl constructs; use
1465 `lisp-indent-find-method' instead of `get' directly.
1466 (if): Use else-body style for elisp.
1467
1468 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1469
1470 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1471 Module methods. (Bug#17216)
1472
1473 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1476 (describe-bindings-internal): Mark obsolete.
1477
1478 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1481 buffer-file-name, and buffer-file-truename any more.
1482
1483 2014-04-08 Leo Liu <sdl.web@gmail.com>
1484
1485 Use lexical-binding and require cl-lib.
1486 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1487 (rcirc-handler-generic, rcirc-fill-paragraph)
1488 (rcirc-format-response-string, rcirc-target-buffer)
1489 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1490 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1491 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1492 (rcirc-markup-timestamp, rcirc-markup-attributes)
1493 (rcirc-markup-my-nick, rcirc-markup-urls)
1494 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1495 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1496 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1497 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1498 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1499 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1500 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1501 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1502 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1503 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1504 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1505 use cl-lib.
1506
1507 2014-04-07 João Távora <joaotavora@gmail.com>
1508
1509 * elec-pair.el (electric-pair--syntax-ppss):
1510 When inside comments parse from comment beginning.
1511 (electric-pair--balance-info): Fix typo in comment.
1512 (electric-pair--in-unterminated-string-p): Delete.
1513 (electric-pair--unbalanced-strings-p): New function.
1514 (electric-pair-string-bound-function): New var.
1515 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1516 according to `electric-pair--in-unterminated-string-p'
1517
1518 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1519 Inhibit quote pairing if point-max is inside an unterminated string.
1520 (electric-pair--looking-at-unterminated-string-p): Delete.
1521 (electric-pair--in-unterminated-string-p): New function.
1522
1523 2014-04-07 Glenn Morris <rgm@gnu.org>
1524
1525 * shell.el (shell-directory-tracker):
1526 Go back to just ignoring failures. (Bug#17159)
1527
1528 2014-04-07 João Távora <joaotavora@gmail.com>
1529
1530 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1531 backspace. (bug#16981)
1532 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1533 (electric-pair-backward-delete-char-untabify): Delete.
1534 (electric-pair-mode-map): Bind backspace to a menu item filtering
1535 a new `electric-pair-delete-pair' command.
1536 (electric-pair-delete-pair): New command.
1537
1538 * progmodes/python.el (python-electric-pair-string-delimiter):
1539 Fix triple-quoting electricity. (Bug#17192)
1540
1541 * elec-pair.el (electric-pair-post-self-insert-function):
1542 Don't skip whitespace when `electric-pair-text-pairs' and
1543 `electric-pair-pairs' were used. syntax to
1544 electric-pair--skip-whitespace. (Bug#17183)
1545
1546 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1547
1548 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1549 "<F>". (Bug#17199)
1550
1551 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1554 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1555
1556 2014-04-07 Glenn Morris <rgm@gnu.org>
1557
1558 * help.el (view-lossage): Doc tweak.
1559
1560 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1561
1562 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1563 only when inhibit-x-resources is nil, and do that earlier in the
1564 function. Doc fix. (Bug#16694)
1565 (face-spec-choose): Accept additional optional argument, whose
1566 value is returned if no matching attributes are found.
1567 (face-spec-recalc): Use the new optional argument when calling
1568 face-spec-choose. (Bug#16378)
1569 (make-face-x-resource-internal): Do nothing when
1570 inhibit-x-resources is non-nil. Don't touch the default face if
1571 reversed video is given--as was done in previous versions of Emacs.
1572 (face-set-after-frame-default): Don't call
1573 make-face-x-resource-internal here. (Bug#16434)
1574
1575 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1576
1577 * doc-view.el (doc-view-bookmark-jump):
1578 Use `bookmark-after-jump-hook' to jump to the right page after the
1579 buffer is shown in a window. (bug#16090)
1580
1581 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1582
1583 * international/characters.el (mirroring): Fix last change:
1584 instead of loading uni-mirrored.el explicitly, do that implicitly
1585 by creating the 'mirroring' uniprop table. This avoids announcing
1586 the loading of uni-mirrored.el.
1587
1588 2014-04-07 Glenn Morris <rgm@gnu.org>
1589
1590 * files.el (buffer-stale--default-function)
1591 (buffer-stale-function, revert-buffer--default):
1592 * autorevert.el (auto-revert-buffers): Doc tweaks.
1593
1594 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1595
1596 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1597
1598 2014-04-07 Glenn Morris <rgm@gnu.org>
1599
1600 * files.el (make-backup-file-name-function)
1601 (make-backup-file-name, make-backup-file-name--default-function)
1602 (make-backup-file-name-1, find-backup-file-name)
1603 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1604 (buffer-stale--default-function, buffer-stale-function)
1605 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1606 (revert-buffer, revert-buffer--default)
1607 (revert-buffer-insert-file-contents--default-function):
1608 Doc fixes related to defaults no longer being nil.
1609 (make-backup-file-name-function): Bump :version.
1610 Restore nil as a valid but deprecated custom type.
1611
1612 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1615 Handle $' used as a variable (bug#17174).
1616
1617 * progmodes/perl-mode.el (perl-indent-new-calculate):
1618 Handle forward-sexp failure (bug#16985).
1619 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1620 modifiers introducing expressions (bug#17116).
1621
1622 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1625
1626 2014-04-05 Leo Liu <sdl.web@gmail.com>
1627
1628 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1629 Add define-compilation-mode.
1630
1631 2014-04-04 João Távora <joaotavora@gmail.com>
1632
1633 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1634 parse from comment beginning.
1635 (electric-pair--balance-info): Fix typo in comment.
1636 (electric-pair--in-unterminated-string-p): Delete.
1637 (electric-pair--unbalanced-strings-p): New function.
1638 (electric-pair-string-bound-function): New var.
1639 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1640 according to `electric-pair--in-unterminated-string-p'.
1641
1642 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1645 Move declaration before first use.
1646 (reftex-move-to-next-arg): Silence compiler warning.
1647
1648 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1649
1650 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1651 Use `window-total-width' instead of `window-width'.
1652
1653 2014-04-03 Daniel Colascione <dancol@dancol.org>
1654
1655 * subr.el (set-transient-map): Remove rms's workaround entirely;
1656 use new `suspicious-object' subr to mark our lambda for closer
1657 scrutiny during gc.
1658
1659 2014-04-02 Richard Stallman <rms@gnu.org>
1660
1661 * subr.el (set-transient-map): Comment out previous change.
1662
1663 2014-04-02 Glenn Morris <rgm@gnu.org>
1664
1665 * menu-bar.el (menu-bar-file-menu):
1666 * vc/ediff.el (ediff-current-file):
1667 Update for revert-buffer-function no longer being nil by default.
1668
1669 * simple.el (command-execute): Respect nil disabled-command-function.
1670
1671 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1672
1673 * simple.el (command-execute): Do not execute the command when it
1674 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1675
1676 2014-04-02 Juri Linkov <juri@jurta.org>
1677
1678 * dired-aux.el (dired-compress-file): Don't use string-match-p
1679 because its match data is used afterwards.
1680
1681 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1682
1683 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1684 0 like nil.
1685
1686 2014-04-02 João Távora <joaotavora@gmail.com>
1687
1688 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1689 Inhibit quote pairing if point-max is inside an unterminated string.
1690 (electric-pair--looking-at-unterminated-string-p):
1691 Delete.
1692 (electric-pair--in-unterminated-string-p): New function.
1693
1694 2014-04-01 Daniel Colascione <dancol@dancol.org>
1695
1696 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1697 when trying to complete the prompt.
1698
1699 2014-03-31 Leo Liu <sdl.web@gmail.com>
1700
1701 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1702 Refactor out eldoc-documentation-function-default.
1703 (eldoc-documentation-function-default): New function.
1704 (eldoc-documentation-function): Change value.
1705
1706 2014-03-31 Glenn Morris <rgm@gnu.org>
1707
1708 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1709
1710 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1711 (vhdl-compose-components-package, vhdl-compose-configuration):
1712 Abbreviate default-directory (missing from some previous upstream sync).
1713
1714 2014-03-31 Reto Zimmermann <reto@gnu.org>
1715
1716 Sync with upstream vhdl mode v3.35.2.
1717 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1718 (top-level): No longer require assoc.
1719 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1720 New functions. Use throughout to replace aget etc.
1721 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1722 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1723 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1724 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1725 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1726 except `vhdl-compiler'.
1727 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1728 when appropriate.
1729
1730 2014-03-31 Glenn Morris <rgm@gnu.org>
1731
1732 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1733 Revert 2014-03-26 merge goof; go back to using defalias.
1734
1735 2014-03-30 Daniel Colascione <dancol@dancol.org>
1736
1737 * comint.el (comint-send-input):
1738 Deactivate completion-in-region-mode before we send comint input.
1739 (Bug#17139).
1740
1741 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1742 on keyboard-quit.
1743
1744 2014-03-29 Glenn Morris <rgm@gnu.org>
1745
1746 * textmodes/reftex.el: Manage most autoloads automatically.
1747 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1748 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1749 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1750 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1751 * textmodes/reftex-toc.el: Set generated-autoload-file,
1752 and add autoload cookies for reftex.el.
1753 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1754
1755 2014-03-28 Glenn Morris <rgm@gnu.org>
1756
1757 * cus-start.el (report-emacs-bug-address): Set custom properties.
1758 * mail/emacsbug.el (report-emacs-bug-address):
1759 Variable is now defined in emacs.c.
1760
1761 * mail/emacsbug.el (report-emacs-bug):
1762 Include system-configuration-features.
1763
1764 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1765
1766 * simple.el (cycle-spacing): Never delete spaces on first run by
1767 default, but do so in a new 'fast mode and if there are already
1768 N spaces (the previous behavior).
1769 Compare N with its value in previous invocation so that changing
1770 prefix argument restarts `cycle-spacing' sequence.
1771 The idea is that with this change, binding M-SPC to
1772 `cycle-spacing' should not introduce any changes in behavior of
1773 the binding so long as users do not type M-SPC twice in a raw with
1774 the same prefix argument or lack thereof.
1775
1776 2014-03-28 Glenn Morris <rgm@gnu.org>
1777
1778 * faces.el (term-file-aliases): New variable.
1779 (tty-run-terminal-initialization): Respect term-file-aliases.
1780 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1781 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1782 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1783
1784 2014-03-27 Glenn Morris <rgm@gnu.org>
1785
1786 * startup.el (inhibit-startup-hooks): Doc tweak.
1787 (normal-top-level): Simplify running of hooks.
1788 For window-setup-hook, respect inhibit-startup-hooks.
1789 (command-line-1): Don't set window-setup-hook to nil.
1790
1791 Allow selective autoloading from obsolete/ directory.
1792 * Makefile.in (obsolete-autoloads): New rule.
1793 (autoloads): Run obsolete-autoloads.
1794 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1795 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1796
1797 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1798
1799 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1800 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1801
1802 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1803 Don't propertize `?' or `!' as symbol constituent when after
1804 colon. (Bug#17097)
1805
1806 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1807
1808 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1809 which is no longer needed and causes trouble in GTK builds (bug#17046).
1810
1811 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1812 Use url-insert-file-contents; package-handle-response no longer exists.
1813
1814 2014-03-26 Daniel Colascione <dancol@dancol.org>
1815
1816 * simple.el (process-menu-mode-map): New variable.
1817 (process-menu-delete-process): New command.
1818
1819 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1820
1821 * emacs-lisp/package.el: Fix bug#16733 (again).
1822 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1823 (url-http-target-url): Remove unused declarations.
1824 (package-handle-response): Remove.
1825 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1826 (package--download-one-archive): Use current-buffer instead of
1827 dynamic binding of `buffer'.
1828 (describe-package-1): Do not decode readme-string.
1829
1830 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1831
1832 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1833
1834 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1835 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1836 `remote-file-name-inhibit-cache' to nil in the second pass.
1837 (tramp-find-executable): Do not call "which" on SunOS.
1838 (tramp-send-command-and-check): Fix docstring.
1839 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1840 check whether source directory has set the sticky bit.
1841
1842 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1843
1844 * simple.el (primitive-undo): Only process marker adjustments
1845 validated against their corresponding (TEXT . POS). Issue warning
1846 for lone marker adjustments in undo history. (Bug#16818)
1847 (undo-make-selective-list): Add marker adjustments to selective
1848 undo list based on whether their corresponding (TEXT . POS) is in
1849 the region. Remove variable adjusted-markers, which was unused
1850 and only non nil during undo-make-selective-list.
1851 (undo-elt-in-region): Return nil when passed a marker adjustment
1852 and explain in function doc.
1853
1854 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1855
1856 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1857
1858 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1859
1860 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1861 Match special global variables without curlies, too.
1862 (ruby-font-lock-keywords): Simplify the matcher for special global
1863 variables. Don't require a non-word character after the variable.
1864 (Bug#17057)
1865
1866 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1867
1868 * simple.el (redisplay-highlight-region-function): Increase priority of
1869 overlay to make sure boundaries are visible (bug#15899).
1870
1871 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1872
1873 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1874 (frameset-restore): Compare display strings with equal.
1875
1876 * frame.el (make-frame): Don't quote display name in error message,
1877 it is already a string.
1878
1879 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1880
1881 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1882 the password.
1883
1884 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1885
1886 * emacs-lisp/package.el (package--add-to-archive-contents):
1887 Include already installed and built-in packages in
1888 `package-archive-contents'.
1889 (package-install): Don't include already installed packages in the
1890 options during interactive invocation. (Bug#16762)
1891 (package-show-package-list): If the buffer is already displayed in
1892 another window, switch to that window.
1893
1894 2014-03-26 Reto Zimmermann <reto@gnu.org>
1895
1896 Sync with upstream vhdl mode v3.35.1.
1897 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1898 (vhdl-compiler-alist): Doc fix.
1899 (vhdl-goto-line): Remove.
1900 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1901 (vhdl-mode) <paragraph-start>: Fix value.
1902 (vhdl-fix-statement-region): Not `for' in wait-statement.
1903 (vhdl-beautify-region): Also (un)tabify.
1904 (vhdl-get-visible-signals):
1905 Scan declarative part of generate statements.
1906 (vhdl-template-record): Fix indentation for record type declaration.
1907 (vhdl-expand-abbrev, vhdl-expand-paren):
1908 Revert to using fset again rather than defalias.
1909 (vhdl-scan-directory-contents): Tweak.
1910 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1911 (vhdl-compose-components-package):
1912 Replace vhdl-goto-line with forward-line.
1913 (top-level): Tweak speedbar frame selection.
1914 (vhdl-generate-makefile-1): Support for compilers with no
1915 unit-to-file name mapping (create directory with dummy files).
1916
1917 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1918
1919 Sync with upstream verilog-mode revision 702457d.
1920 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1921 (create-lockfiles): Declare.
1922 (verilog-read-decls): Fix module header imports, bug709.
1923 Reported by Victor Lau.
1924 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1925 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1926 interface-only modules, bug721. Reported by Dean Hoyt.
1927
1928 2014-03-26 Glenn Morris <rgm@gnu.org>
1929
1930 * obsolete/gulp.el: Move here from emacs-lisp/.
1931
1932 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1933 Remove fallback aliases, since they are always defined now.
1934
1935 2014-03-24 Daniel Colascione <dancol@dancol.org>
1936
1937 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1938 instead of cl-loop search function.
1939
1940 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1941
1942 * calendar/parse-time.el (parse-time-iso8601-regexp)
1943 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1944 it more generally.
1945
1946 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1947
1948 * net/dns.el (network-interface-list): Define for XEmacs.
1949
1950 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1951
1952 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1953 the network interfaces changed.
1954 (dns-query): Use it to flush the data.
1955
1956 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1957
1958 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1959
1960 2014-03-23 Daniel Colascione <dancol@dancol.org>
1961
1962 Change subword-mode to use `find-word-boundary-function-table' and
1963 replace `capitalized-words-mode'. Also, convert to lexical
1964 binding.
1965
1966 * progmodes/cap-words.el: Delete now-obsolete file.
1967 * progmodes/subword.el: Reimplement using
1968 `find-word-boundary-function-table'.
1969 (subword-mode-map): Hollow out.
1970 (capitalized-words-mode): Define as obsolete alias for
1971 `subword-mode'.
1972 (subword-mode, superword-mode): Tweak documentation to reflect new
1973 implementation; call `subword-setup-buffer'.
1974 (subword-forward, subword-capitalize): Add underscore to indicate
1975 unused variable.
1976 (subword-find-word-boundary-function-table): New constant.
1977 (subword-empty-char-table): New constant.
1978 (subword-setup-buffer): New function.
1979 (subword-find-word-boundary): New function.
1980
1981 2014-03-23 Daniel Colascione <dancol@dancol.org>
1982
1983 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1984 list to look for keyword arguments instead of `memq', fixing
1985 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1986 Please make bootstrap.
1987
1988 2014-03-22 Glenn Morris <rgm@gnu.org>
1989
1990 * dired.el (dired-read-regexp): Make obsolete.
1991 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1992 (dired-flag-files-regexp):
1993 * dired-aux.el (dired-mark-read-regexp):
1994 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1995
1996 * startup.el (fancy-startup-text):
1997 * help.el (describe-gnu-project): Visit online info about GNU project.
1998
1999 * help-fns.el (help-fns--interactive-only): New function.
2000 (help-fns-describe-function-functions): Add the above function.
2001 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2002 (next-line, previous-line): Remove hand-written interactive-only
2003 information from doc strings, it is auto-generated now.
2004 * bookmark.el (bookmark-write):
2005 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2006 (epa-mail-import-keys): Mark interactive-only,
2007 and remove hand-written interactive-only information from doc strings.
2008 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2009 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2010 * files.el (not-modified):
2011 * simple.el (mark-whole-buffer): Mark interactive-only.
2012
2013 * emacs-lisp/byte-run.el (defun-declarations-alist):
2014 Add interactive-only. Doc tweak.
2015 (macro-declarations-alist): Doc tweak.
2016 * subr.el (declare): Doc tweak (add xref to manual).
2017 * comint.el (comint-run):
2018 * files.el (insert-file-literally, insert-file):
2019 * replace.el (replace-string, replace-regexp):
2020 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2021 (delete-forward-char, goto-line, insert-buffer, next-line)
2022 (previous-line): Set interactive-only via declare.
2023
2024 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2025
2026 * emacs-lisp/package.el (package-desc): Use the contents of the
2027 quoted form, not its cdr. (Bug#16873)
2028
2029 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2030
2031 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2032 benefit of doc.c; change parameter profile to match the X function.
2033
2034 2014-03-22 Leo Liu <sdl.web@gmail.com>
2035
2036 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2037 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2038
2039 2014-03-21 Richard Stallman <rms@gnu.org>
2040
2041 * battery.el (battery-linux-sysfs): Search for each field
2042 from the beginning of the buffer.
2043
2044 * subr.el (set-transient-map): Clear out function and value
2045 of the temporary symbol when we're done with it.
2046
2047 * mail/rmailsum.el (rmail-summary-delete-forward):
2048 Optimize case of reaching end and handling count.
2049 (rmail-summary-mark-deleted): Optimize when N is current msg.
2050 Don't create new summary line.
2051 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2052 (rmail-summary-undelete-many): Rewrite for speed.
2053 (rmail-summary-msg-number): New function.
2054
2055 * mail/rmail.el (rmail-delete-message): Update summary.
2056 (rmail-undelete-previous-message): Handle repeat count arg.
2057 (rmail-delete-backward, rmail-delete-forward): Likewise.
2058
2059 2014-03-21 Daniel Colascione <dancol@dancol.org>
2060
2061 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2062 information in bug reports.
2063
2064 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2065
2066 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2067 and `tramp-copy-env'.
2068
2069 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2070 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2071
2072 2014-03-21 Glenn Morris <rgm@gnu.org>
2073
2074 * electric.el (electric-indent-post-self-insert-function): Add doc.
2075
2076 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2077
2078 * emacs-lisp/package.el (package-compute-transaction):
2079 Use `version-list-<=' to compare the requirement version against
2080 the version of package already to be installed. Update the error
2081 message. (Bug#16826)
2082
2083 * progmodes/ruby-mode.el (ruby-smie-rules):
2084 Add indentation rule for ` @ '. (Bug#17050)
2085
2086 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2087
2088 * align.el (align-regexp): Remove superfluous backslash.
2089
2090 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2091 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2092 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2093 Fix docstring typos.
2094 (ffap-next): Use C-u in docstring.
2095 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2096 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2097 Remove superfluous backslashes.
2098 (ffap-string-at-point): Reflow docstring.
2099
2100 * server.el (server-host): Reflow docstring.
2101 (server-unload-function): Fix docstring typo.
2102 (server-eval-at): Remove superfluous backslash.
2103
2104 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2105 (skeleton-insert): Doc fix.
2106 (skeleton-insert): Reflow docstring.
2107
2108 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2109 (tty-color-approximate, tty-color-by-index, tty-color-values)
2110 (tty-color-desc): Remove superfluous backslashes.
2111
2112 2014-03-21 Glenn Morris <rgm@gnu.org>
2113
2114 * cus-start.el (history-length): Bump :version.
2115
2116 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2117 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2118 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2119 Don't set `make-backup-files'.
2120
2121 * info.el (info--prettify-description): New function,
2122 to give info-finder descriptions consistent case, punctuation.
2123 (Info-finder-find-node): Use it. Sort packages.
2124 Refer to "description" rather than "commentary".
2125
2126 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2127
2128 * frameset.el (frameset--print-register): New function.
2129 (frameset-to-register): Use it.
2130
2131 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2132
2133 * progmodes/hideif.el (hif-string-to-number): New function.
2134 (hif-tokenize): Use it to understand non-decimal floats.
2135
2136 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2137
2138 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2139
2140 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * electric.el (electric-newline-and-maybe-indent): New command.
2143 Bind it globally to C-j.
2144 (electric-indent-mode): Don't mess with the global map any more.
2145 Don't drop the post-self-insert-hook is some buffer is still using it
2146 (bug#16770).
2147
2148 * bindings.el (global-map): Remove C-j binding.
2149
2150 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2151 the docstring of functions advised before dumping (bug#16993).
2152
2153 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2154
2155 * ps-print.el (ps-generate-postscript-with-faces):
2156 Explicitly deactivate the mark (bug#16866).
2157 * simple.el (deactivate-mark): Update region highlight.
2158
2159 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2160
2161 * emacs-lisp/package.el (describe-package-1):
2162 Decode commentary (bug#16733).
2163
2164 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2165
2166 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2167 modification of the value argument of :set (bug#16755).
2168
2169 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * simple.el (newline-and-indent): Do autofill (bug#17031).
2172
2173 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2174
2175 * newcomment.el (comment-normalize-vars): Only add escaping check
2176 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2177 (comment-beginning): Use `narrow-to-region' instead of moving back
2178 one character.
2179 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2180 (comment-start-skip): Update the docstring.
2181
2182 2014-03-18 Richard Stallman <rms@gnu.org>
2183
2184 * dired.el (dired-display-file): Force use of other window.
2185
2186 2014-03-18 Daniel Colascione <dancol@dancol.org>
2187
2188 * startup.el (tty-handle-args): Remove debug message from 2007.
2189
2190 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2193 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2194 (advice--make-1, advice-add, advice-remove):
2195 Remove braindead :advice-pending hack.
2196
2197 2014-03-17 Glenn Morris <rgm@gnu.org>
2198
2199 * calendar/calendar.el (calendar-generate-month): Apply weekend
2200 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2201
2202 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2203
2204 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2205 (tramp-call-process): Trace also DESTINATION.
2206
2207 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2208 Quote file names when they are local. Remove superfluous trace.
2209
2210 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2211
2212 * newcomment.el (comment-beginning): If `comment-start-skip'
2213 doesn't match, move back one char and try again. (Bug#16971)
2214
2215 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2216 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2217 Set `comment-start-skip' to a simpler value that doesn't try to
2218 check if the semicolon is escaped (this is handled by
2219 `syntax-ppss' now). (Bug#16971)
2220
2221 * progmodes/scheme.el (scheme-mode-variables): Same.
2222
2223 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2224
2225 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2226 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2227 current (Bug#16816, Bug#17007).
2228 (with-current-buffer-window): New macro doing the same as
2229 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2230 * help.el (help-print-return-message): Warn in doc-string to not
2231 use this in `with-help-window'.
2232 (describe-bindings-internal): Call `describe-buffer-bindings'
2233 from within help buffer. See Juanma's scenario in (Bug#16816).
2234 (with-help-window): Update doc-string.
2235 * dired.el (dired-mark-pop-up):
2236 * files.el (save-buffers-kill-emacs):
2237 * register.el (register-preview): Use `with-current-buffer-window'
2238 instead of `with-temp-buffer-window'.
2239
2240 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2241
2242 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2243 Implement inserting into current buffer, documented in their docstrings.
2244 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2245 (rst-section-tree-point, rst-forward-section, rst-indent)
2246 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2247 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2248 (rst-font-lock-handle-adornment-pre-match-form)
2249 (rst-repeat-last-character): Reflow docstrings.
2250 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2251 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2252 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2253 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2254 Fix docstring typos.
2255 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2256 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2257 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2258
2259 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2260
2261 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2262 for compatibility with other ports.
2263 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2264 from the -xrm command line argument, but in the Nextstep port its value
2265 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2266
2267 * progmodes/python.el (defconst, python-syntax-count-quotes)
2268 (python-indent-region, python-indent-shift-right)
2269 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2270 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2271 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2272 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2273 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2274 (python-shell-buffer-substring, python-shell-send-buffer)
2275 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2276 (python-completion-complete-at-point, python-fill-docstring-style)
2277 (python-eldoc-function, python-imenu-format-item-label)
2278 (python-imenu-format-parent-item-label)
2279 (python-imenu-format-parent-item-jump-label)
2280 (python-imenu--build-tree, python-imenu-create-index)
2281 (python-imenu-create-flat-index): Fix docstring typos.
2282 (python-indent-context, python-shell-prompt-regexp, run-python):
2283 Remove superfluous backslashes.
2284 (python-indent-line, python-nav-beginning-of-defun)
2285 (python-shell-get-buffer, python-shell-get-process)
2286 (python-info-current-defun, python-info-current-line-comment-p)
2287 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2288 (python-indent-post-self-insert-function, python-shell-send-file)
2289 (python-shell-completion-get-completions)
2290 (python-shell-completion-complete-or-indent)
2291 (python-eldoc--get-doc-at-point): Reflow docstrings.
2292
2293 2014-03-14 Glenn Morris <rgm@gnu.org>
2294
2295 * emacs-lisp/package.el (package-menu-mode-map):
2296 Replace use of obsolete function alias. Tweak menu item text.
2297
2298 * info.el (Info-finder-find-node):
2299 Ignore the `emacs' metapackage. (Bug#10813)
2300
2301 * finder.el (finder-list-matches): Include unversioned packages
2302 in the result of a keyword search.
2303
2304 * finder.el (finder--builtins-descriptions): New constant.
2305 (finder-compile-keywords): Use finder--builtins-descriptions.
2306
2307 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2308
2309 * simple.el (blink-matching-paren): Describe the new value,
2310 `jump', enabling the old behavior.
2311 (blink-matching-open): Use that value. (Bug#17008)
2312
2313 2014-03-14 Glenn Morris <rgm@gnu.org>
2314
2315 * finder.el (finder-no-scan-regexp): Add leim-list.
2316 (finder-compile-keywords):
2317 Don't skip files with same basename. (Bug#14010)
2318 * Makefile.in (setwins_finder): New, excluding leim.
2319 (finder-data): Use setwins_finder.
2320
2321 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2322 (help-function-arglist, help-make-usage): Move from here...
2323 * help.el (help-split-fundoc, help-add-fundoc-usage)
2324 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2325 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2326
2327 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2328
2329 * net/socks.el (socks, socks-override-functions)
2330 (socks-find-services-entry):
2331 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2332 (hif-find-ifdef-block):
2333 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2334
2335 * net/tls.el (tls-program): Reflow docstring.
2336
2337 * progmodes/pascal.el (pascal-mode-abbrev-table)
2338 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2339 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2340 (pascal-outline-mode): Fix docstring typos.
2341 (pascal-mode): Let define-derived-mode document mode hook.
2342 (pascal-uncomment-area): Reflow.
2343 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2344
2345 * progmodes/opascal.el (opascal-compound-block-indent)
2346 (opascal-case-label-indent): Fix docstring typos.
2347 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2348
2349 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2350
2351 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2352 Fontify multiple adjacent negation chars. (Bug#17004)
2353
2354 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2355
2356 * emacs-lisp/package.el (package--prepare-dependencies):
2357 Accept requirements without explicit version (bug#14941).
2358
2359 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2360
2361 * register.el (register-separator, copy-to-register): Doc fixes.
2362 (register-preview-default): Remove unnecessary call to concat.
2363
2364 * frameset.el (frameset-restore): When checking for a visible frame,
2365 use the action map instead of calling visible-frame-list.
2366
2367 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2368
2369 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2370
2371 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2372
2373 * window.el (fit-frame-to-buffer): Get maximum width from
2374 display's width instead of height.
2375
2376 2014-03-12 Glenn Morris <rgm@gnu.org>
2377
2378 * desktop.el (desktop-restore-frames)
2379 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2380 (desktop-restore-reuses-frames): Doc tweaks.
2381
2382 * electric.el (electric-indent-mode): Doc fix.
2383
2384 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2385
2386 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2387 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2388 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2389 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2390 (cvs-dired-use-hook): Fix docstring typos.
2391 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2392 Doc fixes.
2393
2394 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2395 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2396 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2397 (cvs-execute-single-dir): Fix docstring typos.
2398
2399 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2400 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2401
2402 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2403
2404 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2405 Fix docstring typos.
2406
2407 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2408
2409 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2410 called from jump-to-register after unloading the frameset package.
2411
2412 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2415 (bug#16975). Deactivate the mark before setting it to nil.
2416 (activate-mark): Do nothing if region is already active.
2417
2418 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2419
2420 * frameset.el (frameset--target-display): Remove definition; declare.
2421 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2422
2423 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2426 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2427 when the advice is pending.
2428 (advice-remove): Remove this marker when not needed any more.
2429
2430 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2431
2432 * frameset.el: Separate options for reusing frames and cleaning up.
2433 (frameset--reuse-list): Remove definition; declare.
2434 (frameset--action-map): Declare.
2435 (frameset--find-frame-if): Doc fix.
2436 (frameset--restore-frame): Cache frame action.
2437 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2438 how to clean up the frame list after restoring. Remove cleaning
2439 options from REUSE-FRAMES. Change all keyword values to symbols.
2440 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2441
2442 * desktop.el (desktop-restore-forces-onscreen)
2443 (desktop-restore-reuses-frames): Use non-keyword values.
2444 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2445
2446 2014-03-10 Glenn Morris <rgm@gnu.org>
2447
2448 * files.el (find-file): Doc fix: update info node name.
2449
2450 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2451 Doc fix: remove references to deleted info nodes.
2452
2453 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2454
2455 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2456 Do not add `nil' to the environment, when there's no remote `locale'.
2457 (tramp-find-inline-encoding): Check, that the remote host has
2458 installed perl, before sending scripts.
2459
2460 2014-03-10 Leo Liu <sdl.web@gmail.com>
2461
2462 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2463 Clear eldoc-last-message. (Bug#16920)
2464
2465 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2468 (bug#14430).
2469
2470 2014-03-09 Juri Linkov <juri@jurta.org>
2471
2472 * ansi-color.el (ansi-color-names-vector): Copy default colors
2473 from `xterm-standard-colors' that look well on the default white
2474 background (and also on the black background) to avoid illegible
2475 color combinations like yellow-on-white and white-on-white.
2476 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2477
2478 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2479
2480 * frameset.el (frameset-restore): When no frame is visible, do not
2481 generate a list of frames, just make visible the selected one.
2482
2483 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2484
2485 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2486 it only contains the repository root. (Bug#16897)
2487
2488 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2489
2490 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2491 only when `remote-file-name-inhibit-cache' is nil.
2492 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2493
2494 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2495
2496 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2497 Fix doc-strings.
2498 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2499 fit-frame-to-buffer variable. Fix doc-string.
2500 (fit-window-to-buffer): Set ONLY argument in call of
2501 fit-frame-to-buffer. Fix doc-string.
2502
2503 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2504
2505 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2506 (tramp-action-password): Clear password cache if needed.
2507 (tramp-read-passwd): Do not clear password cache.
2508
2509 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2510 cache unless it is the first password request.
2511
2512 2014-03-06 Glenn Morris <rgm@gnu.org>
2513
2514 * simple.el (newline): Doc tweak.
2515
2516 * emacs-lisp/shadow.el (load-path-shadows-find):
2517 Ignore dir-locals. (Bug#12357)
2518
2519 2014-03-05 Glenn Morris <rgm@gnu.org>
2520
2521 * files.el (interpreter-mode-alist):
2522 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2523
2524 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2525
2526 * frameset.el (frameset--initial-params): Filter out null entries.
2527
2528 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2529
2530 * window.el (window-min-height, window-min-width):
2531 Rewrite doc-strings.
2532 (window-body-size): Add PIXELWISE argument to make it consistent
2533 with its callees.
2534
2535 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2536
2537 * finder.el (finder-mode-map, finder-mode-syntax-table):
2538 Revert part of 2014-02-28 change.
2539
2540 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2541
2542 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2543 (eww-setup-buffer): Clear next/prev/etc more reliably.
2544 (eww-textarea-map): [tab] doesn't work on tty.
2545 Reported by Mario Lang.
2546
2547 * net/shr.el (shr-map): Ditto.
2548
2549 2014-03-04 Glenn Morris <rgm@gnu.org>
2550
2551 * minibuffer.el (completion-hilit-commonality):
2552 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2553
2554 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2555
2556 * hilit-chg.el (hilit-chg-unload-function): New function.
2557 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2558 (hilit-chg-map-changes): Prefer cardinal number to digit.
2559 (hilit-chg-display-changes): Reflow docstring.
2560 (highlight-changes-rotate-faces): Remove superfluous backslash.
2561
2562 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2563
2564 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2565 `tramp-send-command-and-check'.
2566
2567 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2568
2569 * hexl.el (hexl-address-region, hexl-ascii-region)
2570 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2571 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2572 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2573 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2574 (hexl-mode): Doc fix.
2575 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2576 (hexl-mode-ruler): Fix typos in docstrings.
2577
2578 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2579 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2580 Remove superfluous backslashes.
2581 (strokes-last-stroke, strokes-global-map, strokes-mode):
2582 Reflow docstrings.
2583 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2584 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2585 (strokes-distance-squared, strokes-global-set-stroke)
2586 (strokes-global-set-stroke-string): Doc fixes.
2587 (strokes-help): Fix typos; reflow docstring.
2588
2589 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2590
2591 * window.el (window-in-direction): Fix doc-string.
2592
2593 2014-03-04 Glenn Morris <rgm@gnu.org>
2594
2595 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2596 Explicit error if no grammar.
2597 (smie-config-save): Doc fix. Fix quote typo.
2598
2599 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2600
2601 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2602 electric-indent-mode-hook if we obey electric-indent-mode.
2603 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2604 decide whether we obey electric-indent-mode.
2605 (c-change-set-fl-decl-start, c-extend-after-change-region):
2606 Silence warnings.
2607 (c-electric-indent-mode-hook): Assume we do want to obey
2608 electric-indent-mode.
2609
2610 * electric.el (electric-indent-mode-has-been-called): Remove.
2611 (electric-indent-mode): Fix accordingly.
2612
2613 * files.el (hack-local-variables): Mention file name in warning.
2614
2615 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2616
2617 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2618
2619 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2620 * simple.el (delete-forward-char): Mark as interactive-only.
2621
2622 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2623
2624 * icomplete.el (icomplete-completions):
2625 Follow-up to 2014-03-01 change.
2626
2627 * icomplete.el: Miscellaneous doc fixes.
2628 Use Icomplete everywhere instead of icomplete for consistency.
2629 (icomplete-max-delay-chars): Fix typo.
2630 (icomplete-mode): Use \[].
2631 (icomplete-tidy, icomplete-exhibit): Reflow.
2632 (icomplete-minibuffer-setup-hook, icomplete-completions):
2633 Remove superfluous backlashes.
2634
2635 * ido.el: Miscellaneous doc fixes.
2636 Use Ido everywhere instead of ido or `ido' for consistency.
2637 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2638 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2639 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2640 (ido-separator): Extract obsolescence info from docstring and declare
2641 with make-obsolete-variable.
2642 (ido-minibuffer-setup-hook): Simplify example.
2643 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2644 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2645 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2646 (ido-everywhere): Reflow docstring.
2647 (ido-toggle-vc): Doc fix.
2648 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2649 of long list of keybindings.
2650
2651 2014-03-03 Glenn Morris <rgm@gnu.org>
2652
2653 * frame.el (display-pixel-height, display-pixel-width)
2654 (display-mm-dimensions-alist, display-mm-height)
2655 (display-mm-width): Doc tweaks.
2656
2657 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2658
2659 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2660 case of undo in region.
2661
2662 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2663
2664 * window.el (fit-window-to-buffer): Fix argument in window-size
2665 call when window is horizontally combined.
2666
2667 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2668
2669 * icomplete.el (icomplete-completions): Use string-width.
2670 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2671
2672 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2673
2674 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2675 Highlight regexp options. (Bug#16914)
2676
2677 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2678
2679 * window.el (window--max-delta-1): Round down when calculating
2680 how many lines/columns we can get from a window.
2681
2682 2014-03-01 Glenn Morris <rgm@gnu.org>
2683
2684 * isearch.el (search-invisible): Doc fix.
2685
2686 * minibuffer.el (completion-hilit-commonality):
2687 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2688 * comint.el (comint-dynamic-list-completions): Doc fix.
2689 * comint.el (comint-dynamic-list-completions):
2690 * filecache.el (file-cache-minibuffer-complete):
2691 * tempo.el (tempo-display-completions):
2692 * eshell/em-hist.el (eshell-list-history):
2693 Replace use of obsolete argument of display-completion-list.
2694
2695 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2696
2697 * icomplete.el (icomplete-completions):
2698 Revert back to using "..." when ?… cannot be displayed.
2699
2700 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2701
2702 * finder.el (finder-unload-function): New function.
2703
2704 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2705
2706 * dframe.el (dframe-detach):
2707 * find-dired.el (find-dired, find-name-dired):
2708 * finder.el (finder-mode-map, finder-mode-syntax-table)
2709 (finder-headmark, finder-select, finder-mouse-select):
2710 Fix docstring typos.
2711
2712 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2713
2714 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2715 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2716 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2717 Fix doc-string based on a suggestion by Nicolas Richard
2718 <theonewiththeevillook@yahoo.fr>.
2719 * help.el (with-help-window): Fix doc-string.
2720
2721 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2722
2723 * net/shr.el (shr-image-animate): New option.
2724 (shr-put-image): Respect shr-image-animate.
2725
2726 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2727
2728 * net/tramp-adb.el (tramp-adb-parse-device-names):
2729 Use `accept-process-output'.
2730 (tramp-adb-handle-file-truename): Cache the localname only.
2731 (tramp-adb-handle-make-directory)
2732 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2733 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2734 modes cannot be changed.
2735
2736 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2737 file properties of symlinks.
2738
2739 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2740
2741 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2742 required/optional fields to match development biblatex. (Bug#16781)
2743
2744 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2745
2746 * saveplace.el (toggle-save-place):
2747 Fix argument handling. (Bug#16673)
2748
2749 2014-02-28 Glenn Morris <rgm@gnu.org>
2750
2751 * minibuffer.el (completions-first-difference)
2752 (completions-common-part, completion-hilit-commonality): Doc fixes.
2753
2754 2014-02-28 Karl Berry <karl@gnu.org>
2755
2756 * info.el (Info-mode-map): Add H for describe-mode,
2757 to synchronize with standalone Info.
2758
2759 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2760
2761 * progmodes/sql.el (sql-interactive-mode):
2762 Avoid setting global comint-input-ring-separator. (Bug#16814)
2763
2764 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2765
2766 * net/dbus.el (dbus--init-bus): Declare function.
2767 (dbus-path-local, dbus-interface-local): New defconst.
2768 (dbus-init-bus): Use them.
2769 (dbus-return-values-table): Extend doc.
2770 (dbus-handle-bus-disconnect): Extend error message.
2771
2772 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2773
2774 * subr.el (y-or-n-p): Fix double space issue in message.
2775
2776 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2777
2778 * net/tramp.el (tramp-call-process): Improve trace message.
2779 (tramp-handle-insert-file-contents): Trace error case.
2780
2781 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2782 <insert-directory>: Use `tramp-handle-insert-directory'.
2783 (tramp-adb-handle-insert-directory): Remove function.
2784 (tramp-adb-send-command-and-check): New defun, replacing
2785 `tramp-adb-command-exit-status'. Change all callees.
2786 (tramp-adb-handle-file-attributes)
2787 (tramp-adb-handle-directory-files-and-attributes): Use it.
2788 (tramp-adb-ls-output-name-less-p):
2789 Use `directory-listing-before-filename-regexp'.
2790 (tramp-adb-handle-delete-directory): Flush also file properties of
2791 the truename of directory.
2792 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2793 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2794 (tramp-adb-handle-write-region): Implement APPEND.
2795 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2796 properties correctly.
2797 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2798 variables. Check for connected devices only when needed.
2799
2800 2014-02-27 Glenn Morris <rgm@gnu.org>
2801
2802 * minibuffer.el (completion-table-dynamic)
2803 (completion-table-with-cache): Doc fixes.
2804
2805 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2806 (completing-read-multiple): Doc fixes.
2807
2808 2014-02-27 Daniel Colascione <dancol@dancol.org>
2809
2810 * minibuffer.el (completion--nth-completion): Fix indentation.
2811
2812 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2813 explicit tramp path is empty.
2814
2815 2014-02-27 Glenn Morris <rgm@gnu.org>
2816
2817 * emacs-lisp/crm.el (completing-read-multiple):
2818 Empower help-enable-auto-load.
2819
2820 2014-02-26 Glenn Morris <rgm@gnu.org>
2821
2822 * startup.el (command-line): Don't init the tty in daemon mode.
2823
2824 Avoid calling tty-setup-hook twice, eg if a term file
2825 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2826 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2827 (tty-create-frame-with-faces): Use it.
2828 * startup.el (command-line): Pass run-hook argument
2829 to tty-run-terminal-initialization.
2830
2831 * dired.el (dired-restore-desktop-buffer): Demote errors;
2832 eg in case a glob match fails. (Bug#16884)
2833
2834 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2835
2836 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2837 error from `read-from-string'. (Bug#16850)
2838
2839 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2840 result of `completing-read' in the interactive form. (Bug#16854)
2841
2842 2014-02-25 Glenn Morris <rgm@gnu.org>
2843
2844 * image.el (image-animate, image-animate-timeout):
2845 Stop animating images in dead buffers. (Bug#16878)
2846
2847 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2848
2849 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2850 Doc fixes.
2851 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2852 * term/sun.el (sun-raw-prefix-hooks):
2853 Use tty-setup-hook instead of term-setup-hook.
2854 (terminal-init-sun): Construct message from bytecomp plist.
2855 * term/wyse50.el (enable-arrow-keys): Doc fix.
2856
2857 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2858
2859 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2860 Fix docstring typos.
2861
2862 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2863
2864 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2865
2866 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2867
2868 * minibuffer.el (completion--try-word-completion):
2869 Fix error when completing M-x commands (bug#16808).
2870
2871 2014-02-24 Leo Liu <sdl.web@gmail.com>
2872
2873 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2874
2875 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2876
2877 * apropos.el (apropos-print): Avoid formatting error when
2878 apropos-do-all and apropos-compact-layout are both t.
2879
2880 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2881
2882 * apropos.el (apropos-property, apropos-all-words-regexp)
2883 (apropos-true-hit, apropos-variable, apropos-print):
2884 Fix docstring typos, and remove obsolete comment.
2885
2886 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2887
2888 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2889 Preserve trailing "/". (Bug#16851)
2890
2891 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2892
2893 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2894 after `=>' (bug#16811).
2895 (ruby-smie-rules): Handle the inconsistent second element of the
2896 list returned by `smie-indent--parent'.
2897 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2898 method call.
2899
2900 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2901
2902 * elec-pair.el (electric-pair-text-syntax-table)
2903 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2904 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2905 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2906 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2907
2908 2014-02-22 Glenn Morris <rgm@gnu.org>
2909
2910 * imenu.el (imenu--generic-function): Doc fix.
2911
2912 * register.el (frame-configuration-to-register): Make obsolete.
2913
2914 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2915
2916 * desktop.el (desktop-save-buffer-p): Do not fail when
2917 desktop-files-not-to-save is nil. Return t for true result
2918 as the doc says.
2919
2920 2014-02-22 Daniel Colascione <dancol@dancol.org>
2921
2922 * net/secrets.el (secrets-create-item, secrets-search-items):
2923 Check that attribute values are strings, avoiding the construction
2924 of invalid dbus messages.
2925
2926 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2927
2928 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2929 defun-declarations-alist.
2930
2931 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2932
2933 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2934 (bug#16829).
2935
2936 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2937
2938 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2939 (whitespace-newline, whitespace-trailing, whitespace-line)
2940 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2941 (whitespace-space-after-tab): Fix typo in docstrings.
2942
2943 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2944
2945 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2946
2947 * electric.el (electric-indent-functions-without-reindent):
2948 Add `yaml-indent-line'.
2949
2950 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2951
2952 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2953 It has done nothing for years; should be removed after the release.
2954
2955 * simple.el (choose-completion): Fix docstring typo.
2956 (read-quoted-char-radix): Remove unneeded * in docstring.
2957 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2958 Don't escape parentheses unnecessarily in docstrings.
2959
2960 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2961
2962 Fix handling of window-min-height/-width (Bug#16738).
2963 * window.el (window--dump-window, window--dump-frame):
2964 New functions.
2965 (window--min-size-1): Account for window dividers.
2966 When window-resize-pixelwise is nil, delay rounding till after the
2967 sum of the window components has been calculated.
2968 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2969 nil make sure at least one text line and two text columns remain
2970 fully visible.
2971 (window-resize): Signal an error when window-resize-apply fails.
2972 (window--resize-child-windows): Fix calculation of by how many
2973 pixels a window can still be shrunk via window-new-normal.
2974 (adjust-window-trailing-edge): Call window--resizable with
2975 correct TRAIL argument.
2976
2977 (with-temp-buffer-window): Don't evaluate BODY within
2978 with-current-buffer (Bug#16816).
2979
2980 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2981
2982 * net/tramp.el (tramp-check-cached-permissions):
2983 Call `file-attributes' with `suffix' being a symbol but a string.
2984
2985 2014-02-21 Daniel Colascione <dancol@dancol.org>
2986
2987 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2988 (dbus-init-bus): New function: call into dbus-init-bus-1
2989 and installs a handler for the disconnect signal.
2990 (dbus-call-method): Rewrite to look for result in cons.
2991 (dbus-call-method-handler): Store result in cons.
2992 (dbus-check-event): Recognize events with nil sender as valid.
2993 (dbus-handle-bus-disconnect): New function. React to bus
2994 disconnection signal by synthesizing dbus error for each
2995 pending synchronous or asynchronous call.
2996 (dbus-notice-synchronous-call-errors): New function.
2997 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2998 is true, not all the time.
2999
3000 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3001
3002 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3003 Remove obsolescence declarations, these variables do not exist anymore.
3004
3005 * savehist.el (savehist-save-minibuffer-history)
3006 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3007 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3008 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3009 mostly, refer to "Savehist mode" when talking about the mode,
3010 and not the function.
3011
3012 * saveplace.el (save-place): Remove redundant info in docstring.
3013 (save-place-forget-unreadable-files, toggle-save-place)
3014 (save-place-forget-unreadable-files, save-place-dired-hook):
3015 Fix typos and remove unneeded backslashes.
3016
3017 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3018
3019 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3020 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3021
3022 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3023 <insert-directory>: Use `tramp-handle-insert-directory'.
3024 (tramp-gvfs-handle-insert-directory): Remove function.
3025
3026 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3027 Call `tramp-handle-insert-directory'.
3028
3029 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3030
3031 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3032 before the start of buffer/region (bug#16799).
3033
3034 2014-02-20 Glenn Morris <rgm@gnu.org>
3035
3036 * isearch.el (search-invisible): Doc fix.
3037
3038 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3039
3040 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3041 (bug#16657).
3042
3043 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3044
3045 * frameset.el (frameset-restore): Delay removing an old frame's
3046 duplicate id until the new frame has been correctly created.
3047
3048 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3049
3050 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3051 (tramp-check-cached-permissions): Call `file-attributes' if the
3052 cache is empty.
3053
3054 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3055 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3056
3057 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3058 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3059 (tramp-gvfs-maybe-open-connection): Set always connection
3060 properties, even if target is mounted already.
3061
3062 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3063 Set tramp-autoload cookie.
3064 (tramp-get-remote-touch): New defun.
3065 (tramp-sh-handle-set-file-times): Use it.
3066 (tramp-sh-handle-directory-files-and-attributes):
3067 Use `tramp-handle-directory-files-and-attributes' if neither stat
3068 nor perl are available on the remote host.
3069
3070 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3071 "/". Write long listing only when "l" belongs to the switches.
3072
3073 * net/trampver.el: Update release number.
3074
3075 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3076
3077 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3078
3079 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3080
3081 * window.el (window-state-put): Allow WINDOW to refer to an
3082 internal window (Bug#16793).
3083
3084 2014-02-19 Glenn Morris <rgm@gnu.org>
3085
3086 * textmodes/remember.el: Move provide statement to end.
3087 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3088 (remember-notes): Doc fixes.
3089
3090 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * delsel.el (delete-char): Restore incorrectly erased property
3093 (bug#16795).
3094
3095 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3096
3097 * frameset.el (frameset--restore-frame): When a frame is being reused
3098 and its root window is not alive, delete all the frame's windows before
3099 restoring the window state. This works around the issue in bug#16793.
3100
3101 2014-02-18 Glenn Morris <rgm@gnu.org>
3102
3103 * textmodes/remember.el (remember-data-directory)
3104 (remember-directory-file-name-format, remember-store-in-files)
3105 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3106 (remember-notes-save-and-bury-buffer)
3107 (remember-notes--kill-buffer-query): Doc fixes.
3108
3109 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3110
3111 2014-02-17 Alan Mackenzie <acm@muc.de>
3112
3113 Connect electric-indent-mode up with CC Mode. Bug #15478.
3114 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3115 to electric-indent-{,local-}-mode.
3116 (c-basic-common-init): Set electric-indent-inhibit.
3117 Initialise c-electric-flag from electric-indent-mode.
3118 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3119 New hook functions which propagate electric-indent-mode to CC mode.
3120
3121 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3122 hit, toggle electric-indent-local-mode.
3123
3124 * electric.el (electric-indent-mode-has-been-called):
3125 New variable.
3126
3127 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3128
3129 * frameset.el (frameset-cfg-id): New function.
3130 (frameset--reuse-frame, frameset-restore): Use it.
3131 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3132
3133 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * ido.el (ido-file-internal): Remove unused var `d'.
3136 Use \` for to match BoS. Fit within 80n columns.
3137
3138 2014-02-17 Daniel Colascione <dancol@dancol.org>
3139
3140 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3141 dbus-call-method check for completion using a busy-wait loop with
3142 gradual backoff.
3143
3144 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3145
3146 Sync with Tramp 2.2.9.
3147
3148 * net/trampver.el: Update release number.
3149
3150 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3151
3152 * ido.el (ido-file-internal): Don't add the name of an existing
3153 directory twice. (Bug#16747)
3154
3155 2014-02-16 Glenn Morris <rgm@gnu.org>
3156
3157 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3158 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3159
3160 2014-02-15 Michael R. Mauger <michael@mauger.com>
3161
3162 * progmodes/sql.el: Version 3.4
3163 (sql-oracle-options): New default value ("-L").
3164 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3165 (sql-placeholders-filter): Correct placeholder pattern.
3166 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3167 (sql-login-delay): New variable.
3168 (sql-product-interactive): Use it.
3169
3170 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3171
3172 * frameset.el (frameset--jump-to-register): Check that buffer is live
3173 (bug#16749).
3174
3175 2014-02-15 Glenn Morris <rgm@gnu.org>
3176
3177 * info.el (info-initialize): Revert 2014-01-10 change.
3178
3179 2014-02-14 Glenn Morris <rgm@gnu.org>
3180
3181 * replace.el (map-query-replace-regexp)
3182 (read-regexp-defaults-function, read-regexp): Doc fixes.
3183
3184 * dired.el (dired-read-regexp):
3185 * faces.el (list-faces-display):
3186 * misearch.el (multi-isearch-read-matching-buffers)
3187 (multi-isearch-read-matching-files):
3188 * play/cookie1.el (cookie-apropos):
3189 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3190
3191 * textmodes/remember.el (remember): Use frameset-to-register
3192 rather than frame-configuration-to-register.
3193
3194 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3195
3196 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3197 incorrect keybinding.
3198
3199 2014-02-13 Daniel Colascione <dancol@dancol.org>
3200
3201 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3202 when adding overlays so that line numbers from compiler match line
3203 numbers we use.
3204
3205 2014-02-13 Glenn Morris <rgm@gnu.org>
3206
3207 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3208
3209 * jit-lock.el (jit-lock-mode): Doc fix.
3210
3211 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3212
3213 * apropos.el (apropos-read-pattern): When the user passes an empty
3214 string, give a more helpful error message than "Wrong type
3215 argument: stringp, nil".
3216
3217 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3220
3221 2014-02-13 Glenn Morris <rgm@gnu.org>
3222
3223 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3224
3225 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3228 shift-select commands.
3229
3230 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3231
3232 * progmodes/js.el (js-indent-line): Don't widen.
3233 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3234
3235 2014-02-12 Glenn Morris <rgm@gnu.org>
3236
3237 * icomplete.el (icomplete): Add info-link to defgroup.
3238 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3239 (icomplete-minibuffer-map, icomplete-mode)
3240 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3241
3242 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3243 (package-menu-filter): Rename from package-menu-filter-interactive.
3244 Doc fix.
3245
3246 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3247
3248 * frameset.el (frameset--jump-to-register): Select the required
3249 window and buffer before restoring position (bug#16696).
3250
3251 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3252
3253 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3254
3255 2014-02-10 Glenn Morris <rgm@gnu.org>
3256
3257 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3258
3259 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3260
3261 * w32-common-fns.el (x-get-selection): Doc fix.
3262 * select.el (x-get-selection): Doc fix. (Bug#15109)
3263
3264 * face-remap.el (face-remap-add-relative)
3265 (face-remap-remove-relative, face-remap-reset-base)
3266 (face-remap-set-base): Call force-mode-line-update to redisplay
3267 the current buffer due to potential change in faces. (Bug#16709)
3268
3269 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3270
3271 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3272 script more robustly.
3273
3274 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3275
3276 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3277
3278 * simple.el (choose-completion): Doc fix (bug#14160).
3279
3280 * subr.el (event-start): Say what a nil EVENT value means.
3281
3282 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3283 (bug#14197).
3284
3285 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3286
3287 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3288
3289 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3290
3291 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3292 predicate function (bug#15455).
3293
3294 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3295
3296 * ielm.el (inferior-emacs-lisp-mode): Instead of
3297 `comment-use-global-state', set `comment-use-syntax'.
3298
3299 2014-02-10 Glenn Morris <rgm@gnu.org>
3300
3301 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3302
3303 2014-02-09 Alan Mackenzie <acm@muc.de>
3304
3305 Fix c-invalidate-state-cache on narrowed buffers.
3306 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3307 Widen when setting and clearing the CPP delimiter properties.
3308
3309 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3310
3311 * help.el (describe-bindings): Doc fix (bug#9888).
3312
3313 * files.el (save-buffer): Use ARG as the parameter name for
3314 consistency (bug#10346).
3315 (save-buffer): Clarify the 0 argument (bug#10346).
3316
3317 * cus-edit.el (customize-apropos): Fix error string.
3318 (custom-buffer-create): Doc fix (bug#11122).
3319 (custom-sort-items): Doc fix (bug#11121).
3320
3321 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3322
3323 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3324 (icomplete-simple-completing-p): Mention the previous variable.
3325
3326 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3327 meaning of the parameter (bug#12282).
3328
3329 * files.el (find-file-noselect): Clarify prompt when changing
3330 readedness (bug#13261).
3331 (locate-file): Suffixes aren't returned, so don't say that they
3332 are (bug#12674).
3333 (backup-inhibited): Doc clarification (bug#12525).
3334
3335 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3336 before we actually start to delete things (bug#16331).
3337
3338 * subr.el (event-start): Doc fix (bug#14228).
3339 (event-end): Ditto.
3340
3341 2014-02-09 Glenn Morris <rgm@gnu.org>
3342
3343 * emacs-lisp/warnings.el (lwarn):
3344 Empower help-enable-auto-load. (Bug#15940)
3345
3346 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3347
3348 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3349 (Bug#16690)
3350
3351 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3352
3353 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3354 Insert output at end of buffer. (Bug#16120)
3355
3356 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3357
3358 * simple.el (choose-completion-string-functions): Document new
3359 calling convention (bug#14153).
3360 (execute-extended-command): Clarify doc string (bug#13373).
3361
3362 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3363
3364 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3365 (find-grep-dired): Doc fix (bug#14288).
3366
3367 2014-02-08 Juri Linkov <juri@jurta.org>
3368
3369 * isearch.el (isearch-quote-char): Check character validity
3370 like in `quoted-insert' (bug#16677).
3371
3372 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3373
3374 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3375
3376 * isearch.el (isearch-hide-immediately): Doc clarification
3377 (bug#14723).
3378
3379 * simple.el (line-move): Document utility function used many
3380 places in the Emacs sources (bug#14843).
3381
3382 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3383 (dired-prev-marked-file): Doc fix (bug#14855).
3384 (dired-up-directory): Doc fix (bug#14848).
3385
3386 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3387
3388 * files.el (file-relative-name): Doc fix (bug#15159).
3389
3390 * fringe.el (fringe-styles): Doc fix (bug#15239).
3391
3392 * isearch.el (isearch-filter-predicate): Documentation typo fix
3393 (bug#15474).
3394
3395 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3396
3397 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3398
3399 * replace.el (replace-match-maybe-edit): Doc clarification
3400 (bug#15632).
3401
3402 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3403
3404 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3405
3406 2014-02-08 Glenn Morris <rgm@gnu.org>
3407
3408 * help-fns.el (describe-variable):
3409 Check {file,dir}-local-variables-alist, and buffer-file-name,
3410 in the correct buffer.
3411
3412 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3413
3414 * help-fns.el (describe-variable): Fix the case where
3415 a value is directory-local with no dir-locals file. (Bug#16635)
3416
3417 2014-02-08 Glenn Morris <rgm@gnu.org>
3418
3419 * abbrev.el (edit-abbrevs-mode):
3420 Derive from fundamental-mode. (Bug#16682)
3421
3422 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3423
3424 * simple.el (quoted-insert): Check character validity (bug#16677).
3425
3426 2014-02-07 Juri Linkov <juri@jurta.org>
3427
3428 * desktop.el (desktop-read): Claim the lock when the owner is not
3429 the current process. (Bug#16157)
3430
3431 2014-02-07 Juri Linkov <juri@jurta.org>
3432
3433 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3434 to "\\` ". (Bug#16651)
3435
3436 2014-02-07 Juri Linkov <juri@jurta.org>
3437
3438 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3439 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3440 (desktop-auto-save-cancel-timer): New function with some code from
3441 `desktop-auto-save-set-timer'.
3442 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3443 Instead of setting `desktop-save-mode' to nil, call
3444 `desktop-save-mode' with arg 0. (Bug#16630)
3445
3446 2014-02-07 Glenn Morris <rgm@gnu.org>
3447
3448 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3449 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3450 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3451
3452 * obsolete/iswitchb.el: Move to obsolete/.
3453 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3454 since obsolete/ is not scanned for autoloads.
3455 * emacs-lisp/authors.el (authors-valid-file-names):
3456 Add iswitchb.el.
3457
3458 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3459 Disable now non-functional find-file-hook.
3460
3461 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3462
3463 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3464 instead of ";" in order to avoid additional prompts. Let heredoc
3465 scripts read from tty. (Bug#16582)
3466 (tramp-send-command): No special handling of heredocs, it isn't
3467 necessary anymore.
3468
3469 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3472 with a space (bug#16664). Limit the symbols considered to the ones
3473 that are bound or fbound (bug#16646).
3474
3475 2014-02-06 Glenn Morris <rgm@gnu.org>
3476
3477 * epa.el (epa-mail-aliases): Doc fix.
3478
3479 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3480
3481 * emacs-lisp/lisp.el (lisp-completion-at-point):
3482 Use `completion-table-merge' instead of `completion-table-in-turn'
3483 (bug#16604).
3484
3485 * minibuffer.el (completion-table-merge): New function.
3486
3487 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3488
3489 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3490 (tramp-sh-handle-set-file-acl)
3491 (tramp-sh-handle-start-file-process)
3492 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3493 (tramp-find-executable, tramp-send-command): Use it.
3494
3495 2014-02-05 Glenn Morris <rgm@gnu.org>
3496
3497 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3498
3499 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3500
3501 * progmodes/python.el (python-shell-send-string)
3502 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3503
3504 2014-02-04 Anders Lindgren <andlind@gmail.com>
3505
3506 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3507 the names (bug#16620).
3508
3509 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3510
3511 * faces.el (window-divider): New default value. Rewrite doc-string.
3512 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3513
3514 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3515
3516 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3517 `protected' and `public' can also be called without arguments.
3518
3519 2014-02-03 Glenn Morris <rgm@gnu.org>
3520
3521 * register.el (window-configuration-to-register)
3522 (frame-configuration-to-register): Unadvertise unused argument.
3523 * frameset.el (frameset-to-register): Remove unused argument.
3524
3525 * frameset.el (frameset-to-register):
3526 * kmacro.el (kmacro-to-register):
3527 * register.el (increment-register):
3528 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3529 (calc-append-to-register, calc-prepend-to-register):
3530 * play/gametree.el (gametree-layout-to-register)
3531 (gametree-apply-register-layout):
3532 * textmodes/picture.el (picture-clear-rectangle-to-register)
3533 (picture-yank-rectangle-from-register):
3534 * vc/emerge.el (emerge-combine-versions-register):
3535 Use register-read-with-preview to read registers.
3536
3537 2014-02-03 João Távora <joaotavora@gmail.com>
3538
3539 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3540 when at beginning of (possibly narrowed) buffer.
3541
3542 2014-02-02 Daniel Colascione <dancol@dancol.org>
3543
3544 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3545 Also try to display local help from just before point.
3546
3547 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3548
3549 c-parse-state. Don't "append-lower-brace-pair" in certain
3550 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3551 recognised as a comment.
3552
3553 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3554 as well as normal comment starter.
3555 (c-parse-state-get-strategy): Extra return possibility
3556 'back-and-forward.
3557 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3558 return value list to indicate replacement of a brace-pair cons
3559 with its car.
3560 (c-parse-state-1): With 'back-and-forward, only call
3561 c-append-lower-brace-pair-to state-cache when cons-separated.
3562
3563 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3564
3565 * term/ns-win.el (ns-suspend-error): New function.
3566 (ns-initialize-window-system): Add ns-suspend-error to
3567 suspend-hook (Bug#16612).
3568
3569 2014-02-02 Daniel Colascione <dancol@dancol.org>
3570
3571 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3572 Make loading cc-mode silent.
3573
3574 2014-02-02 Daniel Colascione <dancol@dancol.org>
3575
3576 * comint.el (comint-prompt-read-only): Change doc to suggest
3577 remap keybinding.
3578
3579 2014-02-02 Glenn Morris <rgm@gnu.org>
3580
3581 * register.el (register-read-with-preview, point-to-register)
3582 (window-configuration-to-register, frame-configuration-to-register)
3583 (jump-to-register, number-to-register, view-register, insert-register)
3584 (copy-to-register, append-to-register, prepend-to-register)
3585 (copy-rectangle-to-register): Doc fixes.
3586
3587 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3588
3589 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3590 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3591 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3592 * help-fns.el (describe-function-1): Use it.
3593
3594 2014-02-02 Glenn Morris <rgm@gnu.org>
3595
3596 * register.el (register-preview-default): New function,
3597 split from register-preview.
3598 (register-preview-function): Rename from register-preview-functions,
3599 make it not a hook.
3600 (register-preview): Use register-preview-function.
3601 (register-read-with-preview): Error on non-character event. (Bug#16595)
3602
3603 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3604
3605 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3606 `:' before binary operators (bug#16609). Don't check for `:'
3607 before `[' and `(', or their syntax status. A percent literal
3608 can't end with either.
3609 (ruby-font-lock-keywords): For built-ins that require arguments,
3610 check that they're followed by something that looks like argument
3611 (bug#16610).
3612
3613 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3614
3615 * subr.el (butlast): Document what an omitted N means (bug#13437).
3616 (nbutlast): Ditto.
3617
3618 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3619
3620 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3621 depth shallower (bug#16587).
3622 (shr-tag-svg): Respect `shr-inhibit-images'.
3623 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3624
3625 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3626
3627 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3628 (ruby-smie-grammar): Make "." right-associative. Make its priority
3629 lower than the ternary and all binary operators.
3630 (ruby-smie-rules): Indent "(" relative to the first non-"."
3631 parent, or the first "." parent at indentation.
3632 Use `ruby-align-chained-calls' for indentation of "." tokens.
3633 (Bug#16593)
3634
3635 2014-01-31 Juri Linkov <juri@jurta.org>
3636
3637 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3638 from `make-hash-table'.
3639
3640 * textmodes/ispell.el (ispell-init-process): Change message format
3641 to be consistent with other messages.
3642
3643 2014-01-31 Glenn Morris <rgm@gnu.org>
3644
3645 * delsel.el (delete-selection-mode): Doc fix.
3646
3647 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3648 (trace-function-background): Doc fixes.
3649
3650 * ido.el (ido-use-virtual-buffers): Doc fix.
3651 Reset :version, since the default value has not changed.
3652
3653 * register.el (register-preview-delay, register-read-with-preview):
3654 Doc fixes.
3655
3656 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3657 do not mess with mail-buffer position (fixes 2009-11-03 change).
3658 * progmodes/cc-mode.el (c-submit-bug-report):
3659 Check auto-fill-mode is bound. (Bug#16592)
3660
3661 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3662
3663 * startup.el (fancy-splash-image-file): New function,
3664 split from fancy-splash-head.
3665 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3666 so that we are both using the same image. (Bug#16574)
3667
3668 2014-01-30 Glenn Morris <rgm@gnu.org>
3669
3670 * simple.el (eval-expression): Doc fix.
3671
3672 * hexl.el (hexl-mode-hook):
3673 * ielm.el (ielm-mode-hook):
3674 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3675 (lisp-interaction-mode-hook):
3676 * progmodes/cfengine.el (cfengine3-documentation-function):
3677 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3678
3679 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3682 is a symbol (bug#16584).
3683
3684 2014-01-30 Glenn Morris <rgm@gnu.org>
3685
3686 * help.el (help-for-help-internal): Add "P" to text.
3687
3688 2014-01-29 Glenn Morris <rgm@gnu.org>
3689
3690 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3691
3692 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3693
3694 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3695 height constraints.
3696
3697 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3698
3699 * progmodes/hideif.el: Extend to full CPP expression syntax.
3700 (hif-token-alist): Add missing tokens.
3701 (hif-token-regexp): Add support for float/octal/hex immediates.
3702 (hif-string-literal-regexp): New const.
3703 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3704 (hif-exprlist): New function.
3705 (hif-parse-if-exp): Use it.
3706 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3707 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3708 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3709 (hif-logxor, hif-comma): New functions.
3710
3711 2014-01-28 Glenn Morris <rgm@gnu.org>
3712
3713 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3714
3715 * indent.el (tab-stop-list): Doc fix. Add :version.
3716
3717 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3718 (cvs-append-to-ignore): Add compatibility alias.
3719
3720 2014-01-27 Glenn Morris <rgm@gnu.org>
3721
3722 * dired.el (dired-hide-details-mode): Don't autoload it,
3723 since it cannot be used outside Dired buffers anyway.
3724
3725 * emulation/cua-base.el (cua-mode): Doc fix.
3726
3727 * dired.el (dired-hide-details-hide-symlink-targets)
3728 (dired-hide-details-hide-information-lines)
3729 (dired-hide-details-mode): Doc fixes.
3730
3731 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3732 * strokes.el (strokes-file): Doc fix. Bump :version.
3733 (strokes-help): Doc fix.
3734 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3735 * emulation/viper.el (viper): Doc fix for custom group.
3736 (top-level): Remove oh-so-no-longer-relevant text about vip.
3737 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3738
3739 * ido.el (ido-save-directory-list-file):
3740 * saveplace.el (save-place-file):
3741 * calendar/timeclock.el (timeclock-file):
3742 * net/quickurl.el (quickurl-url-file):
3743 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3744 * progmodes/idlwave.el (idlwave-config-directory):
3745 * textmodes/remember.el (remember-data-file):
3746 Bump :version.
3747
3748 2014-01-26 Glenn Morris <rgm@gnu.org>
3749
3750 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3751 Doc fix. Make obsolete.
3752 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3753
3754 * sort.el (delete-duplicate-lines): Doc fix.
3755
3756 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3757
3758 * progmodes/ada-mode.el (ada):
3759 * woman.el (woman): Link to info manual and Commentary section.
3760
3761 * progmodes/flymake.el (flymake):
3762 * nxml/nxml-mode.el (nxml):
3763 * net/eww.el (eww):
3764 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3765 * htmlfontify.el (htmlfontify):
3766 * ses.el (ses):
3767 * epa.el (epa):
3768 * ido.el (ido): Link to info manual.
3769
3770 2014-01-25 Leo Liu <sdl.web@gmail.com>
3771
3772 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3773
3774 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3775
3776 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3777 (bug#16537).
3778
3779 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3780
3781 * net/eww.el (eww-download-callback):
3782 Fix reference to eww-download-directory.
3783
3784 * emacs-lisp/bytecomp.el (byte-compile-file):
3785 Remove unused local variable `file-name'.
3786
3787 2014-01-24 Glenn Morris <rgm@gnu.org>
3788
3789 * woman.el (woman-default-faces, woman-monochrome-faces):
3790 Fix obsolescence specification.
3791
3792 * subr.el (with-demoted-errors): Doc fix.
3793
3794 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3797 (cl--macroexp-fboundp): New function.
3798 (cl--make-type-test): Use it.
3799
3800 2014-01-23 Glenn Morris <rgm@gnu.org>
3801
3802 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3803 * simple.el (eval-expression): Doc fixes.
3804
3805 2014-01-22 Glenn Morris <rgm@gnu.org>
3806
3807 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3808
3809 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 * emacs-lisp/package.el: Write files silently.
3812 (package-autoload-ensure-default-file, package--write-file-no-coding)
3813 (package-generate-description-file, package--download-one-archive)
3814 (package-install-from-archive): Tell `write-region' to stay quiet.
3815 (package-menu-mode, package-menu--print-info): Omit the Archive column
3816 if there's only one archive.
3817 (package-all-keywords, package--has-keyword-p): Remove dead code.
3818
3819 2014-01-22 Glenn Morris <rgm@gnu.org>
3820
3821 * version.el (emacs-bzr-version-bzr): Fix typo.
3822
3823 * version.el (emacs-repository-get-version):
3824 Check either .bzr or .git, but not both.
3825 Make the git case actually use the DIR argument, and return nil
3826 rather than the empty string.
3827 Avoid error if .git exists but the git executable is not found.
3828
3829 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3830
3831 Fixes in window size functions around Bug#16430 and Bug#16470.
3832 * window.el (window-total-size, window-size): New argument ROUND.
3833 (window--min-delta-1, window-min-delta, window--max-delta-1):
3834 Be more conservative when calculating the numbers of lines or
3835 columns a window can shrink (Bug#16430).
3836 (fit-window-to-buffer): Simplify code.
3837 * term.el (term-window-width): Call window-body-width again.
3838
3839 2014-01-22 Glenn Morris <rgm@gnu.org>
3840
3841 * image.el (image-format-suffixes): Doc fix.
3842
3843 * international/quail.el (quail-define-package): Doc fix.
3844
3845 * emacs-lisp/authors.el (authors-valid-file-names)
3846 (authors-renamed-files-alist): Additions.
3847
3848 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3849 reverts 2014-01-09 change. (Bug#16422)
3850
3851 * calc/calc-embed.el (thing-at-point-looking-at):
3852 * emacs-lisp/map-ynp.el (x-popup-dialog):
3853 * obsolete/lmenu.el (x-popup-dialog):
3854 * emacs-lisp/package.el (url-recreate-url):
3855 * mail/mailclient.el (clipboard-kill-ring-save):
3856 * subr.el (x-popup-dialog): Update declaration.
3857 * mail/rmail.el (rmail-mime-message-p):
3858 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3859
3860 2014-01-21 Daniel Colascione <dancol@dancol.org>
3861
3862 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3863 Correctly detect when we're inside an arithmetic expansion form
3864 containing nested parenthesis.
3865 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3866 to detect cases where we shouldn't expand "<<" to a heredoc
3867 skeleton.
3868
3869 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3870
3871 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3872 (eldoc--message-command-p): New function.
3873 (eldoc-display-message-p): Use it.
3874 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3875 message is not automatically erased for us.
3876 (eldoc-print-current-symbol-info): Erase previous message, if any.
3877
3878 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3879
3880 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3881 specify it's an interactive function.
3882
3883 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3884 Fix regex used for scanning for citation keys which failed for
3885 citations with optional arguments.
3886
3887 2014-01-21 Leo Liu <sdl.web@gmail.com>
3888
3889 * simple.el (read--expression): Don't enable eldoc-mode.
3890
3891 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * simple.el (move-beginning-of-line): Make sure we don't move forward
3894 (bug#16497).
3895
3896 2014-01-20 Juri Linkov <juri@jurta.org>
3897
3898 * saveplace.el (toggle-save-place, save-place-to-alist)
3899 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3900 'dired-mode) before checking for dired-directory. (Bug#16477)
3901
3902 2014-01-20 Juri Linkov <juri@jurta.org>
3903
3904 * indent.el (indent-line-to): Use backward-to-indentation
3905 instead of back-to-indentation. (Bug#16461)
3906
3907 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3908
3909 Revert some of the CANNOT_DUMP fix (Bug#16494).
3910 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3911 but fixing this can wait until after the next release.
3912 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3913
3914 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3915
3916 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3917 Use `password-word-equivalents'.
3918 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3919 to t. (Bug#5664, Bug#13124)
3920
3921 2014-01-19 Alan Mackenzie <acm@muc.de>
3922
3923 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3924 points.
3925 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3926 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3927 * progmodes/cc-mode.el (c-before-change, c-after-change)
3928 (c-font-lock-fontify-region): Bind it here.
3929
3930 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3931
3932 * term.el (term-window-width): Call window-text-width instead of
3933 window-width (Bug#16470).
3934
3935 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3936
3937 * simple.el (password-word-equivalents): Remove duplicates.
3938 Sort, to make this easier next time.
3939 Downcase. Omit ": " after "jelszó".
3940
3941 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3942
3943 * term/common-win.el (saved-region-selection): Defvar it.
3944 (x-select-text): Set saved-region-selection (Bug#16382).
3945
3946 2014-01-18 Glenn Morris <rgm@gnu.org>
3947
3948 * emacs-lisp/authors.el (authors-aliases)
3949 (authors-renamed-files-alist): Add some entries.
3950
3951 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3952
3953 * net/tramp.el (tramp-password-prompt-regexp):
3954 Use `password-word-equivalents' if available.
3955 (tramp-action-password, tramp-process-one-action)
3956 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3957
3958 2014-01-17 Chong Yidong <cyd@gnu.org>
3959
3960 * simple.el (password-word-equivalents): New defcustom.
3961 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3962 to 24.4.
3963 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3964 to t. (Bug#13124)
3965
3966 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3967
3968 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3969 (ruby-align-to-stmt-keywords): Change the default value.
3970 Use `ruby-alignable-keywords' to generate the possible customization
3971 choices.
3972 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3973 keywords, check against the value of `ruby-alignable-keywords'
3974 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3975
3976 2014-01-17 Glenn Morris <rgm@gnu.org>
3977
3978 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3979
3980 Make M-x authors return zero *Authors Errors* from current logs.
3981 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3982 (authors-ignored-files): Add some entries, remove others.
3983 (authors-ambiguous-files, authors-valid-file-names):
3984 Add some entries.
3985 (authors-renamed-files-alist): Add, remove, and adjust entries.
3986 (authors-renamed-files-regexps): Add some entries.
3987 Remove some very broad ones. Make some entries `lax'.
3988 (authors-lax-changelogs): New constant.
3989 (authors-disambiguate-file-name): Treat top-level specially.
3990 (authors-lax-changelog-p): New function.
3991 (authors-canonical-file-name): Check file as written against
3992 authors-valid-file-names. Do not special-case etc/.
3993 Handle `lax' logs and authors-renamed-files-regexps elements.
3994
3995 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3996
3997 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3998 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3999 callers.
4000
4001 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4004 Assume we're already in the proper buffer.
4005 Inspired by Anders Lindgren <andlind@gmail.com>.
4006 (follow-post-command-hook): Call it from the right buffer.
4007 (follow-comint-scroll-to-bottom): Adjust call.
4008 (follow-all-followers): Use get-buffer-window-list.
4009
4010 2014-01-15 Daniel Colascione <dancol@dancol.org>
4011
4012 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4013 `buffer-file-name' in interactive-form so that we don't leave
4014 pathless file names in `file-name-history'.
4015
4016 2014-01-15 Juri Linkov <juri@jurta.org>
4017
4018 * indent.el (indent-rigidly): Set deactivate-mark to nil
4019 in transient indentation mode. (Bug#16438)
4020
4021 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4022
4023 * emacs-lisp/package.el (package-desc-keywords): New function
4024 (Bug#16222).
4025 (describe-package-1, package-all-keywords)
4026 (package--has-keyword-p): Use it.
4027
4028 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4029
4030 * simple.el (define-alternatives): When creating the
4031 COMMAND-alternatives variable, assign COMMAND as its definition
4032 name so that `describe-variable' can relocate it.
4033
4034 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4035
4036 * font-lock.el (font-lock-keywords): Fix typo in docstring
4037 (bug#16307).
4038
4039 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4040
4041 * ispell.el (ispell-region): Reset `in-comment' for new line
4042 instead of wrongly reset `add-coment' (bug#13577).
4043
4044 2014-01-14 Daiki Ueno <ueno@gnu.org>
4045
4046 * epa-file.el (epa-file-write-region): Encode the region according
4047 to `buffer-file-format'. Problem reported at:
4048 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4049
4050 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4053 so it applies in the right buffer (bug#16410).
4054
4055 2014-01-13 Daniel Colascione <dancol@dancol.org>
4056
4057 * textmodes/rst.el (rst-define-key): Provide deprecated
4058 keybindings through named functions instead of anonymous ones so
4059 that "??" doesn't appear in describe-mode output.
4060
4061 2014-01-13 Bastien Guerry <bzg@gnu.org>
4062
4063 * simple.el (define-alternatives): Call the selected command
4064 interactively. When setting `COMMAND--implementation' for the
4065 first time, tell the user how to chose another implementation.
4066 Enhance the docstring.
4067
4068 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4069
4070 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4071 (log-edit--match-first-line): New function.
4072 (log-edit-font-lock-keywords): Use it.
4073 (log-edit-mode): Make jit-lock-defer-multiline work.
4074
4075 2014-01-13 Bastien Guerry <bzg@gnu.org>
4076
4077 * rect.el (rectangle-mark-mode): When the region is not active,
4078 display a message saying that the mark as been set and that
4079 rectangle mode is in use.
4080 (rectangle--highlight-for-redisplay): Only put an overlay with a
4081 visible vertical bar when (display-graphic-p) is non-nil.
4082 This partially fixes Bug#16403.
4083
4084 2014-01-13 Juri Linkov <juri@jurta.org>
4085
4086 * info.el (Info-find-file): Go to DIR before displaying the error
4087 about a nonexistent file if no previous Info file is visited.
4088 Use `user-error' instead of `error' for "Info file %s does not exist".
4089 (Info-find-node-2): In case of a nonexistent node in unwind forms
4090 go to the Top node if there is no previous node to revert to.
4091 (Bug#16405)
4092
4093 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4094
4095 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4096 * window.el (fit-frame-to-buffer): Fix doc-string.
4097 Respect window-min-height/-width. Fit pixelwise when
4098 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4099 when avoiding that frame goes partially off-screen.
4100 (fit-window-to-buffer): Respect window-min-height/-width
4101 (Bug#14096).
4102
4103 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4106 after an empty line.
4107
4108 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * net/shr.el (shr-render-region): Autoload.
4111
4112 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4113
4114 * net/eww.el (eww-download-directory): Rename from
4115 `eww-download-path' (Bug#16419).
4116
4117 2014-01-12 Leo Liu <sdl.web@gmail.com>
4118
4119 * dired-x.el (dired-mode-map): Fix last change.
4120
4121 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4122
4123 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4124
4125 Spelling fixes.
4126 * emacs-lisp/generic.el (generic--normalize-comments):
4127 Rename from generic--normalise-comments. All uses changed.
4128 * play/bubbles.el (bubbles--neighborhood-score)
4129 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4130 (bubbles--neighborhood-available)
4131 (bubbles--update-neighborhood-score):
4132 Rename from names with 'neighbourhood'. All uses changed.
4133
4134 2014-01-12 Leo Liu <sdl.web@gmail.com>
4135
4136 Re-implement the feature of showing eldoc info after editing.
4137 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4138 (eldoc-edit-message-commands): New function.
4139 (eldoc-print-after-edit): New variable.
4140 (eldoc-pre-command-refresh-echo-area): Emit message only by
4141 eldoc-message-commands.
4142 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4143 if eldoc-print-after-edit is set. (Bug#16346)
4144 * simple.el (read--expression): Enable eldoc-mode.
4145 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4146
4147 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4148 Eric S. Raymond <esr@thyrsus.com>
4149
4150 * version.el (emacs-repository-get-version): Enhance so the
4151 function works correctly in either a Bazaar or Git repo.
4152
4153 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4154
4155 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4156 Goes with removal of the joke manpages from /etc.
4157
4158 2014-01-10 Kenichi Handa <handa@gnu.org>
4159
4160 * mail/rmail.el (rmail-get-coding-system):
4161 Check rmail-get-coding-function before "funcall"ing it.
4162
4163 2014-01-10 Glenn Morris <rgm@gnu.org>
4164
4165 * emacs-lisp/authors.el (authors-fixed-entries):
4166 Update for files that no longer exist.
4167
4168 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4169
4170 * version.el (emacs-bzr-get-version): Restore compatibilty with
4171 24.3 (Tested).
4172
4173 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4174
4175 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4176 and Podfile.
4177
4178 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4179
4180 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4181
4182 2014-01-10 Chong Yidong <cyd@gnu.org>
4183
4184 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4185
4186 2014-01-10 Anders Lindgren <andlind@gmail.com>
4187
4188 * follow.el (follow-cache-command-list): Include right-char and
4189 left-char.
4190
4191 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4192
4193 Spelling fixes.
4194 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4195 * woman.el (woman-mark-horizontal-position):
4196 Rename from woman-mark-horizonal-position. Use changed.
4197
4198 2014-01-10 Glenn Morris <rgm@gnu.org>
4199
4200 * info.el (info-initialize): If running uninstalled, ensure our
4201 own info files are always found first, even if INFOPATH is set.
4202
4203 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4204
4205 2014-01-09 David Engster <deng@randomsample.de>
4206
4207 * emacs-lisp/eieio-custom.el:
4208 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4209 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4210 * emacs-lisp/eieio.el: Regenerate autoloads.
4211
4212 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4213
4214 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4215 following renames. (Bug#8756)
4216
4217 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4220 (bug#16382).
4221 (activate-mark): Add `no-tmm' argument.
4222 (set-mark, push-mark-command): Use it instead of running
4223 activate-mark-hook by hand.
4224
4225 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4226
4227 In preparation for the move to git, sanitize out some
4228 Bazaar-specific names.
4229
4230 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4231
4232 * version.el (emacs-bzr-version): Name changed to
4233 emacs-repository-version. Obsolete-variable alias made.
4234 * loadup.el: Follow through on this name change.
4235 * mail/emacsbug.el (report-emacs-bug): Factor out any
4236 assumption about the version control system in use.
4237
4238 2014-01-08 David Engster <deng@randomsample.de>
4239
4240 * help-fns.el (help-fns-describe-function-functions):
4241 New variable to call functions for augmenting help buffers.
4242 (describe-function-1): Remove explicit calls to
4243 `help-fns--compiler-macro', `help-fns--parent-mode' and
4244 `help-fns--obsolete'. Put them in above new variable instead, and
4245 call them through `run-hook-with-args'.
4246 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4247 `eieio-describe-class'. Not meant for interactive use anymore,
4248 but to augment existing help buffers. Remove optional second
4249 argument. Create proper button for file location.
4250 Rewrite function to use `insert' instead of `princ' and `prin1' where
4251 possible.
4252 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4253 (eieio-method-def, eieio-class-def): Move further up.
4254 (describe-method, describe-generic, eieio-describe-method):
4255 Remove aliases.
4256 (eieio-help-constructor, eieio-help-generic): Rename from
4257 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4258 Rewrite to use `insert' in the current buffer and use proper help
4259 buttons.
4260 (eieio-help-find-method-definition)
4261 (eieio-help-find-class-definition): Also accept symbols as
4262 arguments.
4263 (eieio-help-mode-augmentation-maybee): Remove.
4264 (eieio-describe-class-sb): Use `describe-function'.
4265 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4266 Add `eieio-help-generic' and `eieio-help-constructor'.
4267
4268 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4269
4270 Spelling fixes.
4271 * language/china-util.el (hz-ascii-designation):
4272 Rename from hz-ascii-designnation.
4273 (hz-ascii-designation): Rename from hz-ascii-designnation.
4274 All uses changed.
4275
4276 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4279 package-alist.
4280
4281 2014-01-08 Bastien Guerry <bzg@gnu.org>
4282
4283 * emacs-lisp/package.el (package-delete):
4284 Correctly delete the package from package-alist.
4285
4286 2014-01-08 Daiki Ueno <ueno@gnu.org>
4287
4288 * emacs-lisp/package.el (url-recreate-url): Declare.
4289 (url-http-target-url): Declare.
4290 (package-handle-response): Include requested URL in the error message.
4291 (package--check-signature): Don't re-signal errors from
4292 package--with-work-buffer. Suggested by Stefan Monnier.
4293
4294 2014-01-07 Bastien Guerry <bzg@gnu.org>
4295
4296 * minibuffer.el (completion--try-word-completion): When both a
4297 hyphen and a space are possible candidates for the character
4298 following a word, display both candidates. (Bug#15980)
4299
4300 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4301
4302 * window.el (balance-windows-2): While rounding don't give a
4303 window more than the remainder. Bug#16351, bug#16383.
4304
4305 2014-01-07 Glenn Morris <rgm@gnu.org>
4306
4307 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4308 (menu-bar-help-menu): Use view-external-packages instead.
4309
4310 2014-01-07 Bastien Guerry <bzg@gnu.org>
4311
4312 * emacs-lisp/package.el (package-delete): Also delete the package
4313 name from `package-alist', not its description only.
4314
4315 2014-01-07 Glenn Morris <rgm@gnu.org>
4316
4317 * help.el (view-external-packages):
4318 * menu-bar.el (menu-bar-help-extra-packages):
4319 Visit efaq.info rather than etc/MORE.STUFF.
4320
4321 2014-01-07 Juri Linkov <juri@jurta.org>
4322
4323 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4324 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4325
4326 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4327 that shadows RET. (Bug#16342)
4328
4329 2014-01-07 Chong Yidong <cyd@gnu.org>
4330
4331 * isearch.el (isearch-yank-char, isearch-yank-word)
4332 (isearch-yank-line): Doc fix.
4333
4334 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4337 * emacs-lisp/elint.el (elint-find-builtins):
4338 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4339 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4340 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4341 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4342 * apropos.el (apropos-safe-documentation):
4343 * subr.el (symbol-file): Remove redundant fboundp.
4344 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4345
4346 2014-01-06 Bastien Guerry <bzg@gnu.org>
4347
4348 * hl-line.el (global-hl-line-overlay): Make a local variable.
4349 (global-hl-line-overlays): New variable to store all overlays.
4350 (global-hl-line-mode): Don't delete overlays from the current
4351 buffer when `global-hl-line-sticky-flag' is non-nil.
4352 (global-hl-line-highlight): Add new overlays to
4353 `global-hl-line-overlays'.
4354 (global-hl-line-unhighlight-all): New function to delete all
4355 overlays when turning off `global-hl-line-mode'.
4356 This fixes Bug#16183.
4357
4358 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * subr.el (set-transient-map): Fix nested case and docstring.
4361
4362 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4363
4364 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4365 `Texinfo' entry.
4366
4367 2014-01-06 Daniel Colascione <dancol@dancol.org>
4368
4369 Fix defun navigation in vc log view.
4370
4371 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4372 like `beginning-of-defun'.
4373 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4374 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4375 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4376 (log-view-extract-comment): Call `log-view-current-entry' directly
4377 instead of relying on broken `log-view-beginning-of-defun' behavior.
4378
4379 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4380
4381 Spelling fixes.
4382 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4383 * emacs-lisp/debug.el (cancel-debug-on-entry):
4384 * epg.el (epg-error-to-string):
4385 * files.el (recover-file):
4386 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4387 * mail/emacsbug.el (report-emacs-bug-hook):
4388 * mail/sendmail.el (mail-recover):
4389 * ses.el (ses-yank-resize):
4390 * term/ns-win.el (ns-print-buffer):
4391 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4392 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4393 All uses changed.
4394 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4395
4396 2014-01-06 Leo Liu <sdl.web@gmail.com>
4397
4398 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4399 to avoid shadowing global key. (Bug#16354)
4400
4401 2014-01-06 Daniel Colascione <dancol@dancol.org>
4402
4403 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4404 rst-mode.
4405
4406 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4407
4408 * window.el (balance-windows): Add mising t to fix Bug#16351.
4409
4410 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4411
4412 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4413 (bug#16285).
4414 (shr-insert): If we have a word that's longer than `shr-width',
4415 break after it anyway. Otherwise we'll do no breaking once we get
4416 such a long word.
4417
4418 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4419
4420 * net/eww.el (eww): Support single/double quote for search.
4421 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4422 (eww-history-quit): Delete and use quit-window.
4423 (eww-history-kill): Delete, because it doesn't work well and
4424 not necessary.
4425 (eww-history-mode-map): Delete some keys and add easy-menu.
4426
4427 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4428
4429 Fix misspelling of 'chinese' in rx (Bug#16237).
4430 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4431 chinese-two-byte.
4432
4433 Change subword regexps back to vars (Bug#16296).
4434 * progmodes/subword.el (subword-forward-regexp)
4435 (subword-backward-regexp): Change these back to variables.
4436
4437 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4438
4439 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4440 syntax-begin-function (bug#16247).
4441
4442 2014-01-03 Chong Yidong <cyd@gnu.org>
4443
4444 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4445 (advice--docstring): Delete variable.
4446 (advice--make-1): Leave the docstring empty.
4447 (advice-add): Use function-documentation for advised docstring.
4448
4449 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4450 Ignore function-documentation property when getting documentation.
4451 (ad-activate-advised-definition): Use function-documentation
4452 generate the docstring.
4453 (ad-make-advised-definition): Don't call
4454 ad-make-advised-definition-docstring.
4455 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4456 Delete functions.
4457
4458 * progmodes/sql.el (sql-help): Use function-documentation instead
4459 of dynamic-docstring-function property. No need to autoload now.
4460 (sql--help-docstring): New variable.
4461 (sql--make-help-docstring): Use it.
4462
4463 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4464
4465 * ielm.el (ielm-tab): Retarget.
4466 (ielm-map): Use ielm-tab for tab.
4467 (ielm-complete-filename): Use comint-filename-completion.
4468 (ielm-complete-symbol): Remove.
4469 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4470 remove ielm-tab from completion-at-point-functions (bug#16224).
4471
4472 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4473 Beware signals raised by predicates (bug#16201).
4474
4475 2014-01-02 Richard Stallman <rms@gnu.org>
4476
4477 * dired-aux.el (dired-do-print): Handle printer-name.
4478
4479 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4480 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4481 (rmail-epa-decrypt): Turn off mime processing.
4482
4483 * mail/rmail.el (rmail-make-in-reply-to-field):
4484 Add parens in message-id.
4485
4486 * mail/rmail.el (rmail-get-coding-function): Variable.
4487 (rmail-get-coding-system): Use it.
4488
4489 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4490
4491 * international/mule-conf.el: Unify the charset indian-is13194.
4492 (indian-is13194): Specify unify-map.
4493
4494 2013-12-31 Leo Liu <sdl.web@gmail.com>
4495
4496 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4497
4498 2013-12-30 Daniel Colascione <dancol@dancol.org>
4499
4500 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4501 of printing a useless when we resume from sleep.
4502
4503 * progmodes/sh-script.el
4504 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4505 in indentation code. (Bug#16233)
4506
4507 2013-12-28 João Távora <joaotavora@gmail.com>
4508
4509 * elec-pair.el (electric-pair-post-self-insert-function):
4510 Don't open extra newlines at beginning of buffer. (Bug#16272)
4511
4512 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4513
4514 * frame.el (window-system-for-display): Don't allow to create a
4515 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4516
4517 2013-12-28 Glenn Morris <rgm@gnu.org>
4518
4519 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4520 Update callers.
4521
4522 * apropos.el (apropos-match-face):
4523 * calculator.el (calculator-displayer):
4524 * dabbrev.el (dabbrev-search-these-buffers-only):
4525 * face-remap.el (buffer-face-mode-face):
4526 * simple.el (yank-handled-properties):
4527 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4528 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4529 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4530 (hashcash-double-spend-database):
4531 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4532 (ruby-deep-indent-paren-style):
4533 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4534 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4535 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4536 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4537 Specify custom types.
4538
4539 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4540 * bookmark.el (bookmark-bmenu-use-header-line):
4541 * doc-view.el (doc-view-scale-internally):
4542 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4543 * register.el (register-preview-delay):
4544 * net/shr.el (shr-bullet):
4545 * progmodes/cfengine.el (cfengine-cf-promises)
4546 (cfengine-parameters-indent):
4547 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4548 * textmodes/reftex-vars.el (reftex-label-regexps):
4549 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4550
4551 * net/tls.el (tls-certtool-program): Fix default value.
4552
4553 * desktop.el (desktop-restore-in-current-display):
4554 * newcomment.el (comment-empty-lines):
4555 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4556 (idlwave-pad-keyword):
4557 * progmodes/tcl.el (tcl-tab-always-indent):
4558 * textmodes/reftex-vars.el (reftex-index-default-tag):
4559 * elec-pair.el (electric-pair-skip-whitespace):
4560 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4561
4562 * emacs-lisp/authors.el (authors-ignored-files)
4563 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4564
4565 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4566
4567 * shell.el (shell-dynamic-complete-command): Doc fix.
4568 (shell--command-completion-data): Shell completion now matches
4569 executable filenames from the current buffer's directory, on
4570 systems in which this behavior is the default (windows-nt, ms-dos).
4571
4572 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4573
4574 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4575
4576 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4579 (bug#16251).
4580
4581 * electric.el: Move all electric-pair-* to elec-pair.el.
4582 * elec-pair.el: New file, split from electric.el.
4583
4584 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4585
4586 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4587 indentation level is larger than the width, because that will
4588 infloop.
4589 (shr-insert): Fill repeatedly long texts, so that Japanese is
4590 formatted correctly (bug#16263).
4591 (shr-find-fill-point): Off by one error in comparison with the
4592 indentation.
4593
4594 2013-12-26 João Távora <joaotavora@gmail.com>
4595
4596 * electric.el (electric-pair-mode): More flexible engine for skip-
4597 and inhibit predicates, new options for pairing-related functionality.
4598 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4599 if that keeps or improves their balance in buffers.
4600 (electric-pair-delete-adjacent-pairs): Delete the pair when
4601 backspacing over adjacent matched delimiters.
4602 (electric-pair-open-extra-newline): Open extra newline when
4603 inserting newlines between adjacent matched delimiters.
4604 (electric--sort-post-self-insertion-hook):
4605 Sort post-self-insert-hook according to priority values when
4606 minor-modes are activated.
4607 * simple.el (newline-and-indent): Call newline with interactive
4608 set to t.
4609 (blink-paren-post-self-insert-function): Set priority to 100.
4610 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4611 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4612 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4613 electric-pair-open-newline-between-pairs to nil.
4614
4615 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4616
4617 * progmodes/python.el: Use lexical-binding.
4618 (python-nav-beginning-of-defun): Stop searching ASAP.
4619
4620 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4621
4622 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4623 Fix interactive spec. Doc fix. (Bug#15754)
4624
4625 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4626
4627 * emacs-lisp/byte-run.el (eval-when-compile):
4628 * progmodes/cc-defs.el (cc-eval-when-compile):
4629 Fix edebug spec (bug#16184).
4630
4631 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4632
4633 * net/shr.el (shr-visit-file): Remove debugging function.
4634 (shr-insert): Don't infloop if we can't find a good place to break
4635 the line (bug#16256).
4636
4637 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4638
4639 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4640 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4641 python-nav-lisp-forward-sexp-safe.
4642 (python-nav--forward-sexp): New argument SAFE allows switching
4643 forward sexp movement behavior for parens.
4644 (python-nav-forward-sexp): Throw errors on unterminated parens
4645 (Bug#16191).
4646 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4647 (python-nav-backward-sexp-safe): New functions.
4648 (python-shell-buffer-substring):
4649 Use `python-nav-forward-sexp-safe'.
4650
4651 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4652
4653 * net/shr.el (shr-find-fill-point): Don't break lines before a
4654 quotation mark.
4655 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4656 (shr-find-fill-point): Remove the special checks for the quotation
4657 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4658
4659 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4660
4661 * net/eww.el (eww-form-textarea): Use a different face for
4662 textareas than text input since they have different keymaps
4663 (bug#16142).
4664
4665 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4666
4667 * progmodes/python.el (python-nav-beginning-of-statement):
4668 Speed up (Bug#15295).
4669
4670 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4671
4672 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4673 the window configuration.
4674
4675 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4676
4677 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4678 we run on MS-Windows or MS-DOS.
4679
4680 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4681
4682 * window.el (balance-windows-area): Call window-size instead of
4683 window-height and window-width. Bug#16241.
4684
4685 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4686
4687 * net/eww.el (eww-bookmark-quit): Remove.
4688 (eww-bookmark-browse): Restore the window configuration when you
4689 choose a bookmark (bug#16144).
4690
4691 2013-12-24 Daniel Colascione <dancol@dancol.org>
4692
4693 * icomplete.el: Remove redundant :group arguments to `defcustom'
4694 throughout.
4695 (icomplete-show-matches-on-no-input): New customizable variable.
4696 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4697 we have something to show.
4698 (icomplete-exhibit): Compute completions even if we have no user input.
4699
4700 2013-12-23 Daniel Colascione <dancol@dancol.org>
4701
4702 * icomplete.el: Move `provide' to end of file.
4703
4704 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4705
4706 * net/gnutls.el (gnutls-verify-error): Add version tag.
4707
4708 2013-12-23 Chong Yidong <cyd@gnu.org>
4709
4710 * subr.el (set-transient-map): Rename from
4711 set-temporary-overlay-map. Doc fix.
4712
4713 * face-remap.el (text-scale-adjust):
4714 * indent.el (indent-rigidly):
4715 * kmacro.el (kmacro-call-macro):
4716 * minibuffer.el (minibuffer-force-complete):
4717 * repeat.el (repeat):
4718 * simple.el (universal-argument--mode):
4719 * calendar/todo-mode.el (todo-insert-item--next-param):
4720 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4721
4722 * indent.el (indent-rigidly): Use substitute-command-keys.
4723
4724 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4725
4726 * net/eww.el (eww-tag-select): Add text-property to jump to next
4727 select field.
4728 (eww): Add non-supported ftp error.
4729
4730 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4731
4732 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4733 comments. Handle electric indent after typing `?' and `!'.
4734
4735 2013-12-22 Chong Yidong <cyd@gnu.org>
4736
4737 * faces.el (face-spec-recalc): If the theme specs are not
4738 applicable to a frame, fall back on the defface spec.
4739 This prevents themes from obliterating faces on low-color terminals.
4740
4741 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4742
4743 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4744 after `{'. We need it after block openers, and it doesn't seem
4745 to hurt after hash openers.
4746
4747 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4748
4749 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4750 extracted from `ruby-smie-rules'.
4751 (ruby--electric-indent-chars): New variable.
4752 (ruby--electric-indent-p): New function.
4753 (ruby-mode): Use `electric-indent-functions' instead of
4754 `electric-indent-chars'.
4755
4756 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4757
4758 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4759 docstring.
4760 (ruby-smie-rules): Indent plus one level after `=>'.
4761
4762 2013-12-21 Richard Stallman <rms@gnu.org>
4763
4764 * simple.el (newline): Doc fix.
4765
4766 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4767
4768 * net/eww.el (eww-list-histories, eww-list-histories)
4769 (eww-history-browse, eww-history-quit, eww-history-kill)
4770 (eww-history-mode-map, eww-history-mode): New command and
4771 functions to list browser histories.
4772 (eww-form-text): Support text form with disabled
4773 and readonly attributes.
4774 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4775
4776 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4777
4778 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4779 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4780 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4781 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4782 Use `user-error'.
4783 (eww-bookmark-mode-map): Add menu.
4784 (eww-render, eww-mode): Use `setq-local'.
4785 (eww-tool-bar-map): New variable.
4786 (eww-mode): Set `tool-bar-map'.
4787 (eww-view-source): Check for `html-mode' with `fboundp'.
4788
4789 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4790
4791 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4792 elements with text inside. Also remove debugging.
4793
4794 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4795
4796 * cus-start.el (all): Add ns-use-srgb-colorspace.
4797
4798 2013-12-21 Chong Yidong <cyd@gnu.org>
4799
4800 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4801 undefined. Thus, theme settings for undefined faces do not take
4802 effect until the faces are defined with defface, the same as with
4803 theme variables.
4804
4805 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4806 (face-spec-reset-face): Don't assign extra properties in temacs.
4807 (face-spec-recalc): Apply X resources too.
4808
4809 2013-12-21 Chong Yidong <cyd@gnu.org>
4810
4811 * faces.el (face-spec-set):
4812 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4813 * custom.el (defface): Doc fixes (Bug#16203).
4814
4815 * indent.el (indent-rigidly-map): Add docstring, and move commands
4816 into named functions.
4817 (indent-rigidly-left, indent-rigidly-right)
4818 (indent-rigidly-left-to-tab-stop)
4819 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4820 indentation direction based on bidi direction, and accumulate
4821 sequential commands in a single undo boundary.
4822 (indent-rigidly--pop-undo): New utility function.
4823
4824 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4825
4826 * faces.el (read-face-name): Require crm.el when using crm-separator.
4827
4828 2013-12-20 Daniel Colascione <dancol@dancol.org>
4829
4830 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4831 so that we don't reflow comments into the shebang line.
4832
4833 2013-12-20 Juri Linkov <juri@jurta.org>
4834
4835 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4836 a position when `dired-directory' is non-nil. Check integer
4837 positions with `integerp'.
4838 (toggle-save-place, save-places-to-alist): Add check for
4839 `dired-directory'.
4840 (save-place-find-file-hook): Check integer positions with
4841 `integerp'.
4842 (save-place-dired-hook): Use `dired-goto-file' when
4843 `dired-filename' is found in the assoc list. Check integer
4844 positions with `integerp'.
4845 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4846
4847 * dired.el (dired-initial-position-hook): Rename back from
4848 `dired-initial-point-hook'.
4849 (dired-initial-position): Rename `dired-initial-point-hook' to
4850 `dired-initial-position-hook'.
4851 (dired-file-name-at-point): Doc fix. (Bug#15329)
4852
4853 2013-12-20 Juri Linkov <juri@jurta.org>
4854
4855 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4856 (read-regexp-suggestions): New function.
4857 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4858 Use `read-regexp-suggestions'. Add non-empty default to history
4859 for empty input.
4860 (occur-read-regexp-defaults-function): Remove function.
4861 (occur-read-primary-args): Use `regexp-history-last' instead of
4862 `occur-read-regexp-defaults-function'.
4863
4864 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4865 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4866 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4867 `hi-lock-read-regexp-defaults-function'. Doc fix.
4868 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4869 with `find-tag-default-as-symbol-regexp'. Doc fix.
4870 (hi-lock-read-regexp-defaults): Remove function.
4871 (hi-lock-regexp-okay): Add check for null.
4872
4873 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4874 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4875
4876 * subr.el (find-tag-default-as-symbol-regexp): New function.
4877 (find-tag-default-as-regexp): Move symbol regexp formatting to
4878 `find-tag-default-as-symbol-regexp'.
4879
4880 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4881
4882 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4883 (Bug#14179)
4884
4885 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4886
4887 * calendar/todo-mode.el: New implementation of item insertion
4888 commands and key bindings.
4889 (todo-key-prompt): New face.
4890 (todo-insert-item): New command.
4891 (todo-insert-item--parameters): New defconst, replacing defvar
4892 todo-insertion-commands-args-genlist.
4893 (todo-insert-item--param-key-alist): New defconst, replacing
4894 defvar todo-insertion-commands-arg-key-list.
4895 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4896 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4897 (todo-insert-item--next-param): New functions.
4898 (todo-insert-item--args, todo-insert-item--argleft)
4899 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4900 New variables.
4901 (todo-key-bindings-t): Change binding of "i" from
4902 todo-insertion-map to todo-insert-item.
4903 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4904 (todo-insertion-command-name, todo-insertion-commands-names)
4905 (todo-define-insertion-command, todo-insertion-commands)
4906 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4907
4908 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4909
4910 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4911 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4912 eval-when-compile.
4913 (todo-move-category): Allow choosing a non-existing todo file to
4914 move the category to, and create that file.
4915 (todo-default-priority): New user option.
4916 (todo-set-item-priority): Use it.
4917 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4918 (desktop-restore-file-buffer): Declare.
4919 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4920 (todo-modes-set-2): Locally set desktop-save-buffer to
4921 todo-desktop-save-buffer.
4922 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4923 (auto-mode-alist): Add autoload cookie.
4924
4925 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4926
4927 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4928 helpers.el was a poor choice of name.
4929 (string-remove-prefix): New function.
4930 (string-remove-suffix): New function.
4931
4932 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4933
4934 Fix assignment for new window total sizes.
4935 * window.el (window--pixel-to-size): Remove function.
4936 (window--pixel-to-total-1, window--pixel-to-total):
4937 Fix calculation of new total sizes.
4938
4939 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4940
4941 * comint.el (comint-output-filter): Fix rear-nonsticky property
4942 placement (Bug#16010).
4943
4944 2013-12-20 Chong Yidong <cyd@gnu.org>
4945
4946 * faces.el (read-color): Minor fix for completion function.
4947
4948 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4949
4950 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4951 New option. (Bug#16182)
4952 (ruby-smie--indent-to-stmt-p): Use it.
4953 (ruby-smie-rules): Revert the logic in the handling of `when'.
4954 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4955 (ruby-deep-arglist, ruby-deep-indent-paren)
4956 (ruby-deep-indent-paren-style): Update docstrings to note that the
4957 vars don't have any effect with SMIE.
4958
4959 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4960
4961 * calc/calc.el (calc-enter, calc-pop): Use the variable
4962 `calc-context-sensitive-enter'.
4963
4964 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4965
4966 * net/shr.el (shr-insert): Protect against infloops in degenerate
4967 tables.
4968
4969 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4970
4971 * progmodes/octave.el (octave): Add link to manual and octave
4972 homepage.
4973 (octave-mode-menu): Link to octave-mode manual.
4974
4975 2013-12-20 Leo Liu <sdl.web@gmail.com>
4976
4977 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4978 insertion using skeleton-end-newline. (Bug#16138)
4979
4980 2013-12-20 Juri Linkov <juri@jurta.org>
4981
4982 * replace.el (occur-engine): Use `add-face-text-property'
4983 to add the face property to matches and titles. (Bug#14645)
4984
4985 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4986 the palette of other hi-lock colors.
4987 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4988
4989 2013-12-19 Juri Linkov <juri@jurta.org>
4990
4991 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4992 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4993 (minibuffer-history-symbol): Move variable declaration closer to
4994 its usage.
4995
4996 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4997 (Bug#14785)
4998
4999 2013-12-19 Juri Linkov <juri@jurta.org>
5000
5001 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5002 New function.
5003 (log-edit-hook): Add it to :options. (Bug#16170)
5004
5005 2013-12-19 Juri Linkov <juri@jurta.org>
5006
5007 * simple.el (eval-expression-print-format): Don't check for
5008 command names and the last command. Always display additional
5009 formats of the integer result in the echo area, and insert them
5010 to the current buffer only with a zero prefix arg.
5011 Display character when char-displayable-p is non-nil.
5012 (eval-expression): With a zero prefix arg, set `print-length' and
5013 `print-level' to nil, and insert the integer values from
5014 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5015
5016 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5017 `eval-last-sexp-arg-internal'. Doc fix.
5018 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5019 `eval-last-sexp-print-value'. Doc fix.
5020 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5021 Set `print-length' and `print-level' to nil when arg is zero.
5022 (eval-last-sexp): Doc fix.
5023 (eval-defun-2): Print the integer values from
5024 `eval-expression-print-format' at the end.
5025
5026 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5027 values from `eval-expression-print-format' at the end.
5028
5029 * ielm.el (ielm-eval-input): Print the integer
5030 values from `eval-expression-print-format' at the end.
5031
5032 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5033
5034 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5035 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5036
5037 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5040 (hl-line-highlight, global-hl-line-highlight): Use it.
5041 (hl-line-overlay): Use defvar-local.
5042
5043 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5044
5045 * term/ns-win.el: Require dnd.
5046 (global-map): Remove drag items.
5047 (ns-insert-text, ns-set-foreground-at-mouse)
5048 (ns-set-background-at-mouse):
5049 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5050 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5051 New functions.
5052
5053 2013-12-19 Glenn Morris <rgm@gnu.org>
5054
5055 * emacs-lisp/ert.el (ert-select-tests):
5056 Fix string/symbol mixup. (Bug#16121)
5057
5058 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5059
5060 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5061 keywords to their parent.
5062
5063 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5064
5065 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5066 first arg to be a string (fixed dead code), or an operator symbol.
5067 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5068 operator symbols.
5069 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5070 did nothing. Don't respond to `(:after ".")', it will be called
5071 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5072 change anything. Only return indentation for binary operators
5073 when they are hanging. De-dent opening paren when its parent is
5074 `.', otherwise it looks bad when the dot is not at bol or eol
5075 (bug#16182).
5076
5077 2013-12-19 Juri Linkov <juri@jurta.org>
5078
5079 * replace.el (query-replace-read-args): Split a non-negative arg
5080 and a negative arg into separate elements.
5081 (query-replace, query-replace-regexp, replace-string)
5082 (replace-regexp): Add arg `backward'. Doc fix.
5083 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5084 move point to the beginning of the match.
5085 (replace-search, replace-highlight): Use new arg `backward'
5086 to set the value of `isearch-forward'.
5087 (perform-replace): Add arg `backward' and use it to perform
5088 replacement backward. (Bug#14979)
5089
5090 * isearch.el (isearch-query-replace): Use a negative prefix arg
5091 to call `perform-replace' with a non-nil arg `backward'.
5092
5093 2013-12-18 Juri Linkov <juri@jurta.org>
5094
5095 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5096 to the default list. Move `log-edit-show-files' to the end.
5097 Add more available functions to options.
5098 (log-edit): Move default specific settings to
5099 `log-edit-insert-message-template'. Don't move point.
5100 (log-edit-insert-message-template): New function.
5101 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5102 (Bug#16170)
5103
5104 2013-12-18 Juri Linkov <juri@jurta.org>
5105
5106 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5107 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5108
5109 2013-12-18 Leo Liu <sdl.web@gmail.com>
5110
5111 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5112 (Bug#16186)
5113
5114 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5115
5116 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5117 formats for displaying file sizes when the -s switch is given.
5118 Instead, compute a separate format for displaying the size in
5119 blocks, which is displayed in addition to the "regular" size.
5120 When -h is given in addition to -s, produce size in blocks in
5121 human-readable form as well. (Bug#16179)
5122
5123 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5124
5125 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5126 Reference tables with ~\ref{...} instead of only \ref{...}.
5127
5128 2013-12-18 Chong Yidong <cyd@gnu.org>
5129
5130 * cus-edit.el (custom-magic-alist): Fix "themed" description
5131 (Bug#14348).
5132
5133 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5134 is non-nil, do not create a new entry in the symbol's theme-value
5135 or theme-face property; update theme-settings only (Bug#14664).
5136 (custom-available-themes): Doc fix.
5137
5138 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5139 (Bug#15674).
5140
5141 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5142
5143 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5144
5145 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5146 (Bug#13914).
5147
5148 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5149
5150 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5151
5152 2013-12-18 Glenn Morris <rgm@gnu.org>
5153
5154 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5155 * cus-start.el (load-prefer-newer): New option.
5156
5157 2013-12-18 Le Wang <l26wang@gmail.com>
5158
5159 * comint.el (comint-previous-matching-input-from-input):
5160 Retain point (Bug#13404).
5161
5162 2013-12-18 Chong Yidong <cyd@gnu.org>
5163
5164 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5165
5166 2013-12-18 Glenn Morris <rgm@gnu.org>
5167
5168 * mail/emacsbug.el (report-emacs-bug):
5169 Only mention enable-multibyte-characters if non-standard.
5170
5171 2013-12-17 Juri Linkov <juri@jurta.org>
5172
5173 * arc-mode.el (archive-extract-by-file): Check if directory exists
5174 before deletion to not show irrelevant errors if it doesn't exist.
5175
5176 2013-12-17 Juri Linkov <juri@jurta.org>
5177
5178 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5179 (Bug#14751)
5180
5181 * net/eww.el (browse-web): Add alias to `eww'.
5182 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5183 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5184
5185 * net/browse-url.el (browse-url-browser-function): Move `eww'
5186 closer to similar functions.
5187
5188 * startup.el (fancy-startup-screen, fancy-about-screen):
5189 Set browse-url-browser-function to eww-browse-url locally.
5190 (Bug#14751)
5191
5192 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * window.el (window--pixel-to-total): Remove unused `mini' var.
5195 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5196 (split-window): Remove unused `new' var.
5197 (window--display-buffer): Remove unused `frame' and `delta' vars.
5198 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5199 and display-width'.
5200
5201 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5202
5203 * dired.el (dired-mark-pop-up):
5204 * register.el (register-preview): Don't bind
5205 split-height-threshold here since it's now done in
5206 display-buffer-below-selected.
5207
5208 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5209
5210 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5211 xterm-rgb-convert-to-16bit.
5212 (rxvt-register-default-colors): Standardize with
5213 xterm-register-default-colors (Bug#14078).
5214
5215 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5216
5217 * simple.el (kill-region): Pass mark first, then point, so that
5218 kill-append works right (Bug#12819).
5219 (copy-region-as-kill, kill-ring-save): Likewise.
5220
5221 2013-12-17 Leo Liu <sdl.web@gmail.com>
5222
5223 * net/rcirc.el (rcirc-add-face):
5224 * eshell/em-prompt.el (eshell-emit-prompt):
5225 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5226 (Bug#16167)
5227
5228 2013-12-17 Chong Yidong <cyd@gnu.org>
5229
5230 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5231 Suggested by Xue Fuqiao.
5232
5233 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5234
5235 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5236
5237 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * net/shr.el (shr-insert-document): Remove unused var
5240 `shr-preliminary-table-render'.
5241 (shr-rescale-image): Remove unused arg `force'.
5242 (shr-put-image): Update calls accordingly.
5243 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5244
5245 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5246
5247 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5248 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5249 :close-all, to see which indentation method to use (Bug#16116).
5250 (smie-rules-function): Document the method :close-all.
5251
5252 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5253
5254 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5255
5256 * net/eww.el (eww-display-html): If we can't find the anchor we're
5257 looking for, then go to point-min.
5258
5259 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5260
5261 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5262 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5263 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5264 Expand dir too, in case it's relative.
5265
5266 2013-12-16 Juri Linkov <juri@jurta.org>
5267
5268 * desktop.el (desktop-auto-save-timeout): Change default to
5269 `auto-save-timeout'. Doc fix.
5270 (desktop-save): Skip the timestamp in desktop-saved-frameset
5271 when checking for auto-save changes.
5272 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5273 `desktop-auto-save' is called repeatedly by the idle timer.
5274 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5275 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5276 (Bug#15331)
5277
5278 2013-12-16 Juri Linkov <juri@jurta.org>
5279
5280 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5281 (Bug#16035)
5282 (isearch-pre-command-hook): Check `this-command' for symbolp.
5283
5284 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5287
5288 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5289
5290 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5291 (cfengine3--current-function): Bring in the current-function
5292 functionality from `cfengine3--current-word'.
5293 (cfengine3-completion-function): Bring in the
5294 bounds-of-current-word functionality from
5295 `cfengine3--current-word'.
5296
5297 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5298
5299 * window.el (display-buffer-below-selected):
5300 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5301
5302 2013-12-16 Leo Liu <sdl.web@gmail.com>
5303
5304 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5305 Remove NOMSG arg and all uses changed.
5306
5307 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5310 (cua--deactivate-rectangle): Don't deactivate the mark.
5311 (cua-set-rectangle-mark): Don't set mark-active since
5312 cua--activate-rectangle already does it for us.
5313 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5314 non-rectangular region.
5315
5316 * emulation/cua-base.el (cua-repeat-replace-region):
5317 Use with-current-buffer.
5318
5319 * net/gnutls.el: Use cl-lib.
5320 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5321
5322 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5323
5324 * emacs-lisp/package.el (package-built-in-p): Support both
5325 built-in and the package.el converted package descriptions.
5326 (package-show-package-list): Allow keywords.
5327 (package-keyword-button-action): Use it instead of
5328 `finder-list-matches'.
5329 (package-menu-filter-interactive): Interactive filtering (by
5330 keyword) function.
5331 (package-menu--generate): Support keywords and change keymappings
5332 and headers when they are given.
5333 (package--has-keyword-p): Helper function.
5334 (package-menu--refresh): Use it.
5335 (package--mapc): Helper function.
5336 (package-all-keywords): Use it.
5337 (package-menu-mode-map): Set up menu items and keybindings to
5338 provide a filtering UI.
5339
5340 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5341
5342 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5343 the behavior when a certificate fails validation. Defaults to
5344 old behavior: never abort, just warn.
5345 (gnutls-negotiate): Use it.
5346
5347 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5348
5349 * window.el (display-buffer-below-selected): Never split window
5350 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5351
5352 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5353
5354 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5355 (package-buffer-info): Use it (bug#15108).
5356
5357 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * icomplete.el (icomplete-completions): Make sure the prefix is already
5360 displayed elsewhere before hiding it (bug#16219).
5361
5362 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5363
5364 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5365 open-paren tokens when preceded by a open-paren, too.
5366 (ruby-smie-rules): Handle virtual indentation after open-paren
5367 tokens specially. If there is code between it and eol, return the
5368 column where is starts (Bug#16118).
5369
5370 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5371
5372 * progmodes/cfengine.el: Fix `add-hook' doc.
5373 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5374 (cfengine3--current-word): Fix parameters.
5375 (cfengine3-make-syntax-cache): Simplify further.
5376 (cfengine3-completion-function, cfengine3--current-function):
5377 Use `assq' for symbols.
5378 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5379
5380 2013-12-13 Glenn Morris <rgm@gnu.org>
5381
5382 * loadup.el (load-path): Warn if site-load or site-init changes it.
5383 No more need to reset it when bootstrapping.
5384
5385 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5386
5387 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5388 locations for cf-promises.
5389 (cfengine-mode-syntax-functions-regex): New caching variable.
5390 (cfengine3-fallback-syntax): Fallback syntax for cases where
5391 cf-promises doesn't run.
5392 (cfengine3--current-word): Reimplement using
5393 `cfengine-mode-syntax-functions-regex'.
5394 (cfengine3-completion-function, cfengine3--current-function):
5395 Use `cfengine3-make-syntax-cache' directly.
5396 (cfengine3-clear-syntax-cache): New function.
5397 (cfengine3-make-syntax-cache): Simplify and create
5398 `cfengine-mode-syntax-functions-regex' on demand.
5399 (cfengine3-format-function-docstring): Don't call
5400 `cfengine3-make-syntax-cache' explicitly.
5401
5402 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5403
5404 Fix windmove-find-other-window broken after pixelwise resizing
5405 (Bug#16017).
5406 * windmove.el (windmove-other-window-loc): Revert change from
5407 2013-12-04.
5408 (windmove-find-other-window): Call window-in-direction.
5409 * window.el (window-in-direction): New arguments SIGN, WRAP and
5410 MINI to emulate original windmove-find-other-window behavior.
5411
5412 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5413
5414 * simple.el (blink-matching--overlay): New variable.
5415 (blink-matching-open): Instead of moving point, highlight the
5416 matching paren with an overlay
5417 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5418
5419 * faces.el (paren-showing-faces, show-paren-match)
5420 (show-paren-mismatch): Move from paren.el.
5421
5422 2013-12-13 Leo Liu <sdl.web@gmail.com>
5423
5424 * indent.el (indent-region): Disable progress reporter in
5425 minibuffer. (Bug#16108)
5426
5427 * bindings.el (visual-order-cursor-movement): Fix version.
5428
5429 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5430
5431 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5432 Also match after beginning of line.
5433 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5434 files. Thanks to Russell Sim. (Bug#15378)
5435
5436 2013-12-13 Juri Linkov <juri@jurta.org>
5437
5438 * simple.el <Keypad support>: Remove key bindings duplicated
5439 with bindings.el. (Bug#14397)
5440
5441 2013-12-13 Juri Linkov <juri@jurta.org>
5442
5443 * comint.el (comint-mode-map): Replace `delete-char' with
5444 `delete-forward-char'. (Bug#16109)
5445
5446 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5447
5448 * progmodes/python.el (python-indent-calculate-indentation):
5449 Fix de-denters cornercase. (Bug#15731)
5450
5451 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5454 (advice--make): Pay attention to `depth'.
5455 (advice--make-1): Don't autoload commands eagerly.
5456 * emacs-lisp/elp.el (elp-instrument-function):
5457 * emacs-lisp/trace.el (trace-function-internal):
5458 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5459
5460 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5461
5462 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5463
5464 * term/w32-win.el (w32-handle-dropped-file):
5465 * startup.el (normal-top-level):
5466 * net/browse-url.el (browse-url-file-url):
5467 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5468 decode file names using 'utf-8' rather than
5469 file-name-coding-system.
5470
5471 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5472
5473 * progmodes/python.el (python-indent-context)
5474 (python-indent-calculate-indentation): Fix auto-identation
5475 behavior for comment blocks. (Bug#15916)
5476
5477 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5478
5479 * progmodes/python.el (python-indent-calculate-indentation):
5480 When determining indentation, don't treat "return", "pass", etc., as
5481 operators when they are just string constituents. (Bug#15812)
5482
5483 2013-12-12 Juri Linkov <juri@jurta.org>
5484
5485 * uniquify.el (uniquify-buffer-name-style): Change default to
5486 `post-forward-angle-brackets'.
5487
5488 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5489 `uniquify'. Change default to `post-forward-angle-brackets'.
5490
5491 2013-12-11 Glenn Morris <rgm@gnu.org>
5492
5493 * emacs-lisp/package.el (finder-list-matches):
5494 Autoload rather than falsely declaring.
5495
5496 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5497
5498 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5499 (eww-mode-map): Use them.
5500
5501 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5502
5503 * window.el (display-buffer-in-side-window): Fix doc-string
5504 (Bug#16115).
5505
5506 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5507
5508 * vc/vc-git.el: Silence byte-compiler warnings.
5509 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5510 (log-edit-set-header): Declare.
5511
5512 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5513
5514 * Makefile.in (custom-deps, finder-data): Run output file names
5515 through unmsys--file-name. (Bug#16099)
5516
5517 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5520 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5521
5522 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5523 instead of deleting the selection "by hand" (bug#16098).
5524 Rely on insert-for-yank to yank rectangles.
5525 (cua-highlight-region-shift-only): Mark obsolete.
5526 (cua-mode): Don't enable/disable transient-mark-mode,
5527 shift-select-mode (cua-mode works both with and without them), and
5528 pc-selection-mode (obsolete).
5529 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5530 (cua--deactivate-rectangle): Deactivate it.
5531
5532 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5533 (delete-selection-helper): Make sure yank starts at the top of the
5534 deleted region.
5535 (minibuffer-keyboard-quit): Use region-active-p.
5536
5537 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5538
5539 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5540 to `delete' (bug#16109).
5541
5542 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5543
5544 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5545 info manual and show keybindings and set `:group' keyword.
5546
5547 2013-12-11 Juri Linkov <juri@jurta.org>
5548
5549 * delsel.el (delete-active-region): Let-bind `this-command'
5550 to prevent `kill-region' from changing its original value.
5551 (delete-selection-helper): Handle `overwrite-mode' for the type
5552 `kill' exactly the same way as for the type `t'.
5553 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5554 Support more commands. (Bug#13312)
5555
5556 2013-12-11 Juri Linkov <juri@jurta.org>
5557
5558 * bindings.el: Map kp keys to non-kp keys systematically
5559 with basic modifiers control, meta and shift. (Bug#14397)
5560
5561 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5562
5563 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5564 "Close browser" menu items. Fix wrong function of "List
5565 bookmarks".
5566
5567 2013-12-11 Juri Linkov <juri@jurta.org>
5568
5569 * misearch.el (multi-isearch-buffers): Set the value of
5570 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5571 arg of isearch-forward to t.
5572 (multi-isearch-buffers-regexp): Set the value of
5573 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5574 arg of isearch-forward-regexp to t.
5575 (multi-isearch-files): Set the value of
5576 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5577 arg of isearch-forward to t.
5578 (multi-isearch-files-regexp): Set the value of
5579 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5580 arg of isearch-forward-regexp to t. (Bug#16035)
5581
5582 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5583 arg of isearch-forward to t.
5584 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5585 arg of isearch-forward-regexp to t.
5586 (dired-isearch-filter-filenames): Remove unnecessary check for
5587 `dired-isearch-filenames'.
5588
5589 * comint.el (comint-history-isearch-backward):
5590 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5591 (comint-history-isearch-backward-regexp):
5592 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5593
5594 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5595
5596 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5597 unmsys--file-name. (Bug#16099)
5598
5599 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5600
5601 * emacs-lisp/package.el (package-keyword-button-action):
5602 Remove finder.el require dependency.
5603
5604 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5605
5606 * emacs-lisp/package.el: Require finder.el.
5607 (describe-package-1): Add keyword buttons.
5608 (package-make-button): New convenience function.
5609 (package-keyword-button-action): Keyword button action using
5610 `finder-list-matches'.
5611
5612 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5613
5614 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5615 last commit.
5616
5617 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5618
5619 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5620 symlinked files.
5621
5622 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5623
5624 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5625 after the end of a percent literal.
5626
5627 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5628
5629 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5630 Handle caret-delimited strings (Bug#16079).
5631
5632 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5633
5634 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5635 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5636 `ruby-parse-partial' (Bug#16078).
5637
5638 2013-12-09 Leo Liu <sdl.web@gmail.com>
5639
5640 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5641
5642 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5643
5644 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5645 (js-switch-indent-offset): New option.
5646 (js--proper-indentation): Use it. And handle the case when
5647 "default" is actually a key in an object literal.
5648 (js--same-line): New function.
5649 (js--multi-line-declaration-indentation): Use it.
5650 (js--indent-in-array-comp, js--array-comp-indentation):
5651 New functions.
5652 (js--proper-indentation): Use them, to handle array comprehension
5653 continuations.
5654
5655 2013-12-08 Leo Liu <sdl.web@gmail.com>
5656
5657 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5658 (flymake-make-overlay): Remove arg MOUSE-FACE.
5659 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5660
5661 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5662
5663 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5664 New function.
5665 (redisplay-highlight-region-function): Use it.
5666
5667 * emulation/cua-base.el (cua--explicit-region-start)
5668 (cua--last-region-shifted): Remove.
5669 (cua--deactivate): Use deactivate-mark.
5670 (cua--pre-command-handler-1): Don't handle shift-selection.
5671 (cua--post-command-handler-1): Don't change transient-mark-mode.
5672 (cua--select-keymaps): Use region-active-p rather than
5673 cua--explicit-region-start or cua--last-region-shifted.
5674 (cua-mode): Enable shift-select-mode.
5675
5676 2013-12-08 Leo Liu <sdl.web@gmail.com>
5677
5678 * progmodes/flymake.el (flymake-popup-current-error-menu):
5679 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5680 (flymake-posn-at-point-as-event, flymake-popup-menu)
5681 (flymake-make-emacs-menu): Remove. (Bug#16077)
5682
5683 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * rect.el (rectangle-mark-mode): Activate mark even if
5686 transient-mark-mode is off (bug#16066).
5687 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5688 is > mark and at bolp.
5689
5690 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5691 (region-extract-function): Use it.
5692 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5693 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5694 Delete functions.
5695 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5696 kill-ring-save, kill-region, delete-char, delete-forward-char.
5697 Ignore self-insert-iso.
5698
5699 * emulation/cua-gmrk.el (cua--init-global-mark):
5700 Ignore `self-insert-iso'.
5701
5702 * emulation/cua-base.el (cua--prefix-copy-handler)
5703 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5704 checking cua--rectangle.
5705 (cua-delete-region): Use region-extract-function.
5706 (cua-replace-region): Delete function.
5707 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5708 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5709 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5710 (cua--init-keymaps): Don't remap delete-selection commands.
5711 (cua-mode): Use delete-selection-mode instead of rolling our own
5712 (bug#16085).
5713
5714 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5715 Obey region-extract-function.
5716
5717 Make registers and delete-selection-mode work on rectangles.
5718 * register.el (describe-register-1): Don't modify the register's value.
5719 (copy-to-register): Obey region-extract-function.
5720 * delsel.el (delete-active-region): Obey region-extract-function.
5721
5722 2013-12-08 Leo Liu <sdl.web@gmail.com>
5723
5724 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5725 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5726 (flymake-compilation-prevents-syntax-check)
5727 (flymake-start-syntax-check-on-newline)
5728 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5729 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5730 (flymake-xml-program, flymake-master-file-dirs)
5731 (flymake-master-file-count-limit)
5732 (flymake-allowed-file-name-masks): Relocate.
5733 (flymake-makehash, flymake-float-time)
5734 (flymake-replace-regexp-in-string, flymake-split-string)
5735 (flymake-get-temp-dir): Remove.
5736 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5737 (flymake-current-row, flymake-selected-frame)
5738 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5739 related functions. (Bug#16077)
5740
5741 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5742
5743 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5744
5745 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5746
5747 * help-fns.el (describe-function-1): Use new advice-* functions
5748 rather than old ad-* functions. Fix function type description and
5749 source links for advised functions and subrs.
5750
5751 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5752
5753 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5754
5755 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5756
5757 * progmodes/compile.el (compilation-start):
5758 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5759
5760 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5761 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5762
5763 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5764
5765 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5766 Touch up the last change.
5767
5768 2013-12-06 Leo Liu <sdl.web@gmail.com>
5769
5770 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5771 (inferior-octave-startup): Always use "octave> " for prompt.
5772 (octave-goto-function-definition)
5773 (octave-sync-function-file-names)
5774 (octave-find-definition-default-filename): Remove redundant backquotes.
5775
5776 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5777
5778 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5779 syntax for `?'.
5780 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5781 where appropriate already.
5782 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5783 end of method names (Bug#15874).
5784
5785 2013-12-06 Juri Linkov <juri@jurta.org>
5786
5787 * isearch.el (isearch--saved-overriding-local-map):
5788 New internal variable.
5789 (isearch-mode): Set it to the initial value of
5790 `overriding-terminal-local-map'.
5791 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5792 with `isearch--saved-overriding-local-map'. (Bug#16035)
5793
5794 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5795
5796 * progmodes/octave.el (inferior-octave-completion-table):
5797 Turn back into function, use `completion-table-with-cache'
5798 (Bug#11906). Update all references.
5799
5800 * minibuffer.el (completion-table-with-cache): New function.
5801
5802 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5803
5804 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5805
5806 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5807
5808 * net/eww.el (eww-current-source): New variable to store page
5809 source.
5810 (eww-display-html, eww-mode, eww-save-history)
5811 (eww-restore-history): Use it.
5812 (eww-view-source): New command to view page source.
5813 Opportunistically uses `html-mode' to highlight the buffer.
5814 (eww-mode-map): Install it.
5815
5816 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5817
5818 * net/dbus.el (dbus-unregister-service)
5819 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5820 Fix docstring.
5821 (dbus-unregister-service): Skip :serial entries in
5822 `dbus-registered-objects-table'.
5823 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5824
5825 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5826
5827 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5828 around keywords with extra `split-string' argument.
5829
5830 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5831
5832 * windmove.el (windmove-other-window-loc): Handle navigation
5833 between windows (excluding the minibuffer window - Bug#16017).
5834
5835 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5836
5837 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5838 in D-Bus type syntax.
5839 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5840 preserve unibyte strings. (Bug#16048)
5841
5842 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5845 Call force-mode-line-update is the proper buffer (bug#16042).
5846
5847 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5848
5849 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5850 `log-edit-remember-comment', make argument optional. Adjust all
5851 callers.
5852 (log-edit-mode): Add `log-edit-remember-comment' to
5853 `kill-buffer-hook' locally.
5854 (log-edit-kill-buffer): Don't remember comment explicitly since
5855 the buffer is killed anyway.
5856
5857 2013-12-04 Juri Linkov <juri@jurta.org>
5858
5859 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5860 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5861
5862 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5863
5864 * notifications.el (notifications-close-notification): Call the
5865 D-Bus method with ID being a `:uint32'. (Bug#16030)
5866
5867 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5868
5869 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5870
5871 2013-12-03 Juri Linkov <juri@jurta.org>
5872
5873 * progmodes/compile.el (compilation-start): Rename window alist
5874 entry `no-display-ok' to `allow-no-window'.
5875
5876 * simple.el (shell-command): Add window alist entry
5877 `allow-no-window' to `display-buffer'.
5878 (async-shell-command): Doc fix.
5879
5880 * window.el (display-buffer-no-window): New action function.
5881 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5882
5883 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5884
5885 * vc/log-edit.el (log-edit-set-header): Extract from
5886 `log-edit-toggle-header'.
5887 (log-edit-extract-headers): Separate the summary, when extracted
5888 from header, from the rest of the message with an empty line.
5889
5890 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5891 line, if present, to the Summary header.
5892
5893 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5896 in current-buffer (bug#16029).
5897
5898 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5899
5900 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5901 (debugger-mode-map): Bind it.
5902 (debugger--backtrace-base): New function.
5903 (debugger-eval-expression): Use it.
5904 (debugger-frame-number): Skip local vars when present.
5905 (debugger--locals-visible-p, debugger--insert-locals)
5906 (debugger--show-locals, debugger--hide-locals): New functions.
5907
5908 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5909
5910 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5911 "LC_ALL".
5912 (tramp-get-remote-locale): New defun.
5913 (tramp-open-connection-setup-interactive-shell): Use it.
5914
5915 2013-12-02 Leo Liu <sdl.web@gmail.com>
5916
5917 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5918
5919 * progmodes/sh-script.el (sh-shell-process):
5920 * progmodes/octave.el (inferior-octave-process-live-p):
5921 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5922 (gdb-inferior-io-sentinel):
5923 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5924
5925 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5926
5927 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5928 `save-selected-window' to `log-edit-hide-buf'. This makes
5929 `log-edit-show-files' idempotent.
5930 (log-edit-show-files): Mark the new window as dedicated.
5931
5932 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5933
5934 * vc/log-edit.el (log-edit-mode-map): Add binding for
5935 `log-edit-kill-biffer'.
5936 (log-edit-hide-buf): Add a FIXME comment.
5937 (log-edit-add-new-comment): New function, extracted from
5938 `log-edit-done'.
5939 (log-edit-done, log-edit-add-to-changelog): Use it.
5940 (log-edit-kill-buffer): New command.
5941
5942 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5943
5944 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5945 instead of killing the buffer.
5946
5947 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5950
5951 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5952
5953 * net/eww.el (eww-form-checkbox-selected-symbol)
5954 (eww-form-checkbox-symbol): New customizable variable.
5955 (eww-form-checkbox, eww-toggle-checkbox):
5956 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5957
5958 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5959 (shr--get-media-pref, shr--extract-best-source): New function.
5960 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5961 no :src tag was specified.
5962
5963 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5964 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5965 Use \\` to match beginning of string instead of ^.
5966 (eww-browse-with-external-browser): Provide optional URL parameter.
5967 (eww-render): Set `eww-current-title' back to "".
5968
5969 * net/shr.el (shr-tag-video): Display content for video if no
5970 poster is available.
5971 (shr-tag-audio): Add support for <audio> tag.
5972
5973 * net/eww.el (eww-text-input-types): New const.
5974 (eww-process-text-input): Treat input types in
5975 `eww-text-input-types' as text.
5976
5977 * net/shr.el (shr-tag-table): Fix comment typo.
5978
5979 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5980
5981 * net/eww.el (eww-follow-link): New command to avoid reloading
5982 pages when we follow #target links (bug#15243).
5983 (eww-quit): Special mode buffers shouldn't query before exiting.
5984
5985 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5986
5987 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5988 forms.
5989
5990 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5991
5992 * net/eww.el (eww-restore-history): Update the window title after
5993 moving in the history.
5994 (eww-current-dom): New variable used to save the current DOM.
5995
5996 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5997
5998 * vc/log-edit.el (log-edit-mode-map): Add binding for
5999 `log-edit-beginning-of-line'.
6000 (log-edit-setup-add-author): New user option.
6001 (log-edit-beginning-of-line): New command.
6002 (log-edit): Move major mode call above the contents setup so that
6003 the local variable values are already applied.
6004 (log-edit): Only insert "Author: " when
6005 `log-edit-setup-add-author' is non-nil.
6006 (log-edit): When SETUP is non-nil, position point after ": "
6007 instead of point-min.
6008
6009 2013-12-01 Glenn Morris <rgm@gnu.org>
6010
6011 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6012
6013 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6014
6015 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6016 redisplay to make sure the initial frame gets a chance to become
6017 visible. (Bug#16014)
6018
6019 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6020
6021 Support resizing frames and windows pixelwise.
6022 * cus-start.el (frame-resize-pixelwise)
6023 (window-resize-pixelwise): New entries.
6024 * emacs-lisp/debug.el (debug): Use window-total-height instead
6025 of window-total-size.
6026 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6027 * help.el (describe-bindings-internal): Use help-buffer as
6028 argument for with-help-window.
6029 (temp-buffer-max-width): New option.
6030 (resize-temp-buffer-window, help-window-setup)
6031 (with-help-window): Rewrite.
6032 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6033 dragging dividers.
6034 * window.el (frame-char-size, window-min-pixel-height)
6035 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6036 (window-min-pixel-width, window-safe-min-pixel-size)
6037 (window-combination-p, window-safe-min-size)
6038 (window-resizable-p, window--size-to-pixel)
6039 (window--pixel-to-size, window--resize-apply-p): New functions.
6040 (window-safe-min-height): Fix doc-string.
6041 (window-size, window-min-size, window--min-size-1)
6042 (window-sizable, window-sizable-p, window--min-delta-1)
6043 (window-min-delta, window--max-delta-1, window-max-delta)
6044 (window--resizable, window--resizable-p, window-resizable)
6045 (window-full-height-p, window-full-width-p, window-at-side-p)
6046 (window--in-direction-2, window-in-direction)
6047 (window--resize-reset-1, window--resize-mini-window)
6048 (window-resize, window-resize-no-error)
6049 (window--resize-child-windows-normal)
6050 (window--resize-child-windows, window--resize-siblings)
6051 (window--resize-this-window, window--resize-root-window)
6052 (window--resize-root-window-vertically)
6053 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6054 (maximize-window, minimize-window, delete-window)
6055 (quit-restore-window, window-split-min-size, split-window)
6056 (balance-windows-2, balance-windows)
6057 (balance-windows-area-adjust, balance-windows-area)
6058 (window--state-get-1, window-state-get, window--state-put-1)
6059 (window--state-put-2, window-state-put)
6060 (display-buffer-record-window, window--display-buffer):
6061 Make functions handle pixelwise sizing of windows.
6062 (display-buffer--action-function-custom-type)
6063 (display-buffer-fallback-action):
6064 Add display-buffer-in-previous-window.
6065 (display-buffer-use-some-window): Resize window to height it had
6066 before.
6067 (fit-window-to-buffer-horizontally): New option.
6068 (fit-frame-to-buffer): Describe new values.
6069 (fit-frame-to-buffer-bottom-margin): Replace with
6070 fit-frame-to-buffer-margins.
6071 (window--sanitize-margin): New function.
6072 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6073 using window-text-pixel-size.
6074
6075 2013-11-30 Glenn Morris <rgm@gnu.org>
6076
6077 * emacs-lisp/bytecomp.el (byte-compile-form):
6078 Make the `interactive-only' warning like the `obsolete' one.
6079 * comint.el (comint-run):
6080 * files.el (insert-file-literally, insert-file):
6081 * replace.el (replace-string, replace-regexp):
6082 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6083 (goto-line, insert-buffer, next-line, previous-line):
6084 Tweak `interactive-only' spec.
6085
6086 Stop keeping (most) generated cedet grammar files in the repository.
6087 * Makefile.in (semantic): New.
6088 (compile-main): Depend on semantic.
6089
6090 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6093 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6094
6095 * uniquify.el (uniquify-buffer-name-style): Change default.
6096
6097 * loadup.el: Preload "uniquify".
6098
6099 * time.el (display-time-update): Update all mode lines (bug#15999).
6100
6101 * electric.el (electric-indent-mode): Enable by default.
6102 * loadup.el: Preload "electric".
6103
6104 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6105
6106 * emacs-lisp/helpers.el (string-empty-p): New function.
6107 (string-blank-p): New function.
6108
6109 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6110
6111 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6112 (Bug#14029).
6113
6114 2013-11-29 Andreas Politz <politza@fh-trier.de>
6115 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6116 allow non-lambda lists as functions.
6117 (imenu--in-alist): Don't recurse into non-subalists.
6118 (imenu): Don't pass function itself as an argument (Bug#14029).
6119
6120 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 * progmodes/python.el (python-mode-map): Remove binding for ":".
6123 (python-indent-electric-colon): Remove command.
6124 (python-indent-post-self-insert-function): Integrate the previous code
6125 of python-indent-electric-colon. Make it conditional on
6126 electric-indent-mode.
6127 (python-mode): Add ?: to electric-indent-chars.
6128 Move python-indent-post-self-insert-function to the end of
6129 post-self-insert-hook.
6130
6131 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6132
6133 * doc-view.el (doc-view-goto-page): Update mode-line.
6134
6135 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6136
6137 2013-11-27 Glenn Morris <rgm@gnu.org>
6138
6139 * international/charprop.el, international/uni-bidi.el:
6140 * international/uni-category.el, international/uni-combining.el:
6141 * international/uni-comment.el, international/uni-decimal.el:
6142 * international/uni-decomposition.el, international/uni-digit.el:
6143 * international/uni-lowercase.el, international/uni-mirrored.el:
6144 * international/uni-name.el, international/uni-numeric.el:
6145 * international/uni-old-name.el, international/uni-titlecase.el:
6146 * international/uni-uppercase.el:
6147 Remove generated files from VCS repository.
6148
6149 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6150
6151 * filenotify.el (file-notify-add-watch): Don't special-case
6152 w32notify when computing the directory to watch.
6153
6154 2013-11-27 Glenn Morris <rgm@gnu.org>
6155
6156 Make bootstrap without generated uni-*.el files possible again.
6157 * loadup.el: Update command-line-args checking for unidata-gen.
6158 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6159 * composite.el, international/characters.el:
6160 Handle unicode tables being undefined.
6161
6162 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6163 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6164 (compile-main): Depend on leim rule.
6165 (leim): New rule.
6166 * loadup.el: Move leim-list.el to leim/ subdirectory.
6167 * startup.el (normal-top-level): No more leim directory.
6168 * international/ja-dic-cnv.el (skkdic-convert):
6169 Disable version-control and autoloads in output files.
6170 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6171 Disable version-control and autoloads in output files.
6172 * leim/quail: Move here from ../leim.
6173 * leim/quail/hangul.el (hangul-input-method-activate):
6174 Add autoload cookie.
6175 (generated-autoload-load-name): Set file-local value.
6176 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6177 (generated-autoload-load-name): Set file-local value.
6178
6179 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6180
6181 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6182 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6183 (eww-quit): Ask confirmation before quitting eww.
6184
6185 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6186
6187 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6188 reading output from Diff on MS-Windows and MS-DOS.
6189
6190 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6191
6192 * emacs-lisp/helpers.el (string-reverse): New function.
6193
6194 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6195
6196 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6197 names on MS Windows, like "/[::1]:".
6198
6199 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6200 SWITCHES.
6201
6202 2013-11-26 Glenn Morris <rgm@gnu.org>
6203
6204 * progmodes/python.el (python-indent-guess-indent-offset):
6205 Avoid corner-case error. (Bug#15975)
6206
6207 Preload leim-list.el. (Bug#4789)
6208 * loadup.el: Load leim-list.el when found.
6209 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6210
6211 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6212
6213 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6214
6215 * emacs-lisp/helpers.el (string-join): New function.
6216
6217 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6218
6219 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6220 Mark as obsolete and replace it with a symbol property.
6221 (byte-compile-form): Use new 'interactive-only property.
6222 * comint.el, files.el, replace.el, simple.el:
6223 Apply new 'interactive-only properly.
6224
6225 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6226
6227 * window.el (display-buffer-at-bottom): Make sure that
6228 split-window-sensibly creates the new window on bottom
6229 (Bug#15961).
6230
6231 2013-11-23 David Kastrup <dak@gnu.org>
6232
6233 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6234 on the conflict markers when available.
6235 (smerge--get-marker): New function.
6236 (smerge-end-re, smerge-base-re): Add subgroup.
6237
6238 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * frame.el (handle-focus-in, handle-focus-out): Add missing
6241 interactive spec.
6242
6243 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6244
6245 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6246 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6247
6248 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6249
6250 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6251 (gomoku--last-pos): New var.
6252 (gomoku--intangible-chars): New const.
6253 (gomoku--intangible): New function.
6254 (gomoku-mode): Use it. Derive from special-mode.
6255 (gomoku-move-up): Adjust line count.
6256 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6257 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6258 Simplify accordingly.
6259
6260 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6261 Remove blink-cursor code.
6262 (blink-cursor-timer-function, blink-cursor-suspend):
6263 Don't special-case GUIs.
6264 (blink-cursor-mode): Use focus-in/out-hook.
6265
6266 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6267
6268 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6269 work when annotation is invisible (Bug#13886).
6270
6271 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6272
6273 * json.el (json-alist-p): Only return non-nil if the alist has
6274 simple keys (Bug#13518).
6275
6276 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6277
6278 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6279 when control-statement is the first statement in a buffer (Bug#15956).
6280
6281 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6282
6283 * imenu.el (imenu-generic-skip-comments-and-strings):
6284 New option (Bug#15560).
6285 (imenu--generic-function): Use it.
6286
6287 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6288
6289 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6290 (Bug#13898)
6291
6292 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6293
6294 * emacs-lisp/helpers.el: Add some string helpers.
6295 (string-trim-left): Removes leading whitespace.
6296 (string-trim-right): Removes trailing whitespace.
6297 (string-trim): Removes leading and trailing whitespace.
6298
6299 * subr.el (string-suffix-p): New function.
6300
6301 2013-11-23 Glenn Morris <rgm@gnu.org>
6302
6303 * progmodes/python.el (python-shell-send-file):
6304 Add option to delete file when done. (Bug#15647)
6305 (python-shell-send-string, python-shell-send-region): Use it.
6306
6307 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6308
6309 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6310 to set buffer-read-only to t, never to nil. (Bug#15938)
6311
6312 * textmodes/tex-mode.el (latex-noindent-environments):
6313 Add safe-local-variable property. (Bug#15936)
6314
6315 2013-11-23 Glenn Morris <rgm@gnu.org>
6316
6317 * textmodes/enriched.el (enriched-mode): Doc fix.
6318 * emacs-lisp/authors.el (authors-renamed-files-alist):
6319 Add enriched.doc -> enriched.txt.
6320
6321 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6322
6323 2013-11-22 Leo Liu <sdl.web@gmail.com>
6324
6325 * progmodes/octave.el (inferior-octave-startup): Spit out error
6326 message.
6327
6328 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6329
6330 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6331 Improve docstring.
6332 Add :version.
6333 (ruby-encoding-magic-comment-style): Add :version.
6334
6335 2013-11-22 Leo Liu <sdl.web@gmail.com>
6336
6337 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6338 (Bug#15076)
6339 (octave-help-mode): Adapt to change to help-mode-finish to use
6340 derived-mode-p on 2013-09-17.
6341 (inferior-octave-prompt): Also match octave-gui.
6342 (octave-kill-process): Don't ask twice. (Bug#10564)
6343
6344 2013-11-22 Leo Liu <sdl.web@gmail.com>
6345
6346 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6347 (inferior-octave-startup, inferior-octave-check-process)
6348 (inferior-octave-track-window-width-change)
6349 (octave-completion-at-point, octave-eldoc-function): Use it.
6350 (octave-kill-process): Provide confirmation. (Bug#10564)
6351
6352 2013-11-21 Leo Liu <sdl.web@gmail.com>
6353
6354 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6355 Fix obsolete variable comment-use-global-state.
6356
6357 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6358
6359 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6360 Add `octave-source-file'.
6361 (octave-source-file): New function. (Bug#15935)
6362
6363 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6364
6365 * net/eww.el (eww-local-regex): New variable.
6366 (eww): Use it to detect localhost and similar.
6367
6368 2013-11-21 Leo Liu <sdl.web@gmail.com>
6369
6370 Add completion for command `ag'.
6371 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6372 (pcomplete/ag): New function.
6373 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6374
6375 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6376
6377 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6378 (bug#14646).
6379 (make-obsolete): Remove interactive spec.
6380
6381 2013-11-21 Glenn Morris <rgm@gnu.org>
6382
6383 * startup.el (command-line-1): Use path-separator with -L.
6384
6385 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6386
6387 * emacs-lisp/package.el (describe-package-1): Add package archive
6388 to shown fields.
6389
6390 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6391
6392 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6393 Change default to "# encoding: %s" to differentiate it from the
6394 default Ruby encoding comment template.
6395
6396 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6397
6398 * ses.el (ses-mode): Doc fix. (Bug#14748)
6399
6400 2013-11-20 Leo Liu <sdl.web@gmail.com>
6401
6402 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6403
6404 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6405
6406 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6407 when rebase or bisect are in progress.
6408
6409 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6410
6411 * filenotify.el (file-notify-add-watch): Doc fix.
6412
6413 2013-11-19 Leo Liu <sdl.web@gmail.com>
6414
6415 * obsolete/rcompile.el: Mark obsolete.
6416
6417 * progmodes/compile.el (compilation-start)
6418 (compilation-goto-locus, compilation-find-file):
6419 Pass no-display-ok and handle nil value from display-buffer.
6420 (Bug#13594)
6421
6422 * window.el (display-buffer-alist, display-buffer): Document the
6423 new parameter no-display-ok. Return either a window or nil
6424 but never a non-window value.
6425
6426 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * electric.el (electric-indent-mode-map): Remove.
6429 (electric-indent-mode): Change the global-map instead (bug#15915).
6430
6431 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6432 Use add-function.
6433
6434 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * emacs-lisp/nadvice.el (remove-function): Align with
6437 add-function's behavior.
6438
6439 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6440 (gdb--string-regexp): New constant.
6441 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6442 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6443 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6444 submatch 1.
6445 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6446 Adjust use accordingly.
6447 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6448
6449 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6450
6451 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6452 interpolation curlies (Bug#15914).
6453
6454 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6455
6456 * calc/calc.el (calc-context-sensitive-enter): New variable.
6457 (calc-enter): Use `calc-context-sensitive-enter'.
6458
6459 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6460
6461 * progmodes/cfengine.el: Version bump.
6462 (cfengine-cf-promises): New defcustom to locate cf-promises.
6463 (cfengine3-vartypes): Add new "data" type.
6464 (cfengine3--current-word): New function to get current name-like
6465 word or its bounds.
6466 (cfengine3--current-function): New function to look up a CFEngine
6467 function's definition.
6468 (cfengine3-format-function-docstring): New function.
6469 (cfengine3-make-syntax-cache): New function.
6470 (cfengine3-documentation-function): New function: ElDoc glue.
6471 (cfengine3-completion-function): New function: completion glue.
6472 (cfengine3-mode): Set `compile-command',
6473 `eldoc-documentation-function', and add to
6474 `completion-at-point-functions'.
6475
6476 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6477
6478 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6479 `tramp-current-connection'.
6480
6481 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6482
6483 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6484 nil/self/true/false with "end of symbol".
6485
6486 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6487
6488 * subr.el (version-regexp-alist): Fix a typo.
6489
6490 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6491
6492 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6493 "en_US.utf8" and "LC_CTYPE" to "".
6494 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6495 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6496
6497 2013-11-15 Leo Liu <sdl.web@gmail.com>
6498
6499 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6500
6501 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * progmodes/gud.el (ctl-x-map):
6504 Remove C-x SPC binding. (Bug#12342)
6505 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6506
6507 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6508
6509 * subr.el (version-regexp-alist):
6510 Recognize hg, svn and darcs versions as snapshot versions.
6511
6512 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6513 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6514 (ruby--encoding-comment-required-p): Extract from
6515 `ruby-mode-set-encoding'.
6516 (ruby-mode-set-encoding): Add the ability to always insert an
6517 utf-8 encoding comment. Fix and simplify coding comment update
6518 logic.
6519
6520 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6521
6522 * net/tramp-gvfs.el (top): Run init code only when
6523 `tramp-gvfs-enabled' is not nil.
6524 (tramp-gvfs-enabled): Check also :system bus.
6525
6526 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6527
6528 Sync with upstream verilog-mode revision 78e66ba.
6529 * progmodes/verilog-mode.el (verilog-end-of-defun)
6530 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6531 (verilog-get-end-of-defun): Remove unused argument.
6532 (verilog-comment-depth): Remove unused local `e'.
6533 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6534 Don't pass arg to verilog-get-end-of-defun.
6535
6536 2013-11-14 Glenn Morris <rgm@gnu.org>
6537
6538 * obsolete/assoc.el (aget): Prefix dynamic variable.
6539
6540 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6541
6542 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6543
6544 * widget.el, hfy-cmap.el: Remove bogus package version number.
6545
6546 2013-11-13 Glenn Morris <rgm@gnu.org>
6547
6548 * replace.el (replace-eval-replacement):
6549 Try to give more helpful error message. (Bug#15836)
6550
6551 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6552 (archive-7z-update): Avoid custom type mismatches.
6553
6554 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6555
6556 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6557
6558 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6559 address can be empty.
6560
6561 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6562 Accept nil SWITCHES.
6563 (tramp-gvfs-handle-write-region): Implement APPEND.
6564
6565 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6566
6567 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6568 binary "|" operator and closing block args delimiter.
6569 Remove FIXME comment referring to Ruby 1.8-only syntax.
6570 (ruby-smie--implicit-semi-p): Not after "|" operator.
6571 (ruby-smie--closing-pipe-p): New function.
6572 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6573 (ruby-smie-rules): Indent after "|".
6574
6575 2013-11-12 Glenn Morris <rgm@gnu.org>
6576
6577 * ps-print.el (ps-face-attribute-list):
6578 Handle anonymous faces. (Bug#15827)
6579
6580 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6581
6582 * window.el (display-buffer-other-frame): Fix doc-string.
6583 (Bug#15868)
6584
6585 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6586
6587 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6588
6589 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6590
6591 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6592 (tramp-sh-handle-file-local-copy): Don't write a message when
6593 saving temporary files.
6594
6595 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6596 both directories are remote.
6597 (tramp-smb-handle-directory-files): Do not return double entries.
6598 Do not expand full file names.
6599 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6600 (tramp-smb-handle-write-region): Implement APPEND.
6601 (tramp-smb-get-stat-capability): Fix a stupid bug.
6602
6603 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6604
6605 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6606
6607 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6608
6609 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6610 throwing error over malformed let/let* (bug#15814).
6611
6612 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * iswitchb.el (iswitchb-mode): Mark obsolete.
6615
6616 2013-11-11 Glenn Morris <rgm@gnu.org>
6617
6618 * international/uni-bidi.el, international/uni-category.el:
6619 * international/uni-name.el, international/uni-numeric.el:
6620 Regenerate for Unicode 6.3.0.
6621
6622 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6623
6624 * net/tramp.el (tramp-methods):
6625 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6626 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6627
6628 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6629
6630 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6631 Force highlighting text after Summary keyword in doc face for rpm.
6632
6633 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6634
6635 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6636 available and the word has no wildcards, append one to the grep pattern.
6637 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6638 (ispell-complete-word): Call `ispell-lookup-words' with the value
6639 independent of `ispell-look-p'.
6640
6641 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6642
6643 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6644 Not after "||".
6645 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6646 their parent.
6647
6648 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6649
6650 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6651 (ruby-font-lock-keywords): Use backquote.
6652
6653 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6654
6655 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6656 (ruby-smie--backward-token): Only consider full-string matches.
6657
6658 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6659
6660 * faces.el (describe-face): Add distant-foreground.
6661
6662 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6663
6664 * progmodes/ruby-mode.el: Improve encoding comment handling.
6665 (ruby-encoding-magic-comment-style): New option.
6666 (ruby-custom-encoding-magic-comment-template): New option.
6667 (ruby--insert-coding-comment, ruby--detect-encoding):
6668 New functions extracted from `ruby-mode-set-encoding'.
6669 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6670 to control the style of the auto-inserted encoding comment.
6671
6672 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6673
6674 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6675 Use `smie-backward-sexp' with token argument.
6676
6677 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6678
6679 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6680 Remove instrumentation code.
6681
6682 2013-11-08 Glenn Morris <rgm@gnu.org>
6683
6684 * progmodes/autoconf.el (autoconf-mode):
6685 Tweak comment-start-skip. (Bug#15822)
6686
6687 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6690 at bobp (bug#15826).
6691 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6692
6693 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6694
6695 * man.el (Man-start-calling): New macro, extracted from
6696 Man-getpage-in-background.
6697 (Man-getpage-in-background): Use it.
6698 (Man-update-manpage): New command.
6699 (Man-mode-map): Bind it.
6700
6701 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6702
6703 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6704 of "and", "or", "&&" and "||".
6705 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6706 argument. Prohibit opening curly brace because it could only be a
6707 block opener in that position.
6708 (ruby-smie--forward-token, ruby-smie--backward-token):
6709 Separate "|" from "&" or "*" going after it. That can happen in block
6710 arguments.
6711 (ruby-smie--indent-to-stmt): New function, seeks the end of
6712 previous statement or beginning of buffer.
6713 (ruby-smie-rules): Use it.
6714 (ruby-smie-rules): Check if there's a ":" before a curly block
6715 opener candidate; if there is, it's a hash.
6716
6717 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6718
6719 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6720 (cl--block-wrapper): Fix last accidental change.
6721
6722 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6723
6724 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6725 Instrument, in order to hunt failure on hydra.
6726
6727 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6728
6729 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6730 malformed bindings form (bug#15814).
6731
6732 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6733
6734 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6735 "." compared to " @ ". This incidentally fixes some indentation
6736 examples with "do".
6737 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6738 (ruby-smie-grammar): New tokens: "and" and "or".
6739 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6740 Exclude "and" and "or". Remove "do" in order to work around token
6741 priorities.
6742 (ruby-smie-rules): Add all infix tokens. Handle the case of
6743 beginning-of-buffer.
6744
6745 2013-11-06 Glenn Morris <rgm@gnu.org>
6746
6747 * Makefile.in (setwins_almost, setwins_for_subdirs):
6748 Avoid accidental matches.
6749
6750 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * menu-bar.el (popup-menu): Use key-binding.
6753
6754 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6755
6756 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6757 menus, support also the menus produced by minor modes.
6758 (Bug#15817)
6759
6760 2013-11-06 Leo Liu <sdl.web@gmail.com>
6761
6762 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6763 DISTANCE to bound the search. All uses changed. (Bug#15808)
6764
6765 2013-11-06 Glenn Morris <rgm@gnu.org>
6766
6767 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6768 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6769 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6770
6771 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * electric.el (electric-indent-just-newline): New command.
6774 (electric-indent-mode-map): New keymap.
6775 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6776 Re-add :group which weren't redundant.
6777
6778 * electric.el (electric-indent-local-mode): New minor mode.
6779 (electric-indent-functions-without-reindent): New var.
6780 (electric-indent-post-self-insert-function): Use it.
6781 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6782
6783 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6784
6785 * international/quail.el (quail-help): Be more explicit about the
6786 meaning of the labels shown on the keys. (Bug#15800)
6787
6788 * startup.el (normal-top-level): Load the subdirs.el files before
6789 setting the locale environment. (Bug#15805)
6790
6791 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6794 via arguments so as to get the right ones (bug#15418).
6795
6796 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6797
6798 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6799
6800 Fix problems found while writing a test suite.
6801
6802 * net/tramp-compat.el (tramp-compat-load): New defun.
6803 * net/tramp.el (tramp-handle-load): Use it.
6804
6805 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6806 "(numberp ok-if-already-exists)" correctly.
6807
6808 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6809
6810 * international/characters.el (glyphless-char-display-control):
6811 Add usage note.
6812
6813 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6814
6815 * progmodes/python.el (python-mode):
6816 * progmodes/scheme.el (scheme-mode):
6817 * progmodes/prolog.el (prolog-mode):
6818 * progmodes/ruby-mode.el (ruby-mode):
6819 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6820 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6821
6822 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 * rect.el (rectangle--highlight-for-redisplay):
6825 * emacs-lisp/smie.el (smie--next-indent-change):
6826 Use buffer-chars-modified-tick.
6827
6828 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6829
6830 * electric.el (electric-indent-post-self-insert-function):
6831 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6832
6833 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6834
6835 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6836
6837 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6838
6839 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6840 (bug#15786).
6841
6842 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6843
6844 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6845
6846 * progmodes/python.el: Fix up last change.
6847 (python-shell--save-temp-file): New function.
6848 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6849 `string' comes from the current buffer.
6850 (python-shell-send-string-no-output): Remove `msg' arg.
6851 (python--use-fake-loc): New var.
6852 (python-shell-buffer-substring): Obey it. Try to compensate for the
6853 extra coding line added by python-shell--save-temp-file.
6854 (python-shell-send-region): Use python-shell--save-temp-file and
6855 python-shell-send-file directly. Add `nomain' argument.
6856 (python-shell-send-buffer): Use python-shell-send-region.
6857 (python-electric-pair-string-delimiter): New function.
6858 (python-mode): Use it.
6859
6860 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6861
6862 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6863 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6864 environment and decoding all of the default-directory's to here
6865 from command-line.
6866 (command-line): Decode also argv[0].
6867
6868 * loadup.el: Error out if default-directory is a multibyte string
6869 when we are dumping.
6870
6871 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6872
6873 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6874
6875 * emacs-lisp/package.el (package-menu-mode)
6876 (package-menu--print-info, package-menu--archive-predicate):
6877 Add Archive column to package list.
6878
6879 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6880
6881 Fix problems found while writing a test suite.
6882
6883 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6884 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6885 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6886 to nil when running original file name handler. Otherwise,
6887 there are problems with constructs like "$$FOO".
6888
6889 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6890 for `localname'.
6891
6892 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6893
6894 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6895
6896 * subr.el (version<, version<=, version=):
6897 Update docstrings with information for snapshot versions.
6898
6899 * helpers.el: New library for misc helper functions.
6900 (hash-table-keys): New function returning a list of hash keys.
6901 (hash-table-values): New function returning a list of hash values.
6902
6903 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6904
6905 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6906 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6907
6908 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6909
6910 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6911 checking whether point is after a 1-letter word.
6912
6913 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6914
6915 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6916 Don't infloop when expanding region over `multiline' syntax-type that
6917 begins a line (bug#15778).
6918
6919 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6922 Make it into a proper minor mode.
6923 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6924 (rectangle-mark-mode-map): New keymap.
6925 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6926
6927 2013-11-04 Glenn Morris <rgm@gnu.org>
6928
6929 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6930
6931 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6934 (ruby-smie-rules): Use smie-rule-parent instead.
6935
6936 * emacs-lisp/smie.el (smie-rule-parent): Always call
6937 smie-indent-virtual rather than only for hanging tokens.
6938 (smie--next-indent-change): New helper command.
6939
6940 2013-11-03 Glenn Morris <rgm@gnu.org>
6941
6942 * Makefile.in (abs_srcdir): Remove.
6943 (emacs): Unset EMACSLOADPATH.
6944
6945 2013-11-02 Glenn Morris <rgm@gnu.org>
6946
6947 * Makefile.in (EMACS): Use a relative filename.
6948 (abs_top_builddir): Remove.
6949 (custom-deps, finder-data, autoloads): Use --chdir.
6950
6951 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6952
6953 Use relative filenames in TAGS files.
6954 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6955 (lisptagsfiles4, TAGS): Use relative file names.
6956 (TAGS-LISP): Remove.
6957 (maintainer-clean): No more TAGS-LISP file.
6958
6959 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6960 (lisptagsfiles4): Use absolute filenames again.
6961 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6962 Remove all *loaddefs files, not just the first. Remove esh-groups.
6963 (maintainer-clean): Delete TAGS, TAGS-LISP.
6964
6965 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6966
6967 * emacs-lisp/package.el (package-version-join):
6968 Recognize snapshot versions.
6969
6970 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6971
6972 * subr.el (version-regexp-alist): Add support for snapshot versions.
6973
6974 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6975
6976 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6977 New function, replacement for `smie-rule-parent' for when we want to
6978 skip over our direct parent if it's an assignment token..
6979 (ruby-smie-rules): Use it.
6980
6981 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6982
6983 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6984 unconditionally. Remove now unnecessary forward declarations.
6985 Remove XEmacs-specific setup.
6986 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6987 (ruby-font-lock-syntactic-keywords)
6988 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6989 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6990 (ruby-here-doc-end-syntax): Remove.
6991 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6992 defined as function.
6993
6994 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6995
6996 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6997
6998 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6999
7000 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7001 table and abbrev table, `define-derived-mode' does that for us
7002 anyway.
7003
7004 2013-11-01 Glenn Morris <rgm@gnu.org>
7005
7006 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7007 files is atomic for some time, so no parallel compilation issues).
7008
7009 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7010
7011 * faces.el (face-x-resources): Add :distant-foreground.
7012 (region): Use :distant-foreground for gtk and ns.
7013
7014 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7015
7016 Allow multiple bibliographies when BibLaTeX is used rather than
7017 BibTeX.
7018 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7019 (reftex-locate-bibliography-files): Us it.
7020
7021 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7022
7023 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7024 allow comments in pbm files.
7025
7026 * term/w32-win.el (dynamic-library-alist): Support newer versions
7027 of libjpeg starting with v7: look only for the DLL from the
7028 version against which Emacs was built.
7029 Support versions of libpng beyond 1.4.x.
7030 Support libtiff v4.x.
7031
7032 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7033
7034 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7035 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7036 Add property :safe.
7037 (ruby-deep-arglist): Add property :type.
7038
7039 2013-10-31 Glenn Morris <rgm@gnu.org>
7040
7041 * Makefile.in (custom-deps, finder-data): No need to setq the target
7042 variables, we are in the right directory and the defaults work fine.
7043
7044 2013-10-30 Glenn Morris <rgm@gnu.org>
7045
7046 * Makefile.in (autoloads): Do not use abs_lisp.
7047
7048 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7049 `newline' does not respect `standard-output', so use `princ'.
7050
7051 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7052
7053 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7054 * buff-menu.el (Buffer-menu--unmark): New function.
7055 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7056
7057 2013-10-30 Glenn Morris <rgm@gnu.org>
7058
7059 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7060
7061 * emacs-lisp/package.el (lm-homepage): Declare.
7062
7063 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7064 Fix doc typos.
7065
7066 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7067
7068 * Makefile.in (finder-data, autoloads, update-subdirs)
7069 (compile-main, compile-clean, compile-always, bootstrap-clean):
7070 Check return value of cd.
7071 (compile-calc): Remove.
7072
7073 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7076
7077 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7078 (byte-compile-and-folded): New function.
7079 (=, <, >, <=, >=): Use it.
7080
7081 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7082 (path-separator, null-device, buffer-file-coding-system)
7083 (lpr-headers-switches): Check system-type before modifying them.
7084 (find-buffer-file-type-coding-system): Mark obsolete.
7085 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7086 find-file-not-found-set-buffer-file-coding-system.
7087 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7088 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7089 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7090 (w32-direct-print-region-helper, w32-direct-print-region-function)
7091 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7092 * startup.el (normal-top-level-add-subdirs-to-load-path):
7093 * ps-print.el (ps-print-region-function):
7094 * lpr.el (print-region-function): Use new name.
7095
7096 * subr.el (custom-declare-variable-early): Remove function.
7097 (custom-declare-variable-list): Remove var.
7098 (error, user-error): Remove `while' loop.
7099 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7100 (user-emacs-directory-warning, locate-user-emacs-file):
7101 Move to files.el.
7102 * simple.el (read-quoted-char-radix, read-quoted-char):
7103 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7104 Move from subr.el.
7105 * custom.el (custom-declare-variable-list): Don't process
7106 custom-declare-variable-list.
7107
7108 * progmodes/python.el (python-shell-get-buffer): New function.
7109 (python-shell-get-process): Use it.
7110 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7111 Python which encoding was used. Don't split-string since we only care
7112 about the first line. Return the temp-file, if applicable.
7113 (python-shell-send-region): Tell compile.el how to turn locations in
7114 the temp-file into locations in the source buffer.
7115
7116 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7117
7118 * subr.el (undefined): Add missing behavior from the C code for
7119 unbound keys.
7120
7121 * rect.el: Use lexical-binding. Add new rectangular region support.
7122 (rectangle-mark): New command.
7123 (rectangle--region): New var.
7124 (deactivate-mark-hook): Reset rectangle--region.
7125 (rectangle--extract-region, rectangle--insert-for-yank)
7126 (rectangle--highlight-for-redisplay)
7127 (rectangle--unhighlight-for-redisplay): New functions.
7128 (region-extract-function, redisplay-unhighlight-region-function)
7129 (redisplay-highlight-region-function): Use them to handle
7130 rectangular region.
7131 * simple.el (region-extract-function): New var.
7132 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7133 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7134 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7135 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7136 (redisplay-unhighlight-region-function)
7137 (redisplay-highlight-region-function): New vars.
7138 (redisplay--update-region-highlight): New function.
7139 (pre-redisplay-function): Use it.
7140 (exchange-point-and-mark): Don't deactivate the mark before
7141 reactivate-it anyway.
7142 * comint.el (comint-kill-region): Remove yank-handler argument.
7143 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7144 (delete-char): Remove property, since it's now part of their
7145 default behavior.
7146 (self-insert-iso): Remove property since this command doesn't exist.
7147
7148 * emacs-lisp/package.el (package--download-one-archive)
7149 (describe-package-1): Don't query the user about final newline.
7150
7151 2013-10-29 Daniel Colascione <dancol@dancol.org>
7152
7153 * net/tramp.el (tramp-methods): Document new functionality.
7154 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7155 tramp-hostname-checker if method provides one instead of scanning
7156 argument list for "%h" to decide hostname acceptability.
7157
7158 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7159
7160 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7161 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7162 Handle COPY-CONTENTS. (Bug#15737)
7163
7164 2013-10-28 Daiki Ueno <ueno@gnu.org>
7165
7166 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7167 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7168
7169 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7170
7171 * image.el (defimage, image-load-path): Doc fixes.
7172
7173 2013-10-27 Alan Mackenzie <acm@muc.de>
7174
7175 Indent statements in macros following "##" correctly.
7176 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7177 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7178
7179 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7180
7181 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7182
7183 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7184
7185 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7186 after `=' is probably a new expression.
7187
7188 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7189
7190 * man.el (man-imenu-title): New option.
7191 (Man-mode-map): Add menu. (Bug#15722)
7192 (Man-mode): Add imenu to menu.
7193
7194 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7195
7196 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7197 specific in what the first arg can be: a non-keyword word,
7198 string/regexp/percent literal opener, opening paren, or unary
7199 operator followed directly by word.
7200
7201 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7202
7203 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7204 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7205 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7206 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7207 Remove vars, they do not apply any more.
7208 (prolog-mode-abbrev-table): Remove redundant declaration.
7209 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7210 (prolog-use-smie): Remove.
7211 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7212 supported by prolog-electric-if-then-else-flag.
7213 (prolog-mode-variables, prolog-menu): Use setq-local.
7214 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7215 Remove binding to `Backspace' since this key doesn't exist anyway.
7216 Remove bindings for electric self-inserting keys.
7217 (prog-mode): Assume it's defined.
7218 (prolog-post-self-insert): New function.
7219 (prolog-mode): Use it.
7220 (prolog-indent-line, prolog-indent-level)
7221 (prolog-find-indent-of-matching-paren)
7222 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7223 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7224 (prolog-goto-next-paren, prolog-in-string-or-comment)
7225 (prolog-tokenize, prolog-inside-mline-comment)
7226 (prolog-find-start-of-mline-comment): Remove functions.
7227 (prolog-find-unmatched-paren, prolog-clause-end)
7228 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7229 (prolog-electric--if-then-else): Rename from
7230 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7231 (prolog-tokenize-searchkey): Remove const.
7232 (prolog-clause-info): Use forward-sexp.
7233 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7234 (prolog-electric-if-then-else): Remove commands.
7235 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7236 for use in post-self-insert-hook.
7237 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7238 for use in post-self-insert-hook.
7239 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7240 for use in post-self-insert-hook.
7241 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7242 adapt it for use in post-self-insert-hook.
7243
7244 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7245
7246 * emacs-lisp/ert.el (ert-run-tests-interactively):
7247 Use `completing-read'. (Bug#9756)
7248
7249 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7250
7251 * simple.el (line-move): Call line-move-1 instead of
7252 line-move-visual when the current window hscroll is zero, but
7253 temporary-goal-column indicates we will need to hscroll as result
7254 of the movement. (Bug#15712)
7255
7256 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7257
7258 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7259 capitalization. Use :visible instead of :active.
7260 Fix `ruby-indent-exp' reference. Add menu items for the generic
7261 commands that are used with SMIE.
7262 (ruby-do-end-to-brace): Insert space after `{'.
7263
7264 2013-10-25 John Anthony <john@jo.hnanthony.com>
7265
7266 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7267
7268 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7269
7270 2013-10-25 Glenn Morris <rgm@gnu.org>
7271
7272 * vc/vc.el (vc-print-log): Don't use a working revision unless
7273 one was explicitly specified. (Bug#15322)
7274
7275 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7276
7277 * subr.el (add-to-list): Preserve return value in compiler-macro
7278 (bug#15692).
7279
7280 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7281
7282 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7283 result. Ask user to retry using '-all' flag. (Bug#15701)
7284
7285 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7286
7287 * emacs-lisp/smie.el: New smie-config system.
7288 (smie-config): New defcustom.
7289 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7290 (smie-config-guess, smie-config-save): New commands.
7291 (smie-config--mode-local, smie-config--buffer-local)
7292 (smie-config--trace, smie-config--modefuns): New vars.
7293 (smie-config--advice, smie-config--mode-hook)
7294 (smie-config--setter, smie-config-local, smie-config--get-trace)
7295 (smie-config--guess-value, smie-config--guess): New functions.
7296 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7297 text properties. Treat "string fence" syntax like string syntax.
7298
7299 * progmodes/sh-script.el (sh-use-smie): Change default.
7300 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7301 (sh-var-value): Simplify by CSE.
7302 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7303 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7304 is used.
7305 (sh-guess-basic-offset): Use cl-incf.
7306 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7307
7308 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7309
7310 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7311 (bug#15699).
7312
7313 2013-10-24 Glenn Morris <rgm@gnu.org>
7314
7315 * Makefile.in (abs_top_srcdir): Remove.
7316 (update-subdirs): Use relative path to update-subdirs.
7317
7318 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7319
7320 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7321 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7322 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7323 Call unmsys--file-name before expand-file-name, not after it.
7324
7325 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7326
7327 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7328 (ert-test-skipped): New error.
7329 (ert-skip, ert-stats-skipped): New defuns.
7330 (ert--skip-unless): New macro.
7331 (ert-test-skipped): New struct.
7332 (ert--run-test-debugger, ert-test-result-type-p)
7333 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7334 (ert--stats-set-test-and-result, ert-char-for-test-result)
7335 (ert-string-for-test-result, ert-run-tests-batch)
7336 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7337 Handle skipped tests. (Bug#9803)
7338
7339 2013-10-24 Glenn Morris <rgm@gnu.org>
7340
7341 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7342
7343 * Makefile.in (abs_top_srcdir): New, set by configure.
7344 (update-subdirs): Correct build-aux location.
7345
7346 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7347
7348 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7349 value, whether we could auto-deduce `backend', or not.
7350
7351 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7352 with parameters" example. Simplify the "is it block or is it
7353 hash" check, but also make it more thorough.
7354
7355 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7356
7357 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7358
7359 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7362 { if it is hanging.
7363
7364 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7365 :before ";".
7366
7367 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7368
7369 * progmodes/compile.el (compilation-directory-matcher)
7370 (compilation-page-delimiter):
7371 Support GNU Make-4.0 directory quoting. (Bug#15678)
7372
7373 2013-10-23 Leo Liu <sdl.web@gmail.com>
7374
7375 * ido.el (ido-tidy): Handle read-only text.
7376
7377 2013-10-23 Glenn Morris <rgm@gnu.org>
7378
7379 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7380 (emacs, compile, compile-always):
7381 Quote entities that might contain whitespace.
7382 (custom-deps, finder-data, autoloads): Use abs_lisp.
7383 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7384 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7385 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7386
7387 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7388
7389 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7390 Use `following-char'.
7391
7392 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7395 * progmodes/ruby-mode.el (ruby-smie-rules):
7396 Remove corresponding workaround. Fix indentation rule of ";" so it
7397 also applies when ";" is the parent.
7398
7399 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7400
7401 * frame.el (display-screens, display-pixel-height)
7402 (display-pixel-width, display-mm-width, display-backing-store)
7403 (display-save-under, display-planes, display-color-cells)
7404 (display-visual-class, display-monitor-attributes-list):
7405 Mention the optional ‘display’ argument in doc strings.
7406
7407 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7408
7409 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7410 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7411
7412 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7413
7414 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7415 TODO. Add "." after " @ ".
7416 (ruby-smie--at-dot-call): New function. Checks if point at method
7417 call with explicit target.
7418 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7419 to the method name tokens when it precedes them.
7420 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7421 (ruby-smie-rules): Add rule for indentation before and after "."
7422 token.
7423
7424 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * textmodes/remember.el (remember-diary-extract-entries):
7427 Avoid add-to-list.
7428
7429 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7430 an instruction.
7431
7432 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7433
7434 * progmodes/ruby-mode.el (ruby-smie-grammar):
7435 Add (almost) all infix operators.
7436 (ruby-smie--implicit-semi-p): Add new operator chars.
7437
7438 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7439 `smie-down-list'.
7440 (ruby-smie--args-separator-p): Check that there's no newline
7441 between method call and its arguments.
7442
7443 2013-10-20 Alan Mackenzie <acm@muc.de>
7444
7445 Allow comma separated lists after Java "implements".
7446
7447 * progmodes/cc-engine.el (c-backward-over-enum-header):
7448 Parse commas.
7449 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7450 from a "disallowed" list in enum fontification.
7451
7452 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7453
7454 * startup.el (default-frame-background-mode): Remove unused defvar.
7455
7456 * progmodes/verilog-mode.el (verilog-mode): Don't set
7457 comment-indent-function globally.
7458
7459 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7460
7461 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7462 Move Info menu item creation to ns-win.el.
7463
7464 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7465 in menu bar.
7466
7467 * menu-bar.el: Move GNUstep specific menus...
7468
7469 * term/ns-win.el (ns-initialize-window-system): ... to here.
7470
7471 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7472
7473 * simple.el (newline): Only run post-self-insert-hook when
7474 called interactively.
7475
7476 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7477
7478 * icomplete.el (icomplete-with-completion-tables): Add :version.
7479
7480 2013-10-19 Alan Mackenzie <acm@muc.de>
7481
7482 Fix fontification bugs with constructors and const.
7483
7484 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7485 CASE 2) Remove the check for the absence of a suffix construct
7486 after a function declaration with only types (no identifiers) in
7487 the parentheses. Also, accept a function declaration with just a
7488 type inside the parentheses, if this type can be positively
7489 recognised as such, or if a prefix keyword like "explicit" nails
7490 down the construct as a declaration.
7491
7492 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7493
7494 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7495 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7496 the problem whereby selecting a menu item that leads to a
7497 minibuffer prompt moves the cursor out of the minibuffer window,
7498 making it hard to type at the prompt. Suggested by Stefan Monnier
7499 <monnier@iro.umontreal.ca>.
7500
7501 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7502
7503 * menu-bar.el: Don't make Services menu.
7504
7505 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7506
7507 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7508 (ffap-alist): Use ffap-c++-mode for c++-mode.
7509 (ffap-c++-path): New variable.
7510 (ffap-c++-mode): New function.
7511
7512 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7513
7514 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7515
7516 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7517
7518 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7519 introduced on 2013-09-08, which results in an infinite loop
7520 requesting a password.
7521
7522 2013-10-18 Glenn Morris <rgm@gnu.org>
7523
7524 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7525
7526 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7527
7528 Sync with upstream verilog-mode revision 1a6ecec7.
7529 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7530 (verilog-mode-release-date): Remove.
7531 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7532 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7533 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7534 (verilog-auto-tieoff-ignore-regexp)
7535 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7536 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7537 (verilog-signals-with, verilog-dir-cache-preserving)
7538 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7539 Doc fixes.
7540 (verilog-case-fold): New option, to control case folding in
7541 regexp searches, bug597.
7542 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7543 (verilog-string-match-fold, verilog-in-paren-count)
7544 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7545 (verilog-at-close-struct-p): New functions.
7546 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7547 (verilog-forward-sexp, verilog-set-auto-endcomments)
7548 (verilog-leap-to-case-head): Handle "unique0" case.
7549 (verilog-in-constraint-re): New constant.
7550 (verilog-keywords, verilog-type-font-keywords):
7551 Add some SystemVerilog 1800-2012 keywords.
7552 (verilog-label-be): Remove unimplemented argument, bug669.
7553 (verilog-batch-execute-func): When batch expanding clear
7554 create-lockfiles to prevent spurious user locks when a file ends
7555 up not changing.
7556 (verilog-calculate-indent, verilog-calc-1)
7557 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7558 (verilog-do-indent): Fix indentation of nested constraints
7559 and structures.
7560 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7561 (verilog-auto-inst-param): Use verilog-string-match-fold.
7562 (verilog-read-inst-module-matcher):
7563 Fix AUTOINST on gate primitives with #1.
7564 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7565 Reads all user-defined typed variables.
7566 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7567 (verilog-signals-matching-regexp)
7568 (verilog-signals-not-matching-regexp, verilog-auto):
7569 Respect verilog-case-fold.
7570 (verilog-diff-report): Fix line count.
7571 (verilog-auto-assign-modport): Remove unused local `modi'.
7572 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7573 better handle multidimensional arrays.
7574 Fix packed array ports misadding bit index in AUTOINST, bug637.
7575 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7576 to not double-declare existing outputs and inputs, respectively.
7577 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7578 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7579 (verilog-sk-uvm-component): New skeleton.
7580 (verilog-submit-bug-report): Add verilog-case-fold,
7581 remove verilog-mode-release-date.
7582
7583 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7584
7585 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7586 as before.
7587
7588 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7589
7590 * textmodes/remember.el (remember): Set buffer-offer-save in
7591 remember buffers (bug#13566).
7592
7593 2013-10-18 Daniel Colascione <dancol@dancol.org>
7594
7595 When evaluating forms in ielm, direct standard output to ielm
7596 buffer. Add new ielm-return-for-effect command. Remove trailing
7597 whitespace throughout.
7598
7599 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7600 (ielm-return-for-effect): New command.
7601 (ielm-send-input): Accept optional `for-effect' parameter.
7602 (ielm-eval-input): Accept optional `for-effect' parameter.
7603 Bind `standard-output' to stream we create using
7604 `ielm-standard-output-impl'. Suppress printing result when
7605 `for-effect'.
7606 (ielm-standard-output-impl): New function.
7607 (inferior-emacs-lisp-mode): Explain new features in documentation.
7608
7609 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7610
7611 Code cleanup.
7612
7613 * net/tramp.el (tramp-debug-message): Do not check for connection
7614 buffer.
7615 (tramp-message): Use "vector" connection property.
7616
7617 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7618 (tramp-equal-remote, tramp-eshell-directory-change)
7619 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7620 (tramp-adb-handle-rename-file)
7621 * net/tramp-cmds.el (tramp-list-remote-buffers)
7622 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7623 * net/tramp-compat.el (tramp-compat-process-running-p)
7624 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7625 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7626 (tramp-gvfs-handle-rename-file)
7627 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7628 (tramp-set-file-uid-gid)
7629 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7630 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7631 of `file-remote-p'.
7632
7633 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7634 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7635 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7636 (tramp-gw-open-network-stream): Suppress unrelated traces.
7637
7638 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7639 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7640 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7641 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7642 connection property.
7643
7644 * net/tramp-cache.el (top): Suppress traces when reading
7645 persistency file.
7646
7647 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7648 Refactor common code. Improve debug message.
7649 (tramp-maybe-open-connection)
7650 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7651 connection buffer too early.
7652
7653 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7654 from `tramp-smb-actions-with-acl'.
7655 (tramp-smb-actions-set-acl): New defconst.
7656 (tramp-smb-handle-copy-directory)
7657 (tramp-smb-action-get-acl): New defun, renamed from
7658 `tramp-smb-action-with-acl'.
7659 (tramp-smb-action-set-acl): New defun.
7660 (tramp-smb-handle-set-file-acl): Rewrite.
7661
7662 2013-10-17 Glenn Morris <rgm@gnu.org>
7663
7664 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7665
7666 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * skeleton.el (skeleton-newline): Remove.
7669 (skeleton-internal-1): Use (insert "\n") instead.
7670
7671 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7672 let-bindings.
7673
7674 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7675 forward-sexp-function while we redo its job (bug#15613).
7676
7677 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7678
7679 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7680 represented by lists.
7681
7682 2013-10-16 Glenn Morris <rgm@gnu.org>
7683
7684 * tmm.el (tmm--history): New dynamic variable.
7685 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7686
7687 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7688
7689 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7690 (tramp-smb-errors): Add error messages.
7691 (tramp-smb-actions-with-acl): New defconst.
7692 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7693 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7694 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7695 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7696 (tramp-smb-get-stat-capability): Fix tests.
7697
7698 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7699
7700 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7701 (bug#15580).
7702
7703 2013-10-16 Glenn Morris <rgm@gnu.org>
7704
7705 * ansi-color.el (ansi-color-drop-regexp):
7706 Add 1J, 1K, 2K. (Bug#15617)
7707
7708 * files.el (hack-local-variables--warned-lexical): New.
7709 (hack-local-variables):
7710 Warn about misplaced lexical-binding. (Bug#15616)
7711
7712 * net/eww.el (eww-render): Always set eww-current-url,
7713 and update header line. (Bug#15622)
7714 (eww-display-html): ... Rather than just doing it here.
7715
7716 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7717
7718 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7719 menu navigations commands.
7720
7721 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7722
7723 * progmodes/subword.el (subword-capitalize): Be careful when
7724 the search for [[:alpha:]] fails (bug#15580).
7725
7726 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7727
7728 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7729 to commands that scroll the menu.
7730
7731 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7732
7733 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7734 Handle methods ending with `?' and `!'.
7735
7736 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7737
7738 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7739 `japanese-cp932' to `cp932' to fix the problem where saving a
7740 source file written in Shift_JIS twice would end up having
7741 `coding: japanese-cp932' which Ruby could not recognize.
7742 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7743 in `ruby-encoding-map'.
7744 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7745 doesn't need to be explicitly declared in magic comment.
7746 (ruby-encoding-map): Add type declaration for better customize UI.
7747
7748 2013-10-13 Glenn Morris <rgm@gnu.org>
7749
7750 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7751 Occur buffers are read-only. http://bugs.debian.org/720775
7752
7753 * emacs-lisp/authors.el (authors-fixed-entries):
7754 Comment out old alpha stuff.
7755
7756 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7757
7758 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7759 to `after-save-hook' instead of `before-save-hook'.
7760 (ruby-mode-set-encoding): Use the value of coding system used to
7761 write the file. Call `basic-save-buffer-1' after modifying the
7762 buffer.
7763
7764 2013-10-13 Alan Mackenzie <acm@muc.de>
7765
7766 Fix indentation/fontification of Java enum with
7767 "implements"/generic.
7768
7769 * progmodes/cc-engine.el (c-backward-over-enum-header):
7770 Extracted from the three other places and enhanced to handle generics.
7771 (c-inside-bracelist-p): Uses new function above.
7772 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7773 function above.
7774 (c-font-lock-enum-tail): Uses new function above.
7775
7776 2013-10-13 Kenichi Handa <handa@gnu.org>
7777
7778 * international/mule-cmds.el (select-safe-coding-system): Remove a
7779 superfluous condition in chekcing whether a coding system is safe
7780 or not.
7781
7782 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7783
7784 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7785
7786 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7787
7788 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7789
7790 2013-10-13 Glenn Morris <rgm@gnu.org>
7791
7792 * menu-bar.el (menu-bar-update-buffers):
7793 Unify Buffers menu prompt string. (Bug#15576)
7794
7795 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7796
7797 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7798 Add some entries.
7799 (authors-fixed-entries): Use accented form of name.
7800
7801 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7804 method calls (bug#15594).
7805 (ruby-smie--args-separator-p): New function.
7806 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7807 recognize paren-free method calls.
7808
7809 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7810 internals of universal-argument.
7811
7812 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7813
7814 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7815 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7816 dropped menu on second mouse click on the menu bar.
7817
7818 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7819
7820 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7821 (explicit-shell-file-name): Declare.
7822 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7823 (sh-completion-at-point-function): New function.
7824 (sh-mode): Use it.
7825 (sh-smie--keyword-p): Remove unused argument.
7826 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7827 vars.
7828 (sh-set-shell): Always setup SMIE, even if we use the
7829 old indentation code.
7830
7831 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7832
7833 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7834 cases of ? and =.
7835 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7836 predicate would return nil are almost non-existent.
7837 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7838
7839 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7840 cache also after commands that modify the buffer but don't move
7841 point.
7842
7843 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * env.el (substitute-env-in-file-name): New function.
7846 (substitute-env-vars): Extend the meaning of the optional arg.
7847
7848 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7849
7850 * term/w32-win.el (dynamic-library-alist): Define separate lists
7851 of GIF DLLs for versions before and after 5.0.0 of giflib.
7852 (Bug#15531)
7853
7854 2013-10-10 João Távora <joaotavora@gmail.com>
7855
7856 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7857 not locked, use last revision and current source as
7858 defaults. (Bug#15569)
7859
7860 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7861
7862 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7863 menu-bar is hidden.
7864
7865 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7866
7867 * window.el (pop-to-buffer-same-window): Fix doc-string.
7868 (Bug#15492)
7869
7870 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7873
7874 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7875
7876 * calendar/icalendar.el (icalendar-import-file):
7877 Fix interactive spec. (Bug#15482)
7878
7879 2013-10-10 Glenn Morris <rgm@gnu.org>
7880
7881 * desktop.el (desktop-save): Default to saving in .emacs.d,
7882 since PWD is no longer in desktop-path by default. (Bug#15319)
7883
7884 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7885 now that text mode has a menu with the same entry.
7886 (menu-bar-text-mode-auto-fill): Remove now unused func.
7887 * textmodes/text-mode.el (text-mode-map):
7888 Use auto-fill help text from menu-bar.el.
7889
7890 2013-10-10 John Anthony <john@jo.hnanthony.com>
7891
7892 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7893
7894 2013-10-09 Juri Linkov <juri@jurta.org>
7895
7896 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7897 instead of this-command-keys. Add universal-argument-more and
7898 universal-argument-minus to the list of prefix commands. (Bug#15568)
7899
7900 2013-10-09 Glenn Morris <rgm@gnu.org>
7901
7902 * vc/vc-svn.el (vc-svn-create-repo):
7903 Expand paths in file://... url. (Bug#15446)
7904
7905 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7906 Add some entries.
7907 (authors): Remove unused local variables.
7908
7909 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7910
7911 * profiler.el: Create a more coherent calltree from partial backtraces.
7912 (profiler-format): Hide the tail with `invisible' so that C-s can still
7913 find the hidden elements.
7914 (profiler-calltree-depth): Don't recurse so enthusiastically.
7915 (profiler-function-equal): New hash-table-test.
7916 (profiler-calltree-build-unified): New function.
7917 (profiler-calltree-build): Use it.
7918 (profiler-report-make-name-part): Indent the calltree less.
7919 (profiler-report-mode): Add visibility specs for profiler-format.
7920 (profiler-report-expand-entry, profiler-report-toggle-entry):
7921 Expand the whole subtree when provided with a prefix arg.
7922
7923 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7924
7925 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7926 iuwu-mod token.
7927 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7928 hanging iuwu-mod token.
7929 (ruby-smie--forward-token): Do not include a dot after a token in
7930 that token.
7931 (ruby-smie--backward-token): Likewise.
7932
7933 2013-10-08 Juri Linkov <juri@jurta.org>
7934
7935 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7936 to isearch-other-control-char.
7937 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7938 and isearch-post-command-hook to post-command-hook.
7939 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7940 and isearch-post-command-hook from post-command-hook.
7941 (isearch-unread-key-sequence)
7942 (isearch-reread-key-sequence-naturally)
7943 (isearch-lookup-scroll-key, isearch-other-control-char)
7944 (isearch-other-meta-char): Remove functions.
7945 (isearch-pre-command-hook, isearch-post-command-hook):
7946 New functions based on isearch-other-meta-char rewritten
7947 relying on the new behavior of overriding-terminal-local-map
7948 that does not replace the local keymaps any more. (Bug#15200)
7949
7950 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7951
7952 Support menus on text-mode terminals.
7953 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7954 functionality.
7955
7956 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7957
7958 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7959 Move here from mouse.el.
7960 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7961 and arrow keys.
7962 (tty-menu-navigation-map): New map for TTY menu navigation.
7963
7964 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7965
7966 * frame.el (display-mouse-p): Report text-mode mouse as available
7967 on w32.
7968 (display-popup-menus-p): Report availability if mouse is
7969 available; don't condition on window-system.
7970
7971 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7972 (tty-menu-selected-face): New faces.
7973
7974 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7975
7976 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7977 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7978 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7979 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7980 New constants.
7981 (lisp-mode-variables): New `elisp' argument.
7982 (emacs-lisp-mode): Use it.
7983 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7984 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7985
7986 * indent.el: Use lexical-binding.
7987 (indent-region): Add progress reporter.
7988 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7989 last step.
7990 (indent--next-tab-stop): New function to implement this behavior.
7991 (tab-to-tab-stop, move-to-tab-stop): Use it.
7992
7993 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7994
7995 * indent.el (indent-rigidly--current-indentation): New function.
7996 (indent-rigidly-map): New var.
7997 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7998
7999 2013-10-08 Bastien Guerry <bzg@gnu.org>
8000
8001 * register.el (insert-register): Fix 2013-10-07 change.
8002
8003 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8004
8005 * progmodes/perl-mode.el: Use lexical-binding.
8006 Remove redundant :group args.
8007 (perl-nochange): Change default to be closer to other major modes's
8008 standard behavior.
8009 (perl-indent-line): Don't consider text on current line as a
8010 valid beginning of function from which to indent.
8011
8012 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8013 with more than one argument (bug#15538).
8014
8015 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8016
8017 * vc/pcvs.el: Use lexical-binding.
8018 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8019 environment of `eval'.
8020 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8021 than a list of expressions. Adjust callers.
8022 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8023
8024 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8025
8026 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8027 case of the dot in a chained method call being on the following line.
8028
8029 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * electric.el (electric-indent-inhibit): New var.
8032 (electric-indent-post-self-insert-function): Use it.
8033 * progmodes/python.el (python-mode): Set it.
8034
8035 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8036 open braces.
8037
8038 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8039
8040 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8041 (css-mode): Use electric-indent-chars.
8042
8043 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8044 (font-lock-beg, font-lock-end): Move before first use.
8045 (nxml-mode): Use syntax-propertize-function.
8046 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8047 (nxml-extend-after-change-region): Remove.
8048 * nxml/xmltok.el: Use lexical-binding.
8049 (xmltok-save): Use `declare'.
8050 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8051 * nxml/nxml-util.el: Use lexical-binding.
8052 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8053 Use `declare'.
8054 * nxml/nxml-ns.el: Use lexical-binding.
8055 (nxml-ns-save): Use `declare'.
8056 (nxml-ns-prefixes-for): Avoid add-to-list.
8057 * nxml/rng-match.el: Use lexical-binding.
8058 (rng--ipattern): Use cl-defstruct.
8059 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8060 (rng-cons-group-after, rng-subst-group-after)
8061 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8062 Use closures instead of `(lambda...).
8063
8064 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8065
8066 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8067 of BEG and END.
8068
8069 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8070 Use `tramp-handle-insert-file-contents'.
8071 (tramp-gvfs-handle-insert-file-contents): Remove function.
8072
8073 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8074 Use `save-restriction' in order to keep markers.
8075
8076 * net/trampver.el: Update release number.
8077
8078 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * progmodes/compile.el (compilation-parse-errors):
8081 Use compilation--put-prop.
8082 (compilation--ensure-parse): Check compilation-multiline.
8083
8084 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8085
8086 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8087 lexical-binding.
8088
8089 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8090
8091 * progmodes/ruby-mode.el: Fix recently added tests.
8092 (ruby-smie-grammar): Add - and +.
8093 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8094 (ruby-smie--backward-id): New functions.
8095 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8096 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8097 any more.
8098
8099 2013-10-07 Leo Liu <sdl.web@gmail.com>
8100
8101 * register.el (register-preview-delay)
8102 (register-preview-functions): New variables.
8103 (register-read-with-preview, register-preview)
8104 (register-describe-oneline): New functions.
8105 (point-to-register, window-configuration-to-register)
8106 (frame-configuration-to-register, jump-to-register)
8107 (number-to-register, view-register, insert-register)
8108 (copy-to-register, append-to-register, prepend-to-register)
8109 (copy-rectangle-to-register): Use register-read-with-preview to
8110 read register. (Bug#15525)
8111
8112 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8113
8114 * net/network-stream.el (network-stream-open-starttls): Don't add
8115 --insecure if it's already present, because that gnutls-cli
8116 rejects getting that parameter twice.
8117
8118 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8119
8120 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8121 keyword, too.
8122
8123 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8124
8125 * newcomment.el (comment-use-global-state): Change default value
8126 to t, mark obsolete (Bug#15251).
8127 (comment-beginning): In addition to `comment-to-syntax', check the
8128 value of `comment-use-global-state'.
8129
8130 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8131
8132 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8133 (ruby-comment-column): Follow the global default, by default.
8134 (ruby-smie-grammar): Add assignment syntax.
8135 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8136 open-paren, a comma, or a \.
8137 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8138 and line continuations.
8139 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8140 followed by implicit semi-colons. Add rule for string concatenation
8141 and for indentation at BOB.
8142 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8143
8144 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8145 calling next-sexp, since next-token may have skipped chars which
8146 next-sexp doesn't know should be skipped!
8147
8148 2013-10-05 Leo Liu <sdl.web@gmail.com>
8149
8150 * progmodes/octave.el (octave-send-region):
8151 Call compilation-forget-errors.
8152
8153 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8154
8155 * vc/vc-svn.el (vc-svn-find-admin-dir):
8156 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8157 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8158 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8159 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8160
8161 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8162
8163 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8164
8165 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8166
8167 * subr.el (read-passwd): Hide chars even when called within a context
8168 where after-change-functions is disabled (bug#15501).
8169 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8170 until we removed ourself from overriding-terminal-local-map.
8171
8172 2013-10-04 Leo Liu <sdl.web@gmail.com>
8173
8174 * progmodes/octave.el (inferior-octave-mode):
8175 Call compilation-forget-errors.
8176
8177 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8178
8179 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8180
8181 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8182
8183 * net/secrets.el (secrets-create-collection): Add optional
8184 argument ALIAS. Use proper Label keyword. Append ALIAS as
8185 dbus-call-method argument. (Bug#15516)
8186
8187 2013-10-04 Leo Liu <sdl.web@gmail.com>
8188
8189 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8190 (inferior-octave-compilation-font-lock-keywords): New variables.
8191 (compilation-error-regexp-alist)
8192 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8193 (inferior-octave-mode): Use compilation-shell-minor-mode.
8194
8195 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8196
8197 * minibuffer.el (completion--replace): Be careful that `end' might be
8198 a marker.
8199
8200 2013-10-03 Daiki Ueno <ueno@gnu.org>
8201
8202 Add support for package signature checking.
8203 * emacs-lisp/package.el (url-http-file-exists-p)
8204 (epg-make-context, epg-context-set-home-directory)
8205 (epg-verify-string, epg-context-result-for)
8206 (epg-signature-status, epg-signature-to-string)
8207 (epg-check-configuration, epg-configuration)
8208 (epg-import-keys-from-file): Declare.
8209 (package-check-signature): New user option.
8210 (package-unsigned-archives): New user option.
8211 (package-desc): Add `signed' field.
8212 (package-load-descriptor): Set `signed' field if .signed file exists.
8213 (package--archive-file-exists-p): New function.
8214 (package--check-signature): New function.
8215 (package-install-from-archive): Check package signature.
8216 (package--download-one-archive): Check archive signature.
8217 (package-delete): Remove .signed file.
8218 (package-import-keyring): New command.
8219 (package-refresh-contents): Import default keyring.
8220 (package-desc-status): Add "unsigned" status.
8221 (describe-package-1, package-menu--print-info)
8222 (package-menu-mark-delete, package-menu--find-upgrades)
8223 (package-menu--status-predicate): Support "unsigned" status.
8224
8225 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8228 the new compilation scheme using the new byte-codes.
8229
8230 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8231 (byte-pophandler): New byte codes.
8232 (byte-goto-ops): Adjust accordingly.
8233 (byte-compile--use-old-handlers): New var.
8234 (byte-compile-catch): Use new byte codes depending on
8235 byte-compile--use-old-handlers.
8236 (byte-compile-condition-case--old): Rename from
8237 byte-compile-condition-case.
8238 (byte-compile-condition-case--new): New function.
8239 (byte-compile-condition-case): New function that dispatches depending
8240 on byte-compile--use-old-handlers.
8241 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8242 when we can.
8243
8244 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8245 Optimize under `condition-case' and `catch' if
8246 byte-compile--use-old-handlers is nil.
8247 (disassemble-offset): Handle new bytecodes.
8248
8249 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * subr.el (error): Use `declare'.
8252 (decode-char, encode-char): Use advertised-calling-convention instead
8253 of the docstring to discourage use of the `restriction' arg.
8254
8255 2013-10-03 Daiki Ueno <ueno@gnu.org>
8256
8257 * epg.el (epg-verify-file): Add a comment saying that it does not
8258 notify verification error as a return value nor a signal.
8259 (epg-verify-string): Ditto.
8260
8261 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8262
8263 * progmodes/compile.el (compilation-start): Try globbing the arg to
8264 `cd' (bug#15417).
8265
8266 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8267
8268 Sync with Tramp 2.2.8.
8269
8270 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8271 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8272 * net/trampver.el: Update release number.
8273
8274 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8275
8276 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8277 and default-process-coding-system for darwin only.
8278
8279 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8280
8281 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8282
8283 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8284
8285 * vc/vc-git.el (vc-git-grep): Disable pager.
8286
8287 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8288
8289 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8290 Use :url instead of :homepage, as per
8291 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8292
8293 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8294 non-nil, use `syntax-ppss' (Bug#15251).
8295
8296 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8297
8298 * progmodes/octave.el (inferior-octave-startup-file):
8299 Prefer ~/.emacs.d/init_octave.m.
8300
8301 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8302
8303 * emacs-lisp/package.el (package-desc-from-define):
8304 Accept additional arguments as plist, convert them to an alist and store
8305 them in the `extras' slot.
8306 (package-generate-description-file): Convert extras alist back to
8307 plist and append to the `define-package' form arguments.
8308 (package--alist-to-plist): New function.
8309 (package--ac-desc): Add `extras' slot.
8310 (package--add-to-archive-contents): Check if the archive-contents
8311 vector is long enough, and if it is, pass its `extras' slot value
8312 to `package-desc-create'.
8313 (package-buffer-info): Call `lm-homepage', pass the returned value
8314 to `package-desc-from-define'.
8315 (describe-package-1): Render the homepage button (Bug#13291).
8316
8317 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8318 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8319
8320 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8321
8322 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8323 and default-process-coding-system to utf-8-unix (Bug#15402).
8324
8325 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8326
8327 * subr.el (looking-back): Do not recommend using looking-back.
8328
8329 2013-09-28 Alan Mackenzie <acm@muc.de>
8330
8331 Fix indentation/fontification of Java enum with "implements".
8332
8333 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8334 regexp which matches "implements", etc., in Java.
8335 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8336 specifier clauses coming after "enum".
8337 * progmodes/cc-fonts.el (c-font-lock-declarations)
8338 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8339 after "enum".
8340
8341 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8342
8343 * faces.el (region): Change ns_selection_color to
8344 ns_selection_fg_color, add ns_selection_bg_color.
8345
8346 2013-09-28 Leo Liu <sdl.web@gmail.com>
8347
8348 * progmodes/octave.el (inferior-octave-completion-table)
8349 (inferior-octave-completion-at-point): Minor tweaks.
8350
8351 * textmodes/ispell.el (ispell-lookup-words): Rename from
8352 lookup-words. (Bug#15460)
8353 (lookup-words): Obsolete.
8354 (ispell-complete-word, ispell-command-loop): All uses changed.
8355
8356 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8357
8358 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8359 (octave-mode-menu): Add octave-send-buffer.
8360 (octave-send-buffer): New function.
8361
8362 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8363
8364 * progmodes/octave.el (octave-mode-map): Add key binding for
8365 octave-lookfor.
8366 (octave-mode-menu): Add octave-lookfor.
8367 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8368 octave-lookfor.
8369 (octave-lookfor): New function.
8370
8371 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8374 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8375 its convention.
8376 (cl--loop-set-iterator-function): New function.
8377 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8378 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8379 Bind `it' with `let' instead of substituting it with `cl-subst'.
8380 (cl--unused-var-p): New function.
8381 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8382 Eliminate some unused variable warnings (bug#15326).
8383
8384 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8385
8386 * doc-view.el (doc-view-scale-reset): Rename from
8387 `doc-view-reset-zoom-level'.
8388 (doc-view-scale-adjust): New command.
8389 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8390 `doc-view-scale-adjust'.
8391
8392 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8393
8394 * doc-view.el (doc-view-reset-zoom-level): New command.
8395 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8396 zoom commands (bug#15466).
8397
8398 2013-09-26 Kenichi Handa <handa@gnu.org>
8399
8400 * international/quail.el (quail-help): Make it not a command.
8401
8402 2013-09-26 Leo Liu <sdl.web@gmail.com>
8403
8404 * minibuffer.el (completion-all-sorted-completions): Make args
8405 optional as they are.
8406
8407 2013-09-25 Daniel Colascione <dancol@dancol.org>
8408
8409 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8410 specs are and that they're not evaluated.
8411
8412 2013-09-24 Sam Steingold <sds@gnu.org>
8413
8414 * midnight.el (clean-buffer-list-kill-regexps)
8415 (clean-buffer-list-kill-buffer-names): Update for the new Man
8416 buffer naming which includes the object name.
8417
8418 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8419
8420 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8421 (eshell-parse-command, eshell-parse-pipeline): Use it since
8422 eshell-separate-commands requires a dynamic scoped var.
8423 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8424
8425 2013-09-23 Leo Liu <sdl.web@gmail.com>
8426
8427 * autoinsert.el (auto-insert-alist): Make the value of
8428 lexical-binding match its file setting.
8429
8430 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8431
8432 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8433
8434 * autoarg.el (autoarg-kp-digit-argument):
8435 * electric.el (Electric-command-loop):
8436 * kmacro.el (kmacro-step-edit-insert):
8437 Do not set universal-argument-num-events.
8438
8439 2013-09-22 Leo Liu <sdl.web@gmail.com>
8440
8441 * files.el (interpreter-mode-alist): Add octave.
8442
8443 2013-09-21 Alan Mackenzie <acm@muc.de>
8444
8445 C++: fontify identifier in declaration following "public:" correctly.
8446 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8447 to match "public", etc.
8448 (c-decl-prefix-re): Add ":" into the C++ value.
8449 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8450 bit. Add a check for a ":" preceded by "public", etc.
8451
8452 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8453
8454 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8455 recognized by GDB 7.5 and later.
8456
8457 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8458
8459 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8460
8461 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * subr.el (internal--call-interactively): New const.
8464 (called-interactively-p): Use it (bug#3984).
8465
8466 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8467
8468 * vc/pcvs.el (cvs-mode-ignore):
8469 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8470 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8471
8472 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8475 (eshell-ls-orig-insert-directory): Remove.
8476 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8477 (eshell-ls-use-in-dired): Use advice-add/remove.
8478 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8479 Add `orig-fun' arg for use in :around advice.
8480 Make it check (redundantly) eshell-ls-use-in-dired.
8481
8482 2013-09-19 Glenn Morris <rgm@gnu.org>
8483
8484 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8485
8486 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8487
8488 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8489
8490 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8491
8492 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8493 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8494 (tramp-get-remote-python): New defuns.
8495 (tramp-get-remote-uid-with-perl)
8496 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8497 contributed by yary <not.com@gmail.com> (tiny change).
8498 (tramp-get-remote-uid-with-python)
8499 (tramp-get-remote-gid-with-python): New defuns. Python code
8500 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8501 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8502
8503 2013-09-19 Glenn Morris <rgm@gnu.org>
8504
8505 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8506
8507 * eshell/em-unix.el (eshell-remove-entries):
8508 Rename argument to avoid name-clash with global `top-level'.
8509
8510 * eshell/esh-proc.el (eshell-kill-process-function):
8511 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8512 (eshell-reset-after-proc): Remove unused arg `proc'.
8513
8514 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8515 (directory-files-and-attributes): Mark unused arg.
8516
8517 * eshell/em-unix.el (eshell-remove-entries):
8518 Remove unused arg `path'. Update callers.
8519
8520 * eshell/em-hist.el (eshell-hist-parse-arguments):
8521 Remove unused arg `silent'. Update callers.
8522
8523 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8524 Fix (f)boundp mix-up.
8525
8526 * eshell/em-smart.el (eshell-smart-scroll-window)
8527 (eshell-disable-after-change):
8528 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8529
8530 2013-09-18 Alan Mackenzie <acm@muc.de>
8531
8532 Fix fontification of type when followed by "const".
8533 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8534 "known" types from fontification.
8535
8536 2013-09-18 Glenn Morris <rgm@gnu.org>
8537
8538 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8539 (chart-face-list): Drop Emacsen without display-color-p.
8540
8541 * net/eww.el (libxml-parse-html-region): Declare.
8542 (eww-display-html): Explicit error if no libxml2 support.
8543
8544 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8545
8546 * image.el (image-type-from-buffer, image-multi-frame-p):
8547 Remove --without-x warning/error.
8548
8549 * mouse.el (mouse-yank-primary):
8550 * term.el (term-mouse-paste):
8551 Reorder to silence --without-x compilation.
8552
8553 * mpc.el (doc-view-mode): Silence --without-x compilation.
8554
8555 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8556 Silence --without-x compilation.
8557
8558 * progmodes/gud.el (gud-find-file, gud-mode):
8559 Silence --without-x compilation.
8560 (tooltip-mode): Declare.
8561
8562 * wdired.el (dired-backup-overwrite): Remove declaration.
8563 (wdired-mode-map): Add doc string.
8564
8565 * custom.el (x-get-resource): Declare.
8566
8567 * eshell/em-glob.el (ange-cache):
8568 * eshell/em-unix.el (ange-cache): Declare.
8569
8570 * faces.el (x-display-list, x-open-connection, x-get-resource):
8571 Declare.
8572
8573 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8574 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8575 Declare.
8576
8577 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8578
8579 * net/gnutls.el (gnutls-log-level): Declare.
8580
8581 * net/shr.el (image-size, image-animate): Declare.
8582
8583 * simple.el (font-info): Declare.
8584
8585 * subr.el (x-popup-dialog): Declare.
8586
8587 * term/common-win.el (x-select-enable-primary)
8588 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8589 Declare.
8590
8591 * term/ns-win.el (x-handle-args): Declare.
8592
8593 * term/x-win.el (x-select-enable-clipboard): Declare.
8594
8595 * term/w32-win.el (create-default-fontset): Declare.
8596
8597 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8598 Declare.
8599
8600 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8601 (fit-frame-to-buffer): Explicit error if --without-x.
8602 (mouse-autoselect-window-select): Silence compiler.
8603
8604 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8605
8606 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8607 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8608 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8609 * eshell/esh-util.el (eshell-sublist):
8610 Remove unused local variables.
8611
8612 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8613
8614 * textmodes/two-column.el: Make 2C-split work for --without-x.
8615 (scroll-bar-columns): Autoload.
8616 (top-level): Require fringe when compiling.
8617
8618 2013-09-18 Leo Liu <sdl.web@gmail.com>
8619
8620 * subr.el (add-hook): Robustify to handle closure as well.
8621
8622 2013-09-17 Glenn Morris <rgm@gnu.org>
8623
8624 * simple.el (messages-buffer-mode-map): Unbind "g".
8625
8626 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * help-mode.el (help-mode-finish): Use derived-mode-p.
8629 Remove obsolete highlighting.
8630
8631 * play/life.el (life-mode): Use define-derived-mode. Derive from
8632 special-mode.
8633 (life): Let-bind inhibit-read-only.
8634 (life-setup): Avoid `setq'. Use `life-mode'.
8635
8636 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8637 which should not be needed any more.
8638 (package-menu-refresh, package-menu-describe-package): Use user-error.
8639
8640 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8641 (eshell-post-rewrite-command-hook): Make obsolete.
8642 (eshell-parse-command): Simplify.
8643 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8644 (eshell--cmd): Declare.
8645 (eshell-parse-pipeline): Remove unused var `final-p'.
8646 Pass a dynvar to eshell-post-rewrite-command-hook.
8647 Implement the new eshell-post-rewrite-command-function.
8648 (eshell-invoke-directly): Remove unused arg `input'.
8649 * eshell/esh-io.el (eshell-io-initialize):
8650 Use eshell-post-rewrite-command-function (bug#15399).
8651 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8652 adjust to new calling convention.
8653 (eshell-create-handles): Rename args to avoid clashing with dynvar
8654 `standard-output'.
8655
8656 2013-09-17 Glenn Morris <rgm@gnu.org>
8657
8658 * simple.el (messages-buffer-mode): New major mode.
8659 (messages-buffer): New function.
8660 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8661 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8662 (ert-run-test): Use `messages-buffer' function.
8663 (ert--force-message-log-buffer-truncation): Ignore read-only.
8664 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8665 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8666
8667 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8670
8671 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8672
8673 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8674
8675 * icomplete.el (icomplete-in-buffer): New var.
8676 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8677 vars and replace them with functions.
8678 (icomplete-minibuffer-setup): Adjust accordingly.
8679 (icomplete--completion-table, icomplete--completion-predicate)
8680 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8681 New functions.
8682 (icomplete-forward-completions, icomplete-backward-completions)
8683 (icomplete-simple-completing-p, icomplete-exhibit)
8684 (icomplete-completions): Use them.
8685 (icomplete--in-region-buffer): New var.
8686 (icomplete--in-region-setup): New function.
8687 (icomplete-mode): Use it.
8688
8689 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8690 (bug#15379).
8691 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8692 return args and options.
8693 (eshell-eval-using-options): Use the new return value of
8694 eshell--do-opts to set the options's vars in their scope.
8695 (eshell--set-option): Rename from eshell-set-option.
8696 Add arg `opt-vals'.
8697 (eshell--process-option): Rename from eshell-process-option.
8698 Add arg `opt-vals'.
8699 (eshell--process-args): Use an `opt-vals' alist to store the options's
8700 values during their processing and return them additionally to the
8701 remaining args.
8702
8703 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8704
8705 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8706 continuation character an operator, as far as indentation is
8707 concerned (Bug#15369).
8708
8709 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8710
8711 * window.el (window--state-put-2): Don't process buffer state
8712 when buffer doesn't exist any more (Bug#15382).
8713
8714 2013-09-15 Glenn Morris <rgm@gnu.org>
8715
8716 * eshell/em-unix.el (eshell/rm):
8717 Make -f ignore missing files. (Bug#15373)
8718
8719 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8720 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8721 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8722
8723 2013-09-14 Glenn Morris <rgm@gnu.org>
8724
8725 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8726
8727 2013-09-13 Glenn Morris <rgm@gnu.org>
8728
8729 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8730 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8731
8732 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8733
8734 * frame.el (x-focus-frame): Mark as declared in frame.c.
8735
8736 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8737
8738 * ls-lisp.el: Use advice-add.
8739 (original-insert-directory): Remove.
8740 (ls-lisp--insert-directory): Rename from insert-directory; add
8741 `orig-fun' argument.
8742 (insert-directory): Advise.
8743
8744 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8745
8746 * term.el (term-emulate-terminal): Decode the command string
8747 before passing it to term-command-hook. (Bug#15337)
8748
8749 2013-09-13 Glenn Morris <rgm@gnu.org>
8750
8751 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8752
8753 * eshell/esh-ext.el (eshell-search-path): Declare.
8754
8755 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8756 Otherwise an error occurs if eshell-dirs module not loaded.
8757
8758 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8759
8760 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8761
8762 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8763 `tramp-check-proper-host'. Check for a valid method name.
8764
8765 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8766 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8767 * net/tramp-sh.el (tramp-maybe-open-connection):
8768 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8769
8770 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8771 also for hash values.
8772
8773 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * term/ns-win.el (parameters): Don't declare as dynamic.
8776 (before-make-frame-hook): Don't add ineffective function.
8777
8778 * eshell/*.el: Use lexical-binding (bug#15231).
8779
8780 2013-09-12 Kenichi Handa <handa@gnu.org>
8781
8782 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8783
8784 2013-09-12 Glenn Morris <rgm@gnu.org>
8785
8786 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8787 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8788
8789 * subr.el (do-after-load-evaluation): Also give compiler warnings
8790 when obsolete files are used (except by obsolete files).
8791
8792 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8793 in the status output, assume `filename' is the first. (Bug#15322)
8794
8795 * vc/vc.el (vc-deduce-fileset): Doc fix.
8796
8797 * calc/calc-help.el (Info-goto-node):
8798 * progmodes/cperl-mode.el (Info-find-node):
8799 * vc/ediff.el (Info-goto-node): Update declarations.
8800
8801 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8802
8803 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8804 (vc-bzr-pull): Require vc-dispatcher.
8805 * vc/vc-git.el (vc-compilation-mode): Declare.
8806 (vc-git-pull): Require vc-dispatcher.
8807
8808 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8809
8810 * progmodes/octave.el (help-button-action): Declare.
8811
8812 * shell.el (shell-directory-tracker): Output error as a message
8813 rather than just returning it as a string.
8814 (shell-process-pushd): Remove useless use of message.
8815
8816 * dframe.el (dframe-timer-fn):
8817 * files.el (dir-locals-read-from-file):
8818 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8819 (mpc-format):
8820 * reveal.el (reveal-post-command):
8821 * saveplace.el (load-save-place-alist-from-file):
8822 * shell.el (shell-resync-dirs):
8823 * w32-common-fns.el (x-get-selection-value):
8824 * emacs-lisp/copyright.el (copyright-find-copyright):
8825 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8826 * emulation/tpu-edt.el (tpu-copy-keyfile):
8827 * play/bubbles.el (bubbles--mark-neighbourhood):
8828 * progmodes/executable.el
8829 (executable-make-buffer-file-executable-if-script-p):
8830 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8831
8832 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 Cleanup Eshell to rely less on dynamic scoping.
8835 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8836 last-value, and ext-command here. Bind `args' closer to `body'.
8837 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8838 (eshell--args): Declare new dynamic var.
8839 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8840 last-value, and ext-command. Pass `args' to `body'.
8841 (eshell-process-args): Bind eshell--args.
8842 (eshell-set-option): Use eshell--args.
8843 * eshell/eshell.el (eshell): Use derived-mode-p.
8844 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8845 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8846 (eshell-glob-function): Declare.
8847 * eshell/esh-util.el: Require cl-lib.
8848 (eshell-read-hosts-file): Avoid add-to-list.
8849 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8850 `err'.
8851 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8852 Declare.
8853 (eshell/diff): Remove unused var `err'.
8854 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8855 `killflag'.
8856 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8857 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8858 first use.
8859 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8860 Move declaration before first use.
8861 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8862 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8863 rely on cl-return.
8864
8865 2013-09-12 Glenn Morris <rgm@gnu.org>
8866
8867 * term/ns-win.el (global-map): Remove binding for ispell-next,
8868 deleted 1999-05-29. (Bug#15357)
8869
8870 2013-09-11 Glenn Morris <rgm@gnu.org>
8871
8872 * echistory.el (electric-command-history): Remove call to deleted func.
8873
8874 * play/landmark.el (landmark-mode): Fix typos.
8875
8876 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8877 Check cvs-sort-ignore-file is bound.
8878
8879 * savehist.el: No need for cl when compiling on Emacs.
8880
8881 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8884 (bug#15338).
8885 (eshell-self-insert-command, eshell-send-invisible):
8886 Remove unused argument.
8887 (eshell-handle-control-codes): Remove unused var `orig'.
8888 Avoid delete-backward-char.
8889
8890 * files.el (set-auto-mode): Simplify a bit further.
8891
8892 2013-09-11 Glenn Morris <rgm@gnu.org>
8893
8894 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8895 (set-auto-mode): Don't regexp-quote elements.
8896 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8897 * progmodes/cc-mode.el (interpreter-mode-alist):
8898 * progmodes/ruby-mode.el (interpreter-mode-alist):
8899 Revert previous change.
8900
8901 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8902
8903 * play/snake.el (snake-mode):
8904 * play/mpuz.el (mpuz-mode):
8905 * play/landmark.el (lm-mode):
8906 * play/blackbox.el (blackbox-mode):
8907 * play/5x5.el (5x5-mode):
8908 * obsolete/options.el (Edit-options-mode):
8909 * net/quickurl.el (quickurl-list-mode):
8910 * net/newst-treeview.el (newsticker-treeview-mode):
8911 * mail/rmailsum.el (rmail-summary-mode):
8912 * mail/mspools.el (mspools-mode):
8913 * locate.el (locate-mode):
8914 * ibuffer.el (ibuffer-mode):
8915 * emulation/ws-mode.el (wordstar-mode):
8916 * emacs-lisp/debug.el (debugger-mode):
8917 * array.el (array-mode):
8918 * net/eudc.el (eudc-mode): Use define-derived-mode.
8919 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8920 Move initialization into declaration.
8921 (mairix-searches-mode): Use define-derived-mode.
8922 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8923 (eudc-edit-hotlist): Use dolist.
8924 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8925 (Man-mode): Use define-derived-mode.
8926 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8927 (Info-edit-mode): Use define-derived-mode.
8928 (Info-cease-edit): Use Info-mode.
8929 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8930 into declaration.
8931 (eshell-mode): Use define-derived-mode.
8932 * chistory.el (command-history-mode-map): Rename from
8933 command-history-map.
8934 (command-history-mode): Use define-derived-mode.
8935 (Command-history-setup): Remove function.
8936 * calc/calc.el (calc-trail-mode-map): New var.
8937 (calc-trail-mode): Use define-derived-mode.
8938 (calc-trail-buffer): Set calc-main-buffer manually.
8939 * bookmark.el (bookmark-insert-annotation): New function.
8940 (bookmark-edit-annotation): Use it.
8941 (bookmark-edit-annotation-mode): Make it a proper major mode.
8942 (bookmark-send-edited-annotation): Use derived-mode-p.
8943 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8944 closer to its ideal place. Use \' to match EOS.
8945
8946 * profiler.el (profiler-calltree-find): Use function-equal.
8947
8948 2013-09-10 Glenn Morris <rgm@gnu.org>
8949
8950 * files.el (interpreter-mode-alist): Convert to regexps.
8951 (set-auto-mode): Adapt for this. (Bug#15306)
8952 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8953 Comment out unused variable.
8954 * progmodes/cc-mode.el (interpreter-mode-alist):
8955 * progmodes/python.el (interpreter-mode-alist):
8956 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8957 * progmodes/sh-script.el (sh-set-shell):
8958 No longer use interpreter-mode-alist to get list of shells.
8959
8960 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8961
8962 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * simple.el: Use set-temporary-overlay-map for universal-argument.
8965 (universal-argument-map): Don't use default-bindings (bug#15317).
8966 Bind switch-frame explicitly. Replace universal-argument-minus with
8967 a conditional binding.
8968 (universal-argument-num-events, saved-overriding-map): Remove.
8969 (restore-overriding-map): Remove.
8970 (universal-argument--mode): Rename from save&set-overriding-map,
8971 and rewrite.
8972 (universal-argument, universal-argument-more, negative-argument)
8973 (digit-argument): Adjust accordingly.
8974 (universal-argument-minus): Remove.
8975 (universal-argument-other-key): Remove.
8976
8977 * subr.el (with-demoted-errors): Add `format' argument.
8978
8979 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8980
8981 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8982 `tramp-cleanup-connection'.
8983
8984 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8985 parameters KEEP-DEBUG and KEEP-PASSWORD.
8986
8987 * net/tramp.el (tramp-file-name-handler):
8988 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8989 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8990 (tramp-maybe-open-connection):
8991 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8992 Use `tramp-cleanup-connection'.
8993
8994 * net/tramp-sh.el (tramp-maybe-open-connection):
8995 Catch 'uname-changed inside the progress reporter.
8996
8997 2013-09-10 Glenn Morris <rgm@gnu.org>
8998
8999 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9000
9001 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9002 returns "alternate access method" in mode (eg "-rw-r--r--.").
9003
9004 2013-09-08 Glenn Morris <rgm@gnu.org>
9005
9006 * saveplace.el (load-save-place-alist-from-file):
9007 Demote errors. (Bug#15305)
9008
9009 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9010
9011 Improve compatibility with older Emacsen, and XEmacs.
9012
9013 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9014 only if it is bound. It isn't for XEmacs.
9015 (with-tramp-progress-reporter): Do not let-bind `result'.
9016 This yields to scoping errors in XEmacs.
9017 (tramp-handle-make-auto-save-file-name): New function, moved from
9018 tramp-sh.el.
9019
9020 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9021 for `make-auto-save-file-name'.
9022 (tramp-adb--gnu-switches-to-ash):
9023 Use `tramp-compat-replace-regexp-in-string'.
9024
9025 * net/tramp-cache.el (tramp-cache-print): Call
9026 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9027
9028 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9029 bound. It isn't for XEmacs.
9030
9031 * net/tramp-compat.el (tramp-compat-copy-file):
9032 Catch `wrong-number-of-arguments' error.
9033 (tramp-compat-replace-regexp-in-string): New defun.
9034
9035 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9036 for `make-auto-save-file-name'.
9037 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9038 `copy-file'.
9039 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9040 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9041 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9042
9043 * net/tramp-gw.el (tramp-gw-open-network-stream):
9044 Use `tramp-compat-replace-regexp-in-string'.
9045
9046 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9047 Call `tramp-handle-make-auto-save-file-name'.
9048 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9049 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9050 (tramp-sh-file-inotifywait-process-filter):
9051 Use `tramp-compat-replace-regexp-in-string'.
9052 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9053
9054 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9055 for `make-auto-save-file-name'.
9056 (tramp-smb-handle-copy-directory):
9057 Call `tramp-compat-replace-regexp-in-string'.
9058 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9059 (tramp-smb-handle-copy-file): Improve error message.
9060 (tramp-smb-handle-rename-file): Rename directly only in case
9061 `newname' does not exist yet. This is a restriction of smbclient.
9062 (tramp-smb-maybe-open-connection): Rerun the function only when
9063 `auth-sources' is non-nil.
9064
9065 2013-09-08 Kenichi Handa <handa@gnu.org>
9066
9067 * international/characters.el: Set category "^" (Combining) for
9068 more characters.
9069
9070 2013-09-07 Alan Mackenzie <acm@muc.de>
9071
9072 Correctly fontify Java class constructors.
9073 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9074 in Java Mode.
9075 (c-recognize-typeless-decls): Set the Java value to t.
9076 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9077 While handling a "(", add a check for, effectively, Java, and handle a
9078 "typeless" declaration there.
9079
9080 2013-09-07 Roland Winkler <winkler@gnu.org>
9081
9082 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9083 field subtitle for entry type book.
9084
9085 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9086
9087 * minibuffer.el: Make minibuffer-complete call completion-in-region
9088 rather than other way around.
9089 (completion--some, completion-pcm--find-all-completions):
9090 Don't delay signals when debugging.
9091 (minibuffer-completion-contents): Beware fields within the
9092 minibuffer contents.
9093 (completion-all-sorted-completions): Use defvar-local.
9094 (completion--do-completion, completion--cache-all-sorted-completions)
9095 (completion-all-sorted-completions, minibuffer-force-complete):
9096 Add args `beg' and `end'.
9097 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9098 (minibuffer-complete): Use completion-in-region.
9099 (completion-complete-and-exit): New fun, extracted from
9100 minibuffer-complete-and-exit.
9101 (minibuffer-complete-and-exit): Use it.
9102 (completion--complete-and-exit): Rename from
9103 minibuffer--complete-and-exit.
9104 (completion-in-region--single-word): New function, extracted from
9105 minibuffer-complete-word.
9106 (minibuffer-complete-word): Use it.
9107 (display-completion-list): Make `common-substring' argument obsolete.
9108 (completion--in-region): Call completion--in-region-1 instead of
9109 minibuffer-complete.
9110 (completion-help-at-point): Pass boundaries to
9111 minibuffer-completion-help as args rather than via an overlay.
9112 (completion-pcm--string->pattern): Use `any-delim'.
9113 (completion-pcm--optimize-pattern): New function.
9114 (completion-pcm--pattern->regex): Handle `any-delim'.
9115 * icomplete.el (icomplete-forward-completions)
9116 (icomplete-backward-completions, icomplete-completions):
9117 Adjust calls to completion-all-sorted-completions and
9118 completion--cache-all-sorted-completions.
9119 (icomplete-with-completion-tables): Default to t.
9120 * emacs-lisp/crm.el (crm--current-element): Rename from
9121 crm--select-current-element. Don't put an overlay but return the
9122 boundaries instead.
9123 (crm--completion-command): Take two new args to bind to the boundaries.
9124 (crm-completion-help): Adjust accordingly.
9125 (crm-complete): Use completion-in-region.
9126 (crm-complete-word): Use completion-in-region--single-word.
9127 (crm-complete-and-exit): Use completion-complete-and-exit.
9128
9129 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9132 than dynamically.
9133
9134 2013-09-06 Juri Linkov <juri@jurta.org>
9135
9136 * info.el (Info-display-images-node): When image file doesn't exist
9137 display text version of the image if it's provided in the Info file.
9138 Otherwise, display the location of missing image from SRC attribute.
9139 Add help-echo text property from ALT attribute. (Bug#15279)
9140
9141 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9144 (edit-abbrevs-mode): Use define-derived-mode.
9145
9146 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9147 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9148 that it's defined.
9149 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9150 Use define-derived-mode.
9151
9152 * epg.el (epg-start-encrypt): Minor CSE simplification.
9153
9154 2013-09-06 William Xu <william.xwl@gmail.com>
9155
9156 * arc-mode.el: Add support for 7za (bug#15264).
9157 (archive-7z-program): New var.
9158 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9159 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9160 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9161
9162 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9163
9164 Remove URL syntax.
9165
9166 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9167 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9168 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9169 (tramp-postfix-host-format, tramp-file-name-regexp)
9170 (tramp-completion-file-name-regexp)
9171 (tramp-completion-dissect-file-name)
9172 (tramp-handle-substitute-in-file-name): Remove 'url case.
9173 (tramp-file-name-regexp-url)
9174 (tramp-completion-file-name-regexp-url): Remove constants.
9175
9176 2013-09-06 Glenn Morris <rgm@gnu.org>
9177
9178 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9179
9180 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9181
9182 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9183 keywords" below "here-doc beginnings" (Bug#15270).
9184
9185 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9186
9187 * subr.el (pop): Use `car-safe'.
9188 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9189 to detect unused `pop' return value.
9190
9191 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9192 var `block-regexp'.
9193 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9194 (python-fill-string): Remove unused var `marker'.
9195 (python-skeleton-add-menu-items): Remove unused var `items'.
9196
9197 * international/mule-cmds.el: Require CL.
9198 (find-coding-systems-for-charsets): Avoid add-to-list.
9199 (sanitize-coding-system-list): New function, extracted from
9200 select-safe-coding-system-interactively.
9201 (select-safe-coding-system-interactively): Use it.
9202 (read-input-method-name): Accept symbols for `default'.
9203
9204 * emacs-lisp/advice.el (defadvice): Add indent rule.
9205
9206 2013-09-05 Daniel Hackney <dan@haxney.org>
9207
9208 * dired-x.el:
9209 * net/ange-ftp.el:
9210 * net/browse-url.el:
9211 * net/dbus.el:
9212 * net/eudc.el:
9213 * net/eudcb-ldap.el:
9214 * net/eww.el:
9215 * net/imap.el:
9216 * printing.el:
9217 * vc/ediff-diff.el:
9218 * vc/ediff-init.el:
9219 * vc/ediff-merg.el:
9220 * vc/ediff-mult.el:
9221 * vc/ediff-util.el:
9222 * vc/ediff-wind.el:
9223 * vc/ediff.el:
9224 * vc/emerge.el:
9225 * vc/pcvs.el:
9226 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9227 byte compiler. Remove some unused let-bound variables.
9228
9229 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9232 a "ref-cell", since it gets better optimized (bug#14883).
9233
9234 2013-09-05 Glenn Morris <rgm@gnu.org>
9235
9236 * progmodes/cc-awk.el (c-forward-sws): Declare.
9237
9238 2013-09-04 Glenn Morris <rgm@gnu.org>
9239
9240 * generic-x.el [rul-generic-mode]: Require cc-mode.
9241 (c++-mode-syntax-table): Declare.
9242 (rul-generic-mode-syntax-table): Init in the defvar.
9243
9244 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9245
9246 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9247 (vc-do-command, vc-set-async-update):
9248 * vc/vc-mtn.el (vc-mtn-dir-status):
9249 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9250 (vc-hg-pull, vc-hg-merge-branch):
9251 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9252 (vc-git-merge-branch):
9253 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9254 (vc-cvs-dir-status-files):
9255 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9256 (vc-bzr-dir-status-files):
9257 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9258 * vc/vc-annotate.el: Use lexical-binding.
9259 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9260 (vc-sentinel-movepoint): Declare.
9261 (vc-annotate): Don't use `goto-line'.
9262 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9263 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9264 (vc-sentinel-movepoint): Declare.
9265 * vc/vc-svn.el: Use lexical-binding.
9266 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9267 * vc/vc-sccs.el:
9268 * vc/vc-rcs.el: Use lexical-binding.
9269
9270 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9271 `deleted'. Don't drop errors silently.
9272
9273 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9274
9275 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9276
9277 * vc/vc.el (vc-ignore): Rewrite.
9278 (vc-default-ignore): New function.
9279 (vc-default-ignore-completion-table): Use find-ignore-file.
9280
9281 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9282 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9283 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9284 Remove. Most code moved to vc.el.
9285
9286 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9289 * net/tramp-smb.el (tramp-smb-get-file-entries):
9290 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9291 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9292
9293 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9294 Update call to it.
9295 (eww-change-select): Remove unused var `properties'.
9296 (eww-make-unique-file-name): Remove unused var `base'.
9297
9298 * finder.el (finder-compile-keywords): Don't mess with windows.
9299
9300 * calculator.el (calculator-funcall): Fix typo in last change.
9301
9302 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9303
9304 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9305 <pkg>-autoloads.el file stop us.
9306
9307 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9308 warnings, and factor out common code.
9309
9310 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9311
9312 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9313 two-character operators and whether the character preceding them
9314 changes their meaning (Bug#15208).
9315
9316 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9317
9318 Format code sent to Python shell for robustness.
9319 * progmodes/python.el (python-shell-buffer-substring):
9320 New function.
9321 (python-shell-send-region, python-shell-send-buffer): Use it.
9322
9323 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9324
9325 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9326 * net/tramp.el (tramp-user-error): ... here.
9327 (tramp-find-method, tramp-check-proper-host)
9328 (tramp-dissect-file-name, tramp-debug-message)
9329 (tramp-handle-shell-command):
9330 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9331 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9332
9333 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9334
9335 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9336
9337 * avoid.el (mouse-avoidance-point-position)
9338 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9339 returns nil.
9340
9341 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9342
9343 * progmodes/python.el (python-shell-completion-get-completions):
9344 Drop use of deleted `comint-last-prompt-overlay'.
9345 (python-nav-if-name-main): New command.
9346
9347 2013-09-01 Glenn Morris <rgm@gnu.org>
9348
9349 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9350 Avoid leading space in $wins. Otherwise the sed command used by
9351 eg compile-main ends up containing "/*.el". (Bug#15170)
9352
9353 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9354
9355 2013-08-30 Glenn Morris <rgm@gnu.org>
9356
9357 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9358 Fix is-this-a-directory logic. (Bug#15220)
9359
9360 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * textmodes/css-mode.el: Use SMIE.
9363 (css-smie-grammar): New var.
9364 (css-smie--forward-token, css-smie--backward-token)
9365 (css-smie-rules): New functions.
9366 (css-mode): Use them.
9367 (css-navigation-syntax-table): Remove var.
9368 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9369 (css-indent-calculate, css-indent-line): Remove functions.
9370
9371 Misc changes to reduce use of `(lambda...); and other cleanups.
9372 * cus-edit.el: Use lexical-binding.
9373 (customize-push-and-save, customize-apropos)
9374 (custom-buffer-create-internal): Use closures.
9375 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9376 * progmodes/ada-xref.el: Use setq.
9377 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9378 * dframe.el: Use lexical-binding.
9379 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9380 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9381 * descr-text.el: Use lexical-binding.
9382 (describe-text-widget, describe-text-sexp, describe-property-list):
9383 Use closures.
9384 * comint.el (comint-history-isearch-push-state): Use a closure.
9385 * calculator.el: Use lexical-binding.
9386 (calculator-number-to-string): Make it work with lexical-binding.
9387 (calculator-funcall): Same and use cl-letf.
9388
9389 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9390 (lisp--company-doc-string, lisp--company-location): New functions.
9391 (lisp-completion-at-point): Use them to improve Company support.
9392
9393 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9394 params of lambda expressions.
9395 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9396 (ruby-smie--opening-pipe-p): New function.
9397 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9398 symbols and matched |...| for formal params.
9399 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9400 from being treated as hanging. Handle "rescue".
9401
9402 2013-08-29 Glenn Morris <rgm@gnu.org>
9403
9404 * progmodes/cc-engine.el (c-pull-open-brace):
9405 Move definition before use.
9406
9407 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9408
9409 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9410 are immutable. Don't use `unsafe' any more.
9411 (cl--defsubst-expand): Don't substitute at the same time as keeping
9412 a residual unused let-binding. Don't use `unsafe' any more.
9413
9414 2013-08-29 Glenn Morris <rgm@gnu.org>
9415
9416 * calendar/cal-china.el (calendar-chinese-year-cache):
9417 Recenter on 2015.
9418
9419 * nxml/nxml-util.el (nxml-debug-clear-inside):
9420 Use cl-loop rather than loop.
9421
9422 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9423
9424 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9425
9426 2013-08-28 Glenn Morris <rgm@gnu.org>
9427
9428 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9429
9430 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9431
9432 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9433
9434 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9435
9436 * simple.el (repeat-complex-command--called-interactively-skip):
9437 New function.
9438 (repeat-complex-command): Use it (bug#14136).
9439
9440 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9441 (c-define-abbrev-table): Add `doc' argument.
9442 (c-mode-abbrev-table, c++-mode-abbrev-table)
9443 (objc-mode-abbrev-table, java-mode-abbrev-table)
9444 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9445 (awk-mode-abbrev-table): Use it.
9446 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9447 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9448 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9449 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9450 Move initialization into the declaration; and remove any
9451 autoload cookie.
9452
9453 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9454 and dynamic let binding.
9455
9456 * vc/smerge-mode.el: Remove redundant :group args.
9457
9458 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9459 to load-path.
9460
9461 2013-08-28 Juri Linkov <juri@jurta.org>
9462
9463 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9464 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9465 (isearch-other-meta-char): Handle an undefined shifted printing
9466 character by downshifting it. (Bug#15200)
9467
9468 2013-08-28 Juri Linkov <juri@jurta.org>
9469
9470 * isearch.el (isearch-search): Change regexp error message for
9471 non-regexp searches. (Bug#15166)
9472
9473 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9474
9475 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9476 for portability to hosts where /bin/sh has problems.
9477
9478 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9481
9482 2013-08-27 Juri Linkov <juri@jurta.org>
9483
9484 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9485 in the keyboard macro. (Bug#15126)
9486
9487 2013-08-27 Juri Linkov <juri@jurta.org>
9488
9489 * isearch.el (isearch-quote-char): Comment out converting unibyte
9490 to multibyte, thus syncing with its `quoted-insert' counterpart.
9491 (Bug#15166)
9492
9493 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9494
9495 * window.el (display-buffer-use-some-window): Add missing
9496 argument in call of get-largest-window (Bug#15185).
9497 Reported by Stephen Leake.
9498
9499 2013-08-27 Glenn Morris <rgm@gnu.org>
9500
9501 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9502
9503 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9504
9505 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9506 from a matcher-function unless there's no more matches (bug#15161).
9507
9508 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * minibuffer.el: Revert change from 2013-08-20.
9511
9512 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9513 with text property `tramp-default', if appropriate.
9514 (tramp-check-proper-host): New defun.
9515 (tramp-dissect-file-name): Do not check hostname. Revert change
9516 of 2013-03-18.
9517 (tramp-backtrace): Make VEC-OR-PROC optional.
9518
9519 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9520 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9521 * net/tramp-sh.el (tramp-maybe-open-connection):
9522 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9523 Apply `tramp-check-proper-host'.
9524
9525 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9526
9527 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9528 lambda expression in order to have `describe-variable' display it.
9529
9530 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9531
9532 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9533 BUF can be optional. (Bug#15186)
9534
9535 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9536
9537 * progmodes/flymake.el (flymake-get-real-file-name-function):
9538 Fix broken customization. (Bug#15184)
9539
9540 2013-08-25 Alan Mackenzie <acm@muc.de>
9541
9542 Improve indentation of bracelists defined by macros (without "=").
9543
9544 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9545 expansion begins with "{", regard it as bracelist when it doesn't
9546 contain a ";".
9547
9548 Parse C++ inher-intro when there's a template split over 2 lines.
9549
9550 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9551 rigorously the search for "class" etc. followed by ":".
9552
9553 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9554 random languages a regexp which never matches rather than nil.
9555
9556 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9557
9558 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9559 (c-awk-regexp-one-line-possibly-open-char-list-re)
9560 (c-awk-one-line-possibly-open-regexp-re)
9561 (c-awk-one-line-non-syn-ws*-re): Remove.
9562 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9563 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9564 (c-awk-space*-unclosed-regexp-/-re): New constants.
9565 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9566 aren't regexp delimiters.
9567
9568 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9569 handling for a rare situation in AWK Mode involving unterminated
9570 strings/regexps.
9571
9572 2013-08-23 Glenn Morris <rgm@gnu.org>
9573
9574 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9575
9576 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9577
9578 * files.el (create-file-buffer): If the result would begin with
9579 spaces, prepend a "|" instead of removing them. (Bug#15162)
9580
9581 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9584 text-properties (bug#15155).
9585
9586 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9587 exist any more.
9588 (calc-keypad-redraw): Remove unused var `pad'.
9589 (calc-keypad-press): Remove unused var `menu'.
9590
9591 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9592
9593 * window.el (display-buffer-pop-up-frame):
9594 Call pop-up-frame-function with BUFFER current so `make-frame' will
9595 use it as the new frame's buffer (Bug#15133).
9596
9597 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 * calendar/timeclock.el: Minor cleanups.
9600 (timeclock-ask-before-exiting, timeclock-use-display-time):
9601 Use `symbol'.
9602 (timeclock-modeline-display): Define as alias before the
9603 actual definition.
9604 (timeclock-mode-line-display): Use define-minor-mode.
9605 (timeclock-day-list-template): Make it a function, add an argument.
9606 (timeclock-day-list-required, timeclock-day-list-length)
9607 (timeclock-day-list-debt, timeclock-day-list-span)
9608 (timeclock-day-list-break): Adjust calls accordingly.
9609
9610 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9611
9612 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9613 Use read--expression so that completion works again.
9614
9615 2013-08-21 Sam Steingold <sds@gnu.org>
9616
9617 Add rudimentary inferior shell interaction
9618 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9619 (sh-set-shell): Reset it.
9620 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9621 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9622
9623 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9624
9625 * align.el: Use lexical-binding.
9626 (align-region): Simplify accordingly.
9627
9628 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9629
9630 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9631
9632 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9633 `non-essential' up.
9634
9635 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9636
9637 * net/tramp.el:
9638 * net/tramp-adb.el:
9639 * net/tramp-cmds.el:
9640 * net/tramp-ftp.el:
9641 * net/tramp-gvfs.el:
9642 * net/tramp-gw.el:
9643 * net/tramp-sh.el: Don't wrap external variable declarations by
9644 `eval-when-compile'.
9645
9646 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9647
9648 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9649 now that Emacs supports ImageMagick animations.
9650
9651 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9652
9653 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9654 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9655
9656 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9657
9658 * window.el (mouse-autoselect-window-select): Do autoselect when
9659 mouse pointer is on margin.
9660
9661 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9662
9663 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9664
9665 2013-08-16 Glenn Morris <rgm@gnu.org>
9666
9667 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9668 Handle "Remote Directory" response of some clients. (Bug#15058)
9669
9670 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9671 Tweak warning. (Bug#14926)
9672
9673 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9674 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9675
9676 * image-mode.el (image-mode-map): Add menu items to reverse,
9677 increase, decrease, reset animation speed.
9678 (image--set-speed, image-increase-speed, image-decrease-speed)
9679 (image-reverse-speed, image-reset-speed): New functions.
9680 (image-mode-map): Add bindings for speed commands.
9681
9682 * image.el (image-animate-get-speed, image-animate-set-speed):
9683 New functions.
9684 (image-animate-timeout): Respect image :speed property.
9685
9686 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9687
9688 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9689 previous line (bug#15101).
9690 (debugger-eval-expression, debugger-record-expression):
9691 Use read--expression (bug#15102).
9692
9693 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9694
9695 Remove byte compiler warnings, visible when compiling with
9696 `byte-compile-force-lexical-warnings' set to t.
9697
9698 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9699 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9700 (tramp-handle-unhandled-file-name-directory)
9701 (tramp-handle-file-notify-add-watch, tramp-action-login)
9702 (tramp-action-succeed, tramp-action-permission-denied)
9703 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9704 arguments with "_".
9705
9706 * net/tramp-adb.el (tramp-adb-parse-device-names)
9707 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9708 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9709 (tramp-adb-handle-file-truename): Remove unused arguments.
9710
9711 * net/tramp-cache.el (tramp-flush-directory-property)
9712 (tramp-flush-connection-property, tramp-list-connections)
9713 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9714
9715 * net/tramp-compat.el (tramp-compat-make-temp-file):
9716 Rename FILENAME to F.
9717
9718 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9719 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9720 (tramp-zeroconf-parse-workstation-device-names)
9721 (tramp-zeroconf-parse-webdav-device-names)
9722 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9723
9724 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9725 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9726
9727 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9728 arguments.
9729 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9730 (tramp-sh-handle-insert-file-contents-literally)
9731 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9732 with "_".
9733 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9734 Remove unused variables.
9735
9736 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9737 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9738 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9739
9740 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9741 Make them a defconst.
9742 (tramp-uuencode-region): Remove unused variable.
9743
9744 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9745
9746 * frameset.el (frameset--prop-setter): New function.
9747 (frameset-prop): Add gv-setter declaration.
9748 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9749 parameter was already set in FILTERED. Doc fix.
9750 (frameset--record-minibuffer-relationships): Allow saving a
9751 minibufferless frame without its corresponding minibuffer frame.
9752 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9753 frame, if the frame id matches.
9754 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9755 frames before orphaned ones.
9756 (frameset-restore): Warn about orphaned windows, instead of error out.
9757
9758 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9759
9760 * window.el (window-make-atom): Don't overwrite parameter
9761 already present.
9762 (display-buffer-in-atom-window): Handle special case where we
9763 split an already atomic window.
9764 (window--major-non-side-window, display-buffer-in-side-window)
9765 (window--side-check): Ignore minibuffer window when walking
9766 window tree.
9767 (window-deletable-p): Return 'frame only if no other frame uses
9768 our minibuffer window.
9769 (record-window-buffer): Run buffer-list-update-hook.
9770 (split-window): Make sure window--check-frame won't destroy an
9771 existing atomic window in case the new window gets nested
9772 inside.
9773 (display-buffer-at-bottom): Ignore minibuffer window when
9774 walking window tree. Don't split a side window.
9775 (pop-to-buffer): Don't set-buffer here, the select-window call
9776 should do that.
9777 (mouse-autoselect-window-select): Autoselect only if we are in the
9778 text portion of the window.
9779
9780 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9781
9782 * net/shr.el (shr-parse-image-data): New function to grab both the
9783 data itself and the Content-Type.
9784 (shr-put-image): Use it.
9785
9786 * net/eww.el (eww-display-image): Ditto.
9787
9788 * image.el (image-content-type-suffixes): New variable.
9789
9790 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9791
9792 * progmodes/python.el (python-imenu--build-tree)
9793 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9794
9795 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9796
9797 * simple.el (backward-word): Mention the optional argument.
9798
9799 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9800
9801 * frameset.el (frameset--make): Rename constructor from make-frameset.
9802 (frameset-p, frameset-valid-p): Don't autoload.
9803 (frameset-valid-p): Use normal accessors.
9804
9805 2013-08-13 Glenn Morris <rgm@gnu.org>
9806
9807 * progmodes/compile.el (compile-command): Tweak example in doc.
9808 * obsolete/scribe.el (scribe-mode):
9809 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9810
9811 * mail/feedmail.el (feedmail-confirm-outgoing)
9812 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9813
9814 * cus-start.el (truncate-partial-width-windows): Fix type.
9815
9816 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9817
9818 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9819
9820 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * emacs-lisp/timer.el (timer--time-setter): New function.
9823 (timer--time): Use it as gv-setter.
9824
9825 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9826 setter is not a symbol.
9827
9828 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9829
9830 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9831 if sending fails. This makes debugging easier.
9832
9833 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9834
9835 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9836 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9837 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9838
9839 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9840
9841 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9842
9843 2013-08-12 Glenn Morris <rgm@gnu.org>
9844
9845 * format.el (format-annotate-function):
9846 Handle read-only text properties in the source. (Bug#14887)
9847
9848 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9849
9850 * net/eww.el (eww-display-html): Ignore coding system errors.
9851 One web site uses "utf-8lias" as the coding system.
9852
9853 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9854
9855 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9856
9857 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9858
9859 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9860 (tutorial--detailed-help): Remove unused local variables.
9861 (tutorial--save-tutorial-to): Use ignore-errors.
9862 (help-with-tutorial): Use looking-at-p.
9863
9864 * view.el (view-buffer-other-window, view-buffer-other-frame):
9865 Mark unused arguments.
9866
9867 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9868 (woman-select-symbol-fonts, woman, woman-find-file)
9869 (woman-insert-file-contents, woman-non-underline-faces):
9870 Use string-match-p.
9871 (woman1-unquote): Move declaration.
9872
9873 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9874 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9875 argument. Remove unused local variable.
9876 (xml-parse-elem-type): Use string-match-p.
9877 (xml-substitute-numeric-entities): Use ignore-errors.
9878
9879 * calculator.el (calculator): Mark unused argument.
9880 (calculator-paste, calculator-quit, calculator-integer-p):
9881 Use ignore-errors.
9882 (calculator-string-to-number, calculator-decimal, calculator-exp)
9883 (calculator-op-or-exp): Use string-match-p.
9884
9885 * dired.el (dired-buffer-more-recently-used-p): Declare.
9886 (dired-insert-set-properties, dired-insert-old-subdirs):
9887 Use ignore-errors.
9888
9889 * dired-aux.el (dired-compress): Use ignore-errors.
9890 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9891 (dired-do-async-shell-command, dired-do-shell-command)
9892 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9893 (dired-insert-subdir-validate): Use string-match-p.
9894 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9895 (dired-add-entry): Use string-match-p, looking-at-p.
9896 (dired-insert-subdir-newpos): Remove unused local variable.
9897
9898 * filenotify.el (file-notify-callback): Remove unused local variable.
9899
9900 * filesets.el (filesets-error): Mark unused argument.
9901 (filesets-which-command-p, filesets-filter-dir-names)
9902 (filesets-directory-files, filesets-get-external-viewer)
9903 (filesets-ingroup-get-data): Use string-match-p.
9904
9905 * find-file.el (ff-other-file-name, ff-other-file-name)
9906 (ff-find-the-other-file, ff-cc-hh-converter):
9907 Remove unused local variables.
9908 (ff-get-file-name): Use string-match-p.
9909 (ff-all-dirs-under): Use ignore-errors.
9910
9911 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9912 (follow-select-if-visible): Remove unused local variable.
9913
9914 * forms.el (read-file-filter): Move declaration.
9915 (forms--make-format, forms--make-parser, forms-insert-record):
9916 Quote function with #'.
9917 (forms--update): Use string-match-p. Quote function with #'.
9918
9919 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9920 (help-make-xrefs): Use looking-at-p.
9921 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9922
9923 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9924 (ibuffer-confirm-operation-on): Use string-match-p.
9925
9926 * msb.el (msb-item-handler, msb-dired-item-handler):
9927 Mark unused arguments.
9928
9929 * ses.el (ses-decode-cell-symbol)
9930 (ses-kill-override): Remove unused local variable.
9931 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9932 (ses-load): Use ignore-errors, looking-at-p.
9933 (ses-jump-safe): Use ignore-errors.
9934 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9935
9936 * tabify.el (untabify, tabify): Mark unused arguments.
9937
9938 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9939 Mark unused argument.
9940 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9941 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9942
9943 * emacs-lisp/timer.el (timer--time): Define setter with
9944 gv-define-setter to avoid deprecation warning.
9945
9946 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9947 (*record-cmpl-statistics-p*): Remove (was commented out).
9948 (cmpl-statistics-block): Remove (body was commented out).
9949 All callers changed.
9950 (add-completions-from-buffer, load-completions-from-file):
9951 Remove unused variables.
9952
9953 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9954
9955 * filecache.el (file-cache-delete-file-list):
9956 Print message only when told so.
9957 (file-cache-files-matching): Use #' in mapconcat argument.
9958
9959 * ffap.el (ffap-url-at-point): Fix reference to variable
9960 thing-at-point-default-mail-uri-scheme.
9961
9962 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9963
9964 * subr.el (define-error): New function.
9965 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9966 error-file-not-found and define with define-error.
9967 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9968 and define with define-error.
9969 * userlock.el (file-locked, file-supersession):
9970 * simple.el (mark-inactive):
9971 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9972 * progmodes/ada-mode.el (ada-mode-errors):
9973 * play/life.el (life-extinct):
9974 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9975 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9976 * nxml/rng-util.el (rng-error):
9977 * nxml/rng-uri.el (rng-uri-error):
9978 * nxml/rng-match.el (rng-compile-error):
9979 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9980 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9981 * nxml/nxml-rap.el (nxml-scan-error):
9982 * nxml/nxml-outln.el (nxml-outline-error):
9983 * net/soap-client.el (soap-error):
9984 * net/gnutls.el (gnutls-error):
9985 * net/ange-ftp.el (ftp-error):
9986 * mpc.el (mpc-proc-error):
9987 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9988 (json-number-format, json-string-escape, json-string-format)
9989 (json-key-format, json-object-format):
9990 * jka-compr.el (compression-error):
9991 * international/quail.el (quail-error):
9992 * international/kkc.el (kkc-error):
9993 * emacs-lisp/ert.el (ert-test-failed):
9994 * calc/calc.el (calc-error, inexact-result, math-overflow)
9995 (math-underflow):
9996 * bookmark.el (bookmark-error-no-filename):
9997 * epg.el (epg-error): Define with define-error.
9998
9999 * time.el (display-time-event-handler)
10000 (display-time-next-load-average): Don't call sit-for since it seems
10001 unnecessary (bug#15045).
10002
10003 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10004 Use #' instead of ' to quote functions.
10005 (checkdoc-output-mode): Use setq-local.
10006 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10007 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10008 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10009 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10010 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10011 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10012 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10013 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10014
10015 * ido.el (ido-completion-help): Fix up compiler warning.
10016
10017 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10018
10019 * frameset.el (frameset-p): Add autoload cookie.
10020 (frameset--jump-to-register): New function, based on code moved from
10021 register.el.
10022 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10023
10024 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10025 (frameset-restore, frameset-save, frameset-session-filter-alist):
10026 Remove declarations.
10027 (register-alist): Doc fix.
10028 (frameset-to-register): Move to frameset.el.
10029 (jump-to-register, describe-register-1): Remove frameset-specific code.
10030
10031 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10032
10033 * allout-widgets.el (allout-widgets-pre-command-business)
10034 (allout-widgets-post-command-business)
10035 (allout-widgets-after-change-handler)
10036 (allout-decorate-item-and-context, allout-set-boundary-marker)
10037 (allout-body-modification-handler)
10038 (allout-graphics-modification-handler): Mark ignored arguments.
10039 (allout-widgets-post-command-business)
10040 (allout-widgets-exposure-change-processor)
10041 (allout-widgets-exposure-undo-processor)
10042 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10043 (allout-parse-item-at-point, allout-decorate-item-guides)
10044 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10045 * allout.el (epa-passphrase-callback-function): Declare.
10046 (allout-overlay-insert-in-front-handler)
10047 (allout-overlay-interior-modification-handler)
10048 (allout-isearch-end-handler, allout-chart-siblings)
10049 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10050 (allout-yank-processing, allout-process-exposed)
10051 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10052 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10053 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10054 (lisp-indent-defform): Mark ignored arguments.
10055 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10056 (calculate-lisp-indent): Remove unused variables.
10057 * international/characters.el (indian-2-column, arabic-2-column)
10058 (tibetan): Mark ignored arguments.
10059 (use-cjk-char-width-table): Mark ignored arguments.
10060 Remove unused variables.
10061 * international/fontset.el (build-default-fontset-data)
10062 (x-compose-font-name, create-fontset-from-fontset-spec):
10063 Mark ignored arguments.
10064 (fontset-plain-name): Remove unused variables.
10065 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10066 (keyboard-coding-system): Mark ignored arguments.
10067 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10068 * help.el (resize-temp-buffer-window):
10069 * window.el (display-buffer-in-major-side-window)
10070 (display-buffer-in-side-window, display-buffer-in-previous-window):
10071 Remove unused variables.
10072 * isearch.el (isearch-forward-symbol):
10073 * version.el (emacs-bzr-version-bzr):
10074 * international/mule-cmds.el (current-language-environment):
10075 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10076 (x-handle-display):
10077 * term/pc-win.el (x-list-fonts, x-display-planes)
10078 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10079 (x-server-version, x-display-screens, x-display-mm-height)
10080 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10081 (x-selection-owner-p, x-own-selection-internal)
10082 (x-disown-selection-internal, x-get-selection-internal)
10083 (msdos-initialize-window-system):
10084 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10085 * term/x-win.el (x-handle-no-bitmap-icon):
10086 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10087 (vc-default-find-file-hook, vc-default-extra-menu):
10088 Mark ignored arguments.
10089
10090 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10091
10092 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10093 break-condition in the context of the debugged code (bug#12685).
10094
10095 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10096
10097 * comint.el:
10098 Do not use an overlay to highlight the last prompt. (Bug#14744)
10099 (comint-mode): Make comint-last-prompt buffer local.
10100 (comint-last-prompt): New variable.
10101 (comint-last-prompt-overlay): Remove. Superseded by
10102 comint-last-prompt.
10103 (comint-snapshot-last-prompt, comint-output-filter):
10104 Use comint-last-prompt.
10105
10106 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10107
10108 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10109 (frameset-save): Check validity of the resulting frameset.
10110
10111 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10112
10113 * ido.el (ido-record-command): Add doc string.
10114
10115 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10116
10117 * frameset.el (frameset): Do not disable creation of the default
10118 frameset-p predicate. Doc fix.
10119 (frameset-valid-p): New function, copied from the old predicate-p.
10120 Add additional checks.
10121 (frameset-restore): Check with frameset-valid-p.
10122 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10123 (frameset-name, frameset-description, frameset-properties)
10124 (frameset-states): Add docstring.
10125 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10126 (frameset-filter-alist): Doc fixes.
10127
10128 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10129
10130 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10131
10132 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10133
10134 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10135 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10136 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10137 (byte-compile-normal-call): Remove obsolescence check.
10138
10139 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10140
10141 * frameset.el (frameset-restore): Doc fix.
10142
10143 * register.el (frameset-frame-id, frameset-frame-with-id)
10144 (frameset-p, frameset-restore, frameset-save): Declare.
10145 (register-alist): Document framesets.
10146 (frameset-session-filter-alist): Declare.
10147 (frameset-to-register): New function.
10148 (jump-to-register): Implement jumping to framesets. Doc fix.
10149 (describe-register-1): Describe framesets.
10150
10151 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10152
10153 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10154
10155 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10156 Use lexical-binding.
10157
10158 * frameset.el (frameset): Use type vector, not list (incompatible
10159 change). Do not declare a new constructor, use the default one.
10160 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10161 `name' and `description', respectively, and add read-only slot
10162 `timestamp'. Doc fixes.
10163 (frameset-copy, frameset-persistent-filter-alist)
10164 (frameset-filter-alist, frameset-switch-to-gui-p)
10165 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10166 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10167 (frameset-filter-iconified, frameset-keep-original-display-p):
10168 Doc fixes.
10169 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10170 Rename from frameset-filter-(save|restore)-param. All callers changed.
10171 Doc fix.
10172 (frameset-p): Adapt to change to vector and be more thorough.
10173 Change arg name to OBJECT. Doc fix.
10174 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10175 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10176 All callers changed.
10177 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10178 All callers changed.
10179 (frameset--record-minibuffer-relationships): Rename from
10180 frameset--process-minibuffer-frames. All callers changed.
10181 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10182 Use new default constructor (again). Doc fix.
10183 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10184 All callers changed.
10185 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10186 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10187 Doc fix.
10188 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10189 PARAMETERS and WINDOW-STATE, respectively.
10190 (frameset-restore): Add new keyword argument PREDICATE.
10191 Reset frameset--target-display to nil. Doc fix.
10192
10193 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10196 (bat-mode): Use it.
10197 (bat-mode-syntax-table): Mark \n as end-of-comment.
10198 (bat-font-lock-keywords): Remove comment rule.
10199
10200 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10201 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10202
10203 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10204 (byte-compile-callargs-warn): Use `push'.
10205 (byte-compile-arglist-warn): Ignore higher-order "calls".
10206 (byte-compile-file-form-autoload): Use `pcase'.
10207 (byte-compile-function-form): If quoting a symbol, check that it exists.
10208
10209 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10210
10211 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10212 and add a few popular commands found in batch files.
10213 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10214 (dos-mode): Doc fixes.
10215
10216 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10219 (dos-mode): Use setq-local. Add space after "rem".
10220 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10221 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10222
10223 2013-08-07 Arni Magnusson <arnima@hafro.is>
10224
10225 * progmodes/dos.el: New file.
10226 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10227 dos-mode.
10228
10229 2013-08-06 Glenn Morris <rgm@gnu.org>
10230
10231 * calendar/calendar.el: Add new faces, and day-header-array.
10232 (calendar-weekday-header, calendar-weekend-header)
10233 (calendar-month-header): New faces.
10234 (calendar-day-header-construct): New function.
10235 (calendar-day-header-width): Also :set calendar-day-header-array.
10236 (calendar-american-month-header, calendar-european-month-header)
10237 (calendar-iso-month-header): Use calendar- faces.
10238 (calendar-generate-month):
10239 Use calendar-day-header-array for day headers; apply faces to them.
10240 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10241 (calendar-abbrev-construct): Add optional maxlen argument.
10242 (calendar-day-name-array): Doc fix.
10243 (calendar-day-name-array, calendar-abbrev-length)
10244 (calendar-day-abbrev-array):
10245 Also :set calendar-day-header-array, and maybe redraw.
10246 (calendar-day-header-array): New option. (Bug#15007)
10247 (calendar-font-lock-keywords): Set to nil and make obsolete.
10248 (calendar-day-name): Add option to use header array.
10249
10250 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10251
10252 * net/shr.el (shr-render-td): Remove debugging.
10253 (shr-render-td): Make width computation consistent by defaulting
10254 all zero-width columns to 10 characters. This may not be optimal,
10255 but it's at least consistent.
10256 (shr-make-table-1): Redo last change to fix the real problem in
10257 colspan handling.
10258
10259 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10260
10261 * files.el (cache-long-line-scans):
10262 Make obsolete alias to `cache-long-scans'.
10263
10264 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10265
10266 * frameset.el (frameset, frameset-filter-alist)
10267 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10268 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10269 (frameset-compute-pos): Rename from frameset--compute-pos,
10270 and add docstring.
10271 (frameset-move-onscreen): Use frameset-compute-pos.
10272 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10273
10274 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10275 Fix typos in docstrings.
10276
10277 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10278
10279 * frame.el (get-other-frame): Tiny cleanup.
10280
10281 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10282
10283 * vc/vc.el (vc-default-ignore-completion-table):
10284 Silence byte-compiler warning.
10285
10286 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10287 slot, which can indeed be nil.
10288 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10289 Move entry for `left' from persistent to live filter alist.
10290 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10291 Doc fixes.
10292 (frameset-filter-params): When restoring a frame, copy items added to
10293 `filtered', to avoid unwittingly modifying the original parameters.
10294 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10295 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10296
10297 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10298 to use looking-at-p instead of looking-at. (Bug#15028)
10299
10300 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 Revert introduction of isearch-filter-predicates (bug#14714).
10303 Rely on add-function instead.
10304 * isearch.el (isearch-filter-predicates): Rename it back to
10305 isearch-filter-predicate.
10306 (isearch-message-prefix): Use advice-function-mapc and advice
10307 properties to get the isearch-message-prefix.
10308 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10309 instead of run-hook-with-args-until-failure.
10310 (isearch-filter-visible): Not obsolete any more.
10311 * loadup.el: Preload nadvice.
10312 * replace.el (perform-replace): Revert to funcall
10313 instead of run-hook-with-args-until-failure.
10314 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10315 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10316 dired-isearch-filenames-toggle; make it into a proper minor mode.
10317 Use add/remove-function.
10318 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10319 Call the minor-mode rather than add/remove-hook.
10320 (dired-isearch-filter-filenames):
10321 Remove isearch-message-prefix property.
10322 * info.el (Info--search-loop): New function, extracted from Info-search.
10323 Funcall isearch-filter-predicate instead of
10324 run-hook-with-args-until-failure isearch-filter-predicates.
10325 (Info-search): Use it.
10326 (Info-mode): Use isearch-filter-predicate instead of
10327 isearch-filter-predicates.
10328
10329 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10330
10331 Do not call to `selected-window' where it is assumed by default.
10332 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10333 `window-hscroll', `window-width', `window-height', `window-buffer',
10334 `window-frame', `window-start', `window-point', `next-window'
10335 and `window-display-table'.
10336 * abbrev.el (abbrev--default-expand):
10337 * bs.el (bs--show-with-configuration):
10338 * buff-menu.el (Buffer-menu-mouse-select):
10339 * calc/calc.el (calc):
10340 * calendar/calendar.el (calendar-generate-window):
10341 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10342 (diary-make-entry):
10343 * comint.el (send-invisible, comint-dynamic-complete-filename)
10344 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10345 * completion.el (complete):
10346 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10347 * disp-table.el (describe-current-display-table):
10348 * doc-view.el (doc-view-insert-image):
10349 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10350 * ehelp.el (with-electric-help):
10351 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10352 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10353 * emacs-lisp/helper.el (Helper-help-scroller):
10354 * emulation/cua-base.el (cua--post-command-handler-1):
10355 * eshell/esh-mode.el (eshell-output-filter):
10356 * ffap.el (ffap-gnus-wrapper):
10357 * help-macro.el (make-help-screen):
10358 * hilit-chg.el (highlight-compare-buffers):
10359 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10360 * hl-line.el (global-hl-line-highlight):
10361 * icomplete.el (icomplete-simple-completing-p):
10362 * isearch.el (isearch-done):
10363 * jit-lock.el (jit-lock-stealth-fontify):
10364 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10365 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10366 * mpc.el (mpc-tagbrowser, mpc):
10367 * net/rcirc.el (rcirc-any-buffer):
10368 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10369 * play/landmark.el (landmark-max-width, landmark-max-height):
10370 * play/zone.el (zone):
10371 * progmodes/compile.el (compilation-goto-locus):
10372 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10373 * progmodes/etags.el (find-tag-other-window):
10374 * progmodes/fortran.el (fortran-column-ruler):
10375 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10376 * progmodes/verilog-mode.el (verilog-point-text):
10377 * reposition.el (reposition-window):
10378 * rot13.el (toggle-rot13-mode):
10379 * server.el (server-switch-buffer):
10380 * shell.el (shell-dynamic-complete-command)
10381 (shell-dynamic-complete-environment-variable):
10382 * simple.el (insert-buffer, set-selective-display)
10383 (delete-completion-window):
10384 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10385 (speedbar-recenter):
10386 * startup.el (fancy-splash-head):
10387 * textmodes/ispell.el (ispell-command-loop):
10388 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10389 * tutorial.el (help-with-tutorial):
10390 * vc/add-log.el (add-change-log-entry):
10391 * vc/compare-w.el (compare-windows):
10392 * vc/ediff-help.el (ediff-indent-help-message):
10393 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10394 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10395 (ediff-setup-control-frame):
10396 * vc/emerge.el (emerge-position-region):
10397 * vc/pcvs-util.el (cvs-bury-buffer):
10398 * window.el (walk-windows, mouse-autoselect-window-select):
10399 * winner.el (winner-set-conf, winner-undo): Related users changed.
10400
10401 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10402
10403 * frameset.el (frameset--set-id): Doc fix.
10404 (frameset-frame-id, frameset-frame-id-equal-p)
10405 (frameset-locate-frame-id): New functions.
10406 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10407 (frameset-restore): Use them.
10408
10409 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10410
10411 Do not call to `selected-frame' where it is assumed by default.
10412 Affected functions are `raise-frame', `redraw-frame',
10413 `frame-first-window', `frame-terminal' and `delete-frame'.
10414 * calendar/appt.el (appt-disp-window):
10415 * epg.el (epg-wait-for-completion):
10416 * follow.el (follow-delete-other-windows-and-split)
10417 (follow-avoid-tail-recenter):
10418 * international/mule.el (set-terminal-coding-system):
10419 * mail/rmail.el (rmail-mail-return):
10420 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10421 * progmodes/f90.el (f90-add-imenu-menu):
10422 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10423 * server.el (server-switch-buffer):
10424 * simple.el (delete-completion-window):
10425 * talk.el (talk):
10426 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10427 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10428 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10429 * vc/ediff.el (ediff-documentation): Related users changed.
10430 * frame.el (selected-terminal): Remove the leftover.
10431
10432 2013-08-05 Glenn Morris <rgm@gnu.org>
10433
10434 * calendar/calendar.el (calendar-generate-month):
10435 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10436 (calendar-generate-month, calendar-font-lock-keywords):
10437 Fix for calendar-day-header-width > length of any day name.
10438
10439 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10440
10441 * desktop.el (desktop-clear): Use new name of sort predicate.
10442
10443 * frameset.el (frameset): Add docstring. Move :version property to its
10444 own `version' slot.
10445 (frameset-copy): Rename from copy-frameset.
10446 (frameset-p): Check more thoroughly.
10447 (frameset-prop): Do not check for :version, which is no longer a prop.
10448 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10449 Use new :never value instead of t.
10450 (frameset-filter-alist): Expand and clarify docstring.
10451 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10452 (frameset-filter-minibuffer, frameset-filter-save-param)
10453 (frameset-filter-restore-param, frameset-filter-iconified):
10454 Add pointer to docstring of frameset-filter-alist.
10455 (frameset-filter-params): Rename filter values to be more meaningful:
10456 :never instead of t, and reverse the meanings of :save and :restore.
10457 (frameset--process-minibuffer-frames): Clarify error message.
10458 (frameset-save): Avoid unnecessary and confusing call to framep.
10459 Use new BOA constructor for framesets.
10460 (frameset--reuse-list): Doc fix.
10461 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10462 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10463 (frameset-minibufferless-first-p): Doc fix.
10464 Rename from frameset-sort-frames-for-deletion.
10465 (frameset-restore): Doc fixes. Use new function names.
10466 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10467
10468 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10469
10470 * desktop.el (desktop-restore-forces-onscreen)
10471 (desktop-restore-reuses-frames): Document :keyword constant values.
10472 (desktop-filter-parameters-alist): Remove, now identical to
10473 frameset-filter-alist.
10474 (desktop--filter-tty*): Remove, moved to frameset.el.
10475 (desktop-save-frameset, desktop-restore-frameset):
10476 Do not pass :filters argument.
10477
10478 * frameset.el (frameset-live-filter-alist)
10479 (frameset-persistent-filter-alist): New variables.
10480 (frameset-filter-alist): Use them. Add autoload cookie.
10481 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10482 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10483 `frameset--id' (it's supposed to be internal to frameset.el).
10484 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10485 (frameset--initial-params): New function.
10486 (frameset--get-frame): Use it. Doc fix.
10487 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10488 Accept :all, not 'all.
10489 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10490 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10491 with fbound symbols. Fix frame id matching, and remove matching ids if
10492 the frame being restored is deleted. Obey :delete.
10493
10494 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10495
10496 * subr.el (macrop): New function.
10497 (text-clone--maintaining): New var.
10498 (text-clone--maintain): Rename from text-clone-maintain. Use it
10499 instead of inhibit-modification-hooks.
10500
10501 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10502 a proxy, so as handle autoloads and redefinitions of the target.
10503 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10504
10505 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10506 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10507 (pcase--mutually-exclusive-p): New function.
10508 (pcase--split-consp): Use it.
10509 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10510 mutually exclusive with the current predicate.
10511
10512 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10513 (edebug-macrop): Remove. Use `macrop' instead.
10514 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10515 (ad-macro-p):
10516 * eshell/esh-cmd.el (eshell-macrop):
10517 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10518
10519 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10520
10521 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10522 (advice-mapc): New function, using it.
10523 (advice-function-member-p): New function.
10524 (advice--normalize): Store the cdr in advice--saved-rewrite since
10525 that's the part that will be changed.
10526 (advice--symbol-function): New function.
10527 (advice-remove): Handle removal before the function is defined.
10528 Adjust to new advice--saved-rewrite.
10529 (advice-member-p): Use advice-function-member-p and
10530 advice--symbol-function.
10531
10532 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10533
10534 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10535 (frameset-filter-minibuffer): Doc fix.
10536 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10537 (frameset--set-id, frameset--process-minibuffer-frames)
10538 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10539 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10540
10541 * desktop.el (desktop-clear): Only delete frames when called
10542 interactively and desktop-restore-frames is non-nil. Doc fix.
10543 (desktop-read): Set desktop-saved-frameset to nil.
10544
10545 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10546
10547 * vc/vc.el (vc-ignore): Rewrite.
10548 (vc-default-ignore-completion-table, vc--read-lines)
10549 (vc--add-line, vc--remove-regexp): New functions.
10550
10551 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10552 (vc-svn-ignore-completion-table): New function.
10553
10554 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10555 (vc-hg-ignore-completion-table)
10556 (vc-hg-find-ignore-file): New functions.
10557
10558 * vc/vc-git.el (vc-git-ignore): Rewrite.
10559 (vc-git-ignore-completion-table)
10560 (vc-git-find-ignore-file): New functions.
10561
10562 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10563
10564 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10565 (vc-bzr-ignore-completion-table)
10566 (vc-bzr-find-ignore-file): New functions.
10567
10568 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10569
10570 * frameset.el (frameset-prop): New function and setter.
10571 (frameset-save): Do not modify frame list passed by the caller.
10572
10573 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10574
10575 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10576
10577 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10578
10579 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10580 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10581
10582 * custom.el (custom-initialize-default, custom-initialize-set)
10583 (custom-initialize-reset, custom-initialize-changed): Affect the
10584 toplevel-default-value (bug#6275, bug#14586).
10585 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10586 for bug#6275.
10587
10588 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10589
10590 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10591 Add cl-def* expressions.
10592
10593 * frameset.el (frameset-filter-params): Fix order of arguments.
10594
10595 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10596
10597 Move code related to saving frames to frameset.el.
10598 * desktop.el: Require frameset.
10599 (desktop-restore-frames): Doc fix.
10600 (desktop-restore-reuses-frames): Rename from
10601 desktop-restoring-reuses-frames.
10602 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10603 (desktop-clear): Clear frames too.
10604 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10605 (desktop--filter-tty*, desktop-save, desktop-read):
10606 Use frameset functions.
10607 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10608 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10609 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10610 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10611 (desktop--process-minibuffer-frames, desktop-save-frames)
10612 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10613 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10614 (desktop--sort-states, desktop-restoring-frames-p)
10615 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10616 (desktop-restoring-frameset-p, desktop-restore-frameset)
10617 (desktop--check-dont-save, desktop-save-frameset): New functions.
10618 (desktop--app-id): New constant.
10619 (desktop-first-buffer, desktop-buffer-ok-count)
10620 (desktop-buffer-fail-count): Move before first use.
10621 * frameset.el: New file.
10622
10623 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10624
10625 * files.el: Use lexical-binding.
10626 (dir-locals-read-from-file): Remove unused `err' variable.
10627 (hack-dir-local-variables--warned-coding): New var.
10628 (hack-dir-local-variables): Use it to avoid repeated warnings.
10629 (make-backup-file-name--default-function): New function.
10630 (make-backup-file-name-function): Use it as default.
10631 (buffer-stale--default-function): New function.
10632 (buffer-stale-function): Use it as default.
10633 (revert-buffer-insert-file-contents--default-function): New function.
10634 (revert-buffer-insert-file-contents-function): Use it as default.
10635 (insert-directory): Avoid add-to-list.
10636
10637 * autorevert.el (auto-revert-handler): Simplify.
10638 Use buffer-stale--default-function.
10639
10640 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10641
10642 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10643
10644 * whitespace.el (whitespace-ensure-local-variables): New function.
10645 (whitespace-cleanup-region): Call it.
10646 (whitespace-turn-on): Call it.
10647
10648 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10649
10650 Complete file name handlers.
10651
10652 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10653 (tramp-handle-verify-visited-file-modtime)
10654 (tramp-handle-file-notify-rm-watch): New functions.
10655 (tramp-call-process): Do not bind `default-directory'.
10656
10657 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10658 Order alphabetically.
10659 <access-file, add-name-to-file, dired-call-process>:
10660 <dired-compress-file, file-acl, file-notify-rm-watch>:
10661 <file-ownership-preserved-p, file-selinux-context>:
10662 <make-directory-internal, make-symbolic-link, set-file-acl>:
10663 <set-file-selinux-context, set-visited-file-modtime>:
10664 <verify-visited-file-modtime>: Add handler.
10665 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10666
10667 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10668 <file-notify-add-watch, file-notify-rm-watch>:
10669 <set-file-times, set-visited-file-modtime>:
10670 <verify-visited-file-modtime>: Add handler.
10671 (with-tramp-gvfs-error-message)
10672 (tramp-gvfs-handle-set-visited-file-modtime)
10673 (tramp-gvfs-fuse-file-name): Remove.
10674 (tramp-gvfs-handle-file-notify-add-watch)
10675 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10676 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10677
10678 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10679 Order alphabetically.
10680 <file-notify-rm-watch>: Use default Tramp handler.
10681 <executable-find>: Remove private handler.
10682 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10683 `default-directory'.
10684 (tramp-sh-handle-executable-find)
10685 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10686 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10687 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10688 Do not use `format' in `tramp-message'.
10689
10690 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10691 <file-notify-rm-watch, set-visited-file-modtime>:
10692 <verify-visited-file-modtime>: Add handler.
10693 (tramp-smb-call-winexe): Do not bind `default-directory'.
10694
10695 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10696
10697 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10698
10699 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10700
10701 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10702 use it.
10703 (log-view-diff-changeset): Same.
10704 (log-view-diff-common): Call backend command `previous-revision'
10705 to find out the previous revision, in both cases. Swap the
10706 variables `to' and `fr', so that `fr' usually refers to the
10707 earlier revision (Bug#14989).
10708
10709 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10710
10711 * ibuf-ext.el (ibuffer-filter-by-filename):
10712 Make it work with dired buffers too.
10713
10714 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10715
10716 * emacs-lisp/re-builder.el (reb-color-display-p):
10717 * files.el (save-buffers-kill-terminal):
10718 * net/browse-url.el (browse-url):
10719 * server.el (server-save-buffers-kill-terminal):
10720 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10721 Prefer nil to selected-frame for the first arg of frame-parameter.
10722
10723 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10724
10725 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10726
10727 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10728
10729 * minibuffer.el (completion--twq-all): Try and preserve each
10730 completion's case choice (bug#14907).
10731
10732 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10733
10734 * net/network-stream.el (open-network-stream): Mention the new
10735 :nogreeting parameter.
10736 (network-stream-open-starttls): Use the :nogreeting parameter
10737 (bug#14938).
10738
10739 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10740
10741 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10742 more natural than popping.
10743
10744 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10745 (shr-urlify): Highlight under mouse.
10746
10747 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10748
10749 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10750
10751 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10752
10753 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10754 buffer for output.
10755
10756 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10757 point-min==1. Fix search string. Fix parentheses missing.
10758
10759 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10760 assume point-min==1. Fix search string. Fix parentheses missing.
10761
10762 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10763
10764 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10765 buffer for output.
10766
10767 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10768
10769 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10770 initial frame is minibuffer-less. (Bug#14841)
10771
10772 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10773
10774 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10775 option.
10776
10777 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10778 (tramp-maybe-open-connection): Use it.
10779
10780 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10781
10782 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10783 minimal set of parameters passed when creating a frame, because
10784 the minibuffer status of a frame cannot be changed later.
10785
10786 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10787
10788 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10789 replace-regexp-in-string and inadvertent omissions in previous change.
10790 (todo-filter-items): Ensure only file names are comma-separated in
10791 name of filtered items buffer.
10792
10793 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10794
10795 * desktop.el: Optionally force offscreen frames back onscreen.
10796 (desktop-restoring-reuses-frames): New option.
10797 (desktop--compute-pos, desktop--move-onscreen): New functions.
10798 (desktop--make-frame): Use desktop--move-onscreen.
10799
10800 2013-07-27 Alan Mackenzie <acm@muc.de>
10801
10802 Fontify a Java generic method as a function.
10803 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10804 value to t.
10805
10806 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10807
10808 * calendar/todo-mode.el: Add command to rename todo files.
10809 (todo-rename-file): New command.
10810 (todo-key-bindings-t): Add key binding for it. Change the
10811 bindings of todo-filter-regexp-items(-multifile) to use `x'
10812 instead of `r', since the latter is better suited to the new
10813 renaming command.
10814
10815 2013-07-27 Alan Mackenzie <acm@muc.de>
10816
10817 Make Java try-with-resources statement parse properly.
10818 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10819 (c-block-stmt-1-2-key): New language constants/variables.
10820 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10821 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10822 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10823 with c-block-stmt-1-2-key.
10824
10825 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10826
10827 * desktop.el (desktop--make-frame): Apply most frame parameters after
10828 creating the frame to force (partially or totally) offscreen frames to
10829 be restored as such.
10830
10831 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10832
10833 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10834 (Bug#14948)
10835
10836 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10837
10838 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10839 `base' arg of backtrace-frame.
10840
10841 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10842
10843 * simple.el (list-processes): Doc fix.
10844
10845 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10846
10847 * desktop.el (desktop--select-frame):
10848 Try harder to reuse existing frames.
10849
10850 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10853 (edebug-eval): Use backtrace-eval.
10854 (edebug--display, edebug--recursive-edit): Don't let-bind the
10855 edebug-outer-* vars that keep track of variables we locally let-bind.
10856 (edebug-outside-excursion): Don't restore outside values of locally
10857 let-bound vars.
10858 (edebug--display): Use user-error.
10859 (cl-lexical-debug, cl-debug-env): Remove.
10860
10861 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10862
10863 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10864 are restored to be sure that they are visible before deleting any
10865 remaining ones.
10866
10867 2013-07-26 Matthias Meulien <orontee@gmail.com>
10868
10869 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10870 vc-print-root-log. (Bug#14948)
10871
10872 2013-07-26 Richard Stallman <rms@gnu.org>
10873
10874 Add aliases for encrypting mail.
10875 * epa.el (epa-mail-aliases): New option.
10876 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10877 Bind inhibit-read-only so read-only text doesn't ruin everything.
10878 (epa-mail-default-recipients): New subroutine broken out.
10879 Handle epa-mail-aliases.
10880
10881 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10882
10883 Add support for lexical variables to the debugger's `e' command.
10884 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10885 vars, except for debugger-outer-match-data.
10886 (debugger-frame-number): Move check for "on a function call" from
10887 callers into it. Add `skip-base' argument.
10888 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10889 (debugger-env-macro): Only reset the state stored in non-variables,
10890 i.e. current-buffer and match-data.
10891 (debugger-eval-expression): Rewrite using backtrace-eval.
10892 * subr.el (internal--called-interactively-p--get-frame): Remove.
10893 (called-interactively-p):
10894 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10895 `base' arg of backtrace-frame instead.
10896
10897 2013-07-26 Glenn Morris <rgm@gnu.org>
10898
10899 * align.el (align-regexp): Doc fix. (Bug#14857)
10900 (align-region): Explicit error if subexpression missing/does not match.
10901
10902 * simple.el (global-visual-line-mode):
10903 Do not duplicate the mode lighter. (Bug#14858)
10904
10905 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10906
10907 * window.el (display-buffer): In display-buffer bind
10908 split-window-keep-point to t, bug#14829.
10909
10910 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10911
10912 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10913 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10914 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10915 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10916 Change accordingly.
10917 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10918 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10919
10920 2013-07-25 Glenn Morris <rgm@gnu.org>
10921
10922 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10923
10924 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10925
10926 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10927 parameter to modify-frame-parameters if the value has not changed;
10928 this is a workaround for bug#14949.
10929 (desktop--make-frame): On cl-delete-if call, check parameter name,
10930 not full parameter.
10931
10932 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10933
10934 * vc/vc.el (vc-ignore): New function.
10935
10936 * vc/vc-svn.el (vc-svn-ignore): New function.
10937
10938 * vc/vc-hg.el (vc-hg-ignore): New function.
10939
10940 * vc/vc-git.el (vc-git-ignore): New function.
10941
10942 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10943 (vc-dir-ignore): New function.
10944
10945 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10946 (cvs-append-to-ignore): Move here from pcvs.el.
10947
10948 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10949
10950 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10951
10952 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10953
10954 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10955 (desktop-restore-frames): Warn when deleting an existing frame failed.
10956
10957 2013-07-24 Glenn Morris <rgm@gnu.org>
10958
10959 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10960
10961 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10962
10963 * filenotify.el (file-notify-supported-p):
10964 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10965 Remove functions.
10966
10967 * autorevert.el (auto-revert-use-notify)
10968 (auto-revert-notify-add-watch):
10969 * net/tramp.el (tramp-file-name-for-operation):
10970 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10971 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10972 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10973 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10974 Remove `file-notify-supported-p' entry.
10975
10976 2013-07-24 Glenn Morris <rgm@gnu.org>
10977
10978 * printing.el: Replace all uses of deleted ps-windows-system,
10979 ps-lp-system, ps-flatten-list with lpr- versions.
10980
10981 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10982
10983 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10984 checked with memq (bug#14935).
10985
10986 * files.el (revert-buffer-function): Use a non-nil default.
10987 (revert-buffer-preserve-modes): Declare var to
10988 provide access to the `preserve-modes' argument.
10989 (revert-buffer): Let-bind it.
10990 (revert-buffer--default): New function, extracted from revert-buffer.
10991
10992 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10993
10994 * lpr.el: Signal print errors more prominently.
10995 (print-region-function): Don't default to nil.
10996 (lpr-print-region): New function, extracted from print-region-1.
10997 Check lpr's return value and signal an error in case of problem.
10998 (print-region-1): Use it.
10999 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11000 versions instead.
11001 (ps-printer-name): Default to nil.
11002 (ps-printer-name-option): Default to lpr-printer-switch.
11003 (ps-print-region-function): Don't default to nil.
11004 (ps-postscript-code-directory): Simplify default.
11005 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11006 (ps-string-list, ps-eval-switch, ps-flatten-list)
11007 (ps-flatten-list-1): Remove.
11008 (ps-multibyte-buffer): Avoid setq.
11009 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11010 (print-region-function, ps-print-region-function): Don't set them here.
11011
11012 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11013
11014 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11015 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11016 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11017 (ido-decorations): Doc fix.
11018
11019 * ansi-color.el: Fix old URL.
11020
11021 2013-07-23 Michael R. Mauger <michael@mauger.com>
11022
11023 * progmodes/sql.el: Version 3.3
11024 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11025 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11026 (sql-interactive-remove-continuation-prompt): Rewrite, use
11027 functions above. Fix continuation prompt and complete output line
11028 handling.
11029 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11030 redirected output buffer.
11031 (sql-mode): Restore deleted code (Bug#13591).
11032
11033 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11034
11035 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11036
11037 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11038
11039 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11040
11041 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11042 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11043 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11044
11045 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11046
11047 * desktop.el (desktop-clear): Simplify; remove useless checks
11048 against invalid buffer names.
11049 (desktop-list*): Use cl-list*.
11050 (desktop-buffer-info, desktop-create-buffer): Simplify.
11051
11052 2013-07-23 Leo Liu <sdl.web@gmail.com>
11053
11054 * bookmark.el (bookmark-make-record): Restore NAME as a default
11055 value. (Bug#14933)
11056
11057 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11060 extracted from autoload--insert-text.
11061 (autoload--insert-text): Remove.
11062 (autoload--print-cookie-text): New function, extracted from
11063 autoload--insert-cookie-text.
11064 (autoload--insert-cookie-text): Remove.
11065 (autoload-generate-file-autoloads): Adjust calls accordingly.
11066
11067 * winner.el (winner-hook-installed-p): Remove.
11068 (winner-mode): Simplify accordingly.
11069
11070 * subr.el (add-to-list): Fix compiler-macro when `append' is
11071 not constant. Don't use `cl-member' for the base case.
11072
11073 * progmodes/subword.el: Fix boundary case (bug#13758).
11074 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11075 own group.
11076 (subword-backward-regexp): Make it a constant.
11077 (subword-forward-internal): Don't treat a trailing capital as the
11078 beginning of a word.
11079
11080 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11081
11082 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11083 global value of tabulated-list-revert-hook (bug#14930).
11084
11085 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11086
11087 * desktop.el: Require 'cl-lib.
11088 (desktop-before-saving-frames-functions): New hook.
11089 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11090 for frames being saved. Rename from desktop--save-minibuffer-frames.
11091 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11092 Do not save frames with non-nil `desktop-dont-save' parameter.
11093 Filter out deleted frames.
11094 (desktop--find-frame): Use cl-find-if.
11095 (desktop--select-frame): Use cl-(first|second|third) to access values
11096 of desktop-mini.
11097 (desktop--make-frame): Use cl-delete-if.
11098 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11099 (desktop-restore-frames): Use cl-(first|second|third) to access values
11100 of desktop-mini. Look for visible frame at the end, not while
11101 restoring frames.
11102
11103 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11104 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11105 Use string-match-p, looking-at-p (bug#14927).
11106
11107 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11108
11109 * desktop.el (desktop-saved-frame-states):
11110 Rename from desktop--saved-states; all users changed.
11111 (desktop-save-frames): Rename from desktop--save-frames.
11112 Do not save state to desktop file.
11113 (desktop-save): Save desktop-saved-frame-states to desktop file
11114 and reset to nil.
11115 (desktop-restoring-frames-p): New function.
11116 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11117 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11118 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11119
11120 * desktop.el: Correctly restore iconified frames.
11121 (desktop--filter-iconified-position): New function.
11122 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11123
11124 2013-07-20 Glenn Morris <rgm@gnu.org>
11125
11126 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11127 Let `message' do the formatting.
11128 (def-gdb-preempt-display-buffer): Add explicit format.
11129
11130 * image-dired.el (image-dired-track-original-file):
11131 Use with-current-buffer.
11132 (image-dired-track-thumbnail): Use with-current-buffer.
11133 Avoid changing point of wrong window.
11134
11135 * image-dired.el (image-dired-track-original-file):
11136 Avoid changing point of wrong window. (Bug#14909)
11137
11138 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11139
11140 * progmodes/gdb-mi.el (gdb-done-or-error):
11141 Guard against "%" in gdb output. (Bug#14127)
11142
11143 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11144
11145 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11146 (Bug#14826)
11147
11148 * international/mule.el (coding-system-iso-2022-flags): Fix last
11149 change.
11150
11151 2013-07-20 Kenichi Handa <handa@gnu.org>
11152
11153 * international/mule.el (coding-system-iso-2022-flags):
11154 Add `8-bit-level-4'. (Bug#8522)
11155
11156 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11157
11158 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11159 (bug#14815).
11160
11161 * net/eww.el (eww-process-text-input): Allow inputting when the
11162 point is at the start of the line, as the properties aren't
11163 front-sticky.
11164
11165 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11166 degenerate widths.
11167
11168 2013-07-19 Richard Stallman <rms@gnu.org>
11169
11170 * epa.el (epa-popup-info-window): Doc fix.
11171
11172 * subr.el (split-string): New arg TRIM.
11173
11174 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11175
11176 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11177 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11178
11179 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11180
11181 * filenotify.el (file-notify--library): Rename from
11182 `file-notify-support'. Do not autoload. Adapt all uses.
11183 (file-notify-supported-p): New defun.
11184
11185 * autorevert.el (auto-revert-use-notify):
11186 Use `file-notify-supported-p' instead of `file-notify-support'.
11187 Adapt docstring.
11188 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11189
11190 * net/tramp.el (tramp-file-name-for-operation):
11191 Add `file-notify-supported-p'.
11192
11193 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11194 New defun.
11195 (tramp-sh-file-name-handler-alist): Add it as handler for
11196 `file-notify-supported-p '.
11197
11198 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11199 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11200 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11201 Add `ignore' as handler for `file-notify-*' functions.
11202
11203 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11204
11205 * simple.el (line-move-partial, line-move): Don't start vscroll or
11206 scroll-up if the current line is not taller than the window.
11207 (Bug#14881)
11208
11209 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11210
11211 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11212 highlight question marks in the method names as strings.
11213 (ruby-block-beg-keywords): Inline.
11214 (ruby-font-lock-keyword-beg-re): Extract from
11215 `ruby-font-lock-keywords'.
11216
11217 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11218
11219 * frame.el (blink-cursor-blinks): New defcustom.
11220 (blink-cursor-blinks-done): New defvar.
11221 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11222 (blink-cursor-timer-function): Check if number of blinks has been
11223 done on X and NS.
11224 (blink-cursor-suspend, blink-cursor-check): New defuns.
11225
11226 2013-07-15 Glenn Morris <rgm@gnu.org>
11227
11228 * edmacro.el (edmacro-format-keys): Fix previous change.
11229
11230 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11231
11232 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11233 The hack didn't work outside English locales anyway.
11234
11235 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11236
11237 * simple.el (define-alternatives): Rename from alternatives-define,
11238 per RMS' suggestion.
11239
11240 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11241
11242 * desktop.el (desktop-restore-frames): Change default to t.
11243 (desktop-restore-in-current-display): Now offer more options.
11244 (desktop-restoring-reuses-frames): New customization option.
11245 (desktop--saved-states): Doc fix.
11246 (desktop-filter-parameters-alist): New variable, renamed and expanded
11247 from desktop--excluded-frame-parameters.
11248 (desktop--target-display): New variable.
11249 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11250 (desktop--filter-tty*, desktop--filter-*-color)
11251 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11252 (desktop--filter-save-desktop-parm)
11253 (desktop-restore-in-original-display-p): New functions.
11254 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11255 (desktop--save-minibuffer-frames): New function, inspired by a similar
11256 function from Martin Rudalics.
11257 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11258 (desktop--restore-in-this-display-p): Remove.
11259 (desktop--find-frame): Rename from desktop--find-frame-in-display
11260 and add predicate argument.
11261 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11262 (desktop--reuse-list): New variable.
11263 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11264 New functions.
11265 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11266
11267 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11268
11269 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11270
11271 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11272
11273 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11274 Highlight conversion methods on Kernel.
11275
11276 2013-07-13 Alan Mackenzie <acm@muc.de>
11277
11278 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11279 and comment it out. This out-commenting enables certain C++
11280 declarations to be parsed correctly.
11281
11282 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11283
11284 * international/mule.el (define-coding-system): Doc fix.
11285
11286 * simple.el (default-font-height): Don't call font-info if the
11287 frame's default font didn't change since the frame was created.
11288 (Bug#14838)
11289
11290 2013-07-13 Leo Liu <sdl.web@gmail.com>
11291
11292 * ido.el (ido-read-file-name): Guard against non-symbol value.
11293
11294 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11295
11296 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11297 in nested defuns.
11298
11299 2013-07-13 Leo Liu <sdl.web@gmail.com>
11300
11301 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11302 ido-set-matches call. (Bug#6852)
11303
11304 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11305
11306 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11307 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11308 Ruby 2.0.
11309 (ruby-font-lock-keywords): Distinguish calls to functions with
11310 module-like names from module references. Highlight character
11311 literals.
11312
11313 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11314
11315 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11316 (gdb-send): Handle continued commands. (Bug#14847)
11317
11318 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11319
11320 * desktop.el (desktop--v2s): Remove unused local variable.
11321 (desktop-save-buffer): Make defvar-local; adjust docstring.
11322 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11323 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11324
11325 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11326
11327 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11328
11329 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11330
11331 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11332 (Bug#14842)
11333
11334 2013-07-12 Glenn Morris <rgm@gnu.org>
11335
11336 * doc-view.el: Require cl-lib at runtime too.
11337 (doc-view-remove-if): Remove.
11338 (doc-view-search-next-match, doc-view-search-previous-match):
11339 Use cl-remove-if.
11340
11341 * edmacro.el: Require cl-lib at runtime too.
11342 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11343 (edmacro-mismatch, edmacro-subseq): Remove.
11344
11345 * shadowfile.el: Require cl-lib.
11346 (shadow-remove-if): Remove.
11347 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11348 Use cl-remove-if.
11349
11350 * wid-edit.el: Require cl-lib.
11351 (widget-choose): Use cl-remove-if.
11352 (widget-remove-if): Remove.
11353
11354 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11355 (ebrowse-delete-if-not): Remove.
11356 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11357 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11358 Use cl-delete-if-not.
11359
11360 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11361
11362 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11363 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11364
11365 2013-07-12 Leo Liu <sdl.web@gmail.com>
11366
11367 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11368
11369 2013-07-11 Glenn Morris <rgm@gnu.org>
11370
11371 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11372 (edebug-gensym-index, edebug-gensym):
11373 Remove reimplementation of cl-gensym.
11374 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11375
11376 * thumbs.el: Require cl-lib at run-time too.
11377 (thumbs-gensym-counter, thumbs-gensym):
11378 Remove reimplementation of cl-gensym.
11379 (thumbs-temp-file): Use cl-gensym.
11380
11381 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11382 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11383 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11384 (ert--union, ert--gensym-counter, ert--gensym-counter)
11385 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11386 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11387 (ert-make-test-unbound, ert--expand-should-1)
11388 (ert--expand-should, ert--should-error-handle-error)
11389 (should-error, ert--explain-equal-rec)
11390 (ert--plist-difference-explanation, ert-select-tests)
11391 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11392 Use cl-lib functions rather than reimplementations.
11393
11394 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11395
11396 * net/tramp.el (tramp-methods): Extend docstring.
11397 (tramp-connection-timeout): New defcustom.
11398 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11399 (with-tramp-progress-reporter): Simplify.
11400 (tramp-process-actions): Improve messages.
11401
11402 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11403 * net/tramp-sh.el (tramp-maybe-open-connection):
11404 Use `tramp-connection-timeout'.
11405 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11406 (Bug#14808)
11407
11408 2013-07-11 Leo Liu <sdl.web@gmail.com>
11409
11410 * ido.el (ido-read-file-name): Conform to the requirements of
11411 read-file-name. (Bug#11861)
11412 (ido-read-directory-name): Conform to the requirements of
11413 read-directory-name.
11414
11415 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11416
11417 * subr.el (delay-warning): New function.
11418
11419 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11420
11421 * simple.el (default-line-height): New function.
11422 (line-move-partial, line-move): Use it instead of computing the
11423 line height inline.
11424 (line-move-partial): Always compute ROWH. If the last line is
11425 partially-visible, but its text is completely visible, allow
11426 cursor to enter such a partially-visible line.
11427
11428 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11429
11430 Improve error messages. (Bug#14808)
11431
11432 * net/tramp.el (tramp-current-connection): New defvar, moved from
11433 tramp-sh.el.
11434 (tramp-message-show-progress-reporter-message): Remove, not
11435 needed anymore.
11436 (tramp-error-with-buffer): Show message in minibuffer.
11437 Discard input before waiting. Reset connection timestamp.
11438 (with-tramp-progress-reporter): Improve messages.
11439 (tramp-process-actions): Use progress reporter. Delete process in
11440 case of error. Improve messages.
11441
11442 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11443 Call `tramp-error-with-buffer' with vector and buffer.
11444 (tramp-current-connection): Remove.
11445 (tramp-maybe-open-connection): The car of
11446 `tramp-current-connection' are the first 3 slots of the vector.
11447
11448 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11449
11450 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11451 inside continued strings.
11452
11453 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11454
11455 Timestamp fixes for undo (Bug#14824).
11456 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11457
11458 2013-07-10 Leo Liu <sdl.web@gmail.com>
11459
11460 * files.el (require-final-newline): Allow safe local value.
11461 (Bug#14834)
11462
11463 2013-07-09 Leo Liu <sdl.web@gmail.com>
11464
11465 * ido.el (ido-read-directory-name): Handle fallback.
11466 (ido-read-file-name): Update DIR to ido-current-directory.
11467 (Bug#1516)
11468 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11469
11470 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11471
11472 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11473 "autoload". Remove "warn lower camel case" section, previously
11474 commented out. Highlight negation char. Do not highlight the
11475 target in singleton method definitions.
11476
11477 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * faces.el (tty-setup-hook): Declare the hook.
11480
11481 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11482 and detect when a guard/pred depends on local vars (bug#14773).
11483 (pcase--u1): Adjust caller.
11484
11485 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11486
11487 * simple.el (line-move-partial, line-move): Account for
11488 line-spacing.
11489 (line-move-partial): Avoid setting vscroll when the last
11490 partially-visible line in window is of default height.
11491
11492 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11493
11494 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11495 been used a while.
11496
11497 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11498
11499 * subr.el (read-quoted-char): Remove unused local variable `char'.
11500
11501 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11502
11503 * ediff.el (ediff-version): Version update.
11504 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11505 (ediff-merge-with-ancestor-command, ediff-directories-command)
11506 (ediff-directories3-command, ediff-merge-directories-command)
11507 (ediff-merge-directories-with-ancestor-command): New functions.
11508 All are command-line interfaces to ediff: to facilitate calling
11509 Emacs with the appropriate ediff functions invoked.
11510
11511 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11512 (viper-save-kill-buffer): Check if buffer is modified.
11513
11514 * viper.el (viper-version): Version update.
11515 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11516
11517 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11518
11519 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11520 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11521 (viper-intercept-ESC-key): Simplify.
11522 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11523 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11524 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11525 (viper-setup-ESC-to-escape): New functions.
11526 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11527 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11528
11529 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11530
11531 * simple.el (default-font-height, window-screen-lines):
11532 New functions.
11533 (line-move, line-move-partial): Use them instead of
11534 frame-char-height and window-text-height. This makes scrolling
11535 text smoother when the buffer's default face uses a font that is
11536 different from the frame's default font.
11537
11538 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11539
11540 * files.el (write-file): Do not display confirm dialog for NS,
11541 it does its own dialog, which can't be canceled (Bug#14578).
11542
11543 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11544
11545 * simple.el (line-move-partial): Adjust the row returned by
11546 posn-at-point for the current window-vscroll. (Bug#14567)
11547
11548 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11549
11550 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11551 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11552 spaces.
11553
11554 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11555
11556 * window.el (window-state-put-stale-windows): New variable.
11557 (window--state-put-2): Save list of windows without matching buffer.
11558 (window-state-put): Remove "bufferless" windows if possible.
11559
11560 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11561
11562 * simple.el (alternatives-define): Remove leftover :group keyword.
11563 Tweak docstring.
11564
11565 2013-07-06 Leo Liu <sdl.web@gmail.com>
11566
11567 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11568 (ido-enable-virtual-buffers): New variable.
11569 (ido-buffer-internal, ido-toggle-virtual-buffers)
11570 (ido-make-buffer-list): Use it.
11571 (ido-exhibit): Support turning on and off virtual buffers
11572 automatically.
11573
11574 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11575
11576 * simple.el (alternatives-define): New macro.
11577
11578 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 * subr.el (read-quoted-char): Use read-key.
11581 (sit-for): Let read-event decode tty input (bug#14782).
11582
11583 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11584
11585 * calendar/todo-mode.el: Add handling of file deletion, both by
11586 mode command and externally. Fix various related bugs.
11587 Clarify Commentary and improve some documentation strings and code.
11588 (todo-delete-file): New command.
11589 (todo-check-file): New function.
11590 (todo-show): Handle external deletion of the file we're trying to
11591 show (bug#14688). Replace called-interactively-p by an optional
11592 prefix argument to avoid problematic interaction with catch form
11593 when byte compiled (bug#14702).
11594 (todo-quit): Handle external deletion of the archive's todo file.
11595 Make sure the buffer that was visiting the archive file is still
11596 live before trying to bury it.
11597 (todo-category-completions): Handle external deletion of any
11598 category completion files.
11599 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11600 of todo files, in case of external deletion.
11601 (todo-add-file): Replace unnecessary setq by let-binding.
11602 (todo-find-archive): Check whether there are any archives.
11603 Replace unnecessary setq by let-binding.
11604 (todo-archive-done-item): Use find-file-noselect to get the
11605 archive buffer whether or not the archive already exists.
11606 Remove superfluous code. Use file size instead of buffer-file-name to
11607 check if the archive is new; if it is, update list of archives.
11608 (todo-default-todo-file): Allow nil to be a valid value for when
11609 there are no todo files.
11610 (todo-reevaluate-default-file-defcustom): Use corrected definition
11611 of todo-default-todo-file.
11612 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11613 (todo-delete-category, todo-show-categories-table)
11614 (todo-category-number): Clarify comment.
11615 (todo-filter-items): Clarify documentation string.
11616 (todo-show-current-file, todo-display-as-todo-file)
11617 (todo-reset-and-enable-done-separator): Tweak documentation string.
11618 (todo-done-separator): Make separator length window-width, since
11619 bug#2749 is now fixed.
11620
11621 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11622
11623 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11624 Support both "gvfs-monitor-dir" and "inotifywait".
11625 (tramp-sh-file-inotifywait-process-filter): Rename from
11626 `tramp-sh-file-notify-process-filter'.
11627 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11628 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11629
11630 2013-07-05 Leo Liu <sdl.web@gmail.com>
11631
11632 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11633
11634 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11635
11636 * frame.el (display-pixel-height, display-pixel-width)
11637 (display-mm-height, display-mm-width): Mention behavior on
11638 multi-monitor setups in docstrings.
11639 (w32-display-monitor-attributes-list): Declare function.
11640 (display-monitor-attributes-list): Use it.
11641
11642 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11643
11644 * filenotify.el: New package.
11645
11646 * autorevert.el (top): Require filenotify.el.
11647 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11648 instead.
11649 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11650 (auto-revert-notify-handler): Use `file-notify-*' functions.
11651
11652 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11653
11654 * net/tramp.el (tramp-file-name-for-operation):
11655 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11656
11657 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11658 for `file-notify-add-watch' and `file-notify-rm-watch'.
11659 (tramp-process-sentinel): Improve trace.
11660 (tramp-sh-handle-file-notify-add-watch)
11661 (tramp-sh-file-notify-process-filter)
11662 (tramp-sh-handle-file-notify-rm-watch)
11663 (tramp-get-remote-inotifywait): New defuns.
11664
11665 2013-07-03 Juri Linkov <juri@jurta.org>
11666
11667 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11668 call of `occur-read-primary-args' to interactive spec.
11669
11670 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11671 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11672
11673 2013-07-03 Matthias Meulien <orontee@gmail.com>
11674
11675 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11676 `Buffer-menu-multi-occur'. Add it to the menu.
11677 (Buffer-menu-mode): Document it in docstring.
11678 (Buffer-menu-multi-occur): New command. (Bug#14673)
11679
11680 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11681
11682 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11683 keywords and built-ins.
11684
11685 2013-07-03 Glenn Morris <rgm@gnu.org>
11686
11687 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11688
11689 Make info-xref checks case-sensitive by default
11690 * info.el (Info-find-node, Info-find-in-tag-table)
11691 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11692 Add option for exact case matching of nodes.
11693 * info-xref.el (info-xref): New custom group.
11694 (info-xref-case-fold): New option.
11695 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11696
11697 2013-07-03 Leo Liu <sdl.web@gmail.com>
11698
11699 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11700
11701 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11702
11703 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11704 middle of block statement initially, lower the depth. Remove
11705 FIXME comment, not longer valid. Remove middle of block statement
11706 detection, no need to do that anymore since we've been using
11707 `ruby-parse-region' here.
11708
11709 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11710
11711 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11712
11713 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11714
11715 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11716
11717 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11718
11719 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11720 (desktop-restore-in-current-display): New customization option.
11721 (desktop--excluded-frame-parameters): Add `font'.
11722 (desktop--save-frames): Rename from desktop--save-windows.
11723 (desktop--restore-in-this-display-p): New function.
11724 (desktop--make-full-frame): Remove unwanted width/height from
11725 full(width|height) frames.
11726 (desktop--restore-frames): Rename from desktop--restore-windows.
11727 Obey desktop-restore-current-display. Do not delete old frames or
11728 select a new frame unless we were able to restore at least one frame.
11729
11730 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11731
11732 * files.el (find-file-noselect): Simplify conditional expression.
11733
11734 * textmodes/remember.el (remember-append-to-file):
11735 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11736
11737 Add `remember-notes' function to store random notes across Emacs
11738 restarts.
11739 * textmodes/remember.el (remember-data-file): Add :set callback to
11740 affect notes buffer (if any).
11741 (remember-notes): New command.
11742 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11743 New defcustoms for the `remember-notes' function.
11744 (remember-notes-save-and-bury-buffer): New command.
11745 (remember-notes-mode-map): New variable.
11746 (remember-mode): New minor mode.
11747 (remember-notes--kill-buffer-query): New function.
11748 * startup.el (initial-buffer-choice): Add notes to custom type.
11749
11750 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11751
11752 * bindings.el (right-char, left-char): Don't call sit-for, this is
11753 no longer needed. Use arithmetic comparison only for numerical
11754 arguments.
11755
11756 * international/mule-cmds.el (select-safe-coding-system):
11757 Handle the case of FROM being a string correctly. (Bug#14755)
11758
11759 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11760
11761 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11762 progression on degenerate tables.
11763 (shr-rescale-image): ImageMagick animated images currently don't work.
11764
11765 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11766
11767 Some fixes and improvements for desktop frame restoration.
11768 It is still experimental and disabled by default.
11769 * desktop.el (desktop--save-windows): Put the selected frame at
11770 the head of the list.
11771 (desktop--make-full-frame): New function.
11772 (desktop--restore-windows): Try to re-select the frame that was
11773 selected upon saving. Do not abort if some frames fail to restore,
11774 just show an error message and continue. Set up maximized frames
11775 so they have default non-maximized dimensions.
11776
11777 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11778
11779 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11780 Don't start heredoc inside a string or comment.
11781
11782 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11783
11784 * bindings.el (visual-order-cursor-movement): New defcustom.
11785 (right-char, left-char): Provide visual-order cursor motion by
11786 calling move-point-visually. Update the doc strings.
11787
11788 2013-06-28 Kenichi Handa <handa@gnu.org>
11789
11790 * international/mule.el (define-coding-system): New coding system
11791 properties :inhibit-null-byte-detection,
11792 :inhibit-iso-escape-detection, and :prefer-utf-8.
11793 (set-buffer-file-coding-system): If :charset-list property of
11794 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11795 appropriate for setting.
11796
11797 * international/mule-cmds.el (select-safe-coding-system):
11798 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11799 multibyte characters, return utf-8 (or one of its siblings).
11800
11801 * international/mule-conf.el (prefer-utf-8): New coding system.
11802 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11803 files.
11804
11805 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11806
11807 * net/shr.el (shr-render-region): New function.
11808
11809 * net/eww.el: Autoload `eww-browse-url'.
11810
11811 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11812
11813 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11814 Adapt to `package-desc-version' being a list.
11815 Use `package--ac-desc-version' to retrieve version from a package
11816 archive element.
11817
11818 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11819
11820 New experimental feature to save&restore window and frame setup.
11821 * desktop.el (desktop-save-windows): New defcustom.
11822 (desktop--saved-states): New var.
11823 (desktop--excluded-frame-parameters): New defconst.
11824 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11825 (desktop--restore-windows, desktop--save-windows): New functions.
11826 (desktop-save): Call `desktop--save-windows'.
11827 (desktop-read): Call `desktop--restore-windows'.
11828
11829 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11830
11831 * net/shr.el (add-face-text-property): Remove compat definition.
11832
11833 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11834
11835 * info.el (Info-try-follow-nearest-node): Move search for footnote
11836 above search for node name to prevent missing a footnote (bug#14717).
11837
11838 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11839
11840 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11841
11842 2013-06-27 Leo Liu <sdl.web@gmail.com>
11843
11844 * net/eww.el (eww-read-bookmarks): Check file size.
11845
11846 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11847
11848 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11849 advice--pending if newdef is nil or an autoload (bug#13820).
11850 (advice-mapc): New function.
11851
11852 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11853
11854 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11855 probably.
11856 (eww-mode-map): Add a menu bar.
11857 (eww-add-bookmark): New command.
11858 (eww-bookmark-mode): New mode and commands.
11859 (eww-add-bookmark): Remove newlines from the title.
11860 (eww-bookmark-browse): Don't bug out if it's the only window.
11861
11862 2013-06-26 Glenn Morris <rgm@gnu.org>
11863
11864 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11865 (hfy-size): Handle ttys. (Bug#14668)
11866
11867 * info-xref.el: Update for Texinfo 5 change in *note format.
11868 (info-xref-node-re, info-xref-note-re): New constants.
11869 (info-xref-check-buffer): Use info-xref-note-re.
11870
11871 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11872
11873 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11874
11875 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11876 nil terminate the loop (bug#14718).
11877
11878 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11879
11880 * net/eww.el: Rework history traversal. When going forward/back,
11881 put these actions into the history, too, so that they can be
11882 replayed.
11883 (eww-render): Move the history reset to the correct buffer.
11884
11885 2013-06-25 Juri Linkov <juri@jurta.org>
11886
11887 * files-x.el (modify-dir-local-variable): Change the header comment
11888 in the file with directory local variables. (Bug#14692)
11889
11890 * files-x.el (read-file-local-variable-value): Add `default'.
11891 (Bug#14710)
11892
11893 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11894
11895 * net/eww.el (eww-make-unique-file-name): Create a unique file
11896 name before saving to entering `y' accidentally asynchronously.
11897
11898 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11899
11900 * net/eww.el (eww-download): New command and keystroke.
11901
11902 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11903
11904 * net/eww.el (eww-copy-page-url): Change name of command.
11905
11906 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11907 be more consistent with Info and dired.
11908
11909 * net/eww.el (eww-mode-map): Ditto.
11910
11911 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11912
11913 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11914 packages from archives.
11915 (package-archive-contents): Change format; include obsolete packages.
11916 (package-desc): Use `dir' to mark builtin packages.
11917 (package--from-builtin): Set the `dir' field to `builtin'.
11918 (generated-autoload-file, version-control): Declare.
11919 (package-compute-transaction): Change first arg and return value to be
11920 lists of package-descs. Adjust to new package-archive-contents format.
11921 (package--add-to-archive-contents): Adjust to new
11922 package-archive-contents format.
11923 (package-download-transaction): Arg is now a list of package-descs.
11924 (package-install): If `pkg' is a package name, pass it as
11925 a requirement, so it is subject to the usual (e.g. disabled) checks.
11926 (describe-package): Accept package-desc as well.
11927 (describe-package-1): Describe a specific package-desc. Add links to
11928 other package-descs for the same package name.
11929 (package-menu-describe-package): Pass the actual package-desc.
11930 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11931 works correctly.
11932 (package-desc-status): New function.
11933 (package-menu--refresh): New function, extracted
11934 from package-menu--generate.
11935 (package-menu--generate): Use it.
11936 (package-delete): Update package-alist.
11937 (package-menu-execute): Don't call package-initialize.
11938
11939 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11940 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11941 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11942 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11943 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11944 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11945
11946 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11947
11948 * window.el (window--state-get-1): Workaround for bug#14527.
11949 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11950
11951 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11952
11953 * net/eww.el (eww-back-url): Implement the history by stashing all
11954 the data into a list.
11955 (eww-forward-url): Allow going forward in the history, too.
11956
11957 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11958
11959 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11960 for values and use read--expression for expressions (bug#14710).
11961 (read-file-local-variable): Avoid setq.
11962 (read-file-local-variable-mode): Use minor-mode-list.
11963
11964 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11965
11966 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11967 for DOI URLs.
11968
11969 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11970
11971 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11972 Update imenu-support when dialect changes.
11973
11974 2013-06-25 Leo Liu <sdl.web@gmail.com>
11975
11976 * ido.el (ido-read-internal): Allow forward slash on windows.
11977
11978 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11979
11980 * net/eww.el (eww): Start of strings is \\`, not ^.
11981
11982 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11983
11984 * net/shr.el (shr-browse-url): Fix interactive spec.
11985
11986 * net/eww.el (eww): Add a trailing slash to domain names.
11987
11988 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11989
11990 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11991
11992 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11993
11994 * net/shr.el (shr-browse-url): Use an external browser if given a
11995 prefix.
11996
11997 * net/eww.el (eww-external-browser): Move to shr.
11998
11999 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12000
12001 * net/eww.el (eww): Work more correctly for file: URLs.
12002 (eww-detect-charset): Allow quoted charsets.
12003 (eww-yank-page-url): New command and keystroke.
12004
12005 2013-06-24 Daiki Ueno <ueno@gnu.org>
12006
12007 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12008 file name of gpg executable.
12009 (epg-context-program): New function.
12010 (epg-context-home-directory): New function.
12011 (epg-context-set-program): New function.
12012 (epg-context-set-home-directory): New function.
12013 (epg--start): Use `epg-context-program' instead of
12014 'epg-gpg-program'.
12015 (epg--list-keys-1): Likewise.
12016
12017 2013-06-24 Leo Liu <sdl.web@gmail.com>
12018
12019 * ido.el (ido-read-internal): Fix bug#14620.
12020
12021 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12022
12023 * faces.el (face-documentation): Simplify.
12024 (read-face-attribute, tty-find-type, x-resolve-font-name):
12025 Use `string-match-p'.
12026 (list-faces-display): Use `string-match-p'. Simplify.
12027 (face-spec-recalc): Check face to avoid face alias loops.
12028 (read-color): Use `string-match-p' and non-capturing parenthesis.
12029
12030 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12031
12032 * net/shr.el (shr-rescale-image): Use the new
12033 :max-width/:max-height functionality.
12034
12035 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12036
12037 * net/eww.el (eww-search-prefix): New variable.
12038 (eww): Use it.
12039 (eww-external-browser): New variable.
12040 (eww-mode-map): New keystroke.
12041 (eww-browse-with-external-browser): New command.
12042
12043 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12044
12045 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12046
12047 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12048 Don't skip aligning the next header field when padding is 0;
12049 otherwise, field width is not respected unless the title is as
12050 wide as the field.
12051
12052 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * emacs-lisp/package.el (package-el-version): Remove.
12055 (package-process-define-package): Fix inf-loop.
12056 (package-install): Allow symbols as arguments again.
12057
12058 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12059
12060 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12061 add some more keyword-like methods.
12062 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12063
12064 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12065
12066 * bs.el (bs-buffer-show-mark): Make defvar-local.
12067 (bs-mode): Use setq-local.
12068
12069 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12070 (emacs-lock--try-unlocking): Make defvar-local.
12071
12072 2013-06-22 Glenn Morris <rgm@gnu.org>
12073
12074 * play/cookie1.el (cookie-apropos): Minor simplification.
12075
12076 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12077
12078 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12079
12080 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12081 `regexp-opt', it breaks the build during dumping.
12082
12083 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12084
12085 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12086 Highlight keyword-like methods on Kernel and Module with
12087 font-lock-builtin-face.
12088 (auto-mode-alist): Consolidate different entries into one regexp
12089 and add more *file-s.
12090
12091 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12092
12093 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12094
12095 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12096 (diary-entry): Use it in the action of this button type instead of
12097 diary-goto-entry.
12098
12099 * calendar/todo-mode.el: New version.
12100 (todo-add-category): Append new category to end of file and give
12101 it the highest number, instead of putting it at the beginning and
12102 giving it 0. Incorporate noninteractive functionality.
12103 (todo-forward-category): Adapt to 1-based category numbering.
12104 Allow skipping over archived categories.
12105 (todo-backward-category): Derive from todo-forward-category.
12106 (todo-backward-item, todo-forward-item): Make noninteractive and
12107 delegate interactive part to new commands. Make sensitive to done items.
12108 (todo-categories): Make value an alist of category names and
12109 vectors of item counts.
12110 (todo-category-beg): Make a defconst.
12111 (todo-category-number): Use 1 instead of 0 as initial value.
12112 (todo-category-select): Make sensitive to overlays, optional item
12113 highlighting and done items.
12114 (todo-delete-item): Make sensitive to overlays and marked and done items.
12115 (todo-edit-item): Make sensitive to overlays and editing of
12116 date/time header optional. Add format checks.
12117 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12118 no-op if point is not on an item. Advertise using todo-edit-quit.
12119 (todo-edit-mode): Make sensitive to new format, font-locking, and
12120 multiple todo files.
12121 (todo-insert-item, todo-insert-item-here): Derive from
12122 todo-basic-insert-item and extend functionality.
12123 (todo-item-end, todo-item-start): Make sensitive to done items.
12124 (todo-item-string): Don't return text properties. Restore point.
12125 (todo-jump-to-category): Make sensitive to multiple todo files and
12126 todo archives. Use extended category completion.
12127 (todo-lower-item, todo-raise-item): Rename to *-priority and
12128 derive from todo-set-item-priority.
12129 (todo-mode): Derive from special-mode. Make sensitive to new
12130 format, font-locking and multiple todo files. Make read-only.
12131 (todo-mode-map): Don't suppress digit keys, so they can supply
12132 prefix arguments. Add many new key bindings.
12133 (todo-prefix): Insert as an overlay instead of file text.
12134 Change semantics from diary date expression to purely visual mark.
12135 (todo-print): Rename to todo-print-buffer. Make buffer display
12136 features printable. Remove option to restrict number of items
12137 printed. Add option to print to file.
12138 (todo-print-function): Rename to todo-print-buffer-function.
12139 (todo-quit): Extend to handle exiting new todo modes.
12140 (todo-remove-item): Make sensitive to overlays.
12141 (todo-save): Extend to buffers of filtered items.
12142 (todo-show): Make sensitive to done items, multiple todo files and
12143 new todo modes. Offer to convert legacy todo file before creating
12144 first new todo file.
12145 (todo-show-priorities): Rename to todo-top-priorities.
12146 Change semantics of value 0.
12147 (todo-top-priorities): Rename to todo-filter-top-priorities,
12148 derive from todo-filter-items and extend functionality.
12149 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12150 and extend functionality to other types of filtered items.
12151 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12152 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12153 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12154 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12155 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12156 (todo-edit-mode-hook, todo-entry-prefix-function)
12157 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12158 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12159 (todo-initials, todo-insert-threshold, todo-item-string-start)
12160 (todo-line-string, todo-menu, todo-mode-hook)
12161 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12162 (todo-print-priorities, todo-remove-separator)
12163 (todo-save-top-priorities-too, todo-string-count-lines)
12164 (todo-string-multiline-p, todo-time-string-format)
12165 (todo-tmp-buffer-name): Remove.
12166 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12167 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12168 (todo-edit-category-diary-inclusion)
12169 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12170 (todo-edit-file, todo-edit-item-date-day)
12171 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12172 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12173 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12174 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12175 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12176 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12177 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12178 (todo-filter-top-priorities-multifile, todo-find-archive)
12179 (todo-find-filtered-items-file, todo-go-to-source-item)
12180 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12181 (todo-jump-to-archive-category, todo-lower-category)
12182 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12183 (todo-move-category, todo-move-item, todo-next-button)
12184 (todo-next-item, todo-padded-string, todo-powerset)
12185 (todo-previous-button, todo-previous-item)
12186 (todo-print-buffer-to-file, todo-raise-category)
12187 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12188 (todo-set-category-number, todo-set-item-priority)
12189 (todo-set-top-priorities-in-category)
12190 (todo-set-top-priorities-in-file, todo-show-categories-table)
12191 (todo-sort-categories-alphabetically-or-numerically)
12192 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12193 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12194 (todo-toggle-item-header, todo-toggle-item-highlighting)
12195 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12196 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12197 (todo-unarchive-items, todo-unmark-category): New commands.
12198 (todo-absolute-file-name, todo-add-to-buffer-list)
12199 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12200 (todo-basic-insert-item, todo-category-completions)
12201 (todo-category-number, todo-category-string-matcher-1)
12202 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12203 (todo-check-format, todo-clear-matches)
12204 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12205 (todo-current-category, todo-date-string-matcher)
12206 (todo-define-insertion-command, todo-diary-expired-matcher)
12207 (todo-diary-goto-entry, todo-diary-item-p)
12208 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12209 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12210 (todo-done-item-section-p, todo-done-separator)
12211 (todo-done-string-matcher, todo-files, todo-filter-items)
12212 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12213 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12214 (todo-insert-category-line, todo-insert-item-from-calendar)
12215 (todo-insert-sort-button, todo-insert-with-overlays)
12216 (todo-insertion-command-name, todo-insertion-key-bindings)
12217 (todo-label-to-key, todo-longest-category-name-length)
12218 (todo-make-categories-list, todo-mode-external-set)
12219 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12220 (todo-modes-set-3, todo-multiple-filter-files)
12221 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12222 (todo-read-category, todo-read-date, todo-read-dayname)
12223 (todo-read-file-name, todo-read-time)
12224 (todo-reevaluate-category-completions-files-defcustom)
12225 (todo-reevaluate-default-file-defcustom)
12226 (todo-reevaluate-filelist-defcustoms)
12227 (todo-reevaluate-filter-files-defcustom)
12228 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12229 (todo-reset-done-separator, todo-reset-done-separator-string)
12230 (todo-reset-done-string, todo-reset-global-current-todo-file)
12231 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12232 (todo-reset-prefix, todo-set-categories)
12233 (todo-set-date-from-calendar, todo-set-show-current-file)
12234 (todo-set-top-priorities, todo-short-file-name)
12235 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12236 (todo-total-item-counts, todo-update-buffer-list)
12237 (todo-update-categories-display, todo-update-categories-sexp)
12238 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12239 New functions.
12240 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12241 New major modes.
12242 (todo-categories, todo-display, todo-edit, todo-faces)
12243 (todo-filtered): New defgroups.
12244 (todo-archived-only, todo-button, todo-category-string, todo-date)
12245 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12246 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12247 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12248 (todo-add-item-if-new-category, todo-always-add-time-string)
12249 (todo-categories-align, todo-categories-archived-label)
12250 (todo-categories-category-label, todo-categories-diary-label)
12251 (todo-categories-done-label, todo-categories-number-separator)
12252 (todo-categories-todo-label, todo-categories-totals-label)
12253 (todo-category-completions-files, todo-completion-ignore-case)
12254 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12255 (todo-done-separator-string, todo-done-string)
12256 (todo-files-function, todo-filter-done-items, todo-filter-files)
12257 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12258 (todo-initial-category, todo-initial-file, todo-item-mark)
12259 (todo-legacy-date-time-regexp, todo-mode-line-function)
12260 (todo-nondiary-marker, todo-number-prefix)
12261 (todo-print-buffer-function, todo-show-current-file)
12262 (todo-show-done-only, todo-show-first, todo-show-with-done)
12263 (todo-skip-archived-categories, todo-top-priorities-overrides)
12264 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12265 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12266 New defcustoms.
12267 (todo-category-done, todo-date-pattern, todo-date-string-start)
12268 (todo-diary-items-buffer, todo-done-string-start)
12269 (todo-filtered-items-buffer, todo-item-start)
12270 (todo-month-abbrev-array, todo-month-name-array)
12271 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12272 (todo-top-priorities-buffer): New defconsts.
12273 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12274 (todo-categories-with-marks, todo-category-string-face)
12275 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12276 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12277 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12278 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12279 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12280 (todo-font-lock-keywords, todo-global-current-todo-file)
12281 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12282 (todo-insertion-commands-args)
12283 (todo-insertion-commands-args-genlist)
12284 (todo-insertion-commands-names, todo-insertion-map)
12285 (todo-key-bindings-t, todo-key-bindings-t+a)
12286 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12287 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12288 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12289 (todo-visited): New variables.
12290
12291 2013-06-21 Glenn Morris <rgm@gnu.org>
12292
12293 * play/cookie1.el (cookie-apropos): Add optional display argument.
12294 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12295 (psychoanalyze-pinhead): Use cookie-doctor.
12296
12297 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12298
12299 * emacs-lisp/package.el (tar-get-file-descriptor)
12300 (tar--extract): Declare.
12301
12302 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12303
12304 Extend flymake's warning predicate to be a function (bug#14217).
12305 * progmodes/flymake.el (flymake-warning-predicate): New.
12306 (flymake-parse-line): Use it.
12307 (flymake-warning-re): Make obsolete alias to
12308 `flymake-warning-predicate'.
12309
12310 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12311
12312 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12313 (package-obsolete-list): Remove.
12314 (package-activate): Remove min-version argument. Add `force' argument.
12315 Adjust to new package-alist format.
12316 (package-mark-obsolete): Remove.
12317 (package-unpack): Force reload of the package's autoloads.
12318 (package-installed-p): Check builtins if the installed package is not
12319 recent enough.
12320 (package-initialize): Don't reset package-obsolete-list.
12321 Don't specify which package version to activate.
12322 (package-process-define-package, describe-package-1)
12323 (package-menu--generate): Adjust to new package-alist format.
12324
12325 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12326
12327 * allout-widgets.el (allout-widgets-mode-off)
12328 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12329 (allout-widgets-post-command-business)
12330 (allout-widgets-after-copy-or-kill-function)
12331 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12332 (allout-decorate-item-and-context)
12333 (allout-graphics-modification-handler): Fix typos in docstrings.
12334 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12335
12336 * cmuscheme.el (scheme-start-file): Doc fix.
12337 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12338 (scheme-input-filter): Use `string-match-p'.
12339
12340 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12341
12342 * dired-x.el: Use Dired consistently in docstrings.
12343
12344 * dired.el: Use Dired consistently in docstrings.
12345 (dired-readin, dired-mode): Use `setq-local'.
12346 (dired-switches-alist): Make defvar-local.
12347 (dired-buffers-for-dir): Use `zerop'.
12348 (dired-safe-switches-p, dired-switches-escape-p)
12349 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12350 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12351 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12352 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12353 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12354 (dired-toggle-marks, dired-mark-files-containing-regexp)
12355 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12356 (dired-flag-auto-save-files, dired-flag-backup-files):
12357 Use `looking-at-p'.
12358 (dired-mark-files-regexp, dired-build-subdir-alist):
12359 Use `string-match-p', `looking-at-p'.
12360
12361 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12362 (direct-print-region-helper): Use `string-match-p'.
12363
12364 2013-06-21 Leo Liu <sdl.web@gmail.com>
12365
12366 * comint.el (comint-redirect-results-list-from-process):
12367 Fix infinite loop.
12368
12369 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12370
12371 * net/eww.el (eww-update-header-line-format): Quote % characters.
12372
12373 2013-06-21 Glenn Morris <rgm@gnu.org>
12374
12375 * play/cookie1.el (cookie): New custom group.
12376 (cookie-file): New option.
12377 (cookie-check-file): New function.
12378 (cookie): Make it interactive. Make start and end messages optional.
12379 Interactively, display the result. Default to cookie-file.
12380 (cookie-insert): Default to cookie-file.
12381 (cookie-snarf): Make start and end messages optional.
12382 Default to cookie-file. Use with-temp-buffer.
12383 (cookie-read): Rename from read-cookie.
12384 Make start and end messages optional. Default to cookie-file.
12385 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12386 Do not autoload it.
12387 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12388 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12389
12390 2013-06-21 Leo Liu <sdl.web@gmail.com>
12391
12392 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12393
12394 2013-06-21 Glenn Morris <rgm@gnu.org>
12395
12396 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12397
12398 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12399 Daniel Hackney <dan@haxney.org>
12400
12401 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12402 Consolidate the single-file vs tarball code.
12403 (package-desc-suffix): New function.
12404 (package-desc-full-name): Don't bother inlining it.
12405 (package-load-descriptor): Return the new package-desc.
12406 (package-mark-obsolete): Remove unused arg `package'.
12407 (package-unpack): Make it work for single files as well.
12408 Make it update package-alist.
12409 (package--make-autoloads-and-stuff): Rename from
12410 package--make-autoloads-and-compile. Don't compile any more.
12411 (package--compile): New function.
12412 (package-generate-description-file): New function, extracted from
12413 package-unpack-single.
12414 (package-unpack-single): Remove.
12415 (package--with-work-buffer): Add indentation and debugging info.
12416 (package-download-single): Remove.
12417 (package-install-from-archive): Rename from package-download-tar, make
12418 it take a pkg-desc, and make it work for single files as well.
12419 (package-download-transaction): Simplify.
12420 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12421 external tar program.
12422 (package-install-from-buffer): Remove `pkg-desc' argument.
12423 Use package-tar-file-info for tar-mode buffers.
12424 (package-install-file): Simplify accordingly.
12425 (package-archive-base): Change to take a pkg-desc.
12426 * tar-mode.el (tar--check-descriptor): New function, extracted from
12427 tar-get-descriptor.
12428 (tar-get-descriptor): Use it.
12429 (tar-get-file-descriptor): New function.
12430 (tar--extract): New function, extracted from tar-extract.
12431 (tar--extract): Use it.
12432 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12433 case the summary uses non-ascii. Adjust to new calling convention of
12434 package-tar-file-info.
12435
12436 2013-06-21 Leo Liu <sdl.web@gmail.com>
12437
12438 * comint.el (comint-redirect-results-list-from-process):
12439 Fix random delay. (Bug#14681)
12440
12441 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12442
12443 * profiler.el (profiler-format-number): Use log, not log10.
12444
12445 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12446
12447 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12448
12449 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12450
12451 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12452 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12453 yet available.
12454 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12455 (AUTOGENEL): ... here.
12456 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12457 (cl--defsubst-expand): Use it.
12458
12459 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12460
12461 * subr.el (log10): Move here from C code, and declare as obsolete.
12462 All uses of (log10 X) replaced with (log X 10).
12463
12464 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12465
12466 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12467 Declare with `defvar-local'.
12468 (tabulated-list-use-header-line, tabulated-list-entries)
12469 (tabulated-list-padding, tabulated-list-printer)
12470 (tabulated-list-sort-key): Declare with `defvar-local'.
12471 (tabulated-list-init-header, tabulated-list-print-fake-header):
12472 Use `setq-local'.
12473
12474 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12475
12476 * arc-mode.el (archive-mode): Add `archive-write-file' to
12477 `write-contents-functions' also for remote files. (Bug#14652)
12478
12479 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12480
12481 * cus-edit.el (custom-commands): Fix typos.
12482 (custom-display): Fix tooltip text.
12483 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12484 Fix typos in docstrings.
12485 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12486 (custom-unlispify-menu-entry, custom-magic-value-create)
12487 (custom-add-see-also, custom-group-value-create): Use ?\s.
12488 (custom-guess-type, customize-apropos, editable-field)
12489 (custom-face-value-create): Use `string-match-p'.
12490 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12491
12492 * custom.el (custom-load-symbol): Use `string-match-p'.
12493
12494 * ansi-color.el: Convert to lexical binding.
12495 (ansi-colors): Fix URL.
12496 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12497 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12498 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12499
12500 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12501
12502 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12503
12504 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12505
12506 2013-06-19 Tom Tromey <tromey@redhat.com>
12507
12508 * net/eww.el (eww-top-url): Remove.
12509 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12510 (eww-render): Set new variables. Don't set eww-top-url.
12511 (eww-handle-link): Handle "prev", "home", and "contents".
12512 Downcase the rel text.
12513 (eww-top-url): Choose best top URL.
12514
12515 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12516
12517 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12518 relying in widget.el. Using widget.el leads to too many
12519 user interface inconsistencies.
12520 (eww-self-insert): Implement entering commands in text fields.
12521 (eww-process-text-input): New function to make text input field editing
12522 work.
12523 (eww-submit): Rewrite to use the new-style form methods.
12524 (eww-select-display): Display the correct selected item.
12525 (eww-change-select): Implement changing the select value.
12526 (eww-toggle-checkbox): Implement radio/checkboxes.
12527 (eww-update-field): Fix compilation error.
12528 (eww-tag-textarea): Implement <textarea>.
12529
12530 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12531 we don't shadow mode-specific bindings.
12532
12533 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12534 nothing to push.
12535
12536 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12537
12538 2013-06-19 Glenn Morris <rgm@gnu.org>
12539
12540 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12541
12542 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12543
12544 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12545 not needed.
12546
12547 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12548
12549 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12550
12551 * net/browse-url.el (browse-url-browser-function):
12552 `eww-browse-url' has the right calling signature, `eww' does not.
12553
12554 2013-06-19 Glenn Morris <rgm@gnu.org>
12555
12556 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12557 Only eval autoloaded macros.
12558 (byte-compile-autoload): Only give the macro warning for macros.
12559
12560 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12561 (ps-underlined-faces): Declare.
12562
12563 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12564 (speedbar-add-supported-extension): Declare.
12565
12566 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12567 Don't include a date stamp in the header of the generated file;
12568 it leads to needless differences between output files.
12569
12570 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12571
12572 * net/secrets.el (secrets-struct-secret-content-type):
12573 Replace check of introspection data by a test call of "CreateItem".
12574 Some servers do not offer introspection.
12575
12576 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12577
12578 * electric.el (electric-pair-mode): Improve interaction with
12579 electric-layout-mode.
12580 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12581 (electric-pair-syntax): Use text-mode-syntax-table in comments
12582 and strings.
12583 (electric-pair--insert): New function.
12584 (electric-pair-post-self-insert-function): Use it and
12585 electric--after-char-pos.
12586
12587 2013-06-19 Leo Liu <sdl.web@gmail.com>
12588
12589 * progmodes/octave.el (octave-help): Fix regexp.
12590
12591 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12592
12593 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12594 (shr-table-horizontal-line): Allow nil as a value, and change the
12595 default.
12596 (shr-insert-table-ruler): Respect the nil value.
12597
12598 2013-06-18 Tom Tromey <tromey@barimba>
12599
12600 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12601 New defvars.
12602 (eww-open-file): New defun.
12603 (eww-render): Initialize new variables.
12604 (eww-display-html): Handle "link" and "a".
12605 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12606 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12607 (eww-back-url): Rename from eww-previous-url.
12608 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12609 New defuns.
12610
12611 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12612
12613 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12614 Distinguish ternary operator tokens from slash symbol and slash
12615 char literal.
12616
12617 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12618
12619 Convert symbol prettification into minor mode and global minor mode.
12620
12621 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12622 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12623 (prettify-symbols--keywords): Rename from
12624 `prog-prettify-symbols-alist' and make a local defvar.
12625 (prettify-symbols--compose-symbol): Rename from
12626 `prog--prettify-font-lock-compose-symbol'.
12627 (prettify-symbols--make-keywords): Rename from
12628 `prog-prettify-font-lock-symbols-keywords' and simplify.
12629 (prog-prettify-install): Remove.
12630 (prettify-symbols-mode): New minor mode, based on
12631 `prog-prettify-install'.
12632 (turn-on-prettify-symbols-mode): New function.
12633 (global-prettify-symbols-mode): New globalized minor mode.
12634
12635 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12636 * progmodes/cfengine.el (cfengine3-mode):
12637 * progmodes/perl-mode.el (perl-mode): Don't call
12638 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12639
12640 2013-06-18 Juri Linkov <juri@jurta.org>
12641
12642 * files-x.el (modify-file-local-variable-message): New function.
12643 (modify-file-local-variable)
12644 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12645 and call `modify-file-local-variable-message' when it's non-nil.
12646 (add-file-local-variable, delete-file-local-variable)
12647 (add-file-local-variable-prop-line)
12648 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12649 and use it. (Bug#9820)
12650
12651 2013-06-18 Juri Linkov <juri@jurta.org>
12652
12653 * emulation/vi.el (vi-shell-op):
12654 * emulation/vip.el (vip-execute-com, ex-command):
12655 * emulation/viper-cmd.el (viper-exec-bang):
12656 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12657 the call of `shell-command-on-region'. (Bug#14637)
12658
12659 * simple.el (shell-command-on-region): Doc fix.
12660
12661 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12662
12663 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12664 (bug#14633).
12665
12666 2013-06-18 Glenn Morris <rgm@gnu.org>
12667
12668 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12669
12670 * newcomment.el (comment-search-forward, comment-search-backward):
12671 Doc fix. (Bug#14376)
12672
12673 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12674
12675 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12676 (buffer-face-mode-invoke): Doc fix.
12677
12678 2013-06-18 Matthias Meulien <orontee@gmail.com>
12679
12680 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12681 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12682
12683 2013-06-18 Glenn Morris <rgm@gnu.org>
12684
12685 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12686 Replace obsolete function generic-make-keywords with its expansion.
12687
12688 * progmodes/python.el (ffap-alist): Declare.
12689
12690 * textmodes/reftex.el (bibtex-mode-map): Declare.
12691
12692 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12693
12694 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12695 (package-unpack, package-unpack-single): Return the pkg-dir.
12696 (package-download-transaction): Use it to update package-alist.
12697
12698 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12699
12700 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12701 possible choice.
12702
12703 2013-06-17 Juri Linkov <juri@jurta.org>
12704
12705 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12706
12707 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12708
12709 * emacs-lisp/package.el (package-load-descriptor):
12710 Remove `with-syntax-table' call, `read' doesn't need it.
12711 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12712
12713 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12714
12715 * startup.el (command-line): Expand package name returned by
12716 `package--description-file' (bug#14639).
12717
12718 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12719
12720 * emacs-lisp/package.el (package-load-descriptor): Do not call
12721 `emacs-lisp-mode', just use its syntax table.
12722
12723 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12724
12725 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12726 `font-lock-extra-managed-props' if any prettifying keyword is added.
12727 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12728 (prog-mode): Use `setq-local'.
12729
12730 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12731
12732 * international/characters.el (standard-case-table): Set syntax of ?»
12733 and ?« to punctuation.
12734
12735 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12736
12737 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12738 Save relevant match data before calling `syntax-ppss' (bug#14595).
12739
12740 2013-06-15 Juri Linkov <juri@jurta.org>
12741
12742 * files-x.el (modify-file-local-variable-prop-line): Add local
12743 variables to the end of the existing comment on the first line.
12744 Use `file-auto-mode-skip' to skip interpreter magic line,
12745 and also skip XML declaration.
12746
12747 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * startup.el (package--builtin-versions): New var.
12750 (package-subdirectory-regexp): Remove.
12751 (package--description-file): Hard code its value instead.
12752
12753 * emacs-lisp/package.el: Don't activate packages older than builtin.
12754 (package-obsolete-list): Rename from package-obsolete-alist, and make
12755 it into a simple list of package-desc.
12756 (package-strip-version): Remove.
12757 (package-built-in-p): Use package--builtin-versions.
12758 (package-mark-obsolete): Simplify.
12759 (package-process-define-package): Mark it obsolete if older than the
12760 builtin version.
12761 (package-handle-response): Use line-end-position.
12762 (package-read-archive-contents, package--download-one-archive):
12763 Simplify.
12764 (package--add-to-archive-contents): Skip if older than the builtin or
12765 installed version.
12766 (package-menu-describe-package): Fix last change.
12767 (package-list-unversioned): New var.
12768 (package-menu--generate): Use it.
12769
12770 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12771 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12772 (autoload-builtin-package-versions): New variable.
12773 (autoload-generate-file-autoloads): Use them.
12774 Remove the list of autoloaded functions/macros from the
12775 (autoload...) comments.
12776
12777 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12778
12779 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12780
12781 * simple.el (line-move-partial): Don't jump to the next screen
12782 line as soon as it becomes visible. Instead, continue enlarging
12783 the vscroll until the portion of a tall screen line that's left on
12784 display is about the height of the frame's default font.
12785 (Bug#14567)
12786
12787 2013-06-15 Glenn Morris <rgm@gnu.org>
12788
12789 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12790 compilation-error-regexp-alist void, or local while let-bound.
12791
12792 * progmodes/make-mode.el (makefile-mode-syntax-table):
12793 Treat "=" as punctuation. (Bug#14614)
12794
12795 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12796
12797 * help-fns.el (describe-variable):
12798 Add extra line for permanent-local variables.
12799
12800 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12801
12802 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12803 Add export, import, library. (Bug#9164)
12804 (library): Set indent function.
12805
12806 2013-06-14 Glenn Morris <rgm@gnu.org>
12807
12808 * term/xterm.el (xterm--query):
12809 Stop after first matching handler. (Bug#14615)
12810
12811 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12812
12813 Add support for dired in saveplace.
12814 * dired.el (dired-initial-position-hook): New variable.
12815 (dired-initial-position): Call hook to place cursor position.
12816 * saveplace.el (save-place-to-alist): Add dired position.
12817 (save-place-dired-hook): New function.
12818
12819 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12822 through a symbol rather than letrec.
12823
12824 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12825 (package-desc): Add `dir' field.
12826 (package-desc-full-name): New function.
12827 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12828 (package-maybe-load-descriptor): Remove.
12829 (package-load-all-descriptors): Just call package-load-descriptor.
12830 (package--disabled-p): New function.
12831 (package-desc-vers, package-desc-doc): Remove aliases.
12832 (package--dir): Remove function.
12833 (package-activate): Check if a package is disabled.
12834 (package-process-define-package): New function, extracted from
12835 define-package.
12836 (define-package): Turn into a place holder.
12837 (package-unpack-single, package-tar-file-info):
12838 Use package--description-file.
12839 (package-compute-transaction): Use package--disabled-p.
12840 (package-download-transaction): Don't call
12841 package-maybe-load-descriptor since they're all loaded anyway.
12842 (package-install): Change argument to be a pkg-desc.
12843 (package-delete): Use a single pkg-desc argument.
12844 (describe-package-1): Use package-desc-dir instead of package--dir.
12845 Use package-desc property instead of package-symbol.
12846 (package-install-button-action): Adjust accordingly.
12847 (package--push): Rewrite.
12848 (package-menu--print-info): Adjust accordingly. Change the ID format
12849 to be a pkg-desc.
12850 (package-menu-describe-package, package-menu-get-status)
12851 (package-menu--find-upgrades, package-menu-mark-upgrades)
12852 (package-menu-execute, package-menu--name-predicate):
12853 Adjust accordingly.
12854 * startup.el (package--description-file): New function.
12855 (command-line): Use it.
12856 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12857 Use package-desc-version.
12858
12859 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12860 (byte-compile-preprocess): Use it.
12861 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12862 can't quite recognize.
12863 (byte-compile-add-to-list): Remove.
12864 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12865 (cconv-closure-convert): Add assertion.
12866
12867 * emacs-lisp/map-ynp.el: Use lexical-binding.
12868 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12869 Factor out some repeated code.
12870
12871 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * subr.el (with-eval-after-load): New macro.
12874 (eval-after-load): Allow form to be a function.
12875 take advantage of lexical-binding.
12876 (do-after-load-evaluation): Use dolist and adjust to new format.
12877 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12878
12879 2013-06-13 Juri Linkov <juri@jurta.org>
12880
12881 * replace.el (perform-replace): Display "symbol " and other search
12882 modes from `isearch-message-prefix' in the *Help* buffer.
12883
12884 * isearch.el (isearch-query-replace): Add " symbol" and other
12885 possible search modes from `isearch-message-prefix' to the prompt.
12886 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12887 when reading a regexp to collect.
12888
12889 2013-06-13 Juri Linkov <juri@jurta.org>
12890
12891 * isearch.el (word-search-regexp): Match whitespace if the search
12892 string begins or ends in whitespace. The LAX arg is applied to
12893 both ends of the search string. Use `regexp-quote' and explicit
12894 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12895 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12896 boundaries are replaced with symbol boundaries, and characters
12897 between symbols match non-word non-symbol syntax. (Bug#14602)
12898
12899 2013-06-13 Juri Linkov <juri@jurta.org>
12900
12901 * isearch.el (isearch-del-char): Don't exceed the length of
12902 `isearch-string' by the prefix arg. (Bug#14563)
12903
12904 2013-06-13 Juri Linkov <juri@jurta.org>
12905
12906 * isearch.el (isearch-yank-word, isearch-yank-line)
12907 (isearch-char-by-name, isearch-quote-char)
12908 (isearch-printing-char, isearch-process-search-char):
12909 Add optional count prefix arg. (Bug#14563)
12910
12911 * international/isearch-x.el
12912 (isearch-process-search-multibyte-characters):
12913 Add optional count prefix arg.
12914
12915 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12916
12917 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12918 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12919 lexical-binding.
12920
12921 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12922
12923 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12924
12925 2013-06-13 Glenn Morris <rgm@gnu.org>
12926
12927 * startup.el (tty-handle-args):
12928 Don't just discard "--" and anything after. (Bug#14608)
12929
12930 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12931
12932 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12933
12934 Implement changes in Secret Service API. Make it backward compatible.
12935 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12936 (secrets-create-item): Use it. Prefix properties with interface.
12937
12938 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12939
12940 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12941 (term-emulate-terminal): Respect term-suppress-hard-newline.
12942
12943 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12944
12945 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12946 Only remove a `thumb-file' overlay. (Bug#14548)
12947
12948 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12949
12950 * mail/reporter.el (reporter-submit-bug-report):
12951 Handle missing package-name. (Bug#14600)
12952
12953 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12954
12955 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12956 (reftex-citation-prompt, reftex-default-bibliography)
12957 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12958 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12959 (reftex-bib-sort-author, reftex-bib-sort-year)
12960 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12961 (reftex-extract-bib-entries-from-thebibliography)
12962 (reftex-get-bibkey-default, reftex-get-bib-names)
12963 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12964 (reftex-format-bib-entry, reftex-parse-bibitem)
12965 (reftex-format-bibitem, reftex-do-citation)
12966 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12967 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12968 (reftex-insert-bib-matches, reftex-format-citation)
12969 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12970 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12971 existing comments into docstrings.
12972
12973 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12974
12975 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12976
12977 2013-06-12 Andreas Schwab <schwab@suse.de>
12978
12979 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12980 for auto-save files.
12981
12982 2013-06-12 Glenn Morris <rgm@gnu.org>
12983
12984 * ido.el (ido-delete-ignored-files): Remove.
12985 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12986 Go back to calling ido-ignore-item-p directly.
12987
12988 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12989
12990 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12991
12992 * ido.el (ido-delete-ignored-files): New function,
12993 split from ido-make-file-list-1.
12994 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12995 (ido-make-file-list-1): Use ido-delete-ignored-files.
12996
12997 2013-06-12 Leo Liu <sdl.web@gmail.com>
12998
12999 * progmodes/octave.el (inferior-octave-startup)
13000 (inferior-octave-completion-table)
13001 (inferior-octave-track-window-width-change)
13002 (octave-eldoc-function-signatures, octave-help)
13003 (octave-find-definition): Use single quoted strings.
13004 (inferior-octave-startup-args): Change default value.
13005 (inferior-octave-startup): Do not hard code "-i" and
13006 "--no-line-editing".
13007 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13008 (inferior-octave-directory-tracker): Use it.
13009 (octave-goto-function-definition): Robustify.
13010 (octave-help): Support highlighting operators in 'See also'.
13011 (octave-find-definition): Find subfunctions only in Octave mode.
13012
13013 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 * help-fns.el (help-fns--compiler-macro): If the handler function is
13016 named, then put a link to it.
13017 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13018 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13019 (cl-typep): Use it.
13020 (cl-eval-when): Simplify debug spec.
13021 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13022 compiler-macro function instead of setting `compiler-macro-file'.
13023
13024 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13025
13026 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13027 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13028
13029 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13030 Daniel Hackney <dan@haxney.org>
13031
13032 First part of Daniel Hackney's patch to package.el.
13033 * emacs-lisp/package.el: Use defstruct.
13034 (package-desc): New, main struct.
13035 (package--bi-desc, package--ac-desc): New structs, used to describe the
13036 format in external files.
13037 (package-desc-vers): Replace with package-desc-version accessor.
13038 (package-desc-doc): Replace with package-desc-summary accessor.
13039 (package-activate-1): Remove `package' arg since the pkg-vec now
13040 includes the name.
13041 (define-package): Use package-desc-from-define.
13042 (package-unpack-single): Change file-name arg to be a symbol.
13043 (package--add-to-archive-contents): Use package-desc-create and new
13044 accessor functions to package--ac-desc.
13045 (package-buffer-info, package-tar-file-info): Return a package-desc.
13046 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13047 arg to be a package-desc.
13048 (package-install-file): Adjust accordingly. Use \' to match EOS.
13049 (package--from-builtin): New function.
13050 (describe-package-1, package-menu--generate): Use it.
13051 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13052 (package-generate-autoloads): Idem and return the name of the file.
13053 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13054 Change pkg-info arg to be a package-desc.
13055 Use package-make-ac-desc.
13056 (package-upload-file): Use \' to match EOS.
13057 * finder.el (finder-compile-keywords): Use package-make-builtin.
13058
13059 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13060
13061 * vc/vc.el (vc-deduce-fileset): Change error message.
13062 (vc-read-backend): New function.
13063 (vc-next-action): Use it.
13064
13065 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13066
13067 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13068 (prolog-font-lock-keywords): Use regexp-opt instead.
13069 Don't manually highlight strings.
13070 (prolog-mode-variables): Simplify comment-start-skip.
13071 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13072
13073 * emacs-lisp/generic.el (generic--normalise-comments)
13074 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13075 (generic-mode-set-comments): Use them.
13076 (generic-bracket-support): Use setq-local.
13077 (generic-make-keywords-list): Declare obsolete.
13078
13079 2013-06-11 Glenn Morris <rgm@gnu.org>
13080
13081 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13082 Prettify after setting font-lock-defaults. (Bug#14574)
13083
13084 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13085
13086 * replace.el (query-replace, occur-read-regexp-defaults-function)
13087 (replace-search):
13088 * subr.el (declare-function, number-sequence, local-set-key)
13089 (substitute-key-definition, locate-user-emacs-file)
13090 (with-silent-modifications, split-string, eval-after-load):
13091 Fix typos, remove unneeded backslashes and reflow some docstrings.
13092
13093 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13094
13095 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13096 default for Elisp files.
13097
13098 2013-06-11 Glenn Morris <rgm@gnu.org>
13099
13100 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13101 although define-derived-mode was doing this anyway. (Bug#14583)
13102
13103 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13104
13105 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13106 Fix make-variable-buffer-local call to refer to the correct variable.
13107
13108 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13109
13110 * eshell/em-term.el (eshell-visual-commands)
13111 (eshell-visual-subcommands, eshell-visual-options):
13112 Add summary line to docstrings. Add cross-references.
13113
13114 2013-06-10 Glenn Morris <rgm@gnu.org>
13115
13116 * epa.el (epa-read-file-name): New function. (Bug#14510)
13117 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13118
13119 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13120
13121 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13122 output redirection to be ignored with visual commands.
13123
13124 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13125
13126 * eshell/em-term.el (eshell-visual-command-p): New function.
13127 (eshell-term-initialize): Move long lambda to separate function
13128 eshell-visual-command-p.
13129 * eshell/em-dirs.el (eshell-dirs-initialize):
13130 * eshell/em-script.el (eshell-script-initialize):
13131 Add missing #' to lambda.
13132
13133 2013-06-08 Leo Liu <sdl.web@gmail.com>
13134
13135 * progmodes/octave.el (octave-add-log-current-defun): New function.
13136 (octave-mode): Set add-log-current-defun-function.
13137 (octave-goto-function-definition): Do not move point if not found.
13138 (octave-find-definition): Enhance to try subfunctions first.
13139
13140 2013-06-08 Glenn Morris <rgm@gnu.org>
13141
13142 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13143 (byte-compile-backward-char, byte-compile-backward-word):
13144 Improve previous change, to handle non-explicit nil.
13145
13146 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13147
13148 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13149 (smie--opener/closer-at-point): New function.
13150 (smie--matching-block-data): Use it. Don't match from right after an
13151 opener or right before a closer. Obey smie-blink-matching-inners.
13152 Don't signal a mismatch for repeated inners like "switch..case..case".
13153
13154 2013-06-07 Leo Liu <sdl.web@gmail.com>
13155
13156 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13157 to t. (Bug#14303)
13158 (octave-function-header-regexp): Fix. (Bug#14570)
13159 (octave-help-mode-finish-hook, octave-help-mode-finish):
13160 Remove. Just use temp-buffer-show-hook.
13161
13162 * newcomment.el (comment-search-backward): Revert last change.
13163 (Bug#14434)
13164
13165 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13166
13167 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13168
13169 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13170 through xargs, to avoid failure due to MS-Windows limitations on
13171 command-line length.
13172
13173 2013-06-06 Glenn Morris <rgm@gnu.org>
13174
13175 * font-lock.el (lisp-font-lock-keywords-2):
13176 Treat user-error like error.
13177
13178 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13179 (byte-compile-backward-char, byte-compile-backward-word):
13180 Handle explicit nil arguments. (Bug#14565)
13181
13182 2013-06-05 Alan Mackenzie <acm@muc.de>
13183
13184 * isearch.el (isearch-allow-prefix): New user option.
13185 (isearch-other-meta-char): Don't exit isearch when a prefix
13186 argument is typed whilst `isearch-allow-prefix' is non-nil.
13187 (Bug#9706)
13188
13189 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13190
13191 * autorevert.el (auto-revert-notify-handler): Use memq.
13192 Hide assertion failure.
13193
13194 * skeleton.el: Use cl-lib.
13195 (skeleton-further-elements): Use defvar-local.
13196 (skeleton-insert): Use cl-progv.
13197
13198 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13199
13200 * progmodes/prog-mode.el (prog-prettify-symbols)
13201 (prog-prettify-install): Update docstrings.
13202
13203 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13204
13205 * simple.el: Move all the prog-mode code to prog-mode.el.
13206 * progmodes/prog-mode.el: New file.
13207 * loadup.el: Add prog-mode.el.
13208
13209 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13210
13211 * simple.el (prog-prettify-symbols): Add version.
13212 (prog-prettify-install): Add convenience function to prettify symbols.
13213
13214 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13215 (perl--augmented-font-lock-keywords-1)
13216 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13217 variables and use it.
13218
13219 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13220 (cfengine3-mode): Remove unneeded variable and use it.
13221
13222 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13223 (lisp--augmented-font-lock-keywords-1)
13224 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13225 Remove unneeded variables and use it.
13226
13227 2013-06-05 João Távora <joaotavora@gmail.com>
13228
13229 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13230 to point when opening the connection. (Bug#14380)
13231
13232 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * subr.el (load-history-regexp, load-history-filename-element)
13235 (eval-after-load, after-load-functions, do-after-load-evaluation)
13236 (eval-next-after-load, display-delayed-warnings)
13237 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13238 definition of save-match-data.
13239 (overriding-local-map): Remove accidental obsolescence declaration.
13240
13241 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13242
13243 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13244
13245 Generalize symbol prettify support to prog-mode and implement it
13246 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13247 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13248 (prog--prettify-font-lock-compose-symbol)
13249 (prog-prettify-font-lock-symbols-keywords): New variables and
13250 functions to support symbol prettification.
13251 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13252 (lisp--augmented-font-lock-keywords-1)
13253 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13254 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13255 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13256 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13257 Implement prettify of -> => :: strings.
13258 * progmodes/perl-mode.el (perl-prettify-symbols)
13259 (perl--font-lock-compose-symbol)
13260 (perl--font-lock-symbols-keywords): Move to prog-mode.
13261 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13262 (perl-font-lock-keywords-1)
13263 (perl-font-lock-keywords-2): Remove explicit prettify support.
13264 (perl--augmented-font-lock-keywords)
13265 (perl--augmented-font-lock-keywords-1)
13266 (perl--augmented-font-lock-keywords-2, perl-mode):
13267 Implement prettify support.
13268
13269 2013-06-05 Leo Liu <sdl.web@gmail.com>
13270
13271 Re-implement SMIE matching block highlight using
13272 show-paren-data-function. (Bug#14395)
13273 * emacs-lisp/smie.el (smie-matching-block-highlight)
13274 (smie--highlight-matching-block-overlay)
13275 (smie--highlight-matching-block-lastpos)
13276 (smie-highlight-matching-block)
13277 (smie-highlight-matching-block-mode): Remove.
13278 (smie--matching-block-data-cache): New variable.
13279 (smie--matching-block-data): New function.
13280 (smie-setup): Use smie--matching-block-data for
13281 show-paren-data-function.
13282
13283 * progmodes/octave.el (octave-mode-menu): Fix.
13284 (octave-find-definition): Skip garbage lines.
13285
13286 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 Fix compilation error with simultaneous dynamic+lexical scoping.
13289 Add warning when a defvar appears after the first let-binding.
13290 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13291 (byte-compile-close-variables): Initialize it.
13292 (byte-compile--declare-var): New function.
13293 (byte-compile-file-form-defvar)
13294 (byte-compile-file-form-define-abbrev-table)
13295 (byte-compile-file-form-custom-declare-variable): Use it.
13296 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13297 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13298 (byte-compile-bind): Handle dynamic bindings that shadow
13299 lexical bindings.
13300 (byte-compile-unbind): Make arg non-optional.
13301 (byte-compile-let): Simplify.
13302 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13303 (cconv--analyse-function, cconv-analyse-form): Populate it.
13304 Protect byte-compile-bound-variables to limit the scope of defvars.
13305 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13306 Remove unneeded rule for `declare'.
13307
13308 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13309 so as to avoid depending on cl-adjoin at run-time.
13310 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13311
13312 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13313 (macroexp--warn-and-return): Use it.
13314
13315 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13316
13317 * subr.el: Convert to lexical binding.
13318 (overriding-local-map): Make obsolete.
13319 (add-to-list): Doc fix. Add compiler macro.
13320 (read-key): Swap values of local maps.
13321
13322 2013-06-05 Leo Liu <sdl.web@gmail.com>
13323
13324 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13325
13326 2013-06-04 Leo Liu <sdl.web@gmail.com>
13327
13328 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13329 (compilation-auto-jump): Suppress the "Mark set" message to give
13330 way to exit message.
13331
13332 2013-06-04 Alan Mackenzie <acm@muc.de>
13333
13334 Remove faulty optimisation from indentation calculation.
13335 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13336 search limit based on 2000 characters back from indent-point.
13337
13338 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13339
13340 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13341
13342 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13343
13344 * emacs-lisp/lisp.el: Use lexical-binding.
13345 (lisp--local-variables-1, lisp--local-variables): New functions.
13346 (lisp--local-variables-completion-table): New var.
13347 (lisp-completion-at-point): Use it complete let-bound vars.
13348
13349 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13350 eagerly (bug#14422).
13351
13352 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13353
13354 * autorevert.el (auto-revert-notify-enabled)
13355 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13356 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13357 (auto-revert-notify-handler): Handle also gfilenotify.
13358
13359 * subr.el (file-notify-handle-event): New defun. Replacing ...
13360 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13361 Remove.
13362
13363 2013-06-03 Juri Linkov <juri@jurta.org>
13364
13365 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13366 `M-s h .'. (Bug#14427)
13367
13368 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13369 command `hi-lock-face-symbol-at-point'.
13370 (hi-lock-face-symbol-at-point): New command.
13371 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13372 (hi-lock-menu): Add `highlight-symbol-at-point'.
13373 (hi-lock-mode): Doc fix.
13374
13375 * isearch.el (isearch-forward-symbol-at-point): New command.
13376 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13377 (isearch-highlight-regexp): Add a regexp which matches
13378 words/symbols for word/symbol mode.
13379
13380 * subr.el (find-tag-default-bounds): New function with the body
13381 mostly moved from `find-tag-default'.
13382 (find-tag-default): Move most code to `find-tag-default-bounds',
13383 call it and apply `buffer-substring-no-properties' afterwards.
13384
13385 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13386
13387 * eshell/em-term.el (eshell-term-initialize):
13388 Use `cl-intersection' rather than `intersection'.
13389
13390 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13391
13392 * vc/log-view.el: Doc fix.
13393 (log-view-mode-map): Copy keymap from `special-mode-map'.
13394
13395 2013-06-02 Eric Ludlam <zappo@gnu.org>
13396
13397 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13398 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13399 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13400 (eieio-unbound, eieio-default-superclass)
13401 (eieio--define-field-accessors, method-static, method-before)
13402 (method-primary, method-after, method-num-lists)
13403 (method-generic-before, method-generic-primary)
13404 (method-generic-after, method-num-slots)
13405 (eieio-specialized-key-to-generic-key)
13406 (eieio--check-type, class-v, class-p)
13407 (eieio-class-name, define-obsolete-function-alias)
13408 (eieio-class-parents-fast, eieio-class-children-fast)
13409 (same-class-fast-p, class-constructor, generic-p)
13410 (generic-primary-only-p, generic-primary-only-one-p)
13411 (class-option-assoc, class-option, eieio-object-p)
13412 (class-abstract-p, class-method-invocation-order)
13413 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13414 (eieio-class-un-autoload, eieio-defclass)
13415 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13416 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13417 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13418 (eieio-defgeneric-reset-generic-form)
13419 (eieio-defgeneric-form-primary-only)
13420 (eieio-defgeneric-reset-generic-form-primary-only)
13421 (eieio-defgeneric-form-primary-only-one)
13422 (eieio-defgeneric-reset-generic-form-primary-only-one)
13423 (eieio-unbind-method-implementations)
13424 (eieio--defmethod, eieio--typep)
13425 (eieio-perform-slot-validation, eieio-validate-slot-value)
13426 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13427 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13428 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13429 (eieio-slot-name-index, eieio-class-slot-name-index)
13430 (eieio-set-defaults, eieio-initarg-to-attribute)
13431 (eieio-attribute-to-initarg, eieio-c3-candidate)
13432 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13433 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13434 (eieio-class-precedence-list, eieio-generic-call-methodname)
13435 (eieio-generic-call-arglst, eieio-generic-call-key)
13436 (eieio-generic-call-next-method-list)
13437 (eieio-pre-method-execution-functions, eieio-generic-call)
13438 (eieio-generic-call-primary-only, eieiomt-method-list)
13439 (eieiomt-optimizing-obarray, eieiomt-install)
13440 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13441 (eieio-generic-form, eieio-defmethod, make-obsolete)
13442 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13443 (defclass): Remove `eval-and-compile' from macro.
13444 (call-next-method, shared-initialize): Instead of using
13445 `scoped-class' variable, use new eieio--scoped-class, and
13446 eieio--with-scoped-class.
13447 (initialize-instance): Rename local variable 'scoped-class' to
13448 'this-class' to remove ambiguitity from old global.
13449
13450 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13451 eieio.el.
13452 (eieio--scoped-class-stack): New variable.
13453 (eieio--scoped-class): New fcn.
13454 (eieio--with-scoped-class): New scoping macro.
13455 (eieio-defclass): Use pushnew instead of add-to-list.
13456 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13457 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13458 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13459 `scoped-class' variable, use new eieio--scoped-class, and
13460 eieio--with-scoped-class.
13461
13462 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13463
13464 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13465
13466 * eshell/esh-ext.el (eshell-external-command): Pass args to
13467 `eshell-find-interpreter'.
13468 (eshell-find-interpreter): Add new second parameter ARGS.
13469
13470 * eshell/em-script.el (eshell-script-initialize): Add second arg
13471 to the function added as MATCH to `eshell-interpreter-alist'.
13472
13473 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13474 the function added as MATCH to `eshell-interpreter-alist'.
13475
13476 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13477 (eshell-visual-options): New defcustom.
13478 (eshell-escape-control-x): Adapt docstring.
13479 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13480 `eshell-visual-options' in addition to `eshell-visual-commands'.
13481 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13482
13483 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13484
13485 * progmodes/python.el (python-indent-block-enders): Add break,
13486 continue and raise keywords.
13487
13488 2013-06-01 Glenn Morris <rgm@gnu.org>
13489
13490 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13491
13492 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13493 * progmodes/cc-cmds.el (delete-forward-p):
13494 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13495 * progmodes/cc-engine.el (buffer-syntactic-context):
13496 * progmodes/cc-fonts.el (face-property-instance):
13497 * progmodes/cc-mode.el (set-keymap-parents):
13498 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13499 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13500 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13501 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13502 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13503
13504 * progmodes/cc-vars.el (other): Emacs has this widget since
13505 at least 21.1, so don't (re)define it.
13506
13507 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13508 Replace the obsolete alias pcomplete-arg-quote-list.
13509
13510 2013-06-01 Leo Liu <sdl.web@gmail.com>
13511
13512 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13513 punctuation syntax.
13514 (inferior-octave-minimal-columns)
13515 (inferior-octave-last-column-width): New variables.
13516 (inferior-octave-track-window-width-change): New function.
13517 (inferior-octave-mode): Adjust column width so that Octave output,
13518 for example from 'ls', can fit into the window nicely.
13519
13520 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13521
13522 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13523 Highlight expansions inside regexp literals.
13524
13525 2013-05-31 Glenn Morris <rgm@gnu.org>
13526
13527 * obsolete/sym-comp.el (symbol-complete):
13528 Replace obsolete completion-annotate-function.
13529
13530 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13531
13532 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13533
13534 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13535 New function, checks if point is inside a literal that allows
13536 expression expansion.
13537 (ruby-syntax-propertize-expansion): Use it.
13538 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13539 around the body.
13540
13541 2013-05-30 Juri Linkov <juri@jurta.org>
13542
13543 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13544 to "\M-si".
13545 (isearch-invisible): New variable.
13546 (isearch-forward): Doc fix.
13547 (isearch-mode): Set `isearch-invisible'
13548 to the value of `search-invisible'.
13549 (isearch-toggle-case-fold): Doc fix.
13550 (isearch-toggle-invisible): New command.
13551 (isearch-query-replace): Let-bind `search-invisible'
13552 to the value of `isearch-invisible'.
13553 (isearch-search): Use `isearch-invisible' instead of
13554 `search-invisible'. Let-bind `search-invisible'
13555 to the value of `isearch-invisible'. (Bug#11378)
13556
13557 2013-05-30 Juri Linkov <juri@jurta.org>
13558
13559 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13560 call when `query-flag' is nil and `search-invisible' is non-nil.
13561 (Bug#11746)
13562
13563 2013-05-30 Glenn Morris <rgm@gnu.org>
13564
13565 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13566
13567 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13568 (cc-require): Suppress spurious "noruntime" warnings.
13569 (cc-require-when-compile): Use fboundp, for sake of compiler.
13570
13571 * progmodes/cc-mode.el: Move load of cc-vars before that of
13572 cc-langs (which in turn loads cc-vars), to quieten compiler.
13573
13574 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * paren.el: Simplify the code.
13577 (show-paren-mode): Always start the timer.
13578 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13579 (show-paren--overlay, show-paren--overlay-1): Rename from
13580 show-paren-overlay and show-paren-overlay-1, and initialize to an
13581 overlay rather than to nil.
13582 (show-paren-function): Misc cleanup and simplifications.
13583
13584 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13585
13586 * paren.el (show-paren-data-function): New hook.
13587 (show-paren--default): New function, extracted from show-paren-function.
13588 (show-paren-function): Use show-paren-data-function.
13589
13590 2013-05-30 Glenn Morris <rgm@gnu.org>
13591
13592 * ielm.el (ielm-map, ielm-complete-symbol):
13593 Use completion-at-point rather than obsolete functions.
13594 (inferior-emacs-lisp-mode): Doc fix.
13595 Set completion-at-point-functions, rather than
13596 comint-dynamic-complete-functions.
13597
13598 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13599 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13600 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13601
13602 * image.el (image-animated-p): Tweak definition.
13603
13604 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13605 (rlogin-process-connection-type): Tweak default. Add set-after.
13606 (rlogin-host): Doc fix.
13607 (rlogin): Tweak prompt.
13608 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13609
13610 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13611 * progmodes/tcl.el (inferior-tcl-mode-map):
13612 Use completion-at-point rather than obsolete alias.
13613
13614 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13615
13616 * minibuffer.el (read-file-name-completion-ignore-case):
13617 Move before completion--in-region, for eager macro expansion.
13618
13619 2013-05-29 Juri Linkov <juri@jurta.org>
13620
13621 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13622 for total count of matching lines. Add `global-matches' for total
13623 count of matches. Rename `matches' to `lines' for count of
13624 matching lines. Add `matches' for count of matches.
13625 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13626 to `prev-line' for line number of prev match endpt.
13627 Increment `matches' for every match. Print the number of
13628 matching lines in the header.
13629 (occur-context-lines): Rename `lines' to `curr-line'.
13630 Rename `prev-lines' to `prev-line'. (Bug#14017)
13631
13632 2013-05-29 Juri Linkov <juri@jurta.org>
13633
13634 * replace.el (perform-replace): Add `skip-read-only-count',
13635 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13636 Increment them for corresponding conditions and report the number
13637 of skipped occurrences in the final message. (Bug#11746)
13638 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13639 (replace-string, replace-regexp): Doc fix.
13640
13641 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13642
13643 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13644
13645 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13646 prog-mode-map (bug#14504).
13647
13648 2013-05-29 Leo Liu <sdl.web@gmail.com>
13649
13650 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13651 (octave-help): Small simplification.
13652
13653 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13654 off the highlight first.
13655
13656 2013-05-29 Glenn Morris <rgm@gnu.org>
13657
13658 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13659 Handle idlwave-last-system-routine-info-cons-cell being nil.
13660
13661 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13662 (idlwave-write-paths): Simplify via with-temp-buffer.
13663
13664 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13665 * emulation/cua-rect.el: Also load cua-base at run time.
13666
13667 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13668 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13669 (cperl-imenu-on-info): Require imenu.
13670
13671 2013-05-28 Alan Mackenzie <acm@muc.de>
13672
13673 Handle "capitalised keywords" correctly.
13674 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13675
13676 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13677
13678 * eshell/em-unix.el: Add -r option to cp.
13679
13680 2013-05-28 Glenn Morris <rgm@gnu.org>
13681
13682 * vc/vc-arch.el (vc-exec-after): Declare.
13683 (vc-switches): Autoload.
13684 * vc/vc-bzr.el: No need to require vc when compiling.
13685 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13686 (vc-resynch-buffer, vc-dir-refresh): Declare.
13687 (vc-setup-buffer, vc-switches): Autoload.
13688 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13689 (vc-resynch-buffer): Declare.
13690 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13691 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13692 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13693 (grep-read-regexp, grep-read-files, grep-expand-template)
13694 (vc-dir-refresh): Declare.
13695 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13696 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13697 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13698 * vc/vc-mtn.el (vc-exec-after): Declare.
13699 (vc-switches): Autoload.
13700 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13701 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13702 (vc-file-tree-walk): Declare.
13703 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13704 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13705 (vc-tag-precondition, vc-rename-master): Autoload.
13706 * vc/vc-svn.el (vc-exec-after): Declare.
13707 (vc-switches, vc-setup-buffer): Autoload.
13708 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13709 Autoload.
13710 (vc-resynch-buffer): Declare.
13711
13712 * obsolete/fast-lock.el (byte-compile-warnings):
13713 Don't warn about obsolete features in this obsolete file.
13714
13715 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13716 Move definition before use.
13717
13718 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13719 (dun-unix-verbs): Remove dun-zippy.
13720 (dun-zippy): Remove function.
13721
13722 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13723
13724 2013-05-27 Juri Linkov <juri@jurta.org>
13725
13726 * replace.el (replace-search): New function with code moved out
13727 from `perform-replace'.
13728 (replace-highlight, replace-dehighlight): Move function definitions
13729 up closer to `replace-search'. (Bug#11746)
13730
13731 2013-05-27 Juri Linkov <juri@jurta.org>
13732
13733 * replace.el (perform-replace): Ignore invisible matches.
13734 In addition to checking `query-replace-skip-read-only', also
13735 filter out matches by calling `run-hook-with-args-until-failure'
13736 on `isearch-filter-predicates', and also check `search-invisible'
13737 for t or call `isearch-range-invisible'.
13738 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13739
13740 2013-05-27 Juri Linkov <juri@jurta.org>
13741
13742 * isearch.el (isearch-filter-predicates): Rename from
13743 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13744 (isearch-message-prefix): Display text from the property
13745 `isearch-message-prefix' of the currently active filters.
13746 (isearch-search): Don't compare `isearch-filter-predicate' with
13747 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13748 on `isearch-filter-predicates'. Also check `search-invisible' for t
13749 or call `isearch-range-invisible'.
13750 (isearch-filter-visible): Make obsolete.
13751 (isearch-lazy-highlight-search):
13752 Call `run-hook-with-args-until-failure' on
13753 `isearch-filter-predicates' and use `isearch-range-invisible'.
13754
13755 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13756 `isearch-filter-predicates' instead of `funcall'ing
13757 `isearch-filter-predicate'.
13758 (Info-mode): Set `Info-isearch-filter' to
13759 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13760
13761 * dired-aux.el (dired-isearch-filter-predicate-orig):
13762 Remove variable.
13763 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13764 (dired-isearch-filenames-end): Add and remove
13765 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13766 instead of changing the value of `isearch-filter-predicate'.
13767 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13768 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13769 Put property `isearch-message-prefix' to "filename " on
13770 `dired-isearch-filter-filenames'.
13771
13772 * wdired.el (wdired-change-to-wdired-mode):
13773 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13774 locally instead of changing `isearch-filter-predicate'.
13775 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13776
13777 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13778
13779 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13780 return the commit hash (Bug#14459). Also set the
13781 `vc-git-detached' property.
13782 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13783 (vc-git-mode-line-string): Use the same help-echo format whether
13784 in detached mode or not, because we know the actual revision now.
13785 When in detached mode, shorten the revision to 7 chars.
13786
13787 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * emacs-lisp/easy-mmode.el (define-minor-mode):
13790 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13791 mode hook and provide a docstring.
13792
13793 2013-05-27 Alan Mackenzie <acm@muc.de>
13794
13795 Remove spurious syntax-table text properties inserted by C-y.
13796 * progmodes/cc-mode.el (c-after-change): Also clear hard
13797 syntax-table property with value nil.
13798
13799 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13800
13801 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13802 when reading the events; the buffer layout shall not be changed.
13803
13804 2013-05-27 Leo Liu <sdl.web@gmail.com>
13805
13806 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13807 New variable.
13808 (inferior-octave-directory-tracker): Automatically re-sync
13809 default-directory.
13810 (octave-help): Improve handling of 'See also'.
13811
13812 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13813
13814 * doc-view.el: Minor naming convention tweaks.
13815 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13816
13817 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13818 even if there's no `display' property yet (bug#14435).
13819
13820 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13821
13822 * subr.el (unmsys--file-name): Rename from reveal-filename.
13823
13824 * Makefile.in (custom-deps, finder-data, autoloads)
13825 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13826 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13827 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13828
13829 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13830
13831 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13832 error-completion on the first 2 args of condition-case (bug#14446).
13833 Don't burp at EOB.
13834
13835 2013-05-25 Leo Liu <sdl.web@gmail.com>
13836
13837 * comint.el (comint-previous-matching-input): Do not flood the
13838 *Messages* buffer with trivial messages.
13839
13840 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13841
13842 * progmodes/flymake.el (flymake-nop): Don't return a string.
13843 (flymake-set-at): Fix typo.
13844
13845 * simple.el (read--expression): New function, extracted from
13846 eval-expression. Set completion-at-point-functions (bug#14465).
13847 (eval-expression, eval-minibuffer): Use it.
13848
13849 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13850
13851 * progmodes/flymake.el (flymake-save-buffer-in-file)
13852 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13853 (flymake-selected-frame, flymake-log, flymake-ins-after)
13854 (flymake-set-at, flymake-get-buildfile-from-cache)
13855 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13856 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13857 Refine the doc string.
13858 (flymake-get-file-name-mode-and-masks): Reformat.
13859 (flymake-get-real-file-name-function): Fix a minor bug.
13860
13861 2013-05-24 Juri Linkov <juri@jurta.org>
13862
13863 * progmodes/grep.el (grep-mode-font-lock-keywords):
13864 Support =linenumber= format used by git-grep for lines with
13865 function names. (Bug#13549)
13866
13867 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13868
13869 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13870 0 after a semi-colon; it works better for smie-auto-fill.
13871 (octave--indent-new-comment-line): New function.
13872 (octave-indent-new-comment-line): Use it (indirectly).
13873 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13874 modify comment-line-break-function.
13875
13876 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13877 (smie-setup): Use add-function to set it.
13878
13879 2013-05-24 Sam Steingold <sds@gnu.org>
13880
13881 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13882 argument (before the `interactive' argument).
13883
13884 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13885
13886 * image-mode.el (image-mode-winprops): Add winprops to
13887 image-mode-winprops-alist before running
13888 image-mode-new-window-functions.
13889 * doc-view.el (doc-view-new-window-function): Don't delay
13890 doc-view-goto-page via timers (bug#14435).
13891
13892 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13893
13894 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13895 (doc-view-desktop-save-buffer): New function.
13896 (doc-view-restore-desktop-buffer): New function.
13897 (desktop-buffer-mode-handlers):
13898 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13899 handler.
13900 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13901 `desktop-save-buffer' function.
13902
13903 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13904
13905 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13906 (tramp-gvfs-file-name-handler): Raise a user error when
13907 `tramp-gvfs-enabled' is nil.
13908 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13909 Do not raise a user error when loading package. (Bug#14447)
13910
13911 * net/xesam.el: Move to obsolete/.
13912
13913 2013-05-24 Glenn Morris <rgm@gnu.org>
13914
13915 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13916
13917 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13918
13919 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13920 (Info-find-node, Man-getpage-in-background): Declare.
13921
13922 * mail/unrmail.el (unrmail):
13923 Replace obsolete detect-coding-with-priority.
13924
13925 * net/socks.el (socks-split-string): Use this rather than split-string.
13926 (socks-nslookup-host): Update for above change.
13927 (dynamic-choice, s5-dynamic-choice-match)
13928 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13929 Comment out unused code.
13930
13931 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13932 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13933 (gud-tooltip-echo-area): Make obsolete.
13934 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13935
13936 * progmodes/js.el (js--optimize-arglist): Declare.
13937
13938 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13939
13940 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13941 (ediff-window-C): Declare.
13942
13943 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13944 Tweak requires to silence compiler.
13945
13946 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13947 (he-search-string, he-tried-table, he-expand-list)
13948 (he-init-string, he-string-member, he-substitute-string)
13949 (he-reset-string): Declare.
13950
13951 * obsolete/options.el (list-options): Use custom-variable-p,
13952 rather than obsolete alias.
13953
13954 2013-05-23 Sam Steingold <sds@gnu.org>
13955
13956 * simple.el (shell-command-on-region): Pass the `replace' argument
13957 down to `call-process-region' to comply with the doc as reported on
13958 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13959
13960 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13961
13962 * emacs-lisp/smie.el (smie-indent-forward-token)
13963 (smie-indent-backward-token): Handle string tokens (bug#14381).
13964
13965 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13966
13967 * ielm.el (ielm-menu): New menu.
13968 (inferior-emacs-lisp-mode): Set comment-start.
13969
13970 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13971
13972 * textmodes/reftex.el (reftex-ref-style-toggle):
13973 Fix deactivate action.
13974
13975 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13976 Add cleveref macros.
13977
13978 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13979 Accept options for bibliography commands.
13980 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13981 Add addbibresource. Basic Biblatex support.
13982
13983 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13984
13985 * net/tramp-gvfs.el (top):
13986 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13987 when loading package. (Bug#14447)
13988
13989 2013-05-23 Glenn Morris <rgm@gnu.org>
13990
13991 * progmodes/js.el: No need to load comint when compiling.
13992 (ring-insert, comint-send-string, comint-send-input)
13993 (comint-last-input-end, ido-chop): Declare.
13994
13995 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13996 * vc/ediff-mult.el: Adjust requires.
13997 (ediff-directories-internal, ediff-directory-revisions-internal)
13998 (ediff-patch-file-internal): Declare.
13999 * vc/ediff-ptch.el: Adjust requires.
14000 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14001 (ediff-find-file): Autoload.
14002 * vc/ediff-util.el: No need to load ediff when compiling.
14003 (ediff-regions-internal): Declare.
14004 * vc/ediff-wind.el: Adjust requires.
14005 (ediff-compute-toolbar-width): Define when compiling.
14006 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14007 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14008 (dired-get-filename, dired-get-marked-files)
14009 (ediff-last-dir-patch, ediff-patch-default-directory)
14010 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14011 (ediff-patch-buffer-internal): Declare.
14012
14013 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14014 (ispell-process, ispell-buffer-local-words, lm-summary)
14015 (lm-section-start, lm-section-end): Declare.
14016 (checkdoc-ispell-init): Simplify.
14017
14018 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14019 (he-string-member, he-reset-string, he-substitute-string): Declare.
14020
14021 * eshell/em-ls.el: Adjust requires.
14022 (eshell-glob-regexp): Declare.
14023 * eshell/em-tramp.el: Adjust requires.
14024 (eshell-parse-command): Autoload.
14025 * eshell/em-xtra.el: Adjust requires.
14026 (eshell-parse-command): Autoload.
14027 * eshell/esh-ext.el: Adjust requires.
14028 (eshell-parse-command, eshell-close-handles): Autoload.
14029 * eshell/esh-io.el: Adjust requires.
14030 (eshell-output-filter): Autoload.
14031 * eshell/esh-util.el: No need to load tramp when compiling.
14032 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14033 Declare.
14034 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14035 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14036 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14037 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14038 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14039 * eshell/esh-opt.el, eshell/esh-proc.el:
14040 * eshell/esh-var.el: Adjust requires.
14041 * eshell/eshell.el: Do not require esh-util twice.
14042 (eshell-add-input-to-history): Declare.
14043 (eshell-command): Check history module is active before using it.
14044
14045 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14046
14047 2013-05-22 Leo Liu <sdl.web@gmail.com>
14048
14049 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14050
14051 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14052
14053 * autorevert.el (auto-revert-notify-add-watch)
14054 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14055 it indicates changes in file modification time.
14056
14057 2013-05-22 Glenn Morris <rgm@gnu.org>
14058
14059 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14060 Always delete the autoloaded function from the noruntime and
14061 unresolved functions lists.
14062
14063 * allout.el: No need to load epa, epg, overlay when compiling.
14064 (epg-context-set-passphrase-callback, epg-list-keys)
14065 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14066 (epg-key-user-id-list): Declare.
14067
14068 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14069 (viper-set-parsing-style-toggling-macro)
14070 (viper-set-emacs-state-searchstyle-macros):
14071 Use called-interactively-p on Emacs.
14072 (viper-looking-back): Make it an obsolete alias. Update callers.
14073 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14074 Use looking-back rather than viper-looking-back.
14075 (viper-tmp-insert-at-eob, viper-enlarge-region)
14076 (viper-read-string-with-history, viper-register-to-point)
14077 (viper-append-to-register, viper-change-state-to-vi)
14078 (viper-backward-char-carefully, viper-forward-char-carefully)
14079 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14080 (viper-change-state-to-emacs): Declare.
14081 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14082 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14083 * emulation/viper-mous.el: Do not load viper-cmd.
14084 (viper-backward-char-carefully, viper-forward-char-carefully)
14085 (viper-forward-word, viper-adjust-window): Declare.
14086
14087 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14088
14089 * progmodes/idlw-help.el (idlwave-help-fontify):
14090 Use called-interactively-p.
14091
14092 * term/w32console.el (w32-get-console-codepage)
14093 (w32-get-console-output-codepage): Declare.
14094
14095 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14096 Remove unnecessary declarations.
14097 (dframe-message): Doc fix.
14098
14099 * info.el (dframe-select-attached-frame, dframe-current-frame):
14100 Declare.
14101
14102 * speedbar.el (speedbar-message): Make it an obsolete alias.
14103 Update all callers.
14104 (speedbar-with-attached-buffer)
14105 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14106 (speedbar-with-writable): Use backquote.
14107 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14108 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14109 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14110 rather than speedbar- aliases.
14111 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14112 (speedbar-make-specialized-keymap, speedbar-insert-button)
14113 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14114 (speedbar-do-function-pointer): Declare.
14115 (rmail-speedbar-button, rmail-speedbar-find-file)
14116 (rmail-speedbar-move-message):
14117 Use dframe-with-attached-buffer rather than speedbar- alias.
14118 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14119 (dframe-message, speedbar-make-specialized-keymap)
14120 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14121 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14122 (speedbar-insert-button, dframe-select-attached-frame)
14123 (dframe-maybee-jump-to-attached-frame)
14124 (speedbar-change-initial-expansion-list)
14125 (speedbar-previously-used-expansion-list-name): Declare.
14126 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14127 Use dframe-message, dframe-with-attached-buffer rather than
14128 speedbar- aliases.
14129 (gud-sentinel): Silence compiler.
14130 * progmodes/vhdl-mode.el (speedbar-refresh)
14131 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14132 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14133 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14134 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14135 (speedbar-file-lists, speedbar-make-tag-line)
14136 (speedbar-line-directory, speedbar-goto-this-file)
14137 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14138 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14139 (speedbar-make-button, speedbar-reset-scanners)
14140 (speedbar-files-item-info, speedbar-line-text)
14141 (speedbar-find-file-in-frame, speedbar-set-timer)
14142 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14143 (speedbar-with-writable): Do not (re)define it.
14144 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14145 rather than speedbar- alias.
14146
14147 2013-05-21 Leo Liu <sdl.web@gmail.com>
14148
14149 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14150 menu items.
14151 (octave-mode): Tweak fill-nobreak-predicate.
14152 (inferior-octave-startup): Check process to avoid infinite loop.
14153 (inferior-octave): Pop to buffer first to show abornmal process
14154 exit information.
14155
14156 2013-05-21 Glenn Morris <rgm@gnu.org>
14157
14158 * printing.el (pr-menu-bar): Define when compiling.
14159
14160 2013-05-21 Leo Liu <sdl.web@gmail.com>
14161
14162 * progmodes/octave.el (octave-auto-fill): Remove.
14163 (octave-indent-new-comment-line): Improve.
14164 (octave-mode): Use auto fill mode through
14165 comment-line-break-function and fill-nobreak-predicate.
14166 (octave-goto-function-definition): Support DEFUN_DLD.
14167 (octave-beginning-of-defun): Small tweak.
14168 (octave-help): Show parent directory.
14169
14170 2013-05-21 Glenn Morris <rgm@gnu.org>
14171
14172 * files.el (dired-unmark):
14173 * progmodes/gud.el (gdb-input): Update declarations.
14174
14175 * calculator.el (electric, ehelp): No need to load when compiling.
14176 (Electric-command-loop, electric-describe-mode): Declare.
14177
14178 * doc-view.el (doc-view-current-converter-processes): Move before use.
14179
14180 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14181 Move MODE-set-explicitly definition before use.
14182
14183 * international/mule-diag.el (mule-diag):
14184 Don't use obsolete window-system-version.
14185
14186 * mail/feedmail.el (smtpmail): No need to load when compiling.
14187 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14188
14189 * mail/mail-utils.el (rfc822): No need to load when compiling.
14190 (rfc822-addresses): Autoload it.
14191 (mail-strip-quoted-names): Trivial simplification.
14192
14193 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14194 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14195
14196 * net/snmp-mode.el (tempo): Don't duplicate requires.
14197
14198 * progmodes/prolog.el (info): No need to load when compiling.
14199 (comint): Require before shell requires it.
14200 (Info-goto-node): Autoload it.
14201 (Info-follow-nearest-node): Declare.
14202 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14203
14204 * textmodes/artist.el (picture-mode-exit): Declare.
14205
14206 * textmodes/reftex-parse.el (reftex-parse-from-file):
14207 Trivial rewrite so the compiler can parse it better.
14208
14209 2013-05-20 Leo Liu <sdl.web@gmail.com>
14210
14211 * progmodes/octave.el (octave-help-mode-map)
14212 (octave-help-mode-finish-hook): New variables.
14213 (octave-help-mode, octave-help-mode-finish): New functions.
14214 (octave-help): Use octave-help-mode.
14215
14216 2013-05-20 Glenn Morris <rgm@gnu.org>
14217
14218 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14219
14220 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14221
14222 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14223 start at point, so that expansion starting right after opening
14224 slash in a regexp is recognized.
14225 (ruby-syntax-before-regexp-re): New defvar, extracted from
14226 ruby-syntax-propertize-function. Since the value of this regexp
14227 is looked up at runtime now, we should be able to turn
14228 `ruby-syntax-methods-before-regexp' into a defcustom later.
14229 (ruby-syntax-propertize-function): Split regexp matching into two
14230 parts, for opening and closing slashes. That allows us to skip
14231 over string interpolations and support multiline regexps.
14232 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14233 for them, which calls `ruby-syntax-propertize-expansion'.
14234 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14235 call to `ruby-syntax-propertize-function'.
14236 (ruby-syntax-propertize-expansion): Extracted from
14237 `ruby-syntax-propertize-expansions'. Handles one expansion.
14238 (ruby-syntax-propertize-percent-literal): Leave point right after
14239 the percent symbol, so that the expression expansion rule can
14240 propertize the contents.
14241 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14242 heredoc openers.
14243 (ruby-syntax-propertize-expansions): Remove.
14244
14245 2013-05-18 Juri Linkov <juri@jurta.org>
14246
14247 * man.el (Man-default-man-entry): Remove `-' from the end
14248 of the default value. (Bug#14400)
14249
14250 2013-05-18 Glenn Morris <rgm@gnu.org>
14251
14252 * comint.el (comint-password-prompt-regexp):
14253 Allow "password for XXX" where XXX contains colons (eg https://...).
14254
14255 2013-05-18 Leo Liu <sdl.web@gmail.com>
14256
14257 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14258 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14259 (octave-source-directories): Don't check process.
14260 (octave-source-directories, octave-find-definition): Doc fix.
14261
14262 2013-05-18 Glenn Morris <rgm@gnu.org>
14263
14264 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14265 Remove backspace/delete bindings. (Bug#14392)
14266
14267 * cus-dep.el (custom-make-dependencies): Sort the output.
14268 (custom-versions-load-alist): Convert comment to doc.
14269
14270 2013-05-17 Leo Liu <sdl.web@gmail.com>
14271
14272 * newcomment.el (comment-search-backward): Stricter in finding
14273 comment start. (Bug#14303)
14274
14275 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14276 (octave-comment-start-skip): Properly anchored.
14277
14278 2013-05-17 Leo Liu <sdl.web@gmail.com>
14279
14280 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14281 Clean up when turned off. (Bug#14395)
14282 (smie--highlight-matching-block-overlay): No longer buffer-local.
14283 (smie-highlight-matching-block): Adjust.
14284
14285 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14286
14287 Doc string fix for "nanoseconds" (Bug#14406).
14288 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14289 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14290
14291 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14292
14293 * calc/calc-units.el (math-extract-units): Preserve powers
14294 of units.
14295
14296 2013-05-17 Leo Liu <sdl.web@gmail.com>
14297
14298 * subr.el (delete-consecutive-dups): New function.
14299 * ido.el (ido-set-matches-1): Use it.
14300 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14301 * ido.el (ido-remove-consecutive-dups): Remove.
14302
14303 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14304
14305 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14306 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14307 regexp-opt's `words'.
14308
14309 2013-05-16 Leo Liu <sdl.web@gmail.com>
14310
14311 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14312 (smie--highlight-matching-block-overlay)
14313 (smie--highlight-matching-block-lastpos)
14314 (smie--highlight-matching-block-timer): New variables.
14315 (smie-highlight-matching-block): New function.
14316 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14317 (smie-setup): Conditionally enable smie-blink-matching-open.
14318
14319 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14320
14321 Sync with upstream verilog-mode r840.
14322 * progmodes/verilog-mode.el (verilog-mode-version)
14323 (verilog-mode-release-date): Update.
14324 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14325 (verilog-sig-tieoff): Fix string error on
14326 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14327 (verilog-read-decls): Fix parameters confusing
14328 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14329
14330 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14331
14332 * subr.el (reveal-filename): New function.
14333
14334 * loadup.el: Compute Emacs executable versions on MS-Windows,
14335 where executables have the .exe extension. Add a hard link
14336 emacs-XX.YY.ZZ.exe on MS-Windows.
14337
14338 * Makefile.in (XARGS_LIMIT): New variable.
14339 (custom-deps, finder-data, autoloads)
14340 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14341 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14342 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14343 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14344
14345 2013-05-16 Leo Liu <sdl.web@gmail.com>
14346
14347 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14348 (octave-mode-menu, octave-mode-map): Remove its uses.
14349
14350 2013-05-16 Reto Zimmermann <reto@gnu.org>
14351
14352 Sync with upstream vhdl mode v3.34.2.
14353 * progmodes/vhdl-mode.el: Use `push' throughout.
14354 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14355 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14356 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14357 (vhdl-actual-generic-name): New option to derive actual generic name.
14358 (vhdl-port-paste-signals): Replace formal by actual generics.
14359 (vhdl-beautify): New name for old group vhdl-align. Update users.
14360 (vhdl-beautify-options): New option.
14361 (vhdl-last-input-event): New compat alias. Use throughout.
14362 (vhdl-goto-line): Replace user level function `goto-line'.
14363 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14364 vhdl-fix-statement-buffer.
14365 (vhdl-create-mode-menu): Add some entries.
14366 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14367 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14368 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14369 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14370 to force statements on one line.
14371 (vhdl-remove-trailing-spaces-region):
14372 New, split from vhdl-remove-trailing-spaces.
14373 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14374 Respect vhdl-beautify-options.
14375 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14376 (vhdl-update-sensitivity-list): Not add with index if exists without.
14377 Not include array index with signal. Ignore keywords in comments.
14378 (vhdl-get-visible-signals): Regexp tweaks.
14379 (vhdl-template-component-inst): Handle empty library.
14380 (vhdl-template-type): Add template for 'enum' type.
14381 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14382 Use vhdl-replace-string.
14383 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14384 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14385 (vhdl-speedbar-initialize): Update for above name change.
14386 (vhdl-compose-wire-components): Fix in handling of constants.
14387 (vhdl-error-regexp-emacs-alist): New variable.
14388 (vhdl-error-regexp-add-emacs): New function;
14389 adds support for new compile.el (Emacs 22+)
14390 (vhdl-generate-makefile-1): Change target order for single lib. units.
14391 Allow use of absolute file names.
14392
14393 2013-05-16 Leo Liu <sdl.web@gmail.com>
14394
14395 * simple.el (prog-indent-sexp): Indent enclosing defun.
14396
14397 2013-05-15 Glenn Morris <rgm@gnu.org>
14398
14399 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14400 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14401 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14402 (whitespace-highlight): Move to whitespace group.
14403
14404 * comint.el (comint-source):
14405 * pcmpl-linux.el (pcmpl-linux):
14406 * shell.el (shell-faces):
14407 * eshell/esh-opt.el (eshell-opt):
14408 * international/ccl.el (ccl): Remove empty custom groups.
14409
14410 * completion.el (dynamic-completion-mode):
14411 * jit-lock.el (jit-lock-debug-mode):
14412 * minibuffer.el (completion-in-region-mode):
14413 * type-break.el (type-break-mode-line-message-mode)
14414 (type-break-query-mode):
14415 * emulation/tpu-edt.el (tpu-edt-mode):
14416 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14417 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14418 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14419
14420 * term/xterm.el (xterm): Change parent group to terminals.
14421
14422 * master.el (master): Remove empty custom group.
14423 (master-mode): Remove unused :group argument.
14424 * textmodes/refill.el (refill): Remove empty custom group.
14425 (refill-mode): Remove unused :group argument.
14426
14427 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14428
14429 * cus-dep.el: Provide a feature.
14430 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14431 Don't mistakenly ignore files whose basenames match a basename
14432 from preloaded-file-list (eg cedet/ede/simple.el).
14433 Add a fallback method for getting :group.
14434
14435 2013-05-15 Juri Linkov <juri@jurta.org>
14436
14437 * isearch.el (isearch-char-by-name): Rename from
14438 `isearch-insert-char-by-name'. Doc fix.
14439 (isearch-forward): Mention `isearch-char-by-name' in
14440 the docstring. (Bug#13348)
14441
14442 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14443 `exit-minibuffer' instead of
14444 `isearch-nonincremental-exit-minibuffer'.
14445 (isearch-edit-string): Remove mention of
14446 `isearch-nonincremental-exit-minibuffer' from docstring.
14447 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14448 (isearch-forward-exit-minibuffer)
14449 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14450
14451 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14452
14453 * loadup.el: Just use unversioned DOC.
14454
14455 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14456 literals as extending to EOB.
14457 (nxml-last-fontify-end): Remove unused variable.
14458 (nxml-after-change1): Use with-silent-modifications.
14459 (nxml-extend-after-change-region): Simplify.
14460 (nxml-extend-after-change-region1): Remove function.
14461 (nxml-after-change1): Don't adjust for dependent regions.
14462 (nxml-fontify-matcher): Simplify.
14463 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14464 (xmltok-add-dependent): Remove function.
14465 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14466 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14467 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14468 unclosed <[[, <?, comment, and other literals as extending to EOB.
14469 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14470 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14471 Remove functions.
14472 (rng-do-some-validation-1): Don't mark dependent regions.
14473 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14474 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14475 (nxml-clear-dependent-regions): Remove functions.
14476 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14477 (nxml-ensure-scan-up-to-date):
14478 Don't clear&mark dependent regions.
14479
14480 2013-05-15 Leo Liu <sdl.web@gmail.com>
14481
14482 * progmodes/octave.el (octave-goto-function-definition):
14483 Improve and fix callers.
14484
14485 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14486
14487 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14488 the setter (bug#14387).
14489
14490 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14491 surrounding group (bug#14402).
14492
14493 2013-05-14 Juri Linkov <juri@jurta.org>
14494
14495 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14496 (Bug#14390)
14497
14498 2013-05-14 Glenn Morris <rgm@gnu.org>
14499
14500 * progmodes/f90.el (f90-imenu-generic-expression):
14501 Fix typo in 2013-05-08 change. (Bug#14402)
14502
14503 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14504
14505 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14506 Remove signals for which replies are never received.
14507
14508 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14509
14510 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14511 (gdb-handler-alist, gdb-handler-number): Remove variables.
14512 (gdb-handler-list): New variable.
14513 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14514 (gdb-pending-handler-p, gdb-handle-reply)
14515 (gdb-remove-all-pending-triggers): New functions.
14516 (gdb-discard-unordered-replies): New defcustom.
14517 (gdb-handler): New defstruct.
14518 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14519 instead of gdb-pending-triggers. Update docstring.
14520 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14521 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14522 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14523 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14524 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14525 (gdb-frame-handler): Pending triggers are now automatically managed.
14526 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14527 Remove argument.
14528 (gdb-input): Automatically handles pending triggers. Update docstring.
14529 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14530 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14531 Update comments.
14532 (gdb-done-or-error): Now use gdb-handle-reply.
14533
14534 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14535
14536 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14537 gdb-debug-log.
14538
14539 2013-05-14 Glenn Morris <rgm@gnu.org>
14540
14541 * subr.el (user-emacs-directory-warning): New option.
14542 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14543
14544 2013-05-14 Leo Liu <sdl.web@gmail.com>
14545
14546 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14547 during redisplay.
14548 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14549 (octave-font-lock-texinfo-comment): Fix invalid search bound
14550 error: wrong side of point.
14551
14552 2013-05-14 Glenn Morris <rgm@gnu.org>
14553
14554 * progmodes/flymake.el (flymake-xml-program): New option.
14555 (flymake-xml-init): Use it.
14556
14557 * term/xterm.el: Provide a feature.
14558
14559 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14560
14561 2013-05-13 Glenn Morris <rgm@gnu.org>
14562
14563 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14564 Add compat aliases as a hack workaround. (Bug#14384)
14565
14566 2013-05-13 Leo Liu <sdl.web@gmail.com>
14567
14568 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14569 ###, and %!.
14570 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14571 C-M-q.
14572 (octave-comment-start-skip): Include %!.
14573 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14574
14575 2013-05-12 Leo Liu <sdl.web@gmail.com>
14576
14577 * progmodes/octave.el (inferior-octave-startup): Store the value
14578 of __octave_srcdir__ for octave-source-directories.
14579 (inferior-octave-check-process): New function refactored out of
14580 inferior-octave-send-list-and-digest.
14581 (octave-source-directories)
14582 (octave-find-definition-filename-function): New variables.
14583 (octave-source-directories)
14584 (octave-find-definition-default-filename): New functions.
14585 (octave-find-definition): Improve to find functions implemented in C++.
14586
14587 2013-05-12 Glenn Morris <rgm@gnu.org>
14588
14589 * calendar/diary-lib.el (diary-outlook-format-1):
14590 Don't include dayname in the output. (Bug#14349)
14591
14592 2013-05-11 Glenn Morris <rgm@gnu.org>
14593
14594 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14595
14596 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14597 Treat cc-provide like provide.
14598
14599 2013-05-11 Kevin Ryde <user42@zip.com.au>
14600
14601 * cus-dep.el (custom-make-dependencies):
14602 Use generated-autoload-load-name for the sake of files such
14603 such cedet/semantic/bovine/c.el, where the base file name
14604 is not in load-path. (Bug#5277)
14605
14606 2013-05-11 Glenn Morris <rgm@gnu.org>
14607
14608 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14609 Provide features.
14610
14611 2013-05-11 Leo Liu <sdl.web@gmail.com>
14612
14613 * progmodes/octave.el (octave-indent-comment): Improve.
14614 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14615 (octave-eldoc-function-signatures, octave-eldoc-function):
14616 New functions.
14617 (octave-mode, inferior-octave-mode): Add eldoc support.
14618
14619 2013-05-11 Richard Stallman <rms@gnu.org>
14620
14621 * epa.el (epa-decrypt-file): Take output file name as argument
14622 and read it using `interactive'.
14623
14624 2013-05-11 Leo Liu <sdl.web@gmail.com>
14625
14626 * progmodes/octave.el (octave-beginning-of-line)
14627 (octave-end-of-line): Check before using up-list because it jumps
14628 out of more syntactic contructs since moving to smie.
14629 (octave-indent-comment): New function.
14630 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14631 (octave-begin-keywords, octave-end-keywords)
14632 (octave-reserved-words, octave-smie-bnf-table)
14633 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14634
14635 2013-05-11 Glenn Morris <rgm@gnu.org>
14636
14637 * faces.el (internal-face-x-get-resource):
14638 * frame.el (ns-display-monitor-attributes-list):
14639 * calc/calc-aent.el (math-to-radians-2):
14640 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14641 Fix declarations.
14642
14643 * calc/calc-menu.el: Make it loadable in isolation.
14644
14645 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14646 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14647 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14648 (eudc-bbdb-query-internal): Require 'bbdb.
14649
14650 * lpr.el (lpr-headers-switches):
14651 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14652
14653 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14654
14655 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14656
14657 * term.el (term-set-escape-char): Make it idempotent.
14658
14659 2013-05-10 Leo Liu <sdl.web@gmail.com>
14660
14661 * progmodes/octave.el (inferior-octave-completion-table):
14662 No longer a function and all uses changed. Use cache to speed up
14663 completion due to bug#11906.
14664 (octave-beginning-of-defun): Re-write to be more general.
14665
14666 2013-05-10 Glenn Morris <rgm@gnu.org>
14667
14668 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14669
14670 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14671
14672 * comint.el (comint-redirect-send-command-to-process): Use :around
14673 rather than :override for comint-redirect-filter.
14674 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14675 Call it instead of comint-redirect-original-filter-function (which
14676 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14677
14678 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14679
14680 * frame.el (display-monitor-attributes-list): Add NS case.
14681 (ns-display-monitor-attributes-list): Declare.
14682
14683 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14684
14685 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14686
14687 2013-05-09 Glenn Morris <rgm@gnu.org>
14688
14689 * international/fontset.el (vertical-centering-font-regexp):
14690 Set standard-value.
14691
14692 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14693
14694 * bookmark.el (bookmark-search-delay):
14695 * cus-start.el (vertical-centering-font-regexp):
14696 * ps-mule.el (ps-mule-font-info-database-default):
14697 * ps-print.el (ps-default-fg, ps-default-bg):
14698 * type-break.el (type-break-good-break-interval):
14699 * whitespace.el (whitespace-indentation-regexp)
14700 (whitespace-space-after-tab-regexp):
14701 * emacs-lisp/testcover.el (testcover-1value-functions)
14702 (testcover-noreturn-functions, testcover-progn-functions)
14703 (testcover-prog1-functions):
14704 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14705 * eshell/em-glob.el (eshell-glob-translate-alist):
14706 * play/tetris.el (tetris-tty-colors):
14707 * progmodes/cpp.el (cpp-face-default-list):
14708 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14709 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14710 (idlwave-help-browser-generic-args):
14711 * progmodes/make-mode.el (makefile-special-targets-list):
14712 * progmodes/python.el (python-shell-virtualenv-path):
14713 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14714 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14715 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14716 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14717 * textmodes/reftex-vars.el (reftex-format-label-function):
14718 * textmodes/remember.el (remember-diary-file): Fix custom types.
14719
14720 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14721 Add :version.
14722
14723 2013-05-09 Leo Liu <sdl.web@gmail.com>
14724
14725 * progmodes/octave.el (inferior-octave-completion-at-point):
14726 Restore file completion. (Bug#14300)
14727 (inferior-octave-startup): Fix incorrect highlighting for the
14728 first prompt.
14729
14730 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * progmodes/ruby-mode.el: First cut at SMIE support.
14733 (ruby-use-smie): New var.
14734 (ruby-smie-grammar): New constant.
14735 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14736 (ruby-smie--forward-token, ruby-smie--backward-token)
14737 (ruby-smie-rules): New functions.
14738 (ruby-mode-variables): Setup SMIE if applicable.
14739
14740 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14741
14742 * simple.el (line-move-visual): Signal beginning/end of buffer
14743 only if vertical-motion moved less than it was requested. Avoids
14744 silly incorrect error messages when there are display strings with
14745 multiple newlines at EOL.
14746
14747 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14748
14749 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14750 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14751 (prolog-char-quote-workaround):
14752 * progmodes/cperl-mode.el (cperl-under-as-char):
14753 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14754 Mark as obsolete.
14755 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14756 their declaration.
14757 (vhdl-mode-syntax-table-init): Remove.
14758
14759 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14760 last change.
14761
14762 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14763 syntax for "_".
14764 (ld-script-font-lock-keywords):
14765 Change regexps to use things like \_< and \_>.
14766
14767 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14768 Change all regexps to use things like \_< and \_>.
14769
14770 * progmodes/autoconf.el (autoconf-definition-regexp)
14771 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14772 Handle a _ with symbol syntax.
14773 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14774
14775 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14776 Consolidate declaration.
14777 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14778 the declaration.
14779 (ada-create-syntax-table): Remove.
14780 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14781 already has the right syntax nowadays.
14782 (ada-goto-next-word): Don't change the syntax of "_".
14783
14784 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14785 with-wrapper-hook.
14786
14787 2013-05-08 Sam Steingold <sds@gnu.org>
14788
14789 * thingatpt.el (thing-at-point): Accept optional second argument
14790 NO-PROPERTIES to strip the text properties from the return value.
14791 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14792 to `thing-at-point' instead of stripping the properties ourselves.
14793 Also, when `thing-at-point' fails to find a url, prepend "http://"
14794 to the filename at point on the assumption that the user is
14795 pointing at something like gnu.org/gnu.
14796
14797 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14798
14799 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14800 * faces.el (crm-separator):
14801 Silence byte-compiler.
14802
14803 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14804 (tool-bar-map): Remove unneeded defvars.
14805
14806 2013-05-08 Leo Liu <sdl.web@gmail.com>
14807
14808 Re-work a fix for bug#10994 based on Le Wang's patch.
14809 * ido.el (ido-remove-consecutive-dups): New helper.
14810 (ido-completing-read): Use it.
14811 (ido-chop): Revert fix for bug#10994.
14812
14813 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14814
14815 * cus-edit.el (custom-save-variables):
14816 Pretty-print long values. (Bug#14187)
14817
14818 2013-05-08 Glenn Morris <rgm@gnu.org>
14819
14820 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14821 (m4-mode-syntax-table): Init in the defvar.
14822 (m4-mode-abbrev-table): Let define-derived-mode define it.
14823
14824 2013-05-08 Tom Tromey <tromey@redhat.com>
14825
14826 * progmodes/m4-mode.el (m4-mode-syntax-table):
14827 Do not treat "_" as word constituent. (Bug#14167)
14828
14829 2013-05-07 Glenn Morris <rgm@gnu.org>
14830
14831 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14832 Remove explicit eshell-isearch-cancel-map.
14833
14834 * progmodes/f90.el (f90-smart-end-names): New option.
14835 (f90-smart-end): Doc fix.
14836 (f90-end-block-optional-name): New constant.
14837 (f90-block-match): Respect f90-smart-end-names.
14838
14839 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14840
14841 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14842 about implicit semi-colons (bug#14218).
14843
14844 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14845
14846 * frame.el (display-monitor-attributes-list)
14847 (frame-monitor-attributes): New functions.
14848
14849 2013-05-06 Leo Liu <sdl.web@gmail.com>
14850
14851 * progmodes/octave.el (octave-syntax-propertize-function): Change
14852 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14853 (octave-font-lock-keywords): Use octave-operator-regexp.
14854 (octave-completion-at-point): Rename from
14855 octave-completion-at-point-function.
14856 (inferior-octave-directory-tracker): Robustify.
14857 (octave-text-functions): Remove and fix its uses. No such things
14858 any more.
14859
14860 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14861
14862 * emacs-lisp/trace.el (trace--display-buffer): New function.
14863 (trace-make-advice): Use it.
14864
14865 2013-05-06 Juri Linkov <juri@jurta.org>
14866
14867 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14868 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14869 Doc fix.
14870 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14871 in the help string. (Bug#12985)
14872
14873 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14874
14875 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14876
14877 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14878
14879 * progmodes/perl-mode.el: Add support for here documents.
14880 (perl-syntax-propertize-function): Match here-doc markers.
14881 (perl-syntax-propertize-special-constructs): Find their end.
14882 (perl-imenu-generic-expression): Use [:alnum:].
14883
14884 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14885 (advice--add-function): Refresh the advice if already present
14886 (bug#14317).
14887
14888 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14889
14890 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14891
14892 2013-05-06 Glenn Morris <rgm@gnu.org>
14893
14894 * w32-fns.el (w32-charset-info-alist): Declare.
14895
14896 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14897 of its defcustom properties.
14898 (eshell-cmpl-initialize): No need to load pcomplete.
14899
14900 * generic-x.el: No need to require comint when compiling.
14901
14902 * net/eudc-export.el: Make it loadable without bbdb.
14903 (top-level): Use require rather than load-library.
14904 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14905 (eudc-batch-export-records-to-bbdb)
14906 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14907 Require bbdb.
14908
14909 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14910
14911 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14912 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14913 some tweaks, instead.
14914
14915 2013-05-05 Leo Liu <sdl.web@gmail.com>
14916
14917 * progmodes/octave.el (octave-font-lock-keywords)
14918 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14919 (inferior-octave-send-list-and-digest): Improve error message.
14920 (octave-mode, inferior-octave-mode): Use setq-local.
14921 (octave-help): Set info-lookup-mode.
14922
14923 2013-05-05 Richard Stallman <rms@gnu.org>
14924
14925 * vc/compare-w.el (compare-windows-whitespace):
14926 Treat no-break space as whitespace.
14927
14928 * mail/rmailsum.el (rmail-summary-rmail-update):
14929 Detect empty summary and don't change selected message.
14930 (rmail-summary-goto-msg): Likewise.
14931
14932 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14933 Doc fixes, rename args.
14934
14935 2013-05-05 Alan Mackenzie <acm@muc.de>
14936
14937 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14938
14939 2013-05-05 Juri Linkov <juri@jurta.org>
14940
14941 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14942 to not add the length of the summary segment to the return value.
14943 (Bug#14125)
14944
14945 2013-05-05 Leo Liu <sdl.web@gmail.com>
14946
14947 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14948 (inferior-octave-output-filter): Remove.
14949 (octave-send-region, inferior-octave-startup): Fix callers.
14950 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14951 (octave-binary-file-extensions): New user variable.
14952 (octave-find-definition): Confirm if opening binary files.
14953 (octave-help-file): Use octave-find-definition to get the binary
14954 confirmation.
14955 (octave-help): Adjust for octave-help-file change.
14956
14957 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14958
14959 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14960 Merge the two entries that handle function definitions.
14961 (pascal--syntax-propertize): New const.
14962 (pascal-mode): Use it. Use setq-local.
14963
14964 2013-05-04 Glenn Morris <rgm@gnu.org>
14965
14966 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14967 (diary-from-outlook): Respect diary-from-outlook-function.
14968
14969 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14970
14971 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14972 Move the declaration from C.
14973 (read-minibuffer, eval-minibuffer): Move from C.
14974 (completion-setup-function): Avoid minibuffer-completion-contents.
14975
14976 2013-05-03 Leo Liu <sdl.web@gmail.com>
14977
14978 * progmodes/octave.el (octave-font-lock-keywords): Do not
14979 dehighlight 'end' in comments or strings.
14980 (octave-completing-read, octave-goto-function-definition):
14981 New helpers.
14982 (octave-help-buffer): New user variable.
14983 (octave-help-file, octave-help-function): New button types.
14984 (octave-help): New command and bind it to C-h ;.
14985 (octave-find-definition): New command and bind it to M-.
14986 (user-error): Alias to error if not defined.
14987
14988 2013-05-02 Leo Liu <sdl.web@gmail.com>
14989
14990 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14991 for \. (bug#14332)
14992 (octave-font-lock-keywords): Include [ and {.
14993
14994 2013-05-02 Leo Liu <sdl.web@gmail.com>
14995
14996 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14997 (inferior-octave): Remove calling comint-mode and return the buffer.
14998 (inferior-octave-startup): Cosmetic changes.
14999
15000 2013-05-02 Leo Liu <sdl.web@gmail.com>
15001
15002 * progmodes/octave.el (octave-syntax-propertize-function):
15003 Include the case when ' is at line beginning. (Bug#14336)
15004
15005 2013-05-02 Glenn Morris <rgm@gnu.org>
15006
15007 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15008 * desktop.el (vc-dir-mode): Just autoload it here.
15009
15010 2013-05-02 Alan Mackenzie <acm@muc.de>
15011
15012 Eliminate variable c-standard-font-lock-fontify-region-function.
15013 * progmodes/cc-mode.el
15014 (c-standard-font-lock-fontify-region-function): Remove.
15015 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15016
15017 2013-05-01 Leo Liu <sdl.web@gmail.com>
15018
15019 * progmodes/octave.el: Compatible with older emacs-24 releases.
15020 (inferior-octave-has-built-in-variables): Remove. Built-in
15021 variables were removed from Octave in 2007.
15022 (inferior-octave-startup): Fix uses.
15023 (comint-line-beginning-position): Remove compatibility code for
15024 emacs 21.
15025
15026 2013-05-01 Juri Linkov <juri@jurta.org>
15027
15028 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15029
15030 2013-05-01 Juri Linkov <juri@jurta.org>
15031
15032 * comint.el (comint-previous-matching-input): Don't print message
15033 "History item: %d" when `isearch-mode' is active.
15034 (comint-history-isearch-message): Print message "History item: %d"
15035 when `comint-input-ring-index' is not empty and this function is
15036 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15037
15038 2013-05-01 Leo Liu <sdl.web@gmail.com>
15039
15040 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15041 definitions. Use completion-at-point to insert keywords.
15042 (octave-abbrev-start): Remove.
15043 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15044
15045 2013-04-30 Leo Liu <sdl.web@gmail.com>
15046
15047 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15048 change.
15049
15050 2013-04-30 Alan Mackenzie <acm@muc.de>
15051
15052 Handle arbitrarily long C++ member initialisation lists.
15053 * progmodes/cc-engine.el (c-back-over-member-initializers):
15054 new function.
15055 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15056 (most) member init lists.
15057
15058 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15059
15060 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15061 variable.
15062
15063 2013-04-30 Leo Liu <sdl.web@gmail.com>
15064
15065 * progmodes/octave.el (octave-variables): Remove. No builtin
15066 variables any more. All converted to functions.
15067 (octave-font-lock-keywords, octave-completion-at-point-function):
15068 Fix uses.
15069 (octave-font-lock-texinfo-comment): New user variable.
15070 (octave-texinfo-font-lock-keywords): New variable for texinfo
15071 comment block.
15072 (octave-function-comment-block): New face.
15073 (octave-font-lock-texinfo-comment): New function.
15074 (octave-mode): Font lock texinfo comment block.
15075
15076 2013-04-29 Leo Liu <sdl.web@gmail.com>
15077
15078 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15079 indexing expression.
15080 (octave-continuation-string): Do not use \.
15081 (inferior-octave-complete-impossible): Remove.
15082 (inferior-octave-completion-table)
15083 (inferior-octave-completion-at-point): Remove its uses.
15084 (inferior-octave-startup): completion_matches was introduced to
15085 Octave in 1996 so safe to assume it.
15086 (octave-function-file-comment): Improve to follow how Octave does it.
15087 (octave-update-function-file-comment): Tweak.
15088
15089 2013-04-29 Leo Liu <sdl.web@gmail.com>
15090
15091 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15092 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15093 (octave-function-file-comment): Fix typo.
15094 (octave-sync-function-file-names): Use read-char-choice.
15095
15096 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15097
15098 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15099 to t for the less important warnings.
15100
15101 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15102
15103 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15104
15105 2013-04-27 Glenn Morris <rgm@gnu.org>
15106
15107 * vc/log-view.el (log-view-current-entry):
15108 Treat "---" separator lines as part of the following rev. (Bug#14169)
15109
15110 2013-04-27 Juri Linkov <juri@jurta.org>
15111
15112 * subr.el (read-number): Doc fix about using it by interactive
15113 code letter `n'. (Bug#14254)
15114
15115 2013-04-27 Juri Linkov <juri@jurta.org>
15116
15117 * desktop.el (desktop-auto-save-timeout): New option.
15118 (desktop-file-checksum): New variable.
15119 (desktop-save): Add optional arg `auto-save' and don't auto-save
15120 if nothing changed.
15121 (desktop-auto-save-timer): New variable.
15122 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15123 (after-init-hook): Call `desktop-auto-save-set-timer'.
15124 Suggested by Reuben Thomas <rrt@sc3d.org> in
15125 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15126
15127 2013-04-27 Leo Liu <sdl.web@gmail.com>
15128
15129 * progmodes/octave.el (octave-function-file-p)
15130 (octave-skip-comment-forward, octave-function-file-comment)
15131 (octave-update-function-file-comment): New functions.
15132 (octave-mode-map): Bind C-c ; to
15133 octave-update-function-file-comment.
15134 (octave-mode-menu): Add octave-update-function-file-comment.
15135 (octave-mode, inferior-octave-mode): Fix doc-string.
15136 (octave-insert-defun): Conform to Octave's coding convention.
15137 (Bug#14285)
15138
15139 * files.el (basic-save-buffer): Don't let errors in
15140 before-save-hook prevent saving buffer.
15141
15142 2013-04-20 Roland Winkler <winkler@gnu.org>
15143
15144 * faces.el (read-face-name): Use completing-read if arg multiple
15145 is nil.
15146
15147 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15148
15149 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15150 displayed, move point to after the totals line.
15151 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15152 for the details.
15153
15154 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15155
15156 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15157 Add current dir to the load-path.
15158 (package-generate-autoloads): Don't rely on
15159 autoload-ensure-default-file.
15160
15161 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15162
15163 * textmodes/remember.el (remember-store-in-files): Document that
15164 the file name format is passed to `format-time-string'.
15165
15166 2013-04-26 Leo Liu <sdl.web@gmail.com>
15167
15168 * progmodes/octave.el (octave-sync-function-file-names): New function.
15169 (octave-mode): Use it in before-save-hook.
15170
15171 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15172
15173 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15174 (bug#14274).
15175
15176 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15177 \n and comment, even if it's not an implicit ; (bug#14218).
15178
15179 2013-04-26 Glenn Morris <rgm@gnu.org>
15180
15181 * subr.el (read-number): Once more use `read' rather than
15182 `string-to-number', to trap non-numeric input. (Bug#14254)
15183
15184 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15185
15186 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15187 Use `syntax-multiline' text property consistently instead of
15188 `font-lock-multiline'. (Bug#14237)
15189
15190 2013-04-26 Glenn Morris <rgm@gnu.org>
15191
15192 * emacs-lisp/shadow.el (list-load-path-shadows):
15193 No longer necessary to check for duplicate simple.el, since
15194 2012-07-07 change to init_lread to not include installation lisp
15195 directories in load-path when running uninstalled. (Bug#14270)
15196
15197 2013-04-26 Leo Liu <sdl.web@gmail.com>
15198
15199 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15200 (octave-mode, inferior-octave-mode): Use setq-local.
15201 (octave-not-in-string-or-comment-p): Rename to
15202 octave-in-string-or-comment-p.
15203 (octave-in-comment-p, octave-in-string-p)
15204 (octave-in-string-or-comment-p): Replace defsubst with defun.
15205
15206 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15207
15208 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15209
15210 2013-04-25 Bastien Guerry <bzg@gnu.org>
15211
15212 * textmodes/remember.el (remember-data-directory)
15213 (remember-directory-file-name-format): Fix custom types.
15214
15215 2013-04-25 Leo Liu <sdl.web@gmail.com>
15216
15217 * progmodes/octave.el (octave-completion-at-point-function):
15218 Make use of inferior octave process.
15219 (octave-initialize-completions): Remove.
15220 (inferior-octave-completion-table): New function.
15221 (inferior-octave-completion-at-point): Use it.
15222 (octave-completion-alist): Remove.
15223
15224 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15225
15226 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15227 (opascal-mode-syntax-table): New var.
15228 (opascal-literal-kind, opascal-is-literal-end)
15229 (opascal-literal-token-at): Rewrite.
15230 (opascal--literal-start-re, opascal-font-lock-keywords)
15231 (opascal--syntax-propertize): New constants.
15232 (opascal-font-lock-defaults): Adjust.
15233 (opascal-mode): Use them. Set comment-<foo> variables as well.
15234 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15235 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15236 (delphi-other-face, opascal-other-face): Remove face variables.
15237 (opascal-save-state): Remove macro.
15238 (opascal-fontifying-progress-step): Remove constant.
15239 (opascal--ignore-changes): Remove var.
15240 (opascal-set-token-property, opascal-parse-next-literal)
15241 (opascal-is-stable-literal, opascal-complete-literal)
15242 (opascal-is-literal-start, opascal-face-of)
15243 (opascal-parse-region, opascal-parse-region-until-stable)
15244 (opascal-fontify-region, opascal-after-change)
15245 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15246 (opascal-debug-parse-region, opascal-debug-parse-window)
15247 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15248 (opascal-debug-fontify-buffer): Remove.
15249 (opascal-debug-mode-map): Adjust accordingly.
15250
15251 2013-04-25 Leo Liu <sdl.web@gmail.com>
15252
15253 Merge octave-mod.el and octave-inf.el into octave.el with some
15254 cleanups.
15255 * progmodes/octave.el: New file renamed from octave-mod.el.
15256 * progmodes/octave-inf.el: Merged into octave.el.
15257 * progmodes/octave-mod.el: Renamed to octave.el.
15258
15259 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15260
15261 * textmodes/reftex-vars.el
15262 (reftex-label-ignored-macros-and-environments): New defcustom.
15263
15264 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15265
15266 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15267
15268 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15269 (smie-indent-keyword): Improve the check to ensure that the next
15270 comment is really on the same line.
15271 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15272
15273 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15274 semi-colons if the line is not otherwise empty (bug#14218).
15275
15276 2013-04-25 Glenn Morris <rgm@gnu.org>
15277
15278 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15279
15280 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15281
15282 * progmodes/opascal.el (opascal-set-token-property): Rename from
15283 opascal-set-text-properties and only set `token' (bug#14134).
15284 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15285 (opascal-literal-text-properties): Remove.
15286 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15287 Adjust callers.
15288
15289 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15290
15291 * textmodes/remember.el (remember-handler-functions): Add an
15292 option for a new handler `remember-store-in-files'.
15293 (remember-data-directory, remember-directory-file-name-format):
15294 New options.
15295 (remember-store-in-files): New function to store remember notes
15296 as separate files within a directory.
15297
15298 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15299
15300 * progmodes/compile.el (compilation-next-error-function):
15301 Pass "formats" to compilation-find-file (bug#11777).
15302
15303 2013-04-24 Glenn Morris <rgm@gnu.org>
15304
15305 * vc/vc-bzr.el (vc-bzr-print-log):
15306 * vc/vc-hg.el (vc-hg-print-log):
15307 * vc/vc-svn.el (vc-svn-print-log):
15308 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15309
15310 * vc/vc-bzr.el (vc-bzr-print-log):
15311 * vc/vc-cvs.el (vc-cvs-print-log):
15312 * vc/vc-git.el (vc-git-print-log):
15313 * vc/vc-hg.el (vc-hg-print-log):
15314 * vc/vc-mtn.el (vc-mtn-print-log):
15315 * vc/vc-rcs.el (vc-rcs-print-log):
15316 * vc/vc-sccs.el (vc-sccs-print-log):
15317 * vc/vc-svn.el (vc-svn-print-log):
15318 * vc/vc.el (vc-print-log-internal): Doc fixes.
15319
15320 2013-04-23 Glenn Morris <rgm@gnu.org>
15321
15322 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15323 Remove venerable code attempting to avoid substitute-command-keys.
15324
15325 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15326
15327 * textmodes/reftex-vars.el (reftex-label-regexps):
15328 Call `reftex-compile-variables' after changes to this variable.
15329
15330 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15331
15332 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15333 Use lexical-binding.
15334 (jit-lock-force-redisplay): Use markers, check buffer's continued
15335 existence and beware narrowed buffers.
15336 (jit-lock-fontify-now): Adjust call accordingly.
15337
15338 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15339
15340 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15341 to avoid misleading the user.
15342
15343 2013-04-22 Leo Liu <sdl.web@gmail.com>
15344
15345 * info-look.el: Prefer latex2e.info. (Bug#14240)
15346
15347 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15348
15349 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15350
15351 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15352 * net/tramp.el (tramp-call-process): ... here.
15353 (tramp-set-completion-function, tramp-parse-putty):
15354 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15355 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15356 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15357 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15358 (tramp-call-local-coding-command): Use `tramp-call-process'
15359 instead of `tramp-compat-call-process'.
15360
15361 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15362 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15363 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15364 (tramp-find-inline-compress): Improve traces.
15365 (tramp-maybe-send-script): Check for Perl binary.
15366 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15367
15368 2013-04-22 Daiki Ueno <ueno@gnu.org>
15369
15370 * epg.el (epg-context-pinentry-mode): New function.
15371 (epg-context-set-pinentry-mode): New function.
15372 (epg--start): Pass --pinentry-mode option to gpg command.
15373
15374 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15375
15376 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15377 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15378 `completion-at-point'. (Bug#13774)
15379
15380 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15381 default key binding for `describe-distribution' has been moved to
15382 `C-h C-o'. (Bug#13970)
15383
15384 2013-04-21 Glenn Morris <rgm@gnu.org>
15385
15386 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15387 Add doc strings.
15388 (vc-print-log): Clarify interactive prompt.
15389
15390 2013-04-20 Glenn Morris <rgm@gnu.org>
15391
15392 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15393 No longer include timestamp etc information.
15394
15395 2013-04-20 Roland Winkler <winkler@gnu.org>
15396
15397 * faces.el (read-face-name): Bug fix, return just one face if arg
15398 multiple is nil. (Bug#14209)
15399
15400 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15401
15402 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15403 (remove-function): Autoload.
15404
15405 * comint.el (comint-redirect-original-filter-function): Remove.
15406 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15407 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15408 (vc-cvs-annotate-command):
15409 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15410 * progmodes/prolog.el (prolog-consult-compile):
15411 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15412 Use add/remove-function instead.
15413 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15414 (gud-tooltip-process-output, gud-tooltip-tips):
15415 Use add/remove-function instead.
15416 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15417 (scheme-interaction-mode, exit-scheme-interaction-mode):
15418 Use add/remove-function instead.
15419
15420 * vc/vc-dispatcher.el: Use lexical-binding.
15421 (vc--process-sentinel): Rename from vc-process-sentinel.
15422 Change last arg to be the code to run. Don't use vc-previous-sentinel
15423 and vc-sentinel-commands any more.
15424 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15425 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15426
15427 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15428
15429 * progmodes/sh-script.el (sh-imenu-generic-expression):
15430 Handle function names with a single character. (Bug#14111)
15431
15432 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15433
15434 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15435 for subroutines defined in an eval (bug#14182).
15436
15437 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15438
15439 * bookmark.el (bookmark-completing-read): Improve handling of empty
15440 string (bug#14176).
15441
15442 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15443
15444 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15445
15446 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15447
15448 New faster Imenu implementation (bug#14058).
15449 * progmodes/python.el (python-imenu-prev-index-position)
15450 (python-imenu-format-item-label-function)
15451 (python-imenu-format-parent-item-label-function)
15452 (python-imenu-format-parent-item-jump-label-function):
15453 New vars.
15454 (python-imenu-format-item-label)
15455 (python-imenu-format-parent-item-label)
15456 (python-imenu-format-parent-item-jump-label)
15457 (python-imenu--put-parent, python-imenu--build-tree)
15458 (python-imenu-create-index, python-imenu-create-flat-index)
15459 (python-util-popn): New functions.
15460 (python-mode): Set imenu-create-index-function to
15461 python-imenu-create-index.
15462
15463 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15464
15465 * winner.el (winner-active-region): Use region-active-p, activate-mark
15466 and deactivate-mark (bug#14225).
15467
15468 * simple.el (deactivate-mark): Don't inline it.
15469
15470 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15471
15472 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15473
15474 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15475
15476 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15477 file extensions from the archive-mode entry in order to prefer
15478 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15479
15480 2013-04-18 Leo Liu <sdl.web@gmail.com>
15481
15482 * bindings.el (help-event-list): Add ?\?.
15483
15484 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15485
15486 * subr.el (with-wrapper-hook): Declare obsolete.
15487 * simple.el (filter-buffer-substring-function): New hook.
15488 (filter-buffer-substring): Use it.
15489 (filter-buffer-substring-functions): Mark obsolete.
15490 * minibuffer.el (completion-in-region-function): New hook.
15491 (completion-in-region): Use it.
15492 (completion-in-region-functions): Mark obsolete.
15493 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15494 * abbrev.el (abbrev-expand-function): New hook.
15495 (expand-abbrev): Use it.
15496 (abbrev-expand-functions): Mark obsolete.
15497 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15498 and :filter-return.
15499
15500 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15501
15502 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15503 and do not care about match data.
15504
15505 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15506
15507 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15508 completion tables when completing error conditions and
15509 `declare' arguments.
15510 (lisp-complete-symbol, field-complete): Mark as obsolete.
15511 (check-parens): Unmatched parens are user errors.
15512 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15513
15514 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15515
15516 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15517 command changed buffer (ie. `flyspell-pre-buffer' is not current
15518 buffer), which prevents making decisions based on invalid value of
15519 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15520 cause an error when `flyspell-pre-point' was nil after switching
15521 buffers.
15522 (flyspell-post-command-hook): No longer needs to change buffers when
15523 checking pre-word. While at it remove unnecessary progn.
15524
15525 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15526
15527 * textmodes/ispell.el (ispell-add-per-file-word-list):
15528 Fix `flyspell-correct-word-before-point' error when accepting
15529 words and `coment-padding' is an integer by using
15530 `comment-normalize-vars' (Bug #14214).
15531
15532 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15533
15534 New defun movement commands.
15535 * progmodes/python.el (python-nav--syntactically)
15536 (python-nav--forward-defun, python-nav-backward-defun)
15537 (python-nav-forward-defun): New functions.
15538
15539 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15540
15541 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15542 (python-syntax-context): Use named compiler-macro for backwards
15543 compatibility with Emacs 24.x.
15544
15545 2013-04-17 Leo Liu <sdl.web@gmail.com>
15546
15547 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15548 octave-hide-process-buffer.
15549
15550 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15553 (bug#14216).
15554
15555 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15556
15557 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15558 Fix adjustment of offset when receiving incomplete responses from GDB
15559 (bug#14129).
15560
15561 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15564 python-mode-abbrev-table.
15565 (python-skeleton-define): Adjust accordingly.
15566 (python-mode-abbrev-table): New table that inherits from it so that
15567 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15568
15569 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15570 (abbrev-symbol): Use it.
15571 (abbrev--before-point): Use it since we already handle inheritance.
15572
15573 2013-04-16 Leo Liu <sdl.web@gmail.com>
15574
15575 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15576 binding to info-lookup-symbol.
15577
15578 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15579
15580 * minibuffer.el (completion--twq-all):
15581 * term/ns-win.el (ns-initialize-window-system):
15582 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15583
15584 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15585
15586 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15587 global bindings.
15588
15589 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15590
15591 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15592
15593 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15594 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15595 to nil.
15596 (ruby-end-of-defun): Remove the unused arg, change the docstring
15597 to reflect that this function is only used as the value of
15598 `end-of-defun-function'.
15599 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15600 to reflect an earlier change that beginning/end-of-defun functions
15601 jump between methods in a class definition, as well as top-level
15602 functions.
15603
15604 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15605
15606 * minibuffer.el (minibuffer-complete): Don't just scroll
15607 a *Completions* that's been iconified.
15608 (minibuffer-force-complete): Make sure repetitions do cycle when going
15609 through completion-in-region -> minibuffer-complete.
15610
15611 2013-04-15 Alan Mackenzie <acm@muc.de>
15612
15613 Correct the placement of c-cpp-delimiters when there're #s not at
15614 col 0.
15615
15616 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15617 place a submatch around the #.
15618 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15619 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15620 on the #, not BOL.
15621
15622 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15623
15624 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15625 (advice--member-p): New arg `name'.
15626 (advice--add-function, advice-member-p): Use it (bug#14202).
15627
15628 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15629
15630 Reformulate java imenu-generic-expression.
15631 The old expression contained ill formed regexps.
15632
15633 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15634 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15635 (cc-imenu-java-method-arg-regexp): New defconsts.
15636 (cc-imenu-java-build-type-args-regex): New defun.
15637 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15638 handling of spaces in the regexp.
15639
15640 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15641
15642 * textmodes/ispell.el (ispell-command-loop): Remove
15643 flyspell highlight of a word when ispell accepts it (bug #14178).
15644
15645 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15646
15647 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15648 uses code from the previous `ange-ftp-run-real-handler'.
15649 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15650 only in case that function exist. This is needed for proper
15651 unloading of Tramp.
15652
15653 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15654
15655 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15656
15657 * textmodes/reftex.el (reftex-compile-variables): Use it.
15658
15659 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15660
15661 * files.el (normal-mode): Only use default major-mode if no other mode
15662 was specified.
15663
15664 * emacs-lisp/trace.el (trace-values): New function.
15665
15666 * files.el: Allow : in local variables (bug#14089).
15667 (hack-local-variable-regexp): New var.
15668 (hack-local-variables-prop-line, hack-local-variables): Use it.
15669
15670 2013-04-13 Roland Winkler <winkler@gnu.org>
15671
15672 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15673 data before it gets modified by bibtex-beginning-of-entry.
15674
15675 2013-04-13 Roland Winkler <winkler@gnu.org>
15676
15677 * textmodes/bibtex.el (bibtex-url): Doc fix.
15678
15679 2013-04-13 Roland Winkler <winkler@gnu.org>
15680
15681 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15682 does not visit a BibTeX file, exclude it from the list of buffers
15683 returned by bibtex-initialize.
15684
15685 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15686
15687 * window.el (split-window): Remove interactive form, since as a
15688 command this function is a special case of split-window-below.
15689 Correct doc string.
15690
15691 2013-04-12 Roland Winkler <winkler@gnu.org>
15692
15693 * faces.el (read-face-name): Do not override value of arg default.
15694 Allow single faces and strings as default values. Remove those
15695 elements from return value that are not faces.
15696 (describe-face): Simplify.
15697 (face-at-point): New optional args thing and multiple so that this
15698 function can provide the same functionality previously provided by
15699 read-face-name.
15700 (make-face-bold, make-face-unbold, make-face-italic)
15701 (make-face-unitalic, make-face-bold-italic, invert-face)
15702 (modify-face, read-face-and-attribute): Use face-at-point.
15703
15704 * cus-edit.el (customize-face, customize-face-other-window)
15705 * cus-theme.el (custom-theme-add-face)
15706 * face-remap.el (buffer-face-set)
15707 * facemenu.el (facemenu-set-face): Use face-at-point.
15708
15709 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15710
15711 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15712
15713 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15714
15715 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15716 off leading { and trailing } from field values.
15717
15718 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15719
15720 * emacs-lisp/timer.el (timer--check): New function.
15721 (timer--time, timer-set-function, timer-event-handler): Use it.
15722 (timer-set-idle-time): Simplify.
15723 (timer--activate): CSE.
15724 (timer-event-handler): Give more info in error message.
15725 (internal-timer-start-idle): New function, moved from C.
15726
15727 * mpc.el (mpc-proc): Add `restart' argument.
15728 (mpc-proc-cmd): Use it.
15729 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15730 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15731 less often.
15732
15733 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15734
15735 * progmodes/sh-script.el: Implement `sh-mode' own
15736 `add-log-current-defun-function' (bug#14112).
15737 (sh-current-defun-name): New function.
15738 (sh-mode): Use the function.
15739
15740 2013-04-09 Bastien Guerry <bzg@gnu.org>
15741
15742 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15743
15744 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15745
15746 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15747
15748 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15749 timer (bug#14156).
15750
15751 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15752
15753 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15754 declaration.
15755
15756 2013-04-07 Leo Liu <sdl.web@gmail.com>
15757
15758 * pcmpl-x.el: New file.
15759
15760 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15761
15762 Do not set x-display-name until X connection is established.
15763 This is needed to prevent from weird situation described at
15764 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15765 * frame.el (make-frame): Set x-display-name after call to
15766 window system initialization function, not before.
15767 * term/x-win.el (x-initialize-window-system): Add optional
15768 display argument and use it.
15769 * term/w32-win.el (w32-initialize-window-system):
15770 * term/ns-win.el (ns-initialize-window-system):
15771 * term/pc-win.el (msdos-initialize-window-system):
15772 Add compatible optional display argument.
15773
15774 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15775
15776 * files.el (normal-backup-enable-predicate): On MS-Windows and
15777 MS-DOS compare truenames of temporary-file-directory and of the
15778 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15779 don't fail comparison by compare-strings. Also, compare file
15780 names case-insensitively on MS-Windows and MS-DOS.
15781
15782 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15783
15784 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15785 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15786
15787 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15788
15789 * whitespace.el (whitespace-color-on, whitespace-color-off):
15790 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15791
15792 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15793
15794 * ispell.el (ispell-set-spellchecker-params):
15795 Really set `ispell-args' for all equivs.
15796
15797 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15798
15799 * ido.el (ido-completions): Use extra elements of ido-decorations
15800 (bug#14143).
15801 (ido-decorations): Update docstring.
15802
15803 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15804
15805 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15806 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15807 nil during initialization, in order not to miss changes since the
15808 file was opened. (Bug#14140)
15809
15810 2013-04-05 Leo Liu <sdl.web@gmail.com>
15811
15812 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15813
15814 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15815
15816 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15817
15818 2013-04-04 Glenn Morris <rgm@gnu.org>
15819
15820 * electric.el (electric-pair-inhibit-predicate): Add :version.
15821
15822 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15823
15824 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15825 when a package is required several times (bug#14082).
15826
15827 2013-04-04 Roland Winkler <winkler@gnu.org>
15828
15829 * faces.el (read-face-name): Behave as promised by the docstring.
15830 Assume that arg default is a list of faces.
15831 (describe-face): Call read-face-name with list of default faces.
15832
15833 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15834
15835 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15836 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15837 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15838 the header.
15839 (bookmark-exit-hook-internal): Save even if list is empty.
15840
15841 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15842
15843 * emacs-lisp/package.el (package-pinned-packages): New var.
15844 (package--add-to-archive-contents): Obey it (bug#14118).
15845
15846 2013-04-03 Alan Mackenzie <acm@muc.de>
15847
15848 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15849 Also adapt to the new values of element 7 of a parse state.
15850
15851 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15852 parameter `not-in-delimiter'. Handle being inside comment opener.
15853 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15854 character in case we're typing a '*' after a '/'.
15855 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15856 instead by passing the parameter to c-state-pp-to-literal.
15857
15858 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15859 for elt. 7 of a parse state.
15860
15861 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15862
15863 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15864 * international/latin1-disp.el, international/mule-util.el:
15865 * language/cyril-util.el, language/european.el, language/ind-util.el:
15866 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15867 * language/tibetan.el, language/viet-util.el:
15868 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15869
15870 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15871
15872 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15873 (electric-pair-post-self-insert-function): Use it.
15874 (electric-pair-default-inhibit): New function, extracted from
15875 electric-pair-post-self-insert-function.
15876
15877 2013-03-31 Roland Winkler <winkler@gnu.org>
15878
15879 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15880
15881 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15882
15883 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15884
15885 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15886
15887 Un-indent after "pass" and "return" statements (Bug#13888)
15888 * progmodes/python.el (python-indent-block-enders): New var.
15889 (python-indent-calculate-indentation): Use it.
15890
15891 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15892
15893 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15894 defun. Defining it as defalias could introduce too eager
15895 byte-compiler optimization. (Bug#14030)
15896
15897 2013-03-30 Chong Yidong <cyd@gnu.org>
15898
15899 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15900
15901 2013-03-30 Leo Liu <sdl.web@gmail.com>
15902
15903 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15904 (kmacro-execute-from-register): Pass the keyboard macro to
15905 kmacro-call-macro or repeating won't work correctly.
15906
15907 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15908
15909 * progmodes/subword.el: Back to using `forward-symbol'.
15910
15911 * subr.el (forward-whitespace, forward-symbol)
15912 (forward-same-syntax): Move from thingatpt.el.
15913
15914 2013-03-29 Leo Liu <sdl.web@gmail.com>
15915
15916 * kmacro.el (kmacro-to-register): New command.
15917 (kmacro-execute-from-register): New function.
15918 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15919
15920 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15921
15922 * mpc.el: Use defvar-local and setq-local.
15923 (mpc--proc-connect): Connection failures are not bugs.
15924 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15925 (mpc-volume-map): Bind to the up-events.
15926
15927 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15928
15929 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15930 instead of `forward-symbol'.
15931
15932 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15933
15934 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15935 (edebug--recursive-edit): Use it.
15936 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15937 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15938
15939 2013-03-28 Leo Liu <sdl.web@gmail.com>
15940
15941 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15942
15943 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15944
15945 * facemenu.el (list-colors-callback): New defvar.
15946 (list-colors-redisplay): New function.
15947 (list-colors-display): Install list-colors-redisplay as the
15948 revert-buffer-function. (Bug#14063)
15949
15950 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15951
15952 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15953 and suffixes don't overlap (bug#14061).
15954
15955 * case-table.el: Use lexical-binding.
15956 (case-table-get-table): New function.
15957 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15958
15959 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15960
15961 * progmodes/subword.el: Add `superword-mode' to do word motion
15962 over symbol_words (parallels and leverages `subword-mode' which
15963 does word motion inside MixedCaseWords).
15964
15965 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15966
15967 * eshell/em-unix.el: Move su and sudo to...
15968 * eshell/em-tramp.el: ...Eshell tramp module.
15969
15970 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15971
15972 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15973 Change return value to be a sexp. Delay `get-buffer' to after
15974 restoring the desktop (bug#13951).
15975
15976 2013-03-26 Leo Liu <sdl.web@gmail.com>
15977
15978 * register.el: Move semantic tag handling back to
15979 cedet/semantic/senator.el. (Bug#14052)
15980
15981 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15982
15983 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15984 into the prompt either (bug#13963).
15985
15986 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15987
15988 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15989 part of "(error-foo)".
15990
15991 2013-03-24 Juri Linkov <juri@jurta.org>
15992
15993 * replace.el (list-matching-lines-prefix-face): New defcustom.
15994 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15995 `occur-engine' if `face-differs-from-default-p' returns t.
15996 (occur-engine): Add `,' inside backquote construct to evaluate
15997 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15998 Pass `prefix-face' to the functions `occur-context-lines' and
15999 `occur-engine-add-prefix'.
16000 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16001 `prefix-face' and propertize the prefix with `prefix-face'.
16002 (Bug#14017)
16003
16004 2013-03-24 Leo Liu <sdl.web@gmail.com>
16005
16006 * nxml/rng-valid.el (rng-validate-while-idle)
16007 (rng-validate-quick-while-idle): Guard against deleted buffer.
16008 (Bug#13999)
16009
16010 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16011 is the last entry in kill-buffer-hook.
16012
16013 * files.el (kill-buffer-hook): Doc fix.
16014
16015 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16016
16017 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16018 Make it safe-local.
16019
16020 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16021
16022 2013-03-23 Leo Liu <sdl.web@gmail.com>
16023
16024 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16025 Remove.
16026
16027 * nxml/rng-valid.el (rng-validate-mode)
16028 (rng-after-change-function, rng-do-some-validation):
16029 * nxml/rng-maint.el (rng-validate-buffer):
16030 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16031 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16032 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16033 (nxml-extend-after-change-region): Use with-silent-modifications.
16034
16035 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16036 timer-idle-list.
16037
16038 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16039 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16040 timer-idle-list. (Bug#13999)
16041
16042 2013-03-23 Juri Linkov <juri@jurta.org>
16043
16044 * info.el (info-index-match): New face.
16045 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16046 main pattern and add text properties with the new face to matches
16047 in index entries relative to the beginning of the index entry.
16048 (Bug#14015)
16049
16050 2013-03-21 Eric Ludlam <zappo@gnu.org>
16051
16052 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16053 Inhibit read only while inserting objects.
16054
16055 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16056
16057 * progmodes/cfengine.el: Update docs to mention
16058 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16059 symbol motion. Remove "_" from the word syntax.
16060
16061 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16062
16063 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16064 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16065
16066 2013-03-20 Juri Linkov <juri@jurta.org>
16067
16068 * info.el (Info-next-reference-or-link)
16069 (Info-prev-reference-or-link): New functions.
16070 (Info-next-reference, Info-prev-reference): Use them.
16071 (Info-try-follow-nearest-node): Handle footnote navigation.
16072 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16073
16074 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16075
16076 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16077 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16078
16079 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16080
16081 Suppress unnecessary non-ASCII chatter during build process.
16082 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16083 (batch-skkdic-convert): Suppress most of the chatter.
16084 It's not needed so much now that machines are faster,
16085 and its non-ASCII component was confusing; see Dmitry Gutov in
16086 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16087
16088 2013-03-20 Leo Liu <sdl.web@gmail.com>
16089
16090 * ido.el (ido-chop): Fix bug#10994.
16091
16092 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16093
16094 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16095 Remove vars.
16096 (whitespace-color-on, whitespace-color-off):
16097 Use `font-lock-fontify-buffer' (Bug#13817).
16098
16099 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16100
16101 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16102 remapping in mode-line.
16103 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16104
16105 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16106
16107 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16108 value for `whitespace-line' face (Bug#13875).
16109 (whitespace-font-lock-keywords): Change description.
16110 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16111 the constructed keywords instead.
16112 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16113
16114 2013-03-19 Leo Liu <sdl.web@gmail.com>
16115
16116 * progmodes/compile.el (compilation-display-error): New command.
16117 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16118 C-o. (Bug#13992)
16119
16120 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16121
16122 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16123
16124 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16125
16126 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16127
16128 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16129
16130 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16131
16132 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16133 * net/tramp-gvfs.el (top):
16134 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16135 (tramp-handle-shell-command): Use it.
16136 (tramp-dissect-file-name): Raise an error when hostname is a
16137 method name, and neither method nor user is specified.
16138
16139 * net/trampver.el: Update release number.
16140
16141 2013-03-18 Leo Liu <sdl.web@gmail.com>
16142
16143 Make sure eldoc can be turned off properly.
16144 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16145 eldoc-mode.
16146 (eldoc-display-message-p): Revert last change.
16147 (eldoc-display-message-no-interference-p)
16148 (eldoc-print-current-symbol-info): Tweak.
16149
16150 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16151
16152 * doc-view.el (doc-view-new-window-function): Check the new window
16153 overlay's display property instead the char property of the
16154 buffer's first char. Use `with-selected-window' instead of
16155 `save-window-excursion' with `select-window'.
16156 (doc-view-document->bitmap): Check the current doc-view overlay's
16157 display property instead the char property of the buffer's first char.
16158
16159 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16160
16161 Automate the build of ja-dic.el (Bug#13984).
16162 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16163 from the input, rather than assume that it's been done for us by the
16164 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16165 the current date into a ja-dic.el comment, as that complicates
16166 regression testing.
16167
16168 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16169
16170 * whitespace.el: Fix double evaluation.
16171 (whitespace-space, whitespace-hspace, whitespace-tab)
16172 (whitespace-newline, whitespace-trailing, whitespace-line)
16173 (whitespace-space-before-tab, whitespace-indentation)
16174 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16175 obsolete defvars.
16176 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16177 (whitespace-color-on): Use a single font-lock-add-keywords call.
16178 Fix double-evaluation of face variables.
16179
16180 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16181
16182 * net/tramp-adb.el (tramp-adb-parse-device-names):
16183 Use `start-process' instead of `call-process'. Otherwise, the
16184 function might be blocked under MS Windows. (Bug#13299)
16185
16186 2013-03-17 Leo Liu <sdl.web@gmail.com>
16187
16188 Extend eldoc to display info in the mode-line. (Bug#13978)
16189 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16190 (eldoc-mode-line-string): New variable.
16191 (eldoc-minibuffer-message): New function.
16192 (eldoc-message-function): New variable.
16193 (eldoc-message): Use it.
16194 (eldoc-display-message-p)
16195 (eldoc-display-message-no-interference-p):
16196 Support eldoc-post-insert-mode.
16197
16198 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16199 (eval-expression): Run it.
16200
16201 2013-03-17 Roland Winkler <winkler@gnu.org>
16202
16203 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16204 strings in the list of return values.
16205
16206 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16207
16208 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16209 radix before checking for HMS forms.
16210
16211 2013-03-16 Leo Liu <sdl.web@gmail.com>
16212
16213 * progmodes/scheme.el: Add indentation and font-locking for λ.
16214 (Bug#13975)
16215
16216 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16217
16218 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16219 token before point (bug#13942).
16220
16221 2013-03-16 Leo Liu <sdl.web@gmail.com>
16222
16223 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16224
16225 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16226
16227 * startup.el (command-line-normalize-file-name): Fix handling of
16228 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16229 <xfq.free@gmail.com> in
16230 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16231
16232 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16233
16234 Sync with Tramp 2.2.7.
16235
16236 * net/trampver.el: Update release number.
16237
16238 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16239
16240 * doc-view.el: Fix bug#13887.
16241 (doc-view-insert-image): Don't modify overlay associated to
16242 non-live windows, and implement horizontal centering of image in
16243 case it's smaller than the window.
16244 (doc-view-new-window-function): Force redisplay of new windows on
16245 doc-view buffers.
16246
16247 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16248
16249 * saveplace.el (save-place-alist-to-file): Don't sort
16250 `save-place-alist', just pretty-print it (bug#13882).
16251
16252 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16253
16254 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16255 Check whether `default-file-name-coding-system' is bound.
16256 It isn't in XEmacs.
16257
16258 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16259
16260 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16261 backquotes for `obsolete' (bug#13929).
16262
16263 * international/mule.el (find-auto-coding): Include file name in
16264 obsolescence warning (bug#13922).
16265
16266 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16267
16268 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16269 for CFEngine 3-specific indentation.
16270 (cfengine3-indent-line): Use it. Fix up category regex.
16271 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16272
16273 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16274
16275 * type-break.el (type-break-file-name):
16276 * textmodes/remember.el (remember-data-file):
16277 * strokes.el (strokes-file):
16278 * shadowfile.el (shadow-initialize):
16279 * saveplace.el (save-place-file):
16280 * ps-bdf.el (bdf-cache-file):
16281 * progmodes/idlwave.el (idlwave-config-directory):
16282 * net/quickurl.el (quickurl-url-file):
16283 * international/kkc.el (kkc-init-file-name):
16284 * ido.el (ido-save-directory-list-file):
16285 * emulation/viper.el (viper-custom-file-name):
16286 * emulation/vip.el (vip-startup-file):
16287 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16288 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16289
16290 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16291
16292 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16293 * language/thai-word.el: Switch to UTF-8.
16294
16295 See ChangeLog.16 for earlier changes.
16296
16297 ;; Local Variables:
16298 ;; coding: utf-8
16299 ;; End:
16300
16301 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16302
16303 This file is part of GNU Emacs.
16304
16305 GNU Emacs is free software: you can redistribute it and/or modify
16306 it under the terms of the GNU General Public License as published by
16307 the Free Software Foundation, either version 3 of the License, or
16308 (at your option) any later version.
16309
16310 GNU Emacs is distributed in the hope that it will be useful,
16311 but WITHOUT ANY WARRANTY; without even the implied warranty of
16312 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16313 GNU General Public License for more details.
16314
16315 You should have received a copy of the GNU General Public License
16316 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.