]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
tildify.el: Improve defcustom's types
[gnu-emacs] / lisp / ChangeLog
1 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
2
3 * textmodes/tildify.el (tildify-pattern-alist)
4 (tildify-string-alist, tildify-ignored-environments-alist):
5 Improve defcustom's types by adding more tags explaining what each
6 value means and replace “sexp” used in
7 `tildify-ignored-environments-alist' with a full type declaration.
8
9 * textmodes/tildify.el (tildify-find-env): Fix matched group
10 indexes in end-regex building
11
12 When looking for a start of an ignore-environment, the regex is built
13 by concatenating regexes of all the environments configured in
14 `tildify-ignored-environments-alist'. So for example, the following
15 list could be used to match TeX's \verb and \verb* commands:
16
17 (("\\\\verb\\(.\\)" . (1))
18 ("\\\\verb\\*\\(.\\)" . (1)))
19
20 This would result in the following regex being used to find the start
21 of any of the variants of the \verb command:
22
23 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
24
25 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
26 won't match anything, and thus (match-string 1) will be nil, which
27 will cause building of the end-matching regex to fail.
28
29 Fix this by using capture groups from the time when the opening
30 regexes are matched individually.
31
32 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
33 in `tildify-find-env'
34
35 The `tildify-ignored-environments-alist' allows the end-regex to
36 be provided not as a static string but mix of strings and indexes
37 of groups matched the begin-regex. For example, the “\verb!…!”
38 TeX-command (where “!” is an arbitrary character) is handled
39 using:
40
41 ("\\\\verb\\*?\\(.\\)" . (1))
42
43 In the same way, the following should be supported as well:
44
45 ("open-\\(.\\)" . ("end-" 1))
46
47 However the tildify-find-env function fails at
48
49 (concat result
50 (if (stringp (setq aux (car expression)))
51 expression ; BUG: expression is a list
52 (regexp-quote (match-string aux))))
53
54 where the string part is handled incorrectly.
55
56 The most trivial fix would be to replace `expression' in the
57 true-part of the if-statement with `aux', but instead, this commit
58 optimises `tildify-find-env' by changing it to use `mapconcat'
59 rather than open-coded while-loop.
60
61 2014-06-05 Mario Lang <mlang@delysid.org>
62
63 * woman.el (woman-mapcan): Remove.
64 (woman-parse-colon-path): Use cl-mapcan instead.
65
66 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
67
68 * register.el: Add link to Emacs manual in Commentary.
69
70 2014-06-02 Sam Steingold <sds@gnu.org>
71
72 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
73 (popup-menu): ...here.
74 (menu-bar-open): Use it to avoid an error when `lookup-key'
75 returns a number.
76
77 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
78
79 * net/tramp.el (tramp-call-process): Add traces.
80 (tramp-handle-unhandled-file-name-directory): Return "/".
81
82 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
83
84 Sync with upstream verilog-mode revision 3cd8144.
85 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
86 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
87 (verilog-type-font-keywords): Add nor.
88 (verilog-batch-execute-func): Force reading of Local Variables.
89 Fix printing "no changes to be saved" with verilog-batch.
90 (verilog-auto-arg-ports): Doc fix.
91 Add verilog-auto-arg-format to support newlines in AUTOARG.
92 (verilog-auto-arg): Doc fix.
93
94 2014-06-02 Glenn Morris <rgm@gnu.org>
95
96 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
97 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
98 * emulation/ws-mode.el: Move to obsolete/.
99 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
100
101 2014-06-02 Eli Zaretskii <eliz@gnu.org>
102
103 * simple.el (keyboard-quit): Force update of mode lines, to remove
104 the "Def" indicator, if we were defining a macro. (Bug#17615)
105
106 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * minibuffer.el (minibuffer-force-complete-and-exit):
109 Obey minibuffer-default (bug#17545).
110
111 * progmodes/js.el (js-indent-line): Don't mix columns and chars
112 (bug#17619).
113
114 * subr.el (set-transient-map): Don't wait for some "nested"
115 transient-map to finish if we're only supposed to be active for
116 the next command (bug#17642).
117
118 2014-06-02 Leo Liu <sdl.web@gmail.com>
119
120 * emacs-lisp/gv.el (window-buffer, window-display-table)
121 (window-dedicated-p, window-hscroll, window-point, window-start):
122 Fix gv-expander. (Bug#17630)
123
124 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
127 clicks (bug#17633).
128
129 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
130 for the single comma, since ", " is *very* common in normal French text
131 (bug#17643).
132
133 2014-06-02 Glenn Morris <rgm@gnu.org>
134
135 * emacs-lisp/package.el (package-check-signature)
136 (package-unsigned-archives): Fix :version.
137
138 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * subr.el (sit-for): Don't run input-methods (bug#15614).
141
142 2014-06-02 Glenn Morris <rgm@gnu.org>
143
144 * cus-start.el: Fix some :version numbers.
145
146 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * simple.el (deactivate-mark): Set mark-active to nil even if
149 deactivation is done via setting transient-mark-mode to nil,
150 since one is buffer-local and the other is global.
151
152 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
153 there can't be more than 2 arguments (bug#17584).
154
155 2014-06-02 Glenn Morris <rgm@gnu.org>
156
157 * simple.el (filter-buffer-substring-functions)
158 (filter-buffer-substring-function, buffer-substring-filters)
159 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
160
161 * minibuffer.el (completion-in-region-functions, completion-in-region)
162 (completion--in-region): Doc fixes.
163
164 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
165 (expand-abbrev, abbrev--default-expand): Doc fixes.
166
167 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
168
169 Include sources used to create macuvs.h.
170 * international/README: Refer to the Unicode Terms of Use rather
171 than copying it bodily here, as that simplifies maintenance.
172
173 2014-06-01 Glenn Morris <rgm@gnu.org>
174
175 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
176
177 2014-05-31 Glenn Morris <rgm@gnu.org>
178
179 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
180
181 2014-05-30 Glenn Morris <rgm@gnu.org>
182
183 * loadup.el: Treat `command-line-args' more flexibly.
184
185 2014-05-30 Alan Mackenzie <acm@muc.de>
186
187 Guard (looking-at "\\s!") from XEmacs.
188 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
189
190 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
191
192 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
193 argument COUNT is now optional, to be more backward-compatible.
194 Doc fix. (Bug#17560)
195
196 2014-05-29 Reuben Thomas <rrt@sc3d.org>
197
198 * whitespace.el (whitespace-report-region): Simplify
199 documentation.
200 (whitespace-report-region): Allow report-if-bogus to take the
201 value `never', for non-interactive use.
202 (whitespace-report): Refer to whitespace-report-region's
203 documentation.
204
205 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * whitespace.el: Use font-lock-flush. Minimize refontifications.
208 Side benefit: it works without jit-lock.
209 (whitespace-point--used): New buffer-local var.
210 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
211 (whitespace-color-off): Use font-lock-flush.
212 (whitespace-point--used, whitespace-point--flush-used): New functions.
213 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
214 (whitespace-empty-at-eob-regexp): Use them.
215 (whitespace-post-command-hook): Rewrite.
216
217 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
218 (font-lock-fontify-buffer): Mark interactive-only.
219 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
220 Make buffer-local.
221 (font-lock-specified-p): Remove redundant boundp check.
222 (font-lock-flush-function, font-lock-ensure-function): New vars.
223 (font-lock-turn-on-thing-lock): Set them.
224 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
225 (font-lock-after-change-function): Make `old-len' optional.
226 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
227 Call font-lock-flush, just in case.
228 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
229 recent Emacsen.
230 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
231 (vera-mode-map, vera-mode-menu): Remove bindings to it.
232 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
233 and with-syntax-table.
234 * textmodes/conf-mode.el (conf-quote-normal):
235 * progmodes/sh-script.el (sh-set-shell):
236 * progmodes/prog-mode.el (prettify-symbols-mode):
237 * progmodes/f90.el (f90-font-lock-n):
238 * progmodes/cwarn.el (cwarn-mode):
239 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
240 * progmodes/compile.el (compilation-setup, compilation--unsetup):
241 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
242 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
243 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
244 font-lock-fontify-buffer-function and
245 font-lock-unfontify-buffer-function.
246 (rmail-unfontify-buffer-function, rmail-fontify-message):
247 Use with-silent-modifications.
248 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
249 and font-lock-ensure.
250 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
251
252 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
253
254 * emacs-lisp/package.el (package-generate-autoloads):
255 Inhibit backup files.
256
257 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
260 (bug#17608).
261
262 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
263
264 * textmodes/tildify.el (tildify-buffer, tildify-region):
265 Add dont-ask option.
266
267 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
268
269 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
270 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
271
272 * subr.el (internal--funcall-interactively): New.
273 (internal--call-interactively): Remove.
274 (called-interactively-p): Detect funcall-interactively instead of
275 call-interactively.
276 * simple.el (repeat-complex-command): Use funcall-interactively.
277 (repeat-complex-command--called-interactively-skip): Remove.
278
279 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * register.el (register-read-with-preview): Don't burp on
282 frame switches (e.g. due to the frame we just popped).
283
284 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
285 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
286
287 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
288
289 * cus-face.el (custom-face-attributes): Add :distant-foreground.
290
291 2014-05-26 Martin Rudalics <rudalics@gmx.at>
292
293 * window.el (window--dump-frame): Remove interactive specification.
294
295 2014-05-26 Glenn Morris <rgm@gnu.org>
296
297 * hippie-exp.el (he-line-search-regexp):
298 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
299
300 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
301
302 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
303 to avoid errors when trying to create or visit a file foo.todo
304 located outside to todo-directory, and to allow having such files
305 without them being tied to Todo mode (bug#17482).
306 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
307 (todo-archive-done-item, todo-find-filtered-items-file)
308 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
309 (todo-category-completions, todo-read-category): When visiting a
310 Todo file, make sure we're in the right mode and the buffer local
311 variables are set.
312 (todo-make-categories-list, todo-reset-nondiary-marker)
313 (todo-reset-done-string, todo-reset-comment-string):
314 After processing all Todo files, kill the buffers of those files that
315 weren't being visited before the processing.
316 (todo-display-as-todo-file, todo-add-to-buffer-list)
317 (todo-visit-files-commands): Comment out.
318 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
319 (auto-mode-alist): Remove add-to-list calls making Todo file
320 extensions unrestrictedly tied to Todo modes.
321
322 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
323
324 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
325 (advice-function-member-p): Tell it to check both names and functions
326 (bug#17531).
327 (advice--add-function): Adjust call accordingly.
328
329 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
330
331 * calendar/todo-mode.el: Miscellaneous bug fixes.
332 (todo-delete-file): When deleting an archive but not its todo
333 file, make sure to update the todo file's category sexp.
334 (todo-move-category): Keep the moved category's name unless the
335 file moved to already has a category with that name. If the
336 numerically last category of the source file was moved, make the
337 first category current to avoid selecting a nonexisting category.
338 (todo-merge-category): Fix implementation to make merging to a
339 category in another file work as documented. Eliminate now
340 insufficient and unnecessary renaming of archive category, correct
341 document string accordingly, and clarify it. If the numerically
342 last category of the source file was merged, make the first
343 category current to avoid selecting a nonexisting category.
344 (todo-archive-done-item): When there are marked items and point
345 happens to be on an unmarked item, ignore the latter. Don't leave
346 point below last item after archiving marked items.
347 (todo-unarchive-items): Fix logic to ensure unarchiving an item
348 from an archive with only one category deletes the archive only
349 when the category is empty after unarchiving. Make sure the todo
350 file's category sexp is updated.
351 (todo-read-file-name): Allow an existing file name even when it is
352 not required (todo-move-category needs this to work as documented).
353 (todo-add-file): Call todo-validate-name to reject the name of an
354 existing todo file (needed due to fix in todo-read-file-name).
355 (todo-reset-nondiary-marker): Also reset in filtered items files.
356 (todo-reset-done-string, todo-reset-comment-string): Also reset in
357 regexp filtered items files.
358 (todo-reset-highlight-item): Also reset in filtered items files.
359 Fix incorrect variable reference in document string.
360
361 2014-05-26 Glenn Morris <rgm@gnu.org>
362
363 * window.el (window--dump-frame): Avoid error in --without-x builds.
364
365 2014-05-26 Glenn Morris <rgm@gnu.org>
366
367 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
368
369 2014-05-26 Eli Zaretskii <eliz@gnu.org>
370
371 * frame.el (set-frame-font): Doc fix.
372
373 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
374
375 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
376
377 * emacs-lisp/package.el (package--download-one-archive):
378 Use `write-region' instead of `save-buffer' to avoid running various
379 hooks. (Bug#17155)
380 (describe-package-1): Same. Insert newline at the end of the
381 buffer if appropriate.
382
383 2014-05-26 Juri Linkov <juri@jurta.org>
384
385 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
386 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
387 Add more modifiers: meta, control, shift, hyper, super, alt.
388 (Bug#17439)
389
390 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
391 to allow changing its value with `set-variable'.
392
393 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
396 #; comments.
397 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
398 New functions.
399 (scheme-mode-variables): Set syntax-propertize-function instead of
400 font-lock-syntactic-face-function.
401 (scheme-font-lock-syntactic-face-function): Delete.
402
403 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
404
405 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
406 (bug#17392).
407
408 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
409
410 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
411 for a temporary file name.
412
413 2014-05-26 Eli Zaretskii <eliz@gnu.org>
414
415 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
416
417 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
418
419 * net/dbus.el (dbus-init-bus, dbus-call-method)
420 (dbus-call-method-asynchronously, dbus-send-signal)
421 (dbus-method-return-internal, dbus-method-error-internal):
422 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
423
424 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
425
426 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
427 methods which do not have a doc string. (Bug#17490)
428
429 2014-05-25 Tassilo Horn <tsdh@gnu.org>
430
431 * textmodes/reftex-ref.el (reftex-format-special): Make it work
432 also for AMS Math's \eqref macro.
433
434 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
435
436 Arrange to never byte-compile the generated -pkg.el file.
437
438 * emacs-lisp/package.el (package-generate-description-file):
439 Output first-line comment to set buffer-local var `no-byte-compile'.
440 Suggested by Dmitry Gutov:
441 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
442
443 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
444
445 Fix bug: Properly quote args to generated -pkg.el `define-package'.
446
447 * emacs-lisp/package.el (package-generate-description-file):
448 Inline `package--alist-to-plist'; rewrite to selectively
449 quote alist values that are not self-quoting.
450 (package--alist-to-plist): Delete func.
451
452 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
453
454 * term/xterm.el (xterm-function-map): Add mapping for shifted
455 keypad keys.
456
457 2014-05-24 Daniel Colascione <dancol@dancol.org>
458
459 * progmodes/subword.el (subword-find-word-boundary): Move point to
460 correct spot before search. (Bug#17580)
461
462 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
463 breaking the build.
464
465 2014-05-24 Leo Liu <sdl.web@gmail.com>
466
467 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
468
469 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
470
471 * minibuffer.el (completion--sreverse): Remove.
472 (completion--common-suffix): Use `reverse' instead.
473 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
474
475 2014-05-22 Glenn Morris <rgm@gnu.org>
476
477 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
478
479 2014-05-21 Daniel Colascione <dancol@dancol.org>
480
481 * files.el (interpreter-mode-alist): Add mksh.
482
483 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
484 derivative.
485 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
486 mksh. Improve custom spec; allow regular expressions.
487 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
488 (sh-after-hack-local-variables): New function.
489 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
490 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
491 the normalization.
492 (sh-canonicalize-shell): Rewrite to support regexes.
493
494 2014-05-21 Leo Liu <sdl.web@gmail.com>
495
496 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
497
498 2014-05-19 Leo Liu <sdl.web@gmail.com>
499
500 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
501
502 2014-05-18 Glenn Morris <rgm@gnu.org>
503
504 * loadup.el:
505 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
506
507 2014-05-14 Sam Steingold <sds@gnu.org>
508
509 * progmodes/python.el (python-shell-get-or-create-process):
510 Do not bind `current-prefix-arg' so that C-c C-z does not talk
511 back unless requested.
512
513 2014-05-14 Glenn Morris <rgm@gnu.org>
514
515 * subr.el (with-file-modes): New macro.
516 * printing.el (pr-save-file-modes): Make obsolete.
517 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
518 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
519 Add with-file-modes.
520 * doc-view.el (doc-view-make-safe-dir):
521 * epg.el (epg--start):
522 * files.el (locate-user-emacs-file, make-temp-file)
523 (backup-buffer-copy, move-file-to-trash):
524 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
525 * eshell/esh-util.el (eshell-with-private-file-modes)
526 (eshell-make-private-directory):
527 * net/browse-url.el (browse-url-mosaic):
528 * obsolete/mailpost.el (post-mail-send-it):
529 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
530 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
531 Use with-file-modes.
532
533 * vc/emerge.el (emerge-make-temp-file): Simplify.
534
535 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
536 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
539 suffix (bug#15419).
540
541 2014-05-14 Glenn Morris <rgm@gnu.org>
542
543 * vc/emerge.el (emerge-temp-file-prefix):
544 Make pointless option obsolete.
545 (emerge-temp-file-mode): Make non-functional option obsolete.
546
547 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
548
549 * net/browse-url.el (browse-url):
550 Use `unhandled-file-name-directory' when setting `default-directory',
551 in order to circumvent stalled remote connections. (Bug#17425)
552
553 2014-05-14 Glenn Morris <rgm@gnu.org>
554
555 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
556 Optimize on Emacs, which has the relevant functions for ages.
557
558 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * simple.el (undo-make-selective-list): Obey undo-no-redo.
561
562 2014-05-12 Sam Steingold <sds@gnu.org>
563
564 * calendar/time-date.el (seconds-to-string): New function to
565 pretty print time delay in seconds.
566
567 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * mpc.el (mpc-format): Trim Date to the year.
570 (mpc-songs-hashcons): Shorten the Date field.
571
572 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
573 into autoloading just because of a silly indirection.
574
575 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
576
577 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
578
579 2014-05-12 Glenn Morris <rgm@gnu.org>
580
581 * emacs-lisp/find-gc.el: Move to ../admin.
582
583 * printing.el (pr-version):
584 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
585
586 * net/browse-url.el (browse-url-mosaic):
587 Create /tmp/Mosaic.PID as a private file.
588
589 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
592 (advice--member-p): If name is given, only compare the name.
593 (advice--remove-function): Don't stop at the first match.
594 (advice--normalize-place): New function.
595 (add-function, remove-function): Use it.
596 (advice--add-function): Pass the name, if any, to
597 advice--remove-function.
598
599 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
600
601 * electric.el (electric-indent-post-self-insert-function): Don't use
602 `pos' after modifying the buffer (bug#17449).
603
604 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
605
606 * calendar/todo-mode.el (todo-insert-item-from-calendar):
607 Correct argument list to conform to todo-insert-item--basic.
608
609 2014-05-12 Glenn Morris <rgm@gnu.org>
610
611 * files.el (cd-absolute): Test if directory is accessible
612 rather than executable. (Bug#17330)
613
614 * progmodes/compile.el (recompile):
615 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
616
617 * net/browse-url.el (browse-url-mosaic):
618 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
619 This is CVE-2014-3423.
620
621 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * mouse.el: Use the normal toplevel loop while dragging.
624 (mouse-set-point): Handle multi-clicks.
625 (mouse-set-region): Handle multi-clicks for drags.
626 (mouse-drag-region): Update call accordingly.
627 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
628 Use the normal event loop instead of a local while/read-event loop.
629 (global-map): Remove redundant bindings for double/triple-mouse-1.
630 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
631 Generate synthetic down events when the protocol only sends up events.
632 (xterm-mouse-last): Remove.
633 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
634 terminal parameter instead.
635 (xterm-mouse--set-click-count): New function.
636 (xterm-mouse-event): Detect/generate double/triple clicks.
637 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
638
639 * info.el (Info-quoted): New face.
640 (Info-mode-font-lock-keywords): New var.
641 (Info-mode): Use it.
642
643 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
644 are a hindrance for C-x C-e.
645
646 2014-05-11 Leo Liu <sdl.web@gmail.com>
647
648 * net/rcirc.el (rcirc-sentinel): Fix last change.
649
650 2014-05-08 Sam Steingold <sds@gnu.org>
651
652 * net/rcirc.el (rcirc-reconnect-delay): New user option.
653 (rcirc-sentinel): Auto-reconnect to the server if
654 `rcirc-reconnect-delay' is non-0 (but not more often than its
655 value in case the host is off-line).
656
657 2014-05-09 Eli Zaretskii <eliz@gnu.org>
658
659 * progmodes/grep.el (lgrep): Fix a typo in last commit.
660
661 2014-05-09 Glenn Morris <rgm@gnu.org>
662
663 * files.el (file-expand-wildcards):
664 * man.el (Man-support-local-filenames):
665 * printing.el (pr-i-directory, pr-interface-directory):
666 * progmodes/grep.el (lgrep, rgrep):
667 * textmodes/ispell.el (ispell-call-process)
668 (ispell-call-process-region, ispell-start-process)
669 (ispell-init-process): Use file-accessible-directory-p.
670
671 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
674 (xterm-mouse--read-event-sequence-1000): Return nil if something
675 looks fishy.
676 (xterm-mouse-event): Propagate it.
677 (xterm-mouse-translate-1): Handle it.
678
679 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
680
681 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
682 four slots of the parameter list are filled, make sure to pass it
683 to the argument list of todo-insert-item--basic.
684
685 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
688 Add optional `seen' argument to detect and break infinite loops.
689
690 2014-05-08 Eli Zaretskii <eliz@gnu.org>
691
692 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
693 (trace-unsafe, trace-use-tree): Make parentheses style be
694 according to Emacs style.
695
696 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
697
698 * net/tramp-sh.el (tramp-remote-process-environment):
699 Remove HISTFILE and HISTSIZE; it's too late to set them here.
700 Add :version entry.
701 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
702 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
703 extra "PSx=..." commands.
704 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
705 (Bug#17295)
706
707 (tramp-uudecode): Replace the hard-coded temporary file name by a
708 format specifier.
709 (tramp-remote-coding-commands): Enhance docstring.
710 (tramp-find-inline-encoding): Replace "%t" by a temporary file
711 name. (Bug#17415)
712 This is CVE-2014-3424.
713
714 2014-05-08 Glenn Morris <rgm@gnu.org>
715
716 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
717 (find-gc-source-files): Update some names.
718 (trace-call-tree): Simplify and update.
719 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
720 This is CVE-2014-3422.
721
722 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * minibuffer.el (completion--try-word-completion): Revert fix for
725 Bug#15980 (bug#17375).
726
727 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
728 Always store button numbers in the same way in xterm-mouse-last;
729 Don't burp is xterm-mouse-last is not set as expected.
730 Never return negative indices.
731
732 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
733
734 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
735 Backtrack one char if the global/char-literal var matcher hits
736 inside a string. The next char could be the beginning of an
737 expression expansion.
738
739 2014-05-08 Glenn Morris <rgm@gnu.org>
740
741 * help-fns.el (describe-function-1): Test for an autoload before a
742 macro, since `macrop' works on autoloads. (Bug#17410)
743
744 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * electric.el (electric-indent-functions-without-reindent): Add yaml.
747
748 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
749 Make sure the new point we return is within the new string (bug#17239).
750
751 2014-05-05 Daniel Colascione <dancol@dancol.org>
752
753 * progmodes/compile.el (compilation-error-regexp-alist-alist):
754 Port `gnu' pattern to rx.
755
756 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
757
758 Remove unneeded prompt when closing a buffer with active
759 emacsclient ("Buffer ... still has clients"), #16548.
760 * server.el (server-start): Remove the only call to:
761 (server-kill-buffer-query-function): Remove.
762
763 2014-05-04 Leo Liu <sdl.web@gmail.com>
764
765 * calendar/diary-lib.el (calendar-chinese-month-name-array):
766 Defvar to pacify compiler.
767
768 2014-05-04 Eli Zaretskii <eliz@gnu.org>
769
770 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
771
772 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
775 Use nil rather than `default' for the "default" appearance (bug#17388).
776 * vc/ediff-util.el (ediff-inferior-compare-regions)
777 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
778 a misleading `default' value when it's really a boolean.
779 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
780 overlay is not visible.
781
782 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
783
784 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
785 (todo-menu): Uncomment and update.
786
787 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
788
789 * calendar/todo-mode.el: Reimplement item editing to have the same
790 basic user interface as item insertion, and make small UI and
791 larger internal improvements to the latter.
792 (todo-insert-item): Add reference to the Todo mode user manual to
793 the documentation string.
794 (todo-insert-item--basic): Rename from todo-basic-insert-item and
795 adjust all callers. Change signature to combine diary and
796 nonmarking arguments. Incorporate functionality of deleted item
797 copying command and add error checking. Remove detailed
798 descriptions of the arguments from the documentation string, since
799 this is treated in the Todo mode user manual.
800 (todo-copy-item, todo-edit-multiline-item)
801 (todo-edit-done-item-comment, todo-edit-item-header)
802 (todo-edit-item-time, todo-edit-item-date-from-calendar)
803 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
804 (todo-edit-item-date-year, todo-edit-item-date-month)
805 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
806 Remove.
807 (todo-edit-item): Reimplement as wrapper command for
808 todo-edit-item--next-key and make it distinguish done and not done
809 todo items.
810 (todo-edit-item--text): New function, replacing old command
811 todo-edit-item and incorporating deleted commands
812 todo-edit-multiline-item and todo-edit-done-item-comment.
813 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
814 Use only numeric value of prefix argument. Remove detailed
815 descriptions of the arguments from the documentation string, since
816 this is treated in the Todo mode user manual.
817 (todo-edit-item--diary-inclusion): New function, replacing old
818 command todo-edit-item-diary-inclusion and incorporating and fixing
819 functionality of deleted command todo-edit-item-diary-nonmarking,
820 making sure to remove todo-nondiary-marker when adding
821 diary-nonmarking-symbol.
822 (todo-edit-category-diary-inclusion): Make sure to delete
823 diary-nonmarking-symbol when adding todo-nondiary-marker.
824 (todo-edit-category-diary-nonmarking): Fix indentation.
825 (todo-insert-item--parameters): Group diary and nonmarking
826 parameters together.
827 (todo-insert-item--apply-args): Adjust to signature of
828 todo-insert-item--basic and incorporate copy parameter.
829 Make small code improvements.
830 (todo-insert-item--next-param): Improve prompt and adjust it to
831 new parameter grouping. Remove obsolete code.
832 (todo-edit-item--param-key-alist)
833 (todo-edit-item--date-param-key-alist)
834 (todo-edit-done-item--param-key-alist): New defconsts.
835 (todo-edit-item--prompt): New variable.
836 (todo-edit-item--next-key): New function.
837 (todo-key-bindings-t): Bind "e" to todo-edit-item.
838 Remove bindings of deleted commands.
839
840 2014-05-04 Leo Liu <sdl.web@gmail.com>
841
842 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
843
844 2014-05-04 Glenn Morris <rgm@gnu.org>
845
846 * allout-widgets.el (allout-widgets-tally)
847 (allout-decorate-item-guides):
848 * menu-bar.el (menu-bar-positive-p):
849 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
850 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
851 * progmodes/js.el (js--inside-param-list-p)
852 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
853 * progmodes/prolog.el (region-exists-p):
854 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
855 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
856 Doc fixes (replace `iff').
857
858 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
861
862 2014-05-04 Leo Liu <sdl.web@gmail.com>
863
864 Support Chinese diary entries in calendar and diary. (Bug#17393)
865 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
866 (calendar-chinese-from-absolute-for-diary)
867 (calendar-chinese-to-absolute-for-diary)
868 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
869 (diary-chinese-list-entries): New functions to list and mark
870 Chinese diary entries in the calendar window.
871 (diary-chinese-anniversary)
872 (diary-chinese-insert-anniversary-entry)
873 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
874 (diary-chinese-insert-yearly-entry): New commands to insert
875 Chinese diary entries.
876
877 * calendar/diary-lib.el (diary-font-lock-keywords):
878 Support font-locking Chinese dates.
879
880 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
881 inserting Chinese diary entries.
882
883 * calendar/calendar.el (diary-chinese-entry-symbol):
884 New customizable variable.
885 (calendar-mode-map): Add bindings for inserting Chinese diary
886 entries.
887
888 2014-05-03 Juri Linkov <juri@jurta.org>
889
890 * dired.el (dired-check-switches, dired-switches-recursive-p):
891 New functions. (Bug#17218)
892 (dired-switches-escape-p, dired-move-to-end-of-filename):
893 Use `dired-check-switches'.
894 (dired-insert-old-subdirs, dired-build-subdir-alist)
895 (dired-sort-R-check): Use `dired-switches-recursive-p'.
896
897 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
898
899 * simple.el (undo-make-selective-list): New algorithm fixes
900 incorrectness of position adjustments when undoing in region.
901 (Bug#17235)
902 (undo-elt-crosses-region): Make obsolete.
903 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
904 New functions to adjust positions using undo-deltas.
905
906 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
909 the last consecutive closing paren (bug#17345).
910
911 2014-04-30 Reuben Thomas <rrt@sc3d.org>
912
913 * dired.el (dired-mode): make terminology for eXpunge command
914 consistent. (Bug#17276)
915
916 2014-04-30 Eli Zaretskii <eliz@gnu.org>
917
918 * dired.el (dired-initial-position-hook, dired-initial-position):
919 Doc string fixes.
920
921 2014-04-30 Glenn Morris <rgm@gnu.org>
922
923 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
924
925 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
926
927 * faces.el (face-spec-recalc): Apply X resources only after the
928 defface spec has been applied. Thus, X resources are no longer
929 overriden by the defface spec which also fixes issues on win32 where
930 the toolbar coloring was wrong because it is set through X resources
931 and was (wrongfully) overriden. (Bug#16694)
932
933 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * textmodes/rst.el (electric-pair-pairs): Declare.
936 (rst-mode): Set it (bug#17131).
937
938 2014-04-30 Juri Linkov <juri@jurta.org>
939
940 * desktop.el (desktop-value-to-string): Let-bind `print-length'
941 and `print-level' to nil. (Bug#17351)
942
943 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
944
945 * battery.el (battery-update): Handle the case where battery
946 status is "N/A" (bug#17319).
947
948 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
951 to syntax-propertize.
952 (ps-mode-auto-indent): Mark as obsolete.
953 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
954 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
955 word regexp operators.
956 (ps-mode-map): Move initialization into declaration. Remove binding
957 for TAB, RET, >, ], and }.
958 (ps-mode-syntax-table): Move initialization into declaration.
959 Don't give word syntax to non-word chars.
960 (ps-run-mode-map): Move initialization into declaration.
961 (ps-mode-menu-main): Remove auto-indent entry.
962 (ps-mode-smie-rules): New function.
963 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
964 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
965 (ps-mode--string-syntax-table): New const.
966 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
967 New functions.
968 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
969 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
970
971 2014-04-27 Daniel Colascione <dancol@dancol.org>
972
973 * term/xterm.el (xterm-paste): Use large finite timeout when
974 reading event to avoid putting keys in this-command-keys.
975
976 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
979 (perl-syntax-propertize-function): Use it. Extend handling of
980 here-docs to the unquoted case.
981
982 2014-04-25 Eli Zaretskii <eliz@gnu.org>
983
984 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
985 Use equal-including-properties to compare help-echo strings (bug#17331).
986
987 2014-04-25 Leo Liu <sdl.web@gmail.com>
988
989 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
990 Fix syntax for @. (Bug#17325)
991
992 2014-04-25 Daniel Colascione <dancol@dancol.org>
993
994 * emacs-lisp/cl.el (gv): Require gv early to break eager
995 macro-expansion cycles.
996
997 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * simple.el (region-active-p): Check there's a mark (bug#17324).
1000
1001 * simple.el (completion-list-mode-map): Use choose-completion for the
1002 mouse binding as well (bug#17302).
1003 (completion-list-mode, completion-setup-function): Adjust docstring and
1004 echo area message accordingly.
1005 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1006 calling convention of choose-completion.
1007 * comint.el (comint-dynamic-list-completions):
1008 * term.el (term-dynamic-list-completions): Accept choose-completion.
1009
1010 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1011 &, |, +, - and * can't be a division (bug#17317).
1012
1013 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1014 features on gnome-terminal (bug#16988).
1015
1016 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1017
1018 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1019
1020 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1021 the declared object, ignore zero or more parens, not zero or one.
1022
1023 2014-04-24 Leo Liu <sdl.web@gmail.com>
1024
1025 * progmodes/xscheme.el (xscheme-expressions-ring)
1026 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1027 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1028 (xscheme-allow-output-p, xscheme-prompt)
1029 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1030
1031 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1032 Comment out unused functions.
1033
1034 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * info.el: Use lexical-binding and cl-lib.
1037 Use defvar-local and setq-local instead of make-local-variable.
1038 (Info-apropos-matches): Avoid add-to-list.
1039 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1040
1041 2014-04-24 Daniel Colascione <dancol@dancol.org>
1042
1043 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1044
1045 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1048
1049 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1050
1051 * dired.el (dired-insert-set-properties): Do not consider
1052 subdirectory headings and empty lines to be information that
1053 `dired-hide-details-mode' should hide. (Bug#17228)
1054
1055 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1056
1057 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1058 Remove test messages.
1059 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1060 and `target' twice.
1061
1062 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1063
1064 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1065 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1066
1067 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1068
1069 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1070
1071 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1072 Set "IFS=" when using read builtin, in order to preserve spaces in
1073 the file name. Add test messages for hunting a bug on hydra.
1074 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1075
1076 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1079 Don't prettify a word within a symbol.
1080
1081 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1082
1083 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1084 possible.
1085
1086 2014-04-22 Daniel Colascione <dancol@dancol.org>
1087
1088 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1089 use defun to define `function-put'.
1090
1091 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1092
1093 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1094 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1095 (lisp-mode-variables): Set font-lock-extra-managed-props.
1096
1097 * emacs-lisp/byte-run.el (function-put): New function.
1098 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1099 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1100 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1101 Use them.
1102
1103 2014-04-22 Daniel Colascione <dancol@dancol.org>
1104
1105 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1106 Add `full-p' parameter; when nil, call `macroexpand' instead of
1107 `macroexpand-all'.
1108
1109 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1110 Improve docstrings.
1111
1112 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1113 Use lambda function values, not quoted lambdas.
1114 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1115
1116 * emacs-lisp/cl-macs.el
1117 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1118 (cl-struct-slot-value): Conditionally use aref or nth so that the
1119 compiler produces optimal code.
1120
1121 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1124 (inline): Don't inline cl--set-elt.
1125 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1126 Define as inlinable instead.
1127 (cl-struct-set-slot-value): Remove.
1128
1129 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1130 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1131 Use setf instead.
1132
1133 2014-04-21 Daniel Colascione <dancol@dancol.org>
1134
1135 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1136 last two parameters after all.
1137 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1138 (cl--compiler-macro-assoc,cl-struct-slot-value)
1139 (cl-struct-set-slot-value): Stop using them.
1140
1141 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1144 entry in image-mode-winprops-alist.
1145
1146 2014-04-21 Daniel Colascione <dancol@dancol.org>
1147
1148 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1149 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1150 (byte-compile-toplevel-file-form): Use it.
1151
1152 * emacs-lisp/cl-macs.el:
1153 (cl--loop-let): Properly destructure `while' clauses.
1154
1155 2014-04-20 Daniel Colascione <dancol@dancol.org>
1156
1157 * vc/vc.el (vc-root-dir): New public autoloaded function for
1158 generically finding the current VC root.
1159 * vc/vc-hooks.el (vc-not-supported): New error.
1160 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1161
1162 2014-04-20 Daniel Colascione <dancol@dancol.org>
1163
1164 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1165 argument.
1166 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1167 argument in case we're inside a symbol-macrolet.
1168 (cl--do-arglist, cl--compiler-macro-typep)
1169 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1170 environment to `cl--const-expr-val'.
1171 (cl-struct-sequence-type,cl-struct-slot-info)
1172 (cl-struct-slot-offset, cl-struct-slot-value)
1173 (cl-struct-set-slot-value): New functions.
1174
1175 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1178 assignments such as "case=hello" (bug#17297).
1179
1180 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1181
1182 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1183 Do not autoload.
1184 (tramp-file-name-handler, tramp-completion-file-name-handler):
1185 Revert patch from 2014-04-10, it isn't necessary anymore.
1186 (tramp-autoload-file-name-handler)
1187 (tramp-register-autoload-file-name-handlers): New defuns.
1188 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1189 (tramp-register-file-name-handlers): Remove also
1190 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1191 Do not autoload its invocation, but eval it after loading of 'tramp.
1192
1193 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1194
1195 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1196
1197 2014-04-17 Daniel Colascione <dancol@dancol.org>
1198
1199 Add support for bracketed paste mode; add infrastructure for
1200 managing terminal mode enabling and disabling automatically.
1201
1202 * xt-mouse.el:
1203 (xterm-mouse-mode): Simplify.
1204 (xterm-mouse-tracking-enable-sequence)
1205 (xterm-mouse-tracking-disable-sequence): New constants.
1206 (turn-on-xterm-mouse-tracking-on-terminal)
1207 (turn-off-xterm-mouse-tracking-on-terminal):
1208 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1209 parameters instead of random hooks.
1210 (turn-on-xterm-mouse-tracking)
1211 (turn-off-xterm-mouse-tracking): Delete.
1212
1213 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1214 (xterm-paste-ending-sequence): New constant.
1215 (xterm-paste): New command used for bracketed paste support.
1216
1217 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1218 (terminal-init-xterm-bracketed-paste-mode): New function.
1219 (terminal-init-xterm): Call it.
1220 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1221 and tty-mode-reset-strings instead of random hooks.
1222 (xterm-turn-on-modify-other-keys)
1223 (xterm-turn-off-modify-other-keys)
1224 (xterm-remove-modify-other-keys): Delete obsolete functions.
1225
1226 * term/screen.el: Rewrite to just use the xterm code.
1227 Add copyright notice. Mention tmux.
1228
1229 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1230
1231 * image-mode.el (image-mode-window-put): Also update the property of
1232 the "default window".
1233 * doc-view.el (doc-view-new-window-function): If no window
1234 exists, move to the last known page.
1235
1236 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1239 here-documents (bug#17262).
1240
1241 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1242
1243 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1244 Provide doc strings, as required by snarf-documentation.
1245
1246 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1249 arg of overlays-at. Use `invisible-p'.
1250
1251 * obsolete/lucid.el (extent-at):
1252 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1253 overlays-at.
1254 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1255
1256 2014-04-16 João Távora <joaotavora@gmail.com>
1257
1258 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1259 links. (Bug#17217).
1260
1261 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1262
1263 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1264 Use mapc to loop over a vector. (Bug#17257).
1265
1266 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1267
1268 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1269 patch, there are new problems with file names containing spaces.
1270 Get rid of backticks. (Bug#17238)
1271
1272 2014-04-16 João Távora <joaotavora@gmail.com>
1273
1274 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1275 possible bug.
1276
1277 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1278
1279 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1280 (blink-cursor-mode): Mention customization variables and the
1281 effect of 'blink-cursor-blinks'.
1282
1283 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1284
1285 * simple.el (undo): Prevent insertion of identity mapping into
1286 undo-equiv-table so as undo-only does not inf loop in the presence
1287 of consecutive nils in undo list.
1288
1289 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1290
1291 * faces.el (make-face): Deprecate optional argument as it is no
1292 longer needed/used since the conditional X resources handling
1293 has been pushed down to make-face-x-resource-internal itself.
1294 (make-empty-face): Don't pass optional argument to make-face.
1295
1296 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1297
1298 * savehist.el (savehist-save): Remove workaround for a read-passwd
1299 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1300 noticing that the shim was still present.
1301
1302 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1305
1306 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1307
1308 * faces.el (face-set-after-frame-default): Remove unused local variable.
1309
1310 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * progmodes/grep.el: Use lexical-binding.
1313 (grep-expand-template): Pass explicit lexical env to `eval'.
1314 (zrgrep): Let-bind grep-find-template explicitly.
1315
1316 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1317 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1318
1319 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1320
1321 * international/characters.el <standard-case-table>: Add entries
1322 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1323 Set category of Coptic characters be 'g' (Greek).
1324
1325 2014-04-12 Leo Liu <sdl.web@gmail.com>
1326
1327 * progmodes/octave.el (completion-table-with-cache):
1328 Define if not available.
1329 (octave-goto-function-definition, octave-sync-function-file-names)
1330 (octave-find-definition-default-filename):
1331 Backquote upattern for compatibility.
1332
1333 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1334
1335 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1336 name twice due to backticks. (Bug#17238)
1337
1338 2014-04-12 Glenn Morris <rgm@gnu.org>
1339
1340 * term/w32-win.el (x-win-suspend-error):
1341 * term/x-win.el (x-win-suspend-error): Sync docs.
1342
1343 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1344
1345 * faces.el (make-face): Remove deprecated optional argument.
1346 The conditional application of X resources is handled directly by
1347 make-face-x-resource-internal since Emacs 24.4.
1348 (make-empty-face): Don't pass optional argument to make-face.
1349
1350 2014-04-11 Glenn Morris <rgm@gnu.org>
1351
1352 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1353
1354 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 Ediff's overlay priorities cause more trouble than they solve.
1357 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1358 (ediff-highest-priority): Remove function (bug#17234).
1359 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1360 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1361 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1362 overlay priorities.
1363
1364 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1365
1366 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1367 entry; use symbol boundaries to avoid mis-matches.
1368
1369 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1370
1371 * net/tramp.el (tramp-file-name-handler)
1372 (tramp-completion-file-name-handler): Avoid recursive loading.
1373
1374 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1375 Quote result also locally.
1376
1377 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1380 Remove left-over code.
1381
1382 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1383 Reuse the previous comment's indentation unconditionally if it's on its
1384 own line.
1385
1386 2014-04-09 Daniel Colascione <dancol@dancol.org>
1387
1388 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1389 `no-syntax-crossing' arguments. Forward to `up-list'.
1390 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1391 Implement logic for escaping from strings. Use narrowing to deal
1392 with corner cases.
1393
1394 2014-04-09 Leo Liu <sdl.web@gmail.com>
1395
1396 * net/rcirc.el (rcirc-connection-info): New variable.
1397 (rcirc-connect): Use it to store connection info.
1398 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1399 for killed process.
1400 (rcirc-cmd-reconnect): New command. (Bug#17045)
1401 (rcirc-mode, set-rcirc-encode-coding-system)
1402 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1403
1404 2014-04-09 Daniel Colascione <dancol@dancol.org>
1405
1406 * emacs-lisp/cl-indent.el: Add comment claiming
1407 facility is also good for elisp.
1408 (lisp-indent-find-method): New function.
1409 (common-lisp-indent-function): Recognize cl-loop.
1410 (common-lisp-indent-function-1): Recognize cl constructs; use
1411 `lisp-indent-find-method' instead of `get' directly.
1412 (if): Use else-body style for elisp.
1413
1414 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1415
1416 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1417 Module methods. (Bug#17216)
1418
1419 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1422 (describe-bindings-internal): Mark obsolete.
1423
1424 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1427 buffer-file-name, and buffer-file-truename any more.
1428
1429 2014-04-08 Leo Liu <sdl.web@gmail.com>
1430
1431 Use lexical-binding and require cl-lib.
1432 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1433 (rcirc-handler-generic, rcirc-fill-paragraph)
1434 (rcirc-format-response-string, rcirc-target-buffer)
1435 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1436 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1437 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1438 (rcirc-markup-timestamp, rcirc-markup-attributes)
1439 (rcirc-markup-my-nick, rcirc-markup-urls)
1440 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1441 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1442 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1443 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1444 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1445 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1446 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1447 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1448 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1449 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1450 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1451 use cl-lib.
1452
1453 2014-04-07 João Távora <joaotavora@gmail.com>
1454
1455 * elec-pair.el (electric-pair--syntax-ppss):
1456 When inside comments parse from comment beginning.
1457 (electric-pair--balance-info): Fix typo in comment.
1458 (electric-pair--in-unterminated-string-p): Delete.
1459 (electric-pair--unbalanced-strings-p): New function.
1460 (electric-pair-string-bound-function): New var.
1461 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1462 according to `electric-pair--in-unterminated-string-p'
1463
1464 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1465 Inhibit quote pairing if point-max is inside an unterminated string.
1466 (electric-pair--looking-at-unterminated-string-p): Delete.
1467 (electric-pair--in-unterminated-string-p): New function.
1468
1469 2014-04-07 Glenn Morris <rgm@gnu.org>
1470
1471 * shell.el (shell-directory-tracker):
1472 Go back to just ignoring failures. (Bug#17159)
1473
1474 2014-04-07 João Távora <joaotavora@gmail.com>
1475
1476 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1477 backspace. (bug#16981)
1478 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1479 (electric-pair-backward-delete-char-untabify): Delete.
1480 (electric-pair-mode-map): Bind backspace to a menu item filtering
1481 a new `electric-pair-delete-pair' command.
1482 (electric-pair-delete-pair): New command.
1483
1484 * progmodes/python.el (python-electric-pair-string-delimiter):
1485 Fix triple-quoting electricity. (Bug#17192)
1486
1487 * elec-pair.el (electric-pair-post-self-insert-function):
1488 Don't skip whitespace when `electric-pair-text-pairs' and
1489 `electric-pair-pairs' were used. syntax to
1490 electric-pair--skip-whitespace. (Bug#17183)
1491
1492 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1493
1494 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1495 "<F>". (Bug#17199)
1496
1497 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1500 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1501
1502 2014-04-07 Glenn Morris <rgm@gnu.org>
1503
1504 * help.el (view-lossage): Doc tweak.
1505
1506 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1507
1508 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1509 only when inhibit-x-resources is nil, and do that earlier in the
1510 function. Doc fix. (Bug#16694)
1511 (face-spec-choose): Accept additional optional argument, whose
1512 value is returned if no matching attributes are found.
1513 (face-spec-recalc): Use the new optional argument when calling
1514 face-spec-choose. (Bug#16378)
1515 (make-face-x-resource-internal): Do nothing when
1516 inhibit-x-resources is non-nil. Don't touch the default face if
1517 reversed video is given--as was done in previous versions of Emacs.
1518 (face-set-after-frame-default): Don't call
1519 make-face-x-resource-internal here. (Bug#16434)
1520
1521 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1522
1523 * doc-view.el (doc-view-bookmark-jump):
1524 Use `bookmark-after-jump-hook' to jump to the right page after the
1525 buffer is shown in a window. (bug#16090)
1526
1527 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1528
1529 * international/characters.el (mirroring): Fix last change:
1530 instead of loading uni-mirrored.el explicitly, do that implicitly
1531 by creating the 'mirroring' uniprop table. This avoids announcing
1532 the loading of uni-mirrored.el.
1533
1534 2014-04-07 Glenn Morris <rgm@gnu.org>
1535
1536 * files.el (buffer-stale--default-function)
1537 (buffer-stale-function, revert-buffer--default):
1538 * autorevert.el (auto-revert-buffers): Doc tweaks.
1539
1540 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1541
1542 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1543
1544 2014-04-07 Glenn Morris <rgm@gnu.org>
1545
1546 * files.el (make-backup-file-name-function)
1547 (make-backup-file-name, make-backup-file-name--default-function)
1548 (make-backup-file-name-1, find-backup-file-name)
1549 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1550 (buffer-stale--default-function, buffer-stale-function)
1551 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1552 (revert-buffer, revert-buffer--default)
1553 (revert-buffer-insert-file-contents--default-function):
1554 Doc fixes related to defaults no longer being nil.
1555 (make-backup-file-name-function): Bump :version.
1556 Restore nil as a valid but deprecated custom type.
1557
1558 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1561 Handle $' used as a variable (bug#17174).
1562
1563 * progmodes/perl-mode.el (perl-indent-new-calculate):
1564 Handle forward-sexp failure (bug#16985).
1565 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1566 modifiers introducing expressions (bug#17116).
1567
1568 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1569
1570 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1571
1572 2014-04-05 Leo Liu <sdl.web@gmail.com>
1573
1574 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1575 Add define-compilation-mode.
1576
1577 2014-04-04 João Távora <joaotavora@gmail.com>
1578
1579 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1580 parse from comment beginning.
1581 (electric-pair--balance-info): Fix typo in comment.
1582 (electric-pair--in-unterminated-string-p): Delete.
1583 (electric-pair--unbalanced-strings-p): New function.
1584 (electric-pair-string-bound-function): New var.
1585 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1586 according to `electric-pair--in-unterminated-string-p'.
1587
1588 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1591 Move declaration before first use.
1592 (reftex-move-to-next-arg): Silence compiler warning.
1593
1594 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1595
1596 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1597 Use `window-total-width' instead of `window-width'.
1598
1599 2014-04-03 Daniel Colascione <dancol@dancol.org>
1600
1601 * subr.el (set-transient-map): Remove rms's workaround entirely;
1602 use new `suspicious-object' subr to mark our lambda for closer
1603 scrutiny during gc.
1604
1605 2014-04-02 Richard Stallman <rms@gnu.org>
1606
1607 * subr.el (set-transient-map): Comment out previous change.
1608
1609 2014-04-02 Glenn Morris <rgm@gnu.org>
1610
1611 * menu-bar.el (menu-bar-file-menu):
1612 * vc/ediff.el (ediff-current-file):
1613 Update for revert-buffer-function no longer being nil by default.
1614
1615 * simple.el (command-execute): Respect nil disabled-command-function.
1616
1617 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1618
1619 * simple.el (command-execute): Do not execute the command when it
1620 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1621
1622 2014-04-02 Juri Linkov <juri@jurta.org>
1623
1624 * dired-aux.el (dired-compress-file): Don't use string-match-p
1625 because its match data is used afterwards.
1626
1627 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1630 0 like nil.
1631
1632 2014-04-02 João Távora <joaotavora@gmail.com>
1633
1634 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1635 Inhibit quote pairing if point-max is inside an unterminated string.
1636 (electric-pair--looking-at-unterminated-string-p):
1637 Delete.
1638 (electric-pair--in-unterminated-string-p): New function.
1639
1640 2014-04-01 Daniel Colascione <dancol@dancol.org>
1641
1642 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1643 when trying to complete the prompt.
1644
1645 2014-03-31 Leo Liu <sdl.web@gmail.com>
1646
1647 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1648 Refactor out eldoc-documentation-function-default.
1649 (eldoc-documentation-function-default): New function.
1650 (eldoc-documentation-function): Change value.
1651
1652 2014-03-31 Glenn Morris <rgm@gnu.org>
1653
1654 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1655
1656 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1657 (vhdl-compose-components-package, vhdl-compose-configuration):
1658 Abbreviate default-directory (missing from some previous upstream sync).
1659
1660 2014-03-31 Reto Zimmermann <reto@gnu.org>
1661
1662 Sync with upstream vhdl mode v3.35.2.
1663 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1664 (top-level): No longer require assoc.
1665 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1666 New functions. Use throughout to replace aget etc.
1667 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1668 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1669 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1670 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1671 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1672 except `vhdl-compiler'.
1673 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1674 when appropriate.
1675
1676 2014-03-31 Glenn Morris <rgm@gnu.org>
1677
1678 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1679 Revert 2014-03-26 merge goof; go back to using defalias.
1680
1681 2014-03-30 Daniel Colascione <dancol@dancol.org>
1682
1683 * comint.el (comint-send-input):
1684 Deactivate completion-in-region-mode before we send comint input.
1685 (Bug#17139).
1686
1687 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1688 on keyboard-quit.
1689
1690 2014-03-29 Glenn Morris <rgm@gnu.org>
1691
1692 * textmodes/reftex.el: Manage most autoloads automatically.
1693 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1694 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1695 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1696 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1697 * textmodes/reftex-toc.el: Set generated-autoload-file,
1698 and add autoload cookies for reftex.el.
1699 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1700
1701 2014-03-28 Glenn Morris <rgm@gnu.org>
1702
1703 * cus-start.el (report-emacs-bug-address): Set custom properties.
1704 * mail/emacsbug.el (report-emacs-bug-address):
1705 Variable is now defined in emacs.c.
1706
1707 * mail/emacsbug.el (report-emacs-bug):
1708 Include system-configuration-features.
1709
1710 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1711
1712 * simple.el (cycle-spacing): Never delete spaces on first run by
1713 default, but do so in a new 'fast mode and if there are already
1714 N spaces (the previous behavior).
1715 Compare N with its value in previous invocation so that changing
1716 prefix argument restarts `cycle-spacing' sequence.
1717 The idea is that with this change, binding M-SPC to
1718 `cycle-spacing' should not introduce any changes in behavior of
1719 the binding so long as users do not type M-SPC twice in a raw with
1720 the same prefix argument or lack thereof.
1721
1722 2014-03-28 Glenn Morris <rgm@gnu.org>
1723
1724 * faces.el (term-file-aliases): New variable.
1725 (tty-run-terminal-initialization): Respect term-file-aliases.
1726 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1727 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1728 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1729
1730 2014-03-27 Glenn Morris <rgm@gnu.org>
1731
1732 * startup.el (inhibit-startup-hooks): Doc tweak.
1733 (normal-top-level): Simplify running of hooks.
1734 For window-setup-hook, respect inhibit-startup-hooks.
1735 (command-line-1): Don't set window-setup-hook to nil.
1736
1737 Allow selective autoloading from obsolete/ directory.
1738 * Makefile.in (obsolete-autoloads): New rule.
1739 (autoloads): Run obsolete-autoloads.
1740 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1741 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1742
1743 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1744
1745 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1746 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1747
1748 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1749 Don't propertize `?' or `!' as symbol constituent when after
1750 colon. (Bug#17097)
1751
1752 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1753
1754 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1755 which is no longer needed and causes trouble in GTK builds (bug#17046).
1756
1757 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1758 Use url-insert-file-contents; package-handle-response no longer exists.
1759
1760 2014-03-26 Daniel Colascione <dancol@dancol.org>
1761
1762 * simple.el (process-menu-mode-map): New variable.
1763 (process-menu-delete-process): New command.
1764
1765 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1766
1767 * emacs-lisp/package.el: Fix bug#16733 (again).
1768 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1769 (url-http-target-url): Remove unused declarations.
1770 (package-handle-response): Remove.
1771 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1772 (package--download-one-archive): Use current-buffer instead of
1773 dynamic binding of `buffer'.
1774 (describe-package-1): Do not decode readme-string.
1775
1776 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1777
1778 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1779
1780 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1781 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1782 `remote-file-name-inhibit-cache' to nil in the second pass.
1783 (tramp-find-executable): Do not call "which" on SunOS.
1784 (tramp-send-command-and-check): Fix docstring.
1785 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1786 check whether source directory has set the sticky bit.
1787
1788 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1789
1790 * simple.el (primitive-undo): Only process marker adjustments
1791 validated against their corresponding (TEXT . POS). Issue warning
1792 for lone marker adjustments in undo history. (Bug#16818)
1793 (undo-make-selective-list): Add marker adjustments to selective
1794 undo list based on whether their corresponding (TEXT . POS) is in
1795 the region. Remove variable adjusted-markers, which was unused
1796 and only non nil during undo-make-selective-list.
1797 (undo-elt-in-region): Return nil when passed a marker adjustment
1798 and explain in function doc.
1799
1800 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1801
1802 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1803
1804 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1805
1806 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1807 Match special global variables without curlies, too.
1808 (ruby-font-lock-keywords): Simplify the matcher for special global
1809 variables. Don't require a non-word character after the variable.
1810 (Bug#17057)
1811
1812 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * simple.el (redisplay-highlight-region-function): Increase priority of
1815 overlay to make sure boundaries are visible (bug#15899).
1816
1817 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1818
1819 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1820 (frameset-restore): Compare display strings with equal.
1821
1822 * frame.el (make-frame): Don't quote display name in error message,
1823 it is already a string.
1824
1825 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1826
1827 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1828 the password.
1829
1830 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1831
1832 * emacs-lisp/package.el (package--add-to-archive-contents):
1833 Include already installed and built-in packages in
1834 `package-archive-contents'.
1835 (package-install): Don't include already installed packages in the
1836 options during interactive invocation. (Bug#16762)
1837 (package-show-package-list): If the buffer is already displayed in
1838 another window, switch to that window.
1839
1840 2014-03-26 Reto Zimmermann <reto@gnu.org>
1841
1842 Sync with upstream vhdl mode v3.35.1.
1843 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1844 (vhdl-compiler-alist): Doc fix.
1845 (vhdl-goto-line): Remove.
1846 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1847 (vhdl-mode) <paragraph-start>: Fix value.
1848 (vhdl-fix-statement-region): Not `for' in wait-statement.
1849 (vhdl-beautify-region): Also (un)tabify.
1850 (vhdl-get-visible-signals):
1851 Scan declarative part of generate statements.
1852 (vhdl-template-record): Fix indentation for record type declaration.
1853 (vhdl-expand-abbrev, vhdl-expand-paren):
1854 Revert to using fset again rather than defalias.
1855 (vhdl-scan-directory-contents): Tweak.
1856 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1857 (vhdl-compose-components-package):
1858 Replace vhdl-goto-line with forward-line.
1859 (top-level): Tweak speedbar frame selection.
1860 (vhdl-generate-makefile-1): Support for compilers with no
1861 unit-to-file name mapping (create directory with dummy files).
1862
1863 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1864
1865 Sync with upstream verilog-mode revision 702457d.
1866 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1867 (create-lockfiles): Declare.
1868 (verilog-read-decls): Fix module header imports, bug709.
1869 Reported by Victor Lau.
1870 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1871 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1872 interface-only modules, bug721. Reported by Dean Hoyt.
1873
1874 2014-03-26 Glenn Morris <rgm@gnu.org>
1875
1876 * obsolete/gulp.el: Move here from emacs-lisp/.
1877
1878 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1879 Remove fallback aliases, since they are always defined now.
1880
1881 2014-03-24 Daniel Colascione <dancol@dancol.org>
1882
1883 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1884 instead of cl-loop search function.
1885
1886 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1887
1888 * calendar/parse-time.el (parse-time-iso8601-regexp)
1889 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1890 it more generally.
1891
1892 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1893
1894 * net/dns.el (network-interface-list): Define for XEmacs.
1895
1896 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1897
1898 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1899 the network interfaces changed.
1900 (dns-query): Use it to flush the data.
1901
1902 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1903
1904 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1905
1906 2014-03-23 Daniel Colascione <dancol@dancol.org>
1907
1908 Change subword-mode to use `find-word-boundary-function-table' and
1909 replace `capitalized-words-mode'. Also, convert to lexical
1910 binding.
1911
1912 * progmodes/cap-words.el: Delete now-obsolete file.
1913 * progmodes/subword.el: Reimplement using
1914 `find-word-boundary-function-table'.
1915 (subword-mode-map): Hollow out.
1916 (capitalized-words-mode): Define as obsolete alias for
1917 `subword-mode'.
1918 (subword-mode, superword-mode): Tweak documentation to reflect new
1919 implementation; call `subword-setup-buffer'.
1920 (subword-forward, subword-capitalize): Add underscore to indicate
1921 unused variable.
1922 (subword-find-word-boundary-function-table): New constant.
1923 (subword-empty-char-table): New constant.
1924 (subword-setup-buffer): New function.
1925 (subword-find-word-boundary): New function.
1926
1927 2014-03-23 Daniel Colascione <dancol@dancol.org>
1928
1929 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1930 list to look for keyword arguments instead of `memq', fixing
1931 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1932 Please make bootstrap.
1933
1934 2014-03-22 Glenn Morris <rgm@gnu.org>
1935
1936 * dired.el (dired-read-regexp): Make obsolete.
1937 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1938 (dired-flag-files-regexp):
1939 * dired-aux.el (dired-mark-read-regexp):
1940 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1941
1942 * startup.el (fancy-startup-text):
1943 * help.el (describe-gnu-project): Visit online info about GNU project.
1944
1945 * help-fns.el (help-fns--interactive-only): New function.
1946 (help-fns-describe-function-functions): Add the above function.
1947 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1948 (next-line, previous-line): Remove hand-written interactive-only
1949 information from doc strings, it is auto-generated now.
1950 * bookmark.el (bookmark-write):
1951 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1952 (epa-mail-import-keys): Mark interactive-only,
1953 and remove hand-written interactive-only information from doc strings.
1954 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1955 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1956 * files.el (not-modified):
1957 * simple.el (mark-whole-buffer): Mark interactive-only.
1958
1959 * emacs-lisp/byte-run.el (defun-declarations-alist):
1960 Add interactive-only. Doc tweak.
1961 (macro-declarations-alist): Doc tweak.
1962 * subr.el (declare): Doc tweak (add xref to manual).
1963 * comint.el (comint-run):
1964 * files.el (insert-file-literally, insert-file):
1965 * replace.el (replace-string, replace-regexp):
1966 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1967 (delete-forward-char, goto-line, insert-buffer, next-line)
1968 (previous-line): Set interactive-only via declare.
1969
1970 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1971
1972 * emacs-lisp/package.el (package-desc): Use the contents of the
1973 quoted form, not its cdr. (Bug#16873)
1974
1975 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1976
1977 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1978 benefit of doc.c; change parameter profile to match the X function.
1979
1980 2014-03-22 Leo Liu <sdl.web@gmail.com>
1981
1982 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1983 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1984
1985 2014-03-21 Richard Stallman <rms@gnu.org>
1986
1987 * battery.el (battery-linux-sysfs): Search for each field
1988 from the beginning of the buffer.
1989
1990 * subr.el (set-transient-map): Clear out function and value
1991 of the temporary symbol when we're done with it.
1992
1993 * mail/rmailsum.el (rmail-summary-delete-forward):
1994 Optimize case of reaching end and handling count.
1995 (rmail-summary-mark-deleted): Optimize when N is current msg.
1996 Don't create new summary line.
1997 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1998 (rmail-summary-undelete-many): Rewrite for speed.
1999 (rmail-summary-msg-number): New function.
2000
2001 * mail/rmail.el (rmail-delete-message): Update summary.
2002 (rmail-undelete-previous-message): Handle repeat count arg.
2003 (rmail-delete-backward, rmail-delete-forward): Likewise.
2004
2005 2014-03-21 Daniel Colascione <dancol@dancol.org>
2006
2007 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2008 information in bug reports.
2009
2010 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2011
2012 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2013 and `tramp-copy-env'.
2014
2015 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2016 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2017
2018 2014-03-21 Glenn Morris <rgm@gnu.org>
2019
2020 * electric.el (electric-indent-post-self-insert-function): Add doc.
2021
2022 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2023
2024 * emacs-lisp/package.el (package-compute-transaction):
2025 Use `version-list-<=' to compare the requirement version against
2026 the version of package already to be installed. Update the error
2027 message. (Bug#16826)
2028
2029 * progmodes/ruby-mode.el (ruby-smie-rules):
2030 Add indentation rule for ` @ '. (Bug#17050)
2031
2032 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2033
2034 * align.el (align-regexp): Remove superfluous backslash.
2035
2036 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2037 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2038 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2039 Fix docstring typos.
2040 (ffap-next): Use C-u in docstring.
2041 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2042 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2043 Remove superfluous backslashes.
2044 (ffap-string-at-point): Reflow docstring.
2045
2046 * server.el (server-host): Reflow docstring.
2047 (server-unload-function): Fix docstring typo.
2048 (server-eval-at): Remove superfluous backslash.
2049
2050 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2051 (skeleton-insert): Doc fix.
2052 (skeleton-insert): Reflow docstring.
2053
2054 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2055 (tty-color-approximate, tty-color-by-index, tty-color-values)
2056 (tty-color-desc): Remove superfluous backslashes.
2057
2058 2014-03-21 Glenn Morris <rgm@gnu.org>
2059
2060 * cus-start.el (history-length): Bump :version.
2061
2062 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2063 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2064 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2065 Don't set `make-backup-files'.
2066
2067 * info.el (info--prettify-description): New function,
2068 to give info-finder descriptions consistent case, punctuation.
2069 (Info-finder-find-node): Use it. Sort packages.
2070 Refer to "description" rather than "commentary".
2071
2072 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2073
2074 * frameset.el (frameset--print-register): New function.
2075 (frameset-to-register): Use it.
2076
2077 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2078
2079 * progmodes/hideif.el (hif-string-to-number): New function.
2080 (hif-tokenize): Use it to understand non-decimal floats.
2081
2082 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2083
2084 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2085
2086 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * electric.el (electric-newline-and-maybe-indent): New command.
2089 Bind it globally to C-j.
2090 (electric-indent-mode): Don't mess with the global map any more.
2091 Don't drop the post-self-insert-hook is some buffer is still using it
2092 (bug#16770).
2093
2094 * bindings.el (global-map): Remove C-j binding.
2095
2096 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2097 the docstring of functions advised before dumping (bug#16993).
2098
2099 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2100
2101 * ps-print.el (ps-generate-postscript-with-faces):
2102 Explicitly deactivate the mark (bug#16866).
2103 * simple.el (deactivate-mark): Update region highlight.
2104
2105 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2106
2107 * emacs-lisp/package.el (describe-package-1):
2108 Decode commentary (bug#16733).
2109
2110 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2111
2112 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2113 modification of the value argument of :set (bug#16755).
2114
2115 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * simple.el (newline-and-indent): Do autofill (bug#17031).
2118
2119 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2120
2121 * newcomment.el (comment-normalize-vars): Only add escaping check
2122 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2123 (comment-beginning): Use `narrow-to-region' instead of moving back
2124 one character.
2125 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2126 (comment-start-skip): Update the docstring.
2127
2128 2014-03-18 Richard Stallman <rms@gnu.org>
2129
2130 * dired.el (dired-display-file): Force use of other window.
2131
2132 2014-03-18 Daniel Colascione <dancol@dancol.org>
2133
2134 * startup.el (tty-handle-args): Remove debug message from 2007.
2135
2136 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2139 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2140 (advice--make-1, advice-add, advice-remove):
2141 Remove braindead :advice-pending hack.
2142
2143 2014-03-17 Glenn Morris <rgm@gnu.org>
2144
2145 * calendar/calendar.el (calendar-generate-month): Apply weekend
2146 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2147
2148 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2149
2150 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2151 (tramp-call-process): Trace also DESTINATION.
2152
2153 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2154 Quote file names when they are local. Remove superfluous trace.
2155
2156 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2157
2158 * newcomment.el (comment-beginning): If `comment-start-skip'
2159 doesn't match, move back one char and try again. (Bug#16971)
2160
2161 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2162 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2163 Set `comment-start-skip' to a simpler value that doesn't try to
2164 check if the semicolon is escaped (this is handled by
2165 `syntax-ppss' now). (Bug#16971)
2166
2167 * progmodes/scheme.el (scheme-mode-variables): Same.
2168
2169 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2170
2171 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2172 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2173 current (Bug#16816, Bug#17007).
2174 (with-current-buffer-window): New macro doing the same as
2175 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2176 * help.el (help-print-return-message): Warn in doc-string to not
2177 use this in `with-help-window'.
2178 (describe-bindings-internal): Call `describe-buffer-bindings'
2179 from within help buffer. See Juanma's scenario in (Bug#16816).
2180 (with-help-window): Update doc-string.
2181 * dired.el (dired-mark-pop-up):
2182 * files.el (save-buffers-kill-emacs):
2183 * register.el (register-preview): Use `with-current-buffer-window'
2184 instead of `with-temp-buffer-window'.
2185
2186 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2187
2188 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2189 Implement inserting into current buffer, documented in their docstrings.
2190 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2191 (rst-section-tree-point, rst-forward-section, rst-indent)
2192 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2193 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2194 (rst-font-lock-handle-adornment-pre-match-form)
2195 (rst-repeat-last-character): Reflow docstrings.
2196 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2197 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2198 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2199 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2200 Fix docstring typos.
2201 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2202 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2203 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2204
2205 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2206
2207 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2208 for compatibility with other ports.
2209 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2210 from the -xrm command line argument, but in the Nextstep port its value
2211 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2212
2213 * progmodes/python.el (defconst, python-syntax-count-quotes)
2214 (python-indent-region, python-indent-shift-right)
2215 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2216 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2217 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2218 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2219 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2220 (python-shell-buffer-substring, python-shell-send-buffer)
2221 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2222 (python-completion-complete-at-point, python-fill-docstring-style)
2223 (python-eldoc-function, python-imenu-format-item-label)
2224 (python-imenu-format-parent-item-label)
2225 (python-imenu-format-parent-item-jump-label)
2226 (python-imenu--build-tree, python-imenu-create-index)
2227 (python-imenu-create-flat-index): Fix docstring typos.
2228 (python-indent-context, python-shell-prompt-regexp, run-python):
2229 Remove superfluous backslashes.
2230 (python-indent-line, python-nav-beginning-of-defun)
2231 (python-shell-get-buffer, python-shell-get-process)
2232 (python-info-current-defun, python-info-current-line-comment-p)
2233 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2234 (python-indent-post-self-insert-function, python-shell-send-file)
2235 (python-shell-completion-get-completions)
2236 (python-shell-completion-complete-or-indent)
2237 (python-eldoc--get-doc-at-point): Reflow docstrings.
2238
2239 2014-03-14 Glenn Morris <rgm@gnu.org>
2240
2241 * emacs-lisp/package.el (package-menu-mode-map):
2242 Replace use of obsolete function alias. Tweak menu item text.
2243
2244 * info.el (Info-finder-find-node):
2245 Ignore the `emacs' metapackage. (Bug#10813)
2246
2247 * finder.el (finder-list-matches): Include unversioned packages
2248 in the result of a keyword search.
2249
2250 * finder.el (finder--builtins-descriptions): New constant.
2251 (finder-compile-keywords): Use finder--builtins-descriptions.
2252
2253 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2254
2255 * simple.el (blink-matching-paren): Describe the new value,
2256 `jump', enabling the old behavior.
2257 (blink-matching-open): Use that value. (Bug#17008)
2258
2259 2014-03-14 Glenn Morris <rgm@gnu.org>
2260
2261 * finder.el (finder-no-scan-regexp): Add leim-list.
2262 (finder-compile-keywords):
2263 Don't skip files with same basename. (Bug#14010)
2264 * Makefile.in (setwins_finder): New, excluding leim.
2265 (finder-data): Use setwins_finder.
2266
2267 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2268 (help-function-arglist, help-make-usage): Move from here...
2269 * help.el (help-split-fundoc, help-add-fundoc-usage)
2270 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2271 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2272
2273 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2274
2275 * net/socks.el (socks, socks-override-functions)
2276 (socks-find-services-entry):
2277 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2278 (hif-find-ifdef-block):
2279 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2280
2281 * net/tls.el (tls-program): Reflow docstring.
2282
2283 * progmodes/pascal.el (pascal-mode-abbrev-table)
2284 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2285 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2286 (pascal-outline-mode): Fix docstring typos.
2287 (pascal-mode): Let define-derived-mode document mode hook.
2288 (pascal-uncomment-area): Reflow.
2289 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2290
2291 * progmodes/opascal.el (opascal-compound-block-indent)
2292 (opascal-case-label-indent): Fix docstring typos.
2293 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2294
2295 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2296
2297 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2298 Fontify multiple adjacent negation chars. (Bug#17004)
2299
2300 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2301
2302 * emacs-lisp/package.el (package--prepare-dependencies):
2303 Accept requirements without explicit version (bug#14941).
2304
2305 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2306
2307 * register.el (register-separator, copy-to-register): Doc fixes.
2308 (register-preview-default): Remove unnecessary call to concat.
2309
2310 * frameset.el (frameset-restore): When checking for a visible frame,
2311 use the action map instead of calling visible-frame-list.
2312
2313 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2314
2315 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2316
2317 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2318
2319 * window.el (fit-frame-to-buffer): Get maximum width from
2320 display's width instead of height.
2321
2322 2014-03-12 Glenn Morris <rgm@gnu.org>
2323
2324 * desktop.el (desktop-restore-frames)
2325 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2326 (desktop-restore-reuses-frames): Doc tweaks.
2327
2328 * electric.el (electric-indent-mode): Doc fix.
2329
2330 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2331
2332 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2333 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2334 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2335 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2336 (cvs-dired-use-hook): Fix docstring typos.
2337 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2338 Doc fixes.
2339
2340 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2341 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2342 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2343 (cvs-execute-single-dir): Fix docstring typos.
2344
2345 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2346 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2347
2348 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2349
2350 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2351 Fix docstring typos.
2352
2353 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2354
2355 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2356 called from jump-to-register after unloading the frameset package.
2357
2358 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2359
2360 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2361 (bug#16975). Deactivate the mark before setting it to nil.
2362 (activate-mark): Do nothing if region is already active.
2363
2364 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2365
2366 * frameset.el (frameset--target-display): Remove definition; declare.
2367 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2368
2369 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2372 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2373 when the advice is pending.
2374 (advice-remove): Remove this marker when not needed any more.
2375
2376 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2377
2378 * frameset.el: Separate options for reusing frames and cleaning up.
2379 (frameset--reuse-list): Remove definition; declare.
2380 (frameset--action-map): Declare.
2381 (frameset--find-frame-if): Doc fix.
2382 (frameset--restore-frame): Cache frame action.
2383 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2384 how to clean up the frame list after restoring. Remove cleaning
2385 options from REUSE-FRAMES. Change all keyword values to symbols.
2386 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2387
2388 * desktop.el (desktop-restore-forces-onscreen)
2389 (desktop-restore-reuses-frames): Use non-keyword values.
2390 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2391
2392 2014-03-10 Glenn Morris <rgm@gnu.org>
2393
2394 * files.el (find-file): Doc fix: update info node name.
2395
2396 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2397 Doc fix: remove references to deleted info nodes.
2398
2399 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2400
2401 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2402 Do not add `nil' to the environment, when there's no remote `locale'.
2403 (tramp-find-inline-encoding): Check, that the remote host has
2404 installed perl, before sending scripts.
2405
2406 2014-03-10 Leo Liu <sdl.web@gmail.com>
2407
2408 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2409 Clear eldoc-last-message. (Bug#16920)
2410
2411 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2414 (bug#14430).
2415
2416 2014-03-09 Juri Linkov <juri@jurta.org>
2417
2418 * ansi-color.el (ansi-color-names-vector): Copy default colors
2419 from `xterm-standard-colors' that look well on the default white
2420 background (and also on the black background) to avoid illegible
2421 color combinations like yellow-on-white and white-on-white.
2422 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2423
2424 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2425
2426 * frameset.el (frameset-restore): When no frame is visible, do not
2427 generate a list of frames, just make visible the selected one.
2428
2429 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2430
2431 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2432 it only contains the repository root. (Bug#16897)
2433
2434 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2435
2436 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2437 only when `remote-file-name-inhibit-cache' is nil.
2438 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2439
2440 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2441
2442 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2443 Fix doc-strings.
2444 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2445 fit-frame-to-buffer variable. Fix doc-string.
2446 (fit-window-to-buffer): Set ONLY argument in call of
2447 fit-frame-to-buffer. Fix doc-string.
2448
2449 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2452 (tramp-action-password): Clear password cache if needed.
2453 (tramp-read-passwd): Do not clear password cache.
2454
2455 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2456 cache unless it is the first password request.
2457
2458 2014-03-06 Glenn Morris <rgm@gnu.org>
2459
2460 * simple.el (newline): Doc tweak.
2461
2462 * emacs-lisp/shadow.el (load-path-shadows-find):
2463 Ignore dir-locals. (Bug#12357)
2464
2465 2014-03-05 Glenn Morris <rgm@gnu.org>
2466
2467 * files.el (interpreter-mode-alist):
2468 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2469
2470 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2471
2472 * frameset.el (frameset--initial-params): Filter out null entries.
2473
2474 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2475
2476 * window.el (window-min-height, window-min-width):
2477 Rewrite doc-strings.
2478 (window-body-size): Add PIXELWISE argument to make it consistent
2479 with its callees.
2480
2481 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2482
2483 * finder.el (finder-mode-map, finder-mode-syntax-table):
2484 Revert part of 2014-02-28 change.
2485
2486 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2487
2488 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2489 (eww-setup-buffer): Clear next/prev/etc more reliably.
2490 (eww-textarea-map): [tab] doesn't work on tty.
2491 Reported by Mario Lang.
2492
2493 * net/shr.el (shr-map): Ditto.
2494
2495 2014-03-04 Glenn Morris <rgm@gnu.org>
2496
2497 * minibuffer.el (completion-hilit-commonality):
2498 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2499
2500 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2501
2502 * hilit-chg.el (hilit-chg-unload-function): New function.
2503 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2504 (hilit-chg-map-changes): Prefer cardinal number to digit.
2505 (hilit-chg-display-changes): Reflow docstring.
2506 (highlight-changes-rotate-faces): Remove superfluous backslash.
2507
2508 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2509
2510 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2511 `tramp-send-command-and-check'.
2512
2513 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2514
2515 * hexl.el (hexl-address-region, hexl-ascii-region)
2516 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2517 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2518 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2519 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2520 (hexl-mode): Doc fix.
2521 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2522 (hexl-mode-ruler): Fix typos in docstrings.
2523
2524 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2525 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2526 Remove superfluous backslashes.
2527 (strokes-last-stroke, strokes-global-map, strokes-mode):
2528 Reflow docstrings.
2529 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2530 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2531 (strokes-distance-squared, strokes-global-set-stroke)
2532 (strokes-global-set-stroke-string): Doc fixes.
2533 (strokes-help): Fix typos; reflow docstring.
2534
2535 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2536
2537 * window.el (window-in-direction): Fix doc-string.
2538
2539 2014-03-04 Glenn Morris <rgm@gnu.org>
2540
2541 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2542 Explicit error if no grammar.
2543 (smie-config-save): Doc fix. Fix quote typo.
2544
2545 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2548 electric-indent-mode-hook if we obey electric-indent-mode.
2549 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2550 decide whether we obey electric-indent-mode.
2551 (c-change-set-fl-decl-start, c-extend-after-change-region):
2552 Silence warnings.
2553 (c-electric-indent-mode-hook): Assume we do want to obey
2554 electric-indent-mode.
2555
2556 * electric.el (electric-indent-mode-has-been-called): Remove.
2557 (electric-indent-mode): Fix accordingly.
2558
2559 * files.el (hack-local-variables): Mention file name in warning.
2560
2561 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2562
2563 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2564
2565 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2566 * simple.el (delete-forward-char): Mark as interactive-only.
2567
2568 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2569
2570 * icomplete.el (icomplete-completions):
2571 Follow-up to 2014-03-01 change.
2572
2573 * icomplete.el: Miscellaneous doc fixes.
2574 Use Icomplete everywhere instead of icomplete for consistency.
2575 (icomplete-max-delay-chars): Fix typo.
2576 (icomplete-mode): Use \[].
2577 (icomplete-tidy, icomplete-exhibit): Reflow.
2578 (icomplete-minibuffer-setup-hook, icomplete-completions):
2579 Remove superfluous backlashes.
2580
2581 * ido.el: Miscellaneous doc fixes.
2582 Use Ido everywhere instead of ido or `ido' for consistency.
2583 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2584 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2585 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2586 (ido-separator): Extract obsolescence info from docstring and declare
2587 with make-obsolete-variable.
2588 (ido-minibuffer-setup-hook): Simplify example.
2589 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2590 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2591 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2592 (ido-everywhere): Reflow docstring.
2593 (ido-toggle-vc): Doc fix.
2594 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2595 of long list of keybindings.
2596
2597 2014-03-03 Glenn Morris <rgm@gnu.org>
2598
2599 * frame.el (display-pixel-height, display-pixel-width)
2600 (display-mm-dimensions-alist, display-mm-height)
2601 (display-mm-width): Doc tweaks.
2602
2603 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2604
2605 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2606 case of undo in region.
2607
2608 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2609
2610 * window.el (fit-window-to-buffer): Fix argument in window-size
2611 call when window is horizontally combined.
2612
2613 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2614
2615 * icomplete.el (icomplete-completions): Use string-width.
2616 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2617
2618 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2619
2620 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2621 Highlight regexp options. (Bug#16914)
2622
2623 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2624
2625 * window.el (window--max-delta-1): Round down when calculating
2626 how many lines/columns we can get from a window.
2627
2628 2014-03-01 Glenn Morris <rgm@gnu.org>
2629
2630 * isearch.el (search-invisible): Doc fix.
2631
2632 * minibuffer.el (completion-hilit-commonality):
2633 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2634 * comint.el (comint-dynamic-list-completions): Doc fix.
2635 * comint.el (comint-dynamic-list-completions):
2636 * filecache.el (file-cache-minibuffer-complete):
2637 * tempo.el (tempo-display-completions):
2638 * eshell/em-hist.el (eshell-list-history):
2639 Replace use of obsolete argument of display-completion-list.
2640
2641 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2642
2643 * icomplete.el (icomplete-completions):
2644 Revert back to using "..." when ?… cannot be displayed.
2645
2646 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2647
2648 * finder.el (finder-unload-function): New function.
2649
2650 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2651
2652 * dframe.el (dframe-detach):
2653 * find-dired.el (find-dired, find-name-dired):
2654 * finder.el (finder-mode-map, finder-mode-syntax-table)
2655 (finder-headmark, finder-select, finder-mouse-select):
2656 Fix docstring typos.
2657
2658 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2659
2660 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2661 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2662 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2663 Fix doc-string based on a suggestion by Nicolas Richard
2664 <theonewiththeevillook@yahoo.fr>.
2665 * help.el (with-help-window): Fix doc-string.
2666
2667 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2668
2669 * net/shr.el (shr-image-animate): New option.
2670 (shr-put-image): Respect shr-image-animate.
2671
2672 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2673
2674 * net/tramp-adb.el (tramp-adb-parse-device-names):
2675 Use `accept-process-output'.
2676 (tramp-adb-handle-file-truename): Cache the localname only.
2677 (tramp-adb-handle-make-directory)
2678 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2679 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2680 modes cannot be changed.
2681
2682 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2683 file properties of symlinks.
2684
2685 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2686
2687 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2688 required/optional fields to match development biblatex. (Bug#16781)
2689
2690 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2691
2692 * saveplace.el (toggle-save-place):
2693 Fix argument handling. (Bug#16673)
2694
2695 2014-02-28 Glenn Morris <rgm@gnu.org>
2696
2697 * minibuffer.el (completions-first-difference)
2698 (completions-common-part, completion-hilit-commonality): Doc fixes.
2699
2700 2014-02-28 Karl Berry <karl@gnu.org>
2701
2702 * info.el (Info-mode-map): Add H for describe-mode,
2703 to synchronize with standalone Info.
2704
2705 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2706
2707 * progmodes/sql.el (sql-interactive-mode):
2708 Avoid setting global comint-input-ring-separator. (Bug#16814)
2709
2710 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2711
2712 * net/dbus.el (dbus--init-bus): Declare function.
2713 (dbus-path-local, dbus-interface-local): New defconst.
2714 (dbus-init-bus): Use them.
2715 (dbus-return-values-table): Extend doc.
2716 (dbus-handle-bus-disconnect): Extend error message.
2717
2718 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2719
2720 * subr.el (y-or-n-p): Fix double space issue in message.
2721
2722 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2723
2724 * net/tramp.el (tramp-call-process): Improve trace message.
2725 (tramp-handle-insert-file-contents): Trace error case.
2726
2727 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2728 <insert-directory>: Use `tramp-handle-insert-directory'.
2729 (tramp-adb-handle-insert-directory): Remove function.
2730 (tramp-adb-send-command-and-check): New defun, replacing
2731 `tramp-adb-command-exit-status'. Change all callees.
2732 (tramp-adb-handle-file-attributes)
2733 (tramp-adb-handle-directory-files-and-attributes): Use it.
2734 (tramp-adb-ls-output-name-less-p):
2735 Use `directory-listing-before-filename-regexp'.
2736 (tramp-adb-handle-delete-directory): Flush also file properties of
2737 the truename of directory.
2738 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2739 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2740 (tramp-adb-handle-write-region): Implement APPEND.
2741 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2742 properties correctly.
2743 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2744 variables. Check for connected devices only when needed.
2745
2746 2014-02-27 Glenn Morris <rgm@gnu.org>
2747
2748 * minibuffer.el (completion-table-dynamic)
2749 (completion-table-with-cache): Doc fixes.
2750
2751 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2752 (completing-read-multiple): Doc fixes.
2753
2754 2014-02-27 Daniel Colascione <dancol@dancol.org>
2755
2756 * minibuffer.el (completion--nth-completion): Fix indentation.
2757
2758 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2759 explicit tramp path is empty.
2760
2761 2014-02-27 Glenn Morris <rgm@gnu.org>
2762
2763 * emacs-lisp/crm.el (completing-read-multiple):
2764 Empower help-enable-auto-load.
2765
2766 2014-02-26 Glenn Morris <rgm@gnu.org>
2767
2768 * startup.el (command-line): Don't init the tty in daemon mode.
2769
2770 Avoid calling tty-setup-hook twice, eg if a term file
2771 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2772 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2773 (tty-create-frame-with-faces): Use it.
2774 * startup.el (command-line): Pass run-hook argument
2775 to tty-run-terminal-initialization.
2776
2777 * dired.el (dired-restore-desktop-buffer): Demote errors;
2778 eg in case a glob match fails. (Bug#16884)
2779
2780 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2781
2782 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2783 error from `read-from-string'. (Bug#16850)
2784
2785 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2786 result of `completing-read' in the interactive form. (Bug#16854)
2787
2788 2014-02-25 Glenn Morris <rgm@gnu.org>
2789
2790 * image.el (image-animate, image-animate-timeout):
2791 Stop animating images in dead buffers. (Bug#16878)
2792
2793 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2794
2795 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2796 Doc fixes.
2797 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2798 * term/sun.el (sun-raw-prefix-hooks):
2799 Use tty-setup-hook instead of term-setup-hook.
2800 (terminal-init-sun): Construct message from bytecomp plist.
2801 * term/wyse50.el (enable-arrow-keys): Doc fix.
2802
2803 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2804
2805 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2806 Fix docstring typos.
2807
2808 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2809
2810 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2811
2812 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2813
2814 * minibuffer.el (completion--try-word-completion):
2815 Fix error when completing M-x commands (bug#16808).
2816
2817 2014-02-24 Leo Liu <sdl.web@gmail.com>
2818
2819 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2820
2821 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2822
2823 * apropos.el (apropos-print): Avoid formatting error when
2824 apropos-do-all and apropos-compact-layout are both t.
2825
2826 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2827
2828 * apropos.el (apropos-property, apropos-all-words-regexp)
2829 (apropos-true-hit, apropos-variable, apropos-print):
2830 Fix docstring typos, and remove obsolete comment.
2831
2832 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2833
2834 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2835 Preserve trailing "/". (Bug#16851)
2836
2837 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2838
2839 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2840 after `=>' (bug#16811).
2841 (ruby-smie-rules): Handle the inconsistent second element of the
2842 list returned by `smie-indent--parent'.
2843 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2844 method call.
2845
2846 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2847
2848 * elec-pair.el (electric-pair-text-syntax-table)
2849 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2850 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2851 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2852 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2853
2854 2014-02-22 Glenn Morris <rgm@gnu.org>
2855
2856 * imenu.el (imenu--generic-function): Doc fix.
2857
2858 * register.el (frame-configuration-to-register): Make obsolete.
2859
2860 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2861
2862 * desktop.el (desktop-save-buffer-p): Do not fail when
2863 desktop-files-not-to-save is nil. Return t for true result
2864 as the doc says.
2865
2866 2014-02-22 Daniel Colascione <dancol@dancol.org>
2867
2868 * net/secrets.el (secrets-create-item, secrets-search-items):
2869 Check that attribute values are strings, avoiding the construction
2870 of invalid dbus messages.
2871
2872 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2873
2874 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2875 defun-declarations-alist.
2876
2877 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2880 (bug#16829).
2881
2882 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2883
2884 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2885 (whitespace-newline, whitespace-trailing, whitespace-line)
2886 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2887 (whitespace-space-after-tab): Fix typo in docstrings.
2888
2889 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2890
2891 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2892
2893 * electric.el (electric-indent-functions-without-reindent):
2894 Add `yaml-indent-line'.
2895
2896 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2897
2898 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2899 It has done nothing for years; should be removed after the release.
2900
2901 * simple.el (choose-completion): Fix docstring typo.
2902 (read-quoted-char-radix): Remove unneeded * in docstring.
2903 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2904 Don't escape parentheses unnecessarily in docstrings.
2905
2906 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2907
2908 Fix handling of window-min-height/-width (Bug#16738).
2909 * window.el (window--dump-window, window--dump-frame):
2910 New functions.
2911 (window--min-size-1): Account for window dividers.
2912 When window-resize-pixelwise is nil, delay rounding till after the
2913 sum of the window components has been calculated.
2914 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2915 nil make sure at least one text line and two text columns remain
2916 fully visible.
2917 (window-resize): Signal an error when window-resize-apply fails.
2918 (window--resize-child-windows): Fix calculation of by how many
2919 pixels a window can still be shrunk via window-new-normal.
2920 (adjust-window-trailing-edge): Call window--resizable with
2921 correct TRAIL argument.
2922
2923 (with-temp-buffer-window): Don't evaluate BODY within
2924 with-current-buffer (Bug#16816).
2925
2926 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2927
2928 * net/tramp.el (tramp-check-cached-permissions):
2929 Call `file-attributes' with `suffix' being a symbol but a string.
2930
2931 2014-02-21 Daniel Colascione <dancol@dancol.org>
2932
2933 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2934 (dbus-init-bus): New function: call into dbus-init-bus-1
2935 and installs a handler for the disconnect signal.
2936 (dbus-call-method): Rewrite to look for result in cons.
2937 (dbus-call-method-handler): Store result in cons.
2938 (dbus-check-event): Recognize events with nil sender as valid.
2939 (dbus-handle-bus-disconnect): New function. React to bus
2940 disconnection signal by synthesizing dbus error for each
2941 pending synchronous or asynchronous call.
2942 (dbus-notice-synchronous-call-errors): New function.
2943 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2944 is true, not all the time.
2945
2946 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2947
2948 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2949 Remove obsolescence declarations, these variables do not exist anymore.
2950
2951 * savehist.el (savehist-save-minibuffer-history)
2952 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2953 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2954 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2955 mostly, refer to "Savehist mode" when talking about the mode,
2956 and not the function.
2957
2958 * saveplace.el (save-place): Remove redundant info in docstring.
2959 (save-place-forget-unreadable-files, toggle-save-place)
2960 (save-place-forget-unreadable-files, save-place-dired-hook):
2961 Fix typos and remove unneeded backslashes.
2962
2963 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2964
2965 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2966 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2967
2968 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2969 <insert-directory>: Use `tramp-handle-insert-directory'.
2970 (tramp-gvfs-handle-insert-directory): Remove function.
2971
2972 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2973 Call `tramp-handle-insert-directory'.
2974
2975 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2976
2977 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2978 before the start of buffer/region (bug#16799).
2979
2980 2014-02-20 Glenn Morris <rgm@gnu.org>
2981
2982 * isearch.el (search-invisible): Doc fix.
2983
2984 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2985
2986 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2987 (bug#16657).
2988
2989 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2990
2991 * frameset.el (frameset-restore): Delay removing an old frame's
2992 duplicate id until the new frame has been correctly created.
2993
2994 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2995
2996 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2997 (tramp-check-cached-permissions): Call `file-attributes' if the
2998 cache is empty.
2999
3000 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3001 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3002
3003 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3004 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3005 (tramp-gvfs-maybe-open-connection): Set always connection
3006 properties, even if target is mounted already.
3007
3008 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3009 Set tramp-autoload cookie.
3010 (tramp-get-remote-touch): New defun.
3011 (tramp-sh-handle-set-file-times): Use it.
3012 (tramp-sh-handle-directory-files-and-attributes):
3013 Use `tramp-handle-directory-files-and-attributes' if neither stat
3014 nor perl are available on the remote host.
3015
3016 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3017 "/". Write long listing only when "l" belongs to the switches.
3018
3019 * net/trampver.el: Update release number.
3020
3021 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3022
3023 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3024
3025 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3026
3027 * window.el (window-state-put): Allow WINDOW to refer to an
3028 internal window (Bug#16793).
3029
3030 2014-02-19 Glenn Morris <rgm@gnu.org>
3031
3032 * textmodes/remember.el: Move provide statement to end.
3033 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3034 (remember-notes): Doc fixes.
3035
3036 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * delsel.el (delete-char): Restore incorrectly erased property
3039 (bug#16795).
3040
3041 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3042
3043 * frameset.el (frameset--restore-frame): When a frame is being reused
3044 and its root window is not alive, delete all the frame's windows before
3045 restoring the window state. This works around the issue in bug#16793.
3046
3047 2014-02-18 Glenn Morris <rgm@gnu.org>
3048
3049 * textmodes/remember.el (remember-data-directory)
3050 (remember-directory-file-name-format, remember-store-in-files)
3051 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3052 (remember-notes-save-and-bury-buffer)
3053 (remember-notes--kill-buffer-query): Doc fixes.
3054
3055 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3056
3057 2014-02-17 Alan Mackenzie <acm@muc.de>
3058
3059 Connect electric-indent-mode up with CC Mode. Bug #15478.
3060 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3061 to electric-indent-{,local-}-mode.
3062 (c-basic-common-init): Set electric-indent-inhibit.
3063 Initialise c-electric-flag from electric-indent-mode.
3064 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3065 New hook functions which propagate electric-indent-mode to CC mode.
3066
3067 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3068 hit, toggle electric-indent-local-mode.
3069
3070 * electric.el (electric-indent-mode-has-been-called):
3071 New variable.
3072
3073 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3074
3075 * frameset.el (frameset-cfg-id): New function.
3076 (frameset--reuse-frame, frameset-restore): Use it.
3077 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3078
3079 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * ido.el (ido-file-internal): Remove unused var `d'.
3082 Use \` for to match BoS. Fit within 80n columns.
3083
3084 2014-02-17 Daniel Colascione <dancol@dancol.org>
3085
3086 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3087 dbus-call-method check for completion using a busy-wait loop with
3088 gradual backoff.
3089
3090 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3091
3092 Sync with Tramp 2.2.9.
3093
3094 * net/trampver.el: Update release number.
3095
3096 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3097
3098 * ido.el (ido-file-internal): Don't add the name of an existing
3099 directory twice. (Bug#16747)
3100
3101 2014-02-16 Glenn Morris <rgm@gnu.org>
3102
3103 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3104 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3105
3106 2014-02-15 Michael R. Mauger <michael@mauger.com>
3107
3108 * progmodes/sql.el: Version 3.4
3109 (sql-oracle-options): New default value ("-L").
3110 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3111 (sql-placeholders-filter): Correct placeholder pattern.
3112 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3113 (sql-login-delay): New variable.
3114 (sql-product-interactive): Use it.
3115
3116 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3117
3118 * frameset.el (frameset--jump-to-register): Check that buffer is live
3119 (bug#16749).
3120
3121 2014-02-15 Glenn Morris <rgm@gnu.org>
3122
3123 * info.el (info-initialize): Revert 2014-01-10 change.
3124
3125 2014-02-14 Glenn Morris <rgm@gnu.org>
3126
3127 * replace.el (map-query-replace-regexp)
3128 (read-regexp-defaults-function, read-regexp): Doc fixes.
3129
3130 * dired.el (dired-read-regexp):
3131 * faces.el (list-faces-display):
3132 * misearch.el (multi-isearch-read-matching-buffers)
3133 (multi-isearch-read-matching-files):
3134 * play/cookie1.el (cookie-apropos):
3135 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3136
3137 * textmodes/remember.el (remember): Use frameset-to-register
3138 rather than frame-configuration-to-register.
3139
3140 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3141
3142 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3143 incorrect keybinding.
3144
3145 2014-02-13 Daniel Colascione <dancol@dancol.org>
3146
3147 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3148 when adding overlays so that line numbers from compiler match line
3149 numbers we use.
3150
3151 2014-02-13 Glenn Morris <rgm@gnu.org>
3152
3153 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3154
3155 * jit-lock.el (jit-lock-mode): Doc fix.
3156
3157 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3158
3159 * apropos.el (apropos-read-pattern): When the user passes an empty
3160 string, give a more helpful error message than "Wrong type
3161 argument: stringp, nil".
3162
3163 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3166
3167 2014-02-13 Glenn Morris <rgm@gnu.org>
3168
3169 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3170
3171 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3174 shift-select commands.
3175
3176 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3177
3178 * progmodes/js.el (js-indent-line): Don't widen.
3179 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3180
3181 2014-02-12 Glenn Morris <rgm@gnu.org>
3182
3183 * icomplete.el (icomplete): Add info-link to defgroup.
3184 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3185 (icomplete-minibuffer-map, icomplete-mode)
3186 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3187
3188 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3189 (package-menu-filter): Rename from package-menu-filter-interactive.
3190 Doc fix.
3191
3192 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3193
3194 * frameset.el (frameset--jump-to-register): Select the required
3195 window and buffer before restoring position (bug#16696).
3196
3197 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3198
3199 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3200
3201 2014-02-10 Glenn Morris <rgm@gnu.org>
3202
3203 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3204
3205 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3206
3207 * w32-common-fns.el (x-get-selection): Doc fix.
3208 * select.el (x-get-selection): Doc fix. (Bug#15109)
3209
3210 * face-remap.el (face-remap-add-relative)
3211 (face-remap-remove-relative, face-remap-reset-base)
3212 (face-remap-set-base): Call force-mode-line-update to redisplay
3213 the current buffer due to potential change in faces. (Bug#16709)
3214
3215 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3216
3217 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3218 script more robustly.
3219
3220 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3221
3222 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3223
3224 * simple.el (choose-completion): Doc fix (bug#14160).
3225
3226 * subr.el (event-start): Say what a nil EVENT value means.
3227
3228 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3229 (bug#14197).
3230
3231 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3232
3233 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3234
3235 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3236
3237 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3238 predicate function (bug#15455).
3239
3240 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3241
3242 * ielm.el (inferior-emacs-lisp-mode): Instead of
3243 `comment-use-global-state', set `comment-use-syntax'.
3244
3245 2014-02-10 Glenn Morris <rgm@gnu.org>
3246
3247 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3248
3249 2014-02-09 Alan Mackenzie <acm@muc.de>
3250
3251 Fix c-invalidate-state-cache on narrowed buffers.
3252 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3253 Widen when setting and clearing the CPP delimiter properties.
3254
3255 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3256
3257 * help.el (describe-bindings): Doc fix (bug#9888).
3258
3259 * files.el (save-buffer): Use ARG as the parameter name for
3260 consistency (bug#10346).
3261 (save-buffer): Clarify the 0 argument (bug#10346).
3262
3263 * cus-edit.el (customize-apropos): Fix error string.
3264 (custom-buffer-create): Doc fix (bug#11122).
3265 (custom-sort-items): Doc fix (bug#11121).
3266
3267 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3268
3269 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3270 (icomplete-simple-completing-p): Mention the previous variable.
3271
3272 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3273 meaning of the parameter (bug#12282).
3274
3275 * files.el (find-file-noselect): Clarify prompt when changing
3276 readedness (bug#13261).
3277 (locate-file): Suffixes aren't returned, so don't say that they
3278 are (bug#12674).
3279 (backup-inhibited): Doc clarification (bug#12525).
3280
3281 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3282 before we actually start to delete things (bug#16331).
3283
3284 * subr.el (event-start): Doc fix (bug#14228).
3285 (event-end): Ditto.
3286
3287 2014-02-09 Glenn Morris <rgm@gnu.org>
3288
3289 * emacs-lisp/warnings.el (lwarn):
3290 Empower help-enable-auto-load. (Bug#15940)
3291
3292 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3293
3294 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3295 (Bug#16690)
3296
3297 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3298
3299 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3300 Insert output at end of buffer. (Bug#16120)
3301
3302 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3303
3304 * simple.el (choose-completion-string-functions): Document new
3305 calling convention (bug#14153).
3306 (execute-extended-command): Clarify doc string (bug#13373).
3307
3308 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3309
3310 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3311 (find-grep-dired): Doc fix (bug#14288).
3312
3313 2014-02-08 Juri Linkov <juri@jurta.org>
3314
3315 * isearch.el (isearch-quote-char): Check character validity
3316 like in `quoted-insert' (bug#16677).
3317
3318 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3319
3320 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3321
3322 * isearch.el (isearch-hide-immediately): Doc clarification
3323 (bug#14723).
3324
3325 * simple.el (line-move): Document utility function used many
3326 places in the Emacs sources (bug#14843).
3327
3328 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3329 (dired-prev-marked-file): Doc fix (bug#14855).
3330 (dired-up-directory): Doc fix (bug#14848).
3331
3332 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3333
3334 * files.el (file-relative-name): Doc fix (bug#15159).
3335
3336 * fringe.el (fringe-styles): Doc fix (bug#15239).
3337
3338 * isearch.el (isearch-filter-predicate): Documentation typo fix
3339 (bug#15474).
3340
3341 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3342
3343 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3344
3345 * replace.el (replace-match-maybe-edit): Doc clarification
3346 (bug#15632).
3347
3348 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3349
3350 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3351
3352 2014-02-08 Glenn Morris <rgm@gnu.org>
3353
3354 * help-fns.el (describe-variable):
3355 Check {file,dir}-local-variables-alist, and buffer-file-name,
3356 in the correct buffer.
3357
3358 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3359
3360 * help-fns.el (describe-variable): Fix the case where
3361 a value is directory-local with no dir-locals file. (Bug#16635)
3362
3363 2014-02-08 Glenn Morris <rgm@gnu.org>
3364
3365 * abbrev.el (edit-abbrevs-mode):
3366 Derive from fundamental-mode. (Bug#16682)
3367
3368 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3369
3370 * simple.el (quoted-insert): Check character validity (bug#16677).
3371
3372 2014-02-07 Juri Linkov <juri@jurta.org>
3373
3374 * desktop.el (desktop-read): Claim the lock when the owner is not
3375 the current process. (Bug#16157)
3376
3377 2014-02-07 Juri Linkov <juri@jurta.org>
3378
3379 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3380 to "\\` ". (Bug#16651)
3381
3382 2014-02-07 Juri Linkov <juri@jurta.org>
3383
3384 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3385 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3386 (desktop-auto-save-cancel-timer): New function with some code from
3387 `desktop-auto-save-set-timer'.
3388 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3389 Instead of setting `desktop-save-mode' to nil, call
3390 `desktop-save-mode' with arg 0. (Bug#16630)
3391
3392 2014-02-07 Glenn Morris <rgm@gnu.org>
3393
3394 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3395 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3396 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3397
3398 * obsolete/iswitchb.el: Move to obsolete/.
3399 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3400 since obsolete/ is not scanned for autoloads.
3401 * emacs-lisp/authors.el (authors-valid-file-names):
3402 Add iswitchb.el.
3403
3404 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3405 Disable now non-functional find-file-hook.
3406
3407 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3408
3409 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3410 instead of ";" in order to avoid additional prompts. Let heredoc
3411 scripts read from tty. (Bug#16582)
3412 (tramp-send-command): No special handling of heredocs, it isn't
3413 necessary anymore.
3414
3415 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3418 with a space (bug#16664). Limit the symbols considered to the ones
3419 that are bound or fbound (bug#16646).
3420
3421 2014-02-06 Glenn Morris <rgm@gnu.org>
3422
3423 * epa.el (epa-mail-aliases): Doc fix.
3424
3425 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3426
3427 * emacs-lisp/lisp.el (lisp-completion-at-point):
3428 Use `completion-table-merge' instead of `completion-table-in-turn'
3429 (bug#16604).
3430
3431 * minibuffer.el (completion-table-merge): New function.
3432
3433 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3434
3435 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3436 (tramp-sh-handle-set-file-acl)
3437 (tramp-sh-handle-start-file-process)
3438 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3439 (tramp-find-executable, tramp-send-command): Use it.
3440
3441 2014-02-05 Glenn Morris <rgm@gnu.org>
3442
3443 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3444
3445 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3446
3447 * progmodes/python.el (python-shell-send-string)
3448 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3449
3450 2014-02-04 Anders Lindgren <andlind@gmail.com>
3451
3452 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3453 the names (bug#16620).
3454
3455 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3456
3457 * faces.el (window-divider): New default value. Rewrite doc-string.
3458 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3459
3460 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3461
3462 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3463 `protected' and `public' can also be called without arguments.
3464
3465 2014-02-03 Glenn Morris <rgm@gnu.org>
3466
3467 * register.el (window-configuration-to-register)
3468 (frame-configuration-to-register): Unadvertise unused argument.
3469 * frameset.el (frameset-to-register): Remove unused argument.
3470
3471 * frameset.el (frameset-to-register):
3472 * kmacro.el (kmacro-to-register):
3473 * register.el (increment-register):
3474 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3475 (calc-append-to-register, calc-prepend-to-register):
3476 * play/gametree.el (gametree-layout-to-register)
3477 (gametree-apply-register-layout):
3478 * textmodes/picture.el (picture-clear-rectangle-to-register)
3479 (picture-yank-rectangle-from-register):
3480 * vc/emerge.el (emerge-combine-versions-register):
3481 Use register-read-with-preview to read registers.
3482
3483 2014-02-03 João Távora <joaotavora@gmail.com>
3484
3485 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3486 when at beginning of (possibly narrowed) buffer.
3487
3488 2014-02-02 Daniel Colascione <dancol@dancol.org>
3489
3490 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3491 Also try to display local help from just before point.
3492
3493 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3494
3495 c-parse-state. Don't "append-lower-brace-pair" in certain
3496 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3497 recognised as a comment.
3498
3499 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3500 as well as normal comment starter.
3501 (c-parse-state-get-strategy): Extra return possibility
3502 'back-and-forward.
3503 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3504 return value list to indicate replacement of a brace-pair cons
3505 with its car.
3506 (c-parse-state-1): With 'back-and-forward, only call
3507 c-append-lower-brace-pair-to state-cache when cons-separated.
3508
3509 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3510
3511 * term/ns-win.el (ns-suspend-error): New function.
3512 (ns-initialize-window-system): Add ns-suspend-error to
3513 suspend-hook (Bug#16612).
3514
3515 2014-02-02 Daniel Colascione <dancol@dancol.org>
3516
3517 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3518 Make loading cc-mode silent.
3519
3520 2014-02-02 Daniel Colascione <dancol@dancol.org>
3521
3522 * comint.el (comint-prompt-read-only): Change doc to suggest
3523 remap keybinding.
3524
3525 2014-02-02 Glenn Morris <rgm@gnu.org>
3526
3527 * register.el (register-read-with-preview, point-to-register)
3528 (window-configuration-to-register, frame-configuration-to-register)
3529 (jump-to-register, number-to-register, view-register, insert-register)
3530 (copy-to-register, append-to-register, prepend-to-register)
3531 (copy-rectangle-to-register): Doc fixes.
3532
3533 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3536 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3537 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3538 * help-fns.el (describe-function-1): Use it.
3539
3540 2014-02-02 Glenn Morris <rgm@gnu.org>
3541
3542 * register.el (register-preview-default): New function,
3543 split from register-preview.
3544 (register-preview-function): Rename from register-preview-functions,
3545 make it not a hook.
3546 (register-preview): Use register-preview-function.
3547 (register-read-with-preview): Error on non-character event. (Bug#16595)
3548
3549 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3550
3551 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3552 `:' before binary operators (bug#16609). Don't check for `:'
3553 before `[' and `(', or their syntax status. A percent literal
3554 can't end with either.
3555 (ruby-font-lock-keywords): For built-ins that require arguments,
3556 check that they're followed by something that looks like argument
3557 (bug#16610).
3558
3559 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3560
3561 * subr.el (butlast): Document what an omitted N means (bug#13437).
3562 (nbutlast): Ditto.
3563
3564 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3565
3566 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3567 depth shallower (bug#16587).
3568 (shr-tag-svg): Respect `shr-inhibit-images'.
3569 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3570
3571 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3572
3573 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3574 (ruby-smie-grammar): Make "." right-associative. Make its priority
3575 lower than the ternary and all binary operators.
3576 (ruby-smie-rules): Indent "(" relative to the first non-"."
3577 parent, or the first "." parent at indentation.
3578 Use `ruby-align-chained-calls' for indentation of "." tokens.
3579 (Bug#16593)
3580
3581 2014-01-31 Juri Linkov <juri@jurta.org>
3582
3583 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3584 from `make-hash-table'.
3585
3586 * textmodes/ispell.el (ispell-init-process): Change message format
3587 to be consistent with other messages.
3588
3589 2014-01-31 Glenn Morris <rgm@gnu.org>
3590
3591 * delsel.el (delete-selection-mode): Doc fix.
3592
3593 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3594 (trace-function-background): Doc fixes.
3595
3596 * ido.el (ido-use-virtual-buffers): Doc fix.
3597 Reset :version, since the default value has not changed.
3598
3599 * register.el (register-preview-delay, register-read-with-preview):
3600 Doc fixes.
3601
3602 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3603 do not mess with mail-buffer position (fixes 2009-11-03 change).
3604 * progmodes/cc-mode.el (c-submit-bug-report):
3605 Check auto-fill-mode is bound. (Bug#16592)
3606
3607 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3608
3609 * startup.el (fancy-splash-image-file): New function,
3610 split from fancy-splash-head.
3611 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3612 so that we are both using the same image. (Bug#16574)
3613
3614 2014-01-30 Glenn Morris <rgm@gnu.org>
3615
3616 * simple.el (eval-expression): Doc fix.
3617
3618 * hexl.el (hexl-mode-hook):
3619 * ielm.el (ielm-mode-hook):
3620 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3621 (lisp-interaction-mode-hook):
3622 * progmodes/cfengine.el (cfengine3-documentation-function):
3623 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3624
3625 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3628 is a symbol (bug#16584).
3629
3630 2014-01-30 Glenn Morris <rgm@gnu.org>
3631
3632 * help.el (help-for-help-internal): Add "P" to text.
3633
3634 2014-01-29 Glenn Morris <rgm@gnu.org>
3635
3636 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3637
3638 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3639
3640 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3641 height constraints.
3642
3643 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3644
3645 * progmodes/hideif.el: Extend to full CPP expression syntax.
3646 (hif-token-alist): Add missing tokens.
3647 (hif-token-regexp): Add support for float/octal/hex immediates.
3648 (hif-string-literal-regexp): New const.
3649 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3650 (hif-exprlist): New function.
3651 (hif-parse-if-exp): Use it.
3652 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3653 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3654 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3655 (hif-logxor, hif-comma): New functions.
3656
3657 2014-01-28 Glenn Morris <rgm@gnu.org>
3658
3659 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3660
3661 * indent.el (tab-stop-list): Doc fix. Add :version.
3662
3663 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3664 (cvs-append-to-ignore): Add compatibility alias.
3665
3666 2014-01-27 Glenn Morris <rgm@gnu.org>
3667
3668 * dired.el (dired-hide-details-mode): Don't autoload it,
3669 since it cannot be used outside Dired buffers anyway.
3670
3671 * emulation/cua-base.el (cua-mode): Doc fix.
3672
3673 * dired.el (dired-hide-details-hide-symlink-targets)
3674 (dired-hide-details-hide-information-lines)
3675 (dired-hide-details-mode): Doc fixes.
3676
3677 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3678 * strokes.el (strokes-file): Doc fix. Bump :version.
3679 (strokes-help): Doc fix.
3680 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3681 * emulation/viper.el (viper): Doc fix for custom group.
3682 (top-level): Remove oh-so-no-longer-relevant text about vip.
3683 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3684
3685 * ido.el (ido-save-directory-list-file):
3686 * saveplace.el (save-place-file):
3687 * calendar/timeclock.el (timeclock-file):
3688 * net/quickurl.el (quickurl-url-file):
3689 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3690 * progmodes/idlwave.el (idlwave-config-directory):
3691 * textmodes/remember.el (remember-data-file):
3692 Bump :version.
3693
3694 2014-01-26 Glenn Morris <rgm@gnu.org>
3695
3696 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3697 Doc fix. Make obsolete.
3698 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3699
3700 * sort.el (delete-duplicate-lines): Doc fix.
3701
3702 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3703
3704 * progmodes/ada-mode.el (ada):
3705 * woman.el (woman): Link to info manual and Commentary section.
3706
3707 * progmodes/flymake.el (flymake):
3708 * nxml/nxml-mode.el (nxml):
3709 * net/eww.el (eww):
3710 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3711 * htmlfontify.el (htmlfontify):
3712 * ses.el (ses):
3713 * epa.el (epa):
3714 * ido.el (ido): Link to info manual.
3715
3716 2014-01-25 Leo Liu <sdl.web@gmail.com>
3717
3718 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3719
3720 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3721
3722 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3723 (bug#16537).
3724
3725 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3726
3727 * net/eww.el (eww-download-callback):
3728 Fix reference to eww-download-directory.
3729
3730 * emacs-lisp/bytecomp.el (byte-compile-file):
3731 Remove unused local variable `file-name'.
3732
3733 2014-01-24 Glenn Morris <rgm@gnu.org>
3734
3735 * woman.el (woman-default-faces, woman-monochrome-faces):
3736 Fix obsolescence specification.
3737
3738 * subr.el (with-demoted-errors): Doc fix.
3739
3740 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3743 (cl--macroexp-fboundp): New function.
3744 (cl--make-type-test): Use it.
3745
3746 2014-01-23 Glenn Morris <rgm@gnu.org>
3747
3748 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3749 * simple.el (eval-expression): Doc fixes.
3750
3751 2014-01-22 Glenn Morris <rgm@gnu.org>
3752
3753 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3754
3755 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * emacs-lisp/package.el: Write files silently.
3758 (package-autoload-ensure-default-file, package--write-file-no-coding)
3759 (package-generate-description-file, package--download-one-archive)
3760 (package-install-from-archive): Tell `write-region' to stay quiet.
3761 (package-menu-mode, package-menu--print-info): Omit the Archive column
3762 if there's only one archive.
3763 (package-all-keywords, package--has-keyword-p): Remove dead code.
3764
3765 2014-01-22 Glenn Morris <rgm@gnu.org>
3766
3767 * version.el (emacs-bzr-version-bzr): Fix typo.
3768
3769 * version.el (emacs-repository-get-version):
3770 Check either .bzr or .git, but not both.
3771 Make the git case actually use the DIR argument, and return nil
3772 rather than the empty string.
3773 Avoid error if .git exists but the git executable is not found.
3774
3775 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3776
3777 Fixes in window size functions around Bug#16430 and Bug#16470.
3778 * window.el (window-total-size, window-size): New argument ROUND.
3779 (window--min-delta-1, window-min-delta, window--max-delta-1):
3780 Be more conservative when calculating the numbers of lines or
3781 columns a window can shrink (Bug#16430).
3782 (fit-window-to-buffer): Simplify code.
3783 * term.el (term-window-width): Call window-body-width again.
3784
3785 2014-01-22 Glenn Morris <rgm@gnu.org>
3786
3787 * image.el (image-format-suffixes): Doc fix.
3788
3789 * international/quail.el (quail-define-package): Doc fix.
3790
3791 * emacs-lisp/authors.el (authors-valid-file-names)
3792 (authors-renamed-files-alist): Additions.
3793
3794 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3795 reverts 2014-01-09 change. (Bug#16422)
3796
3797 * calc/calc-embed.el (thing-at-point-looking-at):
3798 * emacs-lisp/map-ynp.el (x-popup-dialog):
3799 * obsolete/lmenu.el (x-popup-dialog):
3800 * emacs-lisp/package.el (url-recreate-url):
3801 * mail/mailclient.el (clipboard-kill-ring-save):
3802 * subr.el (x-popup-dialog): Update declaration.
3803 * mail/rmail.el (rmail-mime-message-p):
3804 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3805
3806 2014-01-21 Daniel Colascione <dancol@dancol.org>
3807
3808 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3809 Correctly detect when we're inside an arithmetic expansion form
3810 containing nested parenthesis.
3811 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3812 to detect cases where we shouldn't expand "<<" to a heredoc
3813 skeleton.
3814
3815 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3816
3817 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3818 (eldoc--message-command-p): New function.
3819 (eldoc-display-message-p): Use it.
3820 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3821 message is not automatically erased for us.
3822 (eldoc-print-current-symbol-info): Erase previous message, if any.
3823
3824 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3825
3826 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3827 specify it's an interactive function.
3828
3829 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3830 Fix regex used for scanning for citation keys which failed for
3831 citations with optional arguments.
3832
3833 2014-01-21 Leo Liu <sdl.web@gmail.com>
3834
3835 * simple.el (read--expression): Don't enable eldoc-mode.
3836
3837 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * simple.el (move-beginning-of-line): Make sure we don't move forward
3840 (bug#16497).
3841
3842 2014-01-20 Juri Linkov <juri@jurta.org>
3843
3844 * saveplace.el (toggle-save-place, save-place-to-alist)
3845 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3846 'dired-mode) before checking for dired-directory. (Bug#16477)
3847
3848 2014-01-20 Juri Linkov <juri@jurta.org>
3849
3850 * indent.el (indent-line-to): Use backward-to-indentation
3851 instead of back-to-indentation. (Bug#16461)
3852
3853 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3854
3855 Revert some of the CANNOT_DUMP fix (Bug#16494).
3856 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3857 but fixing this can wait until after the next release.
3858 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3859
3860 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3861
3862 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3863 Use `password-word-equivalents'.
3864 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3865 to t. (Bug#5664, Bug#13124)
3866
3867 2014-01-19 Alan Mackenzie <acm@muc.de>
3868
3869 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3870 points.
3871 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3872 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3873 * progmodes/cc-mode.el (c-before-change, c-after-change)
3874 (c-font-lock-fontify-region): Bind it here.
3875
3876 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3877
3878 * term.el (term-window-width): Call window-text-width instead of
3879 window-width (Bug#16470).
3880
3881 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3882
3883 * simple.el (password-word-equivalents): Remove duplicates.
3884 Sort, to make this easier next time.
3885 Downcase. Omit ": " after "jelszó".
3886
3887 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3888
3889 * term/common-win.el (saved-region-selection): Defvar it.
3890 (x-select-text): Set saved-region-selection (Bug#16382).
3891
3892 2014-01-18 Glenn Morris <rgm@gnu.org>
3893
3894 * emacs-lisp/authors.el (authors-aliases)
3895 (authors-renamed-files-alist): Add some entries.
3896
3897 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3898
3899 * net/tramp.el (tramp-password-prompt-regexp):
3900 Use `password-word-equivalents' if available.
3901 (tramp-action-password, tramp-process-one-action)
3902 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3903
3904 2014-01-17 Chong Yidong <cyd@gnu.org>
3905
3906 * simple.el (password-word-equivalents): New defcustom.
3907 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3908 to 24.4.
3909 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3910 to t. (Bug#13124)
3911
3912 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3913
3914 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3915 (ruby-align-to-stmt-keywords): Change the default value.
3916 Use `ruby-alignable-keywords' to generate the possible customization
3917 choices.
3918 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3919 keywords, check against the value of `ruby-alignable-keywords'
3920 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3921
3922 2014-01-17 Glenn Morris <rgm@gnu.org>
3923
3924 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3925
3926 Make M-x authors return zero *Authors Errors* from current logs.
3927 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3928 (authors-ignored-files): Add some entries, remove others.
3929 (authors-ambiguous-files, authors-valid-file-names):
3930 Add some entries.
3931 (authors-renamed-files-alist): Add, remove, and adjust entries.
3932 (authors-renamed-files-regexps): Add some entries.
3933 Remove some very broad ones. Make some entries `lax'.
3934 (authors-lax-changelogs): New constant.
3935 (authors-disambiguate-file-name): Treat top-level specially.
3936 (authors-lax-changelog-p): New function.
3937 (authors-canonical-file-name): Check file as written against
3938 authors-valid-file-names. Do not special-case etc/.
3939 Handle `lax' logs and authors-renamed-files-regexps elements.
3940
3941 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3942
3943 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3944 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3945 callers.
3946
3947 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3950 Assume we're already in the proper buffer.
3951 Inspired by Anders Lindgren <andlind@gmail.com>.
3952 (follow-post-command-hook): Call it from the right buffer.
3953 (follow-comint-scroll-to-bottom): Adjust call.
3954 (follow-all-followers): Use get-buffer-window-list.
3955
3956 2014-01-15 Daniel Colascione <dancol@dancol.org>
3957
3958 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3959 `buffer-file-name' in interactive-form so that we don't leave
3960 pathless file names in `file-name-history'.
3961
3962 2014-01-15 Juri Linkov <juri@jurta.org>
3963
3964 * indent.el (indent-rigidly): Set deactivate-mark to nil
3965 in transient indentation mode. (Bug#16438)
3966
3967 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3968
3969 * emacs-lisp/package.el (package-desc-keywords): New function
3970 (Bug#16222).
3971 (describe-package-1, package-all-keywords)
3972 (package--has-keyword-p): Use it.
3973
3974 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3975
3976 * simple.el (define-alternatives): When creating the
3977 COMMAND-alternatives variable, assign COMMAND as its definition
3978 name so that `describe-variable' can relocate it.
3979
3980 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3981
3982 * font-lock.el (font-lock-keywords): Fix typo in docstring
3983 (bug#16307).
3984
3985 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3986
3987 * ispell.el (ispell-region): Reset `in-comment' for new line
3988 instead of wrongly reset `add-coment' (bug#13577).
3989
3990 2014-01-14 Daiki Ueno <ueno@gnu.org>
3991
3992 * epa-file.el (epa-file-write-region): Encode the region according
3993 to `buffer-file-format'. Problem reported at:
3994 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3995
3996 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3999 so it applies in the right buffer (bug#16410).
4000
4001 2014-01-13 Daniel Colascione <dancol@dancol.org>
4002
4003 * textmodes/rst.el (rst-define-key): Provide deprecated
4004 keybindings through named functions instead of anonymous ones so
4005 that "??" doesn't appear in describe-mode output.
4006
4007 2014-01-13 Bastien Guerry <bzg@gnu.org>
4008
4009 * simple.el (define-alternatives): Call the selected command
4010 interactively. When setting `COMMAND--implementation' for the
4011 first time, tell the user how to chose another implementation.
4012 Enhance the docstring.
4013
4014 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4017 (log-edit--match-first-line): New function.
4018 (log-edit-font-lock-keywords): Use it.
4019 (log-edit-mode): Make jit-lock-defer-multiline work.
4020
4021 2014-01-13 Bastien Guerry <bzg@gnu.org>
4022
4023 * rect.el (rectangle-mark-mode): When the region is not active,
4024 display a message saying that the mark as been set and that
4025 rectangle mode is in use.
4026 (rectangle--highlight-for-redisplay): Only put an overlay with a
4027 visible vertical bar when (display-graphic-p) is non-nil.
4028 This partially fixes Bug#16403.
4029
4030 2014-01-13 Juri Linkov <juri@jurta.org>
4031
4032 * info.el (Info-find-file): Go to DIR before displaying the error
4033 about a nonexistent file if no previous Info file is visited.
4034 Use `user-error' instead of `error' for "Info file %s does not exist".
4035 (Info-find-node-2): In case of a nonexistent node in unwind forms
4036 go to the Top node if there is no previous node to revert to.
4037 (Bug#16405)
4038
4039 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4040
4041 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4042 * window.el (fit-frame-to-buffer): Fix doc-string.
4043 Respect window-min-height/-width. Fit pixelwise when
4044 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4045 when avoiding that frame goes partially off-screen.
4046 (fit-window-to-buffer): Respect window-min-height/-width
4047 (Bug#14096).
4048
4049 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4052 after an empty line.
4053
4054 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4055
4056 * net/shr.el (shr-render-region): Autoload.
4057
4058 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4059
4060 * net/eww.el (eww-download-directory): Rename from
4061 `eww-download-path' (Bug#16419).
4062
4063 2014-01-12 Leo Liu <sdl.web@gmail.com>
4064
4065 * dired-x.el (dired-mode-map): Fix last change.
4066
4067 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4068
4069 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4070
4071 Spelling fixes.
4072 * emacs-lisp/generic.el (generic--normalize-comments):
4073 Rename from generic--normalise-comments. All uses changed.
4074 * play/bubbles.el (bubbles--neighborhood-score)
4075 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4076 (bubbles--neighborhood-available)
4077 (bubbles--update-neighborhood-score):
4078 Rename from names with 'neighbourhood'. All uses changed.
4079
4080 2014-01-12 Leo Liu <sdl.web@gmail.com>
4081
4082 Re-implement the feature of showing eldoc info after editing.
4083 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4084 (eldoc-edit-message-commands): New function.
4085 (eldoc-print-after-edit): New variable.
4086 (eldoc-pre-command-refresh-echo-area): Emit message only by
4087 eldoc-message-commands.
4088 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4089 if eldoc-print-after-edit is set. (Bug#16346)
4090 * simple.el (read--expression): Enable eldoc-mode.
4091 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4092
4093 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4094 Eric S. Raymond <esr@thyrsus.com>
4095
4096 * version.el (emacs-repository-get-version): Enhance so the
4097 function works correctly in either a Bazaar or Git repo.
4098
4099 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4100
4101 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4102 Goes with removal of the joke manpages from /etc.
4103
4104 2014-01-10 Kenichi Handa <handa@gnu.org>
4105
4106 * mail/rmail.el (rmail-get-coding-system):
4107 Check rmail-get-coding-function before "funcall"ing it.
4108
4109 2014-01-10 Glenn Morris <rgm@gnu.org>
4110
4111 * emacs-lisp/authors.el (authors-fixed-entries):
4112 Update for files that no longer exist.
4113
4114 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4115
4116 * version.el (emacs-bzr-get-version): Restore compatibilty with
4117 24.3 (Tested).
4118
4119 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4120
4121 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4122 and Podfile.
4123
4124 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4125
4126 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4127
4128 2014-01-10 Chong Yidong <cyd@gnu.org>
4129
4130 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4131
4132 2014-01-10 Anders Lindgren <andlind@gmail.com>
4133
4134 * follow.el (follow-cache-command-list): Include right-char and
4135 left-char.
4136
4137 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4138
4139 Spelling fixes.
4140 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4141 * woman.el (woman-mark-horizontal-position):
4142 Rename from woman-mark-horizonal-position. Use changed.
4143
4144 2014-01-10 Glenn Morris <rgm@gnu.org>
4145
4146 * info.el (info-initialize): If running uninstalled, ensure our
4147 own info files are always found first, even if INFOPATH is set.
4148
4149 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4150
4151 2014-01-09 David Engster <deng@randomsample.de>
4152
4153 * emacs-lisp/eieio-custom.el:
4154 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4155 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4156 * emacs-lisp/eieio.el: Regenerate autoloads.
4157
4158 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4159
4160 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4161 following renames. (Bug#8756)
4162
4163 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4164
4165 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4166 (bug#16382).
4167 (activate-mark): Add `no-tmm' argument.
4168 (set-mark, push-mark-command): Use it instead of running
4169 activate-mark-hook by hand.
4170
4171 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4172
4173 In preparation for the move to git, sanitize out some
4174 Bazaar-specific names.
4175
4176 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4177
4178 * version.el (emacs-bzr-version): Name changed to
4179 emacs-repository-version. Obsolete-variable alias made.
4180 * loadup.el: Follow through on this name change.
4181 * mail/emacsbug.el (report-emacs-bug): Factor out any
4182 assumption about the version control system in use.
4183
4184 2014-01-08 David Engster <deng@randomsample.de>
4185
4186 * help-fns.el (help-fns-describe-function-functions):
4187 New variable to call functions for augmenting help buffers.
4188 (describe-function-1): Remove explicit calls to
4189 `help-fns--compiler-macro', `help-fns--parent-mode' and
4190 `help-fns--obsolete'. Put them in above new variable instead, and
4191 call them through `run-hook-with-args'.
4192 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4193 `eieio-describe-class'. Not meant for interactive use anymore,
4194 but to augment existing help buffers. Remove optional second
4195 argument. Create proper button for file location.
4196 Rewrite function to use `insert' instead of `princ' and `prin1' where
4197 possible.
4198 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4199 (eieio-method-def, eieio-class-def): Move further up.
4200 (describe-method, describe-generic, eieio-describe-method):
4201 Remove aliases.
4202 (eieio-help-constructor, eieio-help-generic): Rename from
4203 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4204 Rewrite to use `insert' in the current buffer and use proper help
4205 buttons.
4206 (eieio-help-find-method-definition)
4207 (eieio-help-find-class-definition): Also accept symbols as
4208 arguments.
4209 (eieio-help-mode-augmentation-maybee): Remove.
4210 (eieio-describe-class-sb): Use `describe-function'.
4211 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4212 Add `eieio-help-generic' and `eieio-help-constructor'.
4213
4214 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4215
4216 Spelling fixes.
4217 * language/china-util.el (hz-ascii-designation):
4218 Rename from hz-ascii-designnation.
4219 (hz-ascii-designation): Rename from hz-ascii-designnation.
4220 All uses changed.
4221
4222 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4225 package-alist.
4226
4227 2014-01-08 Bastien Guerry <bzg@gnu.org>
4228
4229 * emacs-lisp/package.el (package-delete):
4230 Correctly delete the package from package-alist.
4231
4232 2014-01-08 Daiki Ueno <ueno@gnu.org>
4233
4234 * emacs-lisp/package.el (url-recreate-url): Declare.
4235 (url-http-target-url): Declare.
4236 (package-handle-response): Include requested URL in the error message.
4237 (package--check-signature): Don't re-signal errors from
4238 package--with-work-buffer. Suggested by Stefan Monnier.
4239
4240 2014-01-07 Bastien Guerry <bzg@gnu.org>
4241
4242 * minibuffer.el (completion--try-word-completion): When both a
4243 hyphen and a space are possible candidates for the character
4244 following a word, display both candidates. (Bug#15980)
4245
4246 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4247
4248 * window.el (balance-windows-2): While rounding don't give a
4249 window more than the remainder. Bug#16351, bug#16383.
4250
4251 2014-01-07 Glenn Morris <rgm@gnu.org>
4252
4253 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4254 (menu-bar-help-menu): Use view-external-packages instead.
4255
4256 2014-01-07 Bastien Guerry <bzg@gnu.org>
4257
4258 * emacs-lisp/package.el (package-delete): Also delete the package
4259 name from `package-alist', not its description only.
4260
4261 2014-01-07 Glenn Morris <rgm@gnu.org>
4262
4263 * help.el (view-external-packages):
4264 * menu-bar.el (menu-bar-help-extra-packages):
4265 Visit efaq.info rather than etc/MORE.STUFF.
4266
4267 2014-01-07 Juri Linkov <juri@jurta.org>
4268
4269 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4270 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4271
4272 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4273 that shadows RET. (Bug#16342)
4274
4275 2014-01-07 Chong Yidong <cyd@gnu.org>
4276
4277 * isearch.el (isearch-yank-char, isearch-yank-word)
4278 (isearch-yank-line): Doc fix.
4279
4280 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4283 * emacs-lisp/elint.el (elint-find-builtins):
4284 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4285 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4286 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4287 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4288 * apropos.el (apropos-safe-documentation):
4289 * subr.el (symbol-file): Remove redundant fboundp.
4290 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4291
4292 2014-01-06 Bastien Guerry <bzg@gnu.org>
4293
4294 * hl-line.el (global-hl-line-overlay): Make a local variable.
4295 (global-hl-line-overlays): New variable to store all overlays.
4296 (global-hl-line-mode): Don't delete overlays from the current
4297 buffer when `global-hl-line-sticky-flag' is non-nil.
4298 (global-hl-line-highlight): Add new overlays to
4299 `global-hl-line-overlays'.
4300 (global-hl-line-unhighlight-all): New function to delete all
4301 overlays when turning off `global-hl-line-mode'.
4302 This fixes Bug#16183.
4303
4304 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * subr.el (set-transient-map): Fix nested case and docstring.
4307
4308 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4309
4310 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4311 `Texinfo' entry.
4312
4313 2014-01-06 Daniel Colascione <dancol@dancol.org>
4314
4315 Fix defun navigation in vc log view.
4316
4317 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4318 like `beginning-of-defun'.
4319 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4320 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4321 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4322 (log-view-extract-comment): Call `log-view-current-entry' directly
4323 instead of relying on broken `log-view-beginning-of-defun' behavior.
4324
4325 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4326
4327 Spelling fixes.
4328 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4329 * emacs-lisp/debug.el (cancel-debug-on-entry):
4330 * epg.el (epg-error-to-string):
4331 * files.el (recover-file):
4332 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4333 * mail/emacsbug.el (report-emacs-bug-hook):
4334 * mail/sendmail.el (mail-recover):
4335 * ses.el (ses-yank-resize):
4336 * term/ns-win.el (ns-print-buffer):
4337 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4338 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4339 All uses changed.
4340 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4341
4342 2014-01-06 Leo Liu <sdl.web@gmail.com>
4343
4344 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4345 to avoid shadowing global key. (Bug#16354)
4346
4347 2014-01-06 Daniel Colascione <dancol@dancol.org>
4348
4349 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4350 rst-mode.
4351
4352 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4353
4354 * window.el (balance-windows): Add mising t to fix Bug#16351.
4355
4356 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4357
4358 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4359 (bug#16285).
4360 (shr-insert): If we have a word that's longer than `shr-width',
4361 break after it anyway. Otherwise we'll do no breaking once we get
4362 such a long word.
4363
4364 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4365
4366 * net/eww.el (eww): Support single/double quote for search.
4367 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4368 (eww-history-quit): Delete and use quit-window.
4369 (eww-history-kill): Delete, because it doesn't work well and
4370 not necessary.
4371 (eww-history-mode-map): Delete some keys and add easy-menu.
4372
4373 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4374
4375 Fix misspelling of 'chinese' in rx (Bug#16237).
4376 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4377 chinese-two-byte.
4378
4379 Change subword regexps back to vars (Bug#16296).
4380 * progmodes/subword.el (subword-forward-regexp)
4381 (subword-backward-regexp): Change these back to variables.
4382
4383 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4384
4385 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4386 syntax-begin-function (bug#16247).
4387
4388 2014-01-03 Chong Yidong <cyd@gnu.org>
4389
4390 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4391 (advice--docstring): Delete variable.
4392 (advice--make-1): Leave the docstring empty.
4393 (advice-add): Use function-documentation for advised docstring.
4394
4395 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4396 Ignore function-documentation property when getting documentation.
4397 (ad-activate-advised-definition): Use function-documentation
4398 generate the docstring.
4399 (ad-make-advised-definition): Don't call
4400 ad-make-advised-definition-docstring.
4401 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4402 Delete functions.
4403
4404 * progmodes/sql.el (sql-help): Use function-documentation instead
4405 of dynamic-docstring-function property. No need to autoload now.
4406 (sql--help-docstring): New variable.
4407 (sql--make-help-docstring): Use it.
4408
4409 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * ielm.el (ielm-tab): Retarget.
4412 (ielm-map): Use ielm-tab for tab.
4413 (ielm-complete-filename): Use comint-filename-completion.
4414 (ielm-complete-symbol): Remove.
4415 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4416 remove ielm-tab from completion-at-point-functions (bug#16224).
4417
4418 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4419 Beware signals raised by predicates (bug#16201).
4420
4421 2014-01-02 Richard Stallman <rms@gnu.org>
4422
4423 * dired-aux.el (dired-do-print): Handle printer-name.
4424
4425 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4426 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4427 (rmail-epa-decrypt): Turn off mime processing.
4428
4429 * mail/rmail.el (rmail-make-in-reply-to-field):
4430 Add parens in message-id.
4431
4432 * mail/rmail.el (rmail-get-coding-function): Variable.
4433 (rmail-get-coding-system): Use it.
4434
4435 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4436
4437 * international/mule-conf.el: Unify the charset indian-is13194.
4438 (indian-is13194): Specify unify-map.
4439
4440 2013-12-31 Leo Liu <sdl.web@gmail.com>
4441
4442 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4443
4444 2013-12-30 Daniel Colascione <dancol@dancol.org>
4445
4446 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4447 of printing a useless when we resume from sleep.
4448
4449 * progmodes/sh-script.el
4450 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4451 in indentation code. (Bug#16233)
4452
4453 2013-12-28 João Távora <joaotavora@gmail.com>
4454
4455 * elec-pair.el (electric-pair-post-self-insert-function):
4456 Don't open extra newlines at beginning of buffer. (Bug#16272)
4457
4458 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4459
4460 * frame.el (window-system-for-display): Don't allow to create a
4461 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4462
4463 2013-12-28 Glenn Morris <rgm@gnu.org>
4464
4465 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4466 Update callers.
4467
4468 * apropos.el (apropos-match-face):
4469 * calculator.el (calculator-displayer):
4470 * dabbrev.el (dabbrev-search-these-buffers-only):
4471 * face-remap.el (buffer-face-mode-face):
4472 * simple.el (yank-handled-properties):
4473 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4474 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4475 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4476 (hashcash-double-spend-database):
4477 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4478 (ruby-deep-indent-paren-style):
4479 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4480 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4481 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4482 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4483 Specify custom types.
4484
4485 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4486 * bookmark.el (bookmark-bmenu-use-header-line):
4487 * doc-view.el (doc-view-scale-internally):
4488 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4489 * register.el (register-preview-delay):
4490 * net/shr.el (shr-bullet):
4491 * progmodes/cfengine.el (cfengine-cf-promises)
4492 (cfengine-parameters-indent):
4493 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4494 * textmodes/reftex-vars.el (reftex-label-regexps):
4495 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4496
4497 * net/tls.el (tls-certtool-program): Fix default value.
4498
4499 * desktop.el (desktop-restore-in-current-display):
4500 * newcomment.el (comment-empty-lines):
4501 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4502 (idlwave-pad-keyword):
4503 * progmodes/tcl.el (tcl-tab-always-indent):
4504 * textmodes/reftex-vars.el (reftex-index-default-tag):
4505 * elec-pair.el (electric-pair-skip-whitespace):
4506 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4507
4508 * emacs-lisp/authors.el (authors-ignored-files)
4509 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4510
4511 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4512
4513 * shell.el (shell-dynamic-complete-command): Doc fix.
4514 (shell--command-completion-data): Shell completion now matches
4515 executable filenames from the current buffer's directory, on
4516 systems in which this behavior is the default (windows-nt, ms-dos).
4517
4518 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4519
4520 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4521
4522 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4525 (bug#16251).
4526
4527 * electric.el: Move all electric-pair-* to elec-pair.el.
4528 * elec-pair.el: New file, split from electric.el.
4529
4530 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4531
4532 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4533 indentation level is larger than the width, because that will
4534 infloop.
4535 (shr-insert): Fill repeatedly long texts, so that Japanese is
4536 formatted correctly (bug#16263).
4537 (shr-find-fill-point): Off by one error in comparison with the
4538 indentation.
4539
4540 2013-12-26 João Távora <joaotavora@gmail.com>
4541
4542 * electric.el (electric-pair-mode): More flexible engine for skip-
4543 and inhibit predicates, new options for pairing-related functionality.
4544 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4545 if that keeps or improves their balance in buffers.
4546 (electric-pair-delete-adjacent-pairs): Delete the pair when
4547 backspacing over adjacent matched delimiters.
4548 (electric-pair-open-extra-newline): Open extra newline when
4549 inserting newlines between adjacent matched delimiters.
4550 (electric--sort-post-self-insertion-hook):
4551 Sort post-self-insert-hook according to priority values when
4552 minor-modes are activated.
4553 * simple.el (newline-and-indent): Call newline with interactive
4554 set to t.
4555 (blink-paren-post-self-insert-function): Set priority to 100.
4556 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4557 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4558 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4559 electric-pair-open-newline-between-pairs to nil.
4560
4561 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4562
4563 * progmodes/python.el: Use lexical-binding.
4564 (python-nav-beginning-of-defun): Stop searching ASAP.
4565
4566 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4567
4568 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4569 Fix interactive spec. Doc fix. (Bug#15754)
4570
4571 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4572
4573 * emacs-lisp/byte-run.el (eval-when-compile):
4574 * progmodes/cc-defs.el (cc-eval-when-compile):
4575 Fix edebug spec (bug#16184).
4576
4577 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4578
4579 * net/shr.el (shr-visit-file): Remove debugging function.
4580 (shr-insert): Don't infloop if we can't find a good place to break
4581 the line (bug#16256).
4582
4583 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4584
4585 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4586 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4587 python-nav-lisp-forward-sexp-safe.
4588 (python-nav--forward-sexp): New argument SAFE allows switching
4589 forward sexp movement behavior for parens.
4590 (python-nav-forward-sexp): Throw errors on unterminated parens
4591 (Bug#16191).
4592 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4593 (python-nav-backward-sexp-safe): New functions.
4594 (python-shell-buffer-substring):
4595 Use `python-nav-forward-sexp-safe'.
4596
4597 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4598
4599 * net/shr.el (shr-find-fill-point): Don't break lines before a
4600 quotation mark.
4601 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4602 (shr-find-fill-point): Remove the special checks for the quotation
4603 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4604
4605 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4606
4607 * net/eww.el (eww-form-textarea): Use a different face for
4608 textareas than text input since they have different keymaps
4609 (bug#16142).
4610
4611 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4612
4613 * progmodes/python.el (python-nav-beginning-of-statement):
4614 Speed up (Bug#15295).
4615
4616 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4617
4618 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4619 the window configuration.
4620
4621 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4622
4623 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4624 we run on MS-Windows or MS-DOS.
4625
4626 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4627
4628 * window.el (balance-windows-area): Call window-size instead of
4629 window-height and window-width. Bug#16241.
4630
4631 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4632
4633 * net/eww.el (eww-bookmark-quit): Remove.
4634 (eww-bookmark-browse): Restore the window configuration when you
4635 choose a bookmark (bug#16144).
4636
4637 2013-12-24 Daniel Colascione <dancol@dancol.org>
4638
4639 * icomplete.el: Remove redundant :group arguments to `defcustom'
4640 throughout.
4641 (icomplete-show-matches-on-no-input): New customizable variable.
4642 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4643 we have something to show.
4644 (icomplete-exhibit): Compute completions even if we have no user input.
4645
4646 2013-12-23 Daniel Colascione <dancol@dancol.org>
4647
4648 * icomplete.el: Move `provide' to end of file.
4649
4650 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4651
4652 * net/gnutls.el (gnutls-verify-error): Add version tag.
4653
4654 2013-12-23 Chong Yidong <cyd@gnu.org>
4655
4656 * subr.el (set-transient-map): Rename from
4657 set-temporary-overlay-map. Doc fix.
4658
4659 * face-remap.el (text-scale-adjust):
4660 * indent.el (indent-rigidly):
4661 * kmacro.el (kmacro-call-macro):
4662 * minibuffer.el (minibuffer-force-complete):
4663 * repeat.el (repeat):
4664 * simple.el (universal-argument--mode):
4665 * calendar/todo-mode.el (todo-insert-item--next-param):
4666 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4667
4668 * indent.el (indent-rigidly): Use substitute-command-keys.
4669
4670 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4671
4672 * net/eww.el (eww-tag-select): Add text-property to jump to next
4673 select field.
4674 (eww): Add non-supported ftp error.
4675
4676 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4677
4678 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4679 comments. Handle electric indent after typing `?' and `!'.
4680
4681 2013-12-22 Chong Yidong <cyd@gnu.org>
4682
4683 * faces.el (face-spec-recalc): If the theme specs are not
4684 applicable to a frame, fall back on the defface spec.
4685 This prevents themes from obliterating faces on low-color terminals.
4686
4687 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4688
4689 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4690 after `{'. We need it after block openers, and it doesn't seem
4691 to hurt after hash openers.
4692
4693 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4694
4695 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4696 extracted from `ruby-smie-rules'.
4697 (ruby--electric-indent-chars): New variable.
4698 (ruby--electric-indent-p): New function.
4699 (ruby-mode): Use `electric-indent-functions' instead of
4700 `electric-indent-chars'.
4701
4702 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4703
4704 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4705 docstring.
4706 (ruby-smie-rules): Indent plus one level after `=>'.
4707
4708 2013-12-21 Richard Stallman <rms@gnu.org>
4709
4710 * simple.el (newline): Doc fix.
4711
4712 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4713
4714 * net/eww.el (eww-list-histories, eww-list-histories)
4715 (eww-history-browse, eww-history-quit, eww-history-kill)
4716 (eww-history-mode-map, eww-history-mode): New command and
4717 functions to list browser histories.
4718 (eww-form-text): Support text form with disabled
4719 and readonly attributes.
4720 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4721
4722 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4723
4724 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4725 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4726 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4727 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4728 Use `user-error'.
4729 (eww-bookmark-mode-map): Add menu.
4730 (eww-render, eww-mode): Use `setq-local'.
4731 (eww-tool-bar-map): New variable.
4732 (eww-mode): Set `tool-bar-map'.
4733 (eww-view-source): Check for `html-mode' with `fboundp'.
4734
4735 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4736
4737 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4738 elements with text inside. Also remove debugging.
4739
4740 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4741
4742 * cus-start.el (all): Add ns-use-srgb-colorspace.
4743
4744 2013-12-21 Chong Yidong <cyd@gnu.org>
4745
4746 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4747 undefined. Thus, theme settings for undefined faces do not take
4748 effect until the faces are defined with defface, the same as with
4749 theme variables.
4750
4751 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4752 (face-spec-reset-face): Don't assign extra properties in temacs.
4753 (face-spec-recalc): Apply X resources too.
4754
4755 2013-12-21 Chong Yidong <cyd@gnu.org>
4756
4757 * faces.el (face-spec-set):
4758 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4759 * custom.el (defface): Doc fixes (Bug#16203).
4760
4761 * indent.el (indent-rigidly-map): Add docstring, and move commands
4762 into named functions.
4763 (indent-rigidly-left, indent-rigidly-right)
4764 (indent-rigidly-left-to-tab-stop)
4765 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4766 indentation direction based on bidi direction, and accumulate
4767 sequential commands in a single undo boundary.
4768 (indent-rigidly--pop-undo): New utility function.
4769
4770 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4771
4772 * faces.el (read-face-name): Require crm.el when using crm-separator.
4773
4774 2013-12-20 Daniel Colascione <dancol@dancol.org>
4775
4776 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4777 so that we don't reflow comments into the shebang line.
4778
4779 2013-12-20 Juri Linkov <juri@jurta.org>
4780
4781 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4782 a position when `dired-directory' is non-nil. Check integer
4783 positions with `integerp'.
4784 (toggle-save-place, save-places-to-alist): Add check for
4785 `dired-directory'.
4786 (save-place-find-file-hook): Check integer positions with
4787 `integerp'.
4788 (save-place-dired-hook): Use `dired-goto-file' when
4789 `dired-filename' is found in the assoc list. Check integer
4790 positions with `integerp'.
4791 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4792
4793 * dired.el (dired-initial-position-hook): Rename back from
4794 `dired-initial-point-hook'.
4795 (dired-initial-position): Rename `dired-initial-point-hook' to
4796 `dired-initial-position-hook'.
4797 (dired-file-name-at-point): Doc fix. (Bug#15329)
4798
4799 2013-12-20 Juri Linkov <juri@jurta.org>
4800
4801 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4802 (read-regexp-suggestions): New function.
4803 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4804 Use `read-regexp-suggestions'. Add non-empty default to history
4805 for empty input.
4806 (occur-read-regexp-defaults-function): Remove function.
4807 (occur-read-primary-args): Use `regexp-history-last' instead of
4808 `occur-read-regexp-defaults-function'.
4809
4810 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4811 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4812 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4813 `hi-lock-read-regexp-defaults-function'. Doc fix.
4814 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4815 with `find-tag-default-as-symbol-regexp'. Doc fix.
4816 (hi-lock-read-regexp-defaults): Remove function.
4817 (hi-lock-regexp-okay): Add check for null.
4818
4819 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4820 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4821
4822 * subr.el (find-tag-default-as-symbol-regexp): New function.
4823 (find-tag-default-as-regexp): Move symbol regexp formatting to
4824 `find-tag-default-as-symbol-regexp'.
4825
4826 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4827
4828 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4829 (Bug#14179)
4830
4831 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4832
4833 * calendar/todo-mode.el: New implementation of item insertion
4834 commands and key bindings.
4835 (todo-key-prompt): New face.
4836 (todo-insert-item): New command.
4837 (todo-insert-item--parameters): New defconst, replacing defvar
4838 todo-insertion-commands-args-genlist.
4839 (todo-insert-item--param-key-alist): New defconst, replacing
4840 defvar todo-insertion-commands-arg-key-list.
4841 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4842 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4843 (todo-insert-item--next-param): New functions.
4844 (todo-insert-item--args, todo-insert-item--argleft)
4845 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4846 New variables.
4847 (todo-key-bindings-t): Change binding of "i" from
4848 todo-insertion-map to todo-insert-item.
4849 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4850 (todo-insertion-command-name, todo-insertion-commands-names)
4851 (todo-define-insertion-command, todo-insertion-commands)
4852 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4853
4854 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4855
4856 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4857 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4858 eval-when-compile.
4859 (todo-move-category): Allow choosing a non-existing todo file to
4860 move the category to, and create that file.
4861 (todo-default-priority): New user option.
4862 (todo-set-item-priority): Use it.
4863 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4864 (desktop-restore-file-buffer): Declare.
4865 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4866 (todo-modes-set-2): Locally set desktop-save-buffer to
4867 todo-desktop-save-buffer.
4868 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4869 (auto-mode-alist): Add autoload cookie.
4870
4871 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4872
4873 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4874 helpers.el was a poor choice of name.
4875 (string-remove-prefix): New function.
4876 (string-remove-suffix): New function.
4877
4878 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4879
4880 Fix assignment for new window total sizes.
4881 * window.el (window--pixel-to-size): Remove function.
4882 (window--pixel-to-total-1, window--pixel-to-total):
4883 Fix calculation of new total sizes.
4884
4885 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4886
4887 * comint.el (comint-output-filter): Fix rear-nonsticky property
4888 placement (Bug#16010).
4889
4890 2013-12-20 Chong Yidong <cyd@gnu.org>
4891
4892 * faces.el (read-color): Minor fix for completion function.
4893
4894 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4895
4896 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4897 New option. (Bug#16182)
4898 (ruby-smie--indent-to-stmt-p): Use it.
4899 (ruby-smie-rules): Revert the logic in the handling of `when'.
4900 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4901 (ruby-deep-arglist, ruby-deep-indent-paren)
4902 (ruby-deep-indent-paren-style): Update docstrings to note that the
4903 vars don't have any effect with SMIE.
4904
4905 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4906
4907 * calc/calc.el (calc-enter, calc-pop): Use the variable
4908 `calc-context-sensitive-enter'.
4909
4910 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4911
4912 * net/shr.el (shr-insert): Protect against infloops in degenerate
4913 tables.
4914
4915 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4916
4917 * progmodes/octave.el (octave): Add link to manual and octave
4918 homepage.
4919 (octave-mode-menu): Link to octave-mode manual.
4920
4921 2013-12-20 Leo Liu <sdl.web@gmail.com>
4922
4923 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4924 insertion using skeleton-end-newline. (Bug#16138)
4925
4926 2013-12-20 Juri Linkov <juri@jurta.org>
4927
4928 * replace.el (occur-engine): Use `add-face-text-property'
4929 to add the face property to matches and titles. (Bug#14645)
4930
4931 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4932 the palette of other hi-lock colors.
4933 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4934
4935 2013-12-19 Juri Linkov <juri@jurta.org>
4936
4937 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4938 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4939 (minibuffer-history-symbol): Move variable declaration closer to
4940 its usage.
4941
4942 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4943 (Bug#14785)
4944
4945 2013-12-19 Juri Linkov <juri@jurta.org>
4946
4947 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4948 New function.
4949 (log-edit-hook): Add it to :options. (Bug#16170)
4950
4951 2013-12-19 Juri Linkov <juri@jurta.org>
4952
4953 * simple.el (eval-expression-print-format): Don't check for
4954 command names and the last command. Always display additional
4955 formats of the integer result in the echo area, and insert them
4956 to the current buffer only with a zero prefix arg.
4957 Display character when char-displayable-p is non-nil.
4958 (eval-expression): With a zero prefix arg, set `print-length' and
4959 `print-level' to nil, and insert the integer values from
4960 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4961
4962 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4963 `eval-last-sexp-arg-internal'. Doc fix.
4964 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4965 `eval-last-sexp-print-value'. Doc fix.
4966 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4967 Set `print-length' and `print-level' to nil when arg is zero.
4968 (eval-last-sexp): Doc fix.
4969 (eval-defun-2): Print the integer values from
4970 `eval-expression-print-format' at the end.
4971
4972 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4973 values from `eval-expression-print-format' at the end.
4974
4975 * ielm.el (ielm-eval-input): Print the integer
4976 values from `eval-expression-print-format' at the end.
4977
4978 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4979
4980 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4981 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4982
4983 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4986 (hl-line-highlight, global-hl-line-highlight): Use it.
4987 (hl-line-overlay): Use defvar-local.
4988
4989 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4990
4991 * term/ns-win.el: Require dnd.
4992 (global-map): Remove drag items.
4993 (ns-insert-text, ns-set-foreground-at-mouse)
4994 (ns-set-background-at-mouse):
4995 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4996 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4997 New functions.
4998
4999 2013-12-19 Glenn Morris <rgm@gnu.org>
5000
5001 * emacs-lisp/ert.el (ert-select-tests):
5002 Fix string/symbol mixup. (Bug#16121)
5003
5004 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5005
5006 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5007 keywords to their parent.
5008
5009 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5010
5011 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5012 first arg to be a string (fixed dead code), or an operator symbol.
5013 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5014 operator symbols.
5015 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5016 did nothing. Don't respond to `(:after ".")', it will be called
5017 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5018 change anything. Only return indentation for binary operators
5019 when they are hanging. De-dent opening paren when its parent is
5020 `.', otherwise it looks bad when the dot is not at bol or eol
5021 (bug#16182).
5022
5023 2013-12-19 Juri Linkov <juri@jurta.org>
5024
5025 * replace.el (query-replace-read-args): Split a non-negative arg
5026 and a negative arg into separate elements.
5027 (query-replace, query-replace-regexp, replace-string)
5028 (replace-regexp): Add arg `backward'. Doc fix.
5029 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5030 move point to the beginning of the match.
5031 (replace-search, replace-highlight): Use new arg `backward'
5032 to set the value of `isearch-forward'.
5033 (perform-replace): Add arg `backward' and use it to perform
5034 replacement backward. (Bug#14979)
5035
5036 * isearch.el (isearch-query-replace): Use a negative prefix arg
5037 to call `perform-replace' with a non-nil arg `backward'.
5038
5039 2013-12-18 Juri Linkov <juri@jurta.org>
5040
5041 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5042 to the default list. Move `log-edit-show-files' to the end.
5043 Add more available functions to options.
5044 (log-edit): Move default specific settings to
5045 `log-edit-insert-message-template'. Don't move point.
5046 (log-edit-insert-message-template): New function.
5047 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5048 (Bug#16170)
5049
5050 2013-12-18 Juri Linkov <juri@jurta.org>
5051
5052 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5053 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5054
5055 2013-12-18 Leo Liu <sdl.web@gmail.com>
5056
5057 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5058 (Bug#16186)
5059
5060 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5061
5062 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5063 formats for displaying file sizes when the -s switch is given.
5064 Instead, compute a separate format for displaying the size in
5065 blocks, which is displayed in addition to the "regular" size.
5066 When -h is given in addition to -s, produce size in blocks in
5067 human-readable form as well. (Bug#16179)
5068
5069 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5070
5071 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5072 Reference tables with ~\ref{...} instead of only \ref{...}.
5073
5074 2013-12-18 Chong Yidong <cyd@gnu.org>
5075
5076 * cus-edit.el (custom-magic-alist): Fix "themed" description
5077 (Bug#14348).
5078
5079 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5080 is non-nil, do not create a new entry in the symbol's theme-value
5081 or theme-face property; update theme-settings only (Bug#14664).
5082 (custom-available-themes): Doc fix.
5083
5084 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5085 (Bug#15674).
5086
5087 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5088
5089 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5090
5091 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5092 (Bug#13914).
5093
5094 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5095
5096 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5097
5098 2013-12-18 Glenn Morris <rgm@gnu.org>
5099
5100 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5101 * cus-start.el (load-prefer-newer): New option.
5102
5103 2013-12-18 Le Wang <l26wang@gmail.com>
5104
5105 * comint.el (comint-previous-matching-input-from-input):
5106 Retain point (Bug#13404).
5107
5108 2013-12-18 Chong Yidong <cyd@gnu.org>
5109
5110 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5111
5112 2013-12-18 Glenn Morris <rgm@gnu.org>
5113
5114 * mail/emacsbug.el (report-emacs-bug):
5115 Only mention enable-multibyte-characters if non-standard.
5116
5117 2013-12-17 Juri Linkov <juri@jurta.org>
5118
5119 * arc-mode.el (archive-extract-by-file): Check if directory exists
5120 before deletion to not show irrelevant errors if it doesn't exist.
5121
5122 2013-12-17 Juri Linkov <juri@jurta.org>
5123
5124 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5125 (Bug#14751)
5126
5127 * net/eww.el (browse-web): Add alias to `eww'.
5128 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5129 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5130
5131 * net/browse-url.el (browse-url-browser-function): Move `eww'
5132 closer to similar functions.
5133
5134 * startup.el (fancy-startup-screen, fancy-about-screen):
5135 Set browse-url-browser-function to eww-browse-url locally.
5136 (Bug#14751)
5137
5138 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * window.el (window--pixel-to-total): Remove unused `mini' var.
5141 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5142 (split-window): Remove unused `new' var.
5143 (window--display-buffer): Remove unused `frame' and `delta' vars.
5144 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5145 and display-width'.
5146
5147 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5148
5149 * dired.el (dired-mark-pop-up):
5150 * register.el (register-preview): Don't bind
5151 split-height-threshold here since it's now done in
5152 display-buffer-below-selected.
5153
5154 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5155
5156 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5157 xterm-rgb-convert-to-16bit.
5158 (rxvt-register-default-colors): Standardize with
5159 xterm-register-default-colors (Bug#14078).
5160
5161 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5162
5163 * simple.el (kill-region): Pass mark first, then point, so that
5164 kill-append works right (Bug#12819).
5165 (copy-region-as-kill, kill-ring-save): Likewise.
5166
5167 2013-12-17 Leo Liu <sdl.web@gmail.com>
5168
5169 * net/rcirc.el (rcirc-add-face):
5170 * eshell/em-prompt.el (eshell-emit-prompt):
5171 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5172 (Bug#16167)
5173
5174 2013-12-17 Chong Yidong <cyd@gnu.org>
5175
5176 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5177 Suggested by Xue Fuqiao.
5178
5179 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5180
5181 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5182
5183 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5184
5185 * net/shr.el (shr-insert-document): Remove unused var
5186 `shr-preliminary-table-render'.
5187 (shr-rescale-image): Remove unused arg `force'.
5188 (shr-put-image): Update calls accordingly.
5189 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5190
5191 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5192
5193 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5194 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5195 :close-all, to see which indentation method to use (Bug#16116).
5196 (smie-rules-function): Document the method :close-all.
5197
5198 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5199
5200 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5201
5202 * net/eww.el (eww-display-html): If we can't find the anchor we're
5203 looking for, then go to point-min.
5204
5205 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5206
5207 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5208 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5209 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5210 Expand dir too, in case it's relative.
5211
5212 2013-12-16 Juri Linkov <juri@jurta.org>
5213
5214 * desktop.el (desktop-auto-save-timeout): Change default to
5215 `auto-save-timeout'. Doc fix.
5216 (desktop-save): Skip the timestamp in desktop-saved-frameset
5217 when checking for auto-save changes.
5218 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5219 `desktop-auto-save' is called repeatedly by the idle timer.
5220 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5221 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5222 (Bug#15331)
5223
5224 2013-12-16 Juri Linkov <juri@jurta.org>
5225
5226 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5227 (Bug#16035)
5228 (isearch-pre-command-hook): Check `this-command' for symbolp.
5229
5230 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5233
5234 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5235
5236 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5237 (cfengine3--current-function): Bring in the current-function
5238 functionality from `cfengine3--current-word'.
5239 (cfengine3-completion-function): Bring in the
5240 bounds-of-current-word functionality from
5241 `cfengine3--current-word'.
5242
5243 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5244
5245 * window.el (display-buffer-below-selected):
5246 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5247
5248 2013-12-16 Leo Liu <sdl.web@gmail.com>
5249
5250 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5251 Remove NOMSG arg and all uses changed.
5252
5253 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5256 (cua--deactivate-rectangle): Don't deactivate the mark.
5257 (cua-set-rectangle-mark): Don't set mark-active since
5258 cua--activate-rectangle already does it for us.
5259 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5260 non-rectangular region.
5261
5262 * emulation/cua-base.el (cua-repeat-replace-region):
5263 Use with-current-buffer.
5264
5265 * net/gnutls.el: Use cl-lib.
5266 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5267
5268 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5269
5270 * emacs-lisp/package.el (package-built-in-p): Support both
5271 built-in and the package.el converted package descriptions.
5272 (package-show-package-list): Allow keywords.
5273 (package-keyword-button-action): Use it instead of
5274 `finder-list-matches'.
5275 (package-menu-filter-interactive): Interactive filtering (by
5276 keyword) function.
5277 (package-menu--generate): Support keywords and change keymappings
5278 and headers when they are given.
5279 (package--has-keyword-p): Helper function.
5280 (package-menu--refresh): Use it.
5281 (package--mapc): Helper function.
5282 (package-all-keywords): Use it.
5283 (package-menu-mode-map): Set up menu items and keybindings to
5284 provide a filtering UI.
5285
5286 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5287
5288 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5289 the behavior when a certificate fails validation. Defaults to
5290 old behavior: never abort, just warn.
5291 (gnutls-negotiate): Use it.
5292
5293 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5294
5295 * window.el (display-buffer-below-selected): Never split window
5296 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5297
5298 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5299
5300 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5301 (package-buffer-info): Use it (bug#15108).
5302
5303 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * icomplete.el (icomplete-completions): Make sure the prefix is already
5306 displayed elsewhere before hiding it (bug#16219).
5307
5308 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5309
5310 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5311 open-paren tokens when preceded by a open-paren, too.
5312 (ruby-smie-rules): Handle virtual indentation after open-paren
5313 tokens specially. If there is code between it and eol, return the
5314 column where is starts (Bug#16118).
5315
5316 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5317
5318 * progmodes/cfengine.el: Fix `add-hook' doc.
5319 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5320 (cfengine3--current-word): Fix parameters.
5321 (cfengine3-make-syntax-cache): Simplify further.
5322 (cfengine3-completion-function, cfengine3--current-function):
5323 Use `assq' for symbols.
5324 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5325
5326 2013-12-13 Glenn Morris <rgm@gnu.org>
5327
5328 * loadup.el (load-path): Warn if site-load or site-init changes it.
5329 No more need to reset it when bootstrapping.
5330
5331 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5332
5333 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5334 locations for cf-promises.
5335 (cfengine-mode-syntax-functions-regex): New caching variable.
5336 (cfengine3-fallback-syntax): Fallback syntax for cases where
5337 cf-promises doesn't run.
5338 (cfengine3--current-word): Reimplement using
5339 `cfengine-mode-syntax-functions-regex'.
5340 (cfengine3-completion-function, cfengine3--current-function):
5341 Use `cfengine3-make-syntax-cache' directly.
5342 (cfengine3-clear-syntax-cache): New function.
5343 (cfengine3-make-syntax-cache): Simplify and create
5344 `cfengine-mode-syntax-functions-regex' on demand.
5345 (cfengine3-format-function-docstring): Don't call
5346 `cfengine3-make-syntax-cache' explicitly.
5347
5348 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5349
5350 Fix windmove-find-other-window broken after pixelwise resizing
5351 (Bug#16017).
5352 * windmove.el (windmove-other-window-loc): Revert change from
5353 2013-12-04.
5354 (windmove-find-other-window): Call window-in-direction.
5355 * window.el (window-in-direction): New arguments SIGN, WRAP and
5356 MINI to emulate original windmove-find-other-window behavior.
5357
5358 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5359
5360 * simple.el (blink-matching--overlay): New variable.
5361 (blink-matching-open): Instead of moving point, highlight the
5362 matching paren with an overlay
5363 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5364
5365 * faces.el (paren-showing-faces, show-paren-match)
5366 (show-paren-mismatch): Move from paren.el.
5367
5368 2013-12-13 Leo Liu <sdl.web@gmail.com>
5369
5370 * indent.el (indent-region): Disable progress reporter in
5371 minibuffer. (Bug#16108)
5372
5373 * bindings.el (visual-order-cursor-movement): Fix version.
5374
5375 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5376
5377 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5378 Also match after beginning of line.
5379 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5380 files. Thanks to Russell Sim. (Bug#15378)
5381
5382 2013-12-13 Juri Linkov <juri@jurta.org>
5383
5384 * simple.el <Keypad support>: Remove key bindings duplicated
5385 with bindings.el. (Bug#14397)
5386
5387 2013-12-13 Juri Linkov <juri@jurta.org>
5388
5389 * comint.el (comint-mode-map): Replace `delete-char' with
5390 `delete-forward-char'. (Bug#16109)
5391
5392 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5393
5394 * progmodes/python.el (python-indent-calculate-indentation):
5395 Fix de-denters cornercase. (Bug#15731)
5396
5397 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5400 (advice--make): Pay attention to `depth'.
5401 (advice--make-1): Don't autoload commands eagerly.
5402 * emacs-lisp/elp.el (elp-instrument-function):
5403 * emacs-lisp/trace.el (trace-function-internal):
5404 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5405
5406 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5407
5408 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5409
5410 * term/w32-win.el (w32-handle-dropped-file):
5411 * startup.el (normal-top-level):
5412 * net/browse-url.el (browse-url-file-url):
5413 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5414 decode file names using 'utf-8' rather than
5415 file-name-coding-system.
5416
5417 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5418
5419 * progmodes/python.el (python-indent-context)
5420 (python-indent-calculate-indentation): Fix auto-identation
5421 behavior for comment blocks. (Bug#15916)
5422
5423 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5424
5425 * progmodes/python.el (python-indent-calculate-indentation):
5426 When determining indentation, don't treat "return", "pass", etc., as
5427 operators when they are just string constituents. (Bug#15812)
5428
5429 2013-12-12 Juri Linkov <juri@jurta.org>
5430
5431 * uniquify.el (uniquify-buffer-name-style): Change default to
5432 `post-forward-angle-brackets'.
5433
5434 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5435 `uniquify'. Change default to `post-forward-angle-brackets'.
5436
5437 2013-12-11 Glenn Morris <rgm@gnu.org>
5438
5439 * emacs-lisp/package.el (finder-list-matches):
5440 Autoload rather than falsely declaring.
5441
5442 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5443
5444 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5445 (eww-mode-map): Use them.
5446
5447 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5448
5449 * window.el (display-buffer-in-side-window): Fix doc-string
5450 (Bug#16115).
5451
5452 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5453
5454 * vc/vc-git.el: Silence byte-compiler warnings.
5455 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5456 (log-edit-set-header): Declare.
5457
5458 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5459
5460 * Makefile.in (custom-deps, finder-data): Run output file names
5461 through unmsys--file-name. (Bug#16099)
5462
5463 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5466 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5467
5468 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5469 instead of deleting the selection "by hand" (bug#16098).
5470 Rely on insert-for-yank to yank rectangles.
5471 (cua-highlight-region-shift-only): Mark obsolete.
5472 (cua-mode): Don't enable/disable transient-mark-mode,
5473 shift-select-mode (cua-mode works both with and without them), and
5474 pc-selection-mode (obsolete).
5475 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5476 (cua--deactivate-rectangle): Deactivate it.
5477
5478 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5479 (delete-selection-helper): Make sure yank starts at the top of the
5480 deleted region.
5481 (minibuffer-keyboard-quit): Use region-active-p.
5482
5483 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5484
5485 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5486 to `delete' (bug#16109).
5487
5488 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5489
5490 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5491 info manual and show keybindings and set `:group' keyword.
5492
5493 2013-12-11 Juri Linkov <juri@jurta.org>
5494
5495 * delsel.el (delete-active-region): Let-bind `this-command'
5496 to prevent `kill-region' from changing its original value.
5497 (delete-selection-helper): Handle `overwrite-mode' for the type
5498 `kill' exactly the same way as for the type `t'.
5499 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5500 Support more commands. (Bug#13312)
5501
5502 2013-12-11 Juri Linkov <juri@jurta.org>
5503
5504 * bindings.el: Map kp keys to non-kp keys systematically
5505 with basic modifiers control, meta and shift. (Bug#14397)
5506
5507 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5508
5509 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5510 "Close browser" menu items. Fix wrong function of "List
5511 bookmarks".
5512
5513 2013-12-11 Juri Linkov <juri@jurta.org>
5514
5515 * misearch.el (multi-isearch-buffers): Set the value of
5516 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5517 arg of isearch-forward to t.
5518 (multi-isearch-buffers-regexp): Set the value of
5519 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5520 arg of isearch-forward-regexp to t.
5521 (multi-isearch-files): Set the value of
5522 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5523 arg of isearch-forward to t.
5524 (multi-isearch-files-regexp): Set the value of
5525 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5526 arg of isearch-forward-regexp to t. (Bug#16035)
5527
5528 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5529 arg of isearch-forward to t.
5530 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5531 arg of isearch-forward-regexp to t.
5532 (dired-isearch-filter-filenames): Remove unnecessary check for
5533 `dired-isearch-filenames'.
5534
5535 * comint.el (comint-history-isearch-backward):
5536 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5537 (comint-history-isearch-backward-regexp):
5538 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5539
5540 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5541
5542 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5543 unmsys--file-name. (Bug#16099)
5544
5545 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5546
5547 * emacs-lisp/package.el (package-keyword-button-action):
5548 Remove finder.el require dependency.
5549
5550 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5551
5552 * emacs-lisp/package.el: Require finder.el.
5553 (describe-package-1): Add keyword buttons.
5554 (package-make-button): New convenience function.
5555 (package-keyword-button-action): Keyword button action using
5556 `finder-list-matches'.
5557
5558 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5559
5560 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5561 last commit.
5562
5563 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5564
5565 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5566 symlinked files.
5567
5568 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5569
5570 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5571 after the end of a percent literal.
5572
5573 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5574
5575 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5576 Handle caret-delimited strings (Bug#16079).
5577
5578 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5579
5580 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5581 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5582 `ruby-parse-partial' (Bug#16078).
5583
5584 2013-12-09 Leo Liu <sdl.web@gmail.com>
5585
5586 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5587
5588 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5589
5590 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5591 (js-switch-indent-offset): New option.
5592 (js--proper-indentation): Use it. And handle the case when
5593 "default" is actually a key in an object literal.
5594 (js--same-line): New function.
5595 (js--multi-line-declaration-indentation): Use it.
5596 (js--indent-in-array-comp, js--array-comp-indentation):
5597 New functions.
5598 (js--proper-indentation): Use them, to handle array comprehension
5599 continuations.
5600
5601 2013-12-08 Leo Liu <sdl.web@gmail.com>
5602
5603 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5604 (flymake-make-overlay): Remove arg MOUSE-FACE.
5605 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5606
5607 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5610 New function.
5611 (redisplay-highlight-region-function): Use it.
5612
5613 * emulation/cua-base.el (cua--explicit-region-start)
5614 (cua--last-region-shifted): Remove.
5615 (cua--deactivate): Use deactivate-mark.
5616 (cua--pre-command-handler-1): Don't handle shift-selection.
5617 (cua--post-command-handler-1): Don't change transient-mark-mode.
5618 (cua--select-keymaps): Use region-active-p rather than
5619 cua--explicit-region-start or cua--last-region-shifted.
5620 (cua-mode): Enable shift-select-mode.
5621
5622 2013-12-08 Leo Liu <sdl.web@gmail.com>
5623
5624 * progmodes/flymake.el (flymake-popup-current-error-menu):
5625 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5626 (flymake-posn-at-point-as-event, flymake-popup-menu)
5627 (flymake-make-emacs-menu): Remove. (Bug#16077)
5628
5629 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * rect.el (rectangle-mark-mode): Activate mark even if
5632 transient-mark-mode is off (bug#16066).
5633 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5634 is > mark and at bolp.
5635
5636 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5637 (region-extract-function): Use it.
5638 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5639 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5640 Delete functions.
5641 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5642 kill-ring-save, kill-region, delete-char, delete-forward-char.
5643 Ignore self-insert-iso.
5644
5645 * emulation/cua-gmrk.el (cua--init-global-mark):
5646 Ignore `self-insert-iso'.
5647
5648 * emulation/cua-base.el (cua--prefix-copy-handler)
5649 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5650 checking cua--rectangle.
5651 (cua-delete-region): Use region-extract-function.
5652 (cua-replace-region): Delete function.
5653 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5654 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5655 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5656 (cua--init-keymaps): Don't remap delete-selection commands.
5657 (cua-mode): Use delete-selection-mode instead of rolling our own
5658 (bug#16085).
5659
5660 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5661 Obey region-extract-function.
5662
5663 Make registers and delete-selection-mode work on rectangles.
5664 * register.el (describe-register-1): Don't modify the register's value.
5665 (copy-to-register): Obey region-extract-function.
5666 * delsel.el (delete-active-region): Obey region-extract-function.
5667
5668 2013-12-08 Leo Liu <sdl.web@gmail.com>
5669
5670 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5671 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5672 (flymake-compilation-prevents-syntax-check)
5673 (flymake-start-syntax-check-on-newline)
5674 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5675 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5676 (flymake-xml-program, flymake-master-file-dirs)
5677 (flymake-master-file-count-limit)
5678 (flymake-allowed-file-name-masks): Relocate.
5679 (flymake-makehash, flymake-float-time)
5680 (flymake-replace-regexp-in-string, flymake-split-string)
5681 (flymake-get-temp-dir): Remove.
5682 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5683 (flymake-current-row, flymake-selected-frame)
5684 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5685 related functions. (Bug#16077)
5686
5687 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5688
5689 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5690
5691 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5692
5693 * help-fns.el (describe-function-1): Use new advice-* functions
5694 rather than old ad-* functions. Fix function type description and
5695 source links for advised functions and subrs.
5696
5697 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5698
5699 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5700
5701 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5702
5703 * progmodes/compile.el (compilation-start):
5704 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5705
5706 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5707 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5708
5709 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5710
5711 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5712 Touch up the last change.
5713
5714 2013-12-06 Leo Liu <sdl.web@gmail.com>
5715
5716 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5717 (inferior-octave-startup): Always use "octave> " for prompt.
5718 (octave-goto-function-definition)
5719 (octave-sync-function-file-names)
5720 (octave-find-definition-default-filename): Remove redundant backquotes.
5721
5722 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5723
5724 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5725 syntax for `?'.
5726 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5727 where appropriate already.
5728 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5729 end of method names (Bug#15874).
5730
5731 2013-12-06 Juri Linkov <juri@jurta.org>
5732
5733 * isearch.el (isearch--saved-overriding-local-map):
5734 New internal variable.
5735 (isearch-mode): Set it to the initial value of
5736 `overriding-terminal-local-map'.
5737 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5738 with `isearch--saved-overriding-local-map'. (Bug#16035)
5739
5740 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5741
5742 * progmodes/octave.el (inferior-octave-completion-table):
5743 Turn back into function, use `completion-table-with-cache'
5744 (Bug#11906). Update all references.
5745
5746 * minibuffer.el (completion-table-with-cache): New function.
5747
5748 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5749
5750 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5751
5752 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5753
5754 * net/eww.el (eww-current-source): New variable to store page
5755 source.
5756 (eww-display-html, eww-mode, eww-save-history)
5757 (eww-restore-history): Use it.
5758 (eww-view-source): New command to view page source.
5759 Opportunistically uses `html-mode' to highlight the buffer.
5760 (eww-mode-map): Install it.
5761
5762 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5763
5764 * net/dbus.el (dbus-unregister-service)
5765 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5766 Fix docstring.
5767 (dbus-unregister-service): Skip :serial entries in
5768 `dbus-registered-objects-table'.
5769 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5770
5771 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5772
5773 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5774 around keywords with extra `split-string' argument.
5775
5776 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5777
5778 * windmove.el (windmove-other-window-loc): Handle navigation
5779 between windows (excluding the minibuffer window - Bug#16017).
5780
5781 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5782
5783 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5784 in D-Bus type syntax.
5785 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5786 preserve unibyte strings. (Bug#16048)
5787
5788 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5789
5790 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5791 Call force-mode-line-update is the proper buffer (bug#16042).
5792
5793 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5794
5795 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5796 `log-edit-remember-comment', make argument optional. Adjust all
5797 callers.
5798 (log-edit-mode): Add `log-edit-remember-comment' to
5799 `kill-buffer-hook' locally.
5800 (log-edit-kill-buffer): Don't remember comment explicitly since
5801 the buffer is killed anyway.
5802
5803 2013-12-04 Juri Linkov <juri@jurta.org>
5804
5805 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5806 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5807
5808 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5809
5810 * notifications.el (notifications-close-notification): Call the
5811 D-Bus method with ID being a `:uint32'. (Bug#16030)
5812
5813 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5814
5815 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5816
5817 2013-12-03 Juri Linkov <juri@jurta.org>
5818
5819 * progmodes/compile.el (compilation-start): Rename window alist
5820 entry `no-display-ok' to `allow-no-window'.
5821
5822 * simple.el (shell-command): Add window alist entry
5823 `allow-no-window' to `display-buffer'.
5824 (async-shell-command): Doc fix.
5825
5826 * window.el (display-buffer-no-window): New action function.
5827 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5828
5829 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5830
5831 * vc/log-edit.el (log-edit-set-header): Extract from
5832 `log-edit-toggle-header'.
5833 (log-edit-extract-headers): Separate the summary, when extracted
5834 from header, from the rest of the message with an empty line.
5835
5836 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5837 line, if present, to the Summary header.
5838
5839 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5842 in current-buffer (bug#16029).
5843
5844 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5845
5846 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5847 (debugger-mode-map): Bind it.
5848 (debugger--backtrace-base): New function.
5849 (debugger-eval-expression): Use it.
5850 (debugger-frame-number): Skip local vars when present.
5851 (debugger--locals-visible-p, debugger--insert-locals)
5852 (debugger--show-locals, debugger--hide-locals): New functions.
5853
5854 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5855
5856 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5857 "LC_ALL".
5858 (tramp-get-remote-locale): New defun.
5859 (tramp-open-connection-setup-interactive-shell): Use it.
5860
5861 2013-12-02 Leo Liu <sdl.web@gmail.com>
5862
5863 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5864
5865 * progmodes/sh-script.el (sh-shell-process):
5866 * progmodes/octave.el (inferior-octave-process-live-p):
5867 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5868 (gdb-inferior-io-sentinel):
5869 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5870
5871 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5872
5873 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5874 `save-selected-window' to `log-edit-hide-buf'. This makes
5875 `log-edit-show-files' idempotent.
5876 (log-edit-show-files): Mark the new window as dedicated.
5877
5878 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5879
5880 * vc/log-edit.el (log-edit-mode-map): Add binding for
5881 `log-edit-kill-biffer'.
5882 (log-edit-hide-buf): Add a FIXME comment.
5883 (log-edit-add-new-comment): New function, extracted from
5884 `log-edit-done'.
5885 (log-edit-done, log-edit-add-to-changelog): Use it.
5886 (log-edit-kill-buffer): New command.
5887
5888 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5889
5890 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5891 instead of killing the buffer.
5892
5893 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5896
5897 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5898
5899 * net/eww.el (eww-form-checkbox-selected-symbol)
5900 (eww-form-checkbox-symbol): New customizable variable.
5901 (eww-form-checkbox, eww-toggle-checkbox):
5902 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5903
5904 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5905 (shr--get-media-pref, shr--extract-best-source): New function.
5906 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5907 no :src tag was specified.
5908
5909 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5910 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5911 Use \\` to match beginning of string instead of ^.
5912 (eww-browse-with-external-browser): Provide optional URL parameter.
5913 (eww-render): Set `eww-current-title' back to "".
5914
5915 * net/shr.el (shr-tag-video): Display content for video if no
5916 poster is available.
5917 (shr-tag-audio): Add support for <audio> tag.
5918
5919 * net/eww.el (eww-text-input-types): New const.
5920 (eww-process-text-input): Treat input types in
5921 `eww-text-input-types' as text.
5922
5923 * net/shr.el (shr-tag-table): Fix comment typo.
5924
5925 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5926
5927 * net/eww.el (eww-follow-link): New command to avoid reloading
5928 pages when we follow #target links (bug#15243).
5929 (eww-quit): Special mode buffers shouldn't query before exiting.
5930
5931 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5932
5933 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5934 forms.
5935
5936 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5937
5938 * net/eww.el (eww-restore-history): Update the window title after
5939 moving in the history.
5940 (eww-current-dom): New variable used to save the current DOM.
5941
5942 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5943
5944 * vc/log-edit.el (log-edit-mode-map): Add binding for
5945 `log-edit-beginning-of-line'.
5946 (log-edit-setup-add-author): New user option.
5947 (log-edit-beginning-of-line): New command.
5948 (log-edit): Move major mode call above the contents setup so that
5949 the local variable values are already applied.
5950 (log-edit): Only insert "Author: " when
5951 `log-edit-setup-add-author' is non-nil.
5952 (log-edit): When SETUP is non-nil, position point after ": "
5953 instead of point-min.
5954
5955 2013-12-01 Glenn Morris <rgm@gnu.org>
5956
5957 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5958
5959 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5960
5961 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5962 redisplay to make sure the initial frame gets a chance to become
5963 visible. (Bug#16014)
5964
5965 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5966
5967 Support resizing frames and windows pixelwise.
5968 * cus-start.el (frame-resize-pixelwise)
5969 (window-resize-pixelwise): New entries.
5970 * emacs-lisp/debug.el (debug): Use window-total-height instead
5971 of window-total-size.
5972 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5973 * help.el (describe-bindings-internal): Use help-buffer as
5974 argument for with-help-window.
5975 (temp-buffer-max-width): New option.
5976 (resize-temp-buffer-window, help-window-setup)
5977 (with-help-window): Rewrite.
5978 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5979 dragging dividers.
5980 * window.el (frame-char-size, window-min-pixel-height)
5981 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5982 (window-min-pixel-width, window-safe-min-pixel-size)
5983 (window-combination-p, window-safe-min-size)
5984 (window-resizable-p, window--size-to-pixel)
5985 (window--pixel-to-size, window--resize-apply-p): New functions.
5986 (window-safe-min-height): Fix doc-string.
5987 (window-size, window-min-size, window--min-size-1)
5988 (window-sizable, window-sizable-p, window--min-delta-1)
5989 (window-min-delta, window--max-delta-1, window-max-delta)
5990 (window--resizable, window--resizable-p, window-resizable)
5991 (window-full-height-p, window-full-width-p, window-at-side-p)
5992 (window--in-direction-2, window-in-direction)
5993 (window--resize-reset-1, window--resize-mini-window)
5994 (window-resize, window-resize-no-error)
5995 (window--resize-child-windows-normal)
5996 (window--resize-child-windows, window--resize-siblings)
5997 (window--resize-this-window, window--resize-root-window)
5998 (window--resize-root-window-vertically)
5999 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6000 (maximize-window, minimize-window, delete-window)
6001 (quit-restore-window, window-split-min-size, split-window)
6002 (balance-windows-2, balance-windows)
6003 (balance-windows-area-adjust, balance-windows-area)
6004 (window--state-get-1, window-state-get, window--state-put-1)
6005 (window--state-put-2, window-state-put)
6006 (display-buffer-record-window, window--display-buffer):
6007 Make functions handle pixelwise sizing of windows.
6008 (display-buffer--action-function-custom-type)
6009 (display-buffer-fallback-action):
6010 Add display-buffer-in-previous-window.
6011 (display-buffer-use-some-window): Resize window to height it had
6012 before.
6013 (fit-window-to-buffer-horizontally): New option.
6014 (fit-frame-to-buffer): Describe new values.
6015 (fit-frame-to-buffer-bottom-margin): Replace with
6016 fit-frame-to-buffer-margins.
6017 (window--sanitize-margin): New function.
6018 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6019 using window-text-pixel-size.
6020
6021 2013-11-30 Glenn Morris <rgm@gnu.org>
6022
6023 * emacs-lisp/bytecomp.el (byte-compile-form):
6024 Make the `interactive-only' warning like the `obsolete' one.
6025 * comint.el (comint-run):
6026 * files.el (insert-file-literally, insert-file):
6027 * replace.el (replace-string, replace-regexp):
6028 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6029 (goto-line, insert-buffer, next-line, previous-line):
6030 Tweak `interactive-only' spec.
6031
6032 Stop keeping (most) generated cedet grammar files in the repository.
6033 * Makefile.in (semantic): New.
6034 (compile-main): Depend on semantic.
6035
6036 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6037
6038 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6039 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6040
6041 * uniquify.el (uniquify-buffer-name-style): Change default.
6042
6043 * loadup.el: Preload "uniquify".
6044
6045 * time.el (display-time-update): Update all mode lines (bug#15999).
6046
6047 * electric.el (electric-indent-mode): Enable by default.
6048 * loadup.el: Preload "electric".
6049
6050 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6051
6052 * emacs-lisp/helpers.el (string-empty-p): New function.
6053 (string-blank-p): New function.
6054
6055 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6056
6057 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6058 (Bug#14029).
6059
6060 2013-11-29 Andreas Politz <politza@fh-trier.de>
6061 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6062 allow non-lambda lists as functions.
6063 (imenu--in-alist): Don't recurse into non-subalists.
6064 (imenu): Don't pass function itself as an argument (Bug#14029).
6065
6066 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * progmodes/python.el (python-mode-map): Remove binding for ":".
6069 (python-indent-electric-colon): Remove command.
6070 (python-indent-post-self-insert-function): Integrate the previous code
6071 of python-indent-electric-colon. Make it conditional on
6072 electric-indent-mode.
6073 (python-mode): Add ?: to electric-indent-chars.
6074 Move python-indent-post-self-insert-function to the end of
6075 post-self-insert-hook.
6076
6077 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * doc-view.el (doc-view-goto-page): Update mode-line.
6080
6081 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6082
6083 2013-11-27 Glenn Morris <rgm@gnu.org>
6084
6085 * international/charprop.el, international/uni-bidi.el:
6086 * international/uni-category.el, international/uni-combining.el:
6087 * international/uni-comment.el, international/uni-decimal.el:
6088 * international/uni-decomposition.el, international/uni-digit.el:
6089 * international/uni-lowercase.el, international/uni-mirrored.el:
6090 * international/uni-name.el, international/uni-numeric.el:
6091 * international/uni-old-name.el, international/uni-titlecase.el:
6092 * international/uni-uppercase.el:
6093 Remove generated files from VCS repository.
6094
6095 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6096
6097 * filenotify.el (file-notify-add-watch): Don't special-case
6098 w32notify when computing the directory to watch.
6099
6100 2013-11-27 Glenn Morris <rgm@gnu.org>
6101
6102 Make bootstrap without generated uni-*.el files possible again.
6103 * loadup.el: Update command-line-args checking for unidata-gen.
6104 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6105 * composite.el, international/characters.el:
6106 Handle unicode tables being undefined.
6107
6108 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6109 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6110 (compile-main): Depend on leim rule.
6111 (leim): New rule.
6112 * loadup.el: Move leim-list.el to leim/ subdirectory.
6113 * startup.el (normal-top-level): No more leim directory.
6114 * international/ja-dic-cnv.el (skkdic-convert):
6115 Disable version-control and autoloads in output files.
6116 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6117 Disable version-control and autoloads in output files.
6118 * leim/quail: Move here from ../leim.
6119 * leim/quail/hangul.el (hangul-input-method-activate):
6120 Add autoload cookie.
6121 (generated-autoload-load-name): Set file-local value.
6122 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6123 (generated-autoload-load-name): Set file-local value.
6124
6125 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6126
6127 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6128 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6129 (eww-quit): Ask confirmation before quitting eww.
6130
6131 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6132
6133 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6134 reading output from Diff on MS-Windows and MS-DOS.
6135
6136 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6137
6138 * emacs-lisp/helpers.el (string-reverse): New function.
6139
6140 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6141
6142 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6143 names on MS Windows, like "/[::1]:".
6144
6145 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6146 SWITCHES.
6147
6148 2013-11-26 Glenn Morris <rgm@gnu.org>
6149
6150 * progmodes/python.el (python-indent-guess-indent-offset):
6151 Avoid corner-case error. (Bug#15975)
6152
6153 Preload leim-list.el. (Bug#4789)
6154 * loadup.el: Load leim-list.el when found.
6155 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6156
6157 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6158
6159 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6160
6161 * emacs-lisp/helpers.el (string-join): New function.
6162
6163 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6164
6165 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6166 Mark as obsolete and replace it with a symbol property.
6167 (byte-compile-form): Use new 'interactive-only property.
6168 * comint.el, files.el, replace.el, simple.el:
6169 Apply new 'interactive-only properly.
6170
6171 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6172
6173 * window.el (display-buffer-at-bottom): Make sure that
6174 split-window-sensibly creates the new window on bottom
6175 (Bug#15961).
6176
6177 2013-11-23 David Kastrup <dak@gnu.org>
6178
6179 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6180 on the conflict markers when available.
6181 (smerge--get-marker): New function.
6182 (smerge-end-re, smerge-base-re): Add subgroup.
6183
6184 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * frame.el (handle-focus-in, handle-focus-out): Add missing
6187 interactive spec.
6188
6189 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6190
6191 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6192 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6193
6194 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6197 (gomoku--last-pos): New var.
6198 (gomoku--intangible-chars): New const.
6199 (gomoku--intangible): New function.
6200 (gomoku-mode): Use it. Derive from special-mode.
6201 (gomoku-move-up): Adjust line count.
6202 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6203 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6204 Simplify accordingly.
6205
6206 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6207 Remove blink-cursor code.
6208 (blink-cursor-timer-function, blink-cursor-suspend):
6209 Don't special-case GUIs.
6210 (blink-cursor-mode): Use focus-in/out-hook.
6211
6212 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6213
6214 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6215 work when annotation is invisible (Bug#13886).
6216
6217 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6218
6219 * json.el (json-alist-p): Only return non-nil if the alist has
6220 simple keys (Bug#13518).
6221
6222 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6223
6224 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6225 when control-statement is the first statement in a buffer (Bug#15956).
6226
6227 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6228
6229 * imenu.el (imenu-generic-skip-comments-and-strings):
6230 New option (Bug#15560).
6231 (imenu--generic-function): Use it.
6232
6233 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6234
6235 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6236 (Bug#13898)
6237
6238 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6239
6240 * emacs-lisp/helpers.el: Add some string helpers.
6241 (string-trim-left): Removes leading whitespace.
6242 (string-trim-right): Removes trailing whitespace.
6243 (string-trim): Removes leading and trailing whitespace.
6244
6245 * subr.el (string-suffix-p): New function.
6246
6247 2013-11-23 Glenn Morris <rgm@gnu.org>
6248
6249 * progmodes/python.el (python-shell-send-file):
6250 Add option to delete file when done. (Bug#15647)
6251 (python-shell-send-string, python-shell-send-region): Use it.
6252
6253 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6254
6255 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6256 to set buffer-read-only to t, never to nil. (Bug#15938)
6257
6258 * textmodes/tex-mode.el (latex-noindent-environments):
6259 Add safe-local-variable property. (Bug#15936)
6260
6261 2013-11-23 Glenn Morris <rgm@gnu.org>
6262
6263 * textmodes/enriched.el (enriched-mode): Doc fix.
6264 * emacs-lisp/authors.el (authors-renamed-files-alist):
6265 Add enriched.doc -> enriched.txt.
6266
6267 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6268
6269 2013-11-22 Leo Liu <sdl.web@gmail.com>
6270
6271 * progmodes/octave.el (inferior-octave-startup): Spit out error
6272 message.
6273
6274 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6275
6276 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6277 Improve docstring.
6278 Add :version.
6279 (ruby-encoding-magic-comment-style): Add :version.
6280
6281 2013-11-22 Leo Liu <sdl.web@gmail.com>
6282
6283 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6284 (Bug#15076)
6285 (octave-help-mode): Adapt to change to help-mode-finish to use
6286 derived-mode-p on 2013-09-17.
6287 (inferior-octave-prompt): Also match octave-gui.
6288 (octave-kill-process): Don't ask twice. (Bug#10564)
6289
6290 2013-11-22 Leo Liu <sdl.web@gmail.com>
6291
6292 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6293 (inferior-octave-startup, inferior-octave-check-process)
6294 (inferior-octave-track-window-width-change)
6295 (octave-completion-at-point, octave-eldoc-function): Use it.
6296 (octave-kill-process): Provide confirmation. (Bug#10564)
6297
6298 2013-11-21 Leo Liu <sdl.web@gmail.com>
6299
6300 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6301 Fix obsolete variable comment-use-global-state.
6302
6303 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6304
6305 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6306 Add `octave-source-file'.
6307 (octave-source-file): New function. (Bug#15935)
6308
6309 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6310
6311 * net/eww.el (eww-local-regex): New variable.
6312 (eww): Use it to detect localhost and similar.
6313
6314 2013-11-21 Leo Liu <sdl.web@gmail.com>
6315
6316 Add completion for command `ag'.
6317 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6318 (pcomplete/ag): New function.
6319 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6320
6321 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6324 (bug#14646).
6325 (make-obsolete): Remove interactive spec.
6326
6327 2013-11-21 Glenn Morris <rgm@gnu.org>
6328
6329 * startup.el (command-line-1): Use path-separator with -L.
6330
6331 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6332
6333 * emacs-lisp/package.el (describe-package-1): Add package archive
6334 to shown fields.
6335
6336 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6337
6338 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6339 Change default to "# encoding: %s" to differentiate it from the
6340 default Ruby encoding comment template.
6341
6342 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6343
6344 * ses.el (ses-mode): Doc fix. (Bug#14748)
6345
6346 2013-11-20 Leo Liu <sdl.web@gmail.com>
6347
6348 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6349
6350 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6351
6352 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6353 when rebase or bisect are in progress.
6354
6355 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6356
6357 * filenotify.el (file-notify-add-watch): Doc fix.
6358
6359 2013-11-19 Leo Liu <sdl.web@gmail.com>
6360
6361 * obsolete/rcompile.el: Mark obsolete.
6362
6363 * progmodes/compile.el (compilation-start)
6364 (compilation-goto-locus, compilation-find-file):
6365 Pass no-display-ok and handle nil value from display-buffer.
6366 (Bug#13594)
6367
6368 * window.el (display-buffer-alist, display-buffer): Document the
6369 new parameter no-display-ok. Return either a window or nil
6370 but never a non-window value.
6371
6372 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * electric.el (electric-indent-mode-map): Remove.
6375 (electric-indent-mode): Change the global-map instead (bug#15915).
6376
6377 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6378 Use add-function.
6379
6380 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 * emacs-lisp/nadvice.el (remove-function): Align with
6383 add-function's behavior.
6384
6385 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6386 (gdb--string-regexp): New constant.
6387 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6388 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6389 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6390 submatch 1.
6391 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6392 Adjust use accordingly.
6393 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6394
6395 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6396
6397 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6398 interpolation curlies (Bug#15914).
6399
6400 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6401
6402 * calc/calc.el (calc-context-sensitive-enter): New variable.
6403 (calc-enter): Use `calc-context-sensitive-enter'.
6404
6405 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6406
6407 * progmodes/cfengine.el: Version bump.
6408 (cfengine-cf-promises): New defcustom to locate cf-promises.
6409 (cfengine3-vartypes): Add new "data" type.
6410 (cfengine3--current-word): New function to get current name-like
6411 word or its bounds.
6412 (cfengine3--current-function): New function to look up a CFEngine
6413 function's definition.
6414 (cfengine3-format-function-docstring): New function.
6415 (cfengine3-make-syntax-cache): New function.
6416 (cfengine3-documentation-function): New function: ElDoc glue.
6417 (cfengine3-completion-function): New function: completion glue.
6418 (cfengine3-mode): Set `compile-command',
6419 `eldoc-documentation-function', and add to
6420 `completion-at-point-functions'.
6421
6422 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6423
6424 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6425 `tramp-current-connection'.
6426
6427 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6428
6429 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6430 nil/self/true/false with "end of symbol".
6431
6432 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6433
6434 * subr.el (version-regexp-alist): Fix a typo.
6435
6436 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6437
6438 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6439 "en_US.utf8" and "LC_CTYPE" to "".
6440 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6441 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6442
6443 2013-11-15 Leo Liu <sdl.web@gmail.com>
6444
6445 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6446
6447 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6448
6449 * progmodes/gud.el (ctl-x-map):
6450 Remove C-x SPC binding. (Bug#12342)
6451 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6452
6453 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6454
6455 * subr.el (version-regexp-alist):
6456 Recognize hg, svn and darcs versions as snapshot versions.
6457
6458 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6459 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6460 (ruby--encoding-comment-required-p): Extract from
6461 `ruby-mode-set-encoding'.
6462 (ruby-mode-set-encoding): Add the ability to always insert an
6463 utf-8 encoding comment. Fix and simplify coding comment update
6464 logic.
6465
6466 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6467
6468 * net/tramp-gvfs.el (top): Run init code only when
6469 `tramp-gvfs-enabled' is not nil.
6470 (tramp-gvfs-enabled): Check also :system bus.
6471
6472 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 Sync with upstream verilog-mode revision 78e66ba.
6475 * progmodes/verilog-mode.el (verilog-end-of-defun)
6476 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6477 (verilog-get-end-of-defun): Remove unused argument.
6478 (verilog-comment-depth): Remove unused local `e'.
6479 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6480 Don't pass arg to verilog-get-end-of-defun.
6481
6482 2013-11-14 Glenn Morris <rgm@gnu.org>
6483
6484 * obsolete/assoc.el (aget): Prefix dynamic variable.
6485
6486 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6487
6488 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6489
6490 * widget.el, hfy-cmap.el: Remove bogus package version number.
6491
6492 2013-11-13 Glenn Morris <rgm@gnu.org>
6493
6494 * replace.el (replace-eval-replacement):
6495 Try to give more helpful error message. (Bug#15836)
6496
6497 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6498 (archive-7z-update): Avoid custom type mismatches.
6499
6500 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6501
6502 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6503
6504 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6505 address can be empty.
6506
6507 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6508 Accept nil SWITCHES.
6509 (tramp-gvfs-handle-write-region): Implement APPEND.
6510
6511 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6512
6513 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6514 binary "|" operator and closing block args delimiter.
6515 Remove FIXME comment referring to Ruby 1.8-only syntax.
6516 (ruby-smie--implicit-semi-p): Not after "|" operator.
6517 (ruby-smie--closing-pipe-p): New function.
6518 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6519 (ruby-smie-rules): Indent after "|".
6520
6521 2013-11-12 Glenn Morris <rgm@gnu.org>
6522
6523 * ps-print.el (ps-face-attribute-list):
6524 Handle anonymous faces. (Bug#15827)
6525
6526 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6527
6528 * window.el (display-buffer-other-frame): Fix doc-string.
6529 (Bug#15868)
6530
6531 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6532
6533 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6534
6535 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6536
6537 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6538 (tramp-sh-handle-file-local-copy): Don't write a message when
6539 saving temporary files.
6540
6541 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6542 both directories are remote.
6543 (tramp-smb-handle-directory-files): Do not return double entries.
6544 Do not expand full file names.
6545 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6546 (tramp-smb-handle-write-region): Implement APPEND.
6547 (tramp-smb-get-stat-capability): Fix a stupid bug.
6548
6549 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6552
6553 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6554
6555 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6556 throwing error over malformed let/let* (bug#15814).
6557
6558 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6559
6560 * iswitchb.el (iswitchb-mode): Mark obsolete.
6561
6562 2013-11-11 Glenn Morris <rgm@gnu.org>
6563
6564 * international/uni-bidi.el, international/uni-category.el:
6565 * international/uni-name.el, international/uni-numeric.el:
6566 Regenerate for Unicode 6.3.0.
6567
6568 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * net/tramp.el (tramp-methods):
6571 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6572 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6573
6574 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6575
6576 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6577 Force highlighting text after Summary keyword in doc face for rpm.
6578
6579 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6580
6581 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6582 available and the word has no wildcards, append one to the grep pattern.
6583 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6584 (ispell-complete-word): Call `ispell-lookup-words' with the value
6585 independent of `ispell-look-p'.
6586
6587 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6588
6589 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6590 Not after "||".
6591 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6592 their parent.
6593
6594 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6597 (ruby-font-lock-keywords): Use backquote.
6598
6599 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6600
6601 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6602 (ruby-smie--backward-token): Only consider full-string matches.
6603
6604 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6605
6606 * faces.el (describe-face): Add distant-foreground.
6607
6608 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6609
6610 * progmodes/ruby-mode.el: Improve encoding comment handling.
6611 (ruby-encoding-magic-comment-style): New option.
6612 (ruby-custom-encoding-magic-comment-template): New option.
6613 (ruby--insert-coding-comment, ruby--detect-encoding):
6614 New functions extracted from `ruby-mode-set-encoding'.
6615 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6616 to control the style of the auto-inserted encoding comment.
6617
6618 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6619
6620 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6621 Use `smie-backward-sexp' with token argument.
6622
6623 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6624
6625 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6626 Remove instrumentation code.
6627
6628 2013-11-08 Glenn Morris <rgm@gnu.org>
6629
6630 * progmodes/autoconf.el (autoconf-mode):
6631 Tweak comment-start-skip. (Bug#15822)
6632
6633 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6636 at bobp (bug#15826).
6637 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6638
6639 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6640
6641 * man.el (Man-start-calling): New macro, extracted from
6642 Man-getpage-in-background.
6643 (Man-getpage-in-background): Use it.
6644 (Man-update-manpage): New command.
6645 (Man-mode-map): Bind it.
6646
6647 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6648
6649 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6650 of "and", "or", "&&" and "||".
6651 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6652 argument. Prohibit opening curly brace because it could only be a
6653 block opener in that position.
6654 (ruby-smie--forward-token, ruby-smie--backward-token):
6655 Separate "|" from "&" or "*" going after it. That can happen in block
6656 arguments.
6657 (ruby-smie--indent-to-stmt): New function, seeks the end of
6658 previous statement or beginning of buffer.
6659 (ruby-smie-rules): Use it.
6660 (ruby-smie-rules): Check if there's a ":" before a curly block
6661 opener candidate; if there is, it's a hash.
6662
6663 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6666 (cl--block-wrapper): Fix last accidental change.
6667
6668 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6669
6670 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6671 Instrument, in order to hunt failure on hydra.
6672
6673 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6674
6675 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6676 malformed bindings form (bug#15814).
6677
6678 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6679
6680 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6681 "." compared to " @ ". This incidentally fixes some indentation
6682 examples with "do".
6683 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6684 (ruby-smie-grammar): New tokens: "and" and "or".
6685 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6686 Exclude "and" and "or". Remove "do" in order to work around token
6687 priorities.
6688 (ruby-smie-rules): Add all infix tokens. Handle the case of
6689 beginning-of-buffer.
6690
6691 2013-11-06 Glenn Morris <rgm@gnu.org>
6692
6693 * Makefile.in (setwins_almost, setwins_for_subdirs):
6694 Avoid accidental matches.
6695
6696 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * menu-bar.el (popup-menu): Use key-binding.
6699
6700 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6701
6702 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6703 menus, support also the menus produced by minor modes.
6704 (Bug#15817)
6705
6706 2013-11-06 Leo Liu <sdl.web@gmail.com>
6707
6708 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6709 DISTANCE to bound the search. All uses changed. (Bug#15808)
6710
6711 2013-11-06 Glenn Morris <rgm@gnu.org>
6712
6713 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6714 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6715 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6716
6717 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6718
6719 * electric.el (electric-indent-just-newline): New command.
6720 (electric-indent-mode-map): New keymap.
6721 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6722 Re-add :group which weren't redundant.
6723
6724 * electric.el (electric-indent-local-mode): New minor mode.
6725 (electric-indent-functions-without-reindent): New var.
6726 (electric-indent-post-self-insert-function): Use it.
6727 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6728
6729 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6730
6731 * international/quail.el (quail-help): Be more explicit about the
6732 meaning of the labels shown on the keys. (Bug#15800)
6733
6734 * startup.el (normal-top-level): Load the subdirs.el files before
6735 setting the locale environment. (Bug#15805)
6736
6737 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6738
6739 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6740 via arguments so as to get the right ones (bug#15418).
6741
6742 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6743
6744 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6745
6746 Fix problems found while writing a test suite.
6747
6748 * net/tramp-compat.el (tramp-compat-load): New defun.
6749 * net/tramp.el (tramp-handle-load): Use it.
6750
6751 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6752 "(numberp ok-if-already-exists)" correctly.
6753
6754 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6755
6756 * international/characters.el (glyphless-char-display-control):
6757 Add usage note.
6758
6759 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6760
6761 * progmodes/python.el (python-mode):
6762 * progmodes/scheme.el (scheme-mode):
6763 * progmodes/prolog.el (prolog-mode):
6764 * progmodes/ruby-mode.el (ruby-mode):
6765 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6766 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6767
6768 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * rect.el (rectangle--highlight-for-redisplay):
6771 * emacs-lisp/smie.el (smie--next-indent-change):
6772 Use buffer-chars-modified-tick.
6773
6774 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6775
6776 * electric.el (electric-indent-post-self-insert-function):
6777 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6778
6779 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6780
6781 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6782
6783 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6784
6785 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6786 (bug#15786).
6787
6788 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6789
6790 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6791
6792 * progmodes/python.el: Fix up last change.
6793 (python-shell--save-temp-file): New function.
6794 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6795 `string' comes from the current buffer.
6796 (python-shell-send-string-no-output): Remove `msg' arg.
6797 (python--use-fake-loc): New var.
6798 (python-shell-buffer-substring): Obey it. Try to compensate for the
6799 extra coding line added by python-shell--save-temp-file.
6800 (python-shell-send-region): Use python-shell--save-temp-file and
6801 python-shell-send-file directly. Add `nomain' argument.
6802 (python-shell-send-buffer): Use python-shell-send-region.
6803 (python-electric-pair-string-delimiter): New function.
6804 (python-mode): Use it.
6805
6806 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6807
6808 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6809 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6810 environment and decoding all of the default-directory's to here
6811 from command-line.
6812 (command-line): Decode also argv[0].
6813
6814 * loadup.el: Error out if default-directory is a multibyte string
6815 when we are dumping.
6816
6817 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6818
6819 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6820
6821 * emacs-lisp/package.el (package-menu-mode)
6822 (package-menu--print-info, package-menu--archive-predicate):
6823 Add Archive column to package list.
6824
6825 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6826
6827 Fix problems found while writing a test suite.
6828
6829 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6830 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6831 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6832 to nil when running original file name handler. Otherwise,
6833 there are problems with constructs like "$$FOO".
6834
6835 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6836 for `localname'.
6837
6838 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6839
6840 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6841
6842 * subr.el (version<, version<=, version=):
6843 Update docstrings with information for snapshot versions.
6844
6845 * helpers.el: New library for misc helper functions.
6846 (hash-table-keys): New function returning a list of hash keys.
6847 (hash-table-values): New function returning a list of hash values.
6848
6849 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6850
6851 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6852 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6853
6854 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6855
6856 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6857 checking whether point is after a 1-letter word.
6858
6859 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6860
6861 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6862 Don't infloop when expanding region over `multiline' syntax-type that
6863 begins a line (bug#15778).
6864
6865 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6868 Make it into a proper minor mode.
6869 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6870 (rectangle-mark-mode-map): New keymap.
6871 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6872
6873 2013-11-04 Glenn Morris <rgm@gnu.org>
6874
6875 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6876
6877 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6880 (ruby-smie-rules): Use smie-rule-parent instead.
6881
6882 * emacs-lisp/smie.el (smie-rule-parent): Always call
6883 smie-indent-virtual rather than only for hanging tokens.
6884 (smie--next-indent-change): New helper command.
6885
6886 2013-11-03 Glenn Morris <rgm@gnu.org>
6887
6888 * Makefile.in (abs_srcdir): Remove.
6889 (emacs): Unset EMACSLOADPATH.
6890
6891 2013-11-02 Glenn Morris <rgm@gnu.org>
6892
6893 * Makefile.in (EMACS): Use a relative filename.
6894 (abs_top_builddir): Remove.
6895 (custom-deps, finder-data, autoloads): Use --chdir.
6896
6897 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6898
6899 Use relative filenames in TAGS files.
6900 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6901 (lisptagsfiles4, TAGS): Use relative file names.
6902 (TAGS-LISP): Remove.
6903 (maintainer-clean): No more TAGS-LISP file.
6904
6905 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6906 (lisptagsfiles4): Use absolute filenames again.
6907 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6908 Remove all *loaddefs files, not just the first. Remove esh-groups.
6909 (maintainer-clean): Delete TAGS, TAGS-LISP.
6910
6911 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6912
6913 * emacs-lisp/package.el (package-version-join):
6914 Recognize snapshot versions.
6915
6916 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6917
6918 * subr.el (version-regexp-alist): Add support for snapshot versions.
6919
6920 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6921
6922 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6923 New function, replacement for `smie-rule-parent' for when we want to
6924 skip over our direct parent if it's an assignment token..
6925 (ruby-smie-rules): Use it.
6926
6927 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6928
6929 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6930 unconditionally. Remove now unnecessary forward declarations.
6931 Remove XEmacs-specific setup.
6932 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6933 (ruby-font-lock-syntactic-keywords)
6934 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6935 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6936 (ruby-here-doc-end-syntax): Remove.
6937 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6938 defined as function.
6939
6940 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6941
6942 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6943
6944 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6945
6946 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6947 table and abbrev table, `define-derived-mode' does that for us
6948 anyway.
6949
6950 2013-11-01 Glenn Morris <rgm@gnu.org>
6951
6952 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6953 files is atomic for some time, so no parallel compilation issues).
6954
6955 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6956
6957 * faces.el (face-x-resources): Add :distant-foreground.
6958 (region): Use :distant-foreground for gtk and ns.
6959
6960 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6961
6962 Allow multiple bibliographies when BibLaTeX is used rather than
6963 BibTeX.
6964 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6965 (reftex-locate-bibliography-files): Us it.
6966
6967 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6968
6969 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6970 allow comments in pbm files.
6971
6972 * term/w32-win.el (dynamic-library-alist): Support newer versions
6973 of libjpeg starting with v7: look only for the DLL from the
6974 version against which Emacs was built.
6975 Support versions of libpng beyond 1.4.x.
6976 Support libtiff v4.x.
6977
6978 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6979
6980 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6981 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6982 Add property :safe.
6983 (ruby-deep-arglist): Add property :type.
6984
6985 2013-10-31 Glenn Morris <rgm@gnu.org>
6986
6987 * Makefile.in (custom-deps, finder-data): No need to setq the target
6988 variables, we are in the right directory and the defaults work fine.
6989
6990 2013-10-30 Glenn Morris <rgm@gnu.org>
6991
6992 * Makefile.in (autoloads): Do not use abs_lisp.
6993
6994 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6995 `newline' does not respect `standard-output', so use `princ'.
6996
6997 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6998
6999 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7000 * buff-menu.el (Buffer-menu--unmark): New function.
7001 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7002
7003 2013-10-30 Glenn Morris <rgm@gnu.org>
7004
7005 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7006
7007 * emacs-lisp/package.el (lm-homepage): Declare.
7008
7009 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7010 Fix doc typos.
7011
7012 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7013
7014 * Makefile.in (finder-data, autoloads, update-subdirs)
7015 (compile-main, compile-clean, compile-always, bootstrap-clean):
7016 Check return value of cd.
7017 (compile-calc): Remove.
7018
7019 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7022
7023 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7024 (byte-compile-and-folded): New function.
7025 (=, <, >, <=, >=): Use it.
7026
7027 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7028 (path-separator, null-device, buffer-file-coding-system)
7029 (lpr-headers-switches): Check system-type before modifying them.
7030 (find-buffer-file-type-coding-system): Mark obsolete.
7031 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7032 find-file-not-found-set-buffer-file-coding-system.
7033 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7034 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7035 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7036 (w32-direct-print-region-helper, w32-direct-print-region-function)
7037 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7038 * startup.el (normal-top-level-add-subdirs-to-load-path):
7039 * ps-print.el (ps-print-region-function):
7040 * lpr.el (print-region-function): Use new name.
7041
7042 * subr.el (custom-declare-variable-early): Remove function.
7043 (custom-declare-variable-list): Remove var.
7044 (error, user-error): Remove `while' loop.
7045 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7046 (user-emacs-directory-warning, locate-user-emacs-file):
7047 Move to files.el.
7048 * simple.el (read-quoted-char-radix, read-quoted-char):
7049 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7050 Move from subr.el.
7051 * custom.el (custom-declare-variable-list): Don't process
7052 custom-declare-variable-list.
7053
7054 * progmodes/python.el (python-shell-get-buffer): New function.
7055 (python-shell-get-process): Use it.
7056 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7057 Python which encoding was used. Don't split-string since we only care
7058 about the first line. Return the temp-file, if applicable.
7059 (python-shell-send-region): Tell compile.el how to turn locations in
7060 the temp-file into locations in the source buffer.
7061
7062 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 * subr.el (undefined): Add missing behavior from the C code for
7065 unbound keys.
7066
7067 * rect.el: Use lexical-binding. Add new rectangular region support.
7068 (rectangle-mark): New command.
7069 (rectangle--region): New var.
7070 (deactivate-mark-hook): Reset rectangle--region.
7071 (rectangle--extract-region, rectangle--insert-for-yank)
7072 (rectangle--highlight-for-redisplay)
7073 (rectangle--unhighlight-for-redisplay): New functions.
7074 (region-extract-function, redisplay-unhighlight-region-function)
7075 (redisplay-highlight-region-function): Use them to handle
7076 rectangular region.
7077 * simple.el (region-extract-function): New var.
7078 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7079 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7080 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7081 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7082 (redisplay-unhighlight-region-function)
7083 (redisplay-highlight-region-function): New vars.
7084 (redisplay--update-region-highlight): New function.
7085 (pre-redisplay-function): Use it.
7086 (exchange-point-and-mark): Don't deactivate the mark before
7087 reactivate-it anyway.
7088 * comint.el (comint-kill-region): Remove yank-handler argument.
7089 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7090 (delete-char): Remove property, since it's now part of their
7091 default behavior.
7092 (self-insert-iso): Remove property since this command doesn't exist.
7093
7094 * emacs-lisp/package.el (package--download-one-archive)
7095 (describe-package-1): Don't query the user about final newline.
7096
7097 2013-10-29 Daniel Colascione <dancol@dancol.org>
7098
7099 * net/tramp.el (tramp-methods): Document new functionality.
7100 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7101 tramp-hostname-checker if method provides one instead of scanning
7102 argument list for "%h" to decide hostname acceptability.
7103
7104 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7105
7106 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7107 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7108 Handle COPY-CONTENTS. (Bug#15737)
7109
7110 2013-10-28 Daiki Ueno <ueno@gnu.org>
7111
7112 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7113 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7114
7115 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7116
7117 * image.el (defimage, image-load-path): Doc fixes.
7118
7119 2013-10-27 Alan Mackenzie <acm@muc.de>
7120
7121 Indent statements in macros following "##" correctly.
7122 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7123 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7124
7125 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7126
7127 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7128
7129 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7130
7131 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7132 after `=' is probably a new expression.
7133
7134 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7135
7136 * man.el (man-imenu-title): New option.
7137 (Man-mode-map): Add menu. (Bug#15722)
7138 (Man-mode): Add imenu to menu.
7139
7140 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7141
7142 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7143 specific in what the first arg can be: a non-keyword word,
7144 string/regexp/percent literal opener, opening paren, or unary
7145 operator followed directly by word.
7146
7147 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7150 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7151 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7152 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7153 Remove vars, they do not apply any more.
7154 (prolog-mode-abbrev-table): Remove redundant declaration.
7155 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7156 (prolog-use-smie): Remove.
7157 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7158 supported by prolog-electric-if-then-else-flag.
7159 (prolog-mode-variables, prolog-menu): Use setq-local.
7160 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7161 Remove binding to `Backspace' since this key doesn't exist anyway.
7162 Remove bindings for electric self-inserting keys.
7163 (prog-mode): Assume it's defined.
7164 (prolog-post-self-insert): New function.
7165 (prolog-mode): Use it.
7166 (prolog-indent-line, prolog-indent-level)
7167 (prolog-find-indent-of-matching-paren)
7168 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7169 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7170 (prolog-goto-next-paren, prolog-in-string-or-comment)
7171 (prolog-tokenize, prolog-inside-mline-comment)
7172 (prolog-find-start-of-mline-comment): Remove functions.
7173 (prolog-find-unmatched-paren, prolog-clause-end)
7174 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7175 (prolog-electric--if-then-else): Rename from
7176 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7177 (prolog-tokenize-searchkey): Remove const.
7178 (prolog-clause-info): Use forward-sexp.
7179 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7180 (prolog-electric-if-then-else): Remove commands.
7181 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7182 for use in post-self-insert-hook.
7183 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7184 for use in post-self-insert-hook.
7185 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7186 for use in post-self-insert-hook.
7187 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7188 adapt it for use in post-self-insert-hook.
7189
7190 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7191
7192 * emacs-lisp/ert.el (ert-run-tests-interactively):
7193 Use `completing-read'. (Bug#9756)
7194
7195 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7196
7197 * simple.el (line-move): Call line-move-1 instead of
7198 line-move-visual when the current window hscroll is zero, but
7199 temporary-goal-column indicates we will need to hscroll as result
7200 of the movement. (Bug#15712)
7201
7202 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7203
7204 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7205 capitalization. Use :visible instead of :active.
7206 Fix `ruby-indent-exp' reference. Add menu items for the generic
7207 commands that are used with SMIE.
7208 (ruby-do-end-to-brace): Insert space after `{'.
7209
7210 2013-10-25 John Anthony <john@jo.hnanthony.com>
7211
7212 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7213
7214 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7215
7216 2013-10-25 Glenn Morris <rgm@gnu.org>
7217
7218 * vc/vc.el (vc-print-log): Don't use a working revision unless
7219 one was explicitly specified. (Bug#15322)
7220
7221 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7222
7223 * subr.el (add-to-list): Preserve return value in compiler-macro
7224 (bug#15692).
7225
7226 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7227
7228 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7229 result. Ask user to retry using '-all' flag. (Bug#15701)
7230
7231 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 * emacs-lisp/smie.el: New smie-config system.
7234 (smie-config): New defcustom.
7235 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7236 (smie-config-guess, smie-config-save): New commands.
7237 (smie-config--mode-local, smie-config--buffer-local)
7238 (smie-config--trace, smie-config--modefuns): New vars.
7239 (smie-config--advice, smie-config--mode-hook)
7240 (smie-config--setter, smie-config-local, smie-config--get-trace)
7241 (smie-config--guess-value, smie-config--guess): New functions.
7242 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7243 text properties. Treat "string fence" syntax like string syntax.
7244
7245 * progmodes/sh-script.el (sh-use-smie): Change default.
7246 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7247 (sh-var-value): Simplify by CSE.
7248 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7249 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7250 is used.
7251 (sh-guess-basic-offset): Use cl-incf.
7252 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7253
7254 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7255
7256 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7257 (bug#15699).
7258
7259 2013-10-24 Glenn Morris <rgm@gnu.org>
7260
7261 * Makefile.in (abs_top_srcdir): Remove.
7262 (update-subdirs): Use relative path to update-subdirs.
7263
7264 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7265
7266 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7267 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7268 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7269 Call unmsys--file-name before expand-file-name, not after it.
7270
7271 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7272
7273 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7274 (ert-test-skipped): New error.
7275 (ert-skip, ert-stats-skipped): New defuns.
7276 (ert--skip-unless): New macro.
7277 (ert-test-skipped): New struct.
7278 (ert--run-test-debugger, ert-test-result-type-p)
7279 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7280 (ert--stats-set-test-and-result, ert-char-for-test-result)
7281 (ert-string-for-test-result, ert-run-tests-batch)
7282 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7283 Handle skipped tests. (Bug#9803)
7284
7285 2013-10-24 Glenn Morris <rgm@gnu.org>
7286
7287 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7288
7289 * Makefile.in (abs_top_srcdir): New, set by configure.
7290 (update-subdirs): Correct build-aux location.
7291
7292 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7293
7294 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7295 value, whether we could auto-deduce `backend', or not.
7296
7297 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7298 with parameters" example. Simplify the "is it block or is it
7299 hash" check, but also make it more thorough.
7300
7301 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7302
7303 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7304
7305 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7306
7307 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7308 { if it is hanging.
7309
7310 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7311 :before ";".
7312
7313 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7314
7315 * progmodes/compile.el (compilation-directory-matcher)
7316 (compilation-page-delimiter):
7317 Support GNU Make-4.0 directory quoting. (Bug#15678)
7318
7319 2013-10-23 Leo Liu <sdl.web@gmail.com>
7320
7321 * ido.el (ido-tidy): Handle read-only text.
7322
7323 2013-10-23 Glenn Morris <rgm@gnu.org>
7324
7325 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7326 (emacs, compile, compile-always):
7327 Quote entities that might contain whitespace.
7328 (custom-deps, finder-data, autoloads): Use abs_lisp.
7329 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7330 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7331 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7332
7333 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7334
7335 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7336 Use `following-char'.
7337
7338 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7339
7340 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7341 * progmodes/ruby-mode.el (ruby-smie-rules):
7342 Remove corresponding workaround. Fix indentation rule of ";" so it
7343 also applies when ";" is the parent.
7344
7345 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7346
7347 * frame.el (display-screens, display-pixel-height)
7348 (display-pixel-width, display-mm-width, display-backing-store)
7349 (display-save-under, display-planes, display-color-cells)
7350 (display-visual-class, display-monitor-attributes-list):
7351 Mention the optional ‘display’ argument in doc strings.
7352
7353 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7354
7355 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7356 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7357
7358 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7359
7360 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7361 TODO. Add "." after " @ ".
7362 (ruby-smie--at-dot-call): New function. Checks if point at method
7363 call with explicit target.
7364 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7365 to the method name tokens when it precedes them.
7366 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7367 (ruby-smie-rules): Add rule for indentation before and after "."
7368 token.
7369
7370 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7371
7372 * textmodes/remember.el (remember-diary-extract-entries):
7373 Avoid add-to-list.
7374
7375 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7376 an instruction.
7377
7378 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7379
7380 * progmodes/ruby-mode.el (ruby-smie-grammar):
7381 Add (almost) all infix operators.
7382 (ruby-smie--implicit-semi-p): Add new operator chars.
7383
7384 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7385 `smie-down-list'.
7386 (ruby-smie--args-separator-p): Check that there's no newline
7387 between method call and its arguments.
7388
7389 2013-10-20 Alan Mackenzie <acm@muc.de>
7390
7391 Allow comma separated lists after Java "implements".
7392
7393 * progmodes/cc-engine.el (c-backward-over-enum-header):
7394 Parse commas.
7395 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7396 from a "disallowed" list in enum fontification.
7397
7398 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7399
7400 * startup.el (default-frame-background-mode): Remove unused defvar.
7401
7402 * progmodes/verilog-mode.el (verilog-mode): Don't set
7403 comment-indent-function globally.
7404
7405 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7406
7407 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7408 Move Info menu item creation to ns-win.el.
7409
7410 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7411 in menu bar.
7412
7413 * menu-bar.el: Move GNUstep specific menus...
7414
7415 * term/ns-win.el (ns-initialize-window-system): ... to here.
7416
7417 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7418
7419 * simple.el (newline): Only run post-self-insert-hook when
7420 called interactively.
7421
7422 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7423
7424 * icomplete.el (icomplete-with-completion-tables): Add :version.
7425
7426 2013-10-19 Alan Mackenzie <acm@muc.de>
7427
7428 Fix fontification bugs with constructors and const.
7429
7430 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7431 CASE 2) Remove the check for the absence of a suffix construct
7432 after a function declaration with only types (no identifiers) in
7433 the parentheses. Also, accept a function declaration with just a
7434 type inside the parentheses, if this type can be positively
7435 recognised as such, or if a prefix keyword like "explicit" nails
7436 down the construct as a declaration.
7437
7438 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7439
7440 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7441 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7442 the problem whereby selecting a menu item that leads to a
7443 minibuffer prompt moves the cursor out of the minibuffer window,
7444 making it hard to type at the prompt. Suggested by Stefan Monnier
7445 <monnier@iro.umontreal.ca>.
7446
7447 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7448
7449 * menu-bar.el: Don't make Services menu.
7450
7451 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7452
7453 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7454 (ffap-alist): Use ffap-c++-mode for c++-mode.
7455 (ffap-c++-path): New variable.
7456 (ffap-c++-mode): New function.
7457
7458 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7459
7460 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7461
7462 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7463
7464 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7465 introduced on 2013-09-08, which results in an infinite loop
7466 requesting a password.
7467
7468 2013-10-18 Glenn Morris <rgm@gnu.org>
7469
7470 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7471
7472 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7473
7474 Sync with upstream verilog-mode revision 1a6ecec7.
7475 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7476 (verilog-mode-release-date): Remove.
7477 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7478 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7479 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7480 (verilog-auto-tieoff-ignore-regexp)
7481 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7482 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7483 (verilog-signals-with, verilog-dir-cache-preserving)
7484 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7485 Doc fixes.
7486 (verilog-case-fold): New option, to control case folding in
7487 regexp searches, bug597.
7488 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7489 (verilog-string-match-fold, verilog-in-paren-count)
7490 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7491 (verilog-at-close-struct-p): New functions.
7492 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7493 (verilog-forward-sexp, verilog-set-auto-endcomments)
7494 (verilog-leap-to-case-head): Handle "unique0" case.
7495 (verilog-in-constraint-re): New constant.
7496 (verilog-keywords, verilog-type-font-keywords):
7497 Add some SystemVerilog 1800-2012 keywords.
7498 (verilog-label-be): Remove unimplemented argument, bug669.
7499 (verilog-batch-execute-func): When batch expanding clear
7500 create-lockfiles to prevent spurious user locks when a file ends
7501 up not changing.
7502 (verilog-calculate-indent, verilog-calc-1)
7503 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7504 (verilog-do-indent): Fix indentation of nested constraints
7505 and structures.
7506 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7507 (verilog-auto-inst-param): Use verilog-string-match-fold.
7508 (verilog-read-inst-module-matcher):
7509 Fix AUTOINST on gate primitives with #1.
7510 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7511 Reads all user-defined typed variables.
7512 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7513 (verilog-signals-matching-regexp)
7514 (verilog-signals-not-matching-regexp, verilog-auto):
7515 Respect verilog-case-fold.
7516 (verilog-diff-report): Fix line count.
7517 (verilog-auto-assign-modport): Remove unused local `modi'.
7518 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7519 better handle multidimensional arrays.
7520 Fix packed array ports misadding bit index in AUTOINST, bug637.
7521 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7522 to not double-declare existing outputs and inputs, respectively.
7523 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7524 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7525 (verilog-sk-uvm-component): New skeleton.
7526 (verilog-submit-bug-report): Add verilog-case-fold,
7527 remove verilog-mode-release-date.
7528
7529 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7530
7531 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7532 as before.
7533
7534 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7535
7536 * textmodes/remember.el (remember): Set buffer-offer-save in
7537 remember buffers (bug#13566).
7538
7539 2013-10-18 Daniel Colascione <dancol@dancol.org>
7540
7541 When evaluating forms in ielm, direct standard output to ielm
7542 buffer. Add new ielm-return-for-effect command. Remove trailing
7543 whitespace throughout.
7544
7545 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7546 (ielm-return-for-effect): New command.
7547 (ielm-send-input): Accept optional `for-effect' parameter.
7548 (ielm-eval-input): Accept optional `for-effect' parameter.
7549 Bind `standard-output' to stream we create using
7550 `ielm-standard-output-impl'. Suppress printing result when
7551 `for-effect'.
7552 (ielm-standard-output-impl): New function.
7553 (inferior-emacs-lisp-mode): Explain new features in documentation.
7554
7555 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7556
7557 Code cleanup.
7558
7559 * net/tramp.el (tramp-debug-message): Do not check for connection
7560 buffer.
7561 (tramp-message): Use "vector" connection property.
7562
7563 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7564 (tramp-equal-remote, tramp-eshell-directory-change)
7565 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7566 (tramp-adb-handle-rename-file)
7567 * net/tramp-cmds.el (tramp-list-remote-buffers)
7568 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7569 * net/tramp-compat.el (tramp-compat-process-running-p)
7570 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7571 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7572 (tramp-gvfs-handle-rename-file)
7573 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7574 (tramp-set-file-uid-gid)
7575 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7576 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7577 of `file-remote-p'.
7578
7579 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7580 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7581 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7582 (tramp-gw-open-network-stream): Suppress unrelated traces.
7583
7584 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7585 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7586 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7587 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7588 connection property.
7589
7590 * net/tramp-cache.el (top): Suppress traces when reading
7591 persistency file.
7592
7593 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7594 Refactor common code. Improve debug message.
7595 (tramp-maybe-open-connection)
7596 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7597 connection buffer too early.
7598
7599 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7600 from `tramp-smb-actions-with-acl'.
7601 (tramp-smb-actions-set-acl): New defconst.
7602 (tramp-smb-handle-copy-directory)
7603 (tramp-smb-action-get-acl): New defun, renamed from
7604 `tramp-smb-action-with-acl'.
7605 (tramp-smb-action-set-acl): New defun.
7606 (tramp-smb-handle-set-file-acl): Rewrite.
7607
7608 2013-10-17 Glenn Morris <rgm@gnu.org>
7609
7610 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7611
7612 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * skeleton.el (skeleton-newline): Remove.
7615 (skeleton-internal-1): Use (insert "\n") instead.
7616
7617 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7618 let-bindings.
7619
7620 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7621 forward-sexp-function while we redo its job (bug#15613).
7622
7623 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7624
7625 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7626 represented by lists.
7627
7628 2013-10-16 Glenn Morris <rgm@gnu.org>
7629
7630 * tmm.el (tmm--history): New dynamic variable.
7631 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7632
7633 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7634
7635 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7636 (tramp-smb-errors): Add error messages.
7637 (tramp-smb-actions-with-acl): New defconst.
7638 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7639 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7640 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7641 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7642 (tramp-smb-get-stat-capability): Fix tests.
7643
7644 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7645
7646 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7647 (bug#15580).
7648
7649 2013-10-16 Glenn Morris <rgm@gnu.org>
7650
7651 * ansi-color.el (ansi-color-drop-regexp):
7652 Add 1J, 1K, 2K. (Bug#15617)
7653
7654 * files.el (hack-local-variables--warned-lexical): New.
7655 (hack-local-variables):
7656 Warn about misplaced lexical-binding. (Bug#15616)
7657
7658 * net/eww.el (eww-render): Always set eww-current-url,
7659 and update header line. (Bug#15622)
7660 (eww-display-html): ... Rather than just doing it here.
7661
7662 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7663
7664 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7665 menu navigations commands.
7666
7667 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7668
7669 * progmodes/subword.el (subword-capitalize): Be careful when
7670 the search for [[:alpha:]] fails (bug#15580).
7671
7672 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7673
7674 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7675 to commands that scroll the menu.
7676
7677 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7678
7679 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7680 Handle methods ending with `?' and `!'.
7681
7682 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7683
7684 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7685 `japanese-cp932' to `cp932' to fix the problem where saving a
7686 source file written in Shift_JIS twice would end up having
7687 `coding: japanese-cp932' which Ruby could not recognize.
7688 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7689 in `ruby-encoding-map'.
7690 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7691 doesn't need to be explicitly declared in magic comment.
7692 (ruby-encoding-map): Add type declaration for better customize UI.
7693
7694 2013-10-13 Glenn Morris <rgm@gnu.org>
7695
7696 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7697 Occur buffers are read-only. http://bugs.debian.org/720775
7698
7699 * emacs-lisp/authors.el (authors-fixed-entries):
7700 Comment out old alpha stuff.
7701
7702 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7703
7704 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7705 to `after-save-hook' instead of `before-save-hook'.
7706 (ruby-mode-set-encoding): Use the value of coding system used to
7707 write the file. Call `basic-save-buffer-1' after modifying the
7708 buffer.
7709
7710 2013-10-13 Alan Mackenzie <acm@muc.de>
7711
7712 Fix indentation/fontification of Java enum with
7713 "implements"/generic.
7714
7715 * progmodes/cc-engine.el (c-backward-over-enum-header):
7716 Extracted from the three other places and enhanced to handle generics.
7717 (c-inside-bracelist-p): Uses new function above.
7718 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7719 function above.
7720 (c-font-lock-enum-tail): Uses new function above.
7721
7722 2013-10-13 Kenichi Handa <handa@gnu.org>
7723
7724 * international/mule-cmds.el (select-safe-coding-system): Remove a
7725 superfluous condition in chekcing whether a coding system is safe
7726 or not.
7727
7728 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7729
7730 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7731
7732 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7733
7734 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7735
7736 2013-10-13 Glenn Morris <rgm@gnu.org>
7737
7738 * menu-bar.el (menu-bar-update-buffers):
7739 Unify Buffers menu prompt string. (Bug#15576)
7740
7741 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7742
7743 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7744 Add some entries.
7745 (authors-fixed-entries): Use accented form of name.
7746
7747 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7748
7749 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7750 method calls (bug#15594).
7751 (ruby-smie--args-separator-p): New function.
7752 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7753 recognize paren-free method calls.
7754
7755 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7756 internals of universal-argument.
7757
7758 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7759
7760 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7761 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7762 dropped menu on second mouse click on the menu bar.
7763
7764 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7767 (explicit-shell-file-name): Declare.
7768 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7769 (sh-completion-at-point-function): New function.
7770 (sh-mode): Use it.
7771 (sh-smie--keyword-p): Remove unused argument.
7772 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7773 vars.
7774 (sh-set-shell): Always setup SMIE, even if we use the
7775 old indentation code.
7776
7777 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7778
7779 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7780 cases of ? and =.
7781 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7782 predicate would return nil are almost non-existent.
7783 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7784
7785 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7786 cache also after commands that modify the buffer but don't move
7787 point.
7788
7789 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * env.el (substitute-env-in-file-name): New function.
7792 (substitute-env-vars): Extend the meaning of the optional arg.
7793
7794 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7795
7796 * term/w32-win.el (dynamic-library-alist): Define separate lists
7797 of GIF DLLs for versions before and after 5.0.0 of giflib.
7798 (Bug#15531)
7799
7800 2013-10-10 João Távora <joaotavora@gmail.com>
7801
7802 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7803 not locked, use last revision and current source as
7804 defaults. (Bug#15569)
7805
7806 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7807
7808 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7809 menu-bar is hidden.
7810
7811 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7812
7813 * window.el (pop-to-buffer-same-window): Fix doc-string.
7814 (Bug#15492)
7815
7816 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7817
7818 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7819
7820 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7821
7822 * calendar/icalendar.el (icalendar-import-file):
7823 Fix interactive spec. (Bug#15482)
7824
7825 2013-10-10 Glenn Morris <rgm@gnu.org>
7826
7827 * desktop.el (desktop-save): Default to saving in .emacs.d,
7828 since PWD is no longer in desktop-path by default. (Bug#15319)
7829
7830 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7831 now that text mode has a menu with the same entry.
7832 (menu-bar-text-mode-auto-fill): Remove now unused func.
7833 * textmodes/text-mode.el (text-mode-map):
7834 Use auto-fill help text from menu-bar.el.
7835
7836 2013-10-10 John Anthony <john@jo.hnanthony.com>
7837
7838 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7839
7840 2013-10-09 Juri Linkov <juri@jurta.org>
7841
7842 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7843 instead of this-command-keys. Add universal-argument-more and
7844 universal-argument-minus to the list of prefix commands. (Bug#15568)
7845
7846 2013-10-09 Glenn Morris <rgm@gnu.org>
7847
7848 * vc/vc-svn.el (vc-svn-create-repo):
7849 Expand paths in file://... url. (Bug#15446)
7850
7851 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7852 Add some entries.
7853 (authors): Remove unused local variables.
7854
7855 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * profiler.el: Create a more coherent calltree from partial backtraces.
7858 (profiler-format): Hide the tail with `invisible' so that C-s can still
7859 find the hidden elements.
7860 (profiler-calltree-depth): Don't recurse so enthusiastically.
7861 (profiler-function-equal): New hash-table-test.
7862 (profiler-calltree-build-unified): New function.
7863 (profiler-calltree-build): Use it.
7864 (profiler-report-make-name-part): Indent the calltree less.
7865 (profiler-report-mode): Add visibility specs for profiler-format.
7866 (profiler-report-expand-entry, profiler-report-toggle-entry):
7867 Expand the whole subtree when provided with a prefix arg.
7868
7869 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7870
7871 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7872 iuwu-mod token.
7873 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7874 hanging iuwu-mod token.
7875 (ruby-smie--forward-token): Do not include a dot after a token in
7876 that token.
7877 (ruby-smie--backward-token): Likewise.
7878
7879 2013-10-08 Juri Linkov <juri@jurta.org>
7880
7881 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7882 to isearch-other-control-char.
7883 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7884 and isearch-post-command-hook to post-command-hook.
7885 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7886 and isearch-post-command-hook from post-command-hook.
7887 (isearch-unread-key-sequence)
7888 (isearch-reread-key-sequence-naturally)
7889 (isearch-lookup-scroll-key, isearch-other-control-char)
7890 (isearch-other-meta-char): Remove functions.
7891 (isearch-pre-command-hook, isearch-post-command-hook):
7892 New functions based on isearch-other-meta-char rewritten
7893 relying on the new behavior of overriding-terminal-local-map
7894 that does not replace the local keymaps any more. (Bug#15200)
7895
7896 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7897
7898 Support menus on text-mode terminals.
7899 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7900 functionality.
7901
7902 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7903
7904 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7905 Move here from mouse.el.
7906 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7907 and arrow keys.
7908 (tty-menu-navigation-map): New map for TTY menu navigation.
7909
7910 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7911
7912 * frame.el (display-mouse-p): Report text-mode mouse as available
7913 on w32.
7914 (display-popup-menus-p): Report availability if mouse is
7915 available; don't condition on window-system.
7916
7917 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7918 (tty-menu-selected-face): New faces.
7919
7920 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7923 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7924 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7925 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7926 New constants.
7927 (lisp-mode-variables): New `elisp' argument.
7928 (emacs-lisp-mode): Use it.
7929 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7930 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7931
7932 * indent.el: Use lexical-binding.
7933 (indent-region): Add progress reporter.
7934 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7935 last step.
7936 (indent--next-tab-stop): New function to implement this behavior.
7937 (tab-to-tab-stop, move-to-tab-stop): Use it.
7938
7939 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7940
7941 * indent.el (indent-rigidly--current-indentation): New function.
7942 (indent-rigidly-map): New var.
7943 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7944
7945 2013-10-08 Bastien Guerry <bzg@gnu.org>
7946
7947 * register.el (insert-register): Fix 2013-10-07 change.
7948
7949 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7950
7951 * progmodes/perl-mode.el: Use lexical-binding.
7952 Remove redundant :group args.
7953 (perl-nochange): Change default to be closer to other major modes's
7954 standard behavior.
7955 (perl-indent-line): Don't consider text on current line as a
7956 valid beginning of function from which to indent.
7957
7958 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7959 with more than one argument (bug#15538).
7960
7961 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7962
7963 * vc/pcvs.el: Use lexical-binding.
7964 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7965 environment of `eval'.
7966 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7967 than a list of expressions. Adjust callers.
7968 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7969
7970 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7971
7972 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7973 case of the dot in a chained method call being on the following line.
7974
7975 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7976
7977 * electric.el (electric-indent-inhibit): New var.
7978 (electric-indent-post-self-insert-function): Use it.
7979 * progmodes/python.el (python-mode): Set it.
7980
7981 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7982 open braces.
7983
7984 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7985
7986 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7987 (css-mode): Use electric-indent-chars.
7988
7989 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7990 (font-lock-beg, font-lock-end): Move before first use.
7991 (nxml-mode): Use syntax-propertize-function.
7992 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7993 (nxml-extend-after-change-region): Remove.
7994 * nxml/xmltok.el: Use lexical-binding.
7995 (xmltok-save): Use `declare'.
7996 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7997 * nxml/nxml-util.el: Use lexical-binding.
7998 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7999 Use `declare'.
8000 * nxml/nxml-ns.el: Use lexical-binding.
8001 (nxml-ns-save): Use `declare'.
8002 (nxml-ns-prefixes-for): Avoid add-to-list.
8003 * nxml/rng-match.el: Use lexical-binding.
8004 (rng--ipattern): Use cl-defstruct.
8005 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8006 (rng-cons-group-after, rng-subst-group-after)
8007 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8008 Use closures instead of `(lambda...).
8009
8010 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8011
8012 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8013 of BEG and END.
8014
8015 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8016 Use `tramp-handle-insert-file-contents'.
8017 (tramp-gvfs-handle-insert-file-contents): Remove function.
8018
8019 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8020 Use `save-restriction' in order to keep markers.
8021
8022 * net/trampver.el: Update release number.
8023
8024 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * progmodes/compile.el (compilation-parse-errors):
8027 Use compilation--put-prop.
8028 (compilation--ensure-parse): Check compilation-multiline.
8029
8030 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8031
8032 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8033 lexical-binding.
8034
8035 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8036
8037 * progmodes/ruby-mode.el: Fix recently added tests.
8038 (ruby-smie-grammar): Add - and +.
8039 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8040 (ruby-smie--backward-id): New functions.
8041 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8042 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8043 any more.
8044
8045 2013-10-07 Leo Liu <sdl.web@gmail.com>
8046
8047 * register.el (register-preview-delay)
8048 (register-preview-functions): New variables.
8049 (register-read-with-preview, register-preview)
8050 (register-describe-oneline): New functions.
8051 (point-to-register, window-configuration-to-register)
8052 (frame-configuration-to-register, jump-to-register)
8053 (number-to-register, view-register, insert-register)
8054 (copy-to-register, append-to-register, prepend-to-register)
8055 (copy-rectangle-to-register): Use register-read-with-preview to
8056 read register. (Bug#15525)
8057
8058 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8059
8060 * net/network-stream.el (network-stream-open-starttls): Don't add
8061 --insecure if it's already present, because that gnutls-cli
8062 rejects getting that parameter twice.
8063
8064 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8065
8066 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8067 keyword, too.
8068
8069 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8070
8071 * newcomment.el (comment-use-global-state): Change default value
8072 to t, mark obsolete (Bug#15251).
8073 (comment-beginning): In addition to `comment-to-syntax', check the
8074 value of `comment-use-global-state'.
8075
8076 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8077
8078 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8079 (ruby-comment-column): Follow the global default, by default.
8080 (ruby-smie-grammar): Add assignment syntax.
8081 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8082 open-paren, a comma, or a \.
8083 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8084 and line continuations.
8085 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8086 followed by implicit semi-colons. Add rule for string concatenation
8087 and for indentation at BOB.
8088 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8089
8090 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8091 calling next-sexp, since next-token may have skipped chars which
8092 next-sexp doesn't know should be skipped!
8093
8094 2013-10-05 Leo Liu <sdl.web@gmail.com>
8095
8096 * progmodes/octave.el (octave-send-region):
8097 Call compilation-forget-errors.
8098
8099 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8100
8101 * vc/vc-svn.el (vc-svn-find-admin-dir):
8102 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8103 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8104 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8105 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8106
8107 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8110
8111 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * subr.el (read-passwd): Hide chars even when called within a context
8114 where after-change-functions is disabled (bug#15501).
8115 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8116 until we removed ourself from overriding-terminal-local-map.
8117
8118 2013-10-04 Leo Liu <sdl.web@gmail.com>
8119
8120 * progmodes/octave.el (inferior-octave-mode):
8121 Call compilation-forget-errors.
8122
8123 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8124
8125 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8126
8127 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8128
8129 * net/secrets.el (secrets-create-collection): Add optional
8130 argument ALIAS. Use proper Label keyword. Append ALIAS as
8131 dbus-call-method argument. (Bug#15516)
8132
8133 2013-10-04 Leo Liu <sdl.web@gmail.com>
8134
8135 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8136 (inferior-octave-compilation-font-lock-keywords): New variables.
8137 (compilation-error-regexp-alist)
8138 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8139 (inferior-octave-mode): Use compilation-shell-minor-mode.
8140
8141 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8142
8143 * minibuffer.el (completion--replace): Be careful that `end' might be
8144 a marker.
8145
8146 2013-10-03 Daiki Ueno <ueno@gnu.org>
8147
8148 Add support for package signature checking.
8149 * emacs-lisp/package.el (url-http-file-exists-p)
8150 (epg-make-context, epg-context-set-home-directory)
8151 (epg-verify-string, epg-context-result-for)
8152 (epg-signature-status, epg-signature-to-string)
8153 (epg-check-configuration, epg-configuration)
8154 (epg-import-keys-from-file): Declare.
8155 (package-check-signature): New user option.
8156 (package-unsigned-archives): New user option.
8157 (package-desc): Add `signed' field.
8158 (package-load-descriptor): Set `signed' field if .signed file exists.
8159 (package--archive-file-exists-p): New function.
8160 (package--check-signature): New function.
8161 (package-install-from-archive): Check package signature.
8162 (package--download-one-archive): Check archive signature.
8163 (package-delete): Remove .signed file.
8164 (package-import-keyring): New command.
8165 (package-refresh-contents): Import default keyring.
8166 (package-desc-status): Add "unsigned" status.
8167 (describe-package-1, package-menu--print-info)
8168 (package-menu-mark-delete, package-menu--find-upgrades)
8169 (package-menu--status-predicate): Support "unsigned" status.
8170
8171 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8172
8173 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8174 the new compilation scheme using the new byte-codes.
8175
8176 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8177 (byte-pophandler): New byte codes.
8178 (byte-goto-ops): Adjust accordingly.
8179 (byte-compile--use-old-handlers): New var.
8180 (byte-compile-catch): Use new byte codes depending on
8181 byte-compile--use-old-handlers.
8182 (byte-compile-condition-case--old): Rename from
8183 byte-compile-condition-case.
8184 (byte-compile-condition-case--new): New function.
8185 (byte-compile-condition-case): New function that dispatches depending
8186 on byte-compile--use-old-handlers.
8187 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8188 when we can.
8189
8190 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8191 Optimize under `condition-case' and `catch' if
8192 byte-compile--use-old-handlers is nil.
8193 (disassemble-offset): Handle new bytecodes.
8194
8195 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * subr.el (error): Use `declare'.
8198 (decode-char, encode-char): Use advertised-calling-convention instead
8199 of the docstring to discourage use of the `restriction' arg.
8200
8201 2013-10-03 Daiki Ueno <ueno@gnu.org>
8202
8203 * epg.el (epg-verify-file): Add a comment saying that it does not
8204 notify verification error as a return value nor a signal.
8205 (epg-verify-string): Ditto.
8206
8207 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8208
8209 * progmodes/compile.el (compilation-start): Try globbing the arg to
8210 `cd' (bug#15417).
8211
8212 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8213
8214 Sync with Tramp 2.2.8.
8215
8216 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8217 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8218 * net/trampver.el: Update release number.
8219
8220 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8221
8222 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8223 and default-process-coding-system for darwin only.
8224
8225 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8228
8229 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8230
8231 * vc/vc-git.el (vc-git-grep): Disable pager.
8232
8233 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8234
8235 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8236 Use :url instead of :homepage, as per
8237 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8238
8239 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8240 non-nil, use `syntax-ppss' (Bug#15251).
8241
8242 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8243
8244 * progmodes/octave.el (inferior-octave-startup-file):
8245 Prefer ~/.emacs.d/init_octave.m.
8246
8247 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8248
8249 * emacs-lisp/package.el (package-desc-from-define):
8250 Accept additional arguments as plist, convert them to an alist and store
8251 them in the `extras' slot.
8252 (package-generate-description-file): Convert extras alist back to
8253 plist and append to the `define-package' form arguments.
8254 (package--alist-to-plist): New function.
8255 (package--ac-desc): Add `extras' slot.
8256 (package--add-to-archive-contents): Check if the archive-contents
8257 vector is long enough, and if it is, pass its `extras' slot value
8258 to `package-desc-create'.
8259 (package-buffer-info): Call `lm-homepage', pass the returned value
8260 to `package-desc-from-define'.
8261 (describe-package-1): Render the homepage button (Bug#13291).
8262
8263 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8264 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8265
8266 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8267
8268 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8269 and default-process-coding-system to utf-8-unix (Bug#15402).
8270
8271 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8272
8273 * subr.el (looking-back): Do not recommend using looking-back.
8274
8275 2013-09-28 Alan Mackenzie <acm@muc.de>
8276
8277 Fix indentation/fontification of Java enum with "implements".
8278
8279 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8280 regexp which matches "implements", etc., in Java.
8281 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8282 specifier clauses coming after "enum".
8283 * progmodes/cc-fonts.el (c-font-lock-declarations)
8284 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8285 after "enum".
8286
8287 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8288
8289 * faces.el (region): Change ns_selection_color to
8290 ns_selection_fg_color, add ns_selection_bg_color.
8291
8292 2013-09-28 Leo Liu <sdl.web@gmail.com>
8293
8294 * progmodes/octave.el (inferior-octave-completion-table)
8295 (inferior-octave-completion-at-point): Minor tweaks.
8296
8297 * textmodes/ispell.el (ispell-lookup-words): Rename from
8298 lookup-words. (Bug#15460)
8299 (lookup-words): Obsolete.
8300 (ispell-complete-word, ispell-command-loop): All uses changed.
8301
8302 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8303
8304 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8305 (octave-mode-menu): Add octave-send-buffer.
8306 (octave-send-buffer): New function.
8307
8308 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8309
8310 * progmodes/octave.el (octave-mode-map): Add key binding for
8311 octave-lookfor.
8312 (octave-mode-menu): Add octave-lookfor.
8313 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8314 octave-lookfor.
8315 (octave-lookfor): New function.
8316
8317 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8320 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8321 its convention.
8322 (cl--loop-set-iterator-function): New function.
8323 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8324 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8325 Bind `it' with `let' instead of substituting it with `cl-subst'.
8326 (cl--unused-var-p): New function.
8327 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8328 Eliminate some unused variable warnings (bug#15326).
8329
8330 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8331
8332 * doc-view.el (doc-view-scale-reset): Rename from
8333 `doc-view-reset-zoom-level'.
8334 (doc-view-scale-adjust): New command.
8335 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8336 `doc-view-scale-adjust'.
8337
8338 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8339
8340 * doc-view.el (doc-view-reset-zoom-level): New command.
8341 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8342 zoom commands (bug#15466).
8343
8344 2013-09-26 Kenichi Handa <handa@gnu.org>
8345
8346 * international/quail.el (quail-help): Make it not a command.
8347
8348 2013-09-26 Leo Liu <sdl.web@gmail.com>
8349
8350 * minibuffer.el (completion-all-sorted-completions): Make args
8351 optional as they are.
8352
8353 2013-09-25 Daniel Colascione <dancol@dancol.org>
8354
8355 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8356 specs are and that they're not evaluated.
8357
8358 2013-09-24 Sam Steingold <sds@gnu.org>
8359
8360 * midnight.el (clean-buffer-list-kill-regexps)
8361 (clean-buffer-list-kill-buffer-names): Update for the new Man
8362 buffer naming which includes the object name.
8363
8364 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8365
8366 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8367 (eshell-parse-command, eshell-parse-pipeline): Use it since
8368 eshell-separate-commands requires a dynamic scoped var.
8369 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8370
8371 2013-09-23 Leo Liu <sdl.web@gmail.com>
8372
8373 * autoinsert.el (auto-insert-alist): Make the value of
8374 lexical-binding match its file setting.
8375
8376 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8377
8378 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8379
8380 * autoarg.el (autoarg-kp-digit-argument):
8381 * electric.el (Electric-command-loop):
8382 * kmacro.el (kmacro-step-edit-insert):
8383 Do not set universal-argument-num-events.
8384
8385 2013-09-22 Leo Liu <sdl.web@gmail.com>
8386
8387 * files.el (interpreter-mode-alist): Add octave.
8388
8389 2013-09-21 Alan Mackenzie <acm@muc.de>
8390
8391 C++: fontify identifier in declaration following "public:" correctly.
8392 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8393 to match "public", etc.
8394 (c-decl-prefix-re): Add ":" into the C++ value.
8395 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8396 bit. Add a check for a ":" preceded by "public", etc.
8397
8398 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8399
8400 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8401 recognized by GDB 7.5 and later.
8402
8403 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8404
8405 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8406
8407 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8408
8409 * subr.el (internal--call-interactively): New const.
8410 (called-interactively-p): Use it (bug#3984).
8411
8412 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8413
8414 * vc/pcvs.el (cvs-mode-ignore):
8415 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8416 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8417
8418 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8419
8420 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8421 (eshell-ls-orig-insert-directory): Remove.
8422 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8423 (eshell-ls-use-in-dired): Use advice-add/remove.
8424 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8425 Add `orig-fun' arg for use in :around advice.
8426 Make it check (redundantly) eshell-ls-use-in-dired.
8427
8428 2013-09-19 Glenn Morris <rgm@gnu.org>
8429
8430 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8431
8432 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8433
8434 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8435
8436 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8437
8438 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8439 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8440 (tramp-get-remote-python): New defuns.
8441 (tramp-get-remote-uid-with-perl)
8442 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8443 contributed by yary <not.com@gmail.com> (tiny change).
8444 (tramp-get-remote-uid-with-python)
8445 (tramp-get-remote-gid-with-python): New defuns. Python code
8446 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8447 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8448
8449 2013-09-19 Glenn Morris <rgm@gnu.org>
8450
8451 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8452
8453 * eshell/em-unix.el (eshell-remove-entries):
8454 Rename argument to avoid name-clash with global `top-level'.
8455
8456 * eshell/esh-proc.el (eshell-kill-process-function):
8457 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8458 (eshell-reset-after-proc): Remove unused arg `proc'.
8459
8460 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8461 (directory-files-and-attributes): Mark unused arg.
8462
8463 * eshell/em-unix.el (eshell-remove-entries):
8464 Remove unused arg `path'. Update callers.
8465
8466 * eshell/em-hist.el (eshell-hist-parse-arguments):
8467 Remove unused arg `silent'. Update callers.
8468
8469 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8470 Fix (f)boundp mix-up.
8471
8472 * eshell/em-smart.el (eshell-smart-scroll-window)
8473 (eshell-disable-after-change):
8474 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8475
8476 2013-09-18 Alan Mackenzie <acm@muc.de>
8477
8478 Fix fontification of type when followed by "const".
8479 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8480 "known" types from fontification.
8481
8482 2013-09-18 Glenn Morris <rgm@gnu.org>
8483
8484 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8485 (chart-face-list): Drop Emacsen without display-color-p.
8486
8487 * net/eww.el (libxml-parse-html-region): Declare.
8488 (eww-display-html): Explicit error if no libxml2 support.
8489
8490 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8491
8492 * image.el (image-type-from-buffer, image-multi-frame-p):
8493 Remove --without-x warning/error.
8494
8495 * mouse.el (mouse-yank-primary):
8496 * term.el (term-mouse-paste):
8497 Reorder to silence --without-x compilation.
8498
8499 * mpc.el (doc-view-mode): Silence --without-x compilation.
8500
8501 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8502 Silence --without-x compilation.
8503
8504 * progmodes/gud.el (gud-find-file, gud-mode):
8505 Silence --without-x compilation.
8506 (tooltip-mode): Declare.
8507
8508 * wdired.el (dired-backup-overwrite): Remove declaration.
8509 (wdired-mode-map): Add doc string.
8510
8511 * custom.el (x-get-resource): Declare.
8512
8513 * eshell/em-glob.el (ange-cache):
8514 * eshell/em-unix.el (ange-cache): Declare.
8515
8516 * faces.el (x-display-list, x-open-connection, x-get-resource):
8517 Declare.
8518
8519 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8520 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8521 Declare.
8522
8523 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8524
8525 * net/gnutls.el (gnutls-log-level): Declare.
8526
8527 * net/shr.el (image-size, image-animate): Declare.
8528
8529 * simple.el (font-info): Declare.
8530
8531 * subr.el (x-popup-dialog): Declare.
8532
8533 * term/common-win.el (x-select-enable-primary)
8534 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8535 Declare.
8536
8537 * term/ns-win.el (x-handle-args): Declare.
8538
8539 * term/x-win.el (x-select-enable-clipboard): Declare.
8540
8541 * term/w32-win.el (create-default-fontset): Declare.
8542
8543 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8544 Declare.
8545
8546 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8547 (fit-frame-to-buffer): Explicit error if --without-x.
8548 (mouse-autoselect-window-select): Silence compiler.
8549
8550 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8551
8552 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8553 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8554 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8555 * eshell/esh-util.el (eshell-sublist):
8556 Remove unused local variables.
8557
8558 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8559
8560 * textmodes/two-column.el: Make 2C-split work for --without-x.
8561 (scroll-bar-columns): Autoload.
8562 (top-level): Require fringe when compiling.
8563
8564 2013-09-18 Leo Liu <sdl.web@gmail.com>
8565
8566 * subr.el (add-hook): Robustify to handle closure as well.
8567
8568 2013-09-17 Glenn Morris <rgm@gnu.org>
8569
8570 * simple.el (messages-buffer-mode-map): Unbind "g".
8571
8572 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * help-mode.el (help-mode-finish): Use derived-mode-p.
8575 Remove obsolete highlighting.
8576
8577 * play/life.el (life-mode): Use define-derived-mode. Derive from
8578 special-mode.
8579 (life): Let-bind inhibit-read-only.
8580 (life-setup): Avoid `setq'. Use `life-mode'.
8581
8582 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8583 which should not be needed any more.
8584 (package-menu-refresh, package-menu-describe-package): Use user-error.
8585
8586 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8587 (eshell-post-rewrite-command-hook): Make obsolete.
8588 (eshell-parse-command): Simplify.
8589 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8590 (eshell--cmd): Declare.
8591 (eshell-parse-pipeline): Remove unused var `final-p'.
8592 Pass a dynvar to eshell-post-rewrite-command-hook.
8593 Implement the new eshell-post-rewrite-command-function.
8594 (eshell-invoke-directly): Remove unused arg `input'.
8595 * eshell/esh-io.el (eshell-io-initialize):
8596 Use eshell-post-rewrite-command-function (bug#15399).
8597 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8598 adjust to new calling convention.
8599 (eshell-create-handles): Rename args to avoid clashing with dynvar
8600 `standard-output'.
8601
8602 2013-09-17 Glenn Morris <rgm@gnu.org>
8603
8604 * simple.el (messages-buffer-mode): New major mode.
8605 (messages-buffer): New function.
8606 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8607 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8608 (ert-run-test): Use `messages-buffer' function.
8609 (ert--force-message-log-buffer-truncation): Ignore read-only.
8610 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8611 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8612
8613 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8616
8617 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8618
8619 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * icomplete.el (icomplete-in-buffer): New var.
8622 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8623 vars and replace them with functions.
8624 (icomplete-minibuffer-setup): Adjust accordingly.
8625 (icomplete--completion-table, icomplete--completion-predicate)
8626 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8627 New functions.
8628 (icomplete-forward-completions, icomplete-backward-completions)
8629 (icomplete-simple-completing-p, icomplete-exhibit)
8630 (icomplete-completions): Use them.
8631 (icomplete--in-region-buffer): New var.
8632 (icomplete--in-region-setup): New function.
8633 (icomplete-mode): Use it.
8634
8635 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8636 (bug#15379).
8637 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8638 return args and options.
8639 (eshell-eval-using-options): Use the new return value of
8640 eshell--do-opts to set the options's vars in their scope.
8641 (eshell--set-option): Rename from eshell-set-option.
8642 Add arg `opt-vals'.
8643 (eshell--process-option): Rename from eshell-process-option.
8644 Add arg `opt-vals'.
8645 (eshell--process-args): Use an `opt-vals' alist to store the options's
8646 values during their processing and return them additionally to the
8647 remaining args.
8648
8649 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8650
8651 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8652 continuation character an operator, as far as indentation is
8653 concerned (Bug#15369).
8654
8655 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8656
8657 * window.el (window--state-put-2): Don't process buffer state
8658 when buffer doesn't exist any more (Bug#15382).
8659
8660 2013-09-15 Glenn Morris <rgm@gnu.org>
8661
8662 * eshell/em-unix.el (eshell/rm):
8663 Make -f ignore missing files. (Bug#15373)
8664
8665 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8666 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8667 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8668
8669 2013-09-14 Glenn Morris <rgm@gnu.org>
8670
8671 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8672
8673 2013-09-13 Glenn Morris <rgm@gnu.org>
8674
8675 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8676 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8677
8678 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8679
8680 * frame.el (x-focus-frame): Mark as declared in frame.c.
8681
8682 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * ls-lisp.el: Use advice-add.
8685 (original-insert-directory): Remove.
8686 (ls-lisp--insert-directory): Rename from insert-directory; add
8687 `orig-fun' argument.
8688 (insert-directory): Advise.
8689
8690 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8691
8692 * term.el (term-emulate-terminal): Decode the command string
8693 before passing it to term-command-hook. (Bug#15337)
8694
8695 2013-09-13 Glenn Morris <rgm@gnu.org>
8696
8697 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8698
8699 * eshell/esh-ext.el (eshell-search-path): Declare.
8700
8701 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8702 Otherwise an error occurs if eshell-dirs module not loaded.
8703
8704 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8705
8706 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8707
8708 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8709 `tramp-check-proper-host'. Check for a valid method name.
8710
8711 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8712 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8713 * net/tramp-sh.el (tramp-maybe-open-connection):
8714 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8715
8716 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8717 also for hash values.
8718
8719 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 * term/ns-win.el (parameters): Don't declare as dynamic.
8722 (before-make-frame-hook): Don't add ineffective function.
8723
8724 * eshell/*.el: Use lexical-binding (bug#15231).
8725
8726 2013-09-12 Kenichi Handa <handa@gnu.org>
8727
8728 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8729
8730 2013-09-12 Glenn Morris <rgm@gnu.org>
8731
8732 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8733 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8734
8735 * subr.el (do-after-load-evaluation): Also give compiler warnings
8736 when obsolete files are used (except by obsolete files).
8737
8738 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8739 in the status output, assume `filename' is the first. (Bug#15322)
8740
8741 * vc/vc.el (vc-deduce-fileset): Doc fix.
8742
8743 * calc/calc-help.el (Info-goto-node):
8744 * progmodes/cperl-mode.el (Info-find-node):
8745 * vc/ediff.el (Info-goto-node): Update declarations.
8746
8747 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8748
8749 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8750 (vc-bzr-pull): Require vc-dispatcher.
8751 * vc/vc-git.el (vc-compilation-mode): Declare.
8752 (vc-git-pull): Require vc-dispatcher.
8753
8754 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8755
8756 * progmodes/octave.el (help-button-action): Declare.
8757
8758 * shell.el (shell-directory-tracker): Output error as a message
8759 rather than just returning it as a string.
8760 (shell-process-pushd): Remove useless use of message.
8761
8762 * dframe.el (dframe-timer-fn):
8763 * files.el (dir-locals-read-from-file):
8764 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8765 (mpc-format):
8766 * reveal.el (reveal-post-command):
8767 * saveplace.el (load-save-place-alist-from-file):
8768 * shell.el (shell-resync-dirs):
8769 * w32-common-fns.el (x-get-selection-value):
8770 * emacs-lisp/copyright.el (copyright-find-copyright):
8771 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8772 * emulation/tpu-edt.el (tpu-copy-keyfile):
8773 * play/bubbles.el (bubbles--mark-neighbourhood):
8774 * progmodes/executable.el
8775 (executable-make-buffer-file-executable-if-script-p):
8776 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8777
8778 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8779
8780 Cleanup Eshell to rely less on dynamic scoping.
8781 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8782 last-value, and ext-command here. Bind `args' closer to `body'.
8783 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8784 (eshell--args): Declare new dynamic var.
8785 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8786 last-value, and ext-command. Pass `args' to `body'.
8787 (eshell-process-args): Bind eshell--args.
8788 (eshell-set-option): Use eshell--args.
8789 * eshell/eshell.el (eshell): Use derived-mode-p.
8790 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8791 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8792 (eshell-glob-function): Declare.
8793 * eshell/esh-util.el: Require cl-lib.
8794 (eshell-read-hosts-file): Avoid add-to-list.
8795 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8796 `err'.
8797 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8798 Declare.
8799 (eshell/diff): Remove unused var `err'.
8800 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8801 `killflag'.
8802 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8803 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8804 first use.
8805 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8806 Move declaration before first use.
8807 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8808 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8809 rely on cl-return.
8810
8811 2013-09-12 Glenn Morris <rgm@gnu.org>
8812
8813 * term/ns-win.el (global-map): Remove binding for ispell-next,
8814 deleted 1999-05-29. (Bug#15357)
8815
8816 2013-09-11 Glenn Morris <rgm@gnu.org>
8817
8818 * echistory.el (electric-command-history): Remove call to deleted func.
8819
8820 * play/landmark.el (landmark-mode): Fix typos.
8821
8822 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8823 Check cvs-sort-ignore-file is bound.
8824
8825 * savehist.el: No need for cl when compiling on Emacs.
8826
8827 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8828
8829 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8830 (bug#15338).
8831 (eshell-self-insert-command, eshell-send-invisible):
8832 Remove unused argument.
8833 (eshell-handle-control-codes): Remove unused var `orig'.
8834 Avoid delete-backward-char.
8835
8836 * files.el (set-auto-mode): Simplify a bit further.
8837
8838 2013-09-11 Glenn Morris <rgm@gnu.org>
8839
8840 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8841 (set-auto-mode): Don't regexp-quote elements.
8842 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8843 * progmodes/cc-mode.el (interpreter-mode-alist):
8844 * progmodes/ruby-mode.el (interpreter-mode-alist):
8845 Revert previous change.
8846
8847 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8848
8849 * play/snake.el (snake-mode):
8850 * play/mpuz.el (mpuz-mode):
8851 * play/landmark.el (lm-mode):
8852 * play/blackbox.el (blackbox-mode):
8853 * play/5x5.el (5x5-mode):
8854 * obsolete/options.el (Edit-options-mode):
8855 * net/quickurl.el (quickurl-list-mode):
8856 * net/newst-treeview.el (newsticker-treeview-mode):
8857 * mail/rmailsum.el (rmail-summary-mode):
8858 * mail/mspools.el (mspools-mode):
8859 * locate.el (locate-mode):
8860 * ibuffer.el (ibuffer-mode):
8861 * emulation/ws-mode.el (wordstar-mode):
8862 * emacs-lisp/debug.el (debugger-mode):
8863 * array.el (array-mode):
8864 * net/eudc.el (eudc-mode): Use define-derived-mode.
8865 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8866 Move initialization into declaration.
8867 (mairix-searches-mode): Use define-derived-mode.
8868 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8869 (eudc-edit-hotlist): Use dolist.
8870 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8871 (Man-mode): Use define-derived-mode.
8872 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8873 (Info-edit-mode): Use define-derived-mode.
8874 (Info-cease-edit): Use Info-mode.
8875 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8876 into declaration.
8877 (eshell-mode): Use define-derived-mode.
8878 * chistory.el (command-history-mode-map): Rename from
8879 command-history-map.
8880 (command-history-mode): Use define-derived-mode.
8881 (Command-history-setup): Remove function.
8882 * calc/calc.el (calc-trail-mode-map): New var.
8883 (calc-trail-mode): Use define-derived-mode.
8884 (calc-trail-buffer): Set calc-main-buffer manually.
8885 * bookmark.el (bookmark-insert-annotation): New function.
8886 (bookmark-edit-annotation): Use it.
8887 (bookmark-edit-annotation-mode): Make it a proper major mode.
8888 (bookmark-send-edited-annotation): Use derived-mode-p.
8889 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8890 closer to its ideal place. Use \' to match EOS.
8891
8892 * profiler.el (profiler-calltree-find): Use function-equal.
8893
8894 2013-09-10 Glenn Morris <rgm@gnu.org>
8895
8896 * files.el (interpreter-mode-alist): Convert to regexps.
8897 (set-auto-mode): Adapt for this. (Bug#15306)
8898 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8899 Comment out unused variable.
8900 * progmodes/cc-mode.el (interpreter-mode-alist):
8901 * progmodes/python.el (interpreter-mode-alist):
8902 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8903 * progmodes/sh-script.el (sh-set-shell):
8904 No longer use interpreter-mode-alist to get list of shells.
8905
8906 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8907
8908 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * simple.el: Use set-temporary-overlay-map for universal-argument.
8911 (universal-argument-map): Don't use default-bindings (bug#15317).
8912 Bind switch-frame explicitly. Replace universal-argument-minus with
8913 a conditional binding.
8914 (universal-argument-num-events, saved-overriding-map): Remove.
8915 (restore-overriding-map): Remove.
8916 (universal-argument--mode): Rename from save&set-overriding-map,
8917 and rewrite.
8918 (universal-argument, universal-argument-more, negative-argument)
8919 (digit-argument): Adjust accordingly.
8920 (universal-argument-minus): Remove.
8921 (universal-argument-other-key): Remove.
8922
8923 * subr.el (with-demoted-errors): Add `format' argument.
8924
8925 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8926
8927 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8928 `tramp-cleanup-connection'.
8929
8930 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8931 parameters KEEP-DEBUG and KEEP-PASSWORD.
8932
8933 * net/tramp.el (tramp-file-name-handler):
8934 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8935 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8936 (tramp-maybe-open-connection):
8937 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8938 Use `tramp-cleanup-connection'.
8939
8940 * net/tramp-sh.el (tramp-maybe-open-connection):
8941 Catch 'uname-changed inside the progress reporter.
8942
8943 2013-09-10 Glenn Morris <rgm@gnu.org>
8944
8945 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8946
8947 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8948 returns "alternate access method" in mode (eg "-rw-r--r--.").
8949
8950 2013-09-08 Glenn Morris <rgm@gnu.org>
8951
8952 * saveplace.el (load-save-place-alist-from-file):
8953 Demote errors. (Bug#15305)
8954
8955 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8956
8957 Improve compatibility with older Emacsen, and XEmacs.
8958
8959 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8960 only if it is bound. It isn't for XEmacs.
8961 (with-tramp-progress-reporter): Do not let-bind `result'.
8962 This yields to scoping errors in XEmacs.
8963 (tramp-handle-make-auto-save-file-name): New function, moved from
8964 tramp-sh.el.
8965
8966 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8967 for `make-auto-save-file-name'.
8968 (tramp-adb--gnu-switches-to-ash):
8969 Use `tramp-compat-replace-regexp-in-string'.
8970
8971 * net/tramp-cache.el (tramp-cache-print): Call
8972 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8973
8974 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8975 bound. It isn't for XEmacs.
8976
8977 * net/tramp-compat.el (tramp-compat-copy-file):
8978 Catch `wrong-number-of-arguments' error.
8979 (tramp-compat-replace-regexp-in-string): New defun.
8980
8981 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8982 for `make-auto-save-file-name'.
8983 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8984 `copy-file'.
8985 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8986 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8987 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8988
8989 * net/tramp-gw.el (tramp-gw-open-network-stream):
8990 Use `tramp-compat-replace-regexp-in-string'.
8991
8992 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8993 Call `tramp-handle-make-auto-save-file-name'.
8994 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8995 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8996 (tramp-sh-file-inotifywait-process-filter):
8997 Use `tramp-compat-replace-regexp-in-string'.
8998 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8999
9000 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9001 for `make-auto-save-file-name'.
9002 (tramp-smb-handle-copy-directory):
9003 Call `tramp-compat-replace-regexp-in-string'.
9004 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9005 (tramp-smb-handle-copy-file): Improve error message.
9006 (tramp-smb-handle-rename-file): Rename directly only in case
9007 `newname' does not exist yet. This is a restriction of smbclient.
9008 (tramp-smb-maybe-open-connection): Rerun the function only when
9009 `auth-sources' is non-nil.
9010
9011 2013-09-08 Kenichi Handa <handa@gnu.org>
9012
9013 * international/characters.el: Set category "^" (Combining) for
9014 more characters.
9015
9016 2013-09-07 Alan Mackenzie <acm@muc.de>
9017
9018 Correctly fontify Java class constructors.
9019 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9020 in Java Mode.
9021 (c-recognize-typeless-decls): Set the Java value to t.
9022 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9023 While handling a "(", add a check for, effectively, Java, and handle a
9024 "typeless" declaration there.
9025
9026 2013-09-07 Roland Winkler <winkler@gnu.org>
9027
9028 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9029 field subtitle for entry type book.
9030
9031 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9032
9033 * minibuffer.el: Make minibuffer-complete call completion-in-region
9034 rather than other way around.
9035 (completion--some, completion-pcm--find-all-completions):
9036 Don't delay signals when debugging.
9037 (minibuffer-completion-contents): Beware fields within the
9038 minibuffer contents.
9039 (completion-all-sorted-completions): Use defvar-local.
9040 (completion--do-completion, completion--cache-all-sorted-completions)
9041 (completion-all-sorted-completions, minibuffer-force-complete):
9042 Add args `beg' and `end'.
9043 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9044 (minibuffer-complete): Use completion-in-region.
9045 (completion-complete-and-exit): New fun, extracted from
9046 minibuffer-complete-and-exit.
9047 (minibuffer-complete-and-exit): Use it.
9048 (completion--complete-and-exit): Rename from
9049 minibuffer--complete-and-exit.
9050 (completion-in-region--single-word): New function, extracted from
9051 minibuffer-complete-word.
9052 (minibuffer-complete-word): Use it.
9053 (display-completion-list): Make `common-substring' argument obsolete.
9054 (completion--in-region): Call completion--in-region-1 instead of
9055 minibuffer-complete.
9056 (completion-help-at-point): Pass boundaries to
9057 minibuffer-completion-help as args rather than via an overlay.
9058 (completion-pcm--string->pattern): Use `any-delim'.
9059 (completion-pcm--optimize-pattern): New function.
9060 (completion-pcm--pattern->regex): Handle `any-delim'.
9061 * icomplete.el (icomplete-forward-completions)
9062 (icomplete-backward-completions, icomplete-completions):
9063 Adjust calls to completion-all-sorted-completions and
9064 completion--cache-all-sorted-completions.
9065 (icomplete-with-completion-tables): Default to t.
9066 * emacs-lisp/crm.el (crm--current-element): Rename from
9067 crm--select-current-element. Don't put an overlay but return the
9068 boundaries instead.
9069 (crm--completion-command): Take two new args to bind to the boundaries.
9070 (crm-completion-help): Adjust accordingly.
9071 (crm-complete): Use completion-in-region.
9072 (crm-complete-word): Use completion-in-region--single-word.
9073 (crm-complete-and-exit): Use completion-complete-and-exit.
9074
9075 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9078 than dynamically.
9079
9080 2013-09-06 Juri Linkov <juri@jurta.org>
9081
9082 * info.el (Info-display-images-node): When image file doesn't exist
9083 display text version of the image if it's provided in the Info file.
9084 Otherwise, display the location of missing image from SRC attribute.
9085 Add help-echo text property from ALT attribute. (Bug#15279)
9086
9087 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9090 (edit-abbrevs-mode): Use define-derived-mode.
9091
9092 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9093 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9094 that it's defined.
9095 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9096 Use define-derived-mode.
9097
9098 * epg.el (epg-start-encrypt): Minor CSE simplification.
9099
9100 2013-09-06 William Xu <william.xwl@gmail.com>
9101
9102 * arc-mode.el: Add support for 7za (bug#15264).
9103 (archive-7z-program): New var.
9104 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9105 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9106 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9107
9108 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9109
9110 Remove URL syntax.
9111
9112 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9113 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9114 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9115 (tramp-postfix-host-format, tramp-file-name-regexp)
9116 (tramp-completion-file-name-regexp)
9117 (tramp-completion-dissect-file-name)
9118 (tramp-handle-substitute-in-file-name): Remove 'url case.
9119 (tramp-file-name-regexp-url)
9120 (tramp-completion-file-name-regexp-url): Remove constants.
9121
9122 2013-09-06 Glenn Morris <rgm@gnu.org>
9123
9124 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9125
9126 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9127
9128 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9129 keywords" below "here-doc beginnings" (Bug#15270).
9130
9131 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * subr.el (pop): Use `car-safe'.
9134 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9135 to detect unused `pop' return value.
9136
9137 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9138 var `block-regexp'.
9139 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9140 (python-fill-string): Remove unused var `marker'.
9141 (python-skeleton-add-menu-items): Remove unused var `items'.
9142
9143 * international/mule-cmds.el: Require CL.
9144 (find-coding-systems-for-charsets): Avoid add-to-list.
9145 (sanitize-coding-system-list): New function, extracted from
9146 select-safe-coding-system-interactively.
9147 (select-safe-coding-system-interactively): Use it.
9148 (read-input-method-name): Accept symbols for `default'.
9149
9150 * emacs-lisp/advice.el (defadvice): Add indent rule.
9151
9152 2013-09-05 Daniel Hackney <dan@haxney.org>
9153
9154 * dired-x.el:
9155 * net/ange-ftp.el:
9156 * net/browse-url.el:
9157 * net/dbus.el:
9158 * net/eudc.el:
9159 * net/eudcb-ldap.el:
9160 * net/eww.el:
9161 * net/imap.el:
9162 * printing.el:
9163 * vc/ediff-diff.el:
9164 * vc/ediff-init.el:
9165 * vc/ediff-merg.el:
9166 * vc/ediff-mult.el:
9167 * vc/ediff-util.el:
9168 * vc/ediff-wind.el:
9169 * vc/ediff.el:
9170 * vc/emerge.el:
9171 * vc/pcvs.el:
9172 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9173 byte compiler. Remove some unused let-bound variables.
9174
9175 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9177 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9178 a "ref-cell", since it gets better optimized (bug#14883).
9179
9180 2013-09-05 Glenn Morris <rgm@gnu.org>
9181
9182 * progmodes/cc-awk.el (c-forward-sws): Declare.
9183
9184 2013-09-04 Glenn Morris <rgm@gnu.org>
9185
9186 * generic-x.el [rul-generic-mode]: Require cc-mode.
9187 (c++-mode-syntax-table): Declare.
9188 (rul-generic-mode-syntax-table): Init in the defvar.
9189
9190 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9191
9192 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9193 (vc-do-command, vc-set-async-update):
9194 * vc/vc-mtn.el (vc-mtn-dir-status):
9195 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9196 (vc-hg-pull, vc-hg-merge-branch):
9197 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9198 (vc-git-merge-branch):
9199 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9200 (vc-cvs-dir-status-files):
9201 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9202 (vc-bzr-dir-status-files):
9203 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9204 * vc/vc-annotate.el: Use lexical-binding.
9205 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9206 (vc-sentinel-movepoint): Declare.
9207 (vc-annotate): Don't use `goto-line'.
9208 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9209 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9210 (vc-sentinel-movepoint): Declare.
9211 * vc/vc-svn.el: Use lexical-binding.
9212 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9213 * vc/vc-sccs.el:
9214 * vc/vc-rcs.el: Use lexical-binding.
9215
9216 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9217 `deleted'. Don't drop errors silently.
9218
9219 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9220
9221 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9222
9223 * vc/vc.el (vc-ignore): Rewrite.
9224 (vc-default-ignore): New function.
9225 (vc-default-ignore-completion-table): Use find-ignore-file.
9226
9227 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9228 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9229 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9230 Remove. Most code moved to vc.el.
9231
9232 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9235 * net/tramp-smb.el (tramp-smb-get-file-entries):
9236 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9237 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9238
9239 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9240 Update call to it.
9241 (eww-change-select): Remove unused var `properties'.
9242 (eww-make-unique-file-name): Remove unused var `base'.
9243
9244 * finder.el (finder-compile-keywords): Don't mess with windows.
9245
9246 * calculator.el (calculator-funcall): Fix typo in last change.
9247
9248 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9249
9250 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9251 <pkg>-autoloads.el file stop us.
9252
9253 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9254 warnings, and factor out common code.
9255
9256 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9257
9258 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9259 two-character operators and whether the character preceding them
9260 changes their meaning (Bug#15208).
9261
9262 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9263
9264 Format code sent to Python shell for robustness.
9265 * progmodes/python.el (python-shell-buffer-substring):
9266 New function.
9267 (python-shell-send-region, python-shell-send-buffer): Use it.
9268
9269 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9270
9271 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9272 * net/tramp.el (tramp-user-error): ... here.
9273 (tramp-find-method, tramp-check-proper-host)
9274 (tramp-dissect-file-name, tramp-debug-message)
9275 (tramp-handle-shell-command):
9276 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9277 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9278
9279 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9280
9281 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9282
9283 * avoid.el (mouse-avoidance-point-position)
9284 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9285 returns nil.
9286
9287 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9288
9289 * progmodes/python.el (python-shell-completion-get-completions):
9290 Drop use of deleted `comint-last-prompt-overlay'.
9291 (python-nav-if-name-main): New command.
9292
9293 2013-09-01 Glenn Morris <rgm@gnu.org>
9294
9295 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9296 Avoid leading space in $wins. Otherwise the sed command used by
9297 eg compile-main ends up containing "/*.el". (Bug#15170)
9298
9299 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9300
9301 2013-08-30 Glenn Morris <rgm@gnu.org>
9302
9303 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9304 Fix is-this-a-directory logic. (Bug#15220)
9305
9306 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * textmodes/css-mode.el: Use SMIE.
9309 (css-smie-grammar): New var.
9310 (css-smie--forward-token, css-smie--backward-token)
9311 (css-smie-rules): New functions.
9312 (css-mode): Use them.
9313 (css-navigation-syntax-table): Remove var.
9314 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9315 (css-indent-calculate, css-indent-line): Remove functions.
9316
9317 Misc changes to reduce use of `(lambda...); and other cleanups.
9318 * cus-edit.el: Use lexical-binding.
9319 (customize-push-and-save, customize-apropos)
9320 (custom-buffer-create-internal): Use closures.
9321 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9322 * progmodes/ada-xref.el: Use setq.
9323 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9324 * dframe.el: Use lexical-binding.
9325 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9326 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9327 * descr-text.el: Use lexical-binding.
9328 (describe-text-widget, describe-text-sexp, describe-property-list):
9329 Use closures.
9330 * comint.el (comint-history-isearch-push-state): Use a closure.
9331 * calculator.el: Use lexical-binding.
9332 (calculator-number-to-string): Make it work with lexical-binding.
9333 (calculator-funcall): Same and use cl-letf.
9334
9335 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9336 (lisp--company-doc-string, lisp--company-location): New functions.
9337 (lisp-completion-at-point): Use them to improve Company support.
9338
9339 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9340 params of lambda expressions.
9341 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9342 (ruby-smie--opening-pipe-p): New function.
9343 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9344 symbols and matched |...| for formal params.
9345 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9346 from being treated as hanging. Handle "rescue".
9347
9348 2013-08-29 Glenn Morris <rgm@gnu.org>
9349
9350 * progmodes/cc-engine.el (c-pull-open-brace):
9351 Move definition before use.
9352
9353 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9354
9355 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9356 are immutable. Don't use `unsafe' any more.
9357 (cl--defsubst-expand): Don't substitute at the same time as keeping
9358 a residual unused let-binding. Don't use `unsafe' any more.
9359
9360 2013-08-29 Glenn Morris <rgm@gnu.org>
9361
9362 * calendar/cal-china.el (calendar-chinese-year-cache):
9363 Recenter on 2015.
9364
9365 * nxml/nxml-util.el (nxml-debug-clear-inside):
9366 Use cl-loop rather than loop.
9367
9368 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9369
9370 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9371
9372 2013-08-28 Glenn Morris <rgm@gnu.org>
9373
9374 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9375
9376 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9377
9378 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9379
9380 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * simple.el (repeat-complex-command--called-interactively-skip):
9383 New function.
9384 (repeat-complex-command): Use it (bug#14136).
9385
9386 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9387 (c-define-abbrev-table): Add `doc' argument.
9388 (c-mode-abbrev-table, c++-mode-abbrev-table)
9389 (objc-mode-abbrev-table, java-mode-abbrev-table)
9390 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9391 (awk-mode-abbrev-table): Use it.
9392 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9393 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9394 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9395 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9396 Move initialization into the declaration; and remove any
9397 autoload cookie.
9398
9399 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9400 and dynamic let binding.
9401
9402 * vc/smerge-mode.el: Remove redundant :group args.
9403
9404 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9405 to load-path.
9406
9407 2013-08-28 Juri Linkov <juri@jurta.org>
9408
9409 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9410 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9411 (isearch-other-meta-char): Handle an undefined shifted printing
9412 character by downshifting it. (Bug#15200)
9413
9414 2013-08-28 Juri Linkov <juri@jurta.org>
9415
9416 * isearch.el (isearch-search): Change regexp error message for
9417 non-regexp searches. (Bug#15166)
9418
9419 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9420
9421 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9422 for portability to hosts where /bin/sh has problems.
9423
9424 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9425
9426 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9427
9428 2013-08-27 Juri Linkov <juri@jurta.org>
9429
9430 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9431 in the keyboard macro. (Bug#15126)
9432
9433 2013-08-27 Juri Linkov <juri@jurta.org>
9434
9435 * isearch.el (isearch-quote-char): Comment out converting unibyte
9436 to multibyte, thus syncing with its `quoted-insert' counterpart.
9437 (Bug#15166)
9438
9439 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9440
9441 * window.el (display-buffer-use-some-window): Add missing
9442 argument in call of get-largest-window (Bug#15185).
9443 Reported by Stephen Leake.
9444
9445 2013-08-27 Glenn Morris <rgm@gnu.org>
9446
9447 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9448
9449 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9452 from a matcher-function unless there's no more matches (bug#15161).
9453
9454 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9455
9456 * minibuffer.el: Revert change from 2013-08-20.
9457
9458 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9459 with text property `tramp-default', if appropriate.
9460 (tramp-check-proper-host): New defun.
9461 (tramp-dissect-file-name): Do not check hostname. Revert change
9462 of 2013-03-18.
9463 (tramp-backtrace): Make VEC-OR-PROC optional.
9464
9465 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9466 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9467 * net/tramp-sh.el (tramp-maybe-open-connection):
9468 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9469 Apply `tramp-check-proper-host'.
9470
9471 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9472
9473 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9474 lambda expression in order to have `describe-variable' display it.
9475
9476 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9477
9478 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9479 BUF can be optional. (Bug#15186)
9480
9481 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9482
9483 * progmodes/flymake.el (flymake-get-real-file-name-function):
9484 Fix broken customization. (Bug#15184)
9485
9486 2013-08-25 Alan Mackenzie <acm@muc.de>
9487
9488 Improve indentation of bracelists defined by macros (without "=").
9489
9490 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9491 expansion begins with "{", regard it as bracelist when it doesn't
9492 contain a ";".
9493
9494 Parse C++ inher-intro when there's a template split over 2 lines.
9495
9496 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9497 rigorously the search for "class" etc. followed by ":".
9498
9499 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9500 random languages a regexp which never matches rather than nil.
9501
9502 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9503
9504 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9505 (c-awk-regexp-one-line-possibly-open-char-list-re)
9506 (c-awk-one-line-possibly-open-regexp-re)
9507 (c-awk-one-line-non-syn-ws*-re): Remove.
9508 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9509 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9510 (c-awk-space*-unclosed-regexp-/-re): New constants.
9511 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9512 aren't regexp delimiters.
9513
9514 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9515 handling for a rare situation in AWK Mode involving unterminated
9516 strings/regexps.
9517
9518 2013-08-23 Glenn Morris <rgm@gnu.org>
9519
9520 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9521
9522 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9523
9524 * files.el (create-file-buffer): If the result would begin with
9525 spaces, prepend a "|" instead of removing them. (Bug#15162)
9526
9527 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9530 text-properties (bug#15155).
9531
9532 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9533 exist any more.
9534 (calc-keypad-redraw): Remove unused var `pad'.
9535 (calc-keypad-press): Remove unused var `menu'.
9536
9537 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9538
9539 * window.el (display-buffer-pop-up-frame):
9540 Call pop-up-frame-function with BUFFER current so `make-frame' will
9541 use it as the new frame's buffer (Bug#15133).
9542
9543 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * calendar/timeclock.el: Minor cleanups.
9546 (timeclock-ask-before-exiting, timeclock-use-display-time):
9547 Use `symbol'.
9548 (timeclock-modeline-display): Define as alias before the
9549 actual definition.
9550 (timeclock-mode-line-display): Use define-minor-mode.
9551 (timeclock-day-list-template): Make it a function, add an argument.
9552 (timeclock-day-list-required, timeclock-day-list-length)
9553 (timeclock-day-list-debt, timeclock-day-list-span)
9554 (timeclock-day-list-break): Adjust calls accordingly.
9555
9556 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9559 Use read--expression so that completion works again.
9560
9561 2013-08-21 Sam Steingold <sds@gnu.org>
9562
9563 Add rudimentary inferior shell interaction
9564 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9565 (sh-set-shell): Reset it.
9566 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9567 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9568
9569 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9570
9571 * align.el: Use lexical-binding.
9572 (align-region): Simplify accordingly.
9573
9574 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9575
9576 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9577
9578 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9579 `non-essential' up.
9580
9581 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9582
9583 * net/tramp.el:
9584 * net/tramp-adb.el:
9585 * net/tramp-cmds.el:
9586 * net/tramp-ftp.el:
9587 * net/tramp-gvfs.el:
9588 * net/tramp-gw.el:
9589 * net/tramp-sh.el: Don't wrap external variable declarations by
9590 `eval-when-compile'.
9591
9592 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9593
9594 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9595 now that Emacs supports ImageMagick animations.
9596
9597 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9598
9599 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9600 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9601
9602 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9603
9604 * window.el (mouse-autoselect-window-select): Do autoselect when
9605 mouse pointer is on margin.
9606
9607 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9608
9609 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9610
9611 2013-08-16 Glenn Morris <rgm@gnu.org>
9612
9613 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9614 Handle "Remote Directory" response of some clients. (Bug#15058)
9615
9616 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9617 Tweak warning. (Bug#14926)
9618
9619 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9620 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9621
9622 * image-mode.el (image-mode-map): Add menu items to reverse,
9623 increase, decrease, reset animation speed.
9624 (image--set-speed, image-increase-speed, image-decrease-speed)
9625 (image-reverse-speed, image-reset-speed): New functions.
9626 (image-mode-map): Add bindings for speed commands.
9627
9628 * image.el (image-animate-get-speed, image-animate-set-speed):
9629 New functions.
9630 (image-animate-timeout): Respect image :speed property.
9631
9632 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9635 previous line (bug#15101).
9636 (debugger-eval-expression, debugger-record-expression):
9637 Use read--expression (bug#15102).
9638
9639 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9640
9641 Remove byte compiler warnings, visible when compiling with
9642 `byte-compile-force-lexical-warnings' set to t.
9643
9644 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9645 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9646 (tramp-handle-unhandled-file-name-directory)
9647 (tramp-handle-file-notify-add-watch, tramp-action-login)
9648 (tramp-action-succeed, tramp-action-permission-denied)
9649 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9650 arguments with "_".
9651
9652 * net/tramp-adb.el (tramp-adb-parse-device-names)
9653 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9654 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9655 (tramp-adb-handle-file-truename): Remove unused arguments.
9656
9657 * net/tramp-cache.el (tramp-flush-directory-property)
9658 (tramp-flush-connection-property, tramp-list-connections)
9659 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9660
9661 * net/tramp-compat.el (tramp-compat-make-temp-file):
9662 Rename FILENAME to F.
9663
9664 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9665 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9666 (tramp-zeroconf-parse-workstation-device-names)
9667 (tramp-zeroconf-parse-webdav-device-names)
9668 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9669
9670 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9671 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9672
9673 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9674 arguments.
9675 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9676 (tramp-sh-handle-insert-file-contents-literally)
9677 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9678 with "_".
9679 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9680 Remove unused variables.
9681
9682 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9683 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9684 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9685
9686 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9687 Make them a defconst.
9688 (tramp-uuencode-region): Remove unused variable.
9689
9690 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9691
9692 * frameset.el (frameset--prop-setter): New function.
9693 (frameset-prop): Add gv-setter declaration.
9694 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9695 parameter was already set in FILTERED. Doc fix.
9696 (frameset--record-minibuffer-relationships): Allow saving a
9697 minibufferless frame without its corresponding minibuffer frame.
9698 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9699 frame, if the frame id matches.
9700 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9701 frames before orphaned ones.
9702 (frameset-restore): Warn about orphaned windows, instead of error out.
9703
9704 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9705
9706 * window.el (window-make-atom): Don't overwrite parameter
9707 already present.
9708 (display-buffer-in-atom-window): Handle special case where we
9709 split an already atomic window.
9710 (window--major-non-side-window, display-buffer-in-side-window)
9711 (window--side-check): Ignore minibuffer window when walking
9712 window tree.
9713 (window-deletable-p): Return 'frame only if no other frame uses
9714 our minibuffer window.
9715 (record-window-buffer): Run buffer-list-update-hook.
9716 (split-window): Make sure window--check-frame won't destroy an
9717 existing atomic window in case the new window gets nested
9718 inside.
9719 (display-buffer-at-bottom): Ignore minibuffer window when
9720 walking window tree. Don't split a side window.
9721 (pop-to-buffer): Don't set-buffer here, the select-window call
9722 should do that.
9723 (mouse-autoselect-window-select): Autoselect only if we are in the
9724 text portion of the window.
9725
9726 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9727
9728 * net/shr.el (shr-parse-image-data): New function to grab both the
9729 data itself and the Content-Type.
9730 (shr-put-image): Use it.
9731
9732 * net/eww.el (eww-display-image): Ditto.
9733
9734 * image.el (image-content-type-suffixes): New variable.
9735
9736 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9737
9738 * progmodes/python.el (python-imenu--build-tree)
9739 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9740
9741 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9742
9743 * simple.el (backward-word): Mention the optional argument.
9744
9745 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * frameset.el (frameset--make): Rename constructor from make-frameset.
9748 (frameset-p, frameset-valid-p): Don't autoload.
9749 (frameset-valid-p): Use normal accessors.
9750
9751 2013-08-13 Glenn Morris <rgm@gnu.org>
9752
9753 * progmodes/compile.el (compile-command): Tweak example in doc.
9754 * obsolete/scribe.el (scribe-mode):
9755 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9756
9757 * mail/feedmail.el (feedmail-confirm-outgoing)
9758 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9759
9760 * cus-start.el (truncate-partial-width-windows): Fix type.
9761
9762 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9763
9764 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9765
9766 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * emacs-lisp/timer.el (timer--time-setter): New function.
9769 (timer--time): Use it as gv-setter.
9770
9771 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9772 setter is not a symbol.
9773
9774 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9775
9776 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9777 if sending fails. This makes debugging easier.
9778
9779 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9780
9781 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9782 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9783 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9784
9785 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9786
9787 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9788
9789 2013-08-12 Glenn Morris <rgm@gnu.org>
9790
9791 * format.el (format-annotate-function):
9792 Handle read-only text properties in the source. (Bug#14887)
9793
9794 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9795
9796 * net/eww.el (eww-display-html): Ignore coding system errors.
9797 One web site uses "utf-8lias" as the coding system.
9798
9799 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9800
9801 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9802
9803 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9804
9805 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9806 (tutorial--detailed-help): Remove unused local variables.
9807 (tutorial--save-tutorial-to): Use ignore-errors.
9808 (help-with-tutorial): Use looking-at-p.
9809
9810 * view.el (view-buffer-other-window, view-buffer-other-frame):
9811 Mark unused arguments.
9812
9813 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9814 (woman-select-symbol-fonts, woman, woman-find-file)
9815 (woman-insert-file-contents, woman-non-underline-faces):
9816 Use string-match-p.
9817 (woman1-unquote): Move declaration.
9818
9819 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9820 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9821 argument. Remove unused local variable.
9822 (xml-parse-elem-type): Use string-match-p.
9823 (xml-substitute-numeric-entities): Use ignore-errors.
9824
9825 * calculator.el (calculator): Mark unused argument.
9826 (calculator-paste, calculator-quit, calculator-integer-p):
9827 Use ignore-errors.
9828 (calculator-string-to-number, calculator-decimal, calculator-exp)
9829 (calculator-op-or-exp): Use string-match-p.
9830
9831 * dired.el (dired-buffer-more-recently-used-p): Declare.
9832 (dired-insert-set-properties, dired-insert-old-subdirs):
9833 Use ignore-errors.
9834
9835 * dired-aux.el (dired-compress): Use ignore-errors.
9836 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9837 (dired-do-async-shell-command, dired-do-shell-command)
9838 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9839 (dired-insert-subdir-validate): Use string-match-p.
9840 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9841 (dired-add-entry): Use string-match-p, looking-at-p.
9842 (dired-insert-subdir-newpos): Remove unused local variable.
9843
9844 * filenotify.el (file-notify-callback): Remove unused local variable.
9845
9846 * filesets.el (filesets-error): Mark unused argument.
9847 (filesets-which-command-p, filesets-filter-dir-names)
9848 (filesets-directory-files, filesets-get-external-viewer)
9849 (filesets-ingroup-get-data): Use string-match-p.
9850
9851 * find-file.el (ff-other-file-name, ff-other-file-name)
9852 (ff-find-the-other-file, ff-cc-hh-converter):
9853 Remove unused local variables.
9854 (ff-get-file-name): Use string-match-p.
9855 (ff-all-dirs-under): Use ignore-errors.
9856
9857 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9858 (follow-select-if-visible): Remove unused local variable.
9859
9860 * forms.el (read-file-filter): Move declaration.
9861 (forms--make-format, forms--make-parser, forms-insert-record):
9862 Quote function with #'.
9863 (forms--update): Use string-match-p. Quote function with #'.
9864
9865 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9866 (help-make-xrefs): Use looking-at-p.
9867 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9868
9869 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9870 (ibuffer-confirm-operation-on): Use string-match-p.
9871
9872 * msb.el (msb-item-handler, msb-dired-item-handler):
9873 Mark unused arguments.
9874
9875 * ses.el (ses-decode-cell-symbol)
9876 (ses-kill-override): Remove unused local variable.
9877 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9878 (ses-load): Use ignore-errors, looking-at-p.
9879 (ses-jump-safe): Use ignore-errors.
9880 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9881
9882 * tabify.el (untabify, tabify): Mark unused arguments.
9883
9884 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9885 Mark unused argument.
9886 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9887 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9888
9889 * emacs-lisp/timer.el (timer--time): Define setter with
9890 gv-define-setter to avoid deprecation warning.
9891
9892 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9893 (*record-cmpl-statistics-p*): Remove (was commented out).
9894 (cmpl-statistics-block): Remove (body was commented out).
9895 All callers changed.
9896 (add-completions-from-buffer, load-completions-from-file):
9897 Remove unused variables.
9898
9899 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9900
9901 * filecache.el (file-cache-delete-file-list):
9902 Print message only when told so.
9903 (file-cache-files-matching): Use #' in mapconcat argument.
9904
9905 * ffap.el (ffap-url-at-point): Fix reference to variable
9906 thing-at-point-default-mail-uri-scheme.
9907
9908 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * subr.el (define-error): New function.
9911 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9912 error-file-not-found and define with define-error.
9913 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9914 and define with define-error.
9915 * userlock.el (file-locked, file-supersession):
9916 * simple.el (mark-inactive):
9917 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9918 * progmodes/ada-mode.el (ada-mode-errors):
9919 * play/life.el (life-extinct):
9920 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9921 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9922 * nxml/rng-util.el (rng-error):
9923 * nxml/rng-uri.el (rng-uri-error):
9924 * nxml/rng-match.el (rng-compile-error):
9925 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9926 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9927 * nxml/nxml-rap.el (nxml-scan-error):
9928 * nxml/nxml-outln.el (nxml-outline-error):
9929 * net/soap-client.el (soap-error):
9930 * net/gnutls.el (gnutls-error):
9931 * net/ange-ftp.el (ftp-error):
9932 * mpc.el (mpc-proc-error):
9933 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9934 (json-number-format, json-string-escape, json-string-format)
9935 (json-key-format, json-object-format):
9936 * jka-compr.el (compression-error):
9937 * international/quail.el (quail-error):
9938 * international/kkc.el (kkc-error):
9939 * emacs-lisp/ert.el (ert-test-failed):
9940 * calc/calc.el (calc-error, inexact-result, math-overflow)
9941 (math-underflow):
9942 * bookmark.el (bookmark-error-no-filename):
9943 * epg.el (epg-error): Define with define-error.
9944
9945 * time.el (display-time-event-handler)
9946 (display-time-next-load-average): Don't call sit-for since it seems
9947 unnecessary (bug#15045).
9948
9949 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9950 Use #' instead of ' to quote functions.
9951 (checkdoc-output-mode): Use setq-local.
9952 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9953 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9954 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9955 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9956 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9957 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9958 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9959 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9960
9961 * ido.el (ido-completion-help): Fix up compiler warning.
9962
9963 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9964
9965 * frameset.el (frameset-p): Add autoload cookie.
9966 (frameset--jump-to-register): New function, based on code moved from
9967 register.el.
9968 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9969
9970 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9971 (frameset-restore, frameset-save, frameset-session-filter-alist):
9972 Remove declarations.
9973 (register-alist): Doc fix.
9974 (frameset-to-register): Move to frameset.el.
9975 (jump-to-register, describe-register-1): Remove frameset-specific code.
9976
9977 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9978
9979 * allout-widgets.el (allout-widgets-pre-command-business)
9980 (allout-widgets-post-command-business)
9981 (allout-widgets-after-change-handler)
9982 (allout-decorate-item-and-context, allout-set-boundary-marker)
9983 (allout-body-modification-handler)
9984 (allout-graphics-modification-handler): Mark ignored arguments.
9985 (allout-widgets-post-command-business)
9986 (allout-widgets-exposure-change-processor)
9987 (allout-widgets-exposure-undo-processor)
9988 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9989 (allout-parse-item-at-point, allout-decorate-item-guides)
9990 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9991 * allout.el (epa-passphrase-callback-function): Declare.
9992 (allout-overlay-insert-in-front-handler)
9993 (allout-overlay-interior-modification-handler)
9994 (allout-isearch-end-handler, allout-chart-siblings)
9995 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9996 (allout-yank-processing, allout-process-exposed)
9997 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9998 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9999 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10000 (lisp-indent-defform): Mark ignored arguments.
10001 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10002 (calculate-lisp-indent): Remove unused variables.
10003 * international/characters.el (indian-2-column, arabic-2-column)
10004 (tibetan): Mark ignored arguments.
10005 (use-cjk-char-width-table): Mark ignored arguments.
10006 Remove unused variables.
10007 * international/fontset.el (build-default-fontset-data)
10008 (x-compose-font-name, create-fontset-from-fontset-spec):
10009 Mark ignored arguments.
10010 (fontset-plain-name): Remove unused variables.
10011 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10012 (keyboard-coding-system): Mark ignored arguments.
10013 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10014 * help.el (resize-temp-buffer-window):
10015 * window.el (display-buffer-in-major-side-window)
10016 (display-buffer-in-side-window, display-buffer-in-previous-window):
10017 Remove unused variables.
10018 * isearch.el (isearch-forward-symbol):
10019 * version.el (emacs-bzr-version-bzr):
10020 * international/mule-cmds.el (current-language-environment):
10021 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10022 (x-handle-display):
10023 * term/pc-win.el (x-list-fonts, x-display-planes)
10024 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10025 (x-server-version, x-display-screens, x-display-mm-height)
10026 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10027 (x-selection-owner-p, x-own-selection-internal)
10028 (x-disown-selection-internal, x-get-selection-internal)
10029 (msdos-initialize-window-system):
10030 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10031 * term/x-win.el (x-handle-no-bitmap-icon):
10032 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10033 (vc-default-find-file-hook, vc-default-extra-menu):
10034 Mark ignored arguments.
10035
10036 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10037
10038 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10039 break-condition in the context of the debugged code (bug#12685).
10040
10041 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10042
10043 * comint.el:
10044 Do not use an overlay to highlight the last prompt. (Bug#14744)
10045 (comint-mode): Make comint-last-prompt buffer local.
10046 (comint-last-prompt): New variable.
10047 (comint-last-prompt-overlay): Remove. Superseded by
10048 comint-last-prompt.
10049 (comint-snapshot-last-prompt, comint-output-filter):
10050 Use comint-last-prompt.
10051
10052 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10053
10054 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10055 (frameset-save): Check validity of the resulting frameset.
10056
10057 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10058
10059 * ido.el (ido-record-command): Add doc string.
10060
10061 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10062
10063 * frameset.el (frameset): Do not disable creation of the default
10064 frameset-p predicate. Doc fix.
10065 (frameset-valid-p): New function, copied from the old predicate-p.
10066 Add additional checks.
10067 (frameset-restore): Check with frameset-valid-p.
10068 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10069 (frameset-name, frameset-description, frameset-properties)
10070 (frameset-states): Add docstring.
10071 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10072 (frameset-filter-alist): Doc fixes.
10073
10074 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10075
10076 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10077
10078 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10079
10080 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10081 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10082 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10083 (byte-compile-normal-call): Remove obsolescence check.
10084
10085 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10086
10087 * frameset.el (frameset-restore): Doc fix.
10088
10089 * register.el (frameset-frame-id, frameset-frame-with-id)
10090 (frameset-p, frameset-restore, frameset-save): Declare.
10091 (register-alist): Document framesets.
10092 (frameset-session-filter-alist): Declare.
10093 (frameset-to-register): New function.
10094 (jump-to-register): Implement jumping to framesets. Doc fix.
10095 (describe-register-1): Describe framesets.
10096
10097 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10098
10099 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10100
10101 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10102 Use lexical-binding.
10103
10104 * frameset.el (frameset): Use type vector, not list (incompatible
10105 change). Do not declare a new constructor, use the default one.
10106 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10107 `name' and `description', respectively, and add read-only slot
10108 `timestamp'. Doc fixes.
10109 (frameset-copy, frameset-persistent-filter-alist)
10110 (frameset-filter-alist, frameset-switch-to-gui-p)
10111 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10112 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10113 (frameset-filter-iconified, frameset-keep-original-display-p):
10114 Doc fixes.
10115 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10116 Rename from frameset-filter-(save|restore)-param. All callers changed.
10117 Doc fix.
10118 (frameset-p): Adapt to change to vector and be more thorough.
10119 Change arg name to OBJECT. Doc fix.
10120 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10121 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10122 All callers changed.
10123 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10124 All callers changed.
10125 (frameset--record-minibuffer-relationships): Rename from
10126 frameset--process-minibuffer-frames. All callers changed.
10127 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10128 Use new default constructor (again). Doc fix.
10129 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10130 All callers changed.
10131 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10132 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10133 Doc fix.
10134 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10135 PARAMETERS and WINDOW-STATE, respectively.
10136 (frameset-restore): Add new keyword argument PREDICATE.
10137 Reset frameset--target-display to nil. Doc fix.
10138
10139 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10140
10141 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10142 (bat-mode): Use it.
10143 (bat-mode-syntax-table): Mark \n as end-of-comment.
10144 (bat-font-lock-keywords): Remove comment rule.
10145
10146 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10147 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10148
10149 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10150 (byte-compile-callargs-warn): Use `push'.
10151 (byte-compile-arglist-warn): Ignore higher-order "calls".
10152 (byte-compile-file-form-autoload): Use `pcase'.
10153 (byte-compile-function-form): If quoting a symbol, check that it exists.
10154
10155 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10156
10157 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10158 and add a few popular commands found in batch files.
10159 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10160 (dos-mode): Doc fixes.
10161
10162 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10163
10164 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10165 (dos-mode): Use setq-local. Add space after "rem".
10166 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10167 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10168
10169 2013-08-07 Arni Magnusson <arnima@hafro.is>
10170
10171 * progmodes/dos.el: New file.
10172 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10173 dos-mode.
10174
10175 2013-08-06 Glenn Morris <rgm@gnu.org>
10176
10177 * calendar/calendar.el: Add new faces, and day-header-array.
10178 (calendar-weekday-header, calendar-weekend-header)
10179 (calendar-month-header): New faces.
10180 (calendar-day-header-construct): New function.
10181 (calendar-day-header-width): Also :set calendar-day-header-array.
10182 (calendar-american-month-header, calendar-european-month-header)
10183 (calendar-iso-month-header): Use calendar- faces.
10184 (calendar-generate-month):
10185 Use calendar-day-header-array for day headers; apply faces to them.
10186 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10187 (calendar-abbrev-construct): Add optional maxlen argument.
10188 (calendar-day-name-array): Doc fix.
10189 (calendar-day-name-array, calendar-abbrev-length)
10190 (calendar-day-abbrev-array):
10191 Also :set calendar-day-header-array, and maybe redraw.
10192 (calendar-day-header-array): New option. (Bug#15007)
10193 (calendar-font-lock-keywords): Set to nil and make obsolete.
10194 (calendar-day-name): Add option to use header array.
10195
10196 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10197
10198 * net/shr.el (shr-render-td): Remove debugging.
10199 (shr-render-td): Make width computation consistent by defaulting
10200 all zero-width columns to 10 characters. This may not be optimal,
10201 but it's at least consistent.
10202 (shr-make-table-1): Redo last change to fix the real problem in
10203 colspan handling.
10204
10205 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10206
10207 * files.el (cache-long-line-scans):
10208 Make obsolete alias to `cache-long-scans'.
10209
10210 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10211
10212 * frameset.el (frameset, frameset-filter-alist)
10213 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10214 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10215 (frameset-compute-pos): Rename from frameset--compute-pos,
10216 and add docstring.
10217 (frameset-move-onscreen): Use frameset-compute-pos.
10218 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10219
10220 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10221 Fix typos in docstrings.
10222
10223 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10224
10225 * frame.el (get-other-frame): Tiny cleanup.
10226
10227 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10228
10229 * vc/vc.el (vc-default-ignore-completion-table):
10230 Silence byte-compiler warning.
10231
10232 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10233 slot, which can indeed be nil.
10234 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10235 Move entry for `left' from persistent to live filter alist.
10236 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10237 Doc fixes.
10238 (frameset-filter-params): When restoring a frame, copy items added to
10239 `filtered', to avoid unwittingly modifying the original parameters.
10240 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10241 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10242
10243 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10244 to use looking-at-p instead of looking-at. (Bug#15028)
10245
10246 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 Revert introduction of isearch-filter-predicates (bug#14714).
10249 Rely on add-function instead.
10250 * isearch.el (isearch-filter-predicates): Rename it back to
10251 isearch-filter-predicate.
10252 (isearch-message-prefix): Use advice-function-mapc and advice
10253 properties to get the isearch-message-prefix.
10254 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10255 instead of run-hook-with-args-until-failure.
10256 (isearch-filter-visible): Not obsolete any more.
10257 * loadup.el: Preload nadvice.
10258 * replace.el (perform-replace): Revert to funcall
10259 instead of run-hook-with-args-until-failure.
10260 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10261 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10262 dired-isearch-filenames-toggle; make it into a proper minor mode.
10263 Use add/remove-function.
10264 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10265 Call the minor-mode rather than add/remove-hook.
10266 (dired-isearch-filter-filenames):
10267 Remove isearch-message-prefix property.
10268 * info.el (Info--search-loop): New function, extracted from Info-search.
10269 Funcall isearch-filter-predicate instead of
10270 run-hook-with-args-until-failure isearch-filter-predicates.
10271 (Info-search): Use it.
10272 (Info-mode): Use isearch-filter-predicate instead of
10273 isearch-filter-predicates.
10274
10275 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10276
10277 Do not call to `selected-window' where it is assumed by default.
10278 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10279 `window-hscroll', `window-width', `window-height', `window-buffer',
10280 `window-frame', `window-start', `window-point', `next-window'
10281 and `window-display-table'.
10282 * abbrev.el (abbrev--default-expand):
10283 * bs.el (bs--show-with-configuration):
10284 * buff-menu.el (Buffer-menu-mouse-select):
10285 * calc/calc.el (calc):
10286 * calendar/calendar.el (calendar-generate-window):
10287 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10288 (diary-make-entry):
10289 * comint.el (send-invisible, comint-dynamic-complete-filename)
10290 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10291 * completion.el (complete):
10292 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10293 * disp-table.el (describe-current-display-table):
10294 * doc-view.el (doc-view-insert-image):
10295 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10296 * ehelp.el (with-electric-help):
10297 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10298 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10299 * emacs-lisp/helper.el (Helper-help-scroller):
10300 * emulation/cua-base.el (cua--post-command-handler-1):
10301 * eshell/esh-mode.el (eshell-output-filter):
10302 * ffap.el (ffap-gnus-wrapper):
10303 * help-macro.el (make-help-screen):
10304 * hilit-chg.el (highlight-compare-buffers):
10305 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10306 * hl-line.el (global-hl-line-highlight):
10307 * icomplete.el (icomplete-simple-completing-p):
10308 * isearch.el (isearch-done):
10309 * jit-lock.el (jit-lock-stealth-fontify):
10310 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10311 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10312 * mpc.el (mpc-tagbrowser, mpc):
10313 * net/rcirc.el (rcirc-any-buffer):
10314 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10315 * play/landmark.el (landmark-max-width, landmark-max-height):
10316 * play/zone.el (zone):
10317 * progmodes/compile.el (compilation-goto-locus):
10318 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10319 * progmodes/etags.el (find-tag-other-window):
10320 * progmodes/fortran.el (fortran-column-ruler):
10321 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10322 * progmodes/verilog-mode.el (verilog-point-text):
10323 * reposition.el (reposition-window):
10324 * rot13.el (toggle-rot13-mode):
10325 * server.el (server-switch-buffer):
10326 * shell.el (shell-dynamic-complete-command)
10327 (shell-dynamic-complete-environment-variable):
10328 * simple.el (insert-buffer, set-selective-display)
10329 (delete-completion-window):
10330 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10331 (speedbar-recenter):
10332 * startup.el (fancy-splash-head):
10333 * textmodes/ispell.el (ispell-command-loop):
10334 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10335 * tutorial.el (help-with-tutorial):
10336 * vc/add-log.el (add-change-log-entry):
10337 * vc/compare-w.el (compare-windows):
10338 * vc/ediff-help.el (ediff-indent-help-message):
10339 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10340 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10341 (ediff-setup-control-frame):
10342 * vc/emerge.el (emerge-position-region):
10343 * vc/pcvs-util.el (cvs-bury-buffer):
10344 * window.el (walk-windows, mouse-autoselect-window-select):
10345 * winner.el (winner-set-conf, winner-undo): Related users changed.
10346
10347 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10348
10349 * frameset.el (frameset--set-id): Doc fix.
10350 (frameset-frame-id, frameset-frame-id-equal-p)
10351 (frameset-locate-frame-id): New functions.
10352 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10353 (frameset-restore): Use them.
10354
10355 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10356
10357 Do not call to `selected-frame' where it is assumed by default.
10358 Affected functions are `raise-frame', `redraw-frame',
10359 `frame-first-window', `frame-terminal' and `delete-frame'.
10360 * calendar/appt.el (appt-disp-window):
10361 * epg.el (epg-wait-for-completion):
10362 * follow.el (follow-delete-other-windows-and-split)
10363 (follow-avoid-tail-recenter):
10364 * international/mule.el (set-terminal-coding-system):
10365 * mail/rmail.el (rmail-mail-return):
10366 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10367 * progmodes/f90.el (f90-add-imenu-menu):
10368 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10369 * server.el (server-switch-buffer):
10370 * simple.el (delete-completion-window):
10371 * talk.el (talk):
10372 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10373 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10374 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10375 * vc/ediff.el (ediff-documentation): Related users changed.
10376 * frame.el (selected-terminal): Remove the leftover.
10377
10378 2013-08-05 Glenn Morris <rgm@gnu.org>
10379
10380 * calendar/calendar.el (calendar-generate-month):
10381 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10382 (calendar-generate-month, calendar-font-lock-keywords):
10383 Fix for calendar-day-header-width > length of any day name.
10384
10385 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10386
10387 * desktop.el (desktop-clear): Use new name of sort predicate.
10388
10389 * frameset.el (frameset): Add docstring. Move :version property to its
10390 own `version' slot.
10391 (frameset-copy): Rename from copy-frameset.
10392 (frameset-p): Check more thoroughly.
10393 (frameset-prop): Do not check for :version, which is no longer a prop.
10394 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10395 Use new :never value instead of t.
10396 (frameset-filter-alist): Expand and clarify docstring.
10397 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10398 (frameset-filter-minibuffer, frameset-filter-save-param)
10399 (frameset-filter-restore-param, frameset-filter-iconified):
10400 Add pointer to docstring of frameset-filter-alist.
10401 (frameset-filter-params): Rename filter values to be more meaningful:
10402 :never instead of t, and reverse the meanings of :save and :restore.
10403 (frameset--process-minibuffer-frames): Clarify error message.
10404 (frameset-save): Avoid unnecessary and confusing call to framep.
10405 Use new BOA constructor for framesets.
10406 (frameset--reuse-list): Doc fix.
10407 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10408 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10409 (frameset-minibufferless-first-p): Doc fix.
10410 Rename from frameset-sort-frames-for-deletion.
10411 (frameset-restore): Doc fixes. Use new function names.
10412 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10413
10414 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10415
10416 * desktop.el (desktop-restore-forces-onscreen)
10417 (desktop-restore-reuses-frames): Document :keyword constant values.
10418 (desktop-filter-parameters-alist): Remove, now identical to
10419 frameset-filter-alist.
10420 (desktop--filter-tty*): Remove, moved to frameset.el.
10421 (desktop-save-frameset, desktop-restore-frameset):
10422 Do not pass :filters argument.
10423
10424 * frameset.el (frameset-live-filter-alist)
10425 (frameset-persistent-filter-alist): New variables.
10426 (frameset-filter-alist): Use them. Add autoload cookie.
10427 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10428 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10429 `frameset--id' (it's supposed to be internal to frameset.el).
10430 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10431 (frameset--initial-params): New function.
10432 (frameset--get-frame): Use it. Doc fix.
10433 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10434 Accept :all, not 'all.
10435 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10436 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10437 with fbound symbols. Fix frame id matching, and remove matching ids if
10438 the frame being restored is deleted. Obey :delete.
10439
10440 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * subr.el (macrop): New function.
10443 (text-clone--maintaining): New var.
10444 (text-clone--maintain): Rename from text-clone-maintain. Use it
10445 instead of inhibit-modification-hooks.
10446
10447 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10448 a proxy, so as handle autoloads and redefinitions of the target.
10449 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10450
10451 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10452 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10453 (pcase--mutually-exclusive-p): New function.
10454 (pcase--split-consp): Use it.
10455 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10456 mutually exclusive with the current predicate.
10457
10458 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10459 (edebug-macrop): Remove. Use `macrop' instead.
10460 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10461 (ad-macro-p):
10462 * eshell/esh-cmd.el (eshell-macrop):
10463 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10464
10465 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10468 (advice-mapc): New function, using it.
10469 (advice-function-member-p): New function.
10470 (advice--normalize): Store the cdr in advice--saved-rewrite since
10471 that's the part that will be changed.
10472 (advice--symbol-function): New function.
10473 (advice-remove): Handle removal before the function is defined.
10474 Adjust to new advice--saved-rewrite.
10475 (advice-member-p): Use advice-function-member-p and
10476 advice--symbol-function.
10477
10478 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10479
10480 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10481 (frameset-filter-minibuffer): Doc fix.
10482 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10483 (frameset--set-id, frameset--process-minibuffer-frames)
10484 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10485 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10486
10487 * desktop.el (desktop-clear): Only delete frames when called
10488 interactively and desktop-restore-frames is non-nil. Doc fix.
10489 (desktop-read): Set desktop-saved-frameset to nil.
10490
10491 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10492
10493 * vc/vc.el (vc-ignore): Rewrite.
10494 (vc-default-ignore-completion-table, vc--read-lines)
10495 (vc--add-line, vc--remove-regexp): New functions.
10496
10497 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10498 (vc-svn-ignore-completion-table): New function.
10499
10500 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10501 (vc-hg-ignore-completion-table)
10502 (vc-hg-find-ignore-file): New functions.
10503
10504 * vc/vc-git.el (vc-git-ignore): Rewrite.
10505 (vc-git-ignore-completion-table)
10506 (vc-git-find-ignore-file): New functions.
10507
10508 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10509
10510 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10511 (vc-bzr-ignore-completion-table)
10512 (vc-bzr-find-ignore-file): New functions.
10513
10514 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10515
10516 * frameset.el (frameset-prop): New function and setter.
10517 (frameset-save): Do not modify frame list passed by the caller.
10518
10519 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10520
10521 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10522
10523 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10526 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10527
10528 * custom.el (custom-initialize-default, custom-initialize-set)
10529 (custom-initialize-reset, custom-initialize-changed): Affect the
10530 toplevel-default-value (bug#6275, bug#14586).
10531 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10532 for bug#6275.
10533
10534 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10535
10536 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10537 Add cl-def* expressions.
10538
10539 * frameset.el (frameset-filter-params): Fix order of arguments.
10540
10541 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10542
10543 Move code related to saving frames to frameset.el.
10544 * desktop.el: Require frameset.
10545 (desktop-restore-frames): Doc fix.
10546 (desktop-restore-reuses-frames): Rename from
10547 desktop-restoring-reuses-frames.
10548 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10549 (desktop-clear): Clear frames too.
10550 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10551 (desktop--filter-tty*, desktop-save, desktop-read):
10552 Use frameset functions.
10553 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10554 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10555 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10556 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10557 (desktop--process-minibuffer-frames, desktop-save-frames)
10558 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10559 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10560 (desktop--sort-states, desktop-restoring-frames-p)
10561 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10562 (desktop-restoring-frameset-p, desktop-restore-frameset)
10563 (desktop--check-dont-save, desktop-save-frameset): New functions.
10564 (desktop--app-id): New constant.
10565 (desktop-first-buffer, desktop-buffer-ok-count)
10566 (desktop-buffer-fail-count): Move before first use.
10567 * frameset.el: New file.
10568
10569 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10570
10571 * files.el: Use lexical-binding.
10572 (dir-locals-read-from-file): Remove unused `err' variable.
10573 (hack-dir-local-variables--warned-coding): New var.
10574 (hack-dir-local-variables): Use it to avoid repeated warnings.
10575 (make-backup-file-name--default-function): New function.
10576 (make-backup-file-name-function): Use it as default.
10577 (buffer-stale--default-function): New function.
10578 (buffer-stale-function): Use it as default.
10579 (revert-buffer-insert-file-contents--default-function): New function.
10580 (revert-buffer-insert-file-contents-function): Use it as default.
10581 (insert-directory): Avoid add-to-list.
10582
10583 * autorevert.el (auto-revert-handler): Simplify.
10584 Use buffer-stale--default-function.
10585
10586 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10587
10588 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10589
10590 * whitespace.el (whitespace-ensure-local-variables): New function.
10591 (whitespace-cleanup-region): Call it.
10592 (whitespace-turn-on): Call it.
10593
10594 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10595
10596 Complete file name handlers.
10597
10598 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10599 (tramp-handle-verify-visited-file-modtime)
10600 (tramp-handle-file-notify-rm-watch): New functions.
10601 (tramp-call-process): Do not bind `default-directory'.
10602
10603 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10604 Order alphabetically.
10605 <access-file, add-name-to-file, dired-call-process>:
10606 <dired-compress-file, file-acl, file-notify-rm-watch>:
10607 <file-ownership-preserved-p, file-selinux-context>:
10608 <make-directory-internal, make-symbolic-link, set-file-acl>:
10609 <set-file-selinux-context, set-visited-file-modtime>:
10610 <verify-visited-file-modtime>: Add handler.
10611 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10612
10613 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10614 <file-notify-add-watch, file-notify-rm-watch>:
10615 <set-file-times, set-visited-file-modtime>:
10616 <verify-visited-file-modtime>: Add handler.
10617 (with-tramp-gvfs-error-message)
10618 (tramp-gvfs-handle-set-visited-file-modtime)
10619 (tramp-gvfs-fuse-file-name): Remove.
10620 (tramp-gvfs-handle-file-notify-add-watch)
10621 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10622 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10623
10624 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10625 Order alphabetically.
10626 <file-notify-rm-watch>: Use default Tramp handler.
10627 <executable-find>: Remove private handler.
10628 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10629 `default-directory'.
10630 (tramp-sh-handle-executable-find)
10631 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10632 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10633 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10634 Do not use `format' in `tramp-message'.
10635
10636 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10637 <file-notify-rm-watch, set-visited-file-modtime>:
10638 <verify-visited-file-modtime>: Add handler.
10639 (tramp-smb-call-winexe): Do not bind `default-directory'.
10640
10641 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10642
10643 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10644
10645 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10646
10647 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10648 use it.
10649 (log-view-diff-changeset): Same.
10650 (log-view-diff-common): Call backend command `previous-revision'
10651 to find out the previous revision, in both cases. Swap the
10652 variables `to' and `fr', so that `fr' usually refers to the
10653 earlier revision (Bug#14989).
10654
10655 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10656
10657 * ibuf-ext.el (ibuffer-filter-by-filename):
10658 Make it work with dired buffers too.
10659
10660 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10661
10662 * emacs-lisp/re-builder.el (reb-color-display-p):
10663 * files.el (save-buffers-kill-terminal):
10664 * net/browse-url.el (browse-url):
10665 * server.el (server-save-buffers-kill-terminal):
10666 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10667 Prefer nil to selected-frame for the first arg of frame-parameter.
10668
10669 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10670
10671 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10672
10673 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10674
10675 * minibuffer.el (completion--twq-all): Try and preserve each
10676 completion's case choice (bug#14907).
10677
10678 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10679
10680 * net/network-stream.el (open-network-stream): Mention the new
10681 :nogreeting parameter.
10682 (network-stream-open-starttls): Use the :nogreeting parameter
10683 (bug#14938).
10684
10685 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10686
10687 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10688 more natural than popping.
10689
10690 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10691 (shr-urlify): Highlight under mouse.
10692
10693 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10694
10695 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10696
10697 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10698
10699 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10700 buffer for output.
10701
10702 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10703 point-min==1. Fix search string. Fix parentheses missing.
10704
10705 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10706 assume point-min==1. Fix search string. Fix parentheses missing.
10707
10708 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10709
10710 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10711 buffer for output.
10712
10713 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10714
10715 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10716 initial frame is minibuffer-less. (Bug#14841)
10717
10718 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10719
10720 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10721 option.
10722
10723 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10724 (tramp-maybe-open-connection): Use it.
10725
10726 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10727
10728 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10729 minimal set of parameters passed when creating a frame, because
10730 the minibuffer status of a frame cannot be changed later.
10731
10732 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10733
10734 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10735 replace-regexp-in-string and inadvertent omissions in previous change.
10736 (todo-filter-items): Ensure only file names are comma-separated in
10737 name of filtered items buffer.
10738
10739 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10740
10741 * desktop.el: Optionally force offscreen frames back onscreen.
10742 (desktop-restoring-reuses-frames): New option.
10743 (desktop--compute-pos, desktop--move-onscreen): New functions.
10744 (desktop--make-frame): Use desktop--move-onscreen.
10745
10746 2013-07-27 Alan Mackenzie <acm@muc.de>
10747
10748 Fontify a Java generic method as a function.
10749 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10750 value to t.
10751
10752 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10753
10754 * calendar/todo-mode.el: Add command to rename todo files.
10755 (todo-rename-file): New command.
10756 (todo-key-bindings-t): Add key binding for it. Change the
10757 bindings of todo-filter-regexp-items(-multifile) to use `x'
10758 instead of `r', since the latter is better suited to the new
10759 renaming command.
10760
10761 2013-07-27 Alan Mackenzie <acm@muc.de>
10762
10763 Make Java try-with-resources statement parse properly.
10764 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10765 (c-block-stmt-1-2-key): New language constants/variables.
10766 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10767 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10768 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10769 with c-block-stmt-1-2-key.
10770
10771 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10772
10773 * desktop.el (desktop--make-frame): Apply most frame parameters after
10774 creating the frame to force (partially or totally) offscreen frames to
10775 be restored as such.
10776
10777 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10778
10779 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10780 (Bug#14948)
10781
10782 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10785 `base' arg of backtrace-frame.
10786
10787 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10788
10789 * simple.el (list-processes): Doc fix.
10790
10791 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10792
10793 * desktop.el (desktop--select-frame):
10794 Try harder to reuse existing frames.
10795
10796 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10799 (edebug-eval): Use backtrace-eval.
10800 (edebug--display, edebug--recursive-edit): Don't let-bind the
10801 edebug-outer-* vars that keep track of variables we locally let-bind.
10802 (edebug-outside-excursion): Don't restore outside values of locally
10803 let-bound vars.
10804 (edebug--display): Use user-error.
10805 (cl-lexical-debug, cl-debug-env): Remove.
10806
10807 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10808
10809 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10810 are restored to be sure that they are visible before deleting any
10811 remaining ones.
10812
10813 2013-07-26 Matthias Meulien <orontee@gmail.com>
10814
10815 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10816 vc-print-root-log. (Bug#14948)
10817
10818 2013-07-26 Richard Stallman <rms@gnu.org>
10819
10820 Add aliases for encrypting mail.
10821 * epa.el (epa-mail-aliases): New option.
10822 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10823 Bind inhibit-read-only so read-only text doesn't ruin everything.
10824 (epa-mail-default-recipients): New subroutine broken out.
10825 Handle epa-mail-aliases.
10826
10827 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10828
10829 Add support for lexical variables to the debugger's `e' command.
10830 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10831 vars, except for debugger-outer-match-data.
10832 (debugger-frame-number): Move check for "on a function call" from
10833 callers into it. Add `skip-base' argument.
10834 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10835 (debugger-env-macro): Only reset the state stored in non-variables,
10836 i.e. current-buffer and match-data.
10837 (debugger-eval-expression): Rewrite using backtrace-eval.
10838 * subr.el (internal--called-interactively-p--get-frame): Remove.
10839 (called-interactively-p):
10840 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10841 `base' arg of backtrace-frame instead.
10842
10843 2013-07-26 Glenn Morris <rgm@gnu.org>
10844
10845 * align.el (align-regexp): Doc fix. (Bug#14857)
10846 (align-region): Explicit error if subexpression missing/does not match.
10847
10848 * simple.el (global-visual-line-mode):
10849 Do not duplicate the mode lighter. (Bug#14858)
10850
10851 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10852
10853 * window.el (display-buffer): In display-buffer bind
10854 split-window-keep-point to t, bug#14829.
10855
10856 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10857
10858 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10859 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10860 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10861 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10862 Change accordingly.
10863 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10864 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10865
10866 2013-07-25 Glenn Morris <rgm@gnu.org>
10867
10868 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10869
10870 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10871
10872 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10873 parameter to modify-frame-parameters if the value has not changed;
10874 this is a workaround for bug#14949.
10875 (desktop--make-frame): On cl-delete-if call, check parameter name,
10876 not full parameter.
10877
10878 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10879
10880 * vc/vc.el (vc-ignore): New function.
10881
10882 * vc/vc-svn.el (vc-svn-ignore): New function.
10883
10884 * vc/vc-hg.el (vc-hg-ignore): New function.
10885
10886 * vc/vc-git.el (vc-git-ignore): New function.
10887
10888 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10889 (vc-dir-ignore): New function.
10890
10891 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10892 (cvs-append-to-ignore): Move here from pcvs.el.
10893
10894 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10895
10896 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10897
10898 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10899
10900 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10901 (desktop-restore-frames): Warn when deleting an existing frame failed.
10902
10903 2013-07-24 Glenn Morris <rgm@gnu.org>
10904
10905 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10906
10907 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10908
10909 * filenotify.el (file-notify-supported-p):
10910 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10911 Remove functions.
10912
10913 * autorevert.el (auto-revert-use-notify)
10914 (auto-revert-notify-add-watch):
10915 * net/tramp.el (tramp-file-name-for-operation):
10916 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10917 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10918 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10919 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10920 Remove `file-notify-supported-p' entry.
10921
10922 2013-07-24 Glenn Morris <rgm@gnu.org>
10923
10924 * printing.el: Replace all uses of deleted ps-windows-system,
10925 ps-lp-system, ps-flatten-list with lpr- versions.
10926
10927 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10930 checked with memq (bug#14935).
10931
10932 * files.el (revert-buffer-function): Use a non-nil default.
10933 (revert-buffer-preserve-modes): Declare var to
10934 provide access to the `preserve-modes' argument.
10935 (revert-buffer): Let-bind it.
10936 (revert-buffer--default): New function, extracted from revert-buffer.
10937
10938 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 * lpr.el: Signal print errors more prominently.
10941 (print-region-function): Don't default to nil.
10942 (lpr-print-region): New function, extracted from print-region-1.
10943 Check lpr's return value and signal an error in case of problem.
10944 (print-region-1): Use it.
10945 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10946 versions instead.
10947 (ps-printer-name): Default to nil.
10948 (ps-printer-name-option): Default to lpr-printer-switch.
10949 (ps-print-region-function): Don't default to nil.
10950 (ps-postscript-code-directory): Simplify default.
10951 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10952 (ps-string-list, ps-eval-switch, ps-flatten-list)
10953 (ps-flatten-list-1): Remove.
10954 (ps-multibyte-buffer): Avoid setq.
10955 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10956 (print-region-function, ps-print-region-function): Don't set them here.
10957
10958 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10959
10960 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10961 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10962 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10963 (ido-decorations): Doc fix.
10964
10965 * ansi-color.el: Fix old URL.
10966
10967 2013-07-23 Michael R. Mauger <michael@mauger.com>
10968
10969 * progmodes/sql.el: Version 3.3
10970 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10971 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10972 (sql-interactive-remove-continuation-prompt): Rewrite, use
10973 functions above. Fix continuation prompt and complete output line
10974 handling.
10975 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10976 redirected output buffer.
10977 (sql-mode): Restore deleted code (Bug#13591).
10978
10979 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10980
10981 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10982
10983 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10984
10985 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10986
10987 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10988 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10989 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10990
10991 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10992
10993 * desktop.el (desktop-clear): Simplify; remove useless checks
10994 against invalid buffer names.
10995 (desktop-list*): Use cl-list*.
10996 (desktop-buffer-info, desktop-create-buffer): Simplify.
10997
10998 2013-07-23 Leo Liu <sdl.web@gmail.com>
10999
11000 * bookmark.el (bookmark-make-record): Restore NAME as a default
11001 value. (Bug#14933)
11002
11003 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11004
11005 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11006 extracted from autoload--insert-text.
11007 (autoload--insert-text): Remove.
11008 (autoload--print-cookie-text): New function, extracted from
11009 autoload--insert-cookie-text.
11010 (autoload--insert-cookie-text): Remove.
11011 (autoload-generate-file-autoloads): Adjust calls accordingly.
11012
11013 * winner.el (winner-hook-installed-p): Remove.
11014 (winner-mode): Simplify accordingly.
11015
11016 * subr.el (add-to-list): Fix compiler-macro when `append' is
11017 not constant. Don't use `cl-member' for the base case.
11018
11019 * progmodes/subword.el: Fix boundary case (bug#13758).
11020 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11021 own group.
11022 (subword-backward-regexp): Make it a constant.
11023 (subword-forward-internal): Don't treat a trailing capital as the
11024 beginning of a word.
11025
11026 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11027
11028 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11029 global value of tabulated-list-revert-hook (bug#14930).
11030
11031 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11032
11033 * desktop.el: Require 'cl-lib.
11034 (desktop-before-saving-frames-functions): New hook.
11035 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11036 for frames being saved. Rename from desktop--save-minibuffer-frames.
11037 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11038 Do not save frames with non-nil `desktop-dont-save' parameter.
11039 Filter out deleted frames.
11040 (desktop--find-frame): Use cl-find-if.
11041 (desktop--select-frame): Use cl-(first|second|third) to access values
11042 of desktop-mini.
11043 (desktop--make-frame): Use cl-delete-if.
11044 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11045 (desktop-restore-frames): Use cl-(first|second|third) to access values
11046 of desktop-mini. Look for visible frame at the end, not while
11047 restoring frames.
11048
11049 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11050 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11051 Use string-match-p, looking-at-p (bug#14927).
11052
11053 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11054
11055 * desktop.el (desktop-saved-frame-states):
11056 Rename from desktop--saved-states; all users changed.
11057 (desktop-save-frames): Rename from desktop--save-frames.
11058 Do not save state to desktop file.
11059 (desktop-save): Save desktop-saved-frame-states to desktop file
11060 and reset to nil.
11061 (desktop-restoring-frames-p): New function.
11062 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11063 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11064 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11065
11066 * desktop.el: Correctly restore iconified frames.
11067 (desktop--filter-iconified-position): New function.
11068 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11069
11070 2013-07-20 Glenn Morris <rgm@gnu.org>
11071
11072 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11073 Let `message' do the formatting.
11074 (def-gdb-preempt-display-buffer): Add explicit format.
11075
11076 * image-dired.el (image-dired-track-original-file):
11077 Use with-current-buffer.
11078 (image-dired-track-thumbnail): Use with-current-buffer.
11079 Avoid changing point of wrong window.
11080
11081 * image-dired.el (image-dired-track-original-file):
11082 Avoid changing point of wrong window. (Bug#14909)
11083
11084 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11085
11086 * progmodes/gdb-mi.el (gdb-done-or-error):
11087 Guard against "%" in gdb output. (Bug#14127)
11088
11089 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11090
11091 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11092 (Bug#14826)
11093
11094 * international/mule.el (coding-system-iso-2022-flags): Fix last
11095 change.
11096
11097 2013-07-20 Kenichi Handa <handa@gnu.org>
11098
11099 * international/mule.el (coding-system-iso-2022-flags):
11100 Add `8-bit-level-4'. (Bug#8522)
11101
11102 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11103
11104 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11105 (bug#14815).
11106
11107 * net/eww.el (eww-process-text-input): Allow inputting when the
11108 point is at the start of the line, as the properties aren't
11109 front-sticky.
11110
11111 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11112 degenerate widths.
11113
11114 2013-07-19 Richard Stallman <rms@gnu.org>
11115
11116 * epa.el (epa-popup-info-window): Doc fix.
11117
11118 * subr.el (split-string): New arg TRIM.
11119
11120 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11121
11122 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11123 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11124
11125 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11126
11127 * filenotify.el (file-notify--library): Rename from
11128 `file-notify-support'. Do not autoload. Adapt all uses.
11129 (file-notify-supported-p): New defun.
11130
11131 * autorevert.el (auto-revert-use-notify):
11132 Use `file-notify-supported-p' instead of `file-notify-support'.
11133 Adapt docstring.
11134 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11135
11136 * net/tramp.el (tramp-file-name-for-operation):
11137 Add `file-notify-supported-p'.
11138
11139 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11140 New defun.
11141 (tramp-sh-file-name-handler-alist): Add it as handler for
11142 `file-notify-supported-p '.
11143
11144 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11145 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11146 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11147 Add `ignore' as handler for `file-notify-*' functions.
11148
11149 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11150
11151 * simple.el (line-move-partial, line-move): Don't start vscroll or
11152 scroll-up if the current line is not taller than the window.
11153 (Bug#14881)
11154
11155 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11156
11157 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11158 highlight question marks in the method names as strings.
11159 (ruby-block-beg-keywords): Inline.
11160 (ruby-font-lock-keyword-beg-re): Extract from
11161 `ruby-font-lock-keywords'.
11162
11163 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11164
11165 * frame.el (blink-cursor-blinks): New defcustom.
11166 (blink-cursor-blinks-done): New defvar.
11167 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11168 (blink-cursor-timer-function): Check if number of blinks has been
11169 done on X and NS.
11170 (blink-cursor-suspend, blink-cursor-check): New defuns.
11171
11172 2013-07-15 Glenn Morris <rgm@gnu.org>
11173
11174 * edmacro.el (edmacro-format-keys): Fix previous change.
11175
11176 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11177
11178 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11179 The hack didn't work outside English locales anyway.
11180
11181 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11182
11183 * simple.el (define-alternatives): Rename from alternatives-define,
11184 per RMS' suggestion.
11185
11186 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11187
11188 * desktop.el (desktop-restore-frames): Change default to t.
11189 (desktop-restore-in-current-display): Now offer more options.
11190 (desktop-restoring-reuses-frames): New customization option.
11191 (desktop--saved-states): Doc fix.
11192 (desktop-filter-parameters-alist): New variable, renamed and expanded
11193 from desktop--excluded-frame-parameters.
11194 (desktop--target-display): New variable.
11195 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11196 (desktop--filter-tty*, desktop--filter-*-color)
11197 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11198 (desktop--filter-save-desktop-parm)
11199 (desktop-restore-in-original-display-p): New functions.
11200 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11201 (desktop--save-minibuffer-frames): New function, inspired by a similar
11202 function from Martin Rudalics.
11203 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11204 (desktop--restore-in-this-display-p): Remove.
11205 (desktop--find-frame): Rename from desktop--find-frame-in-display
11206 and add predicate argument.
11207 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11208 (desktop--reuse-list): New variable.
11209 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11210 New functions.
11211 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11212
11213 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11214
11215 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11216
11217 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11218
11219 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11220 Highlight conversion methods on Kernel.
11221
11222 2013-07-13 Alan Mackenzie <acm@muc.de>
11223
11224 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11225 and comment it out. This out-commenting enables certain C++
11226 declarations to be parsed correctly.
11227
11228 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11229
11230 * international/mule.el (define-coding-system): Doc fix.
11231
11232 * simple.el (default-font-height): Don't call font-info if the
11233 frame's default font didn't change since the frame was created.
11234 (Bug#14838)
11235
11236 2013-07-13 Leo Liu <sdl.web@gmail.com>
11237
11238 * ido.el (ido-read-file-name): Guard against non-symbol value.
11239
11240 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11241
11242 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11243 in nested defuns.
11244
11245 2013-07-13 Leo Liu <sdl.web@gmail.com>
11246
11247 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11248 ido-set-matches call. (Bug#6852)
11249
11250 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11251
11252 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11253 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11254 Ruby 2.0.
11255 (ruby-font-lock-keywords): Distinguish calls to functions with
11256 module-like names from module references. Highlight character
11257 literals.
11258
11259 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11260
11261 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11262 (gdb-send): Handle continued commands. (Bug#14847)
11263
11264 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11265
11266 * desktop.el (desktop--v2s): Remove unused local variable.
11267 (desktop-save-buffer): Make defvar-local; adjust docstring.
11268 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11269 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11270
11271 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11272
11273 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11274
11275 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11276
11277 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11278 (Bug#14842)
11279
11280 2013-07-12 Glenn Morris <rgm@gnu.org>
11281
11282 * doc-view.el: Require cl-lib at runtime too.
11283 (doc-view-remove-if): Remove.
11284 (doc-view-search-next-match, doc-view-search-previous-match):
11285 Use cl-remove-if.
11286
11287 * edmacro.el: Require cl-lib at runtime too.
11288 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11289 (edmacro-mismatch, edmacro-subseq): Remove.
11290
11291 * shadowfile.el: Require cl-lib.
11292 (shadow-remove-if): Remove.
11293 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11294 Use cl-remove-if.
11295
11296 * wid-edit.el: Require cl-lib.
11297 (widget-choose): Use cl-remove-if.
11298 (widget-remove-if): Remove.
11299
11300 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11301 (ebrowse-delete-if-not): Remove.
11302 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11303 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11304 Use cl-delete-if-not.
11305
11306 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11307
11308 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11309 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11310
11311 2013-07-12 Leo Liu <sdl.web@gmail.com>
11312
11313 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11314
11315 2013-07-11 Glenn Morris <rgm@gnu.org>
11316
11317 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11318 (edebug-gensym-index, edebug-gensym):
11319 Remove reimplementation of cl-gensym.
11320 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11321
11322 * thumbs.el: Require cl-lib at run-time too.
11323 (thumbs-gensym-counter, thumbs-gensym):
11324 Remove reimplementation of cl-gensym.
11325 (thumbs-temp-file): Use cl-gensym.
11326
11327 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11328 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11329 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11330 (ert--union, ert--gensym-counter, ert--gensym-counter)
11331 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11332 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11333 (ert-make-test-unbound, ert--expand-should-1)
11334 (ert--expand-should, ert--should-error-handle-error)
11335 (should-error, ert--explain-equal-rec)
11336 (ert--plist-difference-explanation, ert-select-tests)
11337 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11338 Use cl-lib functions rather than reimplementations.
11339
11340 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11341
11342 * net/tramp.el (tramp-methods): Extend docstring.
11343 (tramp-connection-timeout): New defcustom.
11344 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11345 (with-tramp-progress-reporter): Simplify.
11346 (tramp-process-actions): Improve messages.
11347
11348 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11349 * net/tramp-sh.el (tramp-maybe-open-connection):
11350 Use `tramp-connection-timeout'.
11351 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11352 (Bug#14808)
11353
11354 2013-07-11 Leo Liu <sdl.web@gmail.com>
11355
11356 * ido.el (ido-read-file-name): Conform to the requirements of
11357 read-file-name. (Bug#11861)
11358 (ido-read-directory-name): Conform to the requirements of
11359 read-directory-name.
11360
11361 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11362
11363 * subr.el (delay-warning): New function.
11364
11365 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11366
11367 * simple.el (default-line-height): New function.
11368 (line-move-partial, line-move): Use it instead of computing the
11369 line height inline.
11370 (line-move-partial): Always compute ROWH. If the last line is
11371 partially-visible, but its text is completely visible, allow
11372 cursor to enter such a partially-visible line.
11373
11374 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11375
11376 Improve error messages. (Bug#14808)
11377
11378 * net/tramp.el (tramp-current-connection): New defvar, moved from
11379 tramp-sh.el.
11380 (tramp-message-show-progress-reporter-message): Remove, not
11381 needed anymore.
11382 (tramp-error-with-buffer): Show message in minibuffer.
11383 Discard input before waiting. Reset connection timestamp.
11384 (with-tramp-progress-reporter): Improve messages.
11385 (tramp-process-actions): Use progress reporter. Delete process in
11386 case of error. Improve messages.
11387
11388 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11389 Call `tramp-error-with-buffer' with vector and buffer.
11390 (tramp-current-connection): Remove.
11391 (tramp-maybe-open-connection): The car of
11392 `tramp-current-connection' are the first 3 slots of the vector.
11393
11394 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11395
11396 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11397 inside continued strings.
11398
11399 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11400
11401 Timestamp fixes for undo (Bug#14824).
11402 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11403
11404 2013-07-10 Leo Liu <sdl.web@gmail.com>
11405
11406 * files.el (require-final-newline): Allow safe local value.
11407 (Bug#14834)
11408
11409 2013-07-09 Leo Liu <sdl.web@gmail.com>
11410
11411 * ido.el (ido-read-directory-name): Handle fallback.
11412 (ido-read-file-name): Update DIR to ido-current-directory.
11413 (Bug#1516)
11414 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11415
11416 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11417
11418 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11419 "autoload". Remove "warn lower camel case" section, previously
11420 commented out. Highlight negation char. Do not highlight the
11421 target in singleton method definitions.
11422
11423 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11424
11425 * faces.el (tty-setup-hook): Declare the hook.
11426
11427 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11428 and detect when a guard/pred depends on local vars (bug#14773).
11429 (pcase--u1): Adjust caller.
11430
11431 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11432
11433 * simple.el (line-move-partial, line-move): Account for
11434 line-spacing.
11435 (line-move-partial): Avoid setting vscroll when the last
11436 partially-visible line in window is of default height.
11437
11438 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11439
11440 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11441 been used a while.
11442
11443 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11444
11445 * subr.el (read-quoted-char): Remove unused local variable `char'.
11446
11447 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11448
11449 * ediff.el (ediff-version): Version update.
11450 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11451 (ediff-merge-with-ancestor-command, ediff-directories-command)
11452 (ediff-directories3-command, ediff-merge-directories-command)
11453 (ediff-merge-directories-with-ancestor-command): New functions.
11454 All are command-line interfaces to ediff: to facilitate calling
11455 Emacs with the appropriate ediff functions invoked.
11456
11457 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11458 (viper-save-kill-buffer): Check if buffer is modified.
11459
11460 * viper.el (viper-version): Version update.
11461 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11462
11463 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11464
11465 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11466 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11467 (viper-intercept-ESC-key): Simplify.
11468 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11469 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11470 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11471 (viper-setup-ESC-to-escape): New functions.
11472 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11473 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11474
11475 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11476
11477 * simple.el (default-font-height, window-screen-lines):
11478 New functions.
11479 (line-move, line-move-partial): Use them instead of
11480 frame-char-height and window-text-height. This makes scrolling
11481 text smoother when the buffer's default face uses a font that is
11482 different from the frame's default font.
11483
11484 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11485
11486 * files.el (write-file): Do not display confirm dialog for NS,
11487 it does its own dialog, which can't be canceled (Bug#14578).
11488
11489 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11490
11491 * simple.el (line-move-partial): Adjust the row returned by
11492 posn-at-point for the current window-vscroll. (Bug#14567)
11493
11494 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11495
11496 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11497 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11498 spaces.
11499
11500 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11501
11502 * window.el (window-state-put-stale-windows): New variable.
11503 (window--state-put-2): Save list of windows without matching buffer.
11504 (window-state-put): Remove "bufferless" windows if possible.
11505
11506 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11507
11508 * simple.el (alternatives-define): Remove leftover :group keyword.
11509 Tweak docstring.
11510
11511 2013-07-06 Leo Liu <sdl.web@gmail.com>
11512
11513 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11514 (ido-enable-virtual-buffers): New variable.
11515 (ido-buffer-internal, ido-toggle-virtual-buffers)
11516 (ido-make-buffer-list): Use it.
11517 (ido-exhibit): Support turning on and off virtual buffers
11518 automatically.
11519
11520 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11521
11522 * simple.el (alternatives-define): New macro.
11523
11524 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * subr.el (read-quoted-char): Use read-key.
11527 (sit-for): Let read-event decode tty input (bug#14782).
11528
11529 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11530
11531 * calendar/todo-mode.el: Add handling of file deletion, both by
11532 mode command and externally. Fix various related bugs.
11533 Clarify Commentary and improve some documentation strings and code.
11534 (todo-delete-file): New command.
11535 (todo-check-file): New function.
11536 (todo-show): Handle external deletion of the file we're trying to
11537 show (bug#14688). Replace called-interactively-p by an optional
11538 prefix argument to avoid problematic interaction with catch form
11539 when byte compiled (bug#14702).
11540 (todo-quit): Handle external deletion of the archive's todo file.
11541 Make sure the buffer that was visiting the archive file is still
11542 live before trying to bury it.
11543 (todo-category-completions): Handle external deletion of any
11544 category completion files.
11545 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11546 of todo files, in case of external deletion.
11547 (todo-add-file): Replace unnecessary setq by let-binding.
11548 (todo-find-archive): Check whether there are any archives.
11549 Replace unnecessary setq by let-binding.
11550 (todo-archive-done-item): Use find-file-noselect to get the
11551 archive buffer whether or not the archive already exists.
11552 Remove superfluous code. Use file size instead of buffer-file-name to
11553 check if the archive is new; if it is, update list of archives.
11554 (todo-default-todo-file): Allow nil to be a valid value for when
11555 there are no todo files.
11556 (todo-reevaluate-default-file-defcustom): Use corrected definition
11557 of todo-default-todo-file.
11558 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11559 (todo-delete-category, todo-show-categories-table)
11560 (todo-category-number): Clarify comment.
11561 (todo-filter-items): Clarify documentation string.
11562 (todo-show-current-file, todo-display-as-todo-file)
11563 (todo-reset-and-enable-done-separator): Tweak documentation string.
11564 (todo-done-separator): Make separator length window-width, since
11565 bug#2749 is now fixed.
11566
11567 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11568
11569 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11570 Support both "gvfs-monitor-dir" and "inotifywait".
11571 (tramp-sh-file-inotifywait-process-filter): Rename from
11572 `tramp-sh-file-notify-process-filter'.
11573 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11574 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11575
11576 2013-07-05 Leo Liu <sdl.web@gmail.com>
11577
11578 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11579
11580 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11581
11582 * frame.el (display-pixel-height, display-pixel-width)
11583 (display-mm-height, display-mm-width): Mention behavior on
11584 multi-monitor setups in docstrings.
11585 (w32-display-monitor-attributes-list): Declare function.
11586 (display-monitor-attributes-list): Use it.
11587
11588 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11589
11590 * filenotify.el: New package.
11591
11592 * autorevert.el (top): Require filenotify.el.
11593 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11594 instead.
11595 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11596 (auto-revert-notify-handler): Use `file-notify-*' functions.
11597
11598 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11599
11600 * net/tramp.el (tramp-file-name-for-operation):
11601 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11602
11603 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11604 for `file-notify-add-watch' and `file-notify-rm-watch'.
11605 (tramp-process-sentinel): Improve trace.
11606 (tramp-sh-handle-file-notify-add-watch)
11607 (tramp-sh-file-notify-process-filter)
11608 (tramp-sh-handle-file-notify-rm-watch)
11609 (tramp-get-remote-inotifywait): New defuns.
11610
11611 2013-07-03 Juri Linkov <juri@jurta.org>
11612
11613 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11614 call of `occur-read-primary-args' to interactive spec.
11615
11616 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11617 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11618
11619 2013-07-03 Matthias Meulien <orontee@gmail.com>
11620
11621 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11622 `Buffer-menu-multi-occur'. Add it to the menu.
11623 (Buffer-menu-mode): Document it in docstring.
11624 (Buffer-menu-multi-occur): New command. (Bug#14673)
11625
11626 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11627
11628 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11629 keywords and built-ins.
11630
11631 2013-07-03 Glenn Morris <rgm@gnu.org>
11632
11633 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11634
11635 Make info-xref checks case-sensitive by default
11636 * info.el (Info-find-node, Info-find-in-tag-table)
11637 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11638 Add option for exact case matching of nodes.
11639 * info-xref.el (info-xref): New custom group.
11640 (info-xref-case-fold): New option.
11641 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11642
11643 2013-07-03 Leo Liu <sdl.web@gmail.com>
11644
11645 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11646
11647 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11648
11649 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11650 middle of block statement initially, lower the depth. Remove
11651 FIXME comment, not longer valid. Remove middle of block statement
11652 detection, no need to do that anymore since we've been using
11653 `ruby-parse-region' here.
11654
11655 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11656
11657 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11658
11659 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11660
11661 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11662
11663 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11664
11665 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11666 (desktop-restore-in-current-display): New customization option.
11667 (desktop--excluded-frame-parameters): Add `font'.
11668 (desktop--save-frames): Rename from desktop--save-windows.
11669 (desktop--restore-in-this-display-p): New function.
11670 (desktop--make-full-frame): Remove unwanted width/height from
11671 full(width|height) frames.
11672 (desktop--restore-frames): Rename from desktop--restore-windows.
11673 Obey desktop-restore-current-display. Do not delete old frames or
11674 select a new frame unless we were able to restore at least one frame.
11675
11676 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11677
11678 * files.el (find-file-noselect): Simplify conditional expression.
11679
11680 * textmodes/remember.el (remember-append-to-file):
11681 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11682
11683 Add `remember-notes' function to store random notes across Emacs
11684 restarts.
11685 * textmodes/remember.el (remember-data-file): Add :set callback to
11686 affect notes buffer (if any).
11687 (remember-notes): New command.
11688 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11689 New defcustoms for the `remember-notes' function.
11690 (remember-notes-save-and-bury-buffer): New command.
11691 (remember-notes-mode-map): New variable.
11692 (remember-mode): New minor mode.
11693 (remember-notes--kill-buffer-query): New function.
11694 * startup.el (initial-buffer-choice): Add notes to custom type.
11695
11696 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11697
11698 * bindings.el (right-char, left-char): Don't call sit-for, this is
11699 no longer needed. Use arithmetic comparison only for numerical
11700 arguments.
11701
11702 * international/mule-cmds.el (select-safe-coding-system):
11703 Handle the case of FROM being a string correctly. (Bug#14755)
11704
11705 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11706
11707 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11708 progression on degenerate tables.
11709 (shr-rescale-image): ImageMagick animated images currently don't work.
11710
11711 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11712
11713 Some fixes and improvements for desktop frame restoration.
11714 It is still experimental and disabled by default.
11715 * desktop.el (desktop--save-windows): Put the selected frame at
11716 the head of the list.
11717 (desktop--make-full-frame): New function.
11718 (desktop--restore-windows): Try to re-select the frame that was
11719 selected upon saving. Do not abort if some frames fail to restore,
11720 just show an error message and continue. Set up maximized frames
11721 so they have default non-maximized dimensions.
11722
11723 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11724
11725 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11726 Don't start heredoc inside a string or comment.
11727
11728 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11729
11730 * bindings.el (visual-order-cursor-movement): New defcustom.
11731 (right-char, left-char): Provide visual-order cursor motion by
11732 calling move-point-visually. Update the doc strings.
11733
11734 2013-06-28 Kenichi Handa <handa@gnu.org>
11735
11736 * international/mule.el (define-coding-system): New coding system
11737 properties :inhibit-null-byte-detection,
11738 :inhibit-iso-escape-detection, and :prefer-utf-8.
11739 (set-buffer-file-coding-system): If :charset-list property of
11740 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11741 appropriate for setting.
11742
11743 * international/mule-cmds.el (select-safe-coding-system):
11744 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11745 multibyte characters, return utf-8 (or one of its siblings).
11746
11747 * international/mule-conf.el (prefer-utf-8): New coding system.
11748 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11749 files.
11750
11751 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11752
11753 * net/shr.el (shr-render-region): New function.
11754
11755 * net/eww.el: Autoload `eww-browse-url'.
11756
11757 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11758
11759 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11760 Adapt to `package-desc-version' being a list.
11761 Use `package--ac-desc-version' to retrieve version from a package
11762 archive element.
11763
11764 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11765
11766 New experimental feature to save&restore window and frame setup.
11767 * desktop.el (desktop-save-windows): New defcustom.
11768 (desktop--saved-states): New var.
11769 (desktop--excluded-frame-parameters): New defconst.
11770 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11771 (desktop--restore-windows, desktop--save-windows): New functions.
11772 (desktop-save): Call `desktop--save-windows'.
11773 (desktop-read): Call `desktop--restore-windows'.
11774
11775 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11776
11777 * net/shr.el (add-face-text-property): Remove compat definition.
11778
11779 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11780
11781 * info.el (Info-try-follow-nearest-node): Move search for footnote
11782 above search for node name to prevent missing a footnote (bug#14717).
11783
11784 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11785
11786 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11787
11788 2013-06-27 Leo Liu <sdl.web@gmail.com>
11789
11790 * net/eww.el (eww-read-bookmarks): Check file size.
11791
11792 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11795 advice--pending if newdef is nil or an autoload (bug#13820).
11796 (advice-mapc): New function.
11797
11798 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11799
11800 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11801 probably.
11802 (eww-mode-map): Add a menu bar.
11803 (eww-add-bookmark): New command.
11804 (eww-bookmark-mode): New mode and commands.
11805 (eww-add-bookmark): Remove newlines from the title.
11806 (eww-bookmark-browse): Don't bug out if it's the only window.
11807
11808 2013-06-26 Glenn Morris <rgm@gnu.org>
11809
11810 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11811 (hfy-size): Handle ttys. (Bug#14668)
11812
11813 * info-xref.el: Update for Texinfo 5 change in *note format.
11814 (info-xref-node-re, info-xref-note-re): New constants.
11815 (info-xref-check-buffer): Use info-xref-note-re.
11816
11817 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11818
11819 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11820
11821 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11822 nil terminate the loop (bug#14718).
11823
11824 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
11826 * net/eww.el: Rework history traversal. When going forward/back,
11827 put these actions into the history, too, so that they can be
11828 replayed.
11829 (eww-render): Move the history reset to the correct buffer.
11830
11831 2013-06-25 Juri Linkov <juri@jurta.org>
11832
11833 * files-x.el (modify-dir-local-variable): Change the header comment
11834 in the file with directory local variables. (Bug#14692)
11835
11836 * files-x.el (read-file-local-variable-value): Add `default'.
11837 (Bug#14710)
11838
11839 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11840
11841 * net/eww.el (eww-make-unique-file-name): Create a unique file
11842 name before saving to entering `y' accidentally asynchronously.
11843
11844 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11845
11846 * net/eww.el (eww-download): New command and keystroke.
11847
11848 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11849
11850 * net/eww.el (eww-copy-page-url): Change name of command.
11851
11852 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11853 be more consistent with Info and dired.
11854
11855 * net/eww.el (eww-mode-map): Ditto.
11856
11857 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11858
11859 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11860 packages from archives.
11861 (package-archive-contents): Change format; include obsolete packages.
11862 (package-desc): Use `dir' to mark builtin packages.
11863 (package--from-builtin): Set the `dir' field to `builtin'.
11864 (generated-autoload-file, version-control): Declare.
11865 (package-compute-transaction): Change first arg and return value to be
11866 lists of package-descs. Adjust to new package-archive-contents format.
11867 (package--add-to-archive-contents): Adjust to new
11868 package-archive-contents format.
11869 (package-download-transaction): Arg is now a list of package-descs.
11870 (package-install): If `pkg' is a package name, pass it as
11871 a requirement, so it is subject to the usual (e.g. disabled) checks.
11872 (describe-package): Accept package-desc as well.
11873 (describe-package-1): Describe a specific package-desc. Add links to
11874 other package-descs for the same package name.
11875 (package-menu-describe-package): Pass the actual package-desc.
11876 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11877 works correctly.
11878 (package-desc-status): New function.
11879 (package-menu--refresh): New function, extracted
11880 from package-menu--generate.
11881 (package-menu--generate): Use it.
11882 (package-delete): Update package-alist.
11883 (package-menu-execute): Don't call package-initialize.
11884
11885 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11886 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11887 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11888 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11889 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11890 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11891
11892 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11893
11894 * window.el (window--state-get-1): Workaround for bug#14527.
11895 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11896
11897 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11898
11899 * net/eww.el (eww-back-url): Implement the history by stashing all
11900 the data into a list.
11901 (eww-forward-url): Allow going forward in the history, too.
11902
11903 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11904
11905 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11906 for values and use read--expression for expressions (bug#14710).
11907 (read-file-local-variable): Avoid setq.
11908 (read-file-local-variable-mode): Use minor-mode-list.
11909
11910 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11911
11912 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11913 for DOI URLs.
11914
11915 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11916
11917 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11918 Update imenu-support when dialect changes.
11919
11920 2013-06-25 Leo Liu <sdl.web@gmail.com>
11921
11922 * ido.el (ido-read-internal): Allow forward slash on windows.
11923
11924 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11925
11926 * net/eww.el (eww): Start of strings is \\`, not ^.
11927
11928 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11929
11930 * net/shr.el (shr-browse-url): Fix interactive spec.
11931
11932 * net/eww.el (eww): Add a trailing slash to domain names.
11933
11934 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11935
11936 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11937
11938 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11939
11940 * net/shr.el (shr-browse-url): Use an external browser if given a
11941 prefix.
11942
11943 * net/eww.el (eww-external-browser): Move to shr.
11944
11945 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11946
11947 * net/eww.el (eww): Work more correctly for file: URLs.
11948 (eww-detect-charset): Allow quoted charsets.
11949 (eww-yank-page-url): New command and keystroke.
11950
11951 2013-06-24 Daiki Ueno <ueno@gnu.org>
11952
11953 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11954 file name of gpg executable.
11955 (epg-context-program): New function.
11956 (epg-context-home-directory): New function.
11957 (epg-context-set-program): New function.
11958 (epg-context-set-home-directory): New function.
11959 (epg--start): Use `epg-context-program' instead of
11960 'epg-gpg-program'.
11961 (epg--list-keys-1): Likewise.
11962
11963 2013-06-24 Leo Liu <sdl.web@gmail.com>
11964
11965 * ido.el (ido-read-internal): Fix bug#14620.
11966
11967 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11968
11969 * faces.el (face-documentation): Simplify.
11970 (read-face-attribute, tty-find-type, x-resolve-font-name):
11971 Use `string-match-p'.
11972 (list-faces-display): Use `string-match-p'. Simplify.
11973 (face-spec-recalc): Check face to avoid face alias loops.
11974 (read-color): Use `string-match-p' and non-capturing parenthesis.
11975
11976 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11977
11978 * net/shr.el (shr-rescale-image): Use the new
11979 :max-width/:max-height functionality.
11980
11981 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11982
11983 * net/eww.el (eww-search-prefix): New variable.
11984 (eww): Use it.
11985 (eww-external-browser): New variable.
11986 (eww-mode-map): New keystroke.
11987 (eww-browse-with-external-browser): New command.
11988
11989 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11990
11991 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11992
11993 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11994 Don't skip aligning the next header field when padding is 0;
11995 otherwise, field width is not respected unless the title is as
11996 wide as the field.
11997
11998 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11999
12000 * emacs-lisp/package.el (package-el-version): Remove.
12001 (package-process-define-package): Fix inf-loop.
12002 (package-install): Allow symbols as arguments again.
12003
12004 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12005
12006 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12007 add some more keyword-like methods.
12008 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12009
12010 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12011
12012 * bs.el (bs-buffer-show-mark): Make defvar-local.
12013 (bs-mode): Use setq-local.
12014
12015 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12016 (emacs-lock--try-unlocking): Make defvar-local.
12017
12018 2013-06-22 Glenn Morris <rgm@gnu.org>
12019
12020 * play/cookie1.el (cookie-apropos): Minor simplification.
12021
12022 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12023
12024 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12025
12026 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12027 `regexp-opt', it breaks the build during dumping.
12028
12029 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12030
12031 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12032 Highlight keyword-like methods on Kernel and Module with
12033 font-lock-builtin-face.
12034 (auto-mode-alist): Consolidate different entries into one regexp
12035 and add more *file-s.
12036
12037 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12038
12039 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12040
12041 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12042 (diary-entry): Use it in the action of this button type instead of
12043 diary-goto-entry.
12044
12045 * calendar/todo-mode.el: New version.
12046 (todo-add-category): Append new category to end of file and give
12047 it the highest number, instead of putting it at the beginning and
12048 giving it 0. Incorporate noninteractive functionality.
12049 (todo-forward-category): Adapt to 1-based category numbering.
12050 Allow skipping over archived categories.
12051 (todo-backward-category): Derive from todo-forward-category.
12052 (todo-backward-item, todo-forward-item): Make noninteractive and
12053 delegate interactive part to new commands. Make sensitive to done items.
12054 (todo-categories): Make value an alist of category names and
12055 vectors of item counts.
12056 (todo-category-beg): Make a defconst.
12057 (todo-category-number): Use 1 instead of 0 as initial value.
12058 (todo-category-select): Make sensitive to overlays, optional item
12059 highlighting and done items.
12060 (todo-delete-item): Make sensitive to overlays and marked and done items.
12061 (todo-edit-item): Make sensitive to overlays and editing of
12062 date/time header optional. Add format checks.
12063 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12064 no-op if point is not on an item. Advertise using todo-edit-quit.
12065 (todo-edit-mode): Make sensitive to new format, font-locking, and
12066 multiple todo files.
12067 (todo-insert-item, todo-insert-item-here): Derive from
12068 todo-basic-insert-item and extend functionality.
12069 (todo-item-end, todo-item-start): Make sensitive to done items.
12070 (todo-item-string): Don't return text properties. Restore point.
12071 (todo-jump-to-category): Make sensitive to multiple todo files and
12072 todo archives. Use extended category completion.
12073 (todo-lower-item, todo-raise-item): Rename to *-priority and
12074 derive from todo-set-item-priority.
12075 (todo-mode): Derive from special-mode. Make sensitive to new
12076 format, font-locking and multiple todo files. Make read-only.
12077 (todo-mode-map): Don't suppress digit keys, so they can supply
12078 prefix arguments. Add many new key bindings.
12079 (todo-prefix): Insert as an overlay instead of file text.
12080 Change semantics from diary date expression to purely visual mark.
12081 (todo-print): Rename to todo-print-buffer. Make buffer display
12082 features printable. Remove option to restrict number of items
12083 printed. Add option to print to file.
12084 (todo-print-function): Rename to todo-print-buffer-function.
12085 (todo-quit): Extend to handle exiting new todo modes.
12086 (todo-remove-item): Make sensitive to overlays.
12087 (todo-save): Extend to buffers of filtered items.
12088 (todo-show): Make sensitive to done items, multiple todo files and
12089 new todo modes. Offer to convert legacy todo file before creating
12090 first new todo file.
12091 (todo-show-priorities): Rename to todo-top-priorities.
12092 Change semantics of value 0.
12093 (todo-top-priorities): Rename to todo-filter-top-priorities,
12094 derive from todo-filter-items and extend functionality.
12095 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12096 and extend functionality to other types of filtered items.
12097 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12098 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12099 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12100 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12101 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12102 (todo-edit-mode-hook, todo-entry-prefix-function)
12103 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12104 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12105 (todo-initials, todo-insert-threshold, todo-item-string-start)
12106 (todo-line-string, todo-menu, todo-mode-hook)
12107 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12108 (todo-print-priorities, todo-remove-separator)
12109 (todo-save-top-priorities-too, todo-string-count-lines)
12110 (todo-string-multiline-p, todo-time-string-format)
12111 (todo-tmp-buffer-name): Remove.
12112 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12113 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12114 (todo-edit-category-diary-inclusion)
12115 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12116 (todo-edit-file, todo-edit-item-date-day)
12117 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12118 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12119 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12120 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12121 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12122 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12123 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12124 (todo-filter-top-priorities-multifile, todo-find-archive)
12125 (todo-find-filtered-items-file, todo-go-to-source-item)
12126 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12127 (todo-jump-to-archive-category, todo-lower-category)
12128 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12129 (todo-move-category, todo-move-item, todo-next-button)
12130 (todo-next-item, todo-padded-string, todo-powerset)
12131 (todo-previous-button, todo-previous-item)
12132 (todo-print-buffer-to-file, todo-raise-category)
12133 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12134 (todo-set-category-number, todo-set-item-priority)
12135 (todo-set-top-priorities-in-category)
12136 (todo-set-top-priorities-in-file, todo-show-categories-table)
12137 (todo-sort-categories-alphabetically-or-numerically)
12138 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12139 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12140 (todo-toggle-item-header, todo-toggle-item-highlighting)
12141 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12142 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12143 (todo-unarchive-items, todo-unmark-category): New commands.
12144 (todo-absolute-file-name, todo-add-to-buffer-list)
12145 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12146 (todo-basic-insert-item, todo-category-completions)
12147 (todo-category-number, todo-category-string-matcher-1)
12148 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12149 (todo-check-format, todo-clear-matches)
12150 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12151 (todo-current-category, todo-date-string-matcher)
12152 (todo-define-insertion-command, todo-diary-expired-matcher)
12153 (todo-diary-goto-entry, todo-diary-item-p)
12154 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12155 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12156 (todo-done-item-section-p, todo-done-separator)
12157 (todo-done-string-matcher, todo-files, todo-filter-items)
12158 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12159 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12160 (todo-insert-category-line, todo-insert-item-from-calendar)
12161 (todo-insert-sort-button, todo-insert-with-overlays)
12162 (todo-insertion-command-name, todo-insertion-key-bindings)
12163 (todo-label-to-key, todo-longest-category-name-length)
12164 (todo-make-categories-list, todo-mode-external-set)
12165 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12166 (todo-modes-set-3, todo-multiple-filter-files)
12167 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12168 (todo-read-category, todo-read-date, todo-read-dayname)
12169 (todo-read-file-name, todo-read-time)
12170 (todo-reevaluate-category-completions-files-defcustom)
12171 (todo-reevaluate-default-file-defcustom)
12172 (todo-reevaluate-filelist-defcustoms)
12173 (todo-reevaluate-filter-files-defcustom)
12174 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12175 (todo-reset-done-separator, todo-reset-done-separator-string)
12176 (todo-reset-done-string, todo-reset-global-current-todo-file)
12177 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12178 (todo-reset-prefix, todo-set-categories)
12179 (todo-set-date-from-calendar, todo-set-show-current-file)
12180 (todo-set-top-priorities, todo-short-file-name)
12181 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12182 (todo-total-item-counts, todo-update-buffer-list)
12183 (todo-update-categories-display, todo-update-categories-sexp)
12184 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12185 New functions.
12186 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12187 New major modes.
12188 (todo-categories, todo-display, todo-edit, todo-faces)
12189 (todo-filtered): New defgroups.
12190 (todo-archived-only, todo-button, todo-category-string, todo-date)
12191 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12192 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12193 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12194 (todo-add-item-if-new-category, todo-always-add-time-string)
12195 (todo-categories-align, todo-categories-archived-label)
12196 (todo-categories-category-label, todo-categories-diary-label)
12197 (todo-categories-done-label, todo-categories-number-separator)
12198 (todo-categories-todo-label, todo-categories-totals-label)
12199 (todo-category-completions-files, todo-completion-ignore-case)
12200 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12201 (todo-done-separator-string, todo-done-string)
12202 (todo-files-function, todo-filter-done-items, todo-filter-files)
12203 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12204 (todo-initial-category, todo-initial-file, todo-item-mark)
12205 (todo-legacy-date-time-regexp, todo-mode-line-function)
12206 (todo-nondiary-marker, todo-number-prefix)
12207 (todo-print-buffer-function, todo-show-current-file)
12208 (todo-show-done-only, todo-show-first, todo-show-with-done)
12209 (todo-skip-archived-categories, todo-top-priorities-overrides)
12210 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12211 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12212 New defcustoms.
12213 (todo-category-done, todo-date-pattern, todo-date-string-start)
12214 (todo-diary-items-buffer, todo-done-string-start)
12215 (todo-filtered-items-buffer, todo-item-start)
12216 (todo-month-abbrev-array, todo-month-name-array)
12217 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12218 (todo-top-priorities-buffer): New defconsts.
12219 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12220 (todo-categories-with-marks, todo-category-string-face)
12221 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12222 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12223 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12224 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12225 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12226 (todo-font-lock-keywords, todo-global-current-todo-file)
12227 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12228 (todo-insertion-commands-args)
12229 (todo-insertion-commands-args-genlist)
12230 (todo-insertion-commands-names, todo-insertion-map)
12231 (todo-key-bindings-t, todo-key-bindings-t+a)
12232 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12233 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12234 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12235 (todo-visited): New variables.
12236
12237 2013-06-21 Glenn Morris <rgm@gnu.org>
12238
12239 * play/cookie1.el (cookie-apropos): Add optional display argument.
12240 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12241 (psychoanalyze-pinhead): Use cookie-doctor.
12242
12243 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12244
12245 * emacs-lisp/package.el (tar-get-file-descriptor)
12246 (tar--extract): Declare.
12247
12248 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12249
12250 Extend flymake's warning predicate to be a function (bug#14217).
12251 * progmodes/flymake.el (flymake-warning-predicate): New.
12252 (flymake-parse-line): Use it.
12253 (flymake-warning-re): Make obsolete alias to
12254 `flymake-warning-predicate'.
12255
12256 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12259 (package-obsolete-list): Remove.
12260 (package-activate): Remove min-version argument. Add `force' argument.
12261 Adjust to new package-alist format.
12262 (package-mark-obsolete): Remove.
12263 (package-unpack): Force reload of the package's autoloads.
12264 (package-installed-p): Check builtins if the installed package is not
12265 recent enough.
12266 (package-initialize): Don't reset package-obsolete-list.
12267 Don't specify which package version to activate.
12268 (package-process-define-package, describe-package-1)
12269 (package-menu--generate): Adjust to new package-alist format.
12270
12271 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12272
12273 * allout-widgets.el (allout-widgets-mode-off)
12274 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12275 (allout-widgets-post-command-business)
12276 (allout-widgets-after-copy-or-kill-function)
12277 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12278 (allout-decorate-item-and-context)
12279 (allout-graphics-modification-handler): Fix typos in docstrings.
12280 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12281
12282 * cmuscheme.el (scheme-start-file): Doc fix.
12283 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12284 (scheme-input-filter): Use `string-match-p'.
12285
12286 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12287
12288 * dired-x.el: Use Dired consistently in docstrings.
12289
12290 * dired.el: Use Dired consistently in docstrings.
12291 (dired-readin, dired-mode): Use `setq-local'.
12292 (dired-switches-alist): Make defvar-local.
12293 (dired-buffers-for-dir): Use `zerop'.
12294 (dired-safe-switches-p, dired-switches-escape-p)
12295 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12296 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12297 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12298 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12299 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12300 (dired-toggle-marks, dired-mark-files-containing-regexp)
12301 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12302 (dired-flag-auto-save-files, dired-flag-backup-files):
12303 Use `looking-at-p'.
12304 (dired-mark-files-regexp, dired-build-subdir-alist):
12305 Use `string-match-p', `looking-at-p'.
12306
12307 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12308 (direct-print-region-helper): Use `string-match-p'.
12309
12310 2013-06-21 Leo Liu <sdl.web@gmail.com>
12311
12312 * comint.el (comint-redirect-results-list-from-process):
12313 Fix infinite loop.
12314
12315 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12316
12317 * net/eww.el (eww-update-header-line-format): Quote % characters.
12318
12319 2013-06-21 Glenn Morris <rgm@gnu.org>
12320
12321 * play/cookie1.el (cookie): New custom group.
12322 (cookie-file): New option.
12323 (cookie-check-file): New function.
12324 (cookie): Make it interactive. Make start and end messages optional.
12325 Interactively, display the result. Default to cookie-file.
12326 (cookie-insert): Default to cookie-file.
12327 (cookie-snarf): Make start and end messages optional.
12328 Default to cookie-file. Use with-temp-buffer.
12329 (cookie-read): Rename from read-cookie.
12330 Make start and end messages optional. Default to cookie-file.
12331 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12332 Do not autoload it.
12333 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12334 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12335
12336 2013-06-21 Leo Liu <sdl.web@gmail.com>
12337
12338 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12339
12340 2013-06-21 Glenn Morris <rgm@gnu.org>
12341
12342 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12343
12344 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12345 Daniel Hackney <dan@haxney.org>
12346
12347 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12348 Consolidate the single-file vs tarball code.
12349 (package-desc-suffix): New function.
12350 (package-desc-full-name): Don't bother inlining it.
12351 (package-load-descriptor): Return the new package-desc.
12352 (package-mark-obsolete): Remove unused arg `package'.
12353 (package-unpack): Make it work for single files as well.
12354 Make it update package-alist.
12355 (package--make-autoloads-and-stuff): Rename from
12356 package--make-autoloads-and-compile. Don't compile any more.
12357 (package--compile): New function.
12358 (package-generate-description-file): New function, extracted from
12359 package-unpack-single.
12360 (package-unpack-single): Remove.
12361 (package--with-work-buffer): Add indentation and debugging info.
12362 (package-download-single): Remove.
12363 (package-install-from-archive): Rename from package-download-tar, make
12364 it take a pkg-desc, and make it work for single files as well.
12365 (package-download-transaction): Simplify.
12366 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12367 external tar program.
12368 (package-install-from-buffer): Remove `pkg-desc' argument.
12369 Use package-tar-file-info for tar-mode buffers.
12370 (package-install-file): Simplify accordingly.
12371 (package-archive-base): Change to take a pkg-desc.
12372 * tar-mode.el (tar--check-descriptor): New function, extracted from
12373 tar-get-descriptor.
12374 (tar-get-descriptor): Use it.
12375 (tar-get-file-descriptor): New function.
12376 (tar--extract): New function, extracted from tar-extract.
12377 (tar--extract): Use it.
12378 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12379 case the summary uses non-ascii. Adjust to new calling convention of
12380 package-tar-file-info.
12381
12382 2013-06-21 Leo Liu <sdl.web@gmail.com>
12383
12384 * comint.el (comint-redirect-results-list-from-process):
12385 Fix random delay. (Bug#14681)
12386
12387 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12388
12389 * profiler.el (profiler-format-number): Use log, not log10.
12390
12391 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12392
12393 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12394
12395 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12396
12397 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12398 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12399 yet available.
12400 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12401 (AUTOGENEL): ... here.
12402 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12403 (cl--defsubst-expand): Use it.
12404
12405 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12406
12407 * subr.el (log10): Move here from C code, and declare as obsolete.
12408 All uses of (log10 X) replaced with (log X 10).
12409
12410 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12411
12412 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12413 Declare with `defvar-local'.
12414 (tabulated-list-use-header-line, tabulated-list-entries)
12415 (tabulated-list-padding, tabulated-list-printer)
12416 (tabulated-list-sort-key): Declare with `defvar-local'.
12417 (tabulated-list-init-header, tabulated-list-print-fake-header):
12418 Use `setq-local'.
12419
12420 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12421
12422 * arc-mode.el (archive-mode): Add `archive-write-file' to
12423 `write-contents-functions' also for remote files. (Bug#14652)
12424
12425 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12426
12427 * cus-edit.el (custom-commands): Fix typos.
12428 (custom-display): Fix tooltip text.
12429 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12430 Fix typos in docstrings.
12431 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12432 (custom-unlispify-menu-entry, custom-magic-value-create)
12433 (custom-add-see-also, custom-group-value-create): Use ?\s.
12434 (custom-guess-type, customize-apropos, editable-field)
12435 (custom-face-value-create): Use `string-match-p'.
12436 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12437
12438 * custom.el (custom-load-symbol): Use `string-match-p'.
12439
12440 * ansi-color.el: Convert to lexical binding.
12441 (ansi-colors): Fix URL.
12442 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12443 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12444 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12445
12446 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12447
12448 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12449
12450 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12451
12452 2013-06-19 Tom Tromey <tromey@redhat.com>
12453
12454 * net/eww.el (eww-top-url): Remove.
12455 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12456 (eww-render): Set new variables. Don't set eww-top-url.
12457 (eww-handle-link): Handle "prev", "home", and "contents".
12458 Downcase the rel text.
12459 (eww-top-url): Choose best top URL.
12460
12461 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12462
12463 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12464 relying in widget.el. Using widget.el leads to too many
12465 user interface inconsistencies.
12466 (eww-self-insert): Implement entering commands in text fields.
12467 (eww-process-text-input): New function to make text input field editing
12468 work.
12469 (eww-submit): Rewrite to use the new-style form methods.
12470 (eww-select-display): Display the correct selected item.
12471 (eww-change-select): Implement changing the select value.
12472 (eww-toggle-checkbox): Implement radio/checkboxes.
12473 (eww-update-field): Fix compilation error.
12474 (eww-tag-textarea): Implement <textarea>.
12475
12476 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12477 we don't shadow mode-specific bindings.
12478
12479 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12480 nothing to push.
12481
12482 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12483
12484 2013-06-19 Glenn Morris <rgm@gnu.org>
12485
12486 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12487
12488 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12489
12490 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12491 not needed.
12492
12493 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12494
12495 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12496
12497 * net/browse-url.el (browse-url-browser-function):
12498 `eww-browse-url' has the right calling signature, `eww' does not.
12499
12500 2013-06-19 Glenn Morris <rgm@gnu.org>
12501
12502 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12503 Only eval autoloaded macros.
12504 (byte-compile-autoload): Only give the macro warning for macros.
12505
12506 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12507 (ps-underlined-faces): Declare.
12508
12509 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12510 (speedbar-add-supported-extension): Declare.
12511
12512 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12513 Don't include a date stamp in the header of the generated file;
12514 it leads to needless differences between output files.
12515
12516 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12517
12518 * net/secrets.el (secrets-struct-secret-content-type):
12519 Replace check of introspection data by a test call of "CreateItem".
12520 Some servers do not offer introspection.
12521
12522 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12523
12524 * electric.el (electric-pair-mode): Improve interaction with
12525 electric-layout-mode.
12526 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12527 (electric-pair-syntax): Use text-mode-syntax-table in comments
12528 and strings.
12529 (electric-pair--insert): New function.
12530 (electric-pair-post-self-insert-function): Use it and
12531 electric--after-char-pos.
12532
12533 2013-06-19 Leo Liu <sdl.web@gmail.com>
12534
12535 * progmodes/octave.el (octave-help): Fix regexp.
12536
12537 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12538
12539 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12540 (shr-table-horizontal-line): Allow nil as a value, and change the
12541 default.
12542 (shr-insert-table-ruler): Respect the nil value.
12543
12544 2013-06-18 Tom Tromey <tromey@barimba>
12545
12546 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12547 New defvars.
12548 (eww-open-file): New defun.
12549 (eww-render): Initialize new variables.
12550 (eww-display-html): Handle "link" and "a".
12551 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12552 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12553 (eww-back-url): Rename from eww-previous-url.
12554 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12555 New defuns.
12556
12557 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12558
12559 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12560 Distinguish ternary operator tokens from slash symbol and slash
12561 char literal.
12562
12563 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12564
12565 Convert symbol prettification into minor mode and global minor mode.
12566
12567 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12568 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12569 (prettify-symbols--keywords): Rename from
12570 `prog-prettify-symbols-alist' and make a local defvar.
12571 (prettify-symbols--compose-symbol): Rename from
12572 `prog--prettify-font-lock-compose-symbol'.
12573 (prettify-symbols--make-keywords): Rename from
12574 `prog-prettify-font-lock-symbols-keywords' and simplify.
12575 (prog-prettify-install): Remove.
12576 (prettify-symbols-mode): New minor mode, based on
12577 `prog-prettify-install'.
12578 (turn-on-prettify-symbols-mode): New function.
12579 (global-prettify-symbols-mode): New globalized minor mode.
12580
12581 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12582 * progmodes/cfengine.el (cfengine3-mode):
12583 * progmodes/perl-mode.el (perl-mode): Don't call
12584 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12585
12586 2013-06-18 Juri Linkov <juri@jurta.org>
12587
12588 * files-x.el (modify-file-local-variable-message): New function.
12589 (modify-file-local-variable)
12590 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12591 and call `modify-file-local-variable-message' when it's non-nil.
12592 (add-file-local-variable, delete-file-local-variable)
12593 (add-file-local-variable-prop-line)
12594 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12595 and use it. (Bug#9820)
12596
12597 2013-06-18 Juri Linkov <juri@jurta.org>
12598
12599 * emulation/vi.el (vi-shell-op):
12600 * emulation/vip.el (vip-execute-com, ex-command):
12601 * emulation/viper-cmd.el (viper-exec-bang):
12602 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12603 the call of `shell-command-on-region'. (Bug#14637)
12604
12605 * simple.el (shell-command-on-region): Doc fix.
12606
12607 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12610 (bug#14633).
12611
12612 2013-06-18 Glenn Morris <rgm@gnu.org>
12613
12614 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12615
12616 * newcomment.el (comment-search-forward, comment-search-backward):
12617 Doc fix. (Bug#14376)
12618
12619 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12620
12621 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12622 (buffer-face-mode-invoke): Doc fix.
12623
12624 2013-06-18 Matthias Meulien <orontee@gmail.com>
12625
12626 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12627 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12628
12629 2013-06-18 Glenn Morris <rgm@gnu.org>
12630
12631 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12632 Replace obsolete function generic-make-keywords with its expansion.
12633
12634 * progmodes/python.el (ffap-alist): Declare.
12635
12636 * textmodes/reftex.el (bibtex-mode-map): Declare.
12637
12638 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12639
12640 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12641 (package-unpack, package-unpack-single): Return the pkg-dir.
12642 (package-download-transaction): Use it to update package-alist.
12643
12644 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12645
12646 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12647 possible choice.
12648
12649 2013-06-17 Juri Linkov <juri@jurta.org>
12650
12651 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12652
12653 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12654
12655 * emacs-lisp/package.el (package-load-descriptor):
12656 Remove `with-syntax-table' call, `read' doesn't need it.
12657 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12658
12659 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12660
12661 * startup.el (command-line): Expand package name returned by
12662 `package--description-file' (bug#14639).
12663
12664 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12665
12666 * emacs-lisp/package.el (package-load-descriptor): Do not call
12667 `emacs-lisp-mode', just use its syntax table.
12668
12669 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12670
12671 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12672 `font-lock-extra-managed-props' if any prettifying keyword is added.
12673 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12674 (prog-mode): Use `setq-local'.
12675
12676 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12677
12678 * international/characters.el (standard-case-table): Set syntax of ?»
12679 and ?« to punctuation.
12680
12681 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12682
12683 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12684 Save relevant match data before calling `syntax-ppss' (bug#14595).
12685
12686 2013-06-15 Juri Linkov <juri@jurta.org>
12687
12688 * files-x.el (modify-file-local-variable-prop-line): Add local
12689 variables to the end of the existing comment on the first line.
12690 Use `file-auto-mode-skip' to skip interpreter magic line,
12691 and also skip XML declaration.
12692
12693 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12694
12695 * startup.el (package--builtin-versions): New var.
12696 (package-subdirectory-regexp): Remove.
12697 (package--description-file): Hard code its value instead.
12698
12699 * emacs-lisp/package.el: Don't activate packages older than builtin.
12700 (package-obsolete-list): Rename from package-obsolete-alist, and make
12701 it into a simple list of package-desc.
12702 (package-strip-version): Remove.
12703 (package-built-in-p): Use package--builtin-versions.
12704 (package-mark-obsolete): Simplify.
12705 (package-process-define-package): Mark it obsolete if older than the
12706 builtin version.
12707 (package-handle-response): Use line-end-position.
12708 (package-read-archive-contents, package--download-one-archive):
12709 Simplify.
12710 (package--add-to-archive-contents): Skip if older than the builtin or
12711 installed version.
12712 (package-menu-describe-package): Fix last change.
12713 (package-list-unversioned): New var.
12714 (package-menu--generate): Use it.
12715
12716 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12717 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12718 (autoload-builtin-package-versions): New variable.
12719 (autoload-generate-file-autoloads): Use them.
12720 Remove the list of autoloaded functions/macros from the
12721 (autoload...) comments.
12722
12723 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12724
12725 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12726
12727 * simple.el (line-move-partial): Don't jump to the next screen
12728 line as soon as it becomes visible. Instead, continue enlarging
12729 the vscroll until the portion of a tall screen line that's left on
12730 display is about the height of the frame's default font.
12731 (Bug#14567)
12732
12733 2013-06-15 Glenn Morris <rgm@gnu.org>
12734
12735 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12736 compilation-error-regexp-alist void, or local while let-bound.
12737
12738 * progmodes/make-mode.el (makefile-mode-syntax-table):
12739 Treat "=" as punctuation. (Bug#14614)
12740
12741 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12742
12743 * help-fns.el (describe-variable):
12744 Add extra line for permanent-local variables.
12745
12746 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12747
12748 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12749 Add export, import, library. (Bug#9164)
12750 (library): Set indent function.
12751
12752 2013-06-14 Glenn Morris <rgm@gnu.org>
12753
12754 * term/xterm.el (xterm--query):
12755 Stop after first matching handler. (Bug#14615)
12756
12757 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12758
12759 Add support for dired in saveplace.
12760 * dired.el (dired-initial-position-hook): New variable.
12761 (dired-initial-position): Call hook to place cursor position.
12762 * saveplace.el (save-place-to-alist): Add dired position.
12763 (save-place-dired-hook): New function.
12764
12765 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12766
12767 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12768 through a symbol rather than letrec.
12769
12770 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12771 (package-desc): Add `dir' field.
12772 (package-desc-full-name): New function.
12773 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12774 (package-maybe-load-descriptor): Remove.
12775 (package-load-all-descriptors): Just call package-load-descriptor.
12776 (package--disabled-p): New function.
12777 (package-desc-vers, package-desc-doc): Remove aliases.
12778 (package--dir): Remove function.
12779 (package-activate): Check if a package is disabled.
12780 (package-process-define-package): New function, extracted from
12781 define-package.
12782 (define-package): Turn into a place holder.
12783 (package-unpack-single, package-tar-file-info):
12784 Use package--description-file.
12785 (package-compute-transaction): Use package--disabled-p.
12786 (package-download-transaction): Don't call
12787 package-maybe-load-descriptor since they're all loaded anyway.
12788 (package-install): Change argument to be a pkg-desc.
12789 (package-delete): Use a single pkg-desc argument.
12790 (describe-package-1): Use package-desc-dir instead of package--dir.
12791 Use package-desc property instead of package-symbol.
12792 (package-install-button-action): Adjust accordingly.
12793 (package--push): Rewrite.
12794 (package-menu--print-info): Adjust accordingly. Change the ID format
12795 to be a pkg-desc.
12796 (package-menu-describe-package, package-menu-get-status)
12797 (package-menu--find-upgrades, package-menu-mark-upgrades)
12798 (package-menu-execute, package-menu--name-predicate):
12799 Adjust accordingly.
12800 * startup.el (package--description-file): New function.
12801 (command-line): Use it.
12802 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12803 Use package-desc-version.
12804
12805 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12806 (byte-compile-preprocess): Use it.
12807 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12808 can't quite recognize.
12809 (byte-compile-add-to-list): Remove.
12810 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12811 (cconv-closure-convert): Add assertion.
12812
12813 * emacs-lisp/map-ynp.el: Use lexical-binding.
12814 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12815 Factor out some repeated code.
12816
12817 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12818
12819 * subr.el (with-eval-after-load): New macro.
12820 (eval-after-load): Allow form to be a function.
12821 take advantage of lexical-binding.
12822 (do-after-load-evaluation): Use dolist and adjust to new format.
12823 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12824
12825 2013-06-13 Juri Linkov <juri@jurta.org>
12826
12827 * replace.el (perform-replace): Display "symbol " and other search
12828 modes from `isearch-message-prefix' in the *Help* buffer.
12829
12830 * isearch.el (isearch-query-replace): Add " symbol" and other
12831 possible search modes from `isearch-message-prefix' to the prompt.
12832 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12833 when reading a regexp to collect.
12834
12835 2013-06-13 Juri Linkov <juri@jurta.org>
12836
12837 * isearch.el (word-search-regexp): Match whitespace if the search
12838 string begins or ends in whitespace. The LAX arg is applied to
12839 both ends of the search string. Use `regexp-quote' and explicit
12840 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12841 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12842 boundaries are replaced with symbol boundaries, and characters
12843 between symbols match non-word non-symbol syntax. (Bug#14602)
12844
12845 2013-06-13 Juri Linkov <juri@jurta.org>
12846
12847 * isearch.el (isearch-del-char): Don't exceed the length of
12848 `isearch-string' by the prefix arg. (Bug#14563)
12849
12850 2013-06-13 Juri Linkov <juri@jurta.org>
12851
12852 * isearch.el (isearch-yank-word, isearch-yank-line)
12853 (isearch-char-by-name, isearch-quote-char)
12854 (isearch-printing-char, isearch-process-search-char):
12855 Add optional count prefix arg. (Bug#14563)
12856
12857 * international/isearch-x.el
12858 (isearch-process-search-multibyte-characters):
12859 Add optional count prefix arg.
12860
12861 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12862
12863 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12864 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12865 lexical-binding.
12866
12867 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12868
12869 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12870
12871 2013-06-13 Glenn Morris <rgm@gnu.org>
12872
12873 * startup.el (tty-handle-args):
12874 Don't just discard "--" and anything after. (Bug#14608)
12875
12876 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12877
12878 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12879
12880 Implement changes in Secret Service API. Make it backward compatible.
12881 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12882 (secrets-create-item): Use it. Prefix properties with interface.
12883
12884 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12885
12886 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12887 (term-emulate-terminal): Respect term-suppress-hard-newline.
12888
12889 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12890
12891 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12892 Only remove a `thumb-file' overlay. (Bug#14548)
12893
12894 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12895
12896 * mail/reporter.el (reporter-submit-bug-report):
12897 Handle missing package-name. (Bug#14600)
12898
12899 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12900
12901 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12902 (reftex-citation-prompt, reftex-default-bibliography)
12903 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12904 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12905 (reftex-bib-sort-author, reftex-bib-sort-year)
12906 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12907 (reftex-extract-bib-entries-from-thebibliography)
12908 (reftex-get-bibkey-default, reftex-get-bib-names)
12909 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12910 (reftex-format-bib-entry, reftex-parse-bibitem)
12911 (reftex-format-bibitem, reftex-do-citation)
12912 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12913 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12914 (reftex-insert-bib-matches, reftex-format-citation)
12915 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12916 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12917 existing comments into docstrings.
12918
12919 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12920
12921 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12922
12923 2013-06-12 Andreas Schwab <schwab@suse.de>
12924
12925 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12926 for auto-save files.
12927
12928 2013-06-12 Glenn Morris <rgm@gnu.org>
12929
12930 * ido.el (ido-delete-ignored-files): Remove.
12931 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12932 Go back to calling ido-ignore-item-p directly.
12933
12934 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12935
12936 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12937
12938 * ido.el (ido-delete-ignored-files): New function,
12939 split from ido-make-file-list-1.
12940 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12941 (ido-make-file-list-1): Use ido-delete-ignored-files.
12942
12943 2013-06-12 Leo Liu <sdl.web@gmail.com>
12944
12945 * progmodes/octave.el (inferior-octave-startup)
12946 (inferior-octave-completion-table)
12947 (inferior-octave-track-window-width-change)
12948 (octave-eldoc-function-signatures, octave-help)
12949 (octave-find-definition): Use single quoted strings.
12950 (inferior-octave-startup-args): Change default value.
12951 (inferior-octave-startup): Do not hard code "-i" and
12952 "--no-line-editing".
12953 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12954 (inferior-octave-directory-tracker): Use it.
12955 (octave-goto-function-definition): Robustify.
12956 (octave-help): Support highlighting operators in 'See also'.
12957 (octave-find-definition): Find subfunctions only in Octave mode.
12958
12959 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12960
12961 * help-fns.el (help-fns--compiler-macro): If the handler function is
12962 named, then put a link to it.
12963 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12964 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12965 (cl-typep): Use it.
12966 (cl-eval-when): Simplify debug spec.
12967 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12968 compiler-macro function instead of setting `compiler-macro-file'.
12969
12970 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12971
12972 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12973 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12974
12975 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12976 Daniel Hackney <dan@haxney.org>
12977
12978 First part of Daniel Hackney's patch to package.el.
12979 * emacs-lisp/package.el: Use defstruct.
12980 (package-desc): New, main struct.
12981 (package--bi-desc, package--ac-desc): New structs, used to describe the
12982 format in external files.
12983 (package-desc-vers): Replace with package-desc-version accessor.
12984 (package-desc-doc): Replace with package-desc-summary accessor.
12985 (package-activate-1): Remove `package' arg since the pkg-vec now
12986 includes the name.
12987 (define-package): Use package-desc-from-define.
12988 (package-unpack-single): Change file-name arg to be a symbol.
12989 (package--add-to-archive-contents): Use package-desc-create and new
12990 accessor functions to package--ac-desc.
12991 (package-buffer-info, package-tar-file-info): Return a package-desc.
12992 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12993 arg to be a package-desc.
12994 (package-install-file): Adjust accordingly. Use \' to match EOS.
12995 (package--from-builtin): New function.
12996 (describe-package-1, package-menu--generate): Use it.
12997 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12998 (package-generate-autoloads): Idem and return the name of the file.
12999 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13000 Change pkg-info arg to be a package-desc.
13001 Use package-make-ac-desc.
13002 (package-upload-file): Use \' to match EOS.
13003 * finder.el (finder-compile-keywords): Use package-make-builtin.
13004
13005 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13006
13007 * vc/vc.el (vc-deduce-fileset): Change error message.
13008 (vc-read-backend): New function.
13009 (vc-next-action): Use it.
13010
13011 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13012
13013 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13014 (prolog-font-lock-keywords): Use regexp-opt instead.
13015 Don't manually highlight strings.
13016 (prolog-mode-variables): Simplify comment-start-skip.
13017 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13018
13019 * emacs-lisp/generic.el (generic--normalise-comments)
13020 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13021 (generic-mode-set-comments): Use them.
13022 (generic-bracket-support): Use setq-local.
13023 (generic-make-keywords-list): Declare obsolete.
13024
13025 2013-06-11 Glenn Morris <rgm@gnu.org>
13026
13027 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13028 Prettify after setting font-lock-defaults. (Bug#14574)
13029
13030 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13031
13032 * replace.el (query-replace, occur-read-regexp-defaults-function)
13033 (replace-search):
13034 * subr.el (declare-function, number-sequence, local-set-key)
13035 (substitute-key-definition, locate-user-emacs-file)
13036 (with-silent-modifications, split-string, eval-after-load):
13037 Fix typos, remove unneeded backslashes and reflow some docstrings.
13038
13039 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13042 default for Elisp files.
13043
13044 2013-06-11 Glenn Morris <rgm@gnu.org>
13045
13046 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13047 although define-derived-mode was doing this anyway. (Bug#14583)
13048
13049 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13050
13051 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13052 Fix make-variable-buffer-local call to refer to the correct variable.
13053
13054 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13055
13056 * eshell/em-term.el (eshell-visual-commands)
13057 (eshell-visual-subcommands, eshell-visual-options):
13058 Add summary line to docstrings. Add cross-references.
13059
13060 2013-06-10 Glenn Morris <rgm@gnu.org>
13061
13062 * epa.el (epa-read-file-name): New function. (Bug#14510)
13063 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13064
13065 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13066
13067 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13068 output redirection to be ignored with visual commands.
13069
13070 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13071
13072 * eshell/em-term.el (eshell-visual-command-p): New function.
13073 (eshell-term-initialize): Move long lambda to separate function
13074 eshell-visual-command-p.
13075 * eshell/em-dirs.el (eshell-dirs-initialize):
13076 * eshell/em-script.el (eshell-script-initialize):
13077 Add missing #' to lambda.
13078
13079 2013-06-08 Leo Liu <sdl.web@gmail.com>
13080
13081 * progmodes/octave.el (octave-add-log-current-defun): New function.
13082 (octave-mode): Set add-log-current-defun-function.
13083 (octave-goto-function-definition): Do not move point if not found.
13084 (octave-find-definition): Enhance to try subfunctions first.
13085
13086 2013-06-08 Glenn Morris <rgm@gnu.org>
13087
13088 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13089 (byte-compile-backward-char, byte-compile-backward-word):
13090 Improve previous change, to handle non-explicit nil.
13091
13092 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13093
13094 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13095 (smie--opener/closer-at-point): New function.
13096 (smie--matching-block-data): Use it. Don't match from right after an
13097 opener or right before a closer. Obey smie-blink-matching-inners.
13098 Don't signal a mismatch for repeated inners like "switch..case..case".
13099
13100 2013-06-07 Leo Liu <sdl.web@gmail.com>
13101
13102 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13103 to t. (Bug#14303)
13104 (octave-function-header-regexp): Fix. (Bug#14570)
13105 (octave-help-mode-finish-hook, octave-help-mode-finish):
13106 Remove. Just use temp-buffer-show-hook.
13107
13108 * newcomment.el (comment-search-backward): Revert last change.
13109 (Bug#14434)
13110
13111 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13112
13113 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13114
13115 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13116 through xargs, to avoid failure due to MS-Windows limitations on
13117 command-line length.
13118
13119 2013-06-06 Glenn Morris <rgm@gnu.org>
13120
13121 * font-lock.el (lisp-font-lock-keywords-2):
13122 Treat user-error like error.
13123
13124 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13125 (byte-compile-backward-char, byte-compile-backward-word):
13126 Handle explicit nil arguments. (Bug#14565)
13127
13128 2013-06-05 Alan Mackenzie <acm@muc.de>
13129
13130 * isearch.el (isearch-allow-prefix): New user option.
13131 (isearch-other-meta-char): Don't exit isearch when a prefix
13132 argument is typed whilst `isearch-allow-prefix' is non-nil.
13133 (Bug#9706)
13134
13135 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * autorevert.el (auto-revert-notify-handler): Use memq.
13138 Hide assertion failure.
13139
13140 * skeleton.el: Use cl-lib.
13141 (skeleton-further-elements): Use defvar-local.
13142 (skeleton-insert): Use cl-progv.
13143
13144 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13145
13146 * progmodes/prog-mode.el (prog-prettify-symbols)
13147 (prog-prettify-install): Update docstrings.
13148
13149 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13150
13151 * simple.el: Move all the prog-mode code to prog-mode.el.
13152 * progmodes/prog-mode.el: New file.
13153 * loadup.el: Add prog-mode.el.
13154
13155 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13156
13157 * simple.el (prog-prettify-symbols): Add version.
13158 (prog-prettify-install): Add convenience function to prettify symbols.
13159
13160 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13161 (perl--augmented-font-lock-keywords-1)
13162 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13163 variables and use it.
13164
13165 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13166 (cfengine3-mode): Remove unneeded variable and use it.
13167
13168 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13169 (lisp--augmented-font-lock-keywords-1)
13170 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13171 Remove unneeded variables and use it.
13172
13173 2013-06-05 João Távora <joaotavora@gmail.com>
13174
13175 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13176 to point when opening the connection. (Bug#14380)
13177
13178 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13179
13180 * subr.el (load-history-regexp, load-history-filename-element)
13181 (eval-after-load, after-load-functions, do-after-load-evaluation)
13182 (eval-next-after-load, display-delayed-warnings)
13183 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13184 definition of save-match-data.
13185 (overriding-local-map): Remove accidental obsolescence declaration.
13186
13187 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13188
13189 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13190
13191 Generalize symbol prettify support to prog-mode and implement it
13192 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13193 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13194 (prog--prettify-font-lock-compose-symbol)
13195 (prog-prettify-font-lock-symbols-keywords): New variables and
13196 functions to support symbol prettification.
13197 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13198 (lisp--augmented-font-lock-keywords-1)
13199 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13200 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13201 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13202 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13203 Implement prettify of -> => :: strings.
13204 * progmodes/perl-mode.el (perl-prettify-symbols)
13205 (perl--font-lock-compose-symbol)
13206 (perl--font-lock-symbols-keywords): Move to prog-mode.
13207 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13208 (perl-font-lock-keywords-1)
13209 (perl-font-lock-keywords-2): Remove explicit prettify support.
13210 (perl--augmented-font-lock-keywords)
13211 (perl--augmented-font-lock-keywords-1)
13212 (perl--augmented-font-lock-keywords-2, perl-mode):
13213 Implement prettify support.
13214
13215 2013-06-05 Leo Liu <sdl.web@gmail.com>
13216
13217 Re-implement SMIE matching block highlight using
13218 show-paren-data-function. (Bug#14395)
13219 * emacs-lisp/smie.el (smie-matching-block-highlight)
13220 (smie--highlight-matching-block-overlay)
13221 (smie--highlight-matching-block-lastpos)
13222 (smie-highlight-matching-block)
13223 (smie-highlight-matching-block-mode): Remove.
13224 (smie--matching-block-data-cache): New variable.
13225 (smie--matching-block-data): New function.
13226 (smie-setup): Use smie--matching-block-data for
13227 show-paren-data-function.
13228
13229 * progmodes/octave.el (octave-mode-menu): Fix.
13230 (octave-find-definition): Skip garbage lines.
13231
13232 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 Fix compilation error with simultaneous dynamic+lexical scoping.
13235 Add warning when a defvar appears after the first let-binding.
13236 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13237 (byte-compile-close-variables): Initialize it.
13238 (byte-compile--declare-var): New function.
13239 (byte-compile-file-form-defvar)
13240 (byte-compile-file-form-define-abbrev-table)
13241 (byte-compile-file-form-custom-declare-variable): Use it.
13242 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13243 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13244 (byte-compile-bind): Handle dynamic bindings that shadow
13245 lexical bindings.
13246 (byte-compile-unbind): Make arg non-optional.
13247 (byte-compile-let): Simplify.
13248 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13249 (cconv--analyse-function, cconv-analyse-form): Populate it.
13250 Protect byte-compile-bound-variables to limit the scope of defvars.
13251 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13252 Remove unneeded rule for `declare'.
13253
13254 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13255 so as to avoid depending on cl-adjoin at run-time.
13256 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13257
13258 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13259 (macroexp--warn-and-return): Use it.
13260
13261 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13262
13263 * subr.el: Convert to lexical binding.
13264 (overriding-local-map): Make obsolete.
13265 (add-to-list): Doc fix. Add compiler macro.
13266 (read-key): Swap values of local maps.
13267
13268 2013-06-05 Leo Liu <sdl.web@gmail.com>
13269
13270 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13271
13272 2013-06-04 Leo Liu <sdl.web@gmail.com>
13273
13274 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13275 (compilation-auto-jump): Suppress the "Mark set" message to give
13276 way to exit message.
13277
13278 2013-06-04 Alan Mackenzie <acm@muc.de>
13279
13280 Remove faulty optimisation from indentation calculation.
13281 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13282 search limit based on 2000 characters back from indent-point.
13283
13284 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13285
13286 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13287
13288 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13289
13290 * emacs-lisp/lisp.el: Use lexical-binding.
13291 (lisp--local-variables-1, lisp--local-variables): New functions.
13292 (lisp--local-variables-completion-table): New var.
13293 (lisp-completion-at-point): Use it complete let-bound vars.
13294
13295 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13296 eagerly (bug#14422).
13297
13298 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13299
13300 * autorevert.el (auto-revert-notify-enabled)
13301 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13302 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13303 (auto-revert-notify-handler): Handle also gfilenotify.
13304
13305 * subr.el (file-notify-handle-event): New defun. Replacing ...
13306 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13307 Remove.
13308
13309 2013-06-03 Juri Linkov <juri@jurta.org>
13310
13311 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13312 `M-s h .'. (Bug#14427)
13313
13314 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13315 command `hi-lock-face-symbol-at-point'.
13316 (hi-lock-face-symbol-at-point): New command.
13317 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13318 (hi-lock-menu): Add `highlight-symbol-at-point'.
13319 (hi-lock-mode): Doc fix.
13320
13321 * isearch.el (isearch-forward-symbol-at-point): New command.
13322 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13323 (isearch-highlight-regexp): Add a regexp which matches
13324 words/symbols for word/symbol mode.
13325
13326 * subr.el (find-tag-default-bounds): New function with the body
13327 mostly moved from `find-tag-default'.
13328 (find-tag-default): Move most code to `find-tag-default-bounds',
13329 call it and apply `buffer-substring-no-properties' afterwards.
13330
13331 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13332
13333 * eshell/em-term.el (eshell-term-initialize):
13334 Use `cl-intersection' rather than `intersection'.
13335
13336 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13337
13338 * vc/log-view.el: Doc fix.
13339 (log-view-mode-map): Copy keymap from `special-mode-map'.
13340
13341 2013-06-02 Eric Ludlam <zappo@gnu.org>
13342
13343 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13344 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13345 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13346 (eieio-unbound, eieio-default-superclass)
13347 (eieio--define-field-accessors, method-static, method-before)
13348 (method-primary, method-after, method-num-lists)
13349 (method-generic-before, method-generic-primary)
13350 (method-generic-after, method-num-slots)
13351 (eieio-specialized-key-to-generic-key)
13352 (eieio--check-type, class-v, class-p)
13353 (eieio-class-name, define-obsolete-function-alias)
13354 (eieio-class-parents-fast, eieio-class-children-fast)
13355 (same-class-fast-p, class-constructor, generic-p)
13356 (generic-primary-only-p, generic-primary-only-one-p)
13357 (class-option-assoc, class-option, eieio-object-p)
13358 (class-abstract-p, class-method-invocation-order)
13359 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13360 (eieio-class-un-autoload, eieio-defclass)
13361 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13362 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13363 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13364 (eieio-defgeneric-reset-generic-form)
13365 (eieio-defgeneric-form-primary-only)
13366 (eieio-defgeneric-reset-generic-form-primary-only)
13367 (eieio-defgeneric-form-primary-only-one)
13368 (eieio-defgeneric-reset-generic-form-primary-only-one)
13369 (eieio-unbind-method-implementations)
13370 (eieio--defmethod, eieio--typep)
13371 (eieio-perform-slot-validation, eieio-validate-slot-value)
13372 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13373 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13374 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13375 (eieio-slot-name-index, eieio-class-slot-name-index)
13376 (eieio-set-defaults, eieio-initarg-to-attribute)
13377 (eieio-attribute-to-initarg, eieio-c3-candidate)
13378 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13379 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13380 (eieio-class-precedence-list, eieio-generic-call-methodname)
13381 (eieio-generic-call-arglst, eieio-generic-call-key)
13382 (eieio-generic-call-next-method-list)
13383 (eieio-pre-method-execution-functions, eieio-generic-call)
13384 (eieio-generic-call-primary-only, eieiomt-method-list)
13385 (eieiomt-optimizing-obarray, eieiomt-install)
13386 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13387 (eieio-generic-form, eieio-defmethod, make-obsolete)
13388 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13389 (defclass): Remove `eval-and-compile' from macro.
13390 (call-next-method, shared-initialize): Instead of using
13391 `scoped-class' variable, use new eieio--scoped-class, and
13392 eieio--with-scoped-class.
13393 (initialize-instance): Rename local variable 'scoped-class' to
13394 'this-class' to remove ambiguitity from old global.
13395
13396 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13397 eieio.el.
13398 (eieio--scoped-class-stack): New variable.
13399 (eieio--scoped-class): New fcn.
13400 (eieio--with-scoped-class): New scoping macro.
13401 (eieio-defclass): Use pushnew instead of add-to-list.
13402 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13403 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13404 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13405 `scoped-class' variable, use new eieio--scoped-class, and
13406 eieio--with-scoped-class.
13407
13408 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13409
13410 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13411
13412 * eshell/esh-ext.el (eshell-external-command): Pass args to
13413 `eshell-find-interpreter'.
13414 (eshell-find-interpreter): Add new second parameter ARGS.
13415
13416 * eshell/em-script.el (eshell-script-initialize): Add second arg
13417 to the function added as MATCH to `eshell-interpreter-alist'.
13418
13419 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13420 the function added as MATCH to `eshell-interpreter-alist'.
13421
13422 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13423 (eshell-visual-options): New defcustom.
13424 (eshell-escape-control-x): Adapt docstring.
13425 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13426 `eshell-visual-options' in addition to `eshell-visual-commands'.
13427 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13428
13429 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13430
13431 * progmodes/python.el (python-indent-block-enders): Add break,
13432 continue and raise keywords.
13433
13434 2013-06-01 Glenn Morris <rgm@gnu.org>
13435
13436 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13437
13438 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13439 * progmodes/cc-cmds.el (delete-forward-p):
13440 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13441 * progmodes/cc-engine.el (buffer-syntactic-context):
13442 * progmodes/cc-fonts.el (face-property-instance):
13443 * progmodes/cc-mode.el (set-keymap-parents):
13444 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13445 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13446 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13447 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13448 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13449
13450 * progmodes/cc-vars.el (other): Emacs has this widget since
13451 at least 21.1, so don't (re)define it.
13452
13453 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13454 Replace the obsolete alias pcomplete-arg-quote-list.
13455
13456 2013-06-01 Leo Liu <sdl.web@gmail.com>
13457
13458 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13459 punctuation syntax.
13460 (inferior-octave-minimal-columns)
13461 (inferior-octave-last-column-width): New variables.
13462 (inferior-octave-track-window-width-change): New function.
13463 (inferior-octave-mode): Adjust column width so that Octave output,
13464 for example from 'ls', can fit into the window nicely.
13465
13466 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13467
13468 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13469 Highlight expansions inside regexp literals.
13470
13471 2013-05-31 Glenn Morris <rgm@gnu.org>
13472
13473 * obsolete/sym-comp.el (symbol-complete):
13474 Replace obsolete completion-annotate-function.
13475
13476 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13477
13478 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13479
13480 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13481 New function, checks if point is inside a literal that allows
13482 expression expansion.
13483 (ruby-syntax-propertize-expansion): Use it.
13484 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13485 around the body.
13486
13487 2013-05-30 Juri Linkov <juri@jurta.org>
13488
13489 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13490 to "\M-si".
13491 (isearch-invisible): New variable.
13492 (isearch-forward): Doc fix.
13493 (isearch-mode): Set `isearch-invisible'
13494 to the value of `search-invisible'.
13495 (isearch-toggle-case-fold): Doc fix.
13496 (isearch-toggle-invisible): New command.
13497 (isearch-query-replace): Let-bind `search-invisible'
13498 to the value of `isearch-invisible'.
13499 (isearch-search): Use `isearch-invisible' instead of
13500 `search-invisible'. Let-bind `search-invisible'
13501 to the value of `isearch-invisible'. (Bug#11378)
13502
13503 2013-05-30 Juri Linkov <juri@jurta.org>
13504
13505 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13506 call when `query-flag' is nil and `search-invisible' is non-nil.
13507 (Bug#11746)
13508
13509 2013-05-30 Glenn Morris <rgm@gnu.org>
13510
13511 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13512
13513 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13514 (cc-require): Suppress spurious "noruntime" warnings.
13515 (cc-require-when-compile): Use fboundp, for sake of compiler.
13516
13517 * progmodes/cc-mode.el: Move load of cc-vars before that of
13518 cc-langs (which in turn loads cc-vars), to quieten compiler.
13519
13520 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13521
13522 * paren.el: Simplify the code.
13523 (show-paren-mode): Always start the timer.
13524 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13525 (show-paren--overlay, show-paren--overlay-1): Rename from
13526 show-paren-overlay and show-paren-overlay-1, and initialize to an
13527 overlay rather than to nil.
13528 (show-paren-function): Misc cleanup and simplifications.
13529
13530 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13531
13532 * paren.el (show-paren-data-function): New hook.
13533 (show-paren--default): New function, extracted from show-paren-function.
13534 (show-paren-function): Use show-paren-data-function.
13535
13536 2013-05-30 Glenn Morris <rgm@gnu.org>
13537
13538 * ielm.el (ielm-map, ielm-complete-symbol):
13539 Use completion-at-point rather than obsolete functions.
13540 (inferior-emacs-lisp-mode): Doc fix.
13541 Set completion-at-point-functions, rather than
13542 comint-dynamic-complete-functions.
13543
13544 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13545 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13546 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13547
13548 * image.el (image-animated-p): Tweak definition.
13549
13550 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13551 (rlogin-process-connection-type): Tweak default. Add set-after.
13552 (rlogin-host): Doc fix.
13553 (rlogin): Tweak prompt.
13554 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13555
13556 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13557 * progmodes/tcl.el (inferior-tcl-mode-map):
13558 Use completion-at-point rather than obsolete alias.
13559
13560 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13561
13562 * minibuffer.el (read-file-name-completion-ignore-case):
13563 Move before completion--in-region, for eager macro expansion.
13564
13565 2013-05-29 Juri Linkov <juri@jurta.org>
13566
13567 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13568 for total count of matching lines. Add `global-matches' for total
13569 count of matches. Rename `matches' to `lines' for count of
13570 matching lines. Add `matches' for count of matches.
13571 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13572 to `prev-line' for line number of prev match endpt.
13573 Increment `matches' for every match. Print the number of
13574 matching lines in the header.
13575 (occur-context-lines): Rename `lines' to `curr-line'.
13576 Rename `prev-lines' to `prev-line'. (Bug#14017)
13577
13578 2013-05-29 Juri Linkov <juri@jurta.org>
13579
13580 * replace.el (perform-replace): Add `skip-read-only-count',
13581 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13582 Increment them for corresponding conditions and report the number
13583 of skipped occurrences in the final message. (Bug#11746)
13584 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13585 (replace-string, replace-regexp): Doc fix.
13586
13587 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13588
13589 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13590
13591 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13592 prog-mode-map (bug#14504).
13593
13594 2013-05-29 Leo Liu <sdl.web@gmail.com>
13595
13596 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13597 (octave-help): Small simplification.
13598
13599 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13600 off the highlight first.
13601
13602 2013-05-29 Glenn Morris <rgm@gnu.org>
13603
13604 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13605 Handle idlwave-last-system-routine-info-cons-cell being nil.
13606
13607 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13608 (idlwave-write-paths): Simplify via with-temp-buffer.
13609
13610 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13611 * emulation/cua-rect.el: Also load cua-base at run time.
13612
13613 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13614 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13615 (cperl-imenu-on-info): Require imenu.
13616
13617 2013-05-28 Alan Mackenzie <acm@muc.de>
13618
13619 Handle "capitalised keywords" correctly.
13620 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13621
13622 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13623
13624 * eshell/em-unix.el: Add -r option to cp.
13625
13626 2013-05-28 Glenn Morris <rgm@gnu.org>
13627
13628 * vc/vc-arch.el (vc-exec-after): Declare.
13629 (vc-switches): Autoload.
13630 * vc/vc-bzr.el: No need to require vc when compiling.
13631 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13632 (vc-resynch-buffer, vc-dir-refresh): Declare.
13633 (vc-setup-buffer, vc-switches): Autoload.
13634 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13635 (vc-resynch-buffer): Declare.
13636 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13637 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13638 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13639 (grep-read-regexp, grep-read-files, grep-expand-template)
13640 (vc-dir-refresh): Declare.
13641 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13642 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13643 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13644 * vc/vc-mtn.el (vc-exec-after): Declare.
13645 (vc-switches): Autoload.
13646 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13647 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13648 (vc-file-tree-walk): Declare.
13649 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13650 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13651 (vc-tag-precondition, vc-rename-master): Autoload.
13652 * vc/vc-svn.el (vc-exec-after): Declare.
13653 (vc-switches, vc-setup-buffer): Autoload.
13654 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13655 Autoload.
13656 (vc-resynch-buffer): Declare.
13657
13658 * obsolete/fast-lock.el (byte-compile-warnings):
13659 Don't warn about obsolete features in this obsolete file.
13660
13661 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13662 Move definition before use.
13663
13664 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13665 (dun-unix-verbs): Remove dun-zippy.
13666 (dun-zippy): Remove function.
13667
13668 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13669
13670 2013-05-27 Juri Linkov <juri@jurta.org>
13671
13672 * replace.el (replace-search): New function with code moved out
13673 from `perform-replace'.
13674 (replace-highlight, replace-dehighlight): Move function definitions
13675 up closer to `replace-search'. (Bug#11746)
13676
13677 2013-05-27 Juri Linkov <juri@jurta.org>
13678
13679 * replace.el (perform-replace): Ignore invisible matches.
13680 In addition to checking `query-replace-skip-read-only', also
13681 filter out matches by calling `run-hook-with-args-until-failure'
13682 on `isearch-filter-predicates', and also check `search-invisible'
13683 for t or call `isearch-range-invisible'.
13684 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13685
13686 2013-05-27 Juri Linkov <juri@jurta.org>
13687
13688 * isearch.el (isearch-filter-predicates): Rename from
13689 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13690 (isearch-message-prefix): Display text from the property
13691 `isearch-message-prefix' of the currently active filters.
13692 (isearch-search): Don't compare `isearch-filter-predicate' with
13693 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13694 on `isearch-filter-predicates'. Also check `search-invisible' for t
13695 or call `isearch-range-invisible'.
13696 (isearch-filter-visible): Make obsolete.
13697 (isearch-lazy-highlight-search):
13698 Call `run-hook-with-args-until-failure' on
13699 `isearch-filter-predicates' and use `isearch-range-invisible'.
13700
13701 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13702 `isearch-filter-predicates' instead of `funcall'ing
13703 `isearch-filter-predicate'.
13704 (Info-mode): Set `Info-isearch-filter' to
13705 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13706
13707 * dired-aux.el (dired-isearch-filter-predicate-orig):
13708 Remove variable.
13709 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13710 (dired-isearch-filenames-end): Add and remove
13711 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13712 instead of changing the value of `isearch-filter-predicate'.
13713 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13714 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13715 Put property `isearch-message-prefix' to "filename " on
13716 `dired-isearch-filter-filenames'.
13717
13718 * wdired.el (wdired-change-to-wdired-mode):
13719 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13720 locally instead of changing `isearch-filter-predicate'.
13721 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13722
13723 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13724
13725 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13726 return the commit hash (Bug#14459). Also set the
13727 `vc-git-detached' property.
13728 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13729 (vc-git-mode-line-string): Use the same help-echo format whether
13730 in detached mode or not, because we know the actual revision now.
13731 When in detached mode, shorten the revision to 7 chars.
13732
13733 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13734
13735 * emacs-lisp/easy-mmode.el (define-minor-mode):
13736 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13737 mode hook and provide a docstring.
13738
13739 2013-05-27 Alan Mackenzie <acm@muc.de>
13740
13741 Remove spurious syntax-table text properties inserted by C-y.
13742 * progmodes/cc-mode.el (c-after-change): Also clear hard
13743 syntax-table property with value nil.
13744
13745 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13746
13747 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13748 when reading the events; the buffer layout shall not be changed.
13749
13750 2013-05-27 Leo Liu <sdl.web@gmail.com>
13751
13752 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13753 New variable.
13754 (inferior-octave-directory-tracker): Automatically re-sync
13755 default-directory.
13756 (octave-help): Improve handling of 'See also'.
13757
13758 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13759
13760 * doc-view.el: Minor naming convention tweaks.
13761 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13762
13763 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13764 even if there's no `display' property yet (bug#14435).
13765
13766 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13767
13768 * subr.el (unmsys--file-name): Rename from reveal-filename.
13769
13770 * Makefile.in (custom-deps, finder-data, autoloads)
13771 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13772 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13773 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13774
13775 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13776
13777 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13778 error-completion on the first 2 args of condition-case (bug#14446).
13779 Don't burp at EOB.
13780
13781 2013-05-25 Leo Liu <sdl.web@gmail.com>
13782
13783 * comint.el (comint-previous-matching-input): Do not flood the
13784 *Messages* buffer with trivial messages.
13785
13786 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13787
13788 * progmodes/flymake.el (flymake-nop): Don't return a string.
13789 (flymake-set-at): Fix typo.
13790
13791 * simple.el (read--expression): New function, extracted from
13792 eval-expression. Set completion-at-point-functions (bug#14465).
13793 (eval-expression, eval-minibuffer): Use it.
13794
13795 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13796
13797 * progmodes/flymake.el (flymake-save-buffer-in-file)
13798 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13799 (flymake-selected-frame, flymake-log, flymake-ins-after)
13800 (flymake-set-at, flymake-get-buildfile-from-cache)
13801 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13802 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13803 Refine the doc string.
13804 (flymake-get-file-name-mode-and-masks): Reformat.
13805 (flymake-get-real-file-name-function): Fix a minor bug.
13806
13807 2013-05-24 Juri Linkov <juri@jurta.org>
13808
13809 * progmodes/grep.el (grep-mode-font-lock-keywords):
13810 Support =linenumber= format used by git-grep for lines with
13811 function names. (Bug#13549)
13812
13813 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13814
13815 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13816 0 after a semi-colon; it works better for smie-auto-fill.
13817 (octave--indent-new-comment-line): New function.
13818 (octave-indent-new-comment-line): Use it (indirectly).
13819 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13820 modify comment-line-break-function.
13821
13822 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13823 (smie-setup): Use add-function to set it.
13824
13825 2013-05-24 Sam Steingold <sds@gnu.org>
13826
13827 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13828 argument (before the `interactive' argument).
13829
13830 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13831
13832 * image-mode.el (image-mode-winprops): Add winprops to
13833 image-mode-winprops-alist before running
13834 image-mode-new-window-functions.
13835 * doc-view.el (doc-view-new-window-function): Don't delay
13836 doc-view-goto-page via timers (bug#14435).
13837
13838 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13839
13840 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13841 (doc-view-desktop-save-buffer): New function.
13842 (doc-view-restore-desktop-buffer): New function.
13843 (desktop-buffer-mode-handlers):
13844 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13845 handler.
13846 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13847 `desktop-save-buffer' function.
13848
13849 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13850
13851 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13852 (tramp-gvfs-file-name-handler): Raise a user error when
13853 `tramp-gvfs-enabled' is nil.
13854 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13855 Do not raise a user error when loading package. (Bug#14447)
13856
13857 * net/xesam.el: Move to obsolete/.
13858
13859 2013-05-24 Glenn Morris <rgm@gnu.org>
13860
13861 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13862
13863 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13864
13865 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13866 (Info-find-node, Man-getpage-in-background): Declare.
13867
13868 * mail/unrmail.el (unrmail):
13869 Replace obsolete detect-coding-with-priority.
13870
13871 * net/socks.el (socks-split-string): Use this rather than split-string.
13872 (socks-nslookup-host): Update for above change.
13873 (dynamic-choice, s5-dynamic-choice-match)
13874 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13875 Comment out unused code.
13876
13877 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13878 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13879 (gud-tooltip-echo-area): Make obsolete.
13880 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13881
13882 * progmodes/js.el (js--optimize-arglist): Declare.
13883
13884 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13885
13886 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13887 (ediff-window-C): Declare.
13888
13889 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13890 Tweak requires to silence compiler.
13891
13892 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13893 (he-search-string, he-tried-table, he-expand-list)
13894 (he-init-string, he-string-member, he-substitute-string)
13895 (he-reset-string): Declare.
13896
13897 * obsolete/options.el (list-options): Use custom-variable-p,
13898 rather than obsolete alias.
13899
13900 2013-05-23 Sam Steingold <sds@gnu.org>
13901
13902 * simple.el (shell-command-on-region): Pass the `replace' argument
13903 down to `call-process-region' to comply with the doc as reported on
13904 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13905
13906 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13907
13908 * emacs-lisp/smie.el (smie-indent-forward-token)
13909 (smie-indent-backward-token): Handle string tokens (bug#14381).
13910
13911 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13912
13913 * ielm.el (ielm-menu): New menu.
13914 (inferior-emacs-lisp-mode): Set comment-start.
13915
13916 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13917
13918 * textmodes/reftex.el (reftex-ref-style-toggle):
13919 Fix deactivate action.
13920
13921 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13922 Add cleveref macros.
13923
13924 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13925 Accept options for bibliography commands.
13926 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13927 Add addbibresource. Basic Biblatex support.
13928
13929 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13930
13931 * net/tramp-gvfs.el (top):
13932 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13933 when loading package. (Bug#14447)
13934
13935 2013-05-23 Glenn Morris <rgm@gnu.org>
13936
13937 * progmodes/js.el: No need to load comint when compiling.
13938 (ring-insert, comint-send-string, comint-send-input)
13939 (comint-last-input-end, ido-chop): Declare.
13940
13941 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13942 * vc/ediff-mult.el: Adjust requires.
13943 (ediff-directories-internal, ediff-directory-revisions-internal)
13944 (ediff-patch-file-internal): Declare.
13945 * vc/ediff-ptch.el: Adjust requires.
13946 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13947 (ediff-find-file): Autoload.
13948 * vc/ediff-util.el: No need to load ediff when compiling.
13949 (ediff-regions-internal): Declare.
13950 * vc/ediff-wind.el: Adjust requires.
13951 (ediff-compute-toolbar-width): Define when compiling.
13952 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13953 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13954 (dired-get-filename, dired-get-marked-files)
13955 (ediff-last-dir-patch, ediff-patch-default-directory)
13956 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13957 (ediff-patch-buffer-internal): Declare.
13958
13959 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13960 (ispell-process, ispell-buffer-local-words, lm-summary)
13961 (lm-section-start, lm-section-end): Declare.
13962 (checkdoc-ispell-init): Simplify.
13963
13964 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13965 (he-string-member, he-reset-string, he-substitute-string): Declare.
13966
13967 * eshell/em-ls.el: Adjust requires.
13968 (eshell-glob-regexp): Declare.
13969 * eshell/em-tramp.el: Adjust requires.
13970 (eshell-parse-command): Autoload.
13971 * eshell/em-xtra.el: Adjust requires.
13972 (eshell-parse-command): Autoload.
13973 * eshell/esh-ext.el: Adjust requires.
13974 (eshell-parse-command, eshell-close-handles): Autoload.
13975 * eshell/esh-io.el: Adjust requires.
13976 (eshell-output-filter): Autoload.
13977 * eshell/esh-util.el: No need to load tramp when compiling.
13978 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13979 Declare.
13980 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13981 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13982 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13983 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13984 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13985 * eshell/esh-opt.el, eshell/esh-proc.el:
13986 * eshell/esh-var.el: Adjust requires.
13987 * eshell/eshell.el: Do not require esh-util twice.
13988 (eshell-add-input-to-history): Declare.
13989 (eshell-command): Check history module is active before using it.
13990
13991 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13992
13993 2013-05-22 Leo Liu <sdl.web@gmail.com>
13994
13995 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13996
13997 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13998
13999 * autorevert.el (auto-revert-notify-add-watch)
14000 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14001 it indicates changes in file modification time.
14002
14003 2013-05-22 Glenn Morris <rgm@gnu.org>
14004
14005 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14006 Always delete the autoloaded function from the noruntime and
14007 unresolved functions lists.
14008
14009 * allout.el: No need to load epa, epg, overlay when compiling.
14010 (epg-context-set-passphrase-callback, epg-list-keys)
14011 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14012 (epg-key-user-id-list): Declare.
14013
14014 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14015 (viper-set-parsing-style-toggling-macro)
14016 (viper-set-emacs-state-searchstyle-macros):
14017 Use called-interactively-p on Emacs.
14018 (viper-looking-back): Make it an obsolete alias. Update callers.
14019 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14020 Use looking-back rather than viper-looking-back.
14021 (viper-tmp-insert-at-eob, viper-enlarge-region)
14022 (viper-read-string-with-history, viper-register-to-point)
14023 (viper-append-to-register, viper-change-state-to-vi)
14024 (viper-backward-char-carefully, viper-forward-char-carefully)
14025 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14026 (viper-change-state-to-emacs): Declare.
14027 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14028 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14029 * emulation/viper-mous.el: Do not load viper-cmd.
14030 (viper-backward-char-carefully, viper-forward-char-carefully)
14031 (viper-forward-word, viper-adjust-window): Declare.
14032
14033 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14034
14035 * progmodes/idlw-help.el (idlwave-help-fontify):
14036 Use called-interactively-p.
14037
14038 * term/w32console.el (w32-get-console-codepage)
14039 (w32-get-console-output-codepage): Declare.
14040
14041 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14042 Remove unnecessary declarations.
14043 (dframe-message): Doc fix.
14044
14045 * info.el (dframe-select-attached-frame, dframe-current-frame):
14046 Declare.
14047
14048 * speedbar.el (speedbar-message): Make it an obsolete alias.
14049 Update all callers.
14050 (speedbar-with-attached-buffer)
14051 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14052 (speedbar-with-writable): Use backquote.
14053 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14054 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14055 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14056 rather than speedbar- aliases.
14057 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14058 (speedbar-make-specialized-keymap, speedbar-insert-button)
14059 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14060 (speedbar-do-function-pointer): Declare.
14061 (rmail-speedbar-button, rmail-speedbar-find-file)
14062 (rmail-speedbar-move-message):
14063 Use dframe-with-attached-buffer rather than speedbar- alias.
14064 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14065 (dframe-message, speedbar-make-specialized-keymap)
14066 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14067 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14068 (speedbar-insert-button, dframe-select-attached-frame)
14069 (dframe-maybee-jump-to-attached-frame)
14070 (speedbar-change-initial-expansion-list)
14071 (speedbar-previously-used-expansion-list-name): Declare.
14072 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14073 Use dframe-message, dframe-with-attached-buffer rather than
14074 speedbar- aliases.
14075 (gud-sentinel): Silence compiler.
14076 * progmodes/vhdl-mode.el (speedbar-refresh)
14077 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14078 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14079 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14080 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14081 (speedbar-file-lists, speedbar-make-tag-line)
14082 (speedbar-line-directory, speedbar-goto-this-file)
14083 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14084 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14085 (speedbar-make-button, speedbar-reset-scanners)
14086 (speedbar-files-item-info, speedbar-line-text)
14087 (speedbar-find-file-in-frame, speedbar-set-timer)
14088 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14089 (speedbar-with-writable): Do not (re)define it.
14090 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14091 rather than speedbar- alias.
14092
14093 2013-05-21 Leo Liu <sdl.web@gmail.com>
14094
14095 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14096 menu items.
14097 (octave-mode): Tweak fill-nobreak-predicate.
14098 (inferior-octave-startup): Check process to avoid infinite loop.
14099 (inferior-octave): Pop to buffer first to show abornmal process
14100 exit information.
14101
14102 2013-05-21 Glenn Morris <rgm@gnu.org>
14103
14104 * printing.el (pr-menu-bar): Define when compiling.
14105
14106 2013-05-21 Leo Liu <sdl.web@gmail.com>
14107
14108 * progmodes/octave.el (octave-auto-fill): Remove.
14109 (octave-indent-new-comment-line): Improve.
14110 (octave-mode): Use auto fill mode through
14111 comment-line-break-function and fill-nobreak-predicate.
14112 (octave-goto-function-definition): Support DEFUN_DLD.
14113 (octave-beginning-of-defun): Small tweak.
14114 (octave-help): Show parent directory.
14115
14116 2013-05-21 Glenn Morris <rgm@gnu.org>
14117
14118 * files.el (dired-unmark):
14119 * progmodes/gud.el (gdb-input): Update declarations.
14120
14121 * calculator.el (electric, ehelp): No need to load when compiling.
14122 (Electric-command-loop, electric-describe-mode): Declare.
14123
14124 * doc-view.el (doc-view-current-converter-processes): Move before use.
14125
14126 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14127 Move MODE-set-explicitly definition before use.
14128
14129 * international/mule-diag.el (mule-diag):
14130 Don't use obsolete window-system-version.
14131
14132 * mail/feedmail.el (smtpmail): No need to load when compiling.
14133 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14134
14135 * mail/mail-utils.el (rfc822): No need to load when compiling.
14136 (rfc822-addresses): Autoload it.
14137 (mail-strip-quoted-names): Trivial simplification.
14138
14139 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14140 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14141
14142 * net/snmp-mode.el (tempo): Don't duplicate requires.
14143
14144 * progmodes/prolog.el (info): No need to load when compiling.
14145 (comint): Require before shell requires it.
14146 (Info-goto-node): Autoload it.
14147 (Info-follow-nearest-node): Declare.
14148 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14149
14150 * textmodes/artist.el (picture-mode-exit): Declare.
14151
14152 * textmodes/reftex-parse.el (reftex-parse-from-file):
14153 Trivial rewrite so the compiler can parse it better.
14154
14155 2013-05-20 Leo Liu <sdl.web@gmail.com>
14156
14157 * progmodes/octave.el (octave-help-mode-map)
14158 (octave-help-mode-finish-hook): New variables.
14159 (octave-help-mode, octave-help-mode-finish): New functions.
14160 (octave-help): Use octave-help-mode.
14161
14162 2013-05-20 Glenn Morris <rgm@gnu.org>
14163
14164 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14165
14166 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14167
14168 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14169 start at point, so that expansion starting right after opening
14170 slash in a regexp is recognized.
14171 (ruby-syntax-before-regexp-re): New defvar, extracted from
14172 ruby-syntax-propertize-function. Since the value of this regexp
14173 is looked up at runtime now, we should be able to turn
14174 `ruby-syntax-methods-before-regexp' into a defcustom later.
14175 (ruby-syntax-propertize-function): Split regexp matching into two
14176 parts, for opening and closing slashes. That allows us to skip
14177 over string interpolations and support multiline regexps.
14178 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14179 for them, which calls `ruby-syntax-propertize-expansion'.
14180 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14181 call to `ruby-syntax-propertize-function'.
14182 (ruby-syntax-propertize-expansion): Extracted from
14183 `ruby-syntax-propertize-expansions'. Handles one expansion.
14184 (ruby-syntax-propertize-percent-literal): Leave point right after
14185 the percent symbol, so that the expression expansion rule can
14186 propertize the contents.
14187 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14188 heredoc openers.
14189 (ruby-syntax-propertize-expansions): Remove.
14190
14191 2013-05-18 Juri Linkov <juri@jurta.org>
14192
14193 * man.el (Man-default-man-entry): Remove `-' from the end
14194 of the default value. (Bug#14400)
14195
14196 2013-05-18 Glenn Morris <rgm@gnu.org>
14197
14198 * comint.el (comint-password-prompt-regexp):
14199 Allow "password for XXX" where XXX contains colons (eg https://...).
14200
14201 2013-05-18 Leo Liu <sdl.web@gmail.com>
14202
14203 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14204 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14205 (octave-source-directories): Don't check process.
14206 (octave-source-directories, octave-find-definition): Doc fix.
14207
14208 2013-05-18 Glenn Morris <rgm@gnu.org>
14209
14210 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14211 Remove backspace/delete bindings. (Bug#14392)
14212
14213 * cus-dep.el (custom-make-dependencies): Sort the output.
14214 (custom-versions-load-alist): Convert comment to doc.
14215
14216 2013-05-17 Leo Liu <sdl.web@gmail.com>
14217
14218 * newcomment.el (comment-search-backward): Stricter in finding
14219 comment start. (Bug#14303)
14220
14221 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14222 (octave-comment-start-skip): Properly anchored.
14223
14224 2013-05-17 Leo Liu <sdl.web@gmail.com>
14225
14226 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14227 Clean up when turned off. (Bug#14395)
14228 (smie--highlight-matching-block-overlay): No longer buffer-local.
14229 (smie-highlight-matching-block): Adjust.
14230
14231 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14232
14233 Doc string fix for "nanoseconds" (Bug#14406).
14234 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14235 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14236
14237 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14238
14239 * calc/calc-units.el (math-extract-units): Preserve powers
14240 of units.
14241
14242 2013-05-17 Leo Liu <sdl.web@gmail.com>
14243
14244 * subr.el (delete-consecutive-dups): New function.
14245 * ido.el (ido-set-matches-1): Use it.
14246 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14247 * ido.el (ido-remove-consecutive-dups): Remove.
14248
14249 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14250
14251 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14252 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14253 regexp-opt's `words'.
14254
14255 2013-05-16 Leo Liu <sdl.web@gmail.com>
14256
14257 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14258 (smie--highlight-matching-block-overlay)
14259 (smie--highlight-matching-block-lastpos)
14260 (smie--highlight-matching-block-timer): New variables.
14261 (smie-highlight-matching-block): New function.
14262 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14263 (smie-setup): Conditionally enable smie-blink-matching-open.
14264
14265 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14266
14267 Sync with upstream verilog-mode r840.
14268 * progmodes/verilog-mode.el (verilog-mode-version)
14269 (verilog-mode-release-date): Update.
14270 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14271 (verilog-sig-tieoff): Fix string error on
14272 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14273 (verilog-read-decls): Fix parameters confusing
14274 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14275
14276 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14277
14278 * subr.el (reveal-filename): New function.
14279
14280 * loadup.el: Compute Emacs executable versions on MS-Windows,
14281 where executables have the .exe extension. Add a hard link
14282 emacs-XX.YY.ZZ.exe on MS-Windows.
14283
14284 * Makefile.in (XARGS_LIMIT): New variable.
14285 (custom-deps, finder-data, autoloads)
14286 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14287 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14288 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14289 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14290
14291 2013-05-16 Leo Liu <sdl.web@gmail.com>
14292
14293 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14294 (octave-mode-menu, octave-mode-map): Remove its uses.
14295
14296 2013-05-16 Reto Zimmermann <reto@gnu.org>
14297
14298 Sync with upstream vhdl mode v3.34.2.
14299 * progmodes/vhdl-mode.el: Use `push' throughout.
14300 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14301 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14302 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14303 (vhdl-actual-generic-name): New option to derive actual generic name.
14304 (vhdl-port-paste-signals): Replace formal by actual generics.
14305 (vhdl-beautify): New name for old group vhdl-align. Update users.
14306 (vhdl-beautify-options): New option.
14307 (vhdl-last-input-event): New compat alias. Use throughout.
14308 (vhdl-goto-line): Replace user level function `goto-line'.
14309 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14310 vhdl-fix-statement-buffer.
14311 (vhdl-create-mode-menu): Add some entries.
14312 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14313 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14314 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14315 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14316 to force statements on one line.
14317 (vhdl-remove-trailing-spaces-region):
14318 New, split from vhdl-remove-trailing-spaces.
14319 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14320 Respect vhdl-beautify-options.
14321 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14322 (vhdl-update-sensitivity-list): Not add with index if exists without.
14323 Not include array index with signal. Ignore keywords in comments.
14324 (vhdl-get-visible-signals): Regexp tweaks.
14325 (vhdl-template-component-inst): Handle empty library.
14326 (vhdl-template-type): Add template for 'enum' type.
14327 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14328 Use vhdl-replace-string.
14329 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14330 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14331 (vhdl-speedbar-initialize): Update for above name change.
14332 (vhdl-compose-wire-components): Fix in handling of constants.
14333 (vhdl-error-regexp-emacs-alist): New variable.
14334 (vhdl-error-regexp-add-emacs): New function;
14335 adds support for new compile.el (Emacs 22+)
14336 (vhdl-generate-makefile-1): Change target order for single lib. units.
14337 Allow use of absolute file names.
14338
14339 2013-05-16 Leo Liu <sdl.web@gmail.com>
14340
14341 * simple.el (prog-indent-sexp): Indent enclosing defun.
14342
14343 2013-05-15 Glenn Morris <rgm@gnu.org>
14344
14345 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14346 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14347 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14348 (whitespace-highlight): Move to whitespace group.
14349
14350 * comint.el (comint-source):
14351 * pcmpl-linux.el (pcmpl-linux):
14352 * shell.el (shell-faces):
14353 * eshell/esh-opt.el (eshell-opt):
14354 * international/ccl.el (ccl): Remove empty custom groups.
14355
14356 * completion.el (dynamic-completion-mode):
14357 * jit-lock.el (jit-lock-debug-mode):
14358 * minibuffer.el (completion-in-region-mode):
14359 * type-break.el (type-break-mode-line-message-mode)
14360 (type-break-query-mode):
14361 * emulation/tpu-edt.el (tpu-edt-mode):
14362 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14363 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14364 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14365
14366 * term/xterm.el (xterm): Change parent group to terminals.
14367
14368 * master.el (master): Remove empty custom group.
14369 (master-mode): Remove unused :group argument.
14370 * textmodes/refill.el (refill): Remove empty custom group.
14371 (refill-mode): Remove unused :group argument.
14372
14373 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14374
14375 * cus-dep.el: Provide a feature.
14376 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14377 Don't mistakenly ignore files whose basenames match a basename
14378 from preloaded-file-list (eg cedet/ede/simple.el).
14379 Add a fallback method for getting :group.
14380
14381 2013-05-15 Juri Linkov <juri@jurta.org>
14382
14383 * isearch.el (isearch-char-by-name): Rename from
14384 `isearch-insert-char-by-name'. Doc fix.
14385 (isearch-forward): Mention `isearch-char-by-name' in
14386 the docstring. (Bug#13348)
14387
14388 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14389 `exit-minibuffer' instead of
14390 `isearch-nonincremental-exit-minibuffer'.
14391 (isearch-edit-string): Remove mention of
14392 `isearch-nonincremental-exit-minibuffer' from docstring.
14393 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14394 (isearch-forward-exit-minibuffer)
14395 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14396
14397 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14398
14399 * loadup.el: Just use unversioned DOC.
14400
14401 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14402 literals as extending to EOB.
14403 (nxml-last-fontify-end): Remove unused variable.
14404 (nxml-after-change1): Use with-silent-modifications.
14405 (nxml-extend-after-change-region): Simplify.
14406 (nxml-extend-after-change-region1): Remove function.
14407 (nxml-after-change1): Don't adjust for dependent regions.
14408 (nxml-fontify-matcher): Simplify.
14409 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14410 (xmltok-add-dependent): Remove function.
14411 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14412 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14413 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14414 unclosed <[[, <?, comment, and other literals as extending to EOB.
14415 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14416 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14417 Remove functions.
14418 (rng-do-some-validation-1): Don't mark dependent regions.
14419 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14420 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14421 (nxml-clear-dependent-regions): Remove functions.
14422 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14423 (nxml-ensure-scan-up-to-date):
14424 Don't clear&mark dependent regions.
14425
14426 2013-05-15 Leo Liu <sdl.web@gmail.com>
14427
14428 * progmodes/octave.el (octave-goto-function-definition):
14429 Improve and fix callers.
14430
14431 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14432
14433 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14434 the setter (bug#14387).
14435
14436 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14437 surrounding group (bug#14402).
14438
14439 2013-05-14 Juri Linkov <juri@jurta.org>
14440
14441 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14442 (Bug#14390)
14443
14444 2013-05-14 Glenn Morris <rgm@gnu.org>
14445
14446 * progmodes/f90.el (f90-imenu-generic-expression):
14447 Fix typo in 2013-05-08 change. (Bug#14402)
14448
14449 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14450
14451 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14452 Remove signals for which replies are never received.
14453
14454 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14455
14456 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14457 (gdb-handler-alist, gdb-handler-number): Remove variables.
14458 (gdb-handler-list): New variable.
14459 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14460 (gdb-pending-handler-p, gdb-handle-reply)
14461 (gdb-remove-all-pending-triggers): New functions.
14462 (gdb-discard-unordered-replies): New defcustom.
14463 (gdb-handler): New defstruct.
14464 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14465 instead of gdb-pending-triggers. Update docstring.
14466 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14467 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14468 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14469 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14470 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14471 (gdb-frame-handler): Pending triggers are now automatically managed.
14472 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14473 Remove argument.
14474 (gdb-input): Automatically handles pending triggers. Update docstring.
14475 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14476 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14477 Update comments.
14478 (gdb-done-or-error): Now use gdb-handle-reply.
14479
14480 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14481
14482 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14483 gdb-debug-log.
14484
14485 2013-05-14 Glenn Morris <rgm@gnu.org>
14486
14487 * subr.el (user-emacs-directory-warning): New option.
14488 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14489
14490 2013-05-14 Leo Liu <sdl.web@gmail.com>
14491
14492 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14493 during redisplay.
14494 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14495 (octave-font-lock-texinfo-comment): Fix invalid search bound
14496 error: wrong side of point.
14497
14498 2013-05-14 Glenn Morris <rgm@gnu.org>
14499
14500 * progmodes/flymake.el (flymake-xml-program): New option.
14501 (flymake-xml-init): Use it.
14502
14503 * term/xterm.el: Provide a feature.
14504
14505 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14506
14507 2013-05-13 Glenn Morris <rgm@gnu.org>
14508
14509 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14510 Add compat aliases as a hack workaround. (Bug#14384)
14511
14512 2013-05-13 Leo Liu <sdl.web@gmail.com>
14513
14514 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14515 ###, and %!.
14516 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14517 C-M-q.
14518 (octave-comment-start-skip): Include %!.
14519 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14520
14521 2013-05-12 Leo Liu <sdl.web@gmail.com>
14522
14523 * progmodes/octave.el (inferior-octave-startup): Store the value
14524 of __octave_srcdir__ for octave-source-directories.
14525 (inferior-octave-check-process): New function refactored out of
14526 inferior-octave-send-list-and-digest.
14527 (octave-source-directories)
14528 (octave-find-definition-filename-function): New variables.
14529 (octave-source-directories)
14530 (octave-find-definition-default-filename): New functions.
14531 (octave-find-definition): Improve to find functions implemented in C++.
14532
14533 2013-05-12 Glenn Morris <rgm@gnu.org>
14534
14535 * calendar/diary-lib.el (diary-outlook-format-1):
14536 Don't include dayname in the output. (Bug#14349)
14537
14538 2013-05-11 Glenn Morris <rgm@gnu.org>
14539
14540 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14541
14542 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14543 Treat cc-provide like provide.
14544
14545 2013-05-11 Kevin Ryde <user42@zip.com.au>
14546
14547 * cus-dep.el (custom-make-dependencies):
14548 Use generated-autoload-load-name for the sake of files such
14549 such cedet/semantic/bovine/c.el, where the base file name
14550 is not in load-path. (Bug#5277)
14551
14552 2013-05-11 Glenn Morris <rgm@gnu.org>
14553
14554 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14555 Provide features.
14556
14557 2013-05-11 Leo Liu <sdl.web@gmail.com>
14558
14559 * progmodes/octave.el (octave-indent-comment): Improve.
14560 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14561 (octave-eldoc-function-signatures, octave-eldoc-function):
14562 New functions.
14563 (octave-mode, inferior-octave-mode): Add eldoc support.
14564
14565 2013-05-11 Richard Stallman <rms@gnu.org>
14566
14567 * epa.el (epa-decrypt-file): Take output file name as argument
14568 and read it using `interactive'.
14569
14570 2013-05-11 Leo Liu <sdl.web@gmail.com>
14571
14572 * progmodes/octave.el (octave-beginning-of-line)
14573 (octave-end-of-line): Check before using up-list because it jumps
14574 out of more syntactic contructs since moving to smie.
14575 (octave-indent-comment): New function.
14576 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14577 (octave-begin-keywords, octave-end-keywords)
14578 (octave-reserved-words, octave-smie-bnf-table)
14579 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14580
14581 2013-05-11 Glenn Morris <rgm@gnu.org>
14582
14583 * faces.el (internal-face-x-get-resource):
14584 * frame.el (ns-display-monitor-attributes-list):
14585 * calc/calc-aent.el (math-to-radians-2):
14586 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14587 Fix declarations.
14588
14589 * calc/calc-menu.el: Make it loadable in isolation.
14590
14591 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14592 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14593 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14594 (eudc-bbdb-query-internal): Require 'bbdb.
14595
14596 * lpr.el (lpr-headers-switches):
14597 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14598
14599 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14600
14601 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14602
14603 * term.el (term-set-escape-char): Make it idempotent.
14604
14605 2013-05-10 Leo Liu <sdl.web@gmail.com>
14606
14607 * progmodes/octave.el (inferior-octave-completion-table):
14608 No longer a function and all uses changed. Use cache to speed up
14609 completion due to bug#11906.
14610 (octave-beginning-of-defun): Re-write to be more general.
14611
14612 2013-05-10 Glenn Morris <rgm@gnu.org>
14613
14614 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14615
14616 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14617
14618 * comint.el (comint-redirect-send-command-to-process): Use :around
14619 rather than :override for comint-redirect-filter.
14620 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14621 Call it instead of comint-redirect-original-filter-function (which
14622 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14623
14624 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14625
14626 * frame.el (display-monitor-attributes-list): Add NS case.
14627 (ns-display-monitor-attributes-list): Declare.
14628
14629 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14630
14631 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14632
14633 2013-05-09 Glenn Morris <rgm@gnu.org>
14634
14635 * international/fontset.el (vertical-centering-font-regexp):
14636 Set standard-value.
14637
14638 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14639
14640 * bookmark.el (bookmark-search-delay):
14641 * cus-start.el (vertical-centering-font-regexp):
14642 * ps-mule.el (ps-mule-font-info-database-default):
14643 * ps-print.el (ps-default-fg, ps-default-bg):
14644 * type-break.el (type-break-good-break-interval):
14645 * whitespace.el (whitespace-indentation-regexp)
14646 (whitespace-space-after-tab-regexp):
14647 * emacs-lisp/testcover.el (testcover-1value-functions)
14648 (testcover-noreturn-functions, testcover-progn-functions)
14649 (testcover-prog1-functions):
14650 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14651 * eshell/em-glob.el (eshell-glob-translate-alist):
14652 * play/tetris.el (tetris-tty-colors):
14653 * progmodes/cpp.el (cpp-face-default-list):
14654 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14655 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14656 (idlwave-help-browser-generic-args):
14657 * progmodes/make-mode.el (makefile-special-targets-list):
14658 * progmodes/python.el (python-shell-virtualenv-path):
14659 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14660 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14661 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14662 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14663 * textmodes/reftex-vars.el (reftex-format-label-function):
14664 * textmodes/remember.el (remember-diary-file): Fix custom types.
14665
14666 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14667 Add :version.
14668
14669 2013-05-09 Leo Liu <sdl.web@gmail.com>
14670
14671 * progmodes/octave.el (inferior-octave-completion-at-point):
14672 Restore file completion. (Bug#14300)
14673 (inferior-octave-startup): Fix incorrect highlighting for the
14674 first prompt.
14675
14676 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14677
14678 * progmodes/ruby-mode.el: First cut at SMIE support.
14679 (ruby-use-smie): New var.
14680 (ruby-smie-grammar): New constant.
14681 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14682 (ruby-smie--forward-token, ruby-smie--backward-token)
14683 (ruby-smie-rules): New functions.
14684 (ruby-mode-variables): Setup SMIE if applicable.
14685
14686 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14687
14688 * simple.el (line-move-visual): Signal beginning/end of buffer
14689 only if vertical-motion moved less than it was requested. Avoids
14690 silly incorrect error messages when there are display strings with
14691 multiple newlines at EOL.
14692
14693 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14694
14695 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14696 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14697 (prolog-char-quote-workaround):
14698 * progmodes/cperl-mode.el (cperl-under-as-char):
14699 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14700 Mark as obsolete.
14701 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14702 their declaration.
14703 (vhdl-mode-syntax-table-init): Remove.
14704
14705 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14706 last change.
14707
14708 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14709 syntax for "_".
14710 (ld-script-font-lock-keywords):
14711 Change regexps to use things like \_< and \_>.
14712
14713 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14714 Change all regexps to use things like \_< and \_>.
14715
14716 * progmodes/autoconf.el (autoconf-definition-regexp)
14717 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14718 Handle a _ with symbol syntax.
14719 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14720
14721 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14722 Consolidate declaration.
14723 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14724 the declaration.
14725 (ada-create-syntax-table): Remove.
14726 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14727 already has the right syntax nowadays.
14728 (ada-goto-next-word): Don't change the syntax of "_".
14729
14730 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14731 with-wrapper-hook.
14732
14733 2013-05-08 Sam Steingold <sds@gnu.org>
14734
14735 * thingatpt.el (thing-at-point): Accept optional second argument
14736 NO-PROPERTIES to strip the text properties from the return value.
14737 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14738 to `thing-at-point' instead of stripping the properties ourselves.
14739 Also, when `thing-at-point' fails to find a url, prepend "http://"
14740 to the filename at point on the assumption that the user is
14741 pointing at something like gnu.org/gnu.
14742
14743 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14744
14745 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14746 * faces.el (crm-separator):
14747 Silence byte-compiler.
14748
14749 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14750 (tool-bar-map): Remove unneeded defvars.
14751
14752 2013-05-08 Leo Liu <sdl.web@gmail.com>
14753
14754 Re-work a fix for bug#10994 based on Le Wang's patch.
14755 * ido.el (ido-remove-consecutive-dups): New helper.
14756 (ido-completing-read): Use it.
14757 (ido-chop): Revert fix for bug#10994.
14758
14759 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14760
14761 * cus-edit.el (custom-save-variables):
14762 Pretty-print long values. (Bug#14187)
14763
14764 2013-05-08 Glenn Morris <rgm@gnu.org>
14765
14766 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14767 (m4-mode-syntax-table): Init in the defvar.
14768 (m4-mode-abbrev-table): Let define-derived-mode define it.
14769
14770 2013-05-08 Tom Tromey <tromey@redhat.com>
14771
14772 * progmodes/m4-mode.el (m4-mode-syntax-table):
14773 Do not treat "_" as word constituent. (Bug#14167)
14774
14775 2013-05-07 Glenn Morris <rgm@gnu.org>
14776
14777 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14778 Remove explicit eshell-isearch-cancel-map.
14779
14780 * progmodes/f90.el (f90-smart-end-names): New option.
14781 (f90-smart-end): Doc fix.
14782 (f90-end-block-optional-name): New constant.
14783 (f90-block-match): Respect f90-smart-end-names.
14784
14785 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14786
14787 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14788 about implicit semi-colons (bug#14218).
14789
14790 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14791
14792 * frame.el (display-monitor-attributes-list)
14793 (frame-monitor-attributes): New functions.
14794
14795 2013-05-06 Leo Liu <sdl.web@gmail.com>
14796
14797 * progmodes/octave.el (octave-syntax-propertize-function): Change
14798 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14799 (octave-font-lock-keywords): Use octave-operator-regexp.
14800 (octave-completion-at-point): Rename from
14801 octave-completion-at-point-function.
14802 (inferior-octave-directory-tracker): Robustify.
14803 (octave-text-functions): Remove and fix its uses. No such things
14804 any more.
14805
14806 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14807
14808 * emacs-lisp/trace.el (trace--display-buffer): New function.
14809 (trace-make-advice): Use it.
14810
14811 2013-05-06 Juri Linkov <juri@jurta.org>
14812
14813 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14814 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14815 Doc fix.
14816 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14817 in the help string. (Bug#12985)
14818
14819 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14820
14821 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14822
14823 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14824
14825 * progmodes/perl-mode.el: Add support for here documents.
14826 (perl-syntax-propertize-function): Match here-doc markers.
14827 (perl-syntax-propertize-special-constructs): Find their end.
14828 (perl-imenu-generic-expression): Use [:alnum:].
14829
14830 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14831 (advice--add-function): Refresh the advice if already present
14832 (bug#14317).
14833
14834 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14835
14836 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14837
14838 2013-05-06 Glenn Morris <rgm@gnu.org>
14839
14840 * w32-fns.el (w32-charset-info-alist): Declare.
14841
14842 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14843 of its defcustom properties.
14844 (eshell-cmpl-initialize): No need to load pcomplete.
14845
14846 * generic-x.el: No need to require comint when compiling.
14847
14848 * net/eudc-export.el: Make it loadable without bbdb.
14849 (top-level): Use require rather than load-library.
14850 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14851 (eudc-batch-export-records-to-bbdb)
14852 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14853 Require bbdb.
14854
14855 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14856
14857 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14858 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14859 some tweaks, instead.
14860
14861 2013-05-05 Leo Liu <sdl.web@gmail.com>
14862
14863 * progmodes/octave.el (octave-font-lock-keywords)
14864 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14865 (inferior-octave-send-list-and-digest): Improve error message.
14866 (octave-mode, inferior-octave-mode): Use setq-local.
14867 (octave-help): Set info-lookup-mode.
14868
14869 2013-05-05 Richard Stallman <rms@gnu.org>
14870
14871 * vc/compare-w.el (compare-windows-whitespace):
14872 Treat no-break space as whitespace.
14873
14874 * mail/rmailsum.el (rmail-summary-rmail-update):
14875 Detect empty summary and don't change selected message.
14876 (rmail-summary-goto-msg): Likewise.
14877
14878 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14879 Doc fixes, rename args.
14880
14881 2013-05-05 Alan Mackenzie <acm@muc.de>
14882
14883 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14884
14885 2013-05-05 Juri Linkov <juri@jurta.org>
14886
14887 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14888 to not add the length of the summary segment to the return value.
14889 (Bug#14125)
14890
14891 2013-05-05 Leo Liu <sdl.web@gmail.com>
14892
14893 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14894 (inferior-octave-output-filter): Remove.
14895 (octave-send-region, inferior-octave-startup): Fix callers.
14896 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14897 (octave-binary-file-extensions): New user variable.
14898 (octave-find-definition): Confirm if opening binary files.
14899 (octave-help-file): Use octave-find-definition to get the binary
14900 confirmation.
14901 (octave-help): Adjust for octave-help-file change.
14902
14903 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14906 Merge the two entries that handle function definitions.
14907 (pascal--syntax-propertize): New const.
14908 (pascal-mode): Use it. Use setq-local.
14909
14910 2013-05-04 Glenn Morris <rgm@gnu.org>
14911
14912 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14913 (diary-from-outlook): Respect diary-from-outlook-function.
14914
14915 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14916
14917 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14918 Move the declaration from C.
14919 (read-minibuffer, eval-minibuffer): Move from C.
14920 (completion-setup-function): Avoid minibuffer-completion-contents.
14921
14922 2013-05-03 Leo Liu <sdl.web@gmail.com>
14923
14924 * progmodes/octave.el (octave-font-lock-keywords): Do not
14925 dehighlight 'end' in comments or strings.
14926 (octave-completing-read, octave-goto-function-definition):
14927 New helpers.
14928 (octave-help-buffer): New user variable.
14929 (octave-help-file, octave-help-function): New button types.
14930 (octave-help): New command and bind it to C-h ;.
14931 (octave-find-definition): New command and bind it to M-.
14932 (user-error): Alias to error if not defined.
14933
14934 2013-05-02 Leo Liu <sdl.web@gmail.com>
14935
14936 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14937 for \. (bug#14332)
14938 (octave-font-lock-keywords): Include [ and {.
14939
14940 2013-05-02 Leo Liu <sdl.web@gmail.com>
14941
14942 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14943 (inferior-octave): Remove calling comint-mode and return the buffer.
14944 (inferior-octave-startup): Cosmetic changes.
14945
14946 2013-05-02 Leo Liu <sdl.web@gmail.com>
14947
14948 * progmodes/octave.el (octave-syntax-propertize-function):
14949 Include the case when ' is at line beginning. (Bug#14336)
14950
14951 2013-05-02 Glenn Morris <rgm@gnu.org>
14952
14953 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14954 * desktop.el (vc-dir-mode): Just autoload it here.
14955
14956 2013-05-02 Alan Mackenzie <acm@muc.de>
14957
14958 Eliminate variable c-standard-font-lock-fontify-region-function.
14959 * progmodes/cc-mode.el
14960 (c-standard-font-lock-fontify-region-function): Remove.
14961 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14962
14963 2013-05-01 Leo Liu <sdl.web@gmail.com>
14964
14965 * progmodes/octave.el: Compatible with older emacs-24 releases.
14966 (inferior-octave-has-built-in-variables): Remove. Built-in
14967 variables were removed from Octave in 2007.
14968 (inferior-octave-startup): Fix uses.
14969 (comint-line-beginning-position): Remove compatibility code for
14970 emacs 21.
14971
14972 2013-05-01 Juri Linkov <juri@jurta.org>
14973
14974 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14975
14976 2013-05-01 Juri Linkov <juri@jurta.org>
14977
14978 * comint.el (comint-previous-matching-input): Don't print message
14979 "History item: %d" when `isearch-mode' is active.
14980 (comint-history-isearch-message): Print message "History item: %d"
14981 when `comint-input-ring-index' is not empty and this function is
14982 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14983
14984 2013-05-01 Leo Liu <sdl.web@gmail.com>
14985
14986 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14987 definitions. Use completion-at-point to insert keywords.
14988 (octave-abbrev-start): Remove.
14989 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14990
14991 2013-04-30 Leo Liu <sdl.web@gmail.com>
14992
14993 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14994 change.
14995
14996 2013-04-30 Alan Mackenzie <acm@muc.de>
14997
14998 Handle arbitrarily long C++ member initialisation lists.
14999 * progmodes/cc-engine.el (c-back-over-member-initializers):
15000 new function.
15001 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15002 (most) member init lists.
15003
15004 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15005
15006 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15007 variable.
15008
15009 2013-04-30 Leo Liu <sdl.web@gmail.com>
15010
15011 * progmodes/octave.el (octave-variables): Remove. No builtin
15012 variables any more. All converted to functions.
15013 (octave-font-lock-keywords, octave-completion-at-point-function):
15014 Fix uses.
15015 (octave-font-lock-texinfo-comment): New user variable.
15016 (octave-texinfo-font-lock-keywords): New variable for texinfo
15017 comment block.
15018 (octave-function-comment-block): New face.
15019 (octave-font-lock-texinfo-comment): New function.
15020 (octave-mode): Font lock texinfo comment block.
15021
15022 2013-04-29 Leo Liu <sdl.web@gmail.com>
15023
15024 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15025 indexing expression.
15026 (octave-continuation-string): Do not use \.
15027 (inferior-octave-complete-impossible): Remove.
15028 (inferior-octave-completion-table)
15029 (inferior-octave-completion-at-point): Remove its uses.
15030 (inferior-octave-startup): completion_matches was introduced to
15031 Octave in 1996 so safe to assume it.
15032 (octave-function-file-comment): Improve to follow how Octave does it.
15033 (octave-update-function-file-comment): Tweak.
15034
15035 2013-04-29 Leo Liu <sdl.web@gmail.com>
15036
15037 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15038 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15039 (octave-function-file-comment): Fix typo.
15040 (octave-sync-function-file-names): Use read-char-choice.
15041
15042 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15043
15044 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15045 to t for the less important warnings.
15046
15047 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15048
15049 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15050
15051 2013-04-27 Glenn Morris <rgm@gnu.org>
15052
15053 * vc/log-view.el (log-view-current-entry):
15054 Treat "---" separator lines as part of the following rev. (Bug#14169)
15055
15056 2013-04-27 Juri Linkov <juri@jurta.org>
15057
15058 * subr.el (read-number): Doc fix about using it by interactive
15059 code letter `n'. (Bug#14254)
15060
15061 2013-04-27 Juri Linkov <juri@jurta.org>
15062
15063 * desktop.el (desktop-auto-save-timeout): New option.
15064 (desktop-file-checksum): New variable.
15065 (desktop-save): Add optional arg `auto-save' and don't auto-save
15066 if nothing changed.
15067 (desktop-auto-save-timer): New variable.
15068 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15069 (after-init-hook): Call `desktop-auto-save-set-timer'.
15070 Suggested by Reuben Thomas <rrt@sc3d.org> in
15071 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15072
15073 2013-04-27 Leo Liu <sdl.web@gmail.com>
15074
15075 * progmodes/octave.el (octave-function-file-p)
15076 (octave-skip-comment-forward, octave-function-file-comment)
15077 (octave-update-function-file-comment): New functions.
15078 (octave-mode-map): Bind C-c ; to
15079 octave-update-function-file-comment.
15080 (octave-mode-menu): Add octave-update-function-file-comment.
15081 (octave-mode, inferior-octave-mode): Fix doc-string.
15082 (octave-insert-defun): Conform to Octave's coding convention.
15083 (Bug#14285)
15084
15085 * files.el (basic-save-buffer): Don't let errors in
15086 before-save-hook prevent saving buffer.
15087
15088 2013-04-20 Roland Winkler <winkler@gnu.org>
15089
15090 * faces.el (read-face-name): Use completing-read if arg multiple
15091 is nil.
15092
15093 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15094
15095 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15096 displayed, move point to after the totals line.
15097 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15098 for the details.
15099
15100 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15101
15102 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15103 Add current dir to the load-path.
15104 (package-generate-autoloads): Don't rely on
15105 autoload-ensure-default-file.
15106
15107 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15108
15109 * textmodes/remember.el (remember-store-in-files): Document that
15110 the file name format is passed to `format-time-string'.
15111
15112 2013-04-26 Leo Liu <sdl.web@gmail.com>
15113
15114 * progmodes/octave.el (octave-sync-function-file-names): New function.
15115 (octave-mode): Use it in before-save-hook.
15116
15117 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15118
15119 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15120 (bug#14274).
15121
15122 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15123 \n and comment, even if it's not an implicit ; (bug#14218).
15124
15125 2013-04-26 Glenn Morris <rgm@gnu.org>
15126
15127 * subr.el (read-number): Once more use `read' rather than
15128 `string-to-number', to trap non-numeric input. (Bug#14254)
15129
15130 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15131
15132 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15133 Use `syntax-multiline' text property consistently instead of
15134 `font-lock-multiline'. (Bug#14237)
15135
15136 2013-04-26 Glenn Morris <rgm@gnu.org>
15137
15138 * emacs-lisp/shadow.el (list-load-path-shadows):
15139 No longer necessary to check for duplicate simple.el, since
15140 2012-07-07 change to init_lread to not include installation lisp
15141 directories in load-path when running uninstalled. (Bug#14270)
15142
15143 2013-04-26 Leo Liu <sdl.web@gmail.com>
15144
15145 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15146 (octave-mode, inferior-octave-mode): Use setq-local.
15147 (octave-not-in-string-or-comment-p): Rename to
15148 octave-in-string-or-comment-p.
15149 (octave-in-comment-p, octave-in-string-p)
15150 (octave-in-string-or-comment-p): Replace defsubst with defun.
15151
15152 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15153
15154 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15155
15156 2013-04-25 Bastien Guerry <bzg@gnu.org>
15157
15158 * textmodes/remember.el (remember-data-directory)
15159 (remember-directory-file-name-format): Fix custom types.
15160
15161 2013-04-25 Leo Liu <sdl.web@gmail.com>
15162
15163 * progmodes/octave.el (octave-completion-at-point-function):
15164 Make use of inferior octave process.
15165 (octave-initialize-completions): Remove.
15166 (inferior-octave-completion-table): New function.
15167 (inferior-octave-completion-at-point): Use it.
15168 (octave-completion-alist): Remove.
15169
15170 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15171
15172 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15173 (opascal-mode-syntax-table): New var.
15174 (opascal-literal-kind, opascal-is-literal-end)
15175 (opascal-literal-token-at): Rewrite.
15176 (opascal--literal-start-re, opascal-font-lock-keywords)
15177 (opascal--syntax-propertize): New constants.
15178 (opascal-font-lock-defaults): Adjust.
15179 (opascal-mode): Use them. Set comment-<foo> variables as well.
15180 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15181 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15182 (delphi-other-face, opascal-other-face): Remove face variables.
15183 (opascal-save-state): Remove macro.
15184 (opascal-fontifying-progress-step): Remove constant.
15185 (opascal--ignore-changes): Remove var.
15186 (opascal-set-token-property, opascal-parse-next-literal)
15187 (opascal-is-stable-literal, opascal-complete-literal)
15188 (opascal-is-literal-start, opascal-face-of)
15189 (opascal-parse-region, opascal-parse-region-until-stable)
15190 (opascal-fontify-region, opascal-after-change)
15191 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15192 (opascal-debug-parse-region, opascal-debug-parse-window)
15193 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15194 (opascal-debug-fontify-buffer): Remove.
15195 (opascal-debug-mode-map): Adjust accordingly.
15196
15197 2013-04-25 Leo Liu <sdl.web@gmail.com>
15198
15199 Merge octave-mod.el and octave-inf.el into octave.el with some
15200 cleanups.
15201 * progmodes/octave.el: New file renamed from octave-mod.el.
15202 * progmodes/octave-inf.el: Merged into octave.el.
15203 * progmodes/octave-mod.el: Renamed to octave.el.
15204
15205 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15206
15207 * textmodes/reftex-vars.el
15208 (reftex-label-ignored-macros-and-environments): New defcustom.
15209
15210 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15211
15212 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15213
15214 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15215 (smie-indent-keyword): Improve the check to ensure that the next
15216 comment is really on the same line.
15217 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15218
15219 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15220 semi-colons if the line is not otherwise empty (bug#14218).
15221
15222 2013-04-25 Glenn Morris <rgm@gnu.org>
15223
15224 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15225
15226 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15227
15228 * progmodes/opascal.el (opascal-set-token-property): Rename from
15229 opascal-set-text-properties and only set `token' (bug#14134).
15230 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15231 (opascal-literal-text-properties): Remove.
15232 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15233 Adjust callers.
15234
15235 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15236
15237 * textmodes/remember.el (remember-handler-functions): Add an
15238 option for a new handler `remember-store-in-files'.
15239 (remember-data-directory, remember-directory-file-name-format):
15240 New options.
15241 (remember-store-in-files): New function to store remember notes
15242 as separate files within a directory.
15243
15244 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15245
15246 * progmodes/compile.el (compilation-next-error-function):
15247 Pass "formats" to compilation-find-file (bug#11777).
15248
15249 2013-04-24 Glenn Morris <rgm@gnu.org>
15250
15251 * vc/vc-bzr.el (vc-bzr-print-log):
15252 * vc/vc-hg.el (vc-hg-print-log):
15253 * vc/vc-svn.el (vc-svn-print-log):
15254 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15255
15256 * vc/vc-bzr.el (vc-bzr-print-log):
15257 * vc/vc-cvs.el (vc-cvs-print-log):
15258 * vc/vc-git.el (vc-git-print-log):
15259 * vc/vc-hg.el (vc-hg-print-log):
15260 * vc/vc-mtn.el (vc-mtn-print-log):
15261 * vc/vc-rcs.el (vc-rcs-print-log):
15262 * vc/vc-sccs.el (vc-sccs-print-log):
15263 * vc/vc-svn.el (vc-svn-print-log):
15264 * vc/vc.el (vc-print-log-internal): Doc fixes.
15265
15266 2013-04-23 Glenn Morris <rgm@gnu.org>
15267
15268 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15269 Remove venerable code attempting to avoid substitute-command-keys.
15270
15271 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15272
15273 * textmodes/reftex-vars.el (reftex-label-regexps):
15274 Call `reftex-compile-variables' after changes to this variable.
15275
15276 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15277
15278 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15279 Use lexical-binding.
15280 (jit-lock-force-redisplay): Use markers, check buffer's continued
15281 existence and beware narrowed buffers.
15282 (jit-lock-fontify-now): Adjust call accordingly.
15283
15284 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15285
15286 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15287 to avoid misleading the user.
15288
15289 2013-04-22 Leo Liu <sdl.web@gmail.com>
15290
15291 * info-look.el: Prefer latex2e.info. (Bug#14240)
15292
15293 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15294
15295 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15296
15297 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15298 * net/tramp.el (tramp-call-process): ... here.
15299 (tramp-set-completion-function, tramp-parse-putty):
15300 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15301 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15302 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15303 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15304 (tramp-call-local-coding-command): Use `tramp-call-process'
15305 instead of `tramp-compat-call-process'.
15306
15307 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15308 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15309 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15310 (tramp-find-inline-compress): Improve traces.
15311 (tramp-maybe-send-script): Check for Perl binary.
15312 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15313
15314 2013-04-22 Daiki Ueno <ueno@gnu.org>
15315
15316 * epg.el (epg-context-pinentry-mode): New function.
15317 (epg-context-set-pinentry-mode): New function.
15318 (epg--start): Pass --pinentry-mode option to gpg command.
15319
15320 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15321
15322 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15323 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15324 `completion-at-point'. (Bug#13774)
15325
15326 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15327 default key binding for `describe-distribution' has been moved to
15328 `C-h C-o'. (Bug#13970)
15329
15330 2013-04-21 Glenn Morris <rgm@gnu.org>
15331
15332 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15333 Add doc strings.
15334 (vc-print-log): Clarify interactive prompt.
15335
15336 2013-04-20 Glenn Morris <rgm@gnu.org>
15337
15338 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15339 No longer include timestamp etc information.
15340
15341 2013-04-20 Roland Winkler <winkler@gnu.org>
15342
15343 * faces.el (read-face-name): Bug fix, return just one face if arg
15344 multiple is nil. (Bug#14209)
15345
15346 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15347
15348 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15349 (remove-function): Autoload.
15350
15351 * comint.el (comint-redirect-original-filter-function): Remove.
15352 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15353 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15354 (vc-cvs-annotate-command):
15355 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15356 * progmodes/prolog.el (prolog-consult-compile):
15357 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15358 Use add/remove-function instead.
15359 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15360 (gud-tooltip-process-output, gud-tooltip-tips):
15361 Use add/remove-function instead.
15362 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15363 (scheme-interaction-mode, exit-scheme-interaction-mode):
15364 Use add/remove-function instead.
15365
15366 * vc/vc-dispatcher.el: Use lexical-binding.
15367 (vc--process-sentinel): Rename from vc-process-sentinel.
15368 Change last arg to be the code to run. Don't use vc-previous-sentinel
15369 and vc-sentinel-commands any more.
15370 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15371 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15372
15373 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15374
15375 * progmodes/sh-script.el (sh-imenu-generic-expression):
15376 Handle function names with a single character. (Bug#14111)
15377
15378 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15379
15380 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15381 for subroutines defined in an eval (bug#14182).
15382
15383 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15384
15385 * bookmark.el (bookmark-completing-read): Improve handling of empty
15386 string (bug#14176).
15387
15388 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15389
15390 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15391
15392 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15393
15394 New faster Imenu implementation (bug#14058).
15395 * progmodes/python.el (python-imenu-prev-index-position)
15396 (python-imenu-format-item-label-function)
15397 (python-imenu-format-parent-item-label-function)
15398 (python-imenu-format-parent-item-jump-label-function):
15399 New vars.
15400 (python-imenu-format-item-label)
15401 (python-imenu-format-parent-item-label)
15402 (python-imenu-format-parent-item-jump-label)
15403 (python-imenu--put-parent, python-imenu--build-tree)
15404 (python-imenu-create-index, python-imenu-create-flat-index)
15405 (python-util-popn): New functions.
15406 (python-mode): Set imenu-create-index-function to
15407 python-imenu-create-index.
15408
15409 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15410
15411 * winner.el (winner-active-region): Use region-active-p, activate-mark
15412 and deactivate-mark (bug#14225).
15413
15414 * simple.el (deactivate-mark): Don't inline it.
15415
15416 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15417
15418 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15419
15420 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15421
15422 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15423 file extensions from the archive-mode entry in order to prefer
15424 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15425
15426 2013-04-18 Leo Liu <sdl.web@gmail.com>
15427
15428 * bindings.el (help-event-list): Add ?\?.
15429
15430 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15431
15432 * subr.el (with-wrapper-hook): Declare obsolete.
15433 * simple.el (filter-buffer-substring-function): New hook.
15434 (filter-buffer-substring): Use it.
15435 (filter-buffer-substring-functions): Mark obsolete.
15436 * minibuffer.el (completion-in-region-function): New hook.
15437 (completion-in-region): Use it.
15438 (completion-in-region-functions): Mark obsolete.
15439 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15440 * abbrev.el (abbrev-expand-function): New hook.
15441 (expand-abbrev): Use it.
15442 (abbrev-expand-functions): Mark obsolete.
15443 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15444 and :filter-return.
15445
15446 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15447
15448 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15449 and do not care about match data.
15450
15451 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15452
15453 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15454 completion tables when completing error conditions and
15455 `declare' arguments.
15456 (lisp-complete-symbol, field-complete): Mark as obsolete.
15457 (check-parens): Unmatched parens are user errors.
15458 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15459
15460 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15461
15462 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15463 command changed buffer (ie. `flyspell-pre-buffer' is not current
15464 buffer), which prevents making decisions based on invalid value of
15465 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15466 cause an error when `flyspell-pre-point' was nil after switching
15467 buffers.
15468 (flyspell-post-command-hook): No longer needs to change buffers when
15469 checking pre-word. While at it remove unnecessary progn.
15470
15471 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15472
15473 * textmodes/ispell.el (ispell-add-per-file-word-list):
15474 Fix `flyspell-correct-word-before-point' error when accepting
15475 words and `coment-padding' is an integer by using
15476 `comment-normalize-vars' (Bug #14214).
15477
15478 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15479
15480 New defun movement commands.
15481 * progmodes/python.el (python-nav--syntactically)
15482 (python-nav--forward-defun, python-nav-backward-defun)
15483 (python-nav-forward-defun): New functions.
15484
15485 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15486
15487 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15488 (python-syntax-context): Use named compiler-macro for backwards
15489 compatibility with Emacs 24.x.
15490
15491 2013-04-17 Leo Liu <sdl.web@gmail.com>
15492
15493 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15494 octave-hide-process-buffer.
15495
15496 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15497
15498 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15499 (bug#14216).
15500
15501 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15502
15503 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15504 Fix adjustment of offset when receiving incomplete responses from GDB
15505 (bug#14129).
15506
15507 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15508
15509 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15510 python-mode-abbrev-table.
15511 (python-skeleton-define): Adjust accordingly.
15512 (python-mode-abbrev-table): New table that inherits from it so that
15513 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15514
15515 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15516 (abbrev-symbol): Use it.
15517 (abbrev--before-point): Use it since we already handle inheritance.
15518
15519 2013-04-16 Leo Liu <sdl.web@gmail.com>
15520
15521 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15522 binding to info-lookup-symbol.
15523
15524 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15525
15526 * minibuffer.el (completion--twq-all):
15527 * term/ns-win.el (ns-initialize-window-system):
15528 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15529
15530 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15531
15532 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15533 global bindings.
15534
15535 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15536
15537 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15538
15539 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15540 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15541 to nil.
15542 (ruby-end-of-defun): Remove the unused arg, change the docstring
15543 to reflect that this function is only used as the value of
15544 `end-of-defun-function'.
15545 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15546 to reflect an earlier change that beginning/end-of-defun functions
15547 jump between methods in a class definition, as well as top-level
15548 functions.
15549
15550 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * minibuffer.el (minibuffer-complete): Don't just scroll
15553 a *Completions* that's been iconified.
15554 (minibuffer-force-complete): Make sure repetitions do cycle when going
15555 through completion-in-region -> minibuffer-complete.
15556
15557 2013-04-15 Alan Mackenzie <acm@muc.de>
15558
15559 Correct the placement of c-cpp-delimiters when there're #s not at
15560 col 0.
15561
15562 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15563 place a submatch around the #.
15564 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15565 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15566 on the #, not BOL.
15567
15568 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15569
15570 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15571 (advice--member-p): New arg `name'.
15572 (advice--add-function, advice-member-p): Use it (bug#14202).
15573
15574 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15575
15576 Reformulate java imenu-generic-expression.
15577 The old expression contained ill formed regexps.
15578
15579 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15580 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15581 (cc-imenu-java-method-arg-regexp): New defconsts.
15582 (cc-imenu-java-build-type-args-regex): New defun.
15583 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15584 handling of spaces in the regexp.
15585
15586 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15587
15588 * textmodes/ispell.el (ispell-command-loop): Remove
15589 flyspell highlight of a word when ispell accepts it (bug #14178).
15590
15591 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15592
15593 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15594 uses code from the previous `ange-ftp-run-real-handler'.
15595 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15596 only in case that function exist. This is needed for proper
15597 unloading of Tramp.
15598
15599 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15600
15601 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15602
15603 * textmodes/reftex.el (reftex-compile-variables): Use it.
15604
15605 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15606
15607 * files.el (normal-mode): Only use default major-mode if no other mode
15608 was specified.
15609
15610 * emacs-lisp/trace.el (trace-values): New function.
15611
15612 * files.el: Allow : in local variables (bug#14089).
15613 (hack-local-variable-regexp): New var.
15614 (hack-local-variables-prop-line, hack-local-variables): Use it.
15615
15616 2013-04-13 Roland Winkler <winkler@gnu.org>
15617
15618 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15619 data before it gets modified by bibtex-beginning-of-entry.
15620
15621 2013-04-13 Roland Winkler <winkler@gnu.org>
15622
15623 * textmodes/bibtex.el (bibtex-url): Doc fix.
15624
15625 2013-04-13 Roland Winkler <winkler@gnu.org>
15626
15627 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15628 does not visit a BibTeX file, exclude it from the list of buffers
15629 returned by bibtex-initialize.
15630
15631 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15632
15633 * window.el (split-window): Remove interactive form, since as a
15634 command this function is a special case of split-window-below.
15635 Correct doc string.
15636
15637 2013-04-12 Roland Winkler <winkler@gnu.org>
15638
15639 * faces.el (read-face-name): Do not override value of arg default.
15640 Allow single faces and strings as default values. Remove those
15641 elements from return value that are not faces.
15642 (describe-face): Simplify.
15643 (face-at-point): New optional args thing and multiple so that this
15644 function can provide the same functionality previously provided by
15645 read-face-name.
15646 (make-face-bold, make-face-unbold, make-face-italic)
15647 (make-face-unitalic, make-face-bold-italic, invert-face)
15648 (modify-face, read-face-and-attribute): Use face-at-point.
15649
15650 * cus-edit.el (customize-face, customize-face-other-window)
15651 * cus-theme.el (custom-theme-add-face)
15652 * face-remap.el (buffer-face-set)
15653 * facemenu.el (facemenu-set-face): Use face-at-point.
15654
15655 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15656
15657 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15658
15659 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15660
15661 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15662 off leading { and trailing } from field values.
15663
15664 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * emacs-lisp/timer.el (timer--check): New function.
15667 (timer--time, timer-set-function, timer-event-handler): Use it.
15668 (timer-set-idle-time): Simplify.
15669 (timer--activate): CSE.
15670 (timer-event-handler): Give more info in error message.
15671 (internal-timer-start-idle): New function, moved from C.
15672
15673 * mpc.el (mpc-proc): Add `restart' argument.
15674 (mpc-proc-cmd): Use it.
15675 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15676 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15677 less often.
15678
15679 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15680
15681 * progmodes/sh-script.el: Implement `sh-mode' own
15682 `add-log-current-defun-function' (bug#14112).
15683 (sh-current-defun-name): New function.
15684 (sh-mode): Use the function.
15685
15686 2013-04-09 Bastien Guerry <bzg@gnu.org>
15687
15688 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15689
15690 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15691
15692 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15693
15694 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15695 timer (bug#14156).
15696
15697 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15698
15699 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15700 declaration.
15701
15702 2013-04-07 Leo Liu <sdl.web@gmail.com>
15703
15704 * pcmpl-x.el: New file.
15705
15706 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15707
15708 Do not set x-display-name until X connection is established.
15709 This is needed to prevent from weird situation described at
15710 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15711 * frame.el (make-frame): Set x-display-name after call to
15712 window system initialization function, not before.
15713 * term/x-win.el (x-initialize-window-system): Add optional
15714 display argument and use it.
15715 * term/w32-win.el (w32-initialize-window-system):
15716 * term/ns-win.el (ns-initialize-window-system):
15717 * term/pc-win.el (msdos-initialize-window-system):
15718 Add compatible optional display argument.
15719
15720 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15721
15722 * files.el (normal-backup-enable-predicate): On MS-Windows and
15723 MS-DOS compare truenames of temporary-file-directory and of the
15724 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15725 don't fail comparison by compare-strings. Also, compare file
15726 names case-insensitively on MS-Windows and MS-DOS.
15727
15728 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15729
15730 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15731 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15732
15733 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15734
15735 * whitespace.el (whitespace-color-on, whitespace-color-off):
15736 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15737
15738 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15739
15740 * ispell.el (ispell-set-spellchecker-params):
15741 Really set `ispell-args' for all equivs.
15742
15743 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15744
15745 * ido.el (ido-completions): Use extra elements of ido-decorations
15746 (bug#14143).
15747 (ido-decorations): Update docstring.
15748
15749 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15750
15751 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15752 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15753 nil during initialization, in order not to miss changes since the
15754 file was opened. (Bug#14140)
15755
15756 2013-04-05 Leo Liu <sdl.web@gmail.com>
15757
15758 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15759
15760 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15761
15762 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15763
15764 2013-04-04 Glenn Morris <rgm@gnu.org>
15765
15766 * electric.el (electric-pair-inhibit-predicate): Add :version.
15767
15768 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15769
15770 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15771 when a package is required several times (bug#14082).
15772
15773 2013-04-04 Roland Winkler <winkler@gnu.org>
15774
15775 * faces.el (read-face-name): Behave as promised by the docstring.
15776 Assume that arg default is a list of faces.
15777 (describe-face): Call read-face-name with list of default faces.
15778
15779 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15780
15781 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15782 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15783 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15784 the header.
15785 (bookmark-exit-hook-internal): Save even if list is empty.
15786
15787 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15788
15789 * emacs-lisp/package.el (package-pinned-packages): New var.
15790 (package--add-to-archive-contents): Obey it (bug#14118).
15791
15792 2013-04-03 Alan Mackenzie <acm@muc.de>
15793
15794 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15795 Also adapt to the new values of element 7 of a parse state.
15796
15797 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15798 parameter `not-in-delimiter'. Handle being inside comment opener.
15799 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15800 character in case we're typing a '*' after a '/'.
15801 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15802 instead by passing the parameter to c-state-pp-to-literal.
15803
15804 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15805 for elt. 7 of a parse state.
15806
15807 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15808
15809 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15810 * international/latin1-disp.el, international/mule-util.el:
15811 * language/cyril-util.el, language/european.el, language/ind-util.el:
15812 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15813 * language/tibetan.el, language/viet-util.el:
15814 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15815
15816 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15817
15818 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15819 (electric-pair-post-self-insert-function): Use it.
15820 (electric-pair-default-inhibit): New function, extracted from
15821 electric-pair-post-self-insert-function.
15822
15823 2013-03-31 Roland Winkler <winkler@gnu.org>
15824
15825 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15826
15827 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15828
15829 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15830
15831 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15832
15833 Un-indent after "pass" and "return" statements (Bug#13888)
15834 * progmodes/python.el (python-indent-block-enders): New var.
15835 (python-indent-calculate-indentation): Use it.
15836
15837 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15838
15839 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15840 defun. Defining it as defalias could introduce too eager
15841 byte-compiler optimization. (Bug#14030)
15842
15843 2013-03-30 Chong Yidong <cyd@gnu.org>
15844
15845 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15846
15847 2013-03-30 Leo Liu <sdl.web@gmail.com>
15848
15849 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15850 (kmacro-execute-from-register): Pass the keyboard macro to
15851 kmacro-call-macro or repeating won't work correctly.
15852
15853 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15854
15855 * progmodes/subword.el: Back to using `forward-symbol'.
15856
15857 * subr.el (forward-whitespace, forward-symbol)
15858 (forward-same-syntax): Move from thingatpt.el.
15859
15860 2013-03-29 Leo Liu <sdl.web@gmail.com>
15861
15862 * kmacro.el (kmacro-to-register): New command.
15863 (kmacro-execute-from-register): New function.
15864 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15865
15866 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15867
15868 * mpc.el: Use defvar-local and setq-local.
15869 (mpc--proc-connect): Connection failures are not bugs.
15870 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15871 (mpc-volume-map): Bind to the up-events.
15872
15873 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15874
15875 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15876 instead of `forward-symbol'.
15877
15878 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15879
15880 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15881 (edebug--recursive-edit): Use it.
15882 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15883 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15884
15885 2013-03-28 Leo Liu <sdl.web@gmail.com>
15886
15887 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15888
15889 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15890
15891 * facemenu.el (list-colors-callback): New defvar.
15892 (list-colors-redisplay): New function.
15893 (list-colors-display): Install list-colors-redisplay as the
15894 revert-buffer-function. (Bug#14063)
15895
15896 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15897
15898 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15899 and suffixes don't overlap (bug#14061).
15900
15901 * case-table.el: Use lexical-binding.
15902 (case-table-get-table): New function.
15903 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15904
15905 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15906
15907 * progmodes/subword.el: Add `superword-mode' to do word motion
15908 over symbol_words (parallels and leverages `subword-mode' which
15909 does word motion inside MixedCaseWords).
15910
15911 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15912
15913 * eshell/em-unix.el: Move su and sudo to...
15914 * eshell/em-tramp.el: ...Eshell tramp module.
15915
15916 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15919 Change return value to be a sexp. Delay `get-buffer' to after
15920 restoring the desktop (bug#13951).
15921
15922 2013-03-26 Leo Liu <sdl.web@gmail.com>
15923
15924 * register.el: Move semantic tag handling back to
15925 cedet/semantic/senator.el. (Bug#14052)
15926
15927 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15928
15929 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15930 into the prompt either (bug#13963).
15931
15932 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15933
15934 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15935 part of "(error-foo)".
15936
15937 2013-03-24 Juri Linkov <juri@jurta.org>
15938
15939 * replace.el (list-matching-lines-prefix-face): New defcustom.
15940 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15941 `occur-engine' if `face-differs-from-default-p' returns t.
15942 (occur-engine): Add `,' inside backquote construct to evaluate
15943 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15944 Pass `prefix-face' to the functions `occur-context-lines' and
15945 `occur-engine-add-prefix'.
15946 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15947 `prefix-face' and propertize the prefix with `prefix-face'.
15948 (Bug#14017)
15949
15950 2013-03-24 Leo Liu <sdl.web@gmail.com>
15951
15952 * nxml/rng-valid.el (rng-validate-while-idle)
15953 (rng-validate-quick-while-idle): Guard against deleted buffer.
15954 (Bug#13999)
15955
15956 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15957 is the last entry in kill-buffer-hook.
15958
15959 * files.el (kill-buffer-hook): Doc fix.
15960
15961 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15962
15963 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15964 Make it safe-local.
15965
15966 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15967
15968 2013-03-23 Leo Liu <sdl.web@gmail.com>
15969
15970 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15971 Remove.
15972
15973 * nxml/rng-valid.el (rng-validate-mode)
15974 (rng-after-change-function, rng-do-some-validation):
15975 * nxml/rng-maint.el (rng-validate-buffer):
15976 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15977 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15978 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15979 (nxml-extend-after-change-region): Use with-silent-modifications.
15980
15981 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15982 timer-idle-list.
15983
15984 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15985 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15986 timer-idle-list. (Bug#13999)
15987
15988 2013-03-23 Juri Linkov <juri@jurta.org>
15989
15990 * info.el (info-index-match): New face.
15991 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15992 main pattern and add text properties with the new face to matches
15993 in index entries relative to the beginning of the index entry.
15994 (Bug#14015)
15995
15996 2013-03-21 Eric Ludlam <zappo@gnu.org>
15997
15998 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15999 Inhibit read only while inserting objects.
16000
16001 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16002
16003 * progmodes/cfengine.el: Update docs to mention
16004 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16005 symbol motion. Remove "_" from the word syntax.
16006
16007 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16008
16009 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16010 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16011
16012 2013-03-20 Juri Linkov <juri@jurta.org>
16013
16014 * info.el (Info-next-reference-or-link)
16015 (Info-prev-reference-or-link): New functions.
16016 (Info-next-reference, Info-prev-reference): Use them.
16017 (Info-try-follow-nearest-node): Handle footnote navigation.
16018 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16019
16020 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16021
16022 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16023 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16024
16025 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16026
16027 Suppress unnecessary non-ASCII chatter during build process.
16028 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16029 (batch-skkdic-convert): Suppress most of the chatter.
16030 It's not needed so much now that machines are faster,
16031 and its non-ASCII component was confusing; see Dmitry Gutov in
16032 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16033
16034 2013-03-20 Leo Liu <sdl.web@gmail.com>
16035
16036 * ido.el (ido-chop): Fix bug#10994.
16037
16038 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16039
16040 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16041 Remove vars.
16042 (whitespace-color-on, whitespace-color-off):
16043 Use `font-lock-fontify-buffer' (Bug#13817).
16044
16045 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16046
16047 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16048 remapping in mode-line.
16049 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16050
16051 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16052
16053 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16054 value for `whitespace-line' face (Bug#13875).
16055 (whitespace-font-lock-keywords): Change description.
16056 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16057 the constructed keywords instead.
16058 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16059
16060 2013-03-19 Leo Liu <sdl.web@gmail.com>
16061
16062 * progmodes/compile.el (compilation-display-error): New command.
16063 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16064 C-o. (Bug#13992)
16065
16066 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16067
16068 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16069
16070 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16071
16072 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16073
16074 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16075
16076 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16077
16078 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16079 * net/tramp-gvfs.el (top):
16080 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16081 (tramp-handle-shell-command): Use it.
16082 (tramp-dissect-file-name): Raise an error when hostname is a
16083 method name, and neither method nor user is specified.
16084
16085 * net/trampver.el: Update release number.
16086
16087 2013-03-18 Leo Liu <sdl.web@gmail.com>
16088
16089 Make sure eldoc can be turned off properly.
16090 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16091 eldoc-mode.
16092 (eldoc-display-message-p): Revert last change.
16093 (eldoc-display-message-no-interference-p)
16094 (eldoc-print-current-symbol-info): Tweak.
16095
16096 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16097
16098 * doc-view.el (doc-view-new-window-function): Check the new window
16099 overlay's display property instead the char property of the
16100 buffer's first char. Use `with-selected-window' instead of
16101 `save-window-excursion' with `select-window'.
16102 (doc-view-document->bitmap): Check the current doc-view overlay's
16103 display property instead the char property of the buffer's first char.
16104
16105 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16106
16107 Automate the build of ja-dic.el (Bug#13984).
16108 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16109 from the input, rather than assume that it's been done for us by the
16110 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16111 the current date into a ja-dic.el comment, as that complicates
16112 regression testing.
16113
16114 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16115
16116 * whitespace.el: Fix double evaluation.
16117 (whitespace-space, whitespace-hspace, whitespace-tab)
16118 (whitespace-newline, whitespace-trailing, whitespace-line)
16119 (whitespace-space-before-tab, whitespace-indentation)
16120 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16121 obsolete defvars.
16122 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16123 (whitespace-color-on): Use a single font-lock-add-keywords call.
16124 Fix double-evaluation of face variables.
16125
16126 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16127
16128 * net/tramp-adb.el (tramp-adb-parse-device-names):
16129 Use `start-process' instead of `call-process'. Otherwise, the
16130 function might be blocked under MS Windows. (Bug#13299)
16131
16132 2013-03-17 Leo Liu <sdl.web@gmail.com>
16133
16134 Extend eldoc to display info in the mode-line. (Bug#13978)
16135 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16136 (eldoc-mode-line-string): New variable.
16137 (eldoc-minibuffer-message): New function.
16138 (eldoc-message-function): New variable.
16139 (eldoc-message): Use it.
16140 (eldoc-display-message-p)
16141 (eldoc-display-message-no-interference-p):
16142 Support eldoc-post-insert-mode.
16143
16144 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16145 (eval-expression): Run it.
16146
16147 2013-03-17 Roland Winkler <winkler@gnu.org>
16148
16149 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16150 strings in the list of return values.
16151
16152 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16153
16154 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16155 radix before checking for HMS forms.
16156
16157 2013-03-16 Leo Liu <sdl.web@gmail.com>
16158
16159 * progmodes/scheme.el: Add indentation and font-locking for λ.
16160 (Bug#13975)
16161
16162 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16163
16164 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16165 token before point (bug#13942).
16166
16167 2013-03-16 Leo Liu <sdl.web@gmail.com>
16168
16169 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16170
16171 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16172
16173 * startup.el (command-line-normalize-file-name): Fix handling of
16174 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16175 <xfq.free@gmail.com> in
16176 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16177
16178 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16179
16180 Sync with Tramp 2.2.7.
16181
16182 * net/trampver.el: Update release number.
16183
16184 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16185
16186 * doc-view.el: Fix bug#13887.
16187 (doc-view-insert-image): Don't modify overlay associated to
16188 non-live windows, and implement horizontal centering of image in
16189 case it's smaller than the window.
16190 (doc-view-new-window-function): Force redisplay of new windows on
16191 doc-view buffers.
16192
16193 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16194
16195 * saveplace.el (save-place-alist-to-file): Don't sort
16196 `save-place-alist', just pretty-print it (bug#13882).
16197
16198 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16199
16200 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16201 Check whether `default-file-name-coding-system' is bound.
16202 It isn't in XEmacs.
16203
16204 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16205
16206 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16207 backquotes for `obsolete' (bug#13929).
16208
16209 * international/mule.el (find-auto-coding): Include file name in
16210 obsolescence warning (bug#13922).
16211
16212 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16213
16214 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16215 for CFEngine 3-specific indentation.
16216 (cfengine3-indent-line): Use it. Fix up category regex.
16217 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16218
16219 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16220
16221 * type-break.el (type-break-file-name):
16222 * textmodes/remember.el (remember-data-file):
16223 * strokes.el (strokes-file):
16224 * shadowfile.el (shadow-initialize):
16225 * saveplace.el (save-place-file):
16226 * ps-bdf.el (bdf-cache-file):
16227 * progmodes/idlwave.el (idlwave-config-directory):
16228 * net/quickurl.el (quickurl-url-file):
16229 * international/kkc.el (kkc-init-file-name):
16230 * ido.el (ido-save-directory-list-file):
16231 * emulation/viper.el (viper-custom-file-name):
16232 * emulation/vip.el (vip-startup-file):
16233 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16234 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16235
16236 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16237
16238 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16239 * language/thai-word.el: Switch to UTF-8.
16240
16241 See ChangeLog.16 for earlier changes.
16242
16243 ;; Local Variables:
16244 ;; coding: utf-8
16245 ;; End:
16246
16247 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16248
16249 This file is part of GNU Emacs.
16250
16251 GNU Emacs is free software: you can redistribute it and/or modify
16252 it under the terms of the GNU General Public License as published by
16253 the Free Software Foundation, either version 3 of the License, or
16254 (at your option) any later version.
16255
16256 GNU Emacs is distributed in the hope that it will be useful,
16257 but WITHOUT ANY WARRANTY; without even the implied warranty of
16258 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16259 GNU General Public License for more details.
16260
16261 You should have received a copy of the GNU General Public License
16262 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.