tildify.el: Fix matched group indexes in end-regex building
[bpt/emacs.git] / lisp / ChangeLog
1 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
2
3 * textmodes/tildify.el (tildify-find-env): Fix matched group
4 indexes in end-regex building
5
6 When looking for a start of an ignore-environment, the regex is built
7 by concatenating regexes of all the environments configured in
8 `tildify-ignored-environments-alist'. So for example, the following
9 list could be used to match TeX's \verb and \verb* commands:
10
11 (("\\\\verb\\(.\\)" . (1))
12 ("\\\\verb\\*\\(.\\)" . (1)))
13
14 This would result in the following regex being used to find the start
15 of any of the variants of the \verb command:
16
17 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
18
19 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
20 won't match anything, and thus (match-string 1) will be nil, which
21 will cause building of the end-matching regex to fail.
22
23 Fix this by using capture groups from the time when the opening
24 regexes are matched individually.
25
26 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
27 in `tildify-find-env'
28
29 The `tildify-ignored-environments-alist' allows the end-regex to
30 be provided not as a static string but mix of strings and indexes
31 of groups matched the begin-regex. For example, the “\verb!…!”
32 TeX-command (where “!” is an arbitrary character) is handled
33 using:
34
35 ("\\\\verb\\*?\\(.\\)" . (1))
36
37 In the same way, the following should be supported as well:
38
39 ("open-\\(.\\)" . ("end-" 1))
40
41 However the tildify-find-env function fails at
42
43 (concat result
44 (if (stringp (setq aux (car expression)))
45 expression ; BUG: expression is a list
46 (regexp-quote (match-string aux))))
47
48 where the string part is handled incorrectly.
49
50 The most trivial fix would be to replace `expression' in the
51 true-part of the if-statement with `aux', but instead, this commit
52 optimises `tildify-find-env' by changing it to use `mapconcat'
53 rather than open-coded while-loop.
54
55 2014-06-05 Mario Lang <mlang@delysid.org>
56
57 * woman.el (woman-mapcan): Remove.
58 (woman-parse-colon-path): Use cl-mapcan instead.
59
60 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
61
62 * register.el: Add link to Emacs manual in Commentary.
63
64 2014-06-02 Sam Steingold <sds@gnu.org>
65
66 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
67 (popup-menu): ...here.
68 (menu-bar-open): Use it to avoid an error when `lookup-key'
69 returns a number.
70
71 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
72
73 * net/tramp.el (tramp-call-process): Add traces.
74 (tramp-handle-unhandled-file-name-directory): Return "/".
75
76 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
77
78 Sync with upstream verilog-mode revision 3cd8144.
79 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
80 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
81 (verilog-type-font-keywords): Add nor.
82 (verilog-batch-execute-func): Force reading of Local Variables.
83 Fix printing "no changes to be saved" with verilog-batch.
84 (verilog-auto-arg-ports): Doc fix.
85 Add verilog-auto-arg-format to support newlines in AUTOARG.
86 (verilog-auto-arg): Doc fix.
87
88 2014-06-02 Glenn Morris <rgm@gnu.org>
89
90 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
91 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
92 * emulation/ws-mode.el: Move to obsolete/.
93 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
94
95 2014-06-02 Eli Zaretskii <eliz@gnu.org>
96
97 * simple.el (keyboard-quit): Force update of mode lines, to remove
98 the "Def" indicator, if we were defining a macro. (Bug#17615)
99
100 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * minibuffer.el (minibuffer-force-complete-and-exit):
103 Obey minibuffer-default (bug#17545).
104
105 * progmodes/js.el (js-indent-line): Don't mix columns and chars
106 (bug#17619).
107
108 * subr.el (set-transient-map): Don't wait for some "nested"
109 transient-map to finish if we're only supposed to be active for
110 the next command (bug#17642).
111
112 2014-06-02 Leo Liu <sdl.web@gmail.com>
113
114 * emacs-lisp/gv.el (window-buffer, window-display-table)
115 (window-dedicated-p, window-hscroll, window-point, window-start):
116 Fix gv-expander. (Bug#17630)
117
118 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
121 clicks (bug#17633).
122
123 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
124 for the single comma, since ", " is *very* common in normal French text
125 (bug#17643).
126
127 2014-06-02 Glenn Morris <rgm@gnu.org>
128
129 * emacs-lisp/package.el (package-check-signature)
130 (package-unsigned-archives): Fix :version.
131
132 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * subr.el (sit-for): Don't run input-methods (bug#15614).
135
136 2014-06-02 Glenn Morris <rgm@gnu.org>
137
138 * cus-start.el: Fix some :version numbers.
139
140 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * simple.el (deactivate-mark): Set mark-active to nil even if
143 deactivation is done via setting transient-mark-mode to nil,
144 since one is buffer-local and the other is global.
145
146 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
147 there can't be more than 2 arguments (bug#17584).
148
149 2014-06-02 Glenn Morris <rgm@gnu.org>
150
151 * simple.el (filter-buffer-substring-functions)
152 (filter-buffer-substring-function, buffer-substring-filters)
153 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
154
155 * minibuffer.el (completion-in-region-functions, completion-in-region)
156 (completion--in-region): Doc fixes.
157
158 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
159 (expand-abbrev, abbrev--default-expand): Doc fixes.
160
161 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
162
163 Include sources used to create macuvs.h.
164 * international/README: Refer to the Unicode Terms of Use rather
165 than copying it bodily here, as that simplifies maintenance.
166
167 2014-06-01 Glenn Morris <rgm@gnu.org>
168
169 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
170
171 2014-05-31 Glenn Morris <rgm@gnu.org>
172
173 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
174
175 2014-05-30 Glenn Morris <rgm@gnu.org>
176
177 * loadup.el: Treat `command-line-args' more flexibly.
178
179 2014-05-30 Alan Mackenzie <acm@muc.de>
180
181 Guard (looking-at "\\s!") from XEmacs.
182 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
183
184 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
185
186 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
187 argument COUNT is now optional, to be more backward-compatible.
188 Doc fix. (Bug#17560)
189
190 2014-05-29 Reuben Thomas <rrt@sc3d.org>
191
192 * whitespace.el (whitespace-report-region): Simplify
193 documentation.
194 (whitespace-report-region): Allow report-if-bogus to take the
195 value `never', for non-interactive use.
196 (whitespace-report): Refer to whitespace-report-region's
197 documentation.
198
199 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * whitespace.el: Use font-lock-flush. Minimize refontifications.
202 Side benefit: it works without jit-lock.
203 (whitespace-point--used): New buffer-local var.
204 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
205 (whitespace-color-off): Use font-lock-flush.
206 (whitespace-point--used, whitespace-point--flush-used): New functions.
207 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
208 (whitespace-empty-at-eob-regexp): Use them.
209 (whitespace-post-command-hook): Rewrite.
210
211 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
212 (font-lock-fontify-buffer): Mark interactive-only.
213 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
214 Make buffer-local.
215 (font-lock-specified-p): Remove redundant boundp check.
216 (font-lock-flush-function, font-lock-ensure-function): New vars.
217 (font-lock-turn-on-thing-lock): Set them.
218 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
219 (font-lock-after-change-function): Make `old-len' optional.
220 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
221 Call font-lock-flush, just in case.
222 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
223 recent Emacsen.
224 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
225 (vera-mode-map, vera-mode-menu): Remove bindings to it.
226 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
227 and with-syntax-table.
228 * textmodes/conf-mode.el (conf-quote-normal):
229 * progmodes/sh-script.el (sh-set-shell):
230 * progmodes/prog-mode.el (prettify-symbols-mode):
231 * progmodes/f90.el (f90-font-lock-n):
232 * progmodes/cwarn.el (cwarn-mode):
233 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
234 * progmodes/compile.el (compilation-setup, compilation--unsetup):
235 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
236 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
237 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
238 font-lock-fontify-buffer-function and
239 font-lock-unfontify-buffer-function.
240 (rmail-unfontify-buffer-function, rmail-fontify-message):
241 Use with-silent-modifications.
242 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
243 and font-lock-ensure.
244 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
245
246 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
247
248 * emacs-lisp/package.el (package-generate-autoloads):
249 Inhibit backup files.
250
251 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
254 (bug#17608).
255
256 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
257
258 * textmodes/tildify.el (tildify-buffer, tildify-region):
259 Add dont-ask option.
260
261 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
264 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
265
266 * subr.el (internal--funcall-interactively): New.
267 (internal--call-interactively): Remove.
268 (called-interactively-p): Detect funcall-interactively instead of
269 call-interactively.
270 * simple.el (repeat-complex-command): Use funcall-interactively.
271 (repeat-complex-command--called-interactively-skip): Remove.
272
273 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * register.el (register-read-with-preview): Don't burp on
276 frame switches (e.g. due to the frame we just popped).
277
278 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
279 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
280
281 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
282
283 * cus-face.el (custom-face-attributes): Add :distant-foreground.
284
285 2014-05-26 Martin Rudalics <rudalics@gmx.at>
286
287 * window.el (window--dump-frame): Remove interactive specification.
288
289 2014-05-26 Glenn Morris <rgm@gnu.org>
290
291 * hippie-exp.el (he-line-search-regexp):
292 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
293
294 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
295
296 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
297 to avoid errors when trying to create or visit a file foo.todo
298 located outside to todo-directory, and to allow having such files
299 without them being tied to Todo mode (bug#17482).
300 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
301 (todo-archive-done-item, todo-find-filtered-items-file)
302 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
303 (todo-category-completions, todo-read-category): When visiting a
304 Todo file, make sure we're in the right mode and the buffer local
305 variables are set.
306 (todo-make-categories-list, todo-reset-nondiary-marker)
307 (todo-reset-done-string, todo-reset-comment-string):
308 After processing all Todo files, kill the buffers of those files that
309 weren't being visited before the processing.
310 (todo-display-as-todo-file, todo-add-to-buffer-list)
311 (todo-visit-files-commands): Comment out.
312 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
313 (auto-mode-alist): Remove add-to-list calls making Todo file
314 extensions unrestrictedly tied to Todo modes.
315
316 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
317
318 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
319 (advice-function-member-p): Tell it to check both names and functions
320 (bug#17531).
321 (advice--add-function): Adjust call accordingly.
322
323 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
324
325 * calendar/todo-mode.el: Miscellaneous bug fixes.
326 (todo-delete-file): When deleting an archive but not its todo
327 file, make sure to update the todo file's category sexp.
328 (todo-move-category): Keep the moved category's name unless the
329 file moved to already has a category with that name. If the
330 numerically last category of the source file was moved, make the
331 first category current to avoid selecting a nonexisting category.
332 (todo-merge-category): Fix implementation to make merging to a
333 category in another file work as documented. Eliminate now
334 insufficient and unnecessary renaming of archive category, correct
335 document string accordingly, and clarify it. If the numerically
336 last category of the source file was merged, make the first
337 category current to avoid selecting a nonexisting category.
338 (todo-archive-done-item): When there are marked items and point
339 happens to be on an unmarked item, ignore the latter. Don't leave
340 point below last item after archiving marked items.
341 (todo-unarchive-items): Fix logic to ensure unarchiving an item
342 from an archive with only one category deletes the archive only
343 when the category is empty after unarchiving. Make sure the todo
344 file's category sexp is updated.
345 (todo-read-file-name): Allow an existing file name even when it is
346 not required (todo-move-category needs this to work as documented).
347 (todo-add-file): Call todo-validate-name to reject the name of an
348 existing todo file (needed due to fix in todo-read-file-name).
349 (todo-reset-nondiary-marker): Also reset in filtered items files.
350 (todo-reset-done-string, todo-reset-comment-string): Also reset in
351 regexp filtered items files.
352 (todo-reset-highlight-item): Also reset in filtered items files.
353 Fix incorrect variable reference in document string.
354
355 2014-05-26 Glenn Morris <rgm@gnu.org>
356
357 * window.el (window--dump-frame): Avoid error in --without-x builds.
358
359 2014-05-26 Glenn Morris <rgm@gnu.org>
360
361 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
362
363 2014-05-26 Eli Zaretskii <eliz@gnu.org>
364
365 * frame.el (set-frame-font): Doc fix.
366
367 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
368
369 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
370
371 * emacs-lisp/package.el (package--download-one-archive):
372 Use `write-region' instead of `save-buffer' to avoid running various
373 hooks. (Bug#17155)
374 (describe-package-1): Same. Insert newline at the end of the
375 buffer if appropriate.
376
377 2014-05-26 Juri Linkov <juri@jurta.org>
378
379 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
380 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
381 Add more modifiers: meta, control, shift, hyper, super, alt.
382 (Bug#17439)
383
384 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
385 to allow changing its value with `set-variable'.
386
387 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
388
389 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
390 #; comments.
391 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
392 New functions.
393 (scheme-mode-variables): Set syntax-propertize-function instead of
394 font-lock-syntactic-face-function.
395 (scheme-font-lock-syntactic-face-function): Delete.
396
397 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
398
399 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
400 (bug#17392).
401
402 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
403
404 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
405 for a temporary file name.
406
407 2014-05-26 Eli Zaretskii <eliz@gnu.org>
408
409 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
410
411 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
412
413 * net/dbus.el (dbus-init-bus, dbus-call-method)
414 (dbus-call-method-asynchronously, dbus-send-signal)
415 (dbus-method-return-internal, dbus-method-error-internal):
416 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
417
418 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
419
420 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
421 methods which do not have a doc string. (Bug#17490)
422
423 2014-05-25 Tassilo Horn <tsdh@gnu.org>
424
425 * textmodes/reftex-ref.el (reftex-format-special): Make it work
426 also for AMS Math's \eqref macro.
427
428 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
429
430 Arrange to never byte-compile the generated -pkg.el file.
431
432 * emacs-lisp/package.el (package-generate-description-file):
433 Output first-line comment to set buffer-local var `no-byte-compile'.
434 Suggested by Dmitry Gutov:
435 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
436
437 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
438
439 Fix bug: Properly quote args to generated -pkg.el `define-package'.
440
441 * emacs-lisp/package.el (package-generate-description-file):
442 Inline `package--alist-to-plist'; rewrite to selectively
443 quote alist values that are not self-quoting.
444 (package--alist-to-plist): Delete func.
445
446 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
447
448 * term/xterm.el (xterm-function-map): Add mapping for shifted
449 keypad keys.
450
451 2014-05-24 Daniel Colascione <dancol@dancol.org>
452
453 * progmodes/subword.el (subword-find-word-boundary): Move point to
454 correct spot before search. (Bug#17580)
455
456 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
457 breaking the build.
458
459 2014-05-24 Leo Liu <sdl.web@gmail.com>
460
461 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
462
463 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * minibuffer.el (completion--sreverse): Remove.
466 (completion--common-suffix): Use `reverse' instead.
467 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
468
469 2014-05-22 Glenn Morris <rgm@gnu.org>
470
471 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
472
473 2014-05-21 Daniel Colascione <dancol@dancol.org>
474
475 * files.el (interpreter-mode-alist): Add mksh.
476
477 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
478 derivative.
479 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
480 mksh. Improve custom spec; allow regular expressions.
481 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
482 (sh-after-hack-local-variables): New function.
483 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
484 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
485 the normalization.
486 (sh-canonicalize-shell): Rewrite to support regexes.
487
488 2014-05-21 Leo Liu <sdl.web@gmail.com>
489
490 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
491
492 2014-05-19 Leo Liu <sdl.web@gmail.com>
493
494 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
495
496 2014-05-18 Glenn Morris <rgm@gnu.org>
497
498 * loadup.el:
499 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
500
501 2014-05-14 Sam Steingold <sds@gnu.org>
502
503 * progmodes/python.el (python-shell-get-or-create-process):
504 Do not bind `current-prefix-arg' so that C-c C-z does not talk
505 back unless requested.
506
507 2014-05-14 Glenn Morris <rgm@gnu.org>
508
509 * subr.el (with-file-modes): New macro.
510 * printing.el (pr-save-file-modes): Make obsolete.
511 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
512 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
513 Add with-file-modes.
514 * doc-view.el (doc-view-make-safe-dir):
515 * epg.el (epg--start):
516 * files.el (locate-user-emacs-file, make-temp-file)
517 (backup-buffer-copy, move-file-to-trash):
518 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
519 * eshell/esh-util.el (eshell-with-private-file-modes)
520 (eshell-make-private-directory):
521 * net/browse-url.el (browse-url-mosaic):
522 * obsolete/mailpost.el (post-mail-send-it):
523 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
524 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
525 Use with-file-modes.
526
527 * vc/emerge.el (emerge-make-temp-file): Simplify.
528
529 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
530 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
533 suffix (bug#15419).
534
535 2014-05-14 Glenn Morris <rgm@gnu.org>
536
537 * vc/emerge.el (emerge-temp-file-prefix):
538 Make pointless option obsolete.
539 (emerge-temp-file-mode): Make non-functional option obsolete.
540
541 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
542
543 * net/browse-url.el (browse-url):
544 Use `unhandled-file-name-directory' when setting `default-directory',
545 in order to circumvent stalled remote connections. (Bug#17425)
546
547 2014-05-14 Glenn Morris <rgm@gnu.org>
548
549 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
550 Optimize on Emacs, which has the relevant functions for ages.
551
552 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * simple.el (undo-make-selective-list): Obey undo-no-redo.
555
556 2014-05-12 Sam Steingold <sds@gnu.org>
557
558 * calendar/time-date.el (seconds-to-string): New function to
559 pretty print time delay in seconds.
560
561 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
562
563 * mpc.el (mpc-format): Trim Date to the year.
564 (mpc-songs-hashcons): Shorten the Date field.
565
566 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
567 into autoloading just because of a silly indirection.
568
569 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
570
571 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
572
573 2014-05-12 Glenn Morris <rgm@gnu.org>
574
575 * emacs-lisp/find-gc.el: Move to ../admin.
576
577 * printing.el (pr-version):
578 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
579
580 * net/browse-url.el (browse-url-mosaic):
581 Create /tmp/Mosaic.PID as a private file.
582
583 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
586 (advice--member-p): If name is given, only compare the name.
587 (advice--remove-function): Don't stop at the first match.
588 (advice--normalize-place): New function.
589 (add-function, remove-function): Use it.
590 (advice--add-function): Pass the name, if any, to
591 advice--remove-function.
592
593 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
594
595 * electric.el (electric-indent-post-self-insert-function): Don't use
596 `pos' after modifying the buffer (bug#17449).
597
598 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
599
600 * calendar/todo-mode.el (todo-insert-item-from-calendar):
601 Correct argument list to conform to todo-insert-item--basic.
602
603 2014-05-12 Glenn Morris <rgm@gnu.org>
604
605 * files.el (cd-absolute): Test if directory is accessible
606 rather than executable. (Bug#17330)
607
608 * progmodes/compile.el (recompile):
609 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
610
611 * net/browse-url.el (browse-url-mosaic):
612 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
613 This is CVE-2014-3423.
614
615 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
616
617 * mouse.el: Use the normal toplevel loop while dragging.
618 (mouse-set-point): Handle multi-clicks.
619 (mouse-set-region): Handle multi-clicks for drags.
620 (mouse-drag-region): Update call accordingly.
621 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
622 Use the normal event loop instead of a local while/read-event loop.
623 (global-map): Remove redundant bindings for double/triple-mouse-1.
624 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
625 Generate synthetic down events when the protocol only sends up events.
626 (xterm-mouse-last): Remove.
627 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
628 terminal parameter instead.
629 (xterm-mouse--set-click-count): New function.
630 (xterm-mouse-event): Detect/generate double/triple clicks.
631 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
632
633 * info.el (Info-quoted): New face.
634 (Info-mode-font-lock-keywords): New var.
635 (Info-mode): Use it.
636
637 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
638 are a hindrance for C-x C-e.
639
640 2014-05-11 Leo Liu <sdl.web@gmail.com>
641
642 * net/rcirc.el (rcirc-sentinel): Fix last change.
643
644 2014-05-08 Sam Steingold <sds@gnu.org>
645
646 * net/rcirc.el (rcirc-reconnect-delay): New user option.
647 (rcirc-sentinel): Auto-reconnect to the server if
648 `rcirc-reconnect-delay' is non-0 (but not more often than its
649 value in case the host is off-line).
650
651 2014-05-09 Eli Zaretskii <eliz@gnu.org>
652
653 * progmodes/grep.el (lgrep): Fix a typo in last commit.
654
655 2014-05-09 Glenn Morris <rgm@gnu.org>
656
657 * files.el (file-expand-wildcards):
658 * man.el (Man-support-local-filenames):
659 * printing.el (pr-i-directory, pr-interface-directory):
660 * progmodes/grep.el (lgrep, rgrep):
661 * textmodes/ispell.el (ispell-call-process)
662 (ispell-call-process-region, ispell-start-process)
663 (ispell-init-process): Use file-accessible-directory-p.
664
665 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
668 (xterm-mouse--read-event-sequence-1000): Return nil if something
669 looks fishy.
670 (xterm-mouse-event): Propagate it.
671 (xterm-mouse-translate-1): Handle it.
672
673 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
674
675 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
676 four slots of the parameter list are filled, make sure to pass it
677 to the argument list of todo-insert-item--basic.
678
679 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
682 Add optional `seen' argument to detect and break infinite loops.
683
684 2014-05-08 Eli Zaretskii <eliz@gnu.org>
685
686 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
687 (trace-unsafe, trace-use-tree): Make parentheses style be
688 according to Emacs style.
689
690 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
691
692 * net/tramp-sh.el (tramp-remote-process-environment):
693 Remove HISTFILE and HISTSIZE; it's too late to set them here.
694 Add :version entry.
695 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
696 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
697 extra "PSx=..." commands.
698 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
699 (Bug#17295)
700
701 (tramp-uudecode): Replace the hard-coded temporary file name by a
702 format specifier.
703 (tramp-remote-coding-commands): Enhance docstring.
704 (tramp-find-inline-encoding): Replace "%t" by a temporary file
705 name. (Bug#17415)
706 This is CVE-2014-3424.
707
708 2014-05-08 Glenn Morris <rgm@gnu.org>
709
710 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
711 (find-gc-source-files): Update some names.
712 (trace-call-tree): Simplify and update.
713 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
714 This is CVE-2014-3422.
715
716 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * minibuffer.el (completion--try-word-completion): Revert fix for
719 Bug#15980 (bug#17375).
720
721 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
722 Always store button numbers in the same way in xterm-mouse-last;
723 Don't burp is xterm-mouse-last is not set as expected.
724 Never return negative indices.
725
726 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
727
728 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
729 Backtrack one char if the global/char-literal var matcher hits
730 inside a string. The next char could be the beginning of an
731 expression expansion.
732
733 2014-05-08 Glenn Morris <rgm@gnu.org>
734
735 * help-fns.el (describe-function-1): Test for an autoload before a
736 macro, since `macrop' works on autoloads. (Bug#17410)
737
738 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * electric.el (electric-indent-functions-without-reindent): Add yaml.
741
742 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
743 Make sure the new point we return is within the new string (bug#17239).
744
745 2014-05-05 Daniel Colascione <dancol@dancol.org>
746
747 * progmodes/compile.el (compilation-error-regexp-alist-alist):
748 Port `gnu' pattern to rx.
749
750 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
751
752 Remove unneeded prompt when closing a buffer with active
753 emacsclient ("Buffer ... still has clients"), #16548.
754 * server.el (server-start): Remove the only call to:
755 (server-kill-buffer-query-function): Remove.
756
757 2014-05-04 Leo Liu <sdl.web@gmail.com>
758
759 * calendar/diary-lib.el (calendar-chinese-month-name-array):
760 Defvar to pacify compiler.
761
762 2014-05-04 Eli Zaretskii <eliz@gnu.org>
763
764 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
765
766 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
767
768 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
769 Use nil rather than `default' for the "default" appearance (bug#17388).
770 * vc/ediff-util.el (ediff-inferior-compare-regions)
771 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
772 a misleading `default' value when it's really a boolean.
773 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
774 overlay is not visible.
775
776 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
777
778 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
779 (todo-menu): Uncomment and update.
780
781 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
782
783 * calendar/todo-mode.el: Reimplement item editing to have the same
784 basic user interface as item insertion, and make small UI and
785 larger internal improvements to the latter.
786 (todo-insert-item): Add reference to the Todo mode user manual to
787 the documentation string.
788 (todo-insert-item--basic): Rename from todo-basic-insert-item and
789 adjust all callers. Change signature to combine diary and
790 nonmarking arguments. Incorporate functionality of deleted item
791 copying command and add error checking. Remove detailed
792 descriptions of the arguments from the documentation string, since
793 this is treated in the Todo mode user manual.
794 (todo-copy-item, todo-edit-multiline-item)
795 (todo-edit-done-item-comment, todo-edit-item-header)
796 (todo-edit-item-time, todo-edit-item-date-from-calendar)
797 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
798 (todo-edit-item-date-year, todo-edit-item-date-month)
799 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
800 Remove.
801 (todo-edit-item): Reimplement as wrapper command for
802 todo-edit-item--next-key and make it distinguish done and not done
803 todo items.
804 (todo-edit-item--text): New function, replacing old command
805 todo-edit-item and incorporating deleted commands
806 todo-edit-multiline-item and todo-edit-done-item-comment.
807 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
808 Use only numeric value of prefix argument. Remove detailed
809 descriptions of the arguments from the documentation string, since
810 this is treated in the Todo mode user manual.
811 (todo-edit-item--diary-inclusion): New function, replacing old
812 command todo-edit-item-diary-inclusion and incorporating and fixing
813 functionality of deleted command todo-edit-item-diary-nonmarking,
814 making sure to remove todo-nondiary-marker when adding
815 diary-nonmarking-symbol.
816 (todo-edit-category-diary-inclusion): Make sure to delete
817 diary-nonmarking-symbol when adding todo-nondiary-marker.
818 (todo-edit-category-diary-nonmarking): Fix indentation.
819 (todo-insert-item--parameters): Group diary and nonmarking
820 parameters together.
821 (todo-insert-item--apply-args): Adjust to signature of
822 todo-insert-item--basic and incorporate copy parameter.
823 Make small code improvements.
824 (todo-insert-item--next-param): Improve prompt and adjust it to
825 new parameter grouping. Remove obsolete code.
826 (todo-edit-item--param-key-alist)
827 (todo-edit-item--date-param-key-alist)
828 (todo-edit-done-item--param-key-alist): New defconsts.
829 (todo-edit-item--prompt): New variable.
830 (todo-edit-item--next-key): New function.
831 (todo-key-bindings-t): Bind "e" to todo-edit-item.
832 Remove bindings of deleted commands.
833
834 2014-05-04 Leo Liu <sdl.web@gmail.com>
835
836 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
837
838 2014-05-04 Glenn Morris <rgm@gnu.org>
839
840 * allout-widgets.el (allout-widgets-tally)
841 (allout-decorate-item-guides):
842 * menu-bar.el (menu-bar-positive-p):
843 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
844 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
845 * progmodes/js.el (js--inside-param-list-p)
846 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
847 * progmodes/prolog.el (region-exists-p):
848 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
849 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
850 Doc fixes (replace `iff').
851
852 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
855
856 2014-05-04 Leo Liu <sdl.web@gmail.com>
857
858 Support Chinese diary entries in calendar and diary. (Bug#17393)
859 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
860 (calendar-chinese-from-absolute-for-diary)
861 (calendar-chinese-to-absolute-for-diary)
862 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
863 (diary-chinese-list-entries): New functions to list and mark
864 Chinese diary entries in the calendar window.
865 (diary-chinese-anniversary)
866 (diary-chinese-insert-anniversary-entry)
867 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
868 (diary-chinese-insert-yearly-entry): New commands to insert
869 Chinese diary entries.
870
871 * calendar/diary-lib.el (diary-font-lock-keywords):
872 Support font-locking Chinese dates.
873
874 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
875 inserting Chinese diary entries.
876
877 * calendar/calendar.el (diary-chinese-entry-symbol):
878 New customizable variable.
879 (calendar-mode-map): Add bindings for inserting Chinese diary
880 entries.
881
882 2014-05-03 Juri Linkov <juri@jurta.org>
883
884 * dired.el (dired-check-switches, dired-switches-recursive-p):
885 New functions. (Bug#17218)
886 (dired-switches-escape-p, dired-move-to-end-of-filename):
887 Use `dired-check-switches'.
888 (dired-insert-old-subdirs, dired-build-subdir-alist)
889 (dired-sort-R-check): Use `dired-switches-recursive-p'.
890
891 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
892
893 * simple.el (undo-make-selective-list): New algorithm fixes
894 incorrectness of position adjustments when undoing in region.
895 (Bug#17235)
896 (undo-elt-crosses-region): Make obsolete.
897 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
898 New functions to adjust positions using undo-deltas.
899
900 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
903 the last consecutive closing paren (bug#17345).
904
905 2014-04-30 Reuben Thomas <rrt@sc3d.org>
906
907 * dired.el (dired-mode): make terminology for eXpunge command
908 consistent. (Bug#17276)
909
910 2014-04-30 Eli Zaretskii <eliz@gnu.org>
911
912 * dired.el (dired-initial-position-hook, dired-initial-position):
913 Doc string fixes.
914
915 2014-04-30 Glenn Morris <rgm@gnu.org>
916
917 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
918
919 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
920
921 * faces.el (face-spec-recalc): Apply X resources only after the
922 defface spec has been applied. Thus, X resources are no longer
923 overriden by the defface spec which also fixes issues on win32 where
924 the toolbar coloring was wrong because it is set through X resources
925 and was (wrongfully) overriden. (Bug#16694)
926
927 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * textmodes/rst.el (electric-pair-pairs): Declare.
930 (rst-mode): Set it (bug#17131).
931
932 2014-04-30 Juri Linkov <juri@jurta.org>
933
934 * desktop.el (desktop-value-to-string): Let-bind `print-length'
935 and `print-level' to nil. (Bug#17351)
936
937 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
938
939 * battery.el (battery-update): Handle the case where battery
940 status is "N/A" (bug#17319).
941
942 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
945 to syntax-propertize.
946 (ps-mode-auto-indent): Mark as obsolete.
947 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
948 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
949 word regexp operators.
950 (ps-mode-map): Move initialization into declaration. Remove binding
951 for TAB, RET, >, ], and }.
952 (ps-mode-syntax-table): Move initialization into declaration.
953 Don't give word syntax to non-word chars.
954 (ps-run-mode-map): Move initialization into declaration.
955 (ps-mode-menu-main): Remove auto-indent entry.
956 (ps-mode-smie-rules): New function.
957 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
958 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
959 (ps-mode--string-syntax-table): New const.
960 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
961 New functions.
962 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
963 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
964
965 2014-04-27 Daniel Colascione <dancol@dancol.org>
966
967 * term/xterm.el (xterm-paste): Use large finite timeout when
968 reading event to avoid putting keys in this-command-keys.
969
970 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
973 (perl-syntax-propertize-function): Use it. Extend handling of
974 here-docs to the unquoted case.
975
976 2014-04-25 Eli Zaretskii <eliz@gnu.org>
977
978 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
979 Use equal-including-properties to compare help-echo strings (bug#17331).
980
981 2014-04-25 Leo Liu <sdl.web@gmail.com>
982
983 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
984 Fix syntax for @. (Bug#17325)
985
986 2014-04-25 Daniel Colascione <dancol@dancol.org>
987
988 * emacs-lisp/cl.el (gv): Require gv early to break eager
989 macro-expansion cycles.
990
991 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * simple.el (region-active-p): Check there's a mark (bug#17324).
994
995 * simple.el (completion-list-mode-map): Use choose-completion for the
996 mouse binding as well (bug#17302).
997 (completion-list-mode, completion-setup-function): Adjust docstring and
998 echo area message accordingly.
999 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1000 calling convention of choose-completion.
1001 * comint.el (comint-dynamic-list-completions):
1002 * term.el (term-dynamic-list-completions): Accept choose-completion.
1003
1004 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1005 &, |, +, - and * can't be a division (bug#17317).
1006
1007 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1008 features on gnome-terminal (bug#16988).
1009
1010 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1011
1012 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1013
1014 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1015 the declared object, ignore zero or more parens, not zero or one.
1016
1017 2014-04-24 Leo Liu <sdl.web@gmail.com>
1018
1019 * progmodes/xscheme.el (xscheme-expressions-ring)
1020 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1021 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1022 (xscheme-allow-output-p, xscheme-prompt)
1023 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1024
1025 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1026 Comment out unused functions.
1027
1028 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * info.el: Use lexical-binding and cl-lib.
1031 Use defvar-local and setq-local instead of make-local-variable.
1032 (Info-apropos-matches): Avoid add-to-list.
1033 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1034
1035 2014-04-24 Daniel Colascione <dancol@dancol.org>
1036
1037 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1038
1039 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1042
1043 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1044
1045 * dired.el (dired-insert-set-properties): Do not consider
1046 subdirectory headings and empty lines to be information that
1047 `dired-hide-details-mode' should hide. (Bug#17228)
1048
1049 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1050
1051 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1052 Remove test messages.
1053 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1054 and `target' twice.
1055
1056 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1059 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1060
1061 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1062
1063 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1064
1065 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1066 Set "IFS=" when using read builtin, in order to preserve spaces in
1067 the file name. Add test messages for hunting a bug on hydra.
1068 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1069
1070 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1071
1072 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1073 Don't prettify a word within a symbol.
1074
1075 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1076
1077 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1078 possible.
1079
1080 2014-04-22 Daniel Colascione <dancol@dancol.org>
1081
1082 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1083 use defun to define `function-put'.
1084
1085 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1088 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1089 (lisp-mode-variables): Set font-lock-extra-managed-props.
1090
1091 * emacs-lisp/byte-run.el (function-put): New function.
1092 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1093 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1094 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1095 Use them.
1096
1097 2014-04-22 Daniel Colascione <dancol@dancol.org>
1098
1099 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1100 Add `full-p' parameter; when nil, call `macroexpand' instead of
1101 `macroexpand-all'.
1102
1103 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1104 Improve docstrings.
1105
1106 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1107 Use lambda function values, not quoted lambdas.
1108 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1109
1110 * emacs-lisp/cl-macs.el
1111 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1112 (cl-struct-slot-value): Conditionally use aref or nth so that the
1113 compiler produces optimal code.
1114
1115 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1118 (inline): Don't inline cl--set-elt.
1119 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1120 Define as inlinable instead.
1121 (cl-struct-set-slot-value): Remove.
1122
1123 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1124 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1125 Use setf instead.
1126
1127 2014-04-21 Daniel Colascione <dancol@dancol.org>
1128
1129 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1130 last two parameters after all.
1131 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1132 (cl--compiler-macro-assoc,cl-struct-slot-value)
1133 (cl-struct-set-slot-value): Stop using them.
1134
1135 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1136
1137 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1138 entry in image-mode-winprops-alist.
1139
1140 2014-04-21 Daniel Colascione <dancol@dancol.org>
1141
1142 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1143 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1144 (byte-compile-toplevel-file-form): Use it.
1145
1146 * emacs-lisp/cl-macs.el:
1147 (cl--loop-let): Properly destructure `while' clauses.
1148
1149 2014-04-20 Daniel Colascione <dancol@dancol.org>
1150
1151 * vc/vc.el (vc-root-dir): New public autoloaded function for
1152 generically finding the current VC root.
1153 * vc/vc-hooks.el (vc-not-supported): New error.
1154 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1155
1156 2014-04-20 Daniel Colascione <dancol@dancol.org>
1157
1158 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1159 argument.
1160 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1161 argument in case we're inside a symbol-macrolet.
1162 (cl--do-arglist, cl--compiler-macro-typep)
1163 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1164 environment to `cl--const-expr-val'.
1165 (cl-struct-sequence-type,cl-struct-slot-info)
1166 (cl-struct-slot-offset, cl-struct-slot-value)
1167 (cl-struct-set-slot-value): New functions.
1168
1169 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1172 assignments such as "case=hello" (bug#17297).
1173
1174 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1175
1176 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1177 Do not autoload.
1178 (tramp-file-name-handler, tramp-completion-file-name-handler):
1179 Revert patch from 2014-04-10, it isn't necessary anymore.
1180 (tramp-autoload-file-name-handler)
1181 (tramp-register-autoload-file-name-handlers): New defuns.
1182 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1183 (tramp-register-file-name-handlers): Remove also
1184 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1185 Do not autoload its invocation, but eval it after loading of 'tramp.
1186
1187 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1188
1189 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1190
1191 2014-04-17 Daniel Colascione <dancol@dancol.org>
1192
1193 Add support for bracketed paste mode; add infrastructure for
1194 managing terminal mode enabling and disabling automatically.
1195
1196 * xt-mouse.el:
1197 (xterm-mouse-mode): Simplify.
1198 (xterm-mouse-tracking-enable-sequence)
1199 (xterm-mouse-tracking-disable-sequence): New constants.
1200 (turn-on-xterm-mouse-tracking-on-terminal)
1201 (turn-off-xterm-mouse-tracking-on-terminal):
1202 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1203 parameters instead of random hooks.
1204 (turn-on-xterm-mouse-tracking)
1205 (turn-off-xterm-mouse-tracking): Delete.
1206
1207 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1208 (xterm-paste-ending-sequence): New constant.
1209 (xterm-paste): New command used for bracketed paste support.
1210
1211 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1212 (terminal-init-xterm-bracketed-paste-mode): New function.
1213 (terminal-init-xterm): Call it.
1214 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1215 and tty-mode-reset-strings instead of random hooks.
1216 (xterm-turn-on-modify-other-keys)
1217 (xterm-turn-off-modify-other-keys)
1218 (xterm-remove-modify-other-keys): Delete obsolete functions.
1219
1220 * term/screen.el: Rewrite to just use the xterm code.
1221 Add copyright notice. Mention tmux.
1222
1223 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1224
1225 * image-mode.el (image-mode-window-put): Also update the property of
1226 the "default window".
1227 * doc-view.el (doc-view-new-window-function): If no window
1228 exists, move to the last known page.
1229
1230 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1233 here-documents (bug#17262).
1234
1235 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1236
1237 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1238 Provide doc strings, as required by snarf-documentation.
1239
1240 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1243 arg of overlays-at. Use `invisible-p'.
1244
1245 * obsolete/lucid.el (extent-at):
1246 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1247 overlays-at.
1248 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1249
1250 2014-04-16 João Távora <joaotavora@gmail.com>
1251
1252 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1253 links. (Bug#17217).
1254
1255 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1256
1257 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1258 Use mapc to loop over a vector. (Bug#17257).
1259
1260 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1261
1262 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1263 patch, there are new problems with file names containing spaces.
1264 Get rid of backticks. (Bug#17238)
1265
1266 2014-04-16 João Távora <joaotavora@gmail.com>
1267
1268 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1269 possible bug.
1270
1271 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1272
1273 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1274 (blink-cursor-mode): Mention customization variables and the
1275 effect of 'blink-cursor-blinks'.
1276
1277 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1278
1279 * simple.el (undo): Prevent insertion of identity mapping into
1280 undo-equiv-table so as undo-only does not inf loop in the presence
1281 of consecutive nils in undo list.
1282
1283 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1284
1285 * faces.el (make-face): Deprecate optional argument as it is no
1286 longer needed/used since the conditional X resources handling
1287 has been pushed down to make-face-x-resource-internal itself.
1288 (make-empty-face): Don't pass optional argument to make-face.
1289
1290 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1291
1292 * savehist.el (savehist-save): Remove workaround for a read-passwd
1293 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1294 noticing that the shim was still present.
1295
1296 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1299
1300 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1301
1302 * faces.el (face-set-after-frame-default): Remove unused local variable.
1303
1304 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1305
1306 * progmodes/grep.el: Use lexical-binding.
1307 (grep-expand-template): Pass explicit lexical env to `eval'.
1308 (zrgrep): Let-bind grep-find-template explicitly.
1309
1310 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1311 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1312
1313 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1314
1315 * international/characters.el <standard-case-table>: Add entries
1316 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1317 Set category of Coptic characters be 'g' (Greek).
1318
1319 2014-04-12 Leo Liu <sdl.web@gmail.com>
1320
1321 * progmodes/octave.el (completion-table-with-cache):
1322 Define if not available.
1323 (octave-goto-function-definition, octave-sync-function-file-names)
1324 (octave-find-definition-default-filename):
1325 Backquote upattern for compatibility.
1326
1327 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1328
1329 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1330 name twice due to backticks. (Bug#17238)
1331
1332 2014-04-12 Glenn Morris <rgm@gnu.org>
1333
1334 * term/w32-win.el (x-win-suspend-error):
1335 * term/x-win.el (x-win-suspend-error): Sync docs.
1336
1337 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1338
1339 * faces.el (make-face): Remove deprecated optional argument.
1340 The conditional application of X resources is handled directly by
1341 make-face-x-resource-internal since Emacs 24.4.
1342 (make-empty-face): Don't pass optional argument to make-face.
1343
1344 2014-04-11 Glenn Morris <rgm@gnu.org>
1345
1346 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1347
1348 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 Ediff's overlay priorities cause more trouble than they solve.
1351 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1352 (ediff-highest-priority): Remove function (bug#17234).
1353 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1354 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1355 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1356 overlay priorities.
1357
1358 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1359
1360 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1361 entry; use symbol boundaries to avoid mis-matches.
1362
1363 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1364
1365 * net/tramp.el (tramp-file-name-handler)
1366 (tramp-completion-file-name-handler): Avoid recursive loading.
1367
1368 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1369 Quote result also locally.
1370
1371 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1372
1373 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1374 Remove left-over code.
1375
1376 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1377 Reuse the previous comment's indentation unconditionally if it's on its
1378 own line.
1379
1380 2014-04-09 Daniel Colascione <dancol@dancol.org>
1381
1382 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1383 `no-syntax-crossing' arguments. Forward to `up-list'.
1384 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1385 Implement logic for escaping from strings. Use narrowing to deal
1386 with corner cases.
1387
1388 2014-04-09 Leo Liu <sdl.web@gmail.com>
1389
1390 * net/rcirc.el (rcirc-connection-info): New variable.
1391 (rcirc-connect): Use it to store connection info.
1392 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1393 for killed process.
1394 (rcirc-cmd-reconnect): New command. (Bug#17045)
1395 (rcirc-mode, set-rcirc-encode-coding-system)
1396 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1397
1398 2014-04-09 Daniel Colascione <dancol@dancol.org>
1399
1400 * emacs-lisp/cl-indent.el: Add comment claiming
1401 facility is also good for elisp.
1402 (lisp-indent-find-method): New function.
1403 (common-lisp-indent-function): Recognize cl-loop.
1404 (common-lisp-indent-function-1): Recognize cl constructs; use
1405 `lisp-indent-find-method' instead of `get' directly.
1406 (if): Use else-body style for elisp.
1407
1408 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1409
1410 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1411 Module methods. (Bug#17216)
1412
1413 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1416 (describe-bindings-internal): Mark obsolete.
1417
1418 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1421 buffer-file-name, and buffer-file-truename any more.
1422
1423 2014-04-08 Leo Liu <sdl.web@gmail.com>
1424
1425 Use lexical-binding and require cl-lib.
1426 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1427 (rcirc-handler-generic, rcirc-fill-paragraph)
1428 (rcirc-format-response-string, rcirc-target-buffer)
1429 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1430 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1431 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1432 (rcirc-markup-timestamp, rcirc-markup-attributes)
1433 (rcirc-markup-my-nick, rcirc-markup-urls)
1434 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1435 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1436 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1437 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1438 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1439 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1440 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1441 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1442 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1443 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1444 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1445 use cl-lib.
1446
1447 2014-04-07 João Távora <joaotavora@gmail.com>
1448
1449 * elec-pair.el (electric-pair--syntax-ppss):
1450 When inside comments parse from comment beginning.
1451 (electric-pair--balance-info): Fix typo in comment.
1452 (electric-pair--in-unterminated-string-p): Delete.
1453 (electric-pair--unbalanced-strings-p): New function.
1454 (electric-pair-string-bound-function): New var.
1455 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1456 according to `electric-pair--in-unterminated-string-p'
1457
1458 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1459 Inhibit quote pairing if point-max is inside an unterminated string.
1460 (electric-pair--looking-at-unterminated-string-p): Delete.
1461 (electric-pair--in-unterminated-string-p): New function.
1462
1463 2014-04-07 Glenn Morris <rgm@gnu.org>
1464
1465 * shell.el (shell-directory-tracker):
1466 Go back to just ignoring failures. (Bug#17159)
1467
1468 2014-04-07 João Távora <joaotavora@gmail.com>
1469
1470 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1471 backspace. (bug#16981)
1472 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1473 (electric-pair-backward-delete-char-untabify): Delete.
1474 (electric-pair-mode-map): Bind backspace to a menu item filtering
1475 a new `electric-pair-delete-pair' command.
1476 (electric-pair-delete-pair): New command.
1477
1478 * progmodes/python.el (python-electric-pair-string-delimiter):
1479 Fix triple-quoting electricity. (Bug#17192)
1480
1481 * elec-pair.el (electric-pair-post-self-insert-function):
1482 Don't skip whitespace when `electric-pair-text-pairs' and
1483 `electric-pair-pairs' were used. syntax to
1484 electric-pair--skip-whitespace. (Bug#17183)
1485
1486 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1487
1488 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1489 "<F>". (Bug#17199)
1490
1491 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1494 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1495
1496 2014-04-07 Glenn Morris <rgm@gnu.org>
1497
1498 * help.el (view-lossage): Doc tweak.
1499
1500 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1501
1502 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1503 only when inhibit-x-resources is nil, and do that earlier in the
1504 function. Doc fix. (Bug#16694)
1505 (face-spec-choose): Accept additional optional argument, whose
1506 value is returned if no matching attributes are found.
1507 (face-spec-recalc): Use the new optional argument when calling
1508 face-spec-choose. (Bug#16378)
1509 (make-face-x-resource-internal): Do nothing when
1510 inhibit-x-resources is non-nil. Don't touch the default face if
1511 reversed video is given--as was done in previous versions of Emacs.
1512 (face-set-after-frame-default): Don't call
1513 make-face-x-resource-internal here. (Bug#16434)
1514
1515 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1516
1517 * doc-view.el (doc-view-bookmark-jump):
1518 Use `bookmark-after-jump-hook' to jump to the right page after the
1519 buffer is shown in a window. (bug#16090)
1520
1521 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1522
1523 * international/characters.el (mirroring): Fix last change:
1524 instead of loading uni-mirrored.el explicitly, do that implicitly
1525 by creating the 'mirroring' uniprop table. This avoids announcing
1526 the loading of uni-mirrored.el.
1527
1528 2014-04-07 Glenn Morris <rgm@gnu.org>
1529
1530 * files.el (buffer-stale--default-function)
1531 (buffer-stale-function, revert-buffer--default):
1532 * autorevert.el (auto-revert-buffers): Doc tweaks.
1533
1534 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1535
1536 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1537
1538 2014-04-07 Glenn Morris <rgm@gnu.org>
1539
1540 * files.el (make-backup-file-name-function)
1541 (make-backup-file-name, make-backup-file-name--default-function)
1542 (make-backup-file-name-1, find-backup-file-name)
1543 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1544 (buffer-stale--default-function, buffer-stale-function)
1545 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1546 (revert-buffer, revert-buffer--default)
1547 (revert-buffer-insert-file-contents--default-function):
1548 Doc fixes related to defaults no longer being nil.
1549 (make-backup-file-name-function): Bump :version.
1550 Restore nil as a valid but deprecated custom type.
1551
1552 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1555 Handle $' used as a variable (bug#17174).
1556
1557 * progmodes/perl-mode.el (perl-indent-new-calculate):
1558 Handle forward-sexp failure (bug#16985).
1559 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1560 modifiers introducing expressions (bug#17116).
1561
1562 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1565
1566 2014-04-05 Leo Liu <sdl.web@gmail.com>
1567
1568 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1569 Add define-compilation-mode.
1570
1571 2014-04-04 João Távora <joaotavora@gmail.com>
1572
1573 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1574 parse from comment beginning.
1575 (electric-pair--balance-info): Fix typo in comment.
1576 (electric-pair--in-unterminated-string-p): Delete.
1577 (electric-pair--unbalanced-strings-p): New function.
1578 (electric-pair-string-bound-function): New var.
1579 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1580 according to `electric-pair--in-unterminated-string-p'.
1581
1582 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1585 Move declaration before first use.
1586 (reftex-move-to-next-arg): Silence compiler warning.
1587
1588 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1589
1590 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1591 Use `window-total-width' instead of `window-width'.
1592
1593 2014-04-03 Daniel Colascione <dancol@dancol.org>
1594
1595 * subr.el (set-transient-map): Remove rms's workaround entirely;
1596 use new `suspicious-object' subr to mark our lambda for closer
1597 scrutiny during gc.
1598
1599 2014-04-02 Richard Stallman <rms@gnu.org>
1600
1601 * subr.el (set-transient-map): Comment out previous change.
1602
1603 2014-04-02 Glenn Morris <rgm@gnu.org>
1604
1605 * menu-bar.el (menu-bar-file-menu):
1606 * vc/ediff.el (ediff-current-file):
1607 Update for revert-buffer-function no longer being nil by default.
1608
1609 * simple.el (command-execute): Respect nil disabled-command-function.
1610
1611 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1612
1613 * simple.el (command-execute): Do not execute the command when it
1614 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1615
1616 2014-04-02 Juri Linkov <juri@jurta.org>
1617
1618 * dired-aux.el (dired-compress-file): Don't use string-match-p
1619 because its match data is used afterwards.
1620
1621 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1624 0 like nil.
1625
1626 2014-04-02 João Távora <joaotavora@gmail.com>
1627
1628 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1629 Inhibit quote pairing if point-max is inside an unterminated string.
1630 (electric-pair--looking-at-unterminated-string-p):
1631 Delete.
1632 (electric-pair--in-unterminated-string-p): New function.
1633
1634 2014-04-01 Daniel Colascione <dancol@dancol.org>
1635
1636 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1637 when trying to complete the prompt.
1638
1639 2014-03-31 Leo Liu <sdl.web@gmail.com>
1640
1641 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1642 Refactor out eldoc-documentation-function-default.
1643 (eldoc-documentation-function-default): New function.
1644 (eldoc-documentation-function): Change value.
1645
1646 2014-03-31 Glenn Morris <rgm@gnu.org>
1647
1648 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1649
1650 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1651 (vhdl-compose-components-package, vhdl-compose-configuration):
1652 Abbreviate default-directory (missing from some previous upstream sync).
1653
1654 2014-03-31 Reto Zimmermann <reto@gnu.org>
1655
1656 Sync with upstream vhdl mode v3.35.2.
1657 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1658 (top-level): No longer require assoc.
1659 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1660 New functions. Use throughout to replace aget etc.
1661 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1662 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1663 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1664 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1665 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1666 except `vhdl-compiler'.
1667 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1668 when appropriate.
1669
1670 2014-03-31 Glenn Morris <rgm@gnu.org>
1671
1672 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1673 Revert 2014-03-26 merge goof; go back to using defalias.
1674
1675 2014-03-30 Daniel Colascione <dancol@dancol.org>
1676
1677 * comint.el (comint-send-input):
1678 Deactivate completion-in-region-mode before we send comint input.
1679 (Bug#17139).
1680
1681 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1682 on keyboard-quit.
1683
1684 2014-03-29 Glenn Morris <rgm@gnu.org>
1685
1686 * textmodes/reftex.el: Manage most autoloads automatically.
1687 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1688 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1689 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1690 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1691 * textmodes/reftex-toc.el: Set generated-autoload-file,
1692 and add autoload cookies for reftex.el.
1693 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1694
1695 2014-03-28 Glenn Morris <rgm@gnu.org>
1696
1697 * cus-start.el (report-emacs-bug-address): Set custom properties.
1698 * mail/emacsbug.el (report-emacs-bug-address):
1699 Variable is now defined in emacs.c.
1700
1701 * mail/emacsbug.el (report-emacs-bug):
1702 Include system-configuration-features.
1703
1704 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1705
1706 * simple.el (cycle-spacing): Never delete spaces on first run by
1707 default, but do so in a new 'fast mode and if there are already
1708 N spaces (the previous behavior).
1709 Compare N with its value in previous invocation so that changing
1710 prefix argument restarts `cycle-spacing' sequence.
1711 The idea is that with this change, binding M-SPC to
1712 `cycle-spacing' should not introduce any changes in behavior of
1713 the binding so long as users do not type M-SPC twice in a raw with
1714 the same prefix argument or lack thereof.
1715
1716 2014-03-28 Glenn Morris <rgm@gnu.org>
1717
1718 * faces.el (term-file-aliases): New variable.
1719 (tty-run-terminal-initialization): Respect term-file-aliases.
1720 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1721 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1722 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1723
1724 2014-03-27 Glenn Morris <rgm@gnu.org>
1725
1726 * startup.el (inhibit-startup-hooks): Doc tweak.
1727 (normal-top-level): Simplify running of hooks.
1728 For window-setup-hook, respect inhibit-startup-hooks.
1729 (command-line-1): Don't set window-setup-hook to nil.
1730
1731 Allow selective autoloading from obsolete/ directory.
1732 * Makefile.in (obsolete-autoloads): New rule.
1733 (autoloads): Run obsolete-autoloads.
1734 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1735 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1736
1737 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1738
1739 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1740 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1741
1742 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1743 Don't propertize `?' or `!' as symbol constituent when after
1744 colon. (Bug#17097)
1745
1746 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1747
1748 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1749 which is no longer needed and causes trouble in GTK builds (bug#17046).
1750
1751 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1752 Use url-insert-file-contents; package-handle-response no longer exists.
1753
1754 2014-03-26 Daniel Colascione <dancol@dancol.org>
1755
1756 * simple.el (process-menu-mode-map): New variable.
1757 (process-menu-delete-process): New command.
1758
1759 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1760
1761 * emacs-lisp/package.el: Fix bug#16733 (again).
1762 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1763 (url-http-target-url): Remove unused declarations.
1764 (package-handle-response): Remove.
1765 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1766 (package--download-one-archive): Use current-buffer instead of
1767 dynamic binding of `buffer'.
1768 (describe-package-1): Do not decode readme-string.
1769
1770 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1771
1772 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1773
1774 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1775 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1776 `remote-file-name-inhibit-cache' to nil in the second pass.
1777 (tramp-find-executable): Do not call "which" on SunOS.
1778 (tramp-send-command-and-check): Fix docstring.
1779 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1780 check whether source directory has set the sticky bit.
1781
1782 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1783
1784 * simple.el (primitive-undo): Only process marker adjustments
1785 validated against their corresponding (TEXT . POS). Issue warning
1786 for lone marker adjustments in undo history. (Bug#16818)
1787 (undo-make-selective-list): Add marker adjustments to selective
1788 undo list based on whether their corresponding (TEXT . POS) is in
1789 the region. Remove variable adjusted-markers, which was unused
1790 and only non nil during undo-make-selective-list.
1791 (undo-elt-in-region): Return nil when passed a marker adjustment
1792 and explain in function doc.
1793
1794 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1795
1796 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1797
1798 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1799
1800 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1801 Match special global variables without curlies, too.
1802 (ruby-font-lock-keywords): Simplify the matcher for special global
1803 variables. Don't require a non-word character after the variable.
1804 (Bug#17057)
1805
1806 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * simple.el (redisplay-highlight-region-function): Increase priority of
1809 overlay to make sure boundaries are visible (bug#15899).
1810
1811 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1812
1813 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1814 (frameset-restore): Compare display strings with equal.
1815
1816 * frame.el (make-frame): Don't quote display name in error message,
1817 it is already a string.
1818
1819 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1820
1821 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1822 the password.
1823
1824 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1825
1826 * emacs-lisp/package.el (package--add-to-archive-contents):
1827 Include already installed and built-in packages in
1828 `package-archive-contents'.
1829 (package-install): Don't include already installed packages in the
1830 options during interactive invocation. (Bug#16762)
1831 (package-show-package-list): If the buffer is already displayed in
1832 another window, switch to that window.
1833
1834 2014-03-26 Reto Zimmermann <reto@gnu.org>
1835
1836 Sync with upstream vhdl mode v3.35.1.
1837 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1838 (vhdl-compiler-alist): Doc fix.
1839 (vhdl-goto-line): Remove.
1840 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1841 (vhdl-mode) <paragraph-start>: Fix value.
1842 (vhdl-fix-statement-region): Not `for' in wait-statement.
1843 (vhdl-beautify-region): Also (un)tabify.
1844 (vhdl-get-visible-signals):
1845 Scan declarative part of generate statements.
1846 (vhdl-template-record): Fix indentation for record type declaration.
1847 (vhdl-expand-abbrev, vhdl-expand-paren):
1848 Revert to using fset again rather than defalias.
1849 (vhdl-scan-directory-contents): Tweak.
1850 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1851 (vhdl-compose-components-package):
1852 Replace vhdl-goto-line with forward-line.
1853 (top-level): Tweak speedbar frame selection.
1854 (vhdl-generate-makefile-1): Support for compilers with no
1855 unit-to-file name mapping (create directory with dummy files).
1856
1857 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1858
1859 Sync with upstream verilog-mode revision 702457d.
1860 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1861 (create-lockfiles): Declare.
1862 (verilog-read-decls): Fix module header imports, bug709.
1863 Reported by Victor Lau.
1864 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1865 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1866 interface-only modules, bug721. Reported by Dean Hoyt.
1867
1868 2014-03-26 Glenn Morris <rgm@gnu.org>
1869
1870 * obsolete/gulp.el: Move here from emacs-lisp/.
1871
1872 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1873 Remove fallback aliases, since they are always defined now.
1874
1875 2014-03-24 Daniel Colascione <dancol@dancol.org>
1876
1877 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1878 instead of cl-loop search function.
1879
1880 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1881
1882 * calendar/parse-time.el (parse-time-iso8601-regexp)
1883 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1884 it more generally.
1885
1886 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1887
1888 * net/dns.el (network-interface-list): Define for XEmacs.
1889
1890 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1891
1892 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1893 the network interfaces changed.
1894 (dns-query): Use it to flush the data.
1895
1896 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1897
1898 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1899
1900 2014-03-23 Daniel Colascione <dancol@dancol.org>
1901
1902 Change subword-mode to use `find-word-boundary-function-table' and
1903 replace `capitalized-words-mode'. Also, convert to lexical
1904 binding.
1905
1906 * progmodes/cap-words.el: Delete now-obsolete file.
1907 * progmodes/subword.el: Reimplement using
1908 `find-word-boundary-function-table'.
1909 (subword-mode-map): Hollow out.
1910 (capitalized-words-mode): Define as obsolete alias for
1911 `subword-mode'.
1912 (subword-mode, superword-mode): Tweak documentation to reflect new
1913 implementation; call `subword-setup-buffer'.
1914 (subword-forward, subword-capitalize): Add underscore to indicate
1915 unused variable.
1916 (subword-find-word-boundary-function-table): New constant.
1917 (subword-empty-char-table): New constant.
1918 (subword-setup-buffer): New function.
1919 (subword-find-word-boundary): New function.
1920
1921 2014-03-23 Daniel Colascione <dancol@dancol.org>
1922
1923 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1924 list to look for keyword arguments instead of `memq', fixing
1925 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1926 Please make bootstrap.
1927
1928 2014-03-22 Glenn Morris <rgm@gnu.org>
1929
1930 * dired.el (dired-read-regexp): Make obsolete.
1931 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1932 (dired-flag-files-regexp):
1933 * dired-aux.el (dired-mark-read-regexp):
1934 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1935
1936 * startup.el (fancy-startup-text):
1937 * help.el (describe-gnu-project): Visit online info about GNU project.
1938
1939 * help-fns.el (help-fns--interactive-only): New function.
1940 (help-fns-describe-function-functions): Add the above function.
1941 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1942 (next-line, previous-line): Remove hand-written interactive-only
1943 information from doc strings, it is auto-generated now.
1944 * bookmark.el (bookmark-write):
1945 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1946 (epa-mail-import-keys): Mark interactive-only,
1947 and remove hand-written interactive-only information from doc strings.
1948 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1949 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1950 * files.el (not-modified):
1951 * simple.el (mark-whole-buffer): Mark interactive-only.
1952
1953 * emacs-lisp/byte-run.el (defun-declarations-alist):
1954 Add interactive-only. Doc tweak.
1955 (macro-declarations-alist): Doc tweak.
1956 * subr.el (declare): Doc tweak (add xref to manual).
1957 * comint.el (comint-run):
1958 * files.el (insert-file-literally, insert-file):
1959 * replace.el (replace-string, replace-regexp):
1960 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1961 (delete-forward-char, goto-line, insert-buffer, next-line)
1962 (previous-line): Set interactive-only via declare.
1963
1964 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1965
1966 * emacs-lisp/package.el (package-desc): Use the contents of the
1967 quoted form, not its cdr. (Bug#16873)
1968
1969 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1970
1971 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1972 benefit of doc.c; change parameter profile to match the X function.
1973
1974 2014-03-22 Leo Liu <sdl.web@gmail.com>
1975
1976 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1977 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1978
1979 2014-03-21 Richard Stallman <rms@gnu.org>
1980
1981 * battery.el (battery-linux-sysfs): Search for each field
1982 from the beginning of the buffer.
1983
1984 * subr.el (set-transient-map): Clear out function and value
1985 of the temporary symbol when we're done with it.
1986
1987 * mail/rmailsum.el (rmail-summary-delete-forward):
1988 Optimize case of reaching end and handling count.
1989 (rmail-summary-mark-deleted): Optimize when N is current msg.
1990 Don't create new summary line.
1991 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1992 (rmail-summary-undelete-many): Rewrite for speed.
1993 (rmail-summary-msg-number): New function.
1994
1995 * mail/rmail.el (rmail-delete-message): Update summary.
1996 (rmail-undelete-previous-message): Handle repeat count arg.
1997 (rmail-delete-backward, rmail-delete-forward): Likewise.
1998
1999 2014-03-21 Daniel Colascione <dancol@dancol.org>
2000
2001 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2002 information in bug reports.
2003
2004 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2005
2006 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2007 and `tramp-copy-env'.
2008
2009 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2010 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2011
2012 2014-03-21 Glenn Morris <rgm@gnu.org>
2013
2014 * electric.el (electric-indent-post-self-insert-function): Add doc.
2015
2016 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2017
2018 * emacs-lisp/package.el (package-compute-transaction):
2019 Use `version-list-<=' to compare the requirement version against
2020 the version of package already to be installed. Update the error
2021 message. (Bug#16826)
2022
2023 * progmodes/ruby-mode.el (ruby-smie-rules):
2024 Add indentation rule for ` @ '. (Bug#17050)
2025
2026 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2027
2028 * align.el (align-regexp): Remove superfluous backslash.
2029
2030 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2031 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2032 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2033 Fix docstring typos.
2034 (ffap-next): Use C-u in docstring.
2035 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2036 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2037 Remove superfluous backslashes.
2038 (ffap-string-at-point): Reflow docstring.
2039
2040 * server.el (server-host): Reflow docstring.
2041 (server-unload-function): Fix docstring typo.
2042 (server-eval-at): Remove superfluous backslash.
2043
2044 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2045 (skeleton-insert): Doc fix.
2046 (skeleton-insert): Reflow docstring.
2047
2048 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2049 (tty-color-approximate, tty-color-by-index, tty-color-values)
2050 (tty-color-desc): Remove superfluous backslashes.
2051
2052 2014-03-21 Glenn Morris <rgm@gnu.org>
2053
2054 * cus-start.el (history-length): Bump :version.
2055
2056 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2057 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2058 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2059 Don't set `make-backup-files'.
2060
2061 * info.el (info--prettify-description): New function,
2062 to give info-finder descriptions consistent case, punctuation.
2063 (Info-finder-find-node): Use it. Sort packages.
2064 Refer to "description" rather than "commentary".
2065
2066 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2067
2068 * frameset.el (frameset--print-register): New function.
2069 (frameset-to-register): Use it.
2070
2071 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2072
2073 * progmodes/hideif.el (hif-string-to-number): New function.
2074 (hif-tokenize): Use it to understand non-decimal floats.
2075
2076 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2077
2078 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2079
2080 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2081
2082 * electric.el (electric-newline-and-maybe-indent): New command.
2083 Bind it globally to C-j.
2084 (electric-indent-mode): Don't mess with the global map any more.
2085 Don't drop the post-self-insert-hook is some buffer is still using it
2086 (bug#16770).
2087
2088 * bindings.el (global-map): Remove C-j binding.
2089
2090 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2091 the docstring of functions advised before dumping (bug#16993).
2092
2093 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2094
2095 * ps-print.el (ps-generate-postscript-with-faces):
2096 Explicitly deactivate the mark (bug#16866).
2097 * simple.el (deactivate-mark): Update region highlight.
2098
2099 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2100
2101 * emacs-lisp/package.el (describe-package-1):
2102 Decode commentary (bug#16733).
2103
2104 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2105
2106 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2107 modification of the value argument of :set (bug#16755).
2108
2109 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * simple.el (newline-and-indent): Do autofill (bug#17031).
2112
2113 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2114
2115 * newcomment.el (comment-normalize-vars): Only add escaping check
2116 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2117 (comment-beginning): Use `narrow-to-region' instead of moving back
2118 one character.
2119 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2120 (comment-start-skip): Update the docstring.
2121
2122 2014-03-18 Richard Stallman <rms@gnu.org>
2123
2124 * dired.el (dired-display-file): Force use of other window.
2125
2126 2014-03-18 Daniel Colascione <dancol@dancol.org>
2127
2128 * startup.el (tty-handle-args): Remove debug message from 2007.
2129
2130 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2133 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2134 (advice--make-1, advice-add, advice-remove):
2135 Remove braindead :advice-pending hack.
2136
2137 2014-03-17 Glenn Morris <rgm@gnu.org>
2138
2139 * calendar/calendar.el (calendar-generate-month): Apply weekend
2140 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2141
2142 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2143
2144 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2145 (tramp-call-process): Trace also DESTINATION.
2146
2147 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2148 Quote file names when they are local. Remove superfluous trace.
2149
2150 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2151
2152 * newcomment.el (comment-beginning): If `comment-start-skip'
2153 doesn't match, move back one char and try again. (Bug#16971)
2154
2155 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2156 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2157 Set `comment-start-skip' to a simpler value that doesn't try to
2158 check if the semicolon is escaped (this is handled by
2159 `syntax-ppss' now). (Bug#16971)
2160
2161 * progmodes/scheme.el (scheme-mode-variables): Same.
2162
2163 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2164
2165 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2166 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2167 current (Bug#16816, Bug#17007).
2168 (with-current-buffer-window): New macro doing the same as
2169 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2170 * help.el (help-print-return-message): Warn in doc-string to not
2171 use this in `with-help-window'.
2172 (describe-bindings-internal): Call `describe-buffer-bindings'
2173 from within help buffer. See Juanma's scenario in (Bug#16816).
2174 (with-help-window): Update doc-string.
2175 * dired.el (dired-mark-pop-up):
2176 * files.el (save-buffers-kill-emacs):
2177 * register.el (register-preview): Use `with-current-buffer-window'
2178 instead of `with-temp-buffer-window'.
2179
2180 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2181
2182 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2183 Implement inserting into current buffer, documented in their docstrings.
2184 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2185 (rst-section-tree-point, rst-forward-section, rst-indent)
2186 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2187 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2188 (rst-font-lock-handle-adornment-pre-match-form)
2189 (rst-repeat-last-character): Reflow docstrings.
2190 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2191 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2192 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2193 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2194 Fix docstring typos.
2195 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2196 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2197 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2198
2199 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2200
2201 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2202 for compatibility with other ports.
2203 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2204 from the -xrm command line argument, but in the Nextstep port its value
2205 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2206
2207 * progmodes/python.el (defconst, python-syntax-count-quotes)
2208 (python-indent-region, python-indent-shift-right)
2209 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2210 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2211 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2212 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2213 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2214 (python-shell-buffer-substring, python-shell-send-buffer)
2215 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2216 (python-completion-complete-at-point, python-fill-docstring-style)
2217 (python-eldoc-function, python-imenu-format-item-label)
2218 (python-imenu-format-parent-item-label)
2219 (python-imenu-format-parent-item-jump-label)
2220 (python-imenu--build-tree, python-imenu-create-index)
2221 (python-imenu-create-flat-index): Fix docstring typos.
2222 (python-indent-context, python-shell-prompt-regexp, run-python):
2223 Remove superfluous backslashes.
2224 (python-indent-line, python-nav-beginning-of-defun)
2225 (python-shell-get-buffer, python-shell-get-process)
2226 (python-info-current-defun, python-info-current-line-comment-p)
2227 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2228 (python-indent-post-self-insert-function, python-shell-send-file)
2229 (python-shell-completion-get-completions)
2230 (python-shell-completion-complete-or-indent)
2231 (python-eldoc--get-doc-at-point): Reflow docstrings.
2232
2233 2014-03-14 Glenn Morris <rgm@gnu.org>
2234
2235 * emacs-lisp/package.el (package-menu-mode-map):
2236 Replace use of obsolete function alias. Tweak menu item text.
2237
2238 * info.el (Info-finder-find-node):
2239 Ignore the `emacs' metapackage. (Bug#10813)
2240
2241 * finder.el (finder-list-matches): Include unversioned packages
2242 in the result of a keyword search.
2243
2244 * finder.el (finder--builtins-descriptions): New constant.
2245 (finder-compile-keywords): Use finder--builtins-descriptions.
2246
2247 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2248
2249 * simple.el (blink-matching-paren): Describe the new value,
2250 `jump', enabling the old behavior.
2251 (blink-matching-open): Use that value. (Bug#17008)
2252
2253 2014-03-14 Glenn Morris <rgm@gnu.org>
2254
2255 * finder.el (finder-no-scan-regexp): Add leim-list.
2256 (finder-compile-keywords):
2257 Don't skip files with same basename. (Bug#14010)
2258 * Makefile.in (setwins_finder): New, excluding leim.
2259 (finder-data): Use setwins_finder.
2260
2261 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2262 (help-function-arglist, help-make-usage): Move from here...
2263 * help.el (help-split-fundoc, help-add-fundoc-usage)
2264 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2265 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2266
2267 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2268
2269 * net/socks.el (socks, socks-override-functions)
2270 (socks-find-services-entry):
2271 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2272 (hif-find-ifdef-block):
2273 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2274
2275 * net/tls.el (tls-program): Reflow docstring.
2276
2277 * progmodes/pascal.el (pascal-mode-abbrev-table)
2278 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2279 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2280 (pascal-outline-mode): Fix docstring typos.
2281 (pascal-mode): Let define-derived-mode document mode hook.
2282 (pascal-uncomment-area): Reflow.
2283 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2284
2285 * progmodes/opascal.el (opascal-compound-block-indent)
2286 (opascal-case-label-indent): Fix docstring typos.
2287 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2288
2289 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2290
2291 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2292 Fontify multiple adjacent negation chars. (Bug#17004)
2293
2294 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2295
2296 * emacs-lisp/package.el (package--prepare-dependencies):
2297 Accept requirements without explicit version (bug#14941).
2298
2299 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2300
2301 * register.el (register-separator, copy-to-register): Doc fixes.
2302 (register-preview-default): Remove unnecessary call to concat.
2303
2304 * frameset.el (frameset-restore): When checking for a visible frame,
2305 use the action map instead of calling visible-frame-list.
2306
2307 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2308
2309 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2310
2311 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2312
2313 * window.el (fit-frame-to-buffer): Get maximum width from
2314 display's width instead of height.
2315
2316 2014-03-12 Glenn Morris <rgm@gnu.org>
2317
2318 * desktop.el (desktop-restore-frames)
2319 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2320 (desktop-restore-reuses-frames): Doc tweaks.
2321
2322 * electric.el (electric-indent-mode): Doc fix.
2323
2324 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2325
2326 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2327 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2328 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2329 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2330 (cvs-dired-use-hook): Fix docstring typos.
2331 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2332 Doc fixes.
2333
2334 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2335 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2336 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2337 (cvs-execute-single-dir): Fix docstring typos.
2338
2339 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2340 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2341
2342 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2343
2344 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2345 Fix docstring typos.
2346
2347 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2348
2349 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2350 called from jump-to-register after unloading the frameset package.
2351
2352 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2355 (bug#16975). Deactivate the mark before setting it to nil.
2356 (activate-mark): Do nothing if region is already active.
2357
2358 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2359
2360 * frameset.el (frameset--target-display): Remove definition; declare.
2361 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2362
2363 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2366 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2367 when the advice is pending.
2368 (advice-remove): Remove this marker when not needed any more.
2369
2370 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2371
2372 * frameset.el: Separate options for reusing frames and cleaning up.
2373 (frameset--reuse-list): Remove definition; declare.
2374 (frameset--action-map): Declare.
2375 (frameset--find-frame-if): Doc fix.
2376 (frameset--restore-frame): Cache frame action.
2377 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2378 how to clean up the frame list after restoring. Remove cleaning
2379 options from REUSE-FRAMES. Change all keyword values to symbols.
2380 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2381
2382 * desktop.el (desktop-restore-forces-onscreen)
2383 (desktop-restore-reuses-frames): Use non-keyword values.
2384 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2385
2386 2014-03-10 Glenn Morris <rgm@gnu.org>
2387
2388 * files.el (find-file): Doc fix: update info node name.
2389
2390 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2391 Doc fix: remove references to deleted info nodes.
2392
2393 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2394
2395 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2396 Do not add `nil' to the environment, when there's no remote `locale'.
2397 (tramp-find-inline-encoding): Check, that the remote host has
2398 installed perl, before sending scripts.
2399
2400 2014-03-10 Leo Liu <sdl.web@gmail.com>
2401
2402 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2403 Clear eldoc-last-message. (Bug#16920)
2404
2405 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2408 (bug#14430).
2409
2410 2014-03-09 Juri Linkov <juri@jurta.org>
2411
2412 * ansi-color.el (ansi-color-names-vector): Copy default colors
2413 from `xterm-standard-colors' that look well on the default white
2414 background (and also on the black background) to avoid illegible
2415 color combinations like yellow-on-white and white-on-white.
2416 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2417
2418 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2419
2420 * frameset.el (frameset-restore): When no frame is visible, do not
2421 generate a list of frames, just make visible the selected one.
2422
2423 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2424
2425 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2426 it only contains the repository root. (Bug#16897)
2427
2428 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2429
2430 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2431 only when `remote-file-name-inhibit-cache' is nil.
2432 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2433
2434 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2435
2436 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2437 Fix doc-strings.
2438 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2439 fit-frame-to-buffer variable. Fix doc-string.
2440 (fit-window-to-buffer): Set ONLY argument in call of
2441 fit-frame-to-buffer. Fix doc-string.
2442
2443 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2444
2445 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2446 (tramp-action-password): Clear password cache if needed.
2447 (tramp-read-passwd): Do not clear password cache.
2448
2449 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2450 cache unless it is the first password request.
2451
2452 2014-03-06 Glenn Morris <rgm@gnu.org>
2453
2454 * simple.el (newline): Doc tweak.
2455
2456 * emacs-lisp/shadow.el (load-path-shadows-find):
2457 Ignore dir-locals. (Bug#12357)
2458
2459 2014-03-05 Glenn Morris <rgm@gnu.org>
2460
2461 * files.el (interpreter-mode-alist):
2462 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2463
2464 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2465
2466 * frameset.el (frameset--initial-params): Filter out null entries.
2467
2468 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2469
2470 * window.el (window-min-height, window-min-width):
2471 Rewrite doc-strings.
2472 (window-body-size): Add PIXELWISE argument to make it consistent
2473 with its callees.
2474
2475 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2476
2477 * finder.el (finder-mode-map, finder-mode-syntax-table):
2478 Revert part of 2014-02-28 change.
2479
2480 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2481
2482 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2483 (eww-setup-buffer): Clear next/prev/etc more reliably.
2484 (eww-textarea-map): [tab] doesn't work on tty.
2485 Reported by Mario Lang.
2486
2487 * net/shr.el (shr-map): Ditto.
2488
2489 2014-03-04 Glenn Morris <rgm@gnu.org>
2490
2491 * minibuffer.el (completion-hilit-commonality):
2492 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2493
2494 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2495
2496 * hilit-chg.el (hilit-chg-unload-function): New function.
2497 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2498 (hilit-chg-map-changes): Prefer cardinal number to digit.
2499 (hilit-chg-display-changes): Reflow docstring.
2500 (highlight-changes-rotate-faces): Remove superfluous backslash.
2501
2502 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2503
2504 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2505 `tramp-send-command-and-check'.
2506
2507 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2508
2509 * hexl.el (hexl-address-region, hexl-ascii-region)
2510 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2511 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2512 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2513 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2514 (hexl-mode): Doc fix.
2515 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2516 (hexl-mode-ruler): Fix typos in docstrings.
2517
2518 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2519 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2520 Remove superfluous backslashes.
2521 (strokes-last-stroke, strokes-global-map, strokes-mode):
2522 Reflow docstrings.
2523 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2524 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2525 (strokes-distance-squared, strokes-global-set-stroke)
2526 (strokes-global-set-stroke-string): Doc fixes.
2527 (strokes-help): Fix typos; reflow docstring.
2528
2529 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2530
2531 * window.el (window-in-direction): Fix doc-string.
2532
2533 2014-03-04 Glenn Morris <rgm@gnu.org>
2534
2535 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2536 Explicit error if no grammar.
2537 (smie-config-save): Doc fix. Fix quote typo.
2538
2539 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2542 electric-indent-mode-hook if we obey electric-indent-mode.
2543 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2544 decide whether we obey electric-indent-mode.
2545 (c-change-set-fl-decl-start, c-extend-after-change-region):
2546 Silence warnings.
2547 (c-electric-indent-mode-hook): Assume we do want to obey
2548 electric-indent-mode.
2549
2550 * electric.el (electric-indent-mode-has-been-called): Remove.
2551 (electric-indent-mode): Fix accordingly.
2552
2553 * files.el (hack-local-variables): Mention file name in warning.
2554
2555 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2556
2557 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2558
2559 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2560 * simple.el (delete-forward-char): Mark as interactive-only.
2561
2562 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2563
2564 * icomplete.el (icomplete-completions):
2565 Follow-up to 2014-03-01 change.
2566
2567 * icomplete.el: Miscellaneous doc fixes.
2568 Use Icomplete everywhere instead of icomplete for consistency.
2569 (icomplete-max-delay-chars): Fix typo.
2570 (icomplete-mode): Use \[].
2571 (icomplete-tidy, icomplete-exhibit): Reflow.
2572 (icomplete-minibuffer-setup-hook, icomplete-completions):
2573 Remove superfluous backlashes.
2574
2575 * ido.el: Miscellaneous doc fixes.
2576 Use Ido everywhere instead of ido or `ido' for consistency.
2577 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2578 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2579 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2580 (ido-separator): Extract obsolescence info from docstring and declare
2581 with make-obsolete-variable.
2582 (ido-minibuffer-setup-hook): Simplify example.
2583 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2584 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2585 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2586 (ido-everywhere): Reflow docstring.
2587 (ido-toggle-vc): Doc fix.
2588 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2589 of long list of keybindings.
2590
2591 2014-03-03 Glenn Morris <rgm@gnu.org>
2592
2593 * frame.el (display-pixel-height, display-pixel-width)
2594 (display-mm-dimensions-alist, display-mm-height)
2595 (display-mm-width): Doc tweaks.
2596
2597 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2598
2599 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2600 case of undo in region.
2601
2602 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2603
2604 * window.el (fit-window-to-buffer): Fix argument in window-size
2605 call when window is horizontally combined.
2606
2607 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2608
2609 * icomplete.el (icomplete-completions): Use string-width.
2610 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2611
2612 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2613
2614 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2615 Highlight regexp options. (Bug#16914)
2616
2617 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2618
2619 * window.el (window--max-delta-1): Round down when calculating
2620 how many lines/columns we can get from a window.
2621
2622 2014-03-01 Glenn Morris <rgm@gnu.org>
2623
2624 * isearch.el (search-invisible): Doc fix.
2625
2626 * minibuffer.el (completion-hilit-commonality):
2627 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2628 * comint.el (comint-dynamic-list-completions): Doc fix.
2629 * comint.el (comint-dynamic-list-completions):
2630 * filecache.el (file-cache-minibuffer-complete):
2631 * tempo.el (tempo-display-completions):
2632 * eshell/em-hist.el (eshell-list-history):
2633 Replace use of obsolete argument of display-completion-list.
2634
2635 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2636
2637 * icomplete.el (icomplete-completions):
2638 Revert back to using "..." when ?… cannot be displayed.
2639
2640 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2641
2642 * finder.el (finder-unload-function): New function.
2643
2644 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2645
2646 * dframe.el (dframe-detach):
2647 * find-dired.el (find-dired, find-name-dired):
2648 * finder.el (finder-mode-map, finder-mode-syntax-table)
2649 (finder-headmark, finder-select, finder-mouse-select):
2650 Fix docstring typos.
2651
2652 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2653
2654 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2655 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2656 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2657 Fix doc-string based on a suggestion by Nicolas Richard
2658 <theonewiththeevillook@yahoo.fr>.
2659 * help.el (with-help-window): Fix doc-string.
2660
2661 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2662
2663 * net/shr.el (shr-image-animate): New option.
2664 (shr-put-image): Respect shr-image-animate.
2665
2666 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2667
2668 * net/tramp-adb.el (tramp-adb-parse-device-names):
2669 Use `accept-process-output'.
2670 (tramp-adb-handle-file-truename): Cache the localname only.
2671 (tramp-adb-handle-make-directory)
2672 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2673 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2674 modes cannot be changed.
2675
2676 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2677 file properties of symlinks.
2678
2679 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2680
2681 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2682 required/optional fields to match development biblatex. (Bug#16781)
2683
2684 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2685
2686 * saveplace.el (toggle-save-place):
2687 Fix argument handling. (Bug#16673)
2688
2689 2014-02-28 Glenn Morris <rgm@gnu.org>
2690
2691 * minibuffer.el (completions-first-difference)
2692 (completions-common-part, completion-hilit-commonality): Doc fixes.
2693
2694 2014-02-28 Karl Berry <karl@gnu.org>
2695
2696 * info.el (Info-mode-map): Add H for describe-mode,
2697 to synchronize with standalone Info.
2698
2699 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2700
2701 * progmodes/sql.el (sql-interactive-mode):
2702 Avoid setting global comint-input-ring-separator. (Bug#16814)
2703
2704 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2705
2706 * net/dbus.el (dbus--init-bus): Declare function.
2707 (dbus-path-local, dbus-interface-local): New defconst.
2708 (dbus-init-bus): Use them.
2709 (dbus-return-values-table): Extend doc.
2710 (dbus-handle-bus-disconnect): Extend error message.
2711
2712 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2713
2714 * subr.el (y-or-n-p): Fix double space issue in message.
2715
2716 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2717
2718 * net/tramp.el (tramp-call-process): Improve trace message.
2719 (tramp-handle-insert-file-contents): Trace error case.
2720
2721 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2722 <insert-directory>: Use `tramp-handle-insert-directory'.
2723 (tramp-adb-handle-insert-directory): Remove function.
2724 (tramp-adb-send-command-and-check): New defun, replacing
2725 `tramp-adb-command-exit-status'. Change all callees.
2726 (tramp-adb-handle-file-attributes)
2727 (tramp-adb-handle-directory-files-and-attributes): Use it.
2728 (tramp-adb-ls-output-name-less-p):
2729 Use `directory-listing-before-filename-regexp'.
2730 (tramp-adb-handle-delete-directory): Flush also file properties of
2731 the truename of directory.
2732 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2733 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2734 (tramp-adb-handle-write-region): Implement APPEND.
2735 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2736 properties correctly.
2737 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2738 variables. Check for connected devices only when needed.
2739
2740 2014-02-27 Glenn Morris <rgm@gnu.org>
2741
2742 * minibuffer.el (completion-table-dynamic)
2743 (completion-table-with-cache): Doc fixes.
2744
2745 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2746 (completing-read-multiple): Doc fixes.
2747
2748 2014-02-27 Daniel Colascione <dancol@dancol.org>
2749
2750 * minibuffer.el (completion--nth-completion): Fix indentation.
2751
2752 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2753 explicit tramp path is empty.
2754
2755 2014-02-27 Glenn Morris <rgm@gnu.org>
2756
2757 * emacs-lisp/crm.el (completing-read-multiple):
2758 Empower help-enable-auto-load.
2759
2760 2014-02-26 Glenn Morris <rgm@gnu.org>
2761
2762 * startup.el (command-line): Don't init the tty in daemon mode.
2763
2764 Avoid calling tty-setup-hook twice, eg if a term file
2765 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2766 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2767 (tty-create-frame-with-faces): Use it.
2768 * startup.el (command-line): Pass run-hook argument
2769 to tty-run-terminal-initialization.
2770
2771 * dired.el (dired-restore-desktop-buffer): Demote errors;
2772 eg in case a glob match fails. (Bug#16884)
2773
2774 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2775
2776 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2777 error from `read-from-string'. (Bug#16850)
2778
2779 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2780 result of `completing-read' in the interactive form. (Bug#16854)
2781
2782 2014-02-25 Glenn Morris <rgm@gnu.org>
2783
2784 * image.el (image-animate, image-animate-timeout):
2785 Stop animating images in dead buffers. (Bug#16878)
2786
2787 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2788
2789 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2790 Doc fixes.
2791 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2792 * term/sun.el (sun-raw-prefix-hooks):
2793 Use tty-setup-hook instead of term-setup-hook.
2794 (terminal-init-sun): Construct message from bytecomp plist.
2795 * term/wyse50.el (enable-arrow-keys): Doc fix.
2796
2797 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2798
2799 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2800 Fix docstring typos.
2801
2802 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2803
2804 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2805
2806 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2807
2808 * minibuffer.el (completion--try-word-completion):
2809 Fix error when completing M-x commands (bug#16808).
2810
2811 2014-02-24 Leo Liu <sdl.web@gmail.com>
2812
2813 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2814
2815 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2816
2817 * apropos.el (apropos-print): Avoid formatting error when
2818 apropos-do-all and apropos-compact-layout are both t.
2819
2820 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2821
2822 * apropos.el (apropos-property, apropos-all-words-regexp)
2823 (apropos-true-hit, apropos-variable, apropos-print):
2824 Fix docstring typos, and remove obsolete comment.
2825
2826 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2829 Preserve trailing "/". (Bug#16851)
2830
2831 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2832
2833 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2834 after `=>' (bug#16811).
2835 (ruby-smie-rules): Handle the inconsistent second element of the
2836 list returned by `smie-indent--parent'.
2837 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2838 method call.
2839
2840 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2841
2842 * elec-pair.el (electric-pair-text-syntax-table)
2843 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2844 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2845 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2846 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2847
2848 2014-02-22 Glenn Morris <rgm@gnu.org>
2849
2850 * imenu.el (imenu--generic-function): Doc fix.
2851
2852 * register.el (frame-configuration-to-register): Make obsolete.
2853
2854 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2855
2856 * desktop.el (desktop-save-buffer-p): Do not fail when
2857 desktop-files-not-to-save is nil. Return t for true result
2858 as the doc says.
2859
2860 2014-02-22 Daniel Colascione <dancol@dancol.org>
2861
2862 * net/secrets.el (secrets-create-item, secrets-search-items):
2863 Check that attribute values are strings, avoiding the construction
2864 of invalid dbus messages.
2865
2866 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2867
2868 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2869 defun-declarations-alist.
2870
2871 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2874 (bug#16829).
2875
2876 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2877
2878 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2879 (whitespace-newline, whitespace-trailing, whitespace-line)
2880 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2881 (whitespace-space-after-tab): Fix typo in docstrings.
2882
2883 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2884
2885 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2886
2887 * electric.el (electric-indent-functions-without-reindent):
2888 Add `yaml-indent-line'.
2889
2890 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2891
2892 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2893 It has done nothing for years; should be removed after the release.
2894
2895 * simple.el (choose-completion): Fix docstring typo.
2896 (read-quoted-char-radix): Remove unneeded * in docstring.
2897 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2898 Don't escape parentheses unnecessarily in docstrings.
2899
2900 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2901
2902 Fix handling of window-min-height/-width (Bug#16738).
2903 * window.el (window--dump-window, window--dump-frame):
2904 New functions.
2905 (window--min-size-1): Account for window dividers.
2906 When window-resize-pixelwise is nil, delay rounding till after the
2907 sum of the window components has been calculated.
2908 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2909 nil make sure at least one text line and two text columns remain
2910 fully visible.
2911 (window-resize): Signal an error when window-resize-apply fails.
2912 (window--resize-child-windows): Fix calculation of by how many
2913 pixels a window can still be shrunk via window-new-normal.
2914 (adjust-window-trailing-edge): Call window--resizable with
2915 correct TRAIL argument.
2916
2917 (with-temp-buffer-window): Don't evaluate BODY within
2918 with-current-buffer (Bug#16816).
2919
2920 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2921
2922 * net/tramp.el (tramp-check-cached-permissions):
2923 Call `file-attributes' with `suffix' being a symbol but a string.
2924
2925 2014-02-21 Daniel Colascione <dancol@dancol.org>
2926
2927 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2928 (dbus-init-bus): New function: call into dbus-init-bus-1
2929 and installs a handler for the disconnect signal.
2930 (dbus-call-method): Rewrite to look for result in cons.
2931 (dbus-call-method-handler): Store result in cons.
2932 (dbus-check-event): Recognize events with nil sender as valid.
2933 (dbus-handle-bus-disconnect): New function. React to bus
2934 disconnection signal by synthesizing dbus error for each
2935 pending synchronous or asynchronous call.
2936 (dbus-notice-synchronous-call-errors): New function.
2937 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2938 is true, not all the time.
2939
2940 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2941
2942 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2943 Remove obsolescence declarations, these variables do not exist anymore.
2944
2945 * savehist.el (savehist-save-minibuffer-history)
2946 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2947 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2948 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2949 mostly, refer to "Savehist mode" when talking about the mode,
2950 and not the function.
2951
2952 * saveplace.el (save-place): Remove redundant info in docstring.
2953 (save-place-forget-unreadable-files, toggle-save-place)
2954 (save-place-forget-unreadable-files, save-place-dired-hook):
2955 Fix typos and remove unneeded backslashes.
2956
2957 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2958
2959 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2960 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2961
2962 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2963 <insert-directory>: Use `tramp-handle-insert-directory'.
2964 (tramp-gvfs-handle-insert-directory): Remove function.
2965
2966 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2967 Call `tramp-handle-insert-directory'.
2968
2969 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2970
2971 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2972 before the start of buffer/region (bug#16799).
2973
2974 2014-02-20 Glenn Morris <rgm@gnu.org>
2975
2976 * isearch.el (search-invisible): Doc fix.
2977
2978 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2979
2980 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2981 (bug#16657).
2982
2983 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2984
2985 * frameset.el (frameset-restore): Delay removing an old frame's
2986 duplicate id until the new frame has been correctly created.
2987
2988 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2989
2990 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2991 (tramp-check-cached-permissions): Call `file-attributes' if the
2992 cache is empty.
2993
2994 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2995 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2996
2997 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2998 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2999 (tramp-gvfs-maybe-open-connection): Set always connection
3000 properties, even if target is mounted already.
3001
3002 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3003 Set tramp-autoload cookie.
3004 (tramp-get-remote-touch): New defun.
3005 (tramp-sh-handle-set-file-times): Use it.
3006 (tramp-sh-handle-directory-files-and-attributes):
3007 Use `tramp-handle-directory-files-and-attributes' if neither stat
3008 nor perl are available on the remote host.
3009
3010 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3011 "/". Write long listing only when "l" belongs to the switches.
3012
3013 * net/trampver.el: Update release number.
3014
3015 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3016
3017 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3018
3019 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3020
3021 * window.el (window-state-put): Allow WINDOW to refer to an
3022 internal window (Bug#16793).
3023
3024 2014-02-19 Glenn Morris <rgm@gnu.org>
3025
3026 * textmodes/remember.el: Move provide statement to end.
3027 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3028 (remember-notes): Doc fixes.
3029
3030 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * delsel.el (delete-char): Restore incorrectly erased property
3033 (bug#16795).
3034
3035 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3036
3037 * frameset.el (frameset--restore-frame): When a frame is being reused
3038 and its root window is not alive, delete all the frame's windows before
3039 restoring the window state. This works around the issue in bug#16793.
3040
3041 2014-02-18 Glenn Morris <rgm@gnu.org>
3042
3043 * textmodes/remember.el (remember-data-directory)
3044 (remember-directory-file-name-format, remember-store-in-files)
3045 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3046 (remember-notes-save-and-bury-buffer)
3047 (remember-notes--kill-buffer-query): Doc fixes.
3048
3049 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3050
3051 2014-02-17 Alan Mackenzie <acm@muc.de>
3052
3053 Connect electric-indent-mode up with CC Mode. Bug #15478.
3054 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3055 to electric-indent-{,local-}-mode.
3056 (c-basic-common-init): Set electric-indent-inhibit.
3057 Initialise c-electric-flag from electric-indent-mode.
3058 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3059 New hook functions which propagate electric-indent-mode to CC mode.
3060
3061 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3062 hit, toggle electric-indent-local-mode.
3063
3064 * electric.el (electric-indent-mode-has-been-called):
3065 New variable.
3066
3067 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3068
3069 * frameset.el (frameset-cfg-id): New function.
3070 (frameset--reuse-frame, frameset-restore): Use it.
3071 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3072
3073 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * ido.el (ido-file-internal): Remove unused var `d'.
3076 Use \` for to match BoS. Fit within 80n columns.
3077
3078 2014-02-17 Daniel Colascione <dancol@dancol.org>
3079
3080 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3081 dbus-call-method check for completion using a busy-wait loop with
3082 gradual backoff.
3083
3084 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3085
3086 Sync with Tramp 2.2.9.
3087
3088 * net/trampver.el: Update release number.
3089
3090 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3091
3092 * ido.el (ido-file-internal): Don't add the name of an existing
3093 directory twice. (Bug#16747)
3094
3095 2014-02-16 Glenn Morris <rgm@gnu.org>
3096
3097 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3098 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3099
3100 2014-02-15 Michael R. Mauger <michael@mauger.com>
3101
3102 * progmodes/sql.el: Version 3.4
3103 (sql-oracle-options): New default value ("-L").
3104 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3105 (sql-placeholders-filter): Correct placeholder pattern.
3106 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3107 (sql-login-delay): New variable.
3108 (sql-product-interactive): Use it.
3109
3110 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3111
3112 * frameset.el (frameset--jump-to-register): Check that buffer is live
3113 (bug#16749).
3114
3115 2014-02-15 Glenn Morris <rgm@gnu.org>
3116
3117 * info.el (info-initialize): Revert 2014-01-10 change.
3118
3119 2014-02-14 Glenn Morris <rgm@gnu.org>
3120
3121 * replace.el (map-query-replace-regexp)
3122 (read-regexp-defaults-function, read-regexp): Doc fixes.
3123
3124 * dired.el (dired-read-regexp):
3125 * faces.el (list-faces-display):
3126 * misearch.el (multi-isearch-read-matching-buffers)
3127 (multi-isearch-read-matching-files):
3128 * play/cookie1.el (cookie-apropos):
3129 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3130
3131 * textmodes/remember.el (remember): Use frameset-to-register
3132 rather than frame-configuration-to-register.
3133
3134 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3135
3136 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3137 incorrect keybinding.
3138
3139 2014-02-13 Daniel Colascione <dancol@dancol.org>
3140
3141 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3142 when adding overlays so that line numbers from compiler match line
3143 numbers we use.
3144
3145 2014-02-13 Glenn Morris <rgm@gnu.org>
3146
3147 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3148
3149 * jit-lock.el (jit-lock-mode): Doc fix.
3150
3151 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3152
3153 * apropos.el (apropos-read-pattern): When the user passes an empty
3154 string, give a more helpful error message than "Wrong type
3155 argument: stringp, nil".
3156
3157 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3158
3159 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3160
3161 2014-02-13 Glenn Morris <rgm@gnu.org>
3162
3163 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3164
3165 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3166
3167 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3168 shift-select commands.
3169
3170 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3171
3172 * progmodes/js.el (js-indent-line): Don't widen.
3173 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3174
3175 2014-02-12 Glenn Morris <rgm@gnu.org>
3176
3177 * icomplete.el (icomplete): Add info-link to defgroup.
3178 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3179 (icomplete-minibuffer-map, icomplete-mode)
3180 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3181
3182 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3183 (package-menu-filter): Rename from package-menu-filter-interactive.
3184 Doc fix.
3185
3186 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3187
3188 * frameset.el (frameset--jump-to-register): Select the required
3189 window and buffer before restoring position (bug#16696).
3190
3191 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3192
3193 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3194
3195 2014-02-10 Glenn Morris <rgm@gnu.org>
3196
3197 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3198
3199 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3200
3201 * w32-common-fns.el (x-get-selection): Doc fix.
3202 * select.el (x-get-selection): Doc fix. (Bug#15109)
3203
3204 * face-remap.el (face-remap-add-relative)
3205 (face-remap-remove-relative, face-remap-reset-base)
3206 (face-remap-set-base): Call force-mode-line-update to redisplay
3207 the current buffer due to potential change in faces. (Bug#16709)
3208
3209 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3210
3211 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3212 script more robustly.
3213
3214 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3215
3216 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3217
3218 * simple.el (choose-completion): Doc fix (bug#14160).
3219
3220 * subr.el (event-start): Say what a nil EVENT value means.
3221
3222 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3223 (bug#14197).
3224
3225 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3226
3227 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3228
3229 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3230
3231 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3232 predicate function (bug#15455).
3233
3234 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3235
3236 * ielm.el (inferior-emacs-lisp-mode): Instead of
3237 `comment-use-global-state', set `comment-use-syntax'.
3238
3239 2014-02-10 Glenn Morris <rgm@gnu.org>
3240
3241 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3242
3243 2014-02-09 Alan Mackenzie <acm@muc.de>
3244
3245 Fix c-invalidate-state-cache on narrowed buffers.
3246 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3247 Widen when setting and clearing the CPP delimiter properties.
3248
3249 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3250
3251 * help.el (describe-bindings): Doc fix (bug#9888).
3252
3253 * files.el (save-buffer): Use ARG as the parameter name for
3254 consistency (bug#10346).
3255 (save-buffer): Clarify the 0 argument (bug#10346).
3256
3257 * cus-edit.el (customize-apropos): Fix error string.
3258 (custom-buffer-create): Doc fix (bug#11122).
3259 (custom-sort-items): Doc fix (bug#11121).
3260
3261 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3262
3263 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3264 (icomplete-simple-completing-p): Mention the previous variable.
3265
3266 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3267 meaning of the parameter (bug#12282).
3268
3269 * files.el (find-file-noselect): Clarify prompt when changing
3270 readedness (bug#13261).
3271 (locate-file): Suffixes aren't returned, so don't say that they
3272 are (bug#12674).
3273 (backup-inhibited): Doc clarification (bug#12525).
3274
3275 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3276 before we actually start to delete things (bug#16331).
3277
3278 * subr.el (event-start): Doc fix (bug#14228).
3279 (event-end): Ditto.
3280
3281 2014-02-09 Glenn Morris <rgm@gnu.org>
3282
3283 * emacs-lisp/warnings.el (lwarn):
3284 Empower help-enable-auto-load. (Bug#15940)
3285
3286 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3287
3288 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3289 (Bug#16690)
3290
3291 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3294 Insert output at end of buffer. (Bug#16120)
3295
3296 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3297
3298 * simple.el (choose-completion-string-functions): Document new
3299 calling convention (bug#14153).
3300 (execute-extended-command): Clarify doc string (bug#13373).
3301
3302 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3303
3304 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3305 (find-grep-dired): Doc fix (bug#14288).
3306
3307 2014-02-08 Juri Linkov <juri@jurta.org>
3308
3309 * isearch.el (isearch-quote-char): Check character validity
3310 like in `quoted-insert' (bug#16677).
3311
3312 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3313
3314 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3315
3316 * isearch.el (isearch-hide-immediately): Doc clarification
3317 (bug#14723).
3318
3319 * simple.el (line-move): Document utility function used many
3320 places in the Emacs sources (bug#14843).
3321
3322 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3323 (dired-prev-marked-file): Doc fix (bug#14855).
3324 (dired-up-directory): Doc fix (bug#14848).
3325
3326 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3327
3328 * files.el (file-relative-name): Doc fix (bug#15159).
3329
3330 * fringe.el (fringe-styles): Doc fix (bug#15239).
3331
3332 * isearch.el (isearch-filter-predicate): Documentation typo fix
3333 (bug#15474).
3334
3335 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3336
3337 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3338
3339 * replace.el (replace-match-maybe-edit): Doc clarification
3340 (bug#15632).
3341
3342 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3343
3344 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3345
3346 2014-02-08 Glenn Morris <rgm@gnu.org>
3347
3348 * help-fns.el (describe-variable):
3349 Check {file,dir}-local-variables-alist, and buffer-file-name,
3350 in the correct buffer.
3351
3352 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3353
3354 * help-fns.el (describe-variable): Fix the case where
3355 a value is directory-local with no dir-locals file. (Bug#16635)
3356
3357 2014-02-08 Glenn Morris <rgm@gnu.org>
3358
3359 * abbrev.el (edit-abbrevs-mode):
3360 Derive from fundamental-mode. (Bug#16682)
3361
3362 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3363
3364 * simple.el (quoted-insert): Check character validity (bug#16677).
3365
3366 2014-02-07 Juri Linkov <juri@jurta.org>
3367
3368 * desktop.el (desktop-read): Claim the lock when the owner is not
3369 the current process. (Bug#16157)
3370
3371 2014-02-07 Juri Linkov <juri@jurta.org>
3372
3373 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3374 to "\\` ". (Bug#16651)
3375
3376 2014-02-07 Juri Linkov <juri@jurta.org>
3377
3378 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3379 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3380 (desktop-auto-save-cancel-timer): New function with some code from
3381 `desktop-auto-save-set-timer'.
3382 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3383 Instead of setting `desktop-save-mode' to nil, call
3384 `desktop-save-mode' with arg 0. (Bug#16630)
3385
3386 2014-02-07 Glenn Morris <rgm@gnu.org>
3387
3388 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3389 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3390 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3391
3392 * obsolete/iswitchb.el: Move to obsolete/.
3393 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3394 since obsolete/ is not scanned for autoloads.
3395 * emacs-lisp/authors.el (authors-valid-file-names):
3396 Add iswitchb.el.
3397
3398 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3399 Disable now non-functional find-file-hook.
3400
3401 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3402
3403 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3404 instead of ";" in order to avoid additional prompts. Let heredoc
3405 scripts read from tty. (Bug#16582)
3406 (tramp-send-command): No special handling of heredocs, it isn't
3407 necessary anymore.
3408
3409 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3412 with a space (bug#16664). Limit the symbols considered to the ones
3413 that are bound or fbound (bug#16646).
3414
3415 2014-02-06 Glenn Morris <rgm@gnu.org>
3416
3417 * epa.el (epa-mail-aliases): Doc fix.
3418
3419 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3420
3421 * emacs-lisp/lisp.el (lisp-completion-at-point):
3422 Use `completion-table-merge' instead of `completion-table-in-turn'
3423 (bug#16604).
3424
3425 * minibuffer.el (completion-table-merge): New function.
3426
3427 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3428
3429 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3430 (tramp-sh-handle-set-file-acl)
3431 (tramp-sh-handle-start-file-process)
3432 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3433 (tramp-find-executable, tramp-send-command): Use it.
3434
3435 2014-02-05 Glenn Morris <rgm@gnu.org>
3436
3437 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3438
3439 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3440
3441 * progmodes/python.el (python-shell-send-string)
3442 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3443
3444 2014-02-04 Anders Lindgren <andlind@gmail.com>
3445
3446 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3447 the names (bug#16620).
3448
3449 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3450
3451 * faces.el (window-divider): New default value. Rewrite doc-string.
3452 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3453
3454 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3455
3456 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3457 `protected' and `public' can also be called without arguments.
3458
3459 2014-02-03 Glenn Morris <rgm@gnu.org>
3460
3461 * register.el (window-configuration-to-register)
3462 (frame-configuration-to-register): Unadvertise unused argument.
3463 * frameset.el (frameset-to-register): Remove unused argument.
3464
3465 * frameset.el (frameset-to-register):
3466 * kmacro.el (kmacro-to-register):
3467 * register.el (increment-register):
3468 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3469 (calc-append-to-register, calc-prepend-to-register):
3470 * play/gametree.el (gametree-layout-to-register)
3471 (gametree-apply-register-layout):
3472 * textmodes/picture.el (picture-clear-rectangle-to-register)
3473 (picture-yank-rectangle-from-register):
3474 * vc/emerge.el (emerge-combine-versions-register):
3475 Use register-read-with-preview to read registers.
3476
3477 2014-02-03 João Távora <joaotavora@gmail.com>
3478
3479 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3480 when at beginning of (possibly narrowed) buffer.
3481
3482 2014-02-02 Daniel Colascione <dancol@dancol.org>
3483
3484 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3485 Also try to display local help from just before point.
3486
3487 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3488
3489 c-parse-state. Don't "append-lower-brace-pair" in certain
3490 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3491 recognised as a comment.
3492
3493 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3494 as well as normal comment starter.
3495 (c-parse-state-get-strategy): Extra return possibility
3496 'back-and-forward.
3497 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3498 return value list to indicate replacement of a brace-pair cons
3499 with its car.
3500 (c-parse-state-1): With 'back-and-forward, only call
3501 c-append-lower-brace-pair-to state-cache when cons-separated.
3502
3503 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3504
3505 * term/ns-win.el (ns-suspend-error): New function.
3506 (ns-initialize-window-system): Add ns-suspend-error to
3507 suspend-hook (Bug#16612).
3508
3509 2014-02-02 Daniel Colascione <dancol@dancol.org>
3510
3511 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3512 Make loading cc-mode silent.
3513
3514 2014-02-02 Daniel Colascione <dancol@dancol.org>
3515
3516 * comint.el (comint-prompt-read-only): Change doc to suggest
3517 remap keybinding.
3518
3519 2014-02-02 Glenn Morris <rgm@gnu.org>
3520
3521 * register.el (register-read-with-preview, point-to-register)
3522 (window-configuration-to-register, frame-configuration-to-register)
3523 (jump-to-register, number-to-register, view-register, insert-register)
3524 (copy-to-register, append-to-register, prepend-to-register)
3525 (copy-rectangle-to-register): Doc fixes.
3526
3527 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3530 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3531 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3532 * help-fns.el (describe-function-1): Use it.
3533
3534 2014-02-02 Glenn Morris <rgm@gnu.org>
3535
3536 * register.el (register-preview-default): New function,
3537 split from register-preview.
3538 (register-preview-function): Rename from register-preview-functions,
3539 make it not a hook.
3540 (register-preview): Use register-preview-function.
3541 (register-read-with-preview): Error on non-character event. (Bug#16595)
3542
3543 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3544
3545 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3546 `:' before binary operators (bug#16609). Don't check for `:'
3547 before `[' and `(', or their syntax status. A percent literal
3548 can't end with either.
3549 (ruby-font-lock-keywords): For built-ins that require arguments,
3550 check that they're followed by something that looks like argument
3551 (bug#16610).
3552
3553 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3554
3555 * subr.el (butlast): Document what an omitted N means (bug#13437).
3556 (nbutlast): Ditto.
3557
3558 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3559
3560 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3561 depth shallower (bug#16587).
3562 (shr-tag-svg): Respect `shr-inhibit-images'.
3563 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3564
3565 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3566
3567 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3568 (ruby-smie-grammar): Make "." right-associative. Make its priority
3569 lower than the ternary and all binary operators.
3570 (ruby-smie-rules): Indent "(" relative to the first non-"."
3571 parent, or the first "." parent at indentation.
3572 Use `ruby-align-chained-calls' for indentation of "." tokens.
3573 (Bug#16593)
3574
3575 2014-01-31 Juri Linkov <juri@jurta.org>
3576
3577 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3578 from `make-hash-table'.
3579
3580 * textmodes/ispell.el (ispell-init-process): Change message format
3581 to be consistent with other messages.
3582
3583 2014-01-31 Glenn Morris <rgm@gnu.org>
3584
3585 * delsel.el (delete-selection-mode): Doc fix.
3586
3587 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3588 (trace-function-background): Doc fixes.
3589
3590 * ido.el (ido-use-virtual-buffers): Doc fix.
3591 Reset :version, since the default value has not changed.
3592
3593 * register.el (register-preview-delay, register-read-with-preview):
3594 Doc fixes.
3595
3596 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3597 do not mess with mail-buffer position (fixes 2009-11-03 change).
3598 * progmodes/cc-mode.el (c-submit-bug-report):
3599 Check auto-fill-mode is bound. (Bug#16592)
3600
3601 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3602
3603 * startup.el (fancy-splash-image-file): New function,
3604 split from fancy-splash-head.
3605 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3606 so that we are both using the same image. (Bug#16574)
3607
3608 2014-01-30 Glenn Morris <rgm@gnu.org>
3609
3610 * simple.el (eval-expression): Doc fix.
3611
3612 * hexl.el (hexl-mode-hook):
3613 * ielm.el (ielm-mode-hook):
3614 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3615 (lisp-interaction-mode-hook):
3616 * progmodes/cfengine.el (cfengine3-documentation-function):
3617 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3618
3619 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3622 is a symbol (bug#16584).
3623
3624 2014-01-30 Glenn Morris <rgm@gnu.org>
3625
3626 * help.el (help-for-help-internal): Add "P" to text.
3627
3628 2014-01-29 Glenn Morris <rgm@gnu.org>
3629
3630 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3631
3632 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3633
3634 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3635 height constraints.
3636
3637 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3638
3639 * progmodes/hideif.el: Extend to full CPP expression syntax.
3640 (hif-token-alist): Add missing tokens.
3641 (hif-token-regexp): Add support for float/octal/hex immediates.
3642 (hif-string-literal-regexp): New const.
3643 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3644 (hif-exprlist): New function.
3645 (hif-parse-if-exp): Use it.
3646 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3647 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3648 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3649 (hif-logxor, hif-comma): New functions.
3650
3651 2014-01-28 Glenn Morris <rgm@gnu.org>
3652
3653 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3654
3655 * indent.el (tab-stop-list): Doc fix. Add :version.
3656
3657 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3658 (cvs-append-to-ignore): Add compatibility alias.
3659
3660 2014-01-27 Glenn Morris <rgm@gnu.org>
3661
3662 * dired.el (dired-hide-details-mode): Don't autoload it,
3663 since it cannot be used outside Dired buffers anyway.
3664
3665 * emulation/cua-base.el (cua-mode): Doc fix.
3666
3667 * dired.el (dired-hide-details-hide-symlink-targets)
3668 (dired-hide-details-hide-information-lines)
3669 (dired-hide-details-mode): Doc fixes.
3670
3671 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3672 * strokes.el (strokes-file): Doc fix. Bump :version.
3673 (strokes-help): Doc fix.
3674 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3675 * emulation/viper.el (viper): Doc fix for custom group.
3676 (top-level): Remove oh-so-no-longer-relevant text about vip.
3677 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3678
3679 * ido.el (ido-save-directory-list-file):
3680 * saveplace.el (save-place-file):
3681 * calendar/timeclock.el (timeclock-file):
3682 * net/quickurl.el (quickurl-url-file):
3683 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3684 * progmodes/idlwave.el (idlwave-config-directory):
3685 * textmodes/remember.el (remember-data-file):
3686 Bump :version.
3687
3688 2014-01-26 Glenn Morris <rgm@gnu.org>
3689
3690 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3691 Doc fix. Make obsolete.
3692 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3693
3694 * sort.el (delete-duplicate-lines): Doc fix.
3695
3696 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3697
3698 * progmodes/ada-mode.el (ada):
3699 * woman.el (woman): Link to info manual and Commentary section.
3700
3701 * progmodes/flymake.el (flymake):
3702 * nxml/nxml-mode.el (nxml):
3703 * net/eww.el (eww):
3704 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3705 * htmlfontify.el (htmlfontify):
3706 * ses.el (ses):
3707 * epa.el (epa):
3708 * ido.el (ido): Link to info manual.
3709
3710 2014-01-25 Leo Liu <sdl.web@gmail.com>
3711
3712 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3713
3714 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3715
3716 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3717 (bug#16537).
3718
3719 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3720
3721 * net/eww.el (eww-download-callback):
3722 Fix reference to eww-download-directory.
3723
3724 * emacs-lisp/bytecomp.el (byte-compile-file):
3725 Remove unused local variable `file-name'.
3726
3727 2014-01-24 Glenn Morris <rgm@gnu.org>
3728
3729 * woman.el (woman-default-faces, woman-monochrome-faces):
3730 Fix obsolescence specification.
3731
3732 * subr.el (with-demoted-errors): Doc fix.
3733
3734 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3735
3736 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3737 (cl--macroexp-fboundp): New function.
3738 (cl--make-type-test): Use it.
3739
3740 2014-01-23 Glenn Morris <rgm@gnu.org>
3741
3742 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3743 * simple.el (eval-expression): Doc fixes.
3744
3745 2014-01-22 Glenn Morris <rgm@gnu.org>
3746
3747 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3748
3749 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * emacs-lisp/package.el: Write files silently.
3752 (package-autoload-ensure-default-file, package--write-file-no-coding)
3753 (package-generate-description-file, package--download-one-archive)
3754 (package-install-from-archive): Tell `write-region' to stay quiet.
3755 (package-menu-mode, package-menu--print-info): Omit the Archive column
3756 if there's only one archive.
3757 (package-all-keywords, package--has-keyword-p): Remove dead code.
3758
3759 2014-01-22 Glenn Morris <rgm@gnu.org>
3760
3761 * version.el (emacs-bzr-version-bzr): Fix typo.
3762
3763 * version.el (emacs-repository-get-version):
3764 Check either .bzr or .git, but not both.
3765 Make the git case actually use the DIR argument, and return nil
3766 rather than the empty string.
3767 Avoid error if .git exists but the git executable is not found.
3768
3769 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3770
3771 Fixes in window size functions around Bug#16430 and Bug#16470.
3772 * window.el (window-total-size, window-size): New argument ROUND.
3773 (window--min-delta-1, window-min-delta, window--max-delta-1):
3774 Be more conservative when calculating the numbers of lines or
3775 columns a window can shrink (Bug#16430).
3776 (fit-window-to-buffer): Simplify code.
3777 * term.el (term-window-width): Call window-body-width again.
3778
3779 2014-01-22 Glenn Morris <rgm@gnu.org>
3780
3781 * image.el (image-format-suffixes): Doc fix.
3782
3783 * international/quail.el (quail-define-package): Doc fix.
3784
3785 * emacs-lisp/authors.el (authors-valid-file-names)
3786 (authors-renamed-files-alist): Additions.
3787
3788 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3789 reverts 2014-01-09 change. (Bug#16422)
3790
3791 * calc/calc-embed.el (thing-at-point-looking-at):
3792 * emacs-lisp/map-ynp.el (x-popup-dialog):
3793 * obsolete/lmenu.el (x-popup-dialog):
3794 * emacs-lisp/package.el (url-recreate-url):
3795 * mail/mailclient.el (clipboard-kill-ring-save):
3796 * subr.el (x-popup-dialog): Update declaration.
3797 * mail/rmail.el (rmail-mime-message-p):
3798 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3799
3800 2014-01-21 Daniel Colascione <dancol@dancol.org>
3801
3802 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3803 Correctly detect when we're inside an arithmetic expansion form
3804 containing nested parenthesis.
3805 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3806 to detect cases where we shouldn't expand "<<" to a heredoc
3807 skeleton.
3808
3809 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3812 (eldoc--message-command-p): New function.
3813 (eldoc-display-message-p): Use it.
3814 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3815 message is not automatically erased for us.
3816 (eldoc-print-current-symbol-info): Erase previous message, if any.
3817
3818 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3819
3820 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3821 specify it's an interactive function.
3822
3823 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3824 Fix regex used for scanning for citation keys which failed for
3825 citations with optional arguments.
3826
3827 2014-01-21 Leo Liu <sdl.web@gmail.com>
3828
3829 * simple.el (read--expression): Don't enable eldoc-mode.
3830
3831 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * simple.el (move-beginning-of-line): Make sure we don't move forward
3834 (bug#16497).
3835
3836 2014-01-20 Juri Linkov <juri@jurta.org>
3837
3838 * saveplace.el (toggle-save-place, save-place-to-alist)
3839 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3840 'dired-mode) before checking for dired-directory. (Bug#16477)
3841
3842 2014-01-20 Juri Linkov <juri@jurta.org>
3843
3844 * indent.el (indent-line-to): Use backward-to-indentation
3845 instead of back-to-indentation. (Bug#16461)
3846
3847 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3848
3849 Revert some of the CANNOT_DUMP fix (Bug#16494).
3850 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3851 but fixing this can wait until after the next release.
3852 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3853
3854 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3855
3856 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3857 Use `password-word-equivalents'.
3858 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3859 to t. (Bug#5664, Bug#13124)
3860
3861 2014-01-19 Alan Mackenzie <acm@muc.de>
3862
3863 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3864 points.
3865 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3866 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3867 * progmodes/cc-mode.el (c-before-change, c-after-change)
3868 (c-font-lock-fontify-region): Bind it here.
3869
3870 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3871
3872 * term.el (term-window-width): Call window-text-width instead of
3873 window-width (Bug#16470).
3874
3875 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3876
3877 * simple.el (password-word-equivalents): Remove duplicates.
3878 Sort, to make this easier next time.
3879 Downcase. Omit ": " after "jelszó".
3880
3881 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3882
3883 * term/common-win.el (saved-region-selection): Defvar it.
3884 (x-select-text): Set saved-region-selection (Bug#16382).
3885
3886 2014-01-18 Glenn Morris <rgm@gnu.org>
3887
3888 * emacs-lisp/authors.el (authors-aliases)
3889 (authors-renamed-files-alist): Add some entries.
3890
3891 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3892
3893 * net/tramp.el (tramp-password-prompt-regexp):
3894 Use `password-word-equivalents' if available.
3895 (tramp-action-password, tramp-process-one-action)
3896 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3897
3898 2014-01-17 Chong Yidong <cyd@gnu.org>
3899
3900 * simple.el (password-word-equivalents): New defcustom.
3901 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3902 to 24.4.
3903 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3904 to t. (Bug#13124)
3905
3906 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3907
3908 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3909 (ruby-align-to-stmt-keywords): Change the default value.
3910 Use `ruby-alignable-keywords' to generate the possible customization
3911 choices.
3912 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3913 keywords, check against the value of `ruby-alignable-keywords'
3914 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3915
3916 2014-01-17 Glenn Morris <rgm@gnu.org>
3917
3918 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3919
3920 Make M-x authors return zero *Authors Errors* from current logs.
3921 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3922 (authors-ignored-files): Add some entries, remove others.
3923 (authors-ambiguous-files, authors-valid-file-names):
3924 Add some entries.
3925 (authors-renamed-files-alist): Add, remove, and adjust entries.
3926 (authors-renamed-files-regexps): Add some entries.
3927 Remove some very broad ones. Make some entries `lax'.
3928 (authors-lax-changelogs): New constant.
3929 (authors-disambiguate-file-name): Treat top-level specially.
3930 (authors-lax-changelog-p): New function.
3931 (authors-canonical-file-name): Check file as written against
3932 authors-valid-file-names. Do not special-case etc/.
3933 Handle `lax' logs and authors-renamed-files-regexps elements.
3934
3935 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3936
3937 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3938 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3939 callers.
3940
3941 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3944 Assume we're already in the proper buffer.
3945 Inspired by Anders Lindgren <andlind@gmail.com>.
3946 (follow-post-command-hook): Call it from the right buffer.
3947 (follow-comint-scroll-to-bottom): Adjust call.
3948 (follow-all-followers): Use get-buffer-window-list.
3949
3950 2014-01-15 Daniel Colascione <dancol@dancol.org>
3951
3952 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3953 `buffer-file-name' in interactive-form so that we don't leave
3954 pathless file names in `file-name-history'.
3955
3956 2014-01-15 Juri Linkov <juri@jurta.org>
3957
3958 * indent.el (indent-rigidly): Set deactivate-mark to nil
3959 in transient indentation mode. (Bug#16438)
3960
3961 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3962
3963 * emacs-lisp/package.el (package-desc-keywords): New function
3964 (Bug#16222).
3965 (describe-package-1, package-all-keywords)
3966 (package--has-keyword-p): Use it.
3967
3968 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3969
3970 * simple.el (define-alternatives): When creating the
3971 COMMAND-alternatives variable, assign COMMAND as its definition
3972 name so that `describe-variable' can relocate it.
3973
3974 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3975
3976 * font-lock.el (font-lock-keywords): Fix typo in docstring
3977 (bug#16307).
3978
3979 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3980
3981 * ispell.el (ispell-region): Reset `in-comment' for new line
3982 instead of wrongly reset `add-coment' (bug#13577).
3983
3984 2014-01-14 Daiki Ueno <ueno@gnu.org>
3985
3986 * epa-file.el (epa-file-write-region): Encode the region according
3987 to `buffer-file-format'. Problem reported at:
3988 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3989
3990 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3993 so it applies in the right buffer (bug#16410).
3994
3995 2014-01-13 Daniel Colascione <dancol@dancol.org>
3996
3997 * textmodes/rst.el (rst-define-key): Provide deprecated
3998 keybindings through named functions instead of anonymous ones so
3999 that "??" doesn't appear in describe-mode output.
4000
4001 2014-01-13 Bastien Guerry <bzg@gnu.org>
4002
4003 * simple.el (define-alternatives): Call the selected command
4004 interactively. When setting `COMMAND--implementation' for the
4005 first time, tell the user how to chose another implementation.
4006 Enhance the docstring.
4007
4008 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4011 (log-edit--match-first-line): New function.
4012 (log-edit-font-lock-keywords): Use it.
4013 (log-edit-mode): Make jit-lock-defer-multiline work.
4014
4015 2014-01-13 Bastien Guerry <bzg@gnu.org>
4016
4017 * rect.el (rectangle-mark-mode): When the region is not active,
4018 display a message saying that the mark as been set and that
4019 rectangle mode is in use.
4020 (rectangle--highlight-for-redisplay): Only put an overlay with a
4021 visible vertical bar when (display-graphic-p) is non-nil.
4022 This partially fixes Bug#16403.
4023
4024 2014-01-13 Juri Linkov <juri@jurta.org>
4025
4026 * info.el (Info-find-file): Go to DIR before displaying the error
4027 about a nonexistent file if no previous Info file is visited.
4028 Use `user-error' instead of `error' for "Info file %s does not exist".
4029 (Info-find-node-2): In case of a nonexistent node in unwind forms
4030 go to the Top node if there is no previous node to revert to.
4031 (Bug#16405)
4032
4033 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4034
4035 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4036 * window.el (fit-frame-to-buffer): Fix doc-string.
4037 Respect window-min-height/-width. Fit pixelwise when
4038 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4039 when avoiding that frame goes partially off-screen.
4040 (fit-window-to-buffer): Respect window-min-height/-width
4041 (Bug#14096).
4042
4043 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4046 after an empty line.
4047
4048 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * net/shr.el (shr-render-region): Autoload.
4051
4052 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4053
4054 * net/eww.el (eww-download-directory): Rename from
4055 `eww-download-path' (Bug#16419).
4056
4057 2014-01-12 Leo Liu <sdl.web@gmail.com>
4058
4059 * dired-x.el (dired-mode-map): Fix last change.
4060
4061 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4062
4063 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4064
4065 Spelling fixes.
4066 * emacs-lisp/generic.el (generic--normalize-comments):
4067 Rename from generic--normalise-comments. All uses changed.
4068 * play/bubbles.el (bubbles--neighborhood-score)
4069 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4070 (bubbles--neighborhood-available)
4071 (bubbles--update-neighborhood-score):
4072 Rename from names with 'neighbourhood'. All uses changed.
4073
4074 2014-01-12 Leo Liu <sdl.web@gmail.com>
4075
4076 Re-implement the feature of showing eldoc info after editing.
4077 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4078 (eldoc-edit-message-commands): New function.
4079 (eldoc-print-after-edit): New variable.
4080 (eldoc-pre-command-refresh-echo-area): Emit message only by
4081 eldoc-message-commands.
4082 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4083 if eldoc-print-after-edit is set. (Bug#16346)
4084 * simple.el (read--expression): Enable eldoc-mode.
4085 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4086
4087 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4088 Eric S. Raymond <esr@thyrsus.com>
4089
4090 * version.el (emacs-repository-get-version): Enhance so the
4091 function works correctly in either a Bazaar or Git repo.
4092
4093 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4094
4095 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4096 Goes with removal of the joke manpages from /etc.
4097
4098 2014-01-10 Kenichi Handa <handa@gnu.org>
4099
4100 * mail/rmail.el (rmail-get-coding-system):
4101 Check rmail-get-coding-function before "funcall"ing it.
4102
4103 2014-01-10 Glenn Morris <rgm@gnu.org>
4104
4105 * emacs-lisp/authors.el (authors-fixed-entries):
4106 Update for files that no longer exist.
4107
4108 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4109
4110 * version.el (emacs-bzr-get-version): Restore compatibilty with
4111 24.3 (Tested).
4112
4113 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4114
4115 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4116 and Podfile.
4117
4118 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4119
4120 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4121
4122 2014-01-10 Chong Yidong <cyd@gnu.org>
4123
4124 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4125
4126 2014-01-10 Anders Lindgren <andlind@gmail.com>
4127
4128 * follow.el (follow-cache-command-list): Include right-char and
4129 left-char.
4130
4131 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4132
4133 Spelling fixes.
4134 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4135 * woman.el (woman-mark-horizontal-position):
4136 Rename from woman-mark-horizonal-position. Use changed.
4137
4138 2014-01-10 Glenn Morris <rgm@gnu.org>
4139
4140 * info.el (info-initialize): If running uninstalled, ensure our
4141 own info files are always found first, even if INFOPATH is set.
4142
4143 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4144
4145 2014-01-09 David Engster <deng@randomsample.de>
4146
4147 * emacs-lisp/eieio-custom.el:
4148 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4149 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4150 * emacs-lisp/eieio.el: Regenerate autoloads.
4151
4152 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4153
4154 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4155 following renames. (Bug#8756)
4156
4157 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4160 (bug#16382).
4161 (activate-mark): Add `no-tmm' argument.
4162 (set-mark, push-mark-command): Use it instead of running
4163 activate-mark-hook by hand.
4164
4165 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4166
4167 In preparation for the move to git, sanitize out some
4168 Bazaar-specific names.
4169
4170 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4171
4172 * version.el (emacs-bzr-version): Name changed to
4173 emacs-repository-version. Obsolete-variable alias made.
4174 * loadup.el: Follow through on this name change.
4175 * mail/emacsbug.el (report-emacs-bug): Factor out any
4176 assumption about the version control system in use.
4177
4178 2014-01-08 David Engster <deng@randomsample.de>
4179
4180 * help-fns.el (help-fns-describe-function-functions):
4181 New variable to call functions for augmenting help buffers.
4182 (describe-function-1): Remove explicit calls to
4183 `help-fns--compiler-macro', `help-fns--parent-mode' and
4184 `help-fns--obsolete'. Put them in above new variable instead, and
4185 call them through `run-hook-with-args'.
4186 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4187 `eieio-describe-class'. Not meant for interactive use anymore,
4188 but to augment existing help buffers. Remove optional second
4189 argument. Create proper button for file location.
4190 Rewrite function to use `insert' instead of `princ' and `prin1' where
4191 possible.
4192 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4193 (eieio-method-def, eieio-class-def): Move further up.
4194 (describe-method, describe-generic, eieio-describe-method):
4195 Remove aliases.
4196 (eieio-help-constructor, eieio-help-generic): Rename from
4197 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4198 Rewrite to use `insert' in the current buffer and use proper help
4199 buttons.
4200 (eieio-help-find-method-definition)
4201 (eieio-help-find-class-definition): Also accept symbols as
4202 arguments.
4203 (eieio-help-mode-augmentation-maybee): Remove.
4204 (eieio-describe-class-sb): Use `describe-function'.
4205 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4206 Add `eieio-help-generic' and `eieio-help-constructor'.
4207
4208 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4209
4210 Spelling fixes.
4211 * language/china-util.el (hz-ascii-designation):
4212 Rename from hz-ascii-designnation.
4213 (hz-ascii-designation): Rename from hz-ascii-designnation.
4214 All uses changed.
4215
4216 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4219 package-alist.
4220
4221 2014-01-08 Bastien Guerry <bzg@gnu.org>
4222
4223 * emacs-lisp/package.el (package-delete):
4224 Correctly delete the package from package-alist.
4225
4226 2014-01-08 Daiki Ueno <ueno@gnu.org>
4227
4228 * emacs-lisp/package.el (url-recreate-url): Declare.
4229 (url-http-target-url): Declare.
4230 (package-handle-response): Include requested URL in the error message.
4231 (package--check-signature): Don't re-signal errors from
4232 package--with-work-buffer. Suggested by Stefan Monnier.
4233
4234 2014-01-07 Bastien Guerry <bzg@gnu.org>
4235
4236 * minibuffer.el (completion--try-word-completion): When both a
4237 hyphen and a space are possible candidates for the character
4238 following a word, display both candidates. (Bug#15980)
4239
4240 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4241
4242 * window.el (balance-windows-2): While rounding don't give a
4243 window more than the remainder. Bug#16351, bug#16383.
4244
4245 2014-01-07 Glenn Morris <rgm@gnu.org>
4246
4247 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4248 (menu-bar-help-menu): Use view-external-packages instead.
4249
4250 2014-01-07 Bastien Guerry <bzg@gnu.org>
4251
4252 * emacs-lisp/package.el (package-delete): Also delete the package
4253 name from `package-alist', not its description only.
4254
4255 2014-01-07 Glenn Morris <rgm@gnu.org>
4256
4257 * help.el (view-external-packages):
4258 * menu-bar.el (menu-bar-help-extra-packages):
4259 Visit efaq.info rather than etc/MORE.STUFF.
4260
4261 2014-01-07 Juri Linkov <juri@jurta.org>
4262
4263 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4264 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4265
4266 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4267 that shadows RET. (Bug#16342)
4268
4269 2014-01-07 Chong Yidong <cyd@gnu.org>
4270
4271 * isearch.el (isearch-yank-char, isearch-yank-word)
4272 (isearch-yank-line): Doc fix.
4273
4274 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4275
4276 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4277 * emacs-lisp/elint.el (elint-find-builtins):
4278 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4279 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4280 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4281 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4282 * apropos.el (apropos-safe-documentation):
4283 * subr.el (symbol-file): Remove redundant fboundp.
4284 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4285
4286 2014-01-06 Bastien Guerry <bzg@gnu.org>
4287
4288 * hl-line.el (global-hl-line-overlay): Make a local variable.
4289 (global-hl-line-overlays): New variable to store all overlays.
4290 (global-hl-line-mode): Don't delete overlays from the current
4291 buffer when `global-hl-line-sticky-flag' is non-nil.
4292 (global-hl-line-highlight): Add new overlays to
4293 `global-hl-line-overlays'.
4294 (global-hl-line-unhighlight-all): New function to delete all
4295 overlays when turning off `global-hl-line-mode'.
4296 This fixes Bug#16183.
4297
4298 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * subr.el (set-transient-map): Fix nested case and docstring.
4301
4302 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4303
4304 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4305 `Texinfo' entry.
4306
4307 2014-01-06 Daniel Colascione <dancol@dancol.org>
4308
4309 Fix defun navigation in vc log view.
4310
4311 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4312 like `beginning-of-defun'.
4313 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4314 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4315 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4316 (log-view-extract-comment): Call `log-view-current-entry' directly
4317 instead of relying on broken `log-view-beginning-of-defun' behavior.
4318
4319 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4320
4321 Spelling fixes.
4322 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4323 * emacs-lisp/debug.el (cancel-debug-on-entry):
4324 * epg.el (epg-error-to-string):
4325 * files.el (recover-file):
4326 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4327 * mail/emacsbug.el (report-emacs-bug-hook):
4328 * mail/sendmail.el (mail-recover):
4329 * ses.el (ses-yank-resize):
4330 * term/ns-win.el (ns-print-buffer):
4331 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4332 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4333 All uses changed.
4334 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4335
4336 2014-01-06 Leo Liu <sdl.web@gmail.com>
4337
4338 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4339 to avoid shadowing global key. (Bug#16354)
4340
4341 2014-01-06 Daniel Colascione <dancol@dancol.org>
4342
4343 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4344 rst-mode.
4345
4346 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4347
4348 * window.el (balance-windows): Add mising t to fix Bug#16351.
4349
4350 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4351
4352 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4353 (bug#16285).
4354 (shr-insert): If we have a word that's longer than `shr-width',
4355 break after it anyway. Otherwise we'll do no breaking once we get
4356 such a long word.
4357
4358 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4359
4360 * net/eww.el (eww): Support single/double quote for search.
4361 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4362 (eww-history-quit): Delete and use quit-window.
4363 (eww-history-kill): Delete, because it doesn't work well and
4364 not necessary.
4365 (eww-history-mode-map): Delete some keys and add easy-menu.
4366
4367 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4368
4369 Fix misspelling of 'chinese' in rx (Bug#16237).
4370 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4371 chinese-two-byte.
4372
4373 Change subword regexps back to vars (Bug#16296).
4374 * progmodes/subword.el (subword-forward-regexp)
4375 (subword-backward-regexp): Change these back to variables.
4376
4377 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4378
4379 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4380 syntax-begin-function (bug#16247).
4381
4382 2014-01-03 Chong Yidong <cyd@gnu.org>
4383
4384 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4385 (advice--docstring): Delete variable.
4386 (advice--make-1): Leave the docstring empty.
4387 (advice-add): Use function-documentation for advised docstring.
4388
4389 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4390 Ignore function-documentation property when getting documentation.
4391 (ad-activate-advised-definition): Use function-documentation
4392 generate the docstring.
4393 (ad-make-advised-definition): Don't call
4394 ad-make-advised-definition-docstring.
4395 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4396 Delete functions.
4397
4398 * progmodes/sql.el (sql-help): Use function-documentation instead
4399 of dynamic-docstring-function property. No need to autoload now.
4400 (sql--help-docstring): New variable.
4401 (sql--make-help-docstring): Use it.
4402
4403 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * ielm.el (ielm-tab): Retarget.
4406 (ielm-map): Use ielm-tab for tab.
4407 (ielm-complete-filename): Use comint-filename-completion.
4408 (ielm-complete-symbol): Remove.
4409 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4410 remove ielm-tab from completion-at-point-functions (bug#16224).
4411
4412 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4413 Beware signals raised by predicates (bug#16201).
4414
4415 2014-01-02 Richard Stallman <rms@gnu.org>
4416
4417 * dired-aux.el (dired-do-print): Handle printer-name.
4418
4419 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4420 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4421 (rmail-epa-decrypt): Turn off mime processing.
4422
4423 * mail/rmail.el (rmail-make-in-reply-to-field):
4424 Add parens in message-id.
4425
4426 * mail/rmail.el (rmail-get-coding-function): Variable.
4427 (rmail-get-coding-system): Use it.
4428
4429 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4430
4431 * international/mule-conf.el: Unify the charset indian-is13194.
4432 (indian-is13194): Specify unify-map.
4433
4434 2013-12-31 Leo Liu <sdl.web@gmail.com>
4435
4436 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4437
4438 2013-12-30 Daniel Colascione <dancol@dancol.org>
4439
4440 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4441 of printing a useless when we resume from sleep.
4442
4443 * progmodes/sh-script.el
4444 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4445 in indentation code. (Bug#16233)
4446
4447 2013-12-28 João Távora <joaotavora@gmail.com>
4448
4449 * elec-pair.el (electric-pair-post-self-insert-function):
4450 Don't open extra newlines at beginning of buffer. (Bug#16272)
4451
4452 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4453
4454 * frame.el (window-system-for-display): Don't allow to create a
4455 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4456
4457 2013-12-28 Glenn Morris <rgm@gnu.org>
4458
4459 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4460 Update callers.
4461
4462 * apropos.el (apropos-match-face):
4463 * calculator.el (calculator-displayer):
4464 * dabbrev.el (dabbrev-search-these-buffers-only):
4465 * face-remap.el (buffer-face-mode-face):
4466 * simple.el (yank-handled-properties):
4467 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4468 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4469 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4470 (hashcash-double-spend-database):
4471 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4472 (ruby-deep-indent-paren-style):
4473 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4474 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4475 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4476 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4477 Specify custom types.
4478
4479 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4480 * bookmark.el (bookmark-bmenu-use-header-line):
4481 * doc-view.el (doc-view-scale-internally):
4482 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4483 * register.el (register-preview-delay):
4484 * net/shr.el (shr-bullet):
4485 * progmodes/cfengine.el (cfengine-cf-promises)
4486 (cfengine-parameters-indent):
4487 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4488 * textmodes/reftex-vars.el (reftex-label-regexps):
4489 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4490
4491 * net/tls.el (tls-certtool-program): Fix default value.
4492
4493 * desktop.el (desktop-restore-in-current-display):
4494 * newcomment.el (comment-empty-lines):
4495 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4496 (idlwave-pad-keyword):
4497 * progmodes/tcl.el (tcl-tab-always-indent):
4498 * textmodes/reftex-vars.el (reftex-index-default-tag):
4499 * elec-pair.el (electric-pair-skip-whitespace):
4500 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4501
4502 * emacs-lisp/authors.el (authors-ignored-files)
4503 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4504
4505 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4506
4507 * shell.el (shell-dynamic-complete-command): Doc fix.
4508 (shell--command-completion-data): Shell completion now matches
4509 executable filenames from the current buffer's directory, on
4510 systems in which this behavior is the default (windows-nt, ms-dos).
4511
4512 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4513
4514 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4515
4516 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4517
4518 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4519 (bug#16251).
4520
4521 * electric.el: Move all electric-pair-* to elec-pair.el.
4522 * elec-pair.el: New file, split from electric.el.
4523
4524 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4525
4526 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4527 indentation level is larger than the width, because that will
4528 infloop.
4529 (shr-insert): Fill repeatedly long texts, so that Japanese is
4530 formatted correctly (bug#16263).
4531 (shr-find-fill-point): Off by one error in comparison with the
4532 indentation.
4533
4534 2013-12-26 João Távora <joaotavora@gmail.com>
4535
4536 * electric.el (electric-pair-mode): More flexible engine for skip-
4537 and inhibit predicates, new options for pairing-related functionality.
4538 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4539 if that keeps or improves their balance in buffers.
4540 (electric-pair-delete-adjacent-pairs): Delete the pair when
4541 backspacing over adjacent matched delimiters.
4542 (electric-pair-open-extra-newline): Open extra newline when
4543 inserting newlines between adjacent matched delimiters.
4544 (electric--sort-post-self-insertion-hook):
4545 Sort post-self-insert-hook according to priority values when
4546 minor-modes are activated.
4547 * simple.el (newline-and-indent): Call newline with interactive
4548 set to t.
4549 (blink-paren-post-self-insert-function): Set priority to 100.
4550 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4551 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4552 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4553 electric-pair-open-newline-between-pairs to nil.
4554
4555 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4556
4557 * progmodes/python.el: Use lexical-binding.
4558 (python-nav-beginning-of-defun): Stop searching ASAP.
4559
4560 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4561
4562 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4563 Fix interactive spec. Doc fix. (Bug#15754)
4564
4565 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4566
4567 * emacs-lisp/byte-run.el (eval-when-compile):
4568 * progmodes/cc-defs.el (cc-eval-when-compile):
4569 Fix edebug spec (bug#16184).
4570
4571 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4572
4573 * net/shr.el (shr-visit-file): Remove debugging function.
4574 (shr-insert): Don't infloop if we can't find a good place to break
4575 the line (bug#16256).
4576
4577 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4578
4579 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4580 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4581 python-nav-lisp-forward-sexp-safe.
4582 (python-nav--forward-sexp): New argument SAFE allows switching
4583 forward sexp movement behavior for parens.
4584 (python-nav-forward-sexp): Throw errors on unterminated parens
4585 (Bug#16191).
4586 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4587 (python-nav-backward-sexp-safe): New functions.
4588 (python-shell-buffer-substring):
4589 Use `python-nav-forward-sexp-safe'.
4590
4591 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4592
4593 * net/shr.el (shr-find-fill-point): Don't break lines before a
4594 quotation mark.
4595 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4596 (shr-find-fill-point): Remove the special checks for the quotation
4597 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4598
4599 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4600
4601 * net/eww.el (eww-form-textarea): Use a different face for
4602 textareas than text input since they have different keymaps
4603 (bug#16142).
4604
4605 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4606
4607 * progmodes/python.el (python-nav-beginning-of-statement):
4608 Speed up (Bug#15295).
4609
4610 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4611
4612 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4613 the window configuration.
4614
4615 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4616
4617 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4618 we run on MS-Windows or MS-DOS.
4619
4620 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4621
4622 * window.el (balance-windows-area): Call window-size instead of
4623 window-height and window-width. Bug#16241.
4624
4625 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4626
4627 * net/eww.el (eww-bookmark-quit): Remove.
4628 (eww-bookmark-browse): Restore the window configuration when you
4629 choose a bookmark (bug#16144).
4630
4631 2013-12-24 Daniel Colascione <dancol@dancol.org>
4632
4633 * icomplete.el: Remove redundant :group arguments to `defcustom'
4634 throughout.
4635 (icomplete-show-matches-on-no-input): New customizable variable.
4636 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4637 we have something to show.
4638 (icomplete-exhibit): Compute completions even if we have no user input.
4639
4640 2013-12-23 Daniel Colascione <dancol@dancol.org>
4641
4642 * icomplete.el: Move `provide' to end of file.
4643
4644 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4645
4646 * net/gnutls.el (gnutls-verify-error): Add version tag.
4647
4648 2013-12-23 Chong Yidong <cyd@gnu.org>
4649
4650 * subr.el (set-transient-map): Rename from
4651 set-temporary-overlay-map. Doc fix.
4652
4653 * face-remap.el (text-scale-adjust):
4654 * indent.el (indent-rigidly):
4655 * kmacro.el (kmacro-call-macro):
4656 * minibuffer.el (minibuffer-force-complete):
4657 * repeat.el (repeat):
4658 * simple.el (universal-argument--mode):
4659 * calendar/todo-mode.el (todo-insert-item--next-param):
4660 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4661
4662 * indent.el (indent-rigidly): Use substitute-command-keys.
4663
4664 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4665
4666 * net/eww.el (eww-tag-select): Add text-property to jump to next
4667 select field.
4668 (eww): Add non-supported ftp error.
4669
4670 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4671
4672 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4673 comments. Handle electric indent after typing `?' and `!'.
4674
4675 2013-12-22 Chong Yidong <cyd@gnu.org>
4676
4677 * faces.el (face-spec-recalc): If the theme specs are not
4678 applicable to a frame, fall back on the defface spec.
4679 This prevents themes from obliterating faces on low-color terminals.
4680
4681 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4682
4683 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4684 after `{'. We need it after block openers, and it doesn't seem
4685 to hurt after hash openers.
4686
4687 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4688
4689 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4690 extracted from `ruby-smie-rules'.
4691 (ruby--electric-indent-chars): New variable.
4692 (ruby--electric-indent-p): New function.
4693 (ruby-mode): Use `electric-indent-functions' instead of
4694 `electric-indent-chars'.
4695
4696 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4697
4698 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4699 docstring.
4700 (ruby-smie-rules): Indent plus one level after `=>'.
4701
4702 2013-12-21 Richard Stallman <rms@gnu.org>
4703
4704 * simple.el (newline): Doc fix.
4705
4706 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4707
4708 * net/eww.el (eww-list-histories, eww-list-histories)
4709 (eww-history-browse, eww-history-quit, eww-history-kill)
4710 (eww-history-mode-map, eww-history-mode): New command and
4711 functions to list browser histories.
4712 (eww-form-text): Support text form with disabled
4713 and readonly attributes.
4714 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4715
4716 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4717
4718 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4719 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4720 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4721 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4722 Use `user-error'.
4723 (eww-bookmark-mode-map): Add menu.
4724 (eww-render, eww-mode): Use `setq-local'.
4725 (eww-tool-bar-map): New variable.
4726 (eww-mode): Set `tool-bar-map'.
4727 (eww-view-source): Check for `html-mode' with `fboundp'.
4728
4729 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4730
4731 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4732 elements with text inside. Also remove debugging.
4733
4734 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4735
4736 * cus-start.el (all): Add ns-use-srgb-colorspace.
4737
4738 2013-12-21 Chong Yidong <cyd@gnu.org>
4739
4740 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4741 undefined. Thus, theme settings for undefined faces do not take
4742 effect until the faces are defined with defface, the same as with
4743 theme variables.
4744
4745 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4746 (face-spec-reset-face): Don't assign extra properties in temacs.
4747 (face-spec-recalc): Apply X resources too.
4748
4749 2013-12-21 Chong Yidong <cyd@gnu.org>
4750
4751 * faces.el (face-spec-set):
4752 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4753 * custom.el (defface): Doc fixes (Bug#16203).
4754
4755 * indent.el (indent-rigidly-map): Add docstring, and move commands
4756 into named functions.
4757 (indent-rigidly-left, indent-rigidly-right)
4758 (indent-rigidly-left-to-tab-stop)
4759 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4760 indentation direction based on bidi direction, and accumulate
4761 sequential commands in a single undo boundary.
4762 (indent-rigidly--pop-undo): New utility function.
4763
4764 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4765
4766 * faces.el (read-face-name): Require crm.el when using crm-separator.
4767
4768 2013-12-20 Daniel Colascione <dancol@dancol.org>
4769
4770 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4771 so that we don't reflow comments into the shebang line.
4772
4773 2013-12-20 Juri Linkov <juri@jurta.org>
4774
4775 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4776 a position when `dired-directory' is non-nil. Check integer
4777 positions with `integerp'.
4778 (toggle-save-place, save-places-to-alist): Add check for
4779 `dired-directory'.
4780 (save-place-find-file-hook): Check integer positions with
4781 `integerp'.
4782 (save-place-dired-hook): Use `dired-goto-file' when
4783 `dired-filename' is found in the assoc list. Check integer
4784 positions with `integerp'.
4785 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4786
4787 * dired.el (dired-initial-position-hook): Rename back from
4788 `dired-initial-point-hook'.
4789 (dired-initial-position): Rename `dired-initial-point-hook' to
4790 `dired-initial-position-hook'.
4791 (dired-file-name-at-point): Doc fix. (Bug#15329)
4792
4793 2013-12-20 Juri Linkov <juri@jurta.org>
4794
4795 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4796 (read-regexp-suggestions): New function.
4797 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4798 Use `read-regexp-suggestions'. Add non-empty default to history
4799 for empty input.
4800 (occur-read-regexp-defaults-function): Remove function.
4801 (occur-read-primary-args): Use `regexp-history-last' instead of
4802 `occur-read-regexp-defaults-function'.
4803
4804 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4805 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4806 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4807 `hi-lock-read-regexp-defaults-function'. Doc fix.
4808 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4809 with `find-tag-default-as-symbol-regexp'. Doc fix.
4810 (hi-lock-read-regexp-defaults): Remove function.
4811 (hi-lock-regexp-okay): Add check for null.
4812
4813 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4814 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4815
4816 * subr.el (find-tag-default-as-symbol-regexp): New function.
4817 (find-tag-default-as-regexp): Move symbol regexp formatting to
4818 `find-tag-default-as-symbol-regexp'.
4819
4820 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4821
4822 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4823 (Bug#14179)
4824
4825 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4826
4827 * calendar/todo-mode.el: New implementation of item insertion
4828 commands and key bindings.
4829 (todo-key-prompt): New face.
4830 (todo-insert-item): New command.
4831 (todo-insert-item--parameters): New defconst, replacing defvar
4832 todo-insertion-commands-args-genlist.
4833 (todo-insert-item--param-key-alist): New defconst, replacing
4834 defvar todo-insertion-commands-arg-key-list.
4835 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4836 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4837 (todo-insert-item--next-param): New functions.
4838 (todo-insert-item--args, todo-insert-item--argleft)
4839 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4840 New variables.
4841 (todo-key-bindings-t): Change binding of "i" from
4842 todo-insertion-map to todo-insert-item.
4843 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4844 (todo-insertion-command-name, todo-insertion-commands-names)
4845 (todo-define-insertion-command, todo-insertion-commands)
4846 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4847
4848 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4849
4850 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4851 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4852 eval-when-compile.
4853 (todo-move-category): Allow choosing a non-existing todo file to
4854 move the category to, and create that file.
4855 (todo-default-priority): New user option.
4856 (todo-set-item-priority): Use it.
4857 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4858 (desktop-restore-file-buffer): Declare.
4859 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4860 (todo-modes-set-2): Locally set desktop-save-buffer to
4861 todo-desktop-save-buffer.
4862 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4863 (auto-mode-alist): Add autoload cookie.
4864
4865 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4866
4867 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4868 helpers.el was a poor choice of name.
4869 (string-remove-prefix): New function.
4870 (string-remove-suffix): New function.
4871
4872 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4873
4874 Fix assignment for new window total sizes.
4875 * window.el (window--pixel-to-size): Remove function.
4876 (window--pixel-to-total-1, window--pixel-to-total):
4877 Fix calculation of new total sizes.
4878
4879 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4880
4881 * comint.el (comint-output-filter): Fix rear-nonsticky property
4882 placement (Bug#16010).
4883
4884 2013-12-20 Chong Yidong <cyd@gnu.org>
4885
4886 * faces.el (read-color): Minor fix for completion function.
4887
4888 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4889
4890 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4891 New option. (Bug#16182)
4892 (ruby-smie--indent-to-stmt-p): Use it.
4893 (ruby-smie-rules): Revert the logic in the handling of `when'.
4894 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4895 (ruby-deep-arglist, ruby-deep-indent-paren)
4896 (ruby-deep-indent-paren-style): Update docstrings to note that the
4897 vars don't have any effect with SMIE.
4898
4899 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4900
4901 * calc/calc.el (calc-enter, calc-pop): Use the variable
4902 `calc-context-sensitive-enter'.
4903
4904 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4905
4906 * net/shr.el (shr-insert): Protect against infloops in degenerate
4907 tables.
4908
4909 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4910
4911 * progmodes/octave.el (octave): Add link to manual and octave
4912 homepage.
4913 (octave-mode-menu): Link to octave-mode manual.
4914
4915 2013-12-20 Leo Liu <sdl.web@gmail.com>
4916
4917 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4918 insertion using skeleton-end-newline. (Bug#16138)
4919
4920 2013-12-20 Juri Linkov <juri@jurta.org>
4921
4922 * replace.el (occur-engine): Use `add-face-text-property'
4923 to add the face property to matches and titles. (Bug#14645)
4924
4925 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4926 the palette of other hi-lock colors.
4927 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4928
4929 2013-12-19 Juri Linkov <juri@jurta.org>
4930
4931 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4932 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4933 (minibuffer-history-symbol): Move variable declaration closer to
4934 its usage.
4935
4936 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4937 (Bug#14785)
4938
4939 2013-12-19 Juri Linkov <juri@jurta.org>
4940
4941 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4942 New function.
4943 (log-edit-hook): Add it to :options. (Bug#16170)
4944
4945 2013-12-19 Juri Linkov <juri@jurta.org>
4946
4947 * simple.el (eval-expression-print-format): Don't check for
4948 command names and the last command. Always display additional
4949 formats of the integer result in the echo area, and insert them
4950 to the current buffer only with a zero prefix arg.
4951 Display character when char-displayable-p is non-nil.
4952 (eval-expression): With a zero prefix arg, set `print-length' and
4953 `print-level' to nil, and insert the integer values from
4954 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4955
4956 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4957 `eval-last-sexp-arg-internal'. Doc fix.
4958 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4959 `eval-last-sexp-print-value'. Doc fix.
4960 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4961 Set `print-length' and `print-level' to nil when arg is zero.
4962 (eval-last-sexp): Doc fix.
4963 (eval-defun-2): Print the integer values from
4964 `eval-expression-print-format' at the end.
4965
4966 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4967 values from `eval-expression-print-format' at the end.
4968
4969 * ielm.el (ielm-eval-input): Print the integer
4970 values from `eval-expression-print-format' at the end.
4971
4972 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4973
4974 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4975 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4976
4977 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4978
4979 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4980 (hl-line-highlight, global-hl-line-highlight): Use it.
4981 (hl-line-overlay): Use defvar-local.
4982
4983 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4984
4985 * term/ns-win.el: Require dnd.
4986 (global-map): Remove drag items.
4987 (ns-insert-text, ns-set-foreground-at-mouse)
4988 (ns-set-background-at-mouse):
4989 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4990 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4991 New functions.
4992
4993 2013-12-19 Glenn Morris <rgm@gnu.org>
4994
4995 * emacs-lisp/ert.el (ert-select-tests):
4996 Fix string/symbol mixup. (Bug#16121)
4997
4998 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4999
5000 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5001 keywords to their parent.
5002
5003 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5004
5005 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5006 first arg to be a string (fixed dead code), or an operator symbol.
5007 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5008 operator symbols.
5009 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5010 did nothing. Don't respond to `(:after ".")', it will be called
5011 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5012 change anything. Only return indentation for binary operators
5013 when they are hanging. De-dent opening paren when its parent is
5014 `.', otherwise it looks bad when the dot is not at bol or eol
5015 (bug#16182).
5016
5017 2013-12-19 Juri Linkov <juri@jurta.org>
5018
5019 * replace.el (query-replace-read-args): Split a non-negative arg
5020 and a negative arg into separate elements.
5021 (query-replace, query-replace-regexp, replace-string)
5022 (replace-regexp): Add arg `backward'. Doc fix.
5023 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5024 move point to the beginning of the match.
5025 (replace-search, replace-highlight): Use new arg `backward'
5026 to set the value of `isearch-forward'.
5027 (perform-replace): Add arg `backward' and use it to perform
5028 replacement backward. (Bug#14979)
5029
5030 * isearch.el (isearch-query-replace): Use a negative prefix arg
5031 to call `perform-replace' with a non-nil arg `backward'.
5032
5033 2013-12-18 Juri Linkov <juri@jurta.org>
5034
5035 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5036 to the default list. Move `log-edit-show-files' to the end.
5037 Add more available functions to options.
5038 (log-edit): Move default specific settings to
5039 `log-edit-insert-message-template'. Don't move point.
5040 (log-edit-insert-message-template): New function.
5041 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5042 (Bug#16170)
5043
5044 2013-12-18 Juri Linkov <juri@jurta.org>
5045
5046 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5047 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5048
5049 2013-12-18 Leo Liu <sdl.web@gmail.com>
5050
5051 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5052 (Bug#16186)
5053
5054 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5055
5056 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5057 formats for displaying file sizes when the -s switch is given.
5058 Instead, compute a separate format for displaying the size in
5059 blocks, which is displayed in addition to the "regular" size.
5060 When -h is given in addition to -s, produce size in blocks in
5061 human-readable form as well. (Bug#16179)
5062
5063 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5064
5065 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5066 Reference tables with ~\ref{...} instead of only \ref{...}.
5067
5068 2013-12-18 Chong Yidong <cyd@gnu.org>
5069
5070 * cus-edit.el (custom-magic-alist): Fix "themed" description
5071 (Bug#14348).
5072
5073 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5074 is non-nil, do not create a new entry in the symbol's theme-value
5075 or theme-face property; update theme-settings only (Bug#14664).
5076 (custom-available-themes): Doc fix.
5077
5078 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5079 (Bug#15674).
5080
5081 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5082
5083 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5084
5085 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5086 (Bug#13914).
5087
5088 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5089
5090 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5091
5092 2013-12-18 Glenn Morris <rgm@gnu.org>
5093
5094 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5095 * cus-start.el (load-prefer-newer): New option.
5096
5097 2013-12-18 Le Wang <l26wang@gmail.com>
5098
5099 * comint.el (comint-previous-matching-input-from-input):
5100 Retain point (Bug#13404).
5101
5102 2013-12-18 Chong Yidong <cyd@gnu.org>
5103
5104 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5105
5106 2013-12-18 Glenn Morris <rgm@gnu.org>
5107
5108 * mail/emacsbug.el (report-emacs-bug):
5109 Only mention enable-multibyte-characters if non-standard.
5110
5111 2013-12-17 Juri Linkov <juri@jurta.org>
5112
5113 * arc-mode.el (archive-extract-by-file): Check if directory exists
5114 before deletion to not show irrelevant errors if it doesn't exist.
5115
5116 2013-12-17 Juri Linkov <juri@jurta.org>
5117
5118 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5119 (Bug#14751)
5120
5121 * net/eww.el (browse-web): Add alias to `eww'.
5122 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5123 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5124
5125 * net/browse-url.el (browse-url-browser-function): Move `eww'
5126 closer to similar functions.
5127
5128 * startup.el (fancy-startup-screen, fancy-about-screen):
5129 Set browse-url-browser-function to eww-browse-url locally.
5130 (Bug#14751)
5131
5132 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5134 * window.el (window--pixel-to-total): Remove unused `mini' var.
5135 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5136 (split-window): Remove unused `new' var.
5137 (window--display-buffer): Remove unused `frame' and `delta' vars.
5138 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5139 and display-width'.
5140
5141 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5142
5143 * dired.el (dired-mark-pop-up):
5144 * register.el (register-preview): Don't bind
5145 split-height-threshold here since it's now done in
5146 display-buffer-below-selected.
5147
5148 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5149
5150 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5151 xterm-rgb-convert-to-16bit.
5152 (rxvt-register-default-colors): Standardize with
5153 xterm-register-default-colors (Bug#14078).
5154
5155 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5156
5157 * simple.el (kill-region): Pass mark first, then point, so that
5158 kill-append works right (Bug#12819).
5159 (copy-region-as-kill, kill-ring-save): Likewise.
5160
5161 2013-12-17 Leo Liu <sdl.web@gmail.com>
5162
5163 * net/rcirc.el (rcirc-add-face):
5164 * eshell/em-prompt.el (eshell-emit-prompt):
5165 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5166 (Bug#16167)
5167
5168 2013-12-17 Chong Yidong <cyd@gnu.org>
5169
5170 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5171 Suggested by Xue Fuqiao.
5172
5173 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5174
5175 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5176
5177 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * net/shr.el (shr-insert-document): Remove unused var
5180 `shr-preliminary-table-render'.
5181 (shr-rescale-image): Remove unused arg `force'.
5182 (shr-put-image): Update calls accordingly.
5183 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5184
5185 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5186
5187 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5188 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5189 :close-all, to see which indentation method to use (Bug#16116).
5190 (smie-rules-function): Document the method :close-all.
5191
5192 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5193
5194 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5195
5196 * net/eww.el (eww-display-html): If we can't find the anchor we're
5197 looking for, then go to point-min.
5198
5199 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5200
5201 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5202 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5203 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5204 Expand dir too, in case it's relative.
5205
5206 2013-12-16 Juri Linkov <juri@jurta.org>
5207
5208 * desktop.el (desktop-auto-save-timeout): Change default to
5209 `auto-save-timeout'. Doc fix.
5210 (desktop-save): Skip the timestamp in desktop-saved-frameset
5211 when checking for auto-save changes.
5212 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5213 `desktop-auto-save' is called repeatedly by the idle timer.
5214 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5215 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5216 (Bug#15331)
5217
5218 2013-12-16 Juri Linkov <juri@jurta.org>
5219
5220 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5221 (Bug#16035)
5222 (isearch-pre-command-hook): Check `this-command' for symbolp.
5223
5224 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5225
5226 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5227
5228 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5229
5230 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5231 (cfengine3--current-function): Bring in the current-function
5232 functionality from `cfengine3--current-word'.
5233 (cfengine3-completion-function): Bring in the
5234 bounds-of-current-word functionality from
5235 `cfengine3--current-word'.
5236
5237 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5238
5239 * window.el (display-buffer-below-selected):
5240 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5241
5242 2013-12-16 Leo Liu <sdl.web@gmail.com>
5243
5244 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5245 Remove NOMSG arg and all uses changed.
5246
5247 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5248
5249 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5250 (cua--deactivate-rectangle): Don't deactivate the mark.
5251 (cua-set-rectangle-mark): Don't set mark-active since
5252 cua--activate-rectangle already does it for us.
5253 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5254 non-rectangular region.
5255
5256 * emulation/cua-base.el (cua-repeat-replace-region):
5257 Use with-current-buffer.
5258
5259 * net/gnutls.el: Use cl-lib.
5260 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5261
5262 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5263
5264 * emacs-lisp/package.el (package-built-in-p): Support both
5265 built-in and the package.el converted package descriptions.
5266 (package-show-package-list): Allow keywords.
5267 (package-keyword-button-action): Use it instead of
5268 `finder-list-matches'.
5269 (package-menu-filter-interactive): Interactive filtering (by
5270 keyword) function.
5271 (package-menu--generate): Support keywords and change keymappings
5272 and headers when they are given.
5273 (package--has-keyword-p): Helper function.
5274 (package-menu--refresh): Use it.
5275 (package--mapc): Helper function.
5276 (package-all-keywords): Use it.
5277 (package-menu-mode-map): Set up menu items and keybindings to
5278 provide a filtering UI.
5279
5280 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5281
5282 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5283 the behavior when a certificate fails validation. Defaults to
5284 old behavior: never abort, just warn.
5285 (gnutls-negotiate): Use it.
5286
5287 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5288
5289 * window.el (display-buffer-below-selected): Never split window
5290 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5291
5292 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5293
5294 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5295 (package-buffer-info): Use it (bug#15108).
5296
5297 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * icomplete.el (icomplete-completions): Make sure the prefix is already
5300 displayed elsewhere before hiding it (bug#16219).
5301
5302 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5303
5304 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5305 open-paren tokens when preceded by a open-paren, too.
5306 (ruby-smie-rules): Handle virtual indentation after open-paren
5307 tokens specially. If there is code between it and eol, return the
5308 column where is starts (Bug#16118).
5309
5310 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5311
5312 * progmodes/cfengine.el: Fix `add-hook' doc.
5313 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5314 (cfengine3--current-word): Fix parameters.
5315 (cfengine3-make-syntax-cache): Simplify further.
5316 (cfengine3-completion-function, cfengine3--current-function):
5317 Use `assq' for symbols.
5318 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5319
5320 2013-12-13 Glenn Morris <rgm@gnu.org>
5321
5322 * loadup.el (load-path): Warn if site-load or site-init changes it.
5323 No more need to reset it when bootstrapping.
5324
5325 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5326
5327 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5328 locations for cf-promises.
5329 (cfengine-mode-syntax-functions-regex): New caching variable.
5330 (cfengine3-fallback-syntax): Fallback syntax for cases where
5331 cf-promises doesn't run.
5332 (cfengine3--current-word): Reimplement using
5333 `cfengine-mode-syntax-functions-regex'.
5334 (cfengine3-completion-function, cfengine3--current-function):
5335 Use `cfengine3-make-syntax-cache' directly.
5336 (cfengine3-clear-syntax-cache): New function.
5337 (cfengine3-make-syntax-cache): Simplify and create
5338 `cfengine-mode-syntax-functions-regex' on demand.
5339 (cfengine3-format-function-docstring): Don't call
5340 `cfengine3-make-syntax-cache' explicitly.
5341
5342 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5343
5344 Fix windmove-find-other-window broken after pixelwise resizing
5345 (Bug#16017).
5346 * windmove.el (windmove-other-window-loc): Revert change from
5347 2013-12-04.
5348 (windmove-find-other-window): Call window-in-direction.
5349 * window.el (window-in-direction): New arguments SIGN, WRAP and
5350 MINI to emulate original windmove-find-other-window behavior.
5351
5352 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5353
5354 * simple.el (blink-matching--overlay): New variable.
5355 (blink-matching-open): Instead of moving point, highlight the
5356 matching paren with an overlay
5357 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5358
5359 * faces.el (paren-showing-faces, show-paren-match)
5360 (show-paren-mismatch): Move from paren.el.
5361
5362 2013-12-13 Leo Liu <sdl.web@gmail.com>
5363
5364 * indent.el (indent-region): Disable progress reporter in
5365 minibuffer. (Bug#16108)
5366
5367 * bindings.el (visual-order-cursor-movement): Fix version.
5368
5369 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5370
5371 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5372 Also match after beginning of line.
5373 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5374 files. Thanks to Russell Sim. (Bug#15378)
5375
5376 2013-12-13 Juri Linkov <juri@jurta.org>
5377
5378 * simple.el <Keypad support>: Remove key bindings duplicated
5379 with bindings.el. (Bug#14397)
5380
5381 2013-12-13 Juri Linkov <juri@jurta.org>
5382
5383 * comint.el (comint-mode-map): Replace `delete-char' with
5384 `delete-forward-char'. (Bug#16109)
5385
5386 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5387
5388 * progmodes/python.el (python-indent-calculate-indentation):
5389 Fix de-denters cornercase. (Bug#15731)
5390
5391 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5394 (advice--make): Pay attention to `depth'.
5395 (advice--make-1): Don't autoload commands eagerly.
5396 * emacs-lisp/elp.el (elp-instrument-function):
5397 * emacs-lisp/trace.el (trace-function-internal):
5398 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5399
5400 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5401
5402 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5403
5404 * term/w32-win.el (w32-handle-dropped-file):
5405 * startup.el (normal-top-level):
5406 * net/browse-url.el (browse-url-file-url):
5407 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5408 decode file names using 'utf-8' rather than
5409 file-name-coding-system.
5410
5411 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5412
5413 * progmodes/python.el (python-indent-context)
5414 (python-indent-calculate-indentation): Fix auto-identation
5415 behavior for comment blocks. (Bug#15916)
5416
5417 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5418
5419 * progmodes/python.el (python-indent-calculate-indentation):
5420 When determining indentation, don't treat "return", "pass", etc., as
5421 operators when they are just string constituents. (Bug#15812)
5422
5423 2013-12-12 Juri Linkov <juri@jurta.org>
5424
5425 * uniquify.el (uniquify-buffer-name-style): Change default to
5426 `post-forward-angle-brackets'.
5427
5428 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5429 `uniquify'. Change default to `post-forward-angle-brackets'.
5430
5431 2013-12-11 Glenn Morris <rgm@gnu.org>
5432
5433 * emacs-lisp/package.el (finder-list-matches):
5434 Autoload rather than falsely declaring.
5435
5436 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5437
5438 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5439 (eww-mode-map): Use them.
5440
5441 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5442
5443 * window.el (display-buffer-in-side-window): Fix doc-string
5444 (Bug#16115).
5445
5446 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5447
5448 * vc/vc-git.el: Silence byte-compiler warnings.
5449 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5450 (log-edit-set-header): Declare.
5451
5452 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5453
5454 * Makefile.in (custom-deps, finder-data): Run output file names
5455 through unmsys--file-name. (Bug#16099)
5456
5457 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5460 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5461
5462 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5463 instead of deleting the selection "by hand" (bug#16098).
5464 Rely on insert-for-yank to yank rectangles.
5465 (cua-highlight-region-shift-only): Mark obsolete.
5466 (cua-mode): Don't enable/disable transient-mark-mode,
5467 shift-select-mode (cua-mode works both with and without them), and
5468 pc-selection-mode (obsolete).
5469 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5470 (cua--deactivate-rectangle): Deactivate it.
5471
5472 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5473 (delete-selection-helper): Make sure yank starts at the top of the
5474 deleted region.
5475 (minibuffer-keyboard-quit): Use region-active-p.
5476
5477 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5478
5479 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5480 to `delete' (bug#16109).
5481
5482 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5483
5484 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5485 info manual and show keybindings and set `:group' keyword.
5486
5487 2013-12-11 Juri Linkov <juri@jurta.org>
5488
5489 * delsel.el (delete-active-region): Let-bind `this-command'
5490 to prevent `kill-region' from changing its original value.
5491 (delete-selection-helper): Handle `overwrite-mode' for the type
5492 `kill' exactly the same way as for the type `t'.
5493 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5494 Support more commands. (Bug#13312)
5495
5496 2013-12-11 Juri Linkov <juri@jurta.org>
5497
5498 * bindings.el: Map kp keys to non-kp keys systematically
5499 with basic modifiers control, meta and shift. (Bug#14397)
5500
5501 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5502
5503 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5504 "Close browser" menu items. Fix wrong function of "List
5505 bookmarks".
5506
5507 2013-12-11 Juri Linkov <juri@jurta.org>
5508
5509 * misearch.el (multi-isearch-buffers): Set the value of
5510 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5511 arg of isearch-forward to t.
5512 (multi-isearch-buffers-regexp): Set the value of
5513 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5514 arg of isearch-forward-regexp to t.
5515 (multi-isearch-files): Set the value of
5516 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5517 arg of isearch-forward to t.
5518 (multi-isearch-files-regexp): Set the value of
5519 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5520 arg of isearch-forward-regexp to t. (Bug#16035)
5521
5522 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5523 arg of isearch-forward to t.
5524 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5525 arg of isearch-forward-regexp to t.
5526 (dired-isearch-filter-filenames): Remove unnecessary check for
5527 `dired-isearch-filenames'.
5528
5529 * comint.el (comint-history-isearch-backward):
5530 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5531 (comint-history-isearch-backward-regexp):
5532 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5533
5534 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5535
5536 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5537 unmsys--file-name. (Bug#16099)
5538
5539 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5540
5541 * emacs-lisp/package.el (package-keyword-button-action):
5542 Remove finder.el require dependency.
5543
5544 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5545
5546 * emacs-lisp/package.el: Require finder.el.
5547 (describe-package-1): Add keyword buttons.
5548 (package-make-button): New convenience function.
5549 (package-keyword-button-action): Keyword button action using
5550 `finder-list-matches'.
5551
5552 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5553
5554 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5555 last commit.
5556
5557 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5558
5559 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5560 symlinked files.
5561
5562 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5563
5564 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5565 after the end of a percent literal.
5566
5567 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5568
5569 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5570 Handle caret-delimited strings (Bug#16079).
5571
5572 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5573
5574 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5575 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5576 `ruby-parse-partial' (Bug#16078).
5577
5578 2013-12-09 Leo Liu <sdl.web@gmail.com>
5579
5580 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5581
5582 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5583
5584 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5585 (js-switch-indent-offset): New option.
5586 (js--proper-indentation): Use it. And handle the case when
5587 "default" is actually a key in an object literal.
5588 (js--same-line): New function.
5589 (js--multi-line-declaration-indentation): Use it.
5590 (js--indent-in-array-comp, js--array-comp-indentation):
5591 New functions.
5592 (js--proper-indentation): Use them, to handle array comprehension
5593 continuations.
5594
5595 2013-12-08 Leo Liu <sdl.web@gmail.com>
5596
5597 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5598 (flymake-make-overlay): Remove arg MOUSE-FACE.
5599 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5600
5601 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5604 New function.
5605 (redisplay-highlight-region-function): Use it.
5606
5607 * emulation/cua-base.el (cua--explicit-region-start)
5608 (cua--last-region-shifted): Remove.
5609 (cua--deactivate): Use deactivate-mark.
5610 (cua--pre-command-handler-1): Don't handle shift-selection.
5611 (cua--post-command-handler-1): Don't change transient-mark-mode.
5612 (cua--select-keymaps): Use region-active-p rather than
5613 cua--explicit-region-start or cua--last-region-shifted.
5614 (cua-mode): Enable shift-select-mode.
5615
5616 2013-12-08 Leo Liu <sdl.web@gmail.com>
5617
5618 * progmodes/flymake.el (flymake-popup-current-error-menu):
5619 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5620 (flymake-posn-at-point-as-event, flymake-popup-menu)
5621 (flymake-make-emacs-menu): Remove. (Bug#16077)
5622
5623 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * rect.el (rectangle-mark-mode): Activate mark even if
5626 transient-mark-mode is off (bug#16066).
5627 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5628 is > mark and at bolp.
5629
5630 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5631 (region-extract-function): Use it.
5632 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5633 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5634 Delete functions.
5635 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5636 kill-ring-save, kill-region, delete-char, delete-forward-char.
5637 Ignore self-insert-iso.
5638
5639 * emulation/cua-gmrk.el (cua--init-global-mark):
5640 Ignore `self-insert-iso'.
5641
5642 * emulation/cua-base.el (cua--prefix-copy-handler)
5643 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5644 checking cua--rectangle.
5645 (cua-delete-region): Use region-extract-function.
5646 (cua-replace-region): Delete function.
5647 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5648 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5649 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5650 (cua--init-keymaps): Don't remap delete-selection commands.
5651 (cua-mode): Use delete-selection-mode instead of rolling our own
5652 (bug#16085).
5653
5654 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5655 Obey region-extract-function.
5656
5657 Make registers and delete-selection-mode work on rectangles.
5658 * register.el (describe-register-1): Don't modify the register's value.
5659 (copy-to-register): Obey region-extract-function.
5660 * delsel.el (delete-active-region): Obey region-extract-function.
5661
5662 2013-12-08 Leo Liu <sdl.web@gmail.com>
5663
5664 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5665 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5666 (flymake-compilation-prevents-syntax-check)
5667 (flymake-start-syntax-check-on-newline)
5668 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5669 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5670 (flymake-xml-program, flymake-master-file-dirs)
5671 (flymake-master-file-count-limit)
5672 (flymake-allowed-file-name-masks): Relocate.
5673 (flymake-makehash, flymake-float-time)
5674 (flymake-replace-regexp-in-string, flymake-split-string)
5675 (flymake-get-temp-dir): Remove.
5676 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5677 (flymake-current-row, flymake-selected-frame)
5678 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5679 related functions. (Bug#16077)
5680
5681 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5682
5683 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5684
5685 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5686
5687 * help-fns.el (describe-function-1): Use new advice-* functions
5688 rather than old ad-* functions. Fix function type description and
5689 source links for advised functions and subrs.
5690
5691 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5692
5693 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5694
5695 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5696
5697 * progmodes/compile.el (compilation-start):
5698 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5699
5700 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5701 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5702
5703 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5704
5705 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5706 Touch up the last change.
5707
5708 2013-12-06 Leo Liu <sdl.web@gmail.com>
5709
5710 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5711 (inferior-octave-startup): Always use "octave> " for prompt.
5712 (octave-goto-function-definition)
5713 (octave-sync-function-file-names)
5714 (octave-find-definition-default-filename): Remove redundant backquotes.
5715
5716 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5717
5718 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5719 syntax for `?'.
5720 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5721 where appropriate already.
5722 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5723 end of method names (Bug#15874).
5724
5725 2013-12-06 Juri Linkov <juri@jurta.org>
5726
5727 * isearch.el (isearch--saved-overriding-local-map):
5728 New internal variable.
5729 (isearch-mode): Set it to the initial value of
5730 `overriding-terminal-local-map'.
5731 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5732 with `isearch--saved-overriding-local-map'. (Bug#16035)
5733
5734 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5735
5736 * progmodes/octave.el (inferior-octave-completion-table):
5737 Turn back into function, use `completion-table-with-cache'
5738 (Bug#11906). Update all references.
5739
5740 * minibuffer.el (completion-table-with-cache): New function.
5741
5742 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5743
5744 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5745
5746 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5747
5748 * net/eww.el (eww-current-source): New variable to store page
5749 source.
5750 (eww-display-html, eww-mode, eww-save-history)
5751 (eww-restore-history): Use it.
5752 (eww-view-source): New command to view page source.
5753 Opportunistically uses `html-mode' to highlight the buffer.
5754 (eww-mode-map): Install it.
5755
5756 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5757
5758 * net/dbus.el (dbus-unregister-service)
5759 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5760 Fix docstring.
5761 (dbus-unregister-service): Skip :serial entries in
5762 `dbus-registered-objects-table'.
5763 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5764
5765 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5766
5767 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5768 around keywords with extra `split-string' argument.
5769
5770 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5771
5772 * windmove.el (windmove-other-window-loc): Handle navigation
5773 between windows (excluding the minibuffer window - Bug#16017).
5774
5775 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5776
5777 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5778 in D-Bus type syntax.
5779 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5780 preserve unibyte strings. (Bug#16048)
5781
5782 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5785 Call force-mode-line-update is the proper buffer (bug#16042).
5786
5787 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5788
5789 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5790 `log-edit-remember-comment', make argument optional. Adjust all
5791 callers.
5792 (log-edit-mode): Add `log-edit-remember-comment' to
5793 `kill-buffer-hook' locally.
5794 (log-edit-kill-buffer): Don't remember comment explicitly since
5795 the buffer is killed anyway.
5796
5797 2013-12-04 Juri Linkov <juri@jurta.org>
5798
5799 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5800 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5801
5802 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5803
5804 * notifications.el (notifications-close-notification): Call the
5805 D-Bus method with ID being a `:uint32'. (Bug#16030)
5806
5807 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5808
5809 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5810
5811 2013-12-03 Juri Linkov <juri@jurta.org>
5812
5813 * progmodes/compile.el (compilation-start): Rename window alist
5814 entry `no-display-ok' to `allow-no-window'.
5815
5816 * simple.el (shell-command): Add window alist entry
5817 `allow-no-window' to `display-buffer'.
5818 (async-shell-command): Doc fix.
5819
5820 * window.el (display-buffer-no-window): New action function.
5821 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5822
5823 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5824
5825 * vc/log-edit.el (log-edit-set-header): Extract from
5826 `log-edit-toggle-header'.
5827 (log-edit-extract-headers): Separate the summary, when extracted
5828 from header, from the rest of the message with an empty line.
5829
5830 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5831 line, if present, to the Summary header.
5832
5833 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5836 in current-buffer (bug#16029).
5837
5838 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5839
5840 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5841 (debugger-mode-map): Bind it.
5842 (debugger--backtrace-base): New function.
5843 (debugger-eval-expression): Use it.
5844 (debugger-frame-number): Skip local vars when present.
5845 (debugger--locals-visible-p, debugger--insert-locals)
5846 (debugger--show-locals, debugger--hide-locals): New functions.
5847
5848 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5849
5850 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5851 "LC_ALL".
5852 (tramp-get-remote-locale): New defun.
5853 (tramp-open-connection-setup-interactive-shell): Use it.
5854
5855 2013-12-02 Leo Liu <sdl.web@gmail.com>
5856
5857 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5858
5859 * progmodes/sh-script.el (sh-shell-process):
5860 * progmodes/octave.el (inferior-octave-process-live-p):
5861 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5862 (gdb-inferior-io-sentinel):
5863 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5864
5865 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5866
5867 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5868 `save-selected-window' to `log-edit-hide-buf'. This makes
5869 `log-edit-show-files' idempotent.
5870 (log-edit-show-files): Mark the new window as dedicated.
5871
5872 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5873
5874 * vc/log-edit.el (log-edit-mode-map): Add binding for
5875 `log-edit-kill-biffer'.
5876 (log-edit-hide-buf): Add a FIXME comment.
5877 (log-edit-add-new-comment): New function, extracted from
5878 `log-edit-done'.
5879 (log-edit-done, log-edit-add-to-changelog): Use it.
5880 (log-edit-kill-buffer): New command.
5881
5882 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5883
5884 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5885 instead of killing the buffer.
5886
5887 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5890
5891 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5892
5893 * net/eww.el (eww-form-checkbox-selected-symbol)
5894 (eww-form-checkbox-symbol): New customizable variable.
5895 (eww-form-checkbox, eww-toggle-checkbox):
5896 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5897
5898 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5899 (shr--get-media-pref, shr--extract-best-source): New function.
5900 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5901 no :src tag was specified.
5902
5903 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5904 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5905 Use \\` to match beginning of string instead of ^.
5906 (eww-browse-with-external-browser): Provide optional URL parameter.
5907 (eww-render): Set `eww-current-title' back to "".
5908
5909 * net/shr.el (shr-tag-video): Display content for video if no
5910 poster is available.
5911 (shr-tag-audio): Add support for <audio> tag.
5912
5913 * net/eww.el (eww-text-input-types): New const.
5914 (eww-process-text-input): Treat input types in
5915 `eww-text-input-types' as text.
5916
5917 * net/shr.el (shr-tag-table): Fix comment typo.
5918
5919 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5920
5921 * net/eww.el (eww-follow-link): New command to avoid reloading
5922 pages when we follow #target links (bug#15243).
5923 (eww-quit): Special mode buffers shouldn't query before exiting.
5924
5925 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5926
5927 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5928 forms.
5929
5930 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5931
5932 * net/eww.el (eww-restore-history): Update the window title after
5933 moving in the history.
5934 (eww-current-dom): New variable used to save the current DOM.
5935
5936 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5937
5938 * vc/log-edit.el (log-edit-mode-map): Add binding for
5939 `log-edit-beginning-of-line'.
5940 (log-edit-setup-add-author): New user option.
5941 (log-edit-beginning-of-line): New command.
5942 (log-edit): Move major mode call above the contents setup so that
5943 the local variable values are already applied.
5944 (log-edit): Only insert "Author: " when
5945 `log-edit-setup-add-author' is non-nil.
5946 (log-edit): When SETUP is non-nil, position point after ": "
5947 instead of point-min.
5948
5949 2013-12-01 Glenn Morris <rgm@gnu.org>
5950
5951 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5952
5953 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5954
5955 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5956 redisplay to make sure the initial frame gets a chance to become
5957 visible. (Bug#16014)
5958
5959 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5960
5961 Support resizing frames and windows pixelwise.
5962 * cus-start.el (frame-resize-pixelwise)
5963 (window-resize-pixelwise): New entries.
5964 * emacs-lisp/debug.el (debug): Use window-total-height instead
5965 of window-total-size.
5966 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5967 * help.el (describe-bindings-internal): Use help-buffer as
5968 argument for with-help-window.
5969 (temp-buffer-max-width): New option.
5970 (resize-temp-buffer-window, help-window-setup)
5971 (with-help-window): Rewrite.
5972 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5973 dragging dividers.
5974 * window.el (frame-char-size, window-min-pixel-height)
5975 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5976 (window-min-pixel-width, window-safe-min-pixel-size)
5977 (window-combination-p, window-safe-min-size)
5978 (window-resizable-p, window--size-to-pixel)
5979 (window--pixel-to-size, window--resize-apply-p): New functions.
5980 (window-safe-min-height): Fix doc-string.
5981 (window-size, window-min-size, window--min-size-1)
5982 (window-sizable, window-sizable-p, window--min-delta-1)
5983 (window-min-delta, window--max-delta-1, window-max-delta)
5984 (window--resizable, window--resizable-p, window-resizable)
5985 (window-full-height-p, window-full-width-p, window-at-side-p)
5986 (window--in-direction-2, window-in-direction)
5987 (window--resize-reset-1, window--resize-mini-window)
5988 (window-resize, window-resize-no-error)
5989 (window--resize-child-windows-normal)
5990 (window--resize-child-windows, window--resize-siblings)
5991 (window--resize-this-window, window--resize-root-window)
5992 (window--resize-root-window-vertically)
5993 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5994 (maximize-window, minimize-window, delete-window)
5995 (quit-restore-window, window-split-min-size, split-window)
5996 (balance-windows-2, balance-windows)
5997 (balance-windows-area-adjust, balance-windows-area)
5998 (window--state-get-1, window-state-get, window--state-put-1)
5999 (window--state-put-2, window-state-put)
6000 (display-buffer-record-window, window--display-buffer):
6001 Make functions handle pixelwise sizing of windows.
6002 (display-buffer--action-function-custom-type)
6003 (display-buffer-fallback-action):
6004 Add display-buffer-in-previous-window.
6005 (display-buffer-use-some-window): Resize window to height it had
6006 before.
6007 (fit-window-to-buffer-horizontally): New option.
6008 (fit-frame-to-buffer): Describe new values.
6009 (fit-frame-to-buffer-bottom-margin): Replace with
6010 fit-frame-to-buffer-margins.
6011 (window--sanitize-margin): New function.
6012 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6013 using window-text-pixel-size.
6014
6015 2013-11-30 Glenn Morris <rgm@gnu.org>
6016
6017 * emacs-lisp/bytecomp.el (byte-compile-form):
6018 Make the `interactive-only' warning like the `obsolete' one.
6019 * comint.el (comint-run):
6020 * files.el (insert-file-literally, insert-file):
6021 * replace.el (replace-string, replace-regexp):
6022 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6023 (goto-line, insert-buffer, next-line, previous-line):
6024 Tweak `interactive-only' spec.
6025
6026 Stop keeping (most) generated cedet grammar files in the repository.
6027 * Makefile.in (semantic): New.
6028 (compile-main): Depend on semantic.
6029
6030 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6031
6032 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6033 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6034
6035 * uniquify.el (uniquify-buffer-name-style): Change default.
6036
6037 * loadup.el: Preload "uniquify".
6038
6039 * time.el (display-time-update): Update all mode lines (bug#15999).
6040
6041 * electric.el (electric-indent-mode): Enable by default.
6042 * loadup.el: Preload "electric".
6043
6044 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6045
6046 * emacs-lisp/helpers.el (string-empty-p): New function.
6047 (string-blank-p): New function.
6048
6049 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6050
6051 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6052 (Bug#14029).
6053
6054 2013-11-29 Andreas Politz <politza@fh-trier.de>
6055 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6056 allow non-lambda lists as functions.
6057 (imenu--in-alist): Don't recurse into non-subalists.
6058 (imenu): Don't pass function itself as an argument (Bug#14029).
6059
6060 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6061
6062 * progmodes/python.el (python-mode-map): Remove binding for ":".
6063 (python-indent-electric-colon): Remove command.
6064 (python-indent-post-self-insert-function): Integrate the previous code
6065 of python-indent-electric-colon. Make it conditional on
6066 electric-indent-mode.
6067 (python-mode): Add ?: to electric-indent-chars.
6068 Move python-indent-post-self-insert-function to the end of
6069 post-self-insert-hook.
6070
6071 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * doc-view.el (doc-view-goto-page): Update mode-line.
6074
6075 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6076
6077 2013-11-27 Glenn Morris <rgm@gnu.org>
6078
6079 * international/charprop.el, international/uni-bidi.el:
6080 * international/uni-category.el, international/uni-combining.el:
6081 * international/uni-comment.el, international/uni-decimal.el:
6082 * international/uni-decomposition.el, international/uni-digit.el:
6083 * international/uni-lowercase.el, international/uni-mirrored.el:
6084 * international/uni-name.el, international/uni-numeric.el:
6085 * international/uni-old-name.el, international/uni-titlecase.el:
6086 * international/uni-uppercase.el:
6087 Remove generated files from VCS repository.
6088
6089 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6090
6091 * filenotify.el (file-notify-add-watch): Don't special-case
6092 w32notify when computing the directory to watch.
6093
6094 2013-11-27 Glenn Morris <rgm@gnu.org>
6095
6096 Make bootstrap without generated uni-*.el files possible again.
6097 * loadup.el: Update command-line-args checking for unidata-gen.
6098 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6099 * composite.el, international/characters.el:
6100 Handle unicode tables being undefined.
6101
6102 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6103 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6104 (compile-main): Depend on leim rule.
6105 (leim): New rule.
6106 * loadup.el: Move leim-list.el to leim/ subdirectory.
6107 * startup.el (normal-top-level): No more leim directory.
6108 * international/ja-dic-cnv.el (skkdic-convert):
6109 Disable version-control and autoloads in output files.
6110 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6111 Disable version-control and autoloads in output files.
6112 * leim/quail: Move here from ../leim.
6113 * leim/quail/hangul.el (hangul-input-method-activate):
6114 Add autoload cookie.
6115 (generated-autoload-load-name): Set file-local value.
6116 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6117 (generated-autoload-load-name): Set file-local value.
6118
6119 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6120
6121 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6122 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6123 (eww-quit): Ask confirmation before quitting eww.
6124
6125 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6126
6127 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6128 reading output from Diff on MS-Windows and MS-DOS.
6129
6130 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6131
6132 * emacs-lisp/helpers.el (string-reverse): New function.
6133
6134 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6135
6136 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6137 names on MS Windows, like "/[::1]:".
6138
6139 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6140 SWITCHES.
6141
6142 2013-11-26 Glenn Morris <rgm@gnu.org>
6143
6144 * progmodes/python.el (python-indent-guess-indent-offset):
6145 Avoid corner-case error. (Bug#15975)
6146
6147 Preload leim-list.el. (Bug#4789)
6148 * loadup.el: Load leim-list.el when found.
6149 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6150
6151 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6152
6153 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6154
6155 * emacs-lisp/helpers.el (string-join): New function.
6156
6157 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6158
6159 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6160 Mark as obsolete and replace it with a symbol property.
6161 (byte-compile-form): Use new 'interactive-only property.
6162 * comint.el, files.el, replace.el, simple.el:
6163 Apply new 'interactive-only properly.
6164
6165 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6166
6167 * window.el (display-buffer-at-bottom): Make sure that
6168 split-window-sensibly creates the new window on bottom
6169 (Bug#15961).
6170
6171 2013-11-23 David Kastrup <dak@gnu.org>
6172
6173 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6174 on the conflict markers when available.
6175 (smerge--get-marker): New function.
6176 (smerge-end-re, smerge-base-re): Add subgroup.
6177
6178 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * frame.el (handle-focus-in, handle-focus-out): Add missing
6181 interactive spec.
6182
6183 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6184
6185 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6186 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6187
6188 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6189
6190 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6191 (gomoku--last-pos): New var.
6192 (gomoku--intangible-chars): New const.
6193 (gomoku--intangible): New function.
6194 (gomoku-mode): Use it. Derive from special-mode.
6195 (gomoku-move-up): Adjust line count.
6196 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6197 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6198 Simplify accordingly.
6199
6200 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6201 Remove blink-cursor code.
6202 (blink-cursor-timer-function, blink-cursor-suspend):
6203 Don't special-case GUIs.
6204 (blink-cursor-mode): Use focus-in/out-hook.
6205
6206 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6207
6208 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6209 work when annotation is invisible (Bug#13886).
6210
6211 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6212
6213 * json.el (json-alist-p): Only return non-nil if the alist has
6214 simple keys (Bug#13518).
6215
6216 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6217
6218 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6219 when control-statement is the first statement in a buffer (Bug#15956).
6220
6221 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6222
6223 * imenu.el (imenu-generic-skip-comments-and-strings):
6224 New option (Bug#15560).
6225 (imenu--generic-function): Use it.
6226
6227 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6228
6229 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6230 (Bug#13898)
6231
6232 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6233
6234 * emacs-lisp/helpers.el: Add some string helpers.
6235 (string-trim-left): Removes leading whitespace.
6236 (string-trim-right): Removes trailing whitespace.
6237 (string-trim): Removes leading and trailing whitespace.
6238
6239 * subr.el (string-suffix-p): New function.
6240
6241 2013-11-23 Glenn Morris <rgm@gnu.org>
6242
6243 * progmodes/python.el (python-shell-send-file):
6244 Add option to delete file when done. (Bug#15647)
6245 (python-shell-send-string, python-shell-send-region): Use it.
6246
6247 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6248
6249 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6250 to set buffer-read-only to t, never to nil. (Bug#15938)
6251
6252 * textmodes/tex-mode.el (latex-noindent-environments):
6253 Add safe-local-variable property. (Bug#15936)
6254
6255 2013-11-23 Glenn Morris <rgm@gnu.org>
6256
6257 * textmodes/enriched.el (enriched-mode): Doc fix.
6258 * emacs-lisp/authors.el (authors-renamed-files-alist):
6259 Add enriched.doc -> enriched.txt.
6260
6261 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6262
6263 2013-11-22 Leo Liu <sdl.web@gmail.com>
6264
6265 * progmodes/octave.el (inferior-octave-startup): Spit out error
6266 message.
6267
6268 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6269
6270 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6271 Improve docstring.
6272 Add :version.
6273 (ruby-encoding-magic-comment-style): Add :version.
6274
6275 2013-11-22 Leo Liu <sdl.web@gmail.com>
6276
6277 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6278 (Bug#15076)
6279 (octave-help-mode): Adapt to change to help-mode-finish to use
6280 derived-mode-p on 2013-09-17.
6281 (inferior-octave-prompt): Also match octave-gui.
6282 (octave-kill-process): Don't ask twice. (Bug#10564)
6283
6284 2013-11-22 Leo Liu <sdl.web@gmail.com>
6285
6286 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6287 (inferior-octave-startup, inferior-octave-check-process)
6288 (inferior-octave-track-window-width-change)
6289 (octave-completion-at-point, octave-eldoc-function): Use it.
6290 (octave-kill-process): Provide confirmation. (Bug#10564)
6291
6292 2013-11-21 Leo Liu <sdl.web@gmail.com>
6293
6294 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6295 Fix obsolete variable comment-use-global-state.
6296
6297 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6298
6299 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6300 Add `octave-source-file'.
6301 (octave-source-file): New function. (Bug#15935)
6302
6303 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6304
6305 * net/eww.el (eww-local-regex): New variable.
6306 (eww): Use it to detect localhost and similar.
6307
6308 2013-11-21 Leo Liu <sdl.web@gmail.com>
6309
6310 Add completion for command `ag'.
6311 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6312 (pcomplete/ag): New function.
6313 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6314
6315 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6318 (bug#14646).
6319 (make-obsolete): Remove interactive spec.
6320
6321 2013-11-21 Glenn Morris <rgm@gnu.org>
6322
6323 * startup.el (command-line-1): Use path-separator with -L.
6324
6325 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6326
6327 * emacs-lisp/package.el (describe-package-1): Add package archive
6328 to shown fields.
6329
6330 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6331
6332 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6333 Change default to "# encoding: %s" to differentiate it from the
6334 default Ruby encoding comment template.
6335
6336 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6337
6338 * ses.el (ses-mode): Doc fix. (Bug#14748)
6339
6340 2013-11-20 Leo Liu <sdl.web@gmail.com>
6341
6342 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6343
6344 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6345
6346 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6347 when rebase or bisect are in progress.
6348
6349 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6350
6351 * filenotify.el (file-notify-add-watch): Doc fix.
6352
6353 2013-11-19 Leo Liu <sdl.web@gmail.com>
6354
6355 * obsolete/rcompile.el: Mark obsolete.
6356
6357 * progmodes/compile.el (compilation-start)
6358 (compilation-goto-locus, compilation-find-file):
6359 Pass no-display-ok and handle nil value from display-buffer.
6360 (Bug#13594)
6361
6362 * window.el (display-buffer-alist, display-buffer): Document the
6363 new parameter no-display-ok. Return either a window or nil
6364 but never a non-window value.
6365
6366 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6367
6368 * electric.el (electric-indent-mode-map): Remove.
6369 (electric-indent-mode): Change the global-map instead (bug#15915).
6370
6371 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6372 Use add-function.
6373
6374 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * emacs-lisp/nadvice.el (remove-function): Align with
6377 add-function's behavior.
6378
6379 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6380 (gdb--string-regexp): New constant.
6381 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6382 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6383 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6384 submatch 1.
6385 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6386 Adjust use accordingly.
6387 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6388
6389 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6390
6391 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6392 interpolation curlies (Bug#15914).
6393
6394 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6395
6396 * calc/calc.el (calc-context-sensitive-enter): New variable.
6397 (calc-enter): Use `calc-context-sensitive-enter'.
6398
6399 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6400
6401 * progmodes/cfengine.el: Version bump.
6402 (cfengine-cf-promises): New defcustom to locate cf-promises.
6403 (cfengine3-vartypes): Add new "data" type.
6404 (cfengine3--current-word): New function to get current name-like
6405 word or its bounds.
6406 (cfengine3--current-function): New function to look up a CFEngine
6407 function's definition.
6408 (cfengine3-format-function-docstring): New function.
6409 (cfengine3-make-syntax-cache): New function.
6410 (cfengine3-documentation-function): New function: ElDoc glue.
6411 (cfengine3-completion-function): New function: completion glue.
6412 (cfengine3-mode): Set `compile-command',
6413 `eldoc-documentation-function', and add to
6414 `completion-at-point-functions'.
6415
6416 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6417
6418 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6419 `tramp-current-connection'.
6420
6421 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6422
6423 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6424 nil/self/true/false with "end of symbol".
6425
6426 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6427
6428 * subr.el (version-regexp-alist): Fix a typo.
6429
6430 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6431
6432 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6433 "en_US.utf8" and "LC_CTYPE" to "".
6434 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6435 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6436
6437 2013-11-15 Leo Liu <sdl.web@gmail.com>
6438
6439 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6440
6441 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * progmodes/gud.el (ctl-x-map):
6444 Remove C-x SPC binding. (Bug#12342)
6445 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6446
6447 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6448
6449 * subr.el (version-regexp-alist):
6450 Recognize hg, svn and darcs versions as snapshot versions.
6451
6452 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6453 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6454 (ruby--encoding-comment-required-p): Extract from
6455 `ruby-mode-set-encoding'.
6456 (ruby-mode-set-encoding): Add the ability to always insert an
6457 utf-8 encoding comment. Fix and simplify coding comment update
6458 logic.
6459
6460 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6461
6462 * net/tramp-gvfs.el (top): Run init code only when
6463 `tramp-gvfs-enabled' is not nil.
6464 (tramp-gvfs-enabled): Check also :system bus.
6465
6466 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6467
6468 Sync with upstream verilog-mode revision 78e66ba.
6469 * progmodes/verilog-mode.el (verilog-end-of-defun)
6470 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6471 (verilog-get-end-of-defun): Remove unused argument.
6472 (verilog-comment-depth): Remove unused local `e'.
6473 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6474 Don't pass arg to verilog-get-end-of-defun.
6475
6476 2013-11-14 Glenn Morris <rgm@gnu.org>
6477
6478 * obsolete/assoc.el (aget): Prefix dynamic variable.
6479
6480 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6481
6482 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6483
6484 * widget.el, hfy-cmap.el: Remove bogus package version number.
6485
6486 2013-11-13 Glenn Morris <rgm@gnu.org>
6487
6488 * replace.el (replace-eval-replacement):
6489 Try to give more helpful error message. (Bug#15836)
6490
6491 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6492 (archive-7z-update): Avoid custom type mismatches.
6493
6494 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6495
6496 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6497
6498 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6499 address can be empty.
6500
6501 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6502 Accept nil SWITCHES.
6503 (tramp-gvfs-handle-write-region): Implement APPEND.
6504
6505 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6506
6507 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6508 binary "|" operator and closing block args delimiter.
6509 Remove FIXME comment referring to Ruby 1.8-only syntax.
6510 (ruby-smie--implicit-semi-p): Not after "|" operator.
6511 (ruby-smie--closing-pipe-p): New function.
6512 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6513 (ruby-smie-rules): Indent after "|".
6514
6515 2013-11-12 Glenn Morris <rgm@gnu.org>
6516
6517 * ps-print.el (ps-face-attribute-list):
6518 Handle anonymous faces. (Bug#15827)
6519
6520 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6521
6522 * window.el (display-buffer-other-frame): Fix doc-string.
6523 (Bug#15868)
6524
6525 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6526
6527 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6528
6529 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6530
6531 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6532 (tramp-sh-handle-file-local-copy): Don't write a message when
6533 saving temporary files.
6534
6535 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6536 both directories are remote.
6537 (tramp-smb-handle-directory-files): Do not return double entries.
6538 Do not expand full file names.
6539 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6540 (tramp-smb-handle-write-region): Implement APPEND.
6541 (tramp-smb-get-stat-capability): Fix a stupid bug.
6542
6543 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6546
6547 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6548
6549 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6550 throwing error over malformed let/let* (bug#15814).
6551
6552 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6553
6554 * iswitchb.el (iswitchb-mode): Mark obsolete.
6555
6556 2013-11-11 Glenn Morris <rgm@gnu.org>
6557
6558 * international/uni-bidi.el, international/uni-category.el:
6559 * international/uni-name.el, international/uni-numeric.el:
6560 Regenerate for Unicode 6.3.0.
6561
6562 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6563
6564 * net/tramp.el (tramp-methods):
6565 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6566 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6567
6568 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6569
6570 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6571 Force highlighting text after Summary keyword in doc face for rpm.
6572
6573 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6574
6575 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6576 available and the word has no wildcards, append one to the grep pattern.
6577 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6578 (ispell-complete-word): Call `ispell-lookup-words' with the value
6579 independent of `ispell-look-p'.
6580
6581 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6582
6583 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6584 Not after "||".
6585 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6586 their parent.
6587
6588 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6591 (ruby-font-lock-keywords): Use backquote.
6592
6593 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6594
6595 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6596 (ruby-smie--backward-token): Only consider full-string matches.
6597
6598 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6599
6600 * faces.el (describe-face): Add distant-foreground.
6601
6602 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6603
6604 * progmodes/ruby-mode.el: Improve encoding comment handling.
6605 (ruby-encoding-magic-comment-style): New option.
6606 (ruby-custom-encoding-magic-comment-template): New option.
6607 (ruby--insert-coding-comment, ruby--detect-encoding):
6608 New functions extracted from `ruby-mode-set-encoding'.
6609 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6610 to control the style of the auto-inserted encoding comment.
6611
6612 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6613
6614 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6615 Use `smie-backward-sexp' with token argument.
6616
6617 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6618
6619 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6620 Remove instrumentation code.
6621
6622 2013-11-08 Glenn Morris <rgm@gnu.org>
6623
6624 * progmodes/autoconf.el (autoconf-mode):
6625 Tweak comment-start-skip. (Bug#15822)
6626
6627 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6628
6629 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6630 at bobp (bug#15826).
6631 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6632
6633 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6634
6635 * man.el (Man-start-calling): New macro, extracted from
6636 Man-getpage-in-background.
6637 (Man-getpage-in-background): Use it.
6638 (Man-update-manpage): New command.
6639 (Man-mode-map): Bind it.
6640
6641 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6642
6643 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6644 of "and", "or", "&&" and "||".
6645 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6646 argument. Prohibit opening curly brace because it could only be a
6647 block opener in that position.
6648 (ruby-smie--forward-token, ruby-smie--backward-token):
6649 Separate "|" from "&" or "*" going after it. That can happen in block
6650 arguments.
6651 (ruby-smie--indent-to-stmt): New function, seeks the end of
6652 previous statement or beginning of buffer.
6653 (ruby-smie-rules): Use it.
6654 (ruby-smie-rules): Check if there's a ":" before a curly block
6655 opener candidate; if there is, it's a hash.
6656
6657 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6660 (cl--block-wrapper): Fix last accidental change.
6661
6662 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6663
6664 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6665 Instrument, in order to hunt failure on hydra.
6666
6667 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6668
6669 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6670 malformed bindings form (bug#15814).
6671
6672 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6673
6674 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6675 "." compared to " @ ". This incidentally fixes some indentation
6676 examples with "do".
6677 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6678 (ruby-smie-grammar): New tokens: "and" and "or".
6679 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6680 Exclude "and" and "or". Remove "do" in order to work around token
6681 priorities.
6682 (ruby-smie-rules): Add all infix tokens. Handle the case of
6683 beginning-of-buffer.
6684
6685 2013-11-06 Glenn Morris <rgm@gnu.org>
6686
6687 * Makefile.in (setwins_almost, setwins_for_subdirs):
6688 Avoid accidental matches.
6689
6690 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * menu-bar.el (popup-menu): Use key-binding.
6693
6694 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6695
6696 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6697 menus, support also the menus produced by minor modes.
6698 (Bug#15817)
6699
6700 2013-11-06 Leo Liu <sdl.web@gmail.com>
6701
6702 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6703 DISTANCE to bound the search. All uses changed. (Bug#15808)
6704
6705 2013-11-06 Glenn Morris <rgm@gnu.org>
6706
6707 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6708 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6709 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6710
6711 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6712
6713 * electric.el (electric-indent-just-newline): New command.
6714 (electric-indent-mode-map): New keymap.
6715 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6716 Re-add :group which weren't redundant.
6717
6718 * electric.el (electric-indent-local-mode): New minor mode.
6719 (electric-indent-functions-without-reindent): New var.
6720 (electric-indent-post-self-insert-function): Use it.
6721 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6722
6723 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6724
6725 * international/quail.el (quail-help): Be more explicit about the
6726 meaning of the labels shown on the keys. (Bug#15800)
6727
6728 * startup.el (normal-top-level): Load the subdirs.el files before
6729 setting the locale environment. (Bug#15805)
6730
6731 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6732
6733 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6734 via arguments so as to get the right ones (bug#15418).
6735
6736 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6737
6738 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6739
6740 Fix problems found while writing a test suite.
6741
6742 * net/tramp-compat.el (tramp-compat-load): New defun.
6743 * net/tramp.el (tramp-handle-load): Use it.
6744
6745 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6746 "(numberp ok-if-already-exists)" correctly.
6747
6748 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6749
6750 * international/characters.el (glyphless-char-display-control):
6751 Add usage note.
6752
6753 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6754
6755 * progmodes/python.el (python-mode):
6756 * progmodes/scheme.el (scheme-mode):
6757 * progmodes/prolog.el (prolog-mode):
6758 * progmodes/ruby-mode.el (ruby-mode):
6759 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6760 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6761
6762 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6763
6764 * rect.el (rectangle--highlight-for-redisplay):
6765 * emacs-lisp/smie.el (smie--next-indent-change):
6766 Use buffer-chars-modified-tick.
6767
6768 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6769
6770 * electric.el (electric-indent-post-self-insert-function):
6771 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6772
6773 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6774
6775 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6776
6777 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6778
6779 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6780 (bug#15786).
6781
6782 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6785
6786 * progmodes/python.el: Fix up last change.
6787 (python-shell--save-temp-file): New function.
6788 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6789 `string' comes from the current buffer.
6790 (python-shell-send-string-no-output): Remove `msg' arg.
6791 (python--use-fake-loc): New var.
6792 (python-shell-buffer-substring): Obey it. Try to compensate for the
6793 extra coding line added by python-shell--save-temp-file.
6794 (python-shell-send-region): Use python-shell--save-temp-file and
6795 python-shell-send-file directly. Add `nomain' argument.
6796 (python-shell-send-buffer): Use python-shell-send-region.
6797 (python-electric-pair-string-delimiter): New function.
6798 (python-mode): Use it.
6799
6800 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6801
6802 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6803 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6804 environment and decoding all of the default-directory's to here
6805 from command-line.
6806 (command-line): Decode also argv[0].
6807
6808 * loadup.el: Error out if default-directory is a multibyte string
6809 when we are dumping.
6810
6811 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6812
6813 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6814
6815 * emacs-lisp/package.el (package-menu-mode)
6816 (package-menu--print-info, package-menu--archive-predicate):
6817 Add Archive column to package list.
6818
6819 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6820
6821 Fix problems found while writing a test suite.
6822
6823 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6824 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6825 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6826 to nil when running original file name handler. Otherwise,
6827 there are problems with constructs like "$$FOO".
6828
6829 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6830 for `localname'.
6831
6832 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6833
6834 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6835
6836 * subr.el (version<, version<=, version=):
6837 Update docstrings with information for snapshot versions.
6838
6839 * helpers.el: New library for misc helper functions.
6840 (hash-table-keys): New function returning a list of hash keys.
6841 (hash-table-values): New function returning a list of hash values.
6842
6843 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6844
6845 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6846 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6847
6848 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6849
6850 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6851 checking whether point is after a 1-letter word.
6852
6853 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6854
6855 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6856 Don't infloop when expanding region over `multiline' syntax-type that
6857 begins a line (bug#15778).
6858
6859 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6862 Make it into a proper minor mode.
6863 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6864 (rectangle-mark-mode-map): New keymap.
6865 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6866
6867 2013-11-04 Glenn Morris <rgm@gnu.org>
6868
6869 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6870
6871 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6872
6873 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6874 (ruby-smie-rules): Use smie-rule-parent instead.
6875
6876 * emacs-lisp/smie.el (smie-rule-parent): Always call
6877 smie-indent-virtual rather than only for hanging tokens.
6878 (smie--next-indent-change): New helper command.
6879
6880 2013-11-03 Glenn Morris <rgm@gnu.org>
6881
6882 * Makefile.in (abs_srcdir): Remove.
6883 (emacs): Unset EMACSLOADPATH.
6884
6885 2013-11-02 Glenn Morris <rgm@gnu.org>
6886
6887 * Makefile.in (EMACS): Use a relative filename.
6888 (abs_top_builddir): Remove.
6889 (custom-deps, finder-data, autoloads): Use --chdir.
6890
6891 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6892
6893 Use relative filenames in TAGS files.
6894 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6895 (lisptagsfiles4, TAGS): Use relative file names.
6896 (TAGS-LISP): Remove.
6897 (maintainer-clean): No more TAGS-LISP file.
6898
6899 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6900 (lisptagsfiles4): Use absolute filenames again.
6901 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6902 Remove all *loaddefs files, not just the first. Remove esh-groups.
6903 (maintainer-clean): Delete TAGS, TAGS-LISP.
6904
6905 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6906
6907 * emacs-lisp/package.el (package-version-join):
6908 Recognize snapshot versions.
6909
6910 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6911
6912 * subr.el (version-regexp-alist): Add support for snapshot versions.
6913
6914 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6915
6916 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6917 New function, replacement for `smie-rule-parent' for when we want to
6918 skip over our direct parent if it's an assignment token..
6919 (ruby-smie-rules): Use it.
6920
6921 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6922
6923 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6924 unconditionally. Remove now unnecessary forward declarations.
6925 Remove XEmacs-specific setup.
6926 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6927 (ruby-font-lock-syntactic-keywords)
6928 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6929 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6930 (ruby-here-doc-end-syntax): Remove.
6931 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6932 defined as function.
6933
6934 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6935
6936 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6937
6938 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6939
6940 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6941 table and abbrev table, `define-derived-mode' does that for us
6942 anyway.
6943
6944 2013-11-01 Glenn Morris <rgm@gnu.org>
6945
6946 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6947 files is atomic for some time, so no parallel compilation issues).
6948
6949 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6950
6951 * faces.el (face-x-resources): Add :distant-foreground.
6952 (region): Use :distant-foreground for gtk and ns.
6953
6954 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6955
6956 Allow multiple bibliographies when BibLaTeX is used rather than
6957 BibTeX.
6958 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6959 (reftex-locate-bibliography-files): Us it.
6960
6961 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6962
6963 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6964 allow comments in pbm files.
6965
6966 * term/w32-win.el (dynamic-library-alist): Support newer versions
6967 of libjpeg starting with v7: look only for the DLL from the
6968 version against which Emacs was built.
6969 Support versions of libpng beyond 1.4.x.
6970 Support libtiff v4.x.
6971
6972 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6973
6974 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6975 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6976 Add property :safe.
6977 (ruby-deep-arglist): Add property :type.
6978
6979 2013-10-31 Glenn Morris <rgm@gnu.org>
6980
6981 * Makefile.in (custom-deps, finder-data): No need to setq the target
6982 variables, we are in the right directory and the defaults work fine.
6983
6984 2013-10-30 Glenn Morris <rgm@gnu.org>
6985
6986 * Makefile.in (autoloads): Do not use abs_lisp.
6987
6988 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6989 `newline' does not respect `standard-output', so use `princ'.
6990
6991 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6992
6993 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6994 * buff-menu.el (Buffer-menu--unmark): New function.
6995 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6996
6997 2013-10-30 Glenn Morris <rgm@gnu.org>
6998
6999 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7000
7001 * emacs-lisp/package.el (lm-homepage): Declare.
7002
7003 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7004 Fix doc typos.
7005
7006 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7007
7008 * Makefile.in (finder-data, autoloads, update-subdirs)
7009 (compile-main, compile-clean, compile-always, bootstrap-clean):
7010 Check return value of cd.
7011 (compile-calc): Remove.
7012
7013 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7016
7017 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7018 (byte-compile-and-folded): New function.
7019 (=, <, >, <=, >=): Use it.
7020
7021 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7022 (path-separator, null-device, buffer-file-coding-system)
7023 (lpr-headers-switches): Check system-type before modifying them.
7024 (find-buffer-file-type-coding-system): Mark obsolete.
7025 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7026 find-file-not-found-set-buffer-file-coding-system.
7027 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7028 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7029 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7030 (w32-direct-print-region-helper, w32-direct-print-region-function)
7031 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7032 * startup.el (normal-top-level-add-subdirs-to-load-path):
7033 * ps-print.el (ps-print-region-function):
7034 * lpr.el (print-region-function): Use new name.
7035
7036 * subr.el (custom-declare-variable-early): Remove function.
7037 (custom-declare-variable-list): Remove var.
7038 (error, user-error): Remove `while' loop.
7039 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7040 (user-emacs-directory-warning, locate-user-emacs-file):
7041 Move to files.el.
7042 * simple.el (read-quoted-char-radix, read-quoted-char):
7043 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7044 Move from subr.el.
7045 * custom.el (custom-declare-variable-list): Don't process
7046 custom-declare-variable-list.
7047
7048 * progmodes/python.el (python-shell-get-buffer): New function.
7049 (python-shell-get-process): Use it.
7050 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7051 Python which encoding was used. Don't split-string since we only care
7052 about the first line. Return the temp-file, if applicable.
7053 (python-shell-send-region): Tell compile.el how to turn locations in
7054 the temp-file into locations in the source buffer.
7055
7056 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7057
7058 * subr.el (undefined): Add missing behavior from the C code for
7059 unbound keys.
7060
7061 * rect.el: Use lexical-binding. Add new rectangular region support.
7062 (rectangle-mark): New command.
7063 (rectangle--region): New var.
7064 (deactivate-mark-hook): Reset rectangle--region.
7065 (rectangle--extract-region, rectangle--insert-for-yank)
7066 (rectangle--highlight-for-redisplay)
7067 (rectangle--unhighlight-for-redisplay): New functions.
7068 (region-extract-function, redisplay-unhighlight-region-function)
7069 (redisplay-highlight-region-function): Use them to handle
7070 rectangular region.
7071 * simple.el (region-extract-function): New var.
7072 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7073 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7074 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7075 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7076 (redisplay-unhighlight-region-function)
7077 (redisplay-highlight-region-function): New vars.
7078 (redisplay--update-region-highlight): New function.
7079 (pre-redisplay-function): Use it.
7080 (exchange-point-and-mark): Don't deactivate the mark before
7081 reactivate-it anyway.
7082 * comint.el (comint-kill-region): Remove yank-handler argument.
7083 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7084 (delete-char): Remove property, since it's now part of their
7085 default behavior.
7086 (self-insert-iso): Remove property since this command doesn't exist.
7087
7088 * emacs-lisp/package.el (package--download-one-archive)
7089 (describe-package-1): Don't query the user about final newline.
7090
7091 2013-10-29 Daniel Colascione <dancol@dancol.org>
7092
7093 * net/tramp.el (tramp-methods): Document new functionality.
7094 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7095 tramp-hostname-checker if method provides one instead of scanning
7096 argument list for "%h" to decide hostname acceptability.
7097
7098 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7099
7100 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7101 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7102 Handle COPY-CONTENTS. (Bug#15737)
7103
7104 2013-10-28 Daiki Ueno <ueno@gnu.org>
7105
7106 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7107 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7108
7109 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7110
7111 * image.el (defimage, image-load-path): Doc fixes.
7112
7113 2013-10-27 Alan Mackenzie <acm@muc.de>
7114
7115 Indent statements in macros following "##" correctly.
7116 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7117 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7118
7119 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7120
7121 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7122
7123 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7124
7125 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7126 after `=' is probably a new expression.
7127
7128 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7129
7130 * man.el (man-imenu-title): New option.
7131 (Man-mode-map): Add menu. (Bug#15722)
7132 (Man-mode): Add imenu to menu.
7133
7134 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7135
7136 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7137 specific in what the first arg can be: a non-keyword word,
7138 string/regexp/percent literal opener, opening paren, or unary
7139 operator followed directly by word.
7140
7141 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7142
7143 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7144 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7145 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7146 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7147 Remove vars, they do not apply any more.
7148 (prolog-mode-abbrev-table): Remove redundant declaration.
7149 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7150 (prolog-use-smie): Remove.
7151 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7152 supported by prolog-electric-if-then-else-flag.
7153 (prolog-mode-variables, prolog-menu): Use setq-local.
7154 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7155 Remove binding to `Backspace' since this key doesn't exist anyway.
7156 Remove bindings for electric self-inserting keys.
7157 (prog-mode): Assume it's defined.
7158 (prolog-post-self-insert): New function.
7159 (prolog-mode): Use it.
7160 (prolog-indent-line, prolog-indent-level)
7161 (prolog-find-indent-of-matching-paren)
7162 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7163 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7164 (prolog-goto-next-paren, prolog-in-string-or-comment)
7165 (prolog-tokenize, prolog-inside-mline-comment)
7166 (prolog-find-start-of-mline-comment): Remove functions.
7167 (prolog-find-unmatched-paren, prolog-clause-end)
7168 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7169 (prolog-electric--if-then-else): Rename from
7170 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7171 (prolog-tokenize-searchkey): Remove const.
7172 (prolog-clause-info): Use forward-sexp.
7173 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7174 (prolog-electric-if-then-else): Remove commands.
7175 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7176 for use in post-self-insert-hook.
7177 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7178 for use in post-self-insert-hook.
7179 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7180 for use in post-self-insert-hook.
7181 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7182 adapt it for use in post-self-insert-hook.
7183
7184 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7185
7186 * emacs-lisp/ert.el (ert-run-tests-interactively):
7187 Use `completing-read'. (Bug#9756)
7188
7189 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7190
7191 * simple.el (line-move): Call line-move-1 instead of
7192 line-move-visual when the current window hscroll is zero, but
7193 temporary-goal-column indicates we will need to hscroll as result
7194 of the movement. (Bug#15712)
7195
7196 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7197
7198 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7199 capitalization. Use :visible instead of :active.
7200 Fix `ruby-indent-exp' reference. Add menu items for the generic
7201 commands that are used with SMIE.
7202 (ruby-do-end-to-brace): Insert space after `{'.
7203
7204 2013-10-25 John Anthony <john@jo.hnanthony.com>
7205
7206 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7207
7208 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7209
7210 2013-10-25 Glenn Morris <rgm@gnu.org>
7211
7212 * vc/vc.el (vc-print-log): Don't use a working revision unless
7213 one was explicitly specified. (Bug#15322)
7214
7215 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 * subr.el (add-to-list): Preserve return value in compiler-macro
7218 (bug#15692).
7219
7220 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7221
7222 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7223 result. Ask user to retry using '-all' flag. (Bug#15701)
7224
7225 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7226
7227 * emacs-lisp/smie.el: New smie-config system.
7228 (smie-config): New defcustom.
7229 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7230 (smie-config-guess, smie-config-save): New commands.
7231 (smie-config--mode-local, smie-config--buffer-local)
7232 (smie-config--trace, smie-config--modefuns): New vars.
7233 (smie-config--advice, smie-config--mode-hook)
7234 (smie-config--setter, smie-config-local, smie-config--get-trace)
7235 (smie-config--guess-value, smie-config--guess): New functions.
7236 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7237 text properties. Treat "string fence" syntax like string syntax.
7238
7239 * progmodes/sh-script.el (sh-use-smie): Change default.
7240 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7241 (sh-var-value): Simplify by CSE.
7242 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7243 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7244 is used.
7245 (sh-guess-basic-offset): Use cl-incf.
7246 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7247
7248 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7249
7250 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7251 (bug#15699).
7252
7253 2013-10-24 Glenn Morris <rgm@gnu.org>
7254
7255 * Makefile.in (abs_top_srcdir): Remove.
7256 (update-subdirs): Use relative path to update-subdirs.
7257
7258 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7259
7260 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7261 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7262 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7263 Call unmsys--file-name before expand-file-name, not after it.
7264
7265 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7266
7267 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7268 (ert-test-skipped): New error.
7269 (ert-skip, ert-stats-skipped): New defuns.
7270 (ert--skip-unless): New macro.
7271 (ert-test-skipped): New struct.
7272 (ert--run-test-debugger, ert-test-result-type-p)
7273 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7274 (ert--stats-set-test-and-result, ert-char-for-test-result)
7275 (ert-string-for-test-result, ert-run-tests-batch)
7276 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7277 Handle skipped tests. (Bug#9803)
7278
7279 2013-10-24 Glenn Morris <rgm@gnu.org>
7280
7281 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7282
7283 * Makefile.in (abs_top_srcdir): New, set by configure.
7284 (update-subdirs): Correct build-aux location.
7285
7286 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7287
7288 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7289 value, whether we could auto-deduce `backend', or not.
7290
7291 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7292 with parameters" example. Simplify the "is it block or is it
7293 hash" check, but also make it more thorough.
7294
7295 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7296
7297 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7298
7299 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7300
7301 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7302 { if it is hanging.
7303
7304 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7305 :before ";".
7306
7307 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7308
7309 * progmodes/compile.el (compilation-directory-matcher)
7310 (compilation-page-delimiter):
7311 Support GNU Make-4.0 directory quoting. (Bug#15678)
7312
7313 2013-10-23 Leo Liu <sdl.web@gmail.com>
7314
7315 * ido.el (ido-tidy): Handle read-only text.
7316
7317 2013-10-23 Glenn Morris <rgm@gnu.org>
7318
7319 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7320 (emacs, compile, compile-always):
7321 Quote entities that might contain whitespace.
7322 (custom-deps, finder-data, autoloads): Use abs_lisp.
7323 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7324 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7325 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7326
7327 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7328
7329 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7330 Use `following-char'.
7331
7332 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7335 * progmodes/ruby-mode.el (ruby-smie-rules):
7336 Remove corresponding workaround. Fix indentation rule of ";" so it
7337 also applies when ";" is the parent.
7338
7339 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7340
7341 * frame.el (display-screens, display-pixel-height)
7342 (display-pixel-width, display-mm-width, display-backing-store)
7343 (display-save-under, display-planes, display-color-cells)
7344 (display-visual-class, display-monitor-attributes-list):
7345 Mention the optional ‘display’ argument in doc strings.
7346
7347 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7348
7349 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7350 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7351
7352 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7353
7354 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7355 TODO. Add "." after " @ ".
7356 (ruby-smie--at-dot-call): New function. Checks if point at method
7357 call with explicit target.
7358 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7359 to the method name tokens when it precedes them.
7360 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7361 (ruby-smie-rules): Add rule for indentation before and after "."
7362 token.
7363
7364 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * textmodes/remember.el (remember-diary-extract-entries):
7367 Avoid add-to-list.
7368
7369 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7370 an instruction.
7371
7372 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7373
7374 * progmodes/ruby-mode.el (ruby-smie-grammar):
7375 Add (almost) all infix operators.
7376 (ruby-smie--implicit-semi-p): Add new operator chars.
7377
7378 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7379 `smie-down-list'.
7380 (ruby-smie--args-separator-p): Check that there's no newline
7381 between method call and its arguments.
7382
7383 2013-10-20 Alan Mackenzie <acm@muc.de>
7384
7385 Allow comma separated lists after Java "implements".
7386
7387 * progmodes/cc-engine.el (c-backward-over-enum-header):
7388 Parse commas.
7389 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7390 from a "disallowed" list in enum fontification.
7391
7392 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7393
7394 * startup.el (default-frame-background-mode): Remove unused defvar.
7395
7396 * progmodes/verilog-mode.el (verilog-mode): Don't set
7397 comment-indent-function globally.
7398
7399 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7400
7401 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7402 Move Info menu item creation to ns-win.el.
7403
7404 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7405 in menu bar.
7406
7407 * menu-bar.el: Move GNUstep specific menus...
7408
7409 * term/ns-win.el (ns-initialize-window-system): ... to here.
7410
7411 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * simple.el (newline): Only run post-self-insert-hook when
7414 called interactively.
7415
7416 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7417
7418 * icomplete.el (icomplete-with-completion-tables): Add :version.
7419
7420 2013-10-19 Alan Mackenzie <acm@muc.de>
7421
7422 Fix fontification bugs with constructors and const.
7423
7424 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7425 CASE 2) Remove the check for the absence of a suffix construct
7426 after a function declaration with only types (no identifiers) in
7427 the parentheses. Also, accept a function declaration with just a
7428 type inside the parentheses, if this type can be positively
7429 recognised as such, or if a prefix keyword like "explicit" nails
7430 down the construct as a declaration.
7431
7432 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7433
7434 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7435 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7436 the problem whereby selecting a menu item that leads to a
7437 minibuffer prompt moves the cursor out of the minibuffer window,
7438 making it hard to type at the prompt. Suggested by Stefan Monnier
7439 <monnier@iro.umontreal.ca>.
7440
7441 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7442
7443 * menu-bar.el: Don't make Services menu.
7444
7445 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7446
7447 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7448 (ffap-alist): Use ffap-c++-mode for c++-mode.
7449 (ffap-c++-path): New variable.
7450 (ffap-c++-mode): New function.
7451
7452 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7453
7454 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7455
7456 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7457
7458 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7459 introduced on 2013-09-08, which results in an infinite loop
7460 requesting a password.
7461
7462 2013-10-18 Glenn Morris <rgm@gnu.org>
7463
7464 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7465
7466 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7467
7468 Sync with upstream verilog-mode revision 1a6ecec7.
7469 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7470 (verilog-mode-release-date): Remove.
7471 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7472 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7473 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7474 (verilog-auto-tieoff-ignore-regexp)
7475 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7476 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7477 (verilog-signals-with, verilog-dir-cache-preserving)
7478 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7479 Doc fixes.
7480 (verilog-case-fold): New option, to control case folding in
7481 regexp searches, bug597.
7482 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7483 (verilog-string-match-fold, verilog-in-paren-count)
7484 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7485 (verilog-at-close-struct-p): New functions.
7486 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7487 (verilog-forward-sexp, verilog-set-auto-endcomments)
7488 (verilog-leap-to-case-head): Handle "unique0" case.
7489 (verilog-in-constraint-re): New constant.
7490 (verilog-keywords, verilog-type-font-keywords):
7491 Add some SystemVerilog 1800-2012 keywords.
7492 (verilog-label-be): Remove unimplemented argument, bug669.
7493 (verilog-batch-execute-func): When batch expanding clear
7494 create-lockfiles to prevent spurious user locks when a file ends
7495 up not changing.
7496 (verilog-calculate-indent, verilog-calc-1)
7497 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7498 (verilog-do-indent): Fix indentation of nested constraints
7499 and structures.
7500 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7501 (verilog-auto-inst-param): Use verilog-string-match-fold.
7502 (verilog-read-inst-module-matcher):
7503 Fix AUTOINST on gate primitives with #1.
7504 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7505 Reads all user-defined typed variables.
7506 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7507 (verilog-signals-matching-regexp)
7508 (verilog-signals-not-matching-regexp, verilog-auto):
7509 Respect verilog-case-fold.
7510 (verilog-diff-report): Fix line count.
7511 (verilog-auto-assign-modport): Remove unused local `modi'.
7512 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7513 better handle multidimensional arrays.
7514 Fix packed array ports misadding bit index in AUTOINST, bug637.
7515 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7516 to not double-declare existing outputs and inputs, respectively.
7517 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7518 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7519 (verilog-sk-uvm-component): New skeleton.
7520 (verilog-submit-bug-report): Add verilog-case-fold,
7521 remove verilog-mode-release-date.
7522
7523 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7524
7525 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7526 as before.
7527
7528 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7529
7530 * textmodes/remember.el (remember): Set buffer-offer-save in
7531 remember buffers (bug#13566).
7532
7533 2013-10-18 Daniel Colascione <dancol@dancol.org>
7534
7535 When evaluating forms in ielm, direct standard output to ielm
7536 buffer. Add new ielm-return-for-effect command. Remove trailing
7537 whitespace throughout.
7538
7539 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7540 (ielm-return-for-effect): New command.
7541 (ielm-send-input): Accept optional `for-effect' parameter.
7542 (ielm-eval-input): Accept optional `for-effect' parameter.
7543 Bind `standard-output' to stream we create using
7544 `ielm-standard-output-impl'. Suppress printing result when
7545 `for-effect'.
7546 (ielm-standard-output-impl): New function.
7547 (inferior-emacs-lisp-mode): Explain new features in documentation.
7548
7549 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7550
7551 Code cleanup.
7552
7553 * net/tramp.el (tramp-debug-message): Do not check for connection
7554 buffer.
7555 (tramp-message): Use "vector" connection property.
7556
7557 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7558 (tramp-equal-remote, tramp-eshell-directory-change)
7559 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7560 (tramp-adb-handle-rename-file)
7561 * net/tramp-cmds.el (tramp-list-remote-buffers)
7562 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7563 * net/tramp-compat.el (tramp-compat-process-running-p)
7564 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7565 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7566 (tramp-gvfs-handle-rename-file)
7567 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7568 (tramp-set-file-uid-gid)
7569 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7570 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7571 of `file-remote-p'.
7572
7573 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7574 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7575 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7576 (tramp-gw-open-network-stream): Suppress unrelated traces.
7577
7578 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7579 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7580 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7581 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7582 connection property.
7583
7584 * net/tramp-cache.el (top): Suppress traces when reading
7585 persistency file.
7586
7587 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7588 Refactor common code. Improve debug message.
7589 (tramp-maybe-open-connection)
7590 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7591 connection buffer too early.
7592
7593 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7594 from `tramp-smb-actions-with-acl'.
7595 (tramp-smb-actions-set-acl): New defconst.
7596 (tramp-smb-handle-copy-directory)
7597 (tramp-smb-action-get-acl): New defun, renamed from
7598 `tramp-smb-action-with-acl'.
7599 (tramp-smb-action-set-acl): New defun.
7600 (tramp-smb-handle-set-file-acl): Rewrite.
7601
7602 2013-10-17 Glenn Morris <rgm@gnu.org>
7603
7604 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7605
7606 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * skeleton.el (skeleton-newline): Remove.
7609 (skeleton-internal-1): Use (insert "\n") instead.
7610
7611 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7612 let-bindings.
7613
7614 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7615 forward-sexp-function while we redo its job (bug#15613).
7616
7617 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7618
7619 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7620 represented by lists.
7621
7622 2013-10-16 Glenn Morris <rgm@gnu.org>
7623
7624 * tmm.el (tmm--history): New dynamic variable.
7625 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7626
7627 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7628
7629 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7630 (tramp-smb-errors): Add error messages.
7631 (tramp-smb-actions-with-acl): New defconst.
7632 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7633 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7634 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7635 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7636 (tramp-smb-get-stat-capability): Fix tests.
7637
7638 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7639
7640 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7641 (bug#15580).
7642
7643 2013-10-16 Glenn Morris <rgm@gnu.org>
7644
7645 * ansi-color.el (ansi-color-drop-regexp):
7646 Add 1J, 1K, 2K. (Bug#15617)
7647
7648 * files.el (hack-local-variables--warned-lexical): New.
7649 (hack-local-variables):
7650 Warn about misplaced lexical-binding. (Bug#15616)
7651
7652 * net/eww.el (eww-render): Always set eww-current-url,
7653 and update header line. (Bug#15622)
7654 (eww-display-html): ... Rather than just doing it here.
7655
7656 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7657
7658 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7659 menu navigations commands.
7660
7661 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7662
7663 * progmodes/subword.el (subword-capitalize): Be careful when
7664 the search for [[:alpha:]] fails (bug#15580).
7665
7666 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7667
7668 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7669 to commands that scroll the menu.
7670
7671 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7672
7673 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7674 Handle methods ending with `?' and `!'.
7675
7676 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7677
7678 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7679 `japanese-cp932' to `cp932' to fix the problem where saving a
7680 source file written in Shift_JIS twice would end up having
7681 `coding: japanese-cp932' which Ruby could not recognize.
7682 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7683 in `ruby-encoding-map'.
7684 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7685 doesn't need to be explicitly declared in magic comment.
7686 (ruby-encoding-map): Add type declaration for better customize UI.
7687
7688 2013-10-13 Glenn Morris <rgm@gnu.org>
7689
7690 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7691 Occur buffers are read-only. http://bugs.debian.org/720775
7692
7693 * emacs-lisp/authors.el (authors-fixed-entries):
7694 Comment out old alpha stuff.
7695
7696 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7697
7698 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7699 to `after-save-hook' instead of `before-save-hook'.
7700 (ruby-mode-set-encoding): Use the value of coding system used to
7701 write the file. Call `basic-save-buffer-1' after modifying the
7702 buffer.
7703
7704 2013-10-13 Alan Mackenzie <acm@muc.de>
7705
7706 Fix indentation/fontification of Java enum with
7707 "implements"/generic.
7708
7709 * progmodes/cc-engine.el (c-backward-over-enum-header):
7710 Extracted from the three other places and enhanced to handle generics.
7711 (c-inside-bracelist-p): Uses new function above.
7712 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7713 function above.
7714 (c-font-lock-enum-tail): Uses new function above.
7715
7716 2013-10-13 Kenichi Handa <handa@gnu.org>
7717
7718 * international/mule-cmds.el (select-safe-coding-system): Remove a
7719 superfluous condition in chekcing whether a coding system is safe
7720 or not.
7721
7722 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7723
7724 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7725
7726 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7727
7728 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7729
7730 2013-10-13 Glenn Morris <rgm@gnu.org>
7731
7732 * menu-bar.el (menu-bar-update-buffers):
7733 Unify Buffers menu prompt string. (Bug#15576)
7734
7735 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7736
7737 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7738 Add some entries.
7739 (authors-fixed-entries): Use accented form of name.
7740
7741 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7742
7743 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7744 method calls (bug#15594).
7745 (ruby-smie--args-separator-p): New function.
7746 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7747 recognize paren-free method calls.
7748
7749 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7750 internals of universal-argument.
7751
7752 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7753
7754 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7755 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7756 dropped menu on second mouse click on the menu bar.
7757
7758 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7761 (explicit-shell-file-name): Declare.
7762 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7763 (sh-completion-at-point-function): New function.
7764 (sh-mode): Use it.
7765 (sh-smie--keyword-p): Remove unused argument.
7766 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7767 vars.
7768 (sh-set-shell): Always setup SMIE, even if we use the
7769 old indentation code.
7770
7771 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7772
7773 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7774 cases of ? and =.
7775 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7776 predicate would return nil are almost non-existent.
7777 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7778
7779 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7780 cache also after commands that modify the buffer but don't move
7781 point.
7782
7783 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * env.el (substitute-env-in-file-name): New function.
7786 (substitute-env-vars): Extend the meaning of the optional arg.
7787
7788 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7789
7790 * term/w32-win.el (dynamic-library-alist): Define separate lists
7791 of GIF DLLs for versions before and after 5.0.0 of giflib.
7792 (Bug#15531)
7793
7794 2013-10-10 João Távora <joaotavora@gmail.com>
7795
7796 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7797 not locked, use last revision and current source as
7798 defaults. (Bug#15569)
7799
7800 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7801
7802 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7803 menu-bar is hidden.
7804
7805 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7806
7807 * window.el (pop-to-buffer-same-window): Fix doc-string.
7808 (Bug#15492)
7809
7810 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7813
7814 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7815
7816 * calendar/icalendar.el (icalendar-import-file):
7817 Fix interactive spec. (Bug#15482)
7818
7819 2013-10-10 Glenn Morris <rgm@gnu.org>
7820
7821 * desktop.el (desktop-save): Default to saving in .emacs.d,
7822 since PWD is no longer in desktop-path by default. (Bug#15319)
7823
7824 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7825 now that text mode has a menu with the same entry.
7826 (menu-bar-text-mode-auto-fill): Remove now unused func.
7827 * textmodes/text-mode.el (text-mode-map):
7828 Use auto-fill help text from menu-bar.el.
7829
7830 2013-10-10 John Anthony <john@jo.hnanthony.com>
7831
7832 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7833
7834 2013-10-09 Juri Linkov <juri@jurta.org>
7835
7836 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7837 instead of this-command-keys. Add universal-argument-more and
7838 universal-argument-minus to the list of prefix commands. (Bug#15568)
7839
7840 2013-10-09 Glenn Morris <rgm@gnu.org>
7841
7842 * vc/vc-svn.el (vc-svn-create-repo):
7843 Expand paths in file://... url. (Bug#15446)
7844
7845 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7846 Add some entries.
7847 (authors): Remove unused local variables.
7848
7849 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * profiler.el: Create a more coherent calltree from partial backtraces.
7852 (profiler-format): Hide the tail with `invisible' so that C-s can still
7853 find the hidden elements.
7854 (profiler-calltree-depth): Don't recurse so enthusiastically.
7855 (profiler-function-equal): New hash-table-test.
7856 (profiler-calltree-build-unified): New function.
7857 (profiler-calltree-build): Use it.
7858 (profiler-report-make-name-part): Indent the calltree less.
7859 (profiler-report-mode): Add visibility specs for profiler-format.
7860 (profiler-report-expand-entry, profiler-report-toggle-entry):
7861 Expand the whole subtree when provided with a prefix arg.
7862
7863 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7864
7865 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7866 iuwu-mod token.
7867 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7868 hanging iuwu-mod token.
7869 (ruby-smie--forward-token): Do not include a dot after a token in
7870 that token.
7871 (ruby-smie--backward-token): Likewise.
7872
7873 2013-10-08 Juri Linkov <juri@jurta.org>
7874
7875 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7876 to isearch-other-control-char.
7877 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7878 and isearch-post-command-hook to post-command-hook.
7879 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7880 and isearch-post-command-hook from post-command-hook.
7881 (isearch-unread-key-sequence)
7882 (isearch-reread-key-sequence-naturally)
7883 (isearch-lookup-scroll-key, isearch-other-control-char)
7884 (isearch-other-meta-char): Remove functions.
7885 (isearch-pre-command-hook, isearch-post-command-hook):
7886 New functions based on isearch-other-meta-char rewritten
7887 relying on the new behavior of overriding-terminal-local-map
7888 that does not replace the local keymaps any more. (Bug#15200)
7889
7890 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7891
7892 Support menus on text-mode terminals.
7893 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7894 functionality.
7895
7896 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7897
7898 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7899 Move here from mouse.el.
7900 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7901 and arrow keys.
7902 (tty-menu-navigation-map): New map for TTY menu navigation.
7903
7904 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7905
7906 * frame.el (display-mouse-p): Report text-mode mouse as available
7907 on w32.
7908 (display-popup-menus-p): Report availability if mouse is
7909 available; don't condition on window-system.
7910
7911 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7912 (tty-menu-selected-face): New faces.
7913
7914 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7915
7916 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7917 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7918 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7919 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7920 New constants.
7921 (lisp-mode-variables): New `elisp' argument.
7922 (emacs-lisp-mode): Use it.
7923 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7924 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7925
7926 * indent.el: Use lexical-binding.
7927 (indent-region): Add progress reporter.
7928 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7929 last step.
7930 (indent--next-tab-stop): New function to implement this behavior.
7931 (tab-to-tab-stop, move-to-tab-stop): Use it.
7932
7933 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7934
7935 * indent.el (indent-rigidly--current-indentation): New function.
7936 (indent-rigidly-map): New var.
7937 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7938
7939 2013-10-08 Bastien Guerry <bzg@gnu.org>
7940
7941 * register.el (insert-register): Fix 2013-10-07 change.
7942
7943 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7944
7945 * progmodes/perl-mode.el: Use lexical-binding.
7946 Remove redundant :group args.
7947 (perl-nochange): Change default to be closer to other major modes's
7948 standard behavior.
7949 (perl-indent-line): Don't consider text on current line as a
7950 valid beginning of function from which to indent.
7951
7952 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7953 with more than one argument (bug#15538).
7954
7955 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7956
7957 * vc/pcvs.el: Use lexical-binding.
7958 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7959 environment of `eval'.
7960 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7961 than a list of expressions. Adjust callers.
7962 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7963
7964 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7965
7966 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7967 case of the dot in a chained method call being on the following line.
7968
7969 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7970
7971 * electric.el (electric-indent-inhibit): New var.
7972 (electric-indent-post-self-insert-function): Use it.
7973 * progmodes/python.el (python-mode): Set it.
7974
7975 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7976 open braces.
7977
7978 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7979
7980 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7981 (css-mode): Use electric-indent-chars.
7982
7983 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7984 (font-lock-beg, font-lock-end): Move before first use.
7985 (nxml-mode): Use syntax-propertize-function.
7986 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7987 (nxml-extend-after-change-region): Remove.
7988 * nxml/xmltok.el: Use lexical-binding.
7989 (xmltok-save): Use `declare'.
7990 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7991 * nxml/nxml-util.el: Use lexical-binding.
7992 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7993 Use `declare'.
7994 * nxml/nxml-ns.el: Use lexical-binding.
7995 (nxml-ns-save): Use `declare'.
7996 (nxml-ns-prefixes-for): Avoid add-to-list.
7997 * nxml/rng-match.el: Use lexical-binding.
7998 (rng--ipattern): Use cl-defstruct.
7999 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8000 (rng-cons-group-after, rng-subst-group-after)
8001 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8002 Use closures instead of `(lambda...).
8003
8004 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8005
8006 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8007 of BEG and END.
8008
8009 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8010 Use `tramp-handle-insert-file-contents'.
8011 (tramp-gvfs-handle-insert-file-contents): Remove function.
8012
8013 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8014 Use `save-restriction' in order to keep markers.
8015
8016 * net/trampver.el: Update release number.
8017
8018 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * progmodes/compile.el (compilation-parse-errors):
8021 Use compilation--put-prop.
8022 (compilation--ensure-parse): Check compilation-multiline.
8023
8024 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8025
8026 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8027 lexical-binding.
8028
8029 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8030
8031 * progmodes/ruby-mode.el: Fix recently added tests.
8032 (ruby-smie-grammar): Add - and +.
8033 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8034 (ruby-smie--backward-id): New functions.
8035 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8036 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8037 any more.
8038
8039 2013-10-07 Leo Liu <sdl.web@gmail.com>
8040
8041 * register.el (register-preview-delay)
8042 (register-preview-functions): New variables.
8043 (register-read-with-preview, register-preview)
8044 (register-describe-oneline): New functions.
8045 (point-to-register, window-configuration-to-register)
8046 (frame-configuration-to-register, jump-to-register)
8047 (number-to-register, view-register, insert-register)
8048 (copy-to-register, append-to-register, prepend-to-register)
8049 (copy-rectangle-to-register): Use register-read-with-preview to
8050 read register. (Bug#15525)
8051
8052 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8053
8054 * net/network-stream.el (network-stream-open-starttls): Don't add
8055 --insecure if it's already present, because that gnutls-cli
8056 rejects getting that parameter twice.
8057
8058 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8059
8060 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8061 keyword, too.
8062
8063 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8064
8065 * newcomment.el (comment-use-global-state): Change default value
8066 to t, mark obsolete (Bug#15251).
8067 (comment-beginning): In addition to `comment-to-syntax', check the
8068 value of `comment-use-global-state'.
8069
8070 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8073 (ruby-comment-column): Follow the global default, by default.
8074 (ruby-smie-grammar): Add assignment syntax.
8075 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8076 open-paren, a comma, or a \.
8077 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8078 and line continuations.
8079 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8080 followed by implicit semi-colons. Add rule for string concatenation
8081 and for indentation at BOB.
8082 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8083
8084 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8085 calling next-sexp, since next-token may have skipped chars which
8086 next-sexp doesn't know should be skipped!
8087
8088 2013-10-05 Leo Liu <sdl.web@gmail.com>
8089
8090 * progmodes/octave.el (octave-send-region):
8091 Call compilation-forget-errors.
8092
8093 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8094
8095 * vc/vc-svn.el (vc-svn-find-admin-dir):
8096 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8097 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8098 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8099 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8100
8101 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8102
8103 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8104
8105 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * subr.el (read-passwd): Hide chars even when called within a context
8108 where after-change-functions is disabled (bug#15501).
8109 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8110 until we removed ourself from overriding-terminal-local-map.
8111
8112 2013-10-04 Leo Liu <sdl.web@gmail.com>
8113
8114 * progmodes/octave.el (inferior-octave-mode):
8115 Call compilation-forget-errors.
8116
8117 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8118
8119 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8120
8121 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8122
8123 * net/secrets.el (secrets-create-collection): Add optional
8124 argument ALIAS. Use proper Label keyword. Append ALIAS as
8125 dbus-call-method argument. (Bug#15516)
8126
8127 2013-10-04 Leo Liu <sdl.web@gmail.com>
8128
8129 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8130 (inferior-octave-compilation-font-lock-keywords): New variables.
8131 (compilation-error-regexp-alist)
8132 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8133 (inferior-octave-mode): Use compilation-shell-minor-mode.
8134
8135 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8136
8137 * minibuffer.el (completion--replace): Be careful that `end' might be
8138 a marker.
8139
8140 2013-10-03 Daiki Ueno <ueno@gnu.org>
8141
8142 Add support for package signature checking.
8143 * emacs-lisp/package.el (url-http-file-exists-p)
8144 (epg-make-context, epg-context-set-home-directory)
8145 (epg-verify-string, epg-context-result-for)
8146 (epg-signature-status, epg-signature-to-string)
8147 (epg-check-configuration, epg-configuration)
8148 (epg-import-keys-from-file): Declare.
8149 (package-check-signature): New user option.
8150 (package-unsigned-archives): New user option.
8151 (package-desc): Add `signed' field.
8152 (package-load-descriptor): Set `signed' field if .signed file exists.
8153 (package--archive-file-exists-p): New function.
8154 (package--check-signature): New function.
8155 (package-install-from-archive): Check package signature.
8156 (package--download-one-archive): Check archive signature.
8157 (package-delete): Remove .signed file.
8158 (package-import-keyring): New command.
8159 (package-refresh-contents): Import default keyring.
8160 (package-desc-status): Add "unsigned" status.
8161 (describe-package-1, package-menu--print-info)
8162 (package-menu-mark-delete, package-menu--find-upgrades)
8163 (package-menu--status-predicate): Support "unsigned" status.
8164
8165 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8166
8167 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8168 the new compilation scheme using the new byte-codes.
8169
8170 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8171 (byte-pophandler): New byte codes.
8172 (byte-goto-ops): Adjust accordingly.
8173 (byte-compile--use-old-handlers): New var.
8174 (byte-compile-catch): Use new byte codes depending on
8175 byte-compile--use-old-handlers.
8176 (byte-compile-condition-case--old): Rename from
8177 byte-compile-condition-case.
8178 (byte-compile-condition-case--new): New function.
8179 (byte-compile-condition-case): New function that dispatches depending
8180 on byte-compile--use-old-handlers.
8181 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8182 when we can.
8183
8184 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8185 Optimize under `condition-case' and `catch' if
8186 byte-compile--use-old-handlers is nil.
8187 (disassemble-offset): Handle new bytecodes.
8188
8189 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * subr.el (error): Use `declare'.
8192 (decode-char, encode-char): Use advertised-calling-convention instead
8193 of the docstring to discourage use of the `restriction' arg.
8194
8195 2013-10-03 Daiki Ueno <ueno@gnu.org>
8196
8197 * epg.el (epg-verify-file): Add a comment saying that it does not
8198 notify verification error as a return value nor a signal.
8199 (epg-verify-string): Ditto.
8200
8201 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8202
8203 * progmodes/compile.el (compilation-start): Try globbing the arg to
8204 `cd' (bug#15417).
8205
8206 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8207
8208 Sync with Tramp 2.2.8.
8209
8210 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8211 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8212 * net/trampver.el: Update release number.
8213
8214 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8215
8216 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8217 and default-process-coding-system for darwin only.
8218
8219 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8220
8221 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8222
8223 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8224
8225 * vc/vc-git.el (vc-git-grep): Disable pager.
8226
8227 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8228
8229 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8230 Use :url instead of :homepage, as per
8231 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8232
8233 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8234 non-nil, use `syntax-ppss' (Bug#15251).
8235
8236 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8237
8238 * progmodes/octave.el (inferior-octave-startup-file):
8239 Prefer ~/.emacs.d/init_octave.m.
8240
8241 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8242
8243 * emacs-lisp/package.el (package-desc-from-define):
8244 Accept additional arguments as plist, convert them to an alist and store
8245 them in the `extras' slot.
8246 (package-generate-description-file): Convert extras alist back to
8247 plist and append to the `define-package' form arguments.
8248 (package--alist-to-plist): New function.
8249 (package--ac-desc): Add `extras' slot.
8250 (package--add-to-archive-contents): Check if the archive-contents
8251 vector is long enough, and if it is, pass its `extras' slot value
8252 to `package-desc-create'.
8253 (package-buffer-info): Call `lm-homepage', pass the returned value
8254 to `package-desc-from-define'.
8255 (describe-package-1): Render the homepage button (Bug#13291).
8256
8257 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8258 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8259
8260 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8261
8262 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8263 and default-process-coding-system to utf-8-unix (Bug#15402).
8264
8265 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8266
8267 * subr.el (looking-back): Do not recommend using looking-back.
8268
8269 2013-09-28 Alan Mackenzie <acm@muc.de>
8270
8271 Fix indentation/fontification of Java enum with "implements".
8272
8273 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8274 regexp which matches "implements", etc., in Java.
8275 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8276 specifier clauses coming after "enum".
8277 * progmodes/cc-fonts.el (c-font-lock-declarations)
8278 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8279 after "enum".
8280
8281 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8282
8283 * faces.el (region): Change ns_selection_color to
8284 ns_selection_fg_color, add ns_selection_bg_color.
8285
8286 2013-09-28 Leo Liu <sdl.web@gmail.com>
8287
8288 * progmodes/octave.el (inferior-octave-completion-table)
8289 (inferior-octave-completion-at-point): Minor tweaks.
8290
8291 * textmodes/ispell.el (ispell-lookup-words): Rename from
8292 lookup-words. (Bug#15460)
8293 (lookup-words): Obsolete.
8294 (ispell-complete-word, ispell-command-loop): All uses changed.
8295
8296 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8297
8298 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8299 (octave-mode-menu): Add octave-send-buffer.
8300 (octave-send-buffer): New function.
8301
8302 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8303
8304 * progmodes/octave.el (octave-mode-map): Add key binding for
8305 octave-lookfor.
8306 (octave-mode-menu): Add octave-lookfor.
8307 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8308 octave-lookfor.
8309 (octave-lookfor): New function.
8310
8311 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8312
8313 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8314 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8315 its convention.
8316 (cl--loop-set-iterator-function): New function.
8317 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8318 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8319 Bind `it' with `let' instead of substituting it with `cl-subst'.
8320 (cl--unused-var-p): New function.
8321 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8322 Eliminate some unused variable warnings (bug#15326).
8323
8324 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8325
8326 * doc-view.el (doc-view-scale-reset): Rename from
8327 `doc-view-reset-zoom-level'.
8328 (doc-view-scale-adjust): New command.
8329 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8330 `doc-view-scale-adjust'.
8331
8332 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8333
8334 * doc-view.el (doc-view-reset-zoom-level): New command.
8335 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8336 zoom commands (bug#15466).
8337
8338 2013-09-26 Kenichi Handa <handa@gnu.org>
8339
8340 * international/quail.el (quail-help): Make it not a command.
8341
8342 2013-09-26 Leo Liu <sdl.web@gmail.com>
8343
8344 * minibuffer.el (completion-all-sorted-completions): Make args
8345 optional as they are.
8346
8347 2013-09-25 Daniel Colascione <dancol@dancol.org>
8348
8349 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8350 specs are and that they're not evaluated.
8351
8352 2013-09-24 Sam Steingold <sds@gnu.org>
8353
8354 * midnight.el (clean-buffer-list-kill-regexps)
8355 (clean-buffer-list-kill-buffer-names): Update for the new Man
8356 buffer naming which includes the object name.
8357
8358 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8359
8360 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8361 (eshell-parse-command, eshell-parse-pipeline): Use it since
8362 eshell-separate-commands requires a dynamic scoped var.
8363 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8364
8365 2013-09-23 Leo Liu <sdl.web@gmail.com>
8366
8367 * autoinsert.el (auto-insert-alist): Make the value of
8368 lexical-binding match its file setting.
8369
8370 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8371
8372 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8373
8374 * autoarg.el (autoarg-kp-digit-argument):
8375 * electric.el (Electric-command-loop):
8376 * kmacro.el (kmacro-step-edit-insert):
8377 Do not set universal-argument-num-events.
8378
8379 2013-09-22 Leo Liu <sdl.web@gmail.com>
8380
8381 * files.el (interpreter-mode-alist): Add octave.
8382
8383 2013-09-21 Alan Mackenzie <acm@muc.de>
8384
8385 C++: fontify identifier in declaration following "public:" correctly.
8386 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8387 to match "public", etc.
8388 (c-decl-prefix-re): Add ":" into the C++ value.
8389 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8390 bit. Add a check for a ":" preceded by "public", etc.
8391
8392 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8393
8394 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8395 recognized by GDB 7.5 and later.
8396
8397 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8398
8399 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8400
8401 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * subr.el (internal--call-interactively): New const.
8404 (called-interactively-p): Use it (bug#3984).
8405
8406 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8407
8408 * vc/pcvs.el (cvs-mode-ignore):
8409 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8410 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8411
8412 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8413
8414 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8415 (eshell-ls-orig-insert-directory): Remove.
8416 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8417 (eshell-ls-use-in-dired): Use advice-add/remove.
8418 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8419 Add `orig-fun' arg for use in :around advice.
8420 Make it check (redundantly) eshell-ls-use-in-dired.
8421
8422 2013-09-19 Glenn Morris <rgm@gnu.org>
8423
8424 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8425
8426 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8427
8428 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8429
8430 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8431
8432 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8433 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8434 (tramp-get-remote-python): New defuns.
8435 (tramp-get-remote-uid-with-perl)
8436 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8437 contributed by yary <not.com@gmail.com> (tiny change).
8438 (tramp-get-remote-uid-with-python)
8439 (tramp-get-remote-gid-with-python): New defuns. Python code
8440 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8441 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8442
8443 2013-09-19 Glenn Morris <rgm@gnu.org>
8444
8445 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8446
8447 * eshell/em-unix.el (eshell-remove-entries):
8448 Rename argument to avoid name-clash with global `top-level'.
8449
8450 * eshell/esh-proc.el (eshell-kill-process-function):
8451 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8452 (eshell-reset-after-proc): Remove unused arg `proc'.
8453
8454 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8455 (directory-files-and-attributes): Mark unused arg.
8456
8457 * eshell/em-unix.el (eshell-remove-entries):
8458 Remove unused arg `path'. Update callers.
8459
8460 * eshell/em-hist.el (eshell-hist-parse-arguments):
8461 Remove unused arg `silent'. Update callers.
8462
8463 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8464 Fix (f)boundp mix-up.
8465
8466 * eshell/em-smart.el (eshell-smart-scroll-window)
8467 (eshell-disable-after-change):
8468 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8469
8470 2013-09-18 Alan Mackenzie <acm@muc.de>
8471
8472 Fix fontification of type when followed by "const".
8473 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8474 "known" types from fontification.
8475
8476 2013-09-18 Glenn Morris <rgm@gnu.org>
8477
8478 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8479 (chart-face-list): Drop Emacsen without display-color-p.
8480
8481 * net/eww.el (libxml-parse-html-region): Declare.
8482 (eww-display-html): Explicit error if no libxml2 support.
8483
8484 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8485
8486 * image.el (image-type-from-buffer, image-multi-frame-p):
8487 Remove --without-x warning/error.
8488
8489 * mouse.el (mouse-yank-primary):
8490 * term.el (term-mouse-paste):
8491 Reorder to silence --without-x compilation.
8492
8493 * mpc.el (doc-view-mode): Silence --without-x compilation.
8494
8495 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8496 Silence --without-x compilation.
8497
8498 * progmodes/gud.el (gud-find-file, gud-mode):
8499 Silence --without-x compilation.
8500 (tooltip-mode): Declare.
8501
8502 * wdired.el (dired-backup-overwrite): Remove declaration.
8503 (wdired-mode-map): Add doc string.
8504
8505 * custom.el (x-get-resource): Declare.
8506
8507 * eshell/em-glob.el (ange-cache):
8508 * eshell/em-unix.el (ange-cache): Declare.
8509
8510 * faces.el (x-display-list, x-open-connection, x-get-resource):
8511 Declare.
8512
8513 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8514 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8515 Declare.
8516
8517 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8518
8519 * net/gnutls.el (gnutls-log-level): Declare.
8520
8521 * net/shr.el (image-size, image-animate): Declare.
8522
8523 * simple.el (font-info): Declare.
8524
8525 * subr.el (x-popup-dialog): Declare.
8526
8527 * term/common-win.el (x-select-enable-primary)
8528 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8529 Declare.
8530
8531 * term/ns-win.el (x-handle-args): Declare.
8532
8533 * term/x-win.el (x-select-enable-clipboard): Declare.
8534
8535 * term/w32-win.el (create-default-fontset): Declare.
8536
8537 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8538 Declare.
8539
8540 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8541 (fit-frame-to-buffer): Explicit error if --without-x.
8542 (mouse-autoselect-window-select): Silence compiler.
8543
8544 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8545
8546 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8547 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8548 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8549 * eshell/esh-util.el (eshell-sublist):
8550 Remove unused local variables.
8551
8552 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8553
8554 * textmodes/two-column.el: Make 2C-split work for --without-x.
8555 (scroll-bar-columns): Autoload.
8556 (top-level): Require fringe when compiling.
8557
8558 2013-09-18 Leo Liu <sdl.web@gmail.com>
8559
8560 * subr.el (add-hook): Robustify to handle closure as well.
8561
8562 2013-09-17 Glenn Morris <rgm@gnu.org>
8563
8564 * simple.el (messages-buffer-mode-map): Unbind "g".
8565
8566 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * help-mode.el (help-mode-finish): Use derived-mode-p.
8569 Remove obsolete highlighting.
8570
8571 * play/life.el (life-mode): Use define-derived-mode. Derive from
8572 special-mode.
8573 (life): Let-bind inhibit-read-only.
8574 (life-setup): Avoid `setq'. Use `life-mode'.
8575
8576 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8577 which should not be needed any more.
8578 (package-menu-refresh, package-menu-describe-package): Use user-error.
8579
8580 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8581 (eshell-post-rewrite-command-hook): Make obsolete.
8582 (eshell-parse-command): Simplify.
8583 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8584 (eshell--cmd): Declare.
8585 (eshell-parse-pipeline): Remove unused var `final-p'.
8586 Pass a dynvar to eshell-post-rewrite-command-hook.
8587 Implement the new eshell-post-rewrite-command-function.
8588 (eshell-invoke-directly): Remove unused arg `input'.
8589 * eshell/esh-io.el (eshell-io-initialize):
8590 Use eshell-post-rewrite-command-function (bug#15399).
8591 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8592 adjust to new calling convention.
8593 (eshell-create-handles): Rename args to avoid clashing with dynvar
8594 `standard-output'.
8595
8596 2013-09-17 Glenn Morris <rgm@gnu.org>
8597
8598 * simple.el (messages-buffer-mode): New major mode.
8599 (messages-buffer): New function.
8600 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8601 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8602 (ert-run-test): Use `messages-buffer' function.
8603 (ert--force-message-log-buffer-truncation): Ignore read-only.
8604 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8605 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8606
8607 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8610
8611 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8612
8613 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * icomplete.el (icomplete-in-buffer): New var.
8616 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8617 vars and replace them with functions.
8618 (icomplete-minibuffer-setup): Adjust accordingly.
8619 (icomplete--completion-table, icomplete--completion-predicate)
8620 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8621 New functions.
8622 (icomplete-forward-completions, icomplete-backward-completions)
8623 (icomplete-simple-completing-p, icomplete-exhibit)
8624 (icomplete-completions): Use them.
8625 (icomplete--in-region-buffer): New var.
8626 (icomplete--in-region-setup): New function.
8627 (icomplete-mode): Use it.
8628
8629 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8630 (bug#15379).
8631 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8632 return args and options.
8633 (eshell-eval-using-options): Use the new return value of
8634 eshell--do-opts to set the options's vars in their scope.
8635 (eshell--set-option): Rename from eshell-set-option.
8636 Add arg `opt-vals'.
8637 (eshell--process-option): Rename from eshell-process-option.
8638 Add arg `opt-vals'.
8639 (eshell--process-args): Use an `opt-vals' alist to store the options's
8640 values during their processing and return them additionally to the
8641 remaining args.
8642
8643 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8644
8645 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8646 continuation character an operator, as far as indentation is
8647 concerned (Bug#15369).
8648
8649 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8650
8651 * window.el (window--state-put-2): Don't process buffer state
8652 when buffer doesn't exist any more (Bug#15382).
8653
8654 2013-09-15 Glenn Morris <rgm@gnu.org>
8655
8656 * eshell/em-unix.el (eshell/rm):
8657 Make -f ignore missing files. (Bug#15373)
8658
8659 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8660 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8661 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8662
8663 2013-09-14 Glenn Morris <rgm@gnu.org>
8664
8665 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8666
8667 2013-09-13 Glenn Morris <rgm@gnu.org>
8668
8669 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8670 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8671
8672 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8673
8674 * frame.el (x-focus-frame): Mark as declared in frame.c.
8675
8676 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * ls-lisp.el: Use advice-add.
8679 (original-insert-directory): Remove.
8680 (ls-lisp--insert-directory): Rename from insert-directory; add
8681 `orig-fun' argument.
8682 (insert-directory): Advise.
8683
8684 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8685
8686 * term.el (term-emulate-terminal): Decode the command string
8687 before passing it to term-command-hook. (Bug#15337)
8688
8689 2013-09-13 Glenn Morris <rgm@gnu.org>
8690
8691 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8692
8693 * eshell/esh-ext.el (eshell-search-path): Declare.
8694
8695 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8696 Otherwise an error occurs if eshell-dirs module not loaded.
8697
8698 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8699
8700 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8701
8702 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8703 `tramp-check-proper-host'. Check for a valid method name.
8704
8705 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8706 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8707 * net/tramp-sh.el (tramp-maybe-open-connection):
8708 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8709
8710 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8711 also for hash values.
8712
8713 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8714
8715 * term/ns-win.el (parameters): Don't declare as dynamic.
8716 (before-make-frame-hook): Don't add ineffective function.
8717
8718 * eshell/*.el: Use lexical-binding (bug#15231).
8719
8720 2013-09-12 Kenichi Handa <handa@gnu.org>
8721
8722 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8723
8724 2013-09-12 Glenn Morris <rgm@gnu.org>
8725
8726 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8727 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8728
8729 * subr.el (do-after-load-evaluation): Also give compiler warnings
8730 when obsolete files are used (except by obsolete files).
8731
8732 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8733 in the status output, assume `filename' is the first. (Bug#15322)
8734
8735 * vc/vc.el (vc-deduce-fileset): Doc fix.
8736
8737 * calc/calc-help.el (Info-goto-node):
8738 * progmodes/cperl-mode.el (Info-find-node):
8739 * vc/ediff.el (Info-goto-node): Update declarations.
8740
8741 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8742
8743 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8744 (vc-bzr-pull): Require vc-dispatcher.
8745 * vc/vc-git.el (vc-compilation-mode): Declare.
8746 (vc-git-pull): Require vc-dispatcher.
8747
8748 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8749
8750 * progmodes/octave.el (help-button-action): Declare.
8751
8752 * shell.el (shell-directory-tracker): Output error as a message
8753 rather than just returning it as a string.
8754 (shell-process-pushd): Remove useless use of message.
8755
8756 * dframe.el (dframe-timer-fn):
8757 * files.el (dir-locals-read-from-file):
8758 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8759 (mpc-format):
8760 * reveal.el (reveal-post-command):
8761 * saveplace.el (load-save-place-alist-from-file):
8762 * shell.el (shell-resync-dirs):
8763 * w32-common-fns.el (x-get-selection-value):
8764 * emacs-lisp/copyright.el (copyright-find-copyright):
8765 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8766 * emulation/tpu-edt.el (tpu-copy-keyfile):
8767 * play/bubbles.el (bubbles--mark-neighbourhood):
8768 * progmodes/executable.el
8769 (executable-make-buffer-file-executable-if-script-p):
8770 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8771
8772 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 Cleanup Eshell to rely less on dynamic scoping.
8775 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8776 last-value, and ext-command here. Bind `args' closer to `body'.
8777 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8778 (eshell--args): Declare new dynamic var.
8779 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8780 last-value, and ext-command. Pass `args' to `body'.
8781 (eshell-process-args): Bind eshell--args.
8782 (eshell-set-option): Use eshell--args.
8783 * eshell/eshell.el (eshell): Use derived-mode-p.
8784 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8785 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8786 (eshell-glob-function): Declare.
8787 * eshell/esh-util.el: Require cl-lib.
8788 (eshell-read-hosts-file): Avoid add-to-list.
8789 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8790 `err'.
8791 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8792 Declare.
8793 (eshell/diff): Remove unused var `err'.
8794 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8795 `killflag'.
8796 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8797 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8798 first use.
8799 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8800 Move declaration before first use.
8801 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8802 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8803 rely on cl-return.
8804
8805 2013-09-12 Glenn Morris <rgm@gnu.org>
8806
8807 * term/ns-win.el (global-map): Remove binding for ispell-next,
8808 deleted 1999-05-29. (Bug#15357)
8809
8810 2013-09-11 Glenn Morris <rgm@gnu.org>
8811
8812 * echistory.el (electric-command-history): Remove call to deleted func.
8813
8814 * play/landmark.el (landmark-mode): Fix typos.
8815
8816 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8817 Check cvs-sort-ignore-file is bound.
8818
8819 * savehist.el: No need for cl when compiling on Emacs.
8820
8821 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8824 (bug#15338).
8825 (eshell-self-insert-command, eshell-send-invisible):
8826 Remove unused argument.
8827 (eshell-handle-control-codes): Remove unused var `orig'.
8828 Avoid delete-backward-char.
8829
8830 * files.el (set-auto-mode): Simplify a bit further.
8831
8832 2013-09-11 Glenn Morris <rgm@gnu.org>
8833
8834 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8835 (set-auto-mode): Don't regexp-quote elements.
8836 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8837 * progmodes/cc-mode.el (interpreter-mode-alist):
8838 * progmodes/ruby-mode.el (interpreter-mode-alist):
8839 Revert previous change.
8840
8841 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8842
8843 * play/snake.el (snake-mode):
8844 * play/mpuz.el (mpuz-mode):
8845 * play/landmark.el (lm-mode):
8846 * play/blackbox.el (blackbox-mode):
8847 * play/5x5.el (5x5-mode):
8848 * obsolete/options.el (Edit-options-mode):
8849 * net/quickurl.el (quickurl-list-mode):
8850 * net/newst-treeview.el (newsticker-treeview-mode):
8851 * mail/rmailsum.el (rmail-summary-mode):
8852 * mail/mspools.el (mspools-mode):
8853 * locate.el (locate-mode):
8854 * ibuffer.el (ibuffer-mode):
8855 * emulation/ws-mode.el (wordstar-mode):
8856 * emacs-lisp/debug.el (debugger-mode):
8857 * array.el (array-mode):
8858 * net/eudc.el (eudc-mode): Use define-derived-mode.
8859 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8860 Move initialization into declaration.
8861 (mairix-searches-mode): Use define-derived-mode.
8862 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8863 (eudc-edit-hotlist): Use dolist.
8864 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8865 (Man-mode): Use define-derived-mode.
8866 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8867 (Info-edit-mode): Use define-derived-mode.
8868 (Info-cease-edit): Use Info-mode.
8869 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8870 into declaration.
8871 (eshell-mode): Use define-derived-mode.
8872 * chistory.el (command-history-mode-map): Rename from
8873 command-history-map.
8874 (command-history-mode): Use define-derived-mode.
8875 (Command-history-setup): Remove function.
8876 * calc/calc.el (calc-trail-mode-map): New var.
8877 (calc-trail-mode): Use define-derived-mode.
8878 (calc-trail-buffer): Set calc-main-buffer manually.
8879 * bookmark.el (bookmark-insert-annotation): New function.
8880 (bookmark-edit-annotation): Use it.
8881 (bookmark-edit-annotation-mode): Make it a proper major mode.
8882 (bookmark-send-edited-annotation): Use derived-mode-p.
8883 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8884 closer to its ideal place. Use \' to match EOS.
8885
8886 * profiler.el (profiler-calltree-find): Use function-equal.
8887
8888 2013-09-10 Glenn Morris <rgm@gnu.org>
8889
8890 * files.el (interpreter-mode-alist): Convert to regexps.
8891 (set-auto-mode): Adapt for this. (Bug#15306)
8892 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8893 Comment out unused variable.
8894 * progmodes/cc-mode.el (interpreter-mode-alist):
8895 * progmodes/python.el (interpreter-mode-alist):
8896 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8897 * progmodes/sh-script.el (sh-set-shell):
8898 No longer use interpreter-mode-alist to get list of shells.
8899
8900 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8901
8902 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8903
8904 * simple.el: Use set-temporary-overlay-map for universal-argument.
8905 (universal-argument-map): Don't use default-bindings (bug#15317).
8906 Bind switch-frame explicitly. Replace universal-argument-minus with
8907 a conditional binding.
8908 (universal-argument-num-events, saved-overriding-map): Remove.
8909 (restore-overriding-map): Remove.
8910 (universal-argument--mode): Rename from save&set-overriding-map,
8911 and rewrite.
8912 (universal-argument, universal-argument-more, negative-argument)
8913 (digit-argument): Adjust accordingly.
8914 (universal-argument-minus): Remove.
8915 (universal-argument-other-key): Remove.
8916
8917 * subr.el (with-demoted-errors): Add `format' argument.
8918
8919 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8920
8921 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8922 `tramp-cleanup-connection'.
8923
8924 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8925 parameters KEEP-DEBUG and KEEP-PASSWORD.
8926
8927 * net/tramp.el (tramp-file-name-handler):
8928 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8929 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8930 (tramp-maybe-open-connection):
8931 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8932 Use `tramp-cleanup-connection'.
8933
8934 * net/tramp-sh.el (tramp-maybe-open-connection):
8935 Catch 'uname-changed inside the progress reporter.
8936
8937 2013-09-10 Glenn Morris <rgm@gnu.org>
8938
8939 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8940
8941 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8942 returns "alternate access method" in mode (eg "-rw-r--r--.").
8943
8944 2013-09-08 Glenn Morris <rgm@gnu.org>
8945
8946 * saveplace.el (load-save-place-alist-from-file):
8947 Demote errors. (Bug#15305)
8948
8949 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8950
8951 Improve compatibility with older Emacsen, and XEmacs.
8952
8953 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8954 only if it is bound. It isn't for XEmacs.
8955 (with-tramp-progress-reporter): Do not let-bind `result'.
8956 This yields to scoping errors in XEmacs.
8957 (tramp-handle-make-auto-save-file-name): New function, moved from
8958 tramp-sh.el.
8959
8960 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8961 for `make-auto-save-file-name'.
8962 (tramp-adb--gnu-switches-to-ash):
8963 Use `tramp-compat-replace-regexp-in-string'.
8964
8965 * net/tramp-cache.el (tramp-cache-print): Call
8966 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8967
8968 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8969 bound. It isn't for XEmacs.
8970
8971 * net/tramp-compat.el (tramp-compat-copy-file):
8972 Catch `wrong-number-of-arguments' error.
8973 (tramp-compat-replace-regexp-in-string): New defun.
8974
8975 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8976 for `make-auto-save-file-name'.
8977 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8978 `copy-file'.
8979 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8980 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8981 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8982
8983 * net/tramp-gw.el (tramp-gw-open-network-stream):
8984 Use `tramp-compat-replace-regexp-in-string'.
8985
8986 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8987 Call `tramp-handle-make-auto-save-file-name'.
8988 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8989 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8990 (tramp-sh-file-inotifywait-process-filter):
8991 Use `tramp-compat-replace-regexp-in-string'.
8992 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8993
8994 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8995 for `make-auto-save-file-name'.
8996 (tramp-smb-handle-copy-directory):
8997 Call `tramp-compat-replace-regexp-in-string'.
8998 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8999 (tramp-smb-handle-copy-file): Improve error message.
9000 (tramp-smb-handle-rename-file): Rename directly only in case
9001 `newname' does not exist yet. This is a restriction of smbclient.
9002 (tramp-smb-maybe-open-connection): Rerun the function only when
9003 `auth-sources' is non-nil.
9004
9005 2013-09-08 Kenichi Handa <handa@gnu.org>
9006
9007 * international/characters.el: Set category "^" (Combining) for
9008 more characters.
9009
9010 2013-09-07 Alan Mackenzie <acm@muc.de>
9011
9012 Correctly fontify Java class constructors.
9013 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9014 in Java Mode.
9015 (c-recognize-typeless-decls): Set the Java value to t.
9016 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9017 While handling a "(", add a check for, effectively, Java, and handle a
9018 "typeless" declaration there.
9019
9020 2013-09-07 Roland Winkler <winkler@gnu.org>
9021
9022 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9023 field subtitle for entry type book.
9024
9025 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * minibuffer.el: Make minibuffer-complete call completion-in-region
9028 rather than other way around.
9029 (completion--some, completion-pcm--find-all-completions):
9030 Don't delay signals when debugging.
9031 (minibuffer-completion-contents): Beware fields within the
9032 minibuffer contents.
9033 (completion-all-sorted-completions): Use defvar-local.
9034 (completion--do-completion, completion--cache-all-sorted-completions)
9035 (completion-all-sorted-completions, minibuffer-force-complete):
9036 Add args `beg' and `end'.
9037 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9038 (minibuffer-complete): Use completion-in-region.
9039 (completion-complete-and-exit): New fun, extracted from
9040 minibuffer-complete-and-exit.
9041 (minibuffer-complete-and-exit): Use it.
9042 (completion--complete-and-exit): Rename from
9043 minibuffer--complete-and-exit.
9044 (completion-in-region--single-word): New function, extracted from
9045 minibuffer-complete-word.
9046 (minibuffer-complete-word): Use it.
9047 (display-completion-list): Make `common-substring' argument obsolete.
9048 (completion--in-region): Call completion--in-region-1 instead of
9049 minibuffer-complete.
9050 (completion-help-at-point): Pass boundaries to
9051 minibuffer-completion-help as args rather than via an overlay.
9052 (completion-pcm--string->pattern): Use `any-delim'.
9053 (completion-pcm--optimize-pattern): New function.
9054 (completion-pcm--pattern->regex): Handle `any-delim'.
9055 * icomplete.el (icomplete-forward-completions)
9056 (icomplete-backward-completions, icomplete-completions):
9057 Adjust calls to completion-all-sorted-completions and
9058 completion--cache-all-sorted-completions.
9059 (icomplete-with-completion-tables): Default to t.
9060 * emacs-lisp/crm.el (crm--current-element): Rename from
9061 crm--select-current-element. Don't put an overlay but return the
9062 boundaries instead.
9063 (crm--completion-command): Take two new args to bind to the boundaries.
9064 (crm-completion-help): Adjust accordingly.
9065 (crm-complete): Use completion-in-region.
9066 (crm-complete-word): Use completion-in-region--single-word.
9067 (crm-complete-and-exit): Use completion-complete-and-exit.
9068
9069 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9070
9071 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9072 than dynamically.
9073
9074 2013-09-06 Juri Linkov <juri@jurta.org>
9075
9076 * info.el (Info-display-images-node): When image file doesn't exist
9077 display text version of the image if it's provided in the Info file.
9078 Otherwise, display the location of missing image from SRC attribute.
9079 Add help-echo text property from ALT attribute. (Bug#15279)
9080
9081 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9082
9083 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9084 (edit-abbrevs-mode): Use define-derived-mode.
9085
9086 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9087 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9088 that it's defined.
9089 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9090 Use define-derived-mode.
9091
9092 * epg.el (epg-start-encrypt): Minor CSE simplification.
9093
9094 2013-09-06 William Xu <william.xwl@gmail.com>
9095
9096 * arc-mode.el: Add support for 7za (bug#15264).
9097 (archive-7z-program): New var.
9098 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9099 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9100 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9101
9102 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9103
9104 Remove URL syntax.
9105
9106 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9107 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9108 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9109 (tramp-postfix-host-format, tramp-file-name-regexp)
9110 (tramp-completion-file-name-regexp)
9111 (tramp-completion-dissect-file-name)
9112 (tramp-handle-substitute-in-file-name): Remove 'url case.
9113 (tramp-file-name-regexp-url)
9114 (tramp-completion-file-name-regexp-url): Remove constants.
9115
9116 2013-09-06 Glenn Morris <rgm@gnu.org>
9117
9118 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9119
9120 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9121
9122 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9123 keywords" below "here-doc beginnings" (Bug#15270).
9124
9125 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * subr.el (pop): Use `car-safe'.
9128 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9129 to detect unused `pop' return value.
9130
9131 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9132 var `block-regexp'.
9133 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9134 (python-fill-string): Remove unused var `marker'.
9135 (python-skeleton-add-menu-items): Remove unused var `items'.
9136
9137 * international/mule-cmds.el: Require CL.
9138 (find-coding-systems-for-charsets): Avoid add-to-list.
9139 (sanitize-coding-system-list): New function, extracted from
9140 select-safe-coding-system-interactively.
9141 (select-safe-coding-system-interactively): Use it.
9142 (read-input-method-name): Accept symbols for `default'.
9143
9144 * emacs-lisp/advice.el (defadvice): Add indent rule.
9145
9146 2013-09-05 Daniel Hackney <dan@haxney.org>
9147
9148 * dired-x.el:
9149 * net/ange-ftp.el:
9150 * net/browse-url.el:
9151 * net/dbus.el:
9152 * net/eudc.el:
9153 * net/eudcb-ldap.el:
9154 * net/eww.el:
9155 * net/imap.el:
9156 * printing.el:
9157 * vc/ediff-diff.el:
9158 * vc/ediff-init.el:
9159 * vc/ediff-merg.el:
9160 * vc/ediff-mult.el:
9161 * vc/ediff-util.el:
9162 * vc/ediff-wind.el:
9163 * vc/ediff.el:
9164 * vc/emerge.el:
9165 * vc/pcvs.el:
9166 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9167 byte compiler. Remove some unused let-bound variables.
9168
9169 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9170
9171 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9172 a "ref-cell", since it gets better optimized (bug#14883).
9173
9174 2013-09-05 Glenn Morris <rgm@gnu.org>
9175
9176 * progmodes/cc-awk.el (c-forward-sws): Declare.
9177
9178 2013-09-04 Glenn Morris <rgm@gnu.org>
9179
9180 * generic-x.el [rul-generic-mode]: Require cc-mode.
9181 (c++-mode-syntax-table): Declare.
9182 (rul-generic-mode-syntax-table): Init in the defvar.
9183
9184 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9185
9186 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9187 (vc-do-command, vc-set-async-update):
9188 * vc/vc-mtn.el (vc-mtn-dir-status):
9189 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9190 (vc-hg-pull, vc-hg-merge-branch):
9191 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9192 (vc-git-merge-branch):
9193 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9194 (vc-cvs-dir-status-files):
9195 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9196 (vc-bzr-dir-status-files):
9197 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9198 * vc/vc-annotate.el: Use lexical-binding.
9199 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9200 (vc-sentinel-movepoint): Declare.
9201 (vc-annotate): Don't use `goto-line'.
9202 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9203 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9204 (vc-sentinel-movepoint): Declare.
9205 * vc/vc-svn.el: Use lexical-binding.
9206 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9207 * vc/vc-sccs.el:
9208 * vc/vc-rcs.el: Use lexical-binding.
9209
9210 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9211 `deleted'. Don't drop errors silently.
9212
9213 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9214
9215 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9216
9217 * vc/vc.el (vc-ignore): Rewrite.
9218 (vc-default-ignore): New function.
9219 (vc-default-ignore-completion-table): Use find-ignore-file.
9220
9221 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9222 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9223 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9224 Remove. Most code moved to vc.el.
9225
9226 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9229 * net/tramp-smb.el (tramp-smb-get-file-entries):
9230 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9231 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9232
9233 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9234 Update call to it.
9235 (eww-change-select): Remove unused var `properties'.
9236 (eww-make-unique-file-name): Remove unused var `base'.
9237
9238 * finder.el (finder-compile-keywords): Don't mess with windows.
9239
9240 * calculator.el (calculator-funcall): Fix typo in last change.
9241
9242 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9243
9244 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9245 <pkg>-autoloads.el file stop us.
9246
9247 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9248 warnings, and factor out common code.
9249
9250 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9251
9252 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9253 two-character operators and whether the character preceding them
9254 changes their meaning (Bug#15208).
9255
9256 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9257
9258 Format code sent to Python shell for robustness.
9259 * progmodes/python.el (python-shell-buffer-substring):
9260 New function.
9261 (python-shell-send-region, python-shell-send-buffer): Use it.
9262
9263 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9264
9265 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9266 * net/tramp.el (tramp-user-error): ... here.
9267 (tramp-find-method, tramp-check-proper-host)
9268 (tramp-dissect-file-name, tramp-debug-message)
9269 (tramp-handle-shell-command):
9270 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9271 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9272
9273 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9274
9275 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9276
9277 * avoid.el (mouse-avoidance-point-position)
9278 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9279 returns nil.
9280
9281 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9282
9283 * progmodes/python.el (python-shell-completion-get-completions):
9284 Drop use of deleted `comint-last-prompt-overlay'.
9285 (python-nav-if-name-main): New command.
9286
9287 2013-09-01 Glenn Morris <rgm@gnu.org>
9288
9289 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9290 Avoid leading space in $wins. Otherwise the sed command used by
9291 eg compile-main ends up containing "/*.el". (Bug#15170)
9292
9293 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9294
9295 2013-08-30 Glenn Morris <rgm@gnu.org>
9296
9297 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9298 Fix is-this-a-directory logic. (Bug#15220)
9299
9300 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9301
9302 * textmodes/css-mode.el: Use SMIE.
9303 (css-smie-grammar): New var.
9304 (css-smie--forward-token, css-smie--backward-token)
9305 (css-smie-rules): New functions.
9306 (css-mode): Use them.
9307 (css-navigation-syntax-table): Remove var.
9308 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9309 (css-indent-calculate, css-indent-line): Remove functions.
9310
9311 Misc changes to reduce use of `(lambda...); and other cleanups.
9312 * cus-edit.el: Use lexical-binding.
9313 (customize-push-and-save, customize-apropos)
9314 (custom-buffer-create-internal): Use closures.
9315 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9316 * progmodes/ada-xref.el: Use setq.
9317 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9318 * dframe.el: Use lexical-binding.
9319 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9320 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9321 * descr-text.el: Use lexical-binding.
9322 (describe-text-widget, describe-text-sexp, describe-property-list):
9323 Use closures.
9324 * comint.el (comint-history-isearch-push-state): Use a closure.
9325 * calculator.el: Use lexical-binding.
9326 (calculator-number-to-string): Make it work with lexical-binding.
9327 (calculator-funcall): Same and use cl-letf.
9328
9329 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9330 (lisp--company-doc-string, lisp--company-location): New functions.
9331 (lisp-completion-at-point): Use them to improve Company support.
9332
9333 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9334 params of lambda expressions.
9335 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9336 (ruby-smie--opening-pipe-p): New function.
9337 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9338 symbols and matched |...| for formal params.
9339 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9340 from being treated as hanging. Handle "rescue".
9341
9342 2013-08-29 Glenn Morris <rgm@gnu.org>
9343
9344 * progmodes/cc-engine.el (c-pull-open-brace):
9345 Move definition before use.
9346
9347 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9348
9349 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9350 are immutable. Don't use `unsafe' any more.
9351 (cl--defsubst-expand): Don't substitute at the same time as keeping
9352 a residual unused let-binding. Don't use `unsafe' any more.
9353
9354 2013-08-29 Glenn Morris <rgm@gnu.org>
9355
9356 * calendar/cal-china.el (calendar-chinese-year-cache):
9357 Recenter on 2015.
9358
9359 * nxml/nxml-util.el (nxml-debug-clear-inside):
9360 Use cl-loop rather than loop.
9361
9362 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9363
9364 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9365
9366 2013-08-28 Glenn Morris <rgm@gnu.org>
9367
9368 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9369
9370 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9371
9372 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9373
9374 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9375
9376 * simple.el (repeat-complex-command--called-interactively-skip):
9377 New function.
9378 (repeat-complex-command): Use it (bug#14136).
9379
9380 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9381 (c-define-abbrev-table): Add `doc' argument.
9382 (c-mode-abbrev-table, c++-mode-abbrev-table)
9383 (objc-mode-abbrev-table, java-mode-abbrev-table)
9384 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9385 (awk-mode-abbrev-table): Use it.
9386 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9387 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9388 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9389 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9390 Move initialization into the declaration; and remove any
9391 autoload cookie.
9392
9393 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9394 and dynamic let binding.
9395
9396 * vc/smerge-mode.el: Remove redundant :group args.
9397
9398 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9399 to load-path.
9400
9401 2013-08-28 Juri Linkov <juri@jurta.org>
9402
9403 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9404 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9405 (isearch-other-meta-char): Handle an undefined shifted printing
9406 character by downshifting it. (Bug#15200)
9407
9408 2013-08-28 Juri Linkov <juri@jurta.org>
9409
9410 * isearch.el (isearch-search): Change regexp error message for
9411 non-regexp searches. (Bug#15166)
9412
9413 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9414
9415 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9416 for portability to hosts where /bin/sh has problems.
9417
9418 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9419
9420 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9421
9422 2013-08-27 Juri Linkov <juri@jurta.org>
9423
9424 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9425 in the keyboard macro. (Bug#15126)
9426
9427 2013-08-27 Juri Linkov <juri@jurta.org>
9428
9429 * isearch.el (isearch-quote-char): Comment out converting unibyte
9430 to multibyte, thus syncing with its `quoted-insert' counterpart.
9431 (Bug#15166)
9432
9433 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9434
9435 * window.el (display-buffer-use-some-window): Add missing
9436 argument in call of get-largest-window (Bug#15185).
9437 Reported by Stephen Leake.
9438
9439 2013-08-27 Glenn Morris <rgm@gnu.org>
9440
9441 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9442
9443 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9446 from a matcher-function unless there's no more matches (bug#15161).
9447
9448 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9449
9450 * minibuffer.el: Revert change from 2013-08-20.
9451
9452 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9453 with text property `tramp-default', if appropriate.
9454 (tramp-check-proper-host): New defun.
9455 (tramp-dissect-file-name): Do not check hostname. Revert change
9456 of 2013-03-18.
9457 (tramp-backtrace): Make VEC-OR-PROC optional.
9458
9459 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9460 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9461 * net/tramp-sh.el (tramp-maybe-open-connection):
9462 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9463 Apply `tramp-check-proper-host'.
9464
9465 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9466
9467 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9468 lambda expression in order to have `describe-variable' display it.
9469
9470 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9471
9472 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9473 BUF can be optional. (Bug#15186)
9474
9475 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9476
9477 * progmodes/flymake.el (flymake-get-real-file-name-function):
9478 Fix broken customization. (Bug#15184)
9479
9480 2013-08-25 Alan Mackenzie <acm@muc.de>
9481
9482 Improve indentation of bracelists defined by macros (without "=").
9483
9484 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9485 expansion begins with "{", regard it as bracelist when it doesn't
9486 contain a ";".
9487
9488 Parse C++ inher-intro when there's a template split over 2 lines.
9489
9490 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9491 rigorously the search for "class" etc. followed by ":".
9492
9493 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9494 random languages a regexp which never matches rather than nil.
9495
9496 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9497
9498 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9499 (c-awk-regexp-one-line-possibly-open-char-list-re)
9500 (c-awk-one-line-possibly-open-regexp-re)
9501 (c-awk-one-line-non-syn-ws*-re): Remove.
9502 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9503 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9504 (c-awk-space*-unclosed-regexp-/-re): New constants.
9505 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9506 aren't regexp delimiters.
9507
9508 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9509 handling for a rare situation in AWK Mode involving unterminated
9510 strings/regexps.
9511
9512 2013-08-23 Glenn Morris <rgm@gnu.org>
9513
9514 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9515
9516 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9517
9518 * files.el (create-file-buffer): If the result would begin with
9519 spaces, prepend a "|" instead of removing them. (Bug#15162)
9520
9521 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9524 text-properties (bug#15155).
9525
9526 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9527 exist any more.
9528 (calc-keypad-redraw): Remove unused var `pad'.
9529 (calc-keypad-press): Remove unused var `menu'.
9530
9531 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9532
9533 * window.el (display-buffer-pop-up-frame):
9534 Call pop-up-frame-function with BUFFER current so `make-frame' will
9535 use it as the new frame's buffer (Bug#15133).
9536
9537 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * calendar/timeclock.el: Minor cleanups.
9540 (timeclock-ask-before-exiting, timeclock-use-display-time):
9541 Use `symbol'.
9542 (timeclock-modeline-display): Define as alias before the
9543 actual definition.
9544 (timeclock-mode-line-display): Use define-minor-mode.
9545 (timeclock-day-list-template): Make it a function, add an argument.
9546 (timeclock-day-list-required, timeclock-day-list-length)
9547 (timeclock-day-list-debt, timeclock-day-list-span)
9548 (timeclock-day-list-break): Adjust calls accordingly.
9549
9550 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9551
9552 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9553 Use read--expression so that completion works again.
9554
9555 2013-08-21 Sam Steingold <sds@gnu.org>
9556
9557 Add rudimentary inferior shell interaction
9558 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9559 (sh-set-shell): Reset it.
9560 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9561 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9562
9563 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9564
9565 * align.el: Use lexical-binding.
9566 (align-region): Simplify accordingly.
9567
9568 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9569
9570 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9571
9572 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9573 `non-essential' up.
9574
9575 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9576
9577 * net/tramp.el:
9578 * net/tramp-adb.el:
9579 * net/tramp-cmds.el:
9580 * net/tramp-ftp.el:
9581 * net/tramp-gvfs.el:
9582 * net/tramp-gw.el:
9583 * net/tramp-sh.el: Don't wrap external variable declarations by
9584 `eval-when-compile'.
9585
9586 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9587
9588 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9589 now that Emacs supports ImageMagick animations.
9590
9591 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9592
9593 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9594 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9595
9596 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9597
9598 * window.el (mouse-autoselect-window-select): Do autoselect when
9599 mouse pointer is on margin.
9600
9601 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9602
9603 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9604
9605 2013-08-16 Glenn Morris <rgm@gnu.org>
9606
9607 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9608 Handle "Remote Directory" response of some clients. (Bug#15058)
9609
9610 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9611 Tweak warning. (Bug#14926)
9612
9613 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9614 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9615
9616 * image-mode.el (image-mode-map): Add menu items to reverse,
9617 increase, decrease, reset animation speed.
9618 (image--set-speed, image-increase-speed, image-decrease-speed)
9619 (image-reverse-speed, image-reset-speed): New functions.
9620 (image-mode-map): Add bindings for speed commands.
9621
9622 * image.el (image-animate-get-speed, image-animate-set-speed):
9623 New functions.
9624 (image-animate-timeout): Respect image :speed property.
9625
9626 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9627
9628 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9629 previous line (bug#15101).
9630 (debugger-eval-expression, debugger-record-expression):
9631 Use read--expression (bug#15102).
9632
9633 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9634
9635 Remove byte compiler warnings, visible when compiling with
9636 `byte-compile-force-lexical-warnings' set to t.
9637
9638 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9639 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9640 (tramp-handle-unhandled-file-name-directory)
9641 (tramp-handle-file-notify-add-watch, tramp-action-login)
9642 (tramp-action-succeed, tramp-action-permission-denied)
9643 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9644 arguments with "_".
9645
9646 * net/tramp-adb.el (tramp-adb-parse-device-names)
9647 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9648 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9649 (tramp-adb-handle-file-truename): Remove unused arguments.
9650
9651 * net/tramp-cache.el (tramp-flush-directory-property)
9652 (tramp-flush-connection-property, tramp-list-connections)
9653 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9654
9655 * net/tramp-compat.el (tramp-compat-make-temp-file):
9656 Rename FILENAME to F.
9657
9658 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9659 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9660 (tramp-zeroconf-parse-workstation-device-names)
9661 (tramp-zeroconf-parse-webdav-device-names)
9662 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9663
9664 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9665 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9666
9667 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9668 arguments.
9669 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9670 (tramp-sh-handle-insert-file-contents-literally)
9671 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9672 with "_".
9673 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9674 Remove unused variables.
9675
9676 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9677 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9678 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9679
9680 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9681 Make them a defconst.
9682 (tramp-uuencode-region): Remove unused variable.
9683
9684 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9685
9686 * frameset.el (frameset--prop-setter): New function.
9687 (frameset-prop): Add gv-setter declaration.
9688 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9689 parameter was already set in FILTERED. Doc fix.
9690 (frameset--record-minibuffer-relationships): Allow saving a
9691 minibufferless frame without its corresponding minibuffer frame.
9692 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9693 frame, if the frame id matches.
9694 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9695 frames before orphaned ones.
9696 (frameset-restore): Warn about orphaned windows, instead of error out.
9697
9698 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9699
9700 * window.el (window-make-atom): Don't overwrite parameter
9701 already present.
9702 (display-buffer-in-atom-window): Handle special case where we
9703 split an already atomic window.
9704 (window--major-non-side-window, display-buffer-in-side-window)
9705 (window--side-check): Ignore minibuffer window when walking
9706 window tree.
9707 (window-deletable-p): Return 'frame only if no other frame uses
9708 our minibuffer window.
9709 (record-window-buffer): Run buffer-list-update-hook.
9710 (split-window): Make sure window--check-frame won't destroy an
9711 existing atomic window in case the new window gets nested
9712 inside.
9713 (display-buffer-at-bottom): Ignore minibuffer window when
9714 walking window tree. Don't split a side window.
9715 (pop-to-buffer): Don't set-buffer here, the select-window call
9716 should do that.
9717 (mouse-autoselect-window-select): Autoselect only if we are in the
9718 text portion of the window.
9719
9720 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9721
9722 * net/shr.el (shr-parse-image-data): New function to grab both the
9723 data itself and the Content-Type.
9724 (shr-put-image): Use it.
9725
9726 * net/eww.el (eww-display-image): Ditto.
9727
9728 * image.el (image-content-type-suffixes): New variable.
9729
9730 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9731
9732 * progmodes/python.el (python-imenu--build-tree)
9733 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9734
9735 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9736
9737 * simple.el (backward-word): Mention the optional argument.
9738
9739 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9740
9741 * frameset.el (frameset--make): Rename constructor from make-frameset.
9742 (frameset-p, frameset-valid-p): Don't autoload.
9743 (frameset-valid-p): Use normal accessors.
9744
9745 2013-08-13 Glenn Morris <rgm@gnu.org>
9746
9747 * progmodes/compile.el (compile-command): Tweak example in doc.
9748 * obsolete/scribe.el (scribe-mode):
9749 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9750
9751 * mail/feedmail.el (feedmail-confirm-outgoing)
9752 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9753
9754 * cus-start.el (truncate-partial-width-windows): Fix type.
9755
9756 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9757
9758 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9759
9760 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9761
9762 * emacs-lisp/timer.el (timer--time-setter): New function.
9763 (timer--time): Use it as gv-setter.
9764
9765 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9766 setter is not a symbol.
9767
9768 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9769
9770 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9771 if sending fails. This makes debugging easier.
9772
9773 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9774
9775 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9776 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9777 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9778
9779 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9780
9781 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9782
9783 2013-08-12 Glenn Morris <rgm@gnu.org>
9784
9785 * format.el (format-annotate-function):
9786 Handle read-only text properties in the source. (Bug#14887)
9787
9788 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9789
9790 * net/eww.el (eww-display-html): Ignore coding system errors.
9791 One web site uses "utf-8lias" as the coding system.
9792
9793 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9794
9795 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9796
9797 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9798
9799 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9800 (tutorial--detailed-help): Remove unused local variables.
9801 (tutorial--save-tutorial-to): Use ignore-errors.
9802 (help-with-tutorial): Use looking-at-p.
9803
9804 * view.el (view-buffer-other-window, view-buffer-other-frame):
9805 Mark unused arguments.
9806
9807 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9808 (woman-select-symbol-fonts, woman, woman-find-file)
9809 (woman-insert-file-contents, woman-non-underline-faces):
9810 Use string-match-p.
9811 (woman1-unquote): Move declaration.
9812
9813 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9814 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9815 argument. Remove unused local variable.
9816 (xml-parse-elem-type): Use string-match-p.
9817 (xml-substitute-numeric-entities): Use ignore-errors.
9818
9819 * calculator.el (calculator): Mark unused argument.
9820 (calculator-paste, calculator-quit, calculator-integer-p):
9821 Use ignore-errors.
9822 (calculator-string-to-number, calculator-decimal, calculator-exp)
9823 (calculator-op-or-exp): Use string-match-p.
9824
9825 * dired.el (dired-buffer-more-recently-used-p): Declare.
9826 (dired-insert-set-properties, dired-insert-old-subdirs):
9827 Use ignore-errors.
9828
9829 * dired-aux.el (dired-compress): Use ignore-errors.
9830 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9831 (dired-do-async-shell-command, dired-do-shell-command)
9832 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9833 (dired-insert-subdir-validate): Use string-match-p.
9834 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9835 (dired-add-entry): Use string-match-p, looking-at-p.
9836 (dired-insert-subdir-newpos): Remove unused local variable.
9837
9838 * filenotify.el (file-notify-callback): Remove unused local variable.
9839
9840 * filesets.el (filesets-error): Mark unused argument.
9841 (filesets-which-command-p, filesets-filter-dir-names)
9842 (filesets-directory-files, filesets-get-external-viewer)
9843 (filesets-ingroup-get-data): Use string-match-p.
9844
9845 * find-file.el (ff-other-file-name, ff-other-file-name)
9846 (ff-find-the-other-file, ff-cc-hh-converter):
9847 Remove unused local variables.
9848 (ff-get-file-name): Use string-match-p.
9849 (ff-all-dirs-under): Use ignore-errors.
9850
9851 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9852 (follow-select-if-visible): Remove unused local variable.
9853
9854 * forms.el (read-file-filter): Move declaration.
9855 (forms--make-format, forms--make-parser, forms-insert-record):
9856 Quote function with #'.
9857 (forms--update): Use string-match-p. Quote function with #'.
9858
9859 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9860 (help-make-xrefs): Use looking-at-p.
9861 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9862
9863 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9864 (ibuffer-confirm-operation-on): Use string-match-p.
9865
9866 * msb.el (msb-item-handler, msb-dired-item-handler):
9867 Mark unused arguments.
9868
9869 * ses.el (ses-decode-cell-symbol)
9870 (ses-kill-override): Remove unused local variable.
9871 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9872 (ses-load): Use ignore-errors, looking-at-p.
9873 (ses-jump-safe): Use ignore-errors.
9874 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9875
9876 * tabify.el (untabify, tabify): Mark unused arguments.
9877
9878 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9879 Mark unused argument.
9880 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9881 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9882
9883 * emacs-lisp/timer.el (timer--time): Define setter with
9884 gv-define-setter to avoid deprecation warning.
9885
9886 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9887 (*record-cmpl-statistics-p*): Remove (was commented out).
9888 (cmpl-statistics-block): Remove (body was commented out).
9889 All callers changed.
9890 (add-completions-from-buffer, load-completions-from-file):
9891 Remove unused variables.
9892
9893 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9894
9895 * filecache.el (file-cache-delete-file-list):
9896 Print message only when told so.
9897 (file-cache-files-matching): Use #' in mapconcat argument.
9898
9899 * ffap.el (ffap-url-at-point): Fix reference to variable
9900 thing-at-point-default-mail-uri-scheme.
9901
9902 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9903
9904 * subr.el (define-error): New function.
9905 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9906 error-file-not-found and define with define-error.
9907 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9908 and define with define-error.
9909 * userlock.el (file-locked, file-supersession):
9910 * simple.el (mark-inactive):
9911 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9912 * progmodes/ada-mode.el (ada-mode-errors):
9913 * play/life.el (life-extinct):
9914 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9915 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9916 * nxml/rng-util.el (rng-error):
9917 * nxml/rng-uri.el (rng-uri-error):
9918 * nxml/rng-match.el (rng-compile-error):
9919 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9920 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9921 * nxml/nxml-rap.el (nxml-scan-error):
9922 * nxml/nxml-outln.el (nxml-outline-error):
9923 * net/soap-client.el (soap-error):
9924 * net/gnutls.el (gnutls-error):
9925 * net/ange-ftp.el (ftp-error):
9926 * mpc.el (mpc-proc-error):
9927 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9928 (json-number-format, json-string-escape, json-string-format)
9929 (json-key-format, json-object-format):
9930 * jka-compr.el (compression-error):
9931 * international/quail.el (quail-error):
9932 * international/kkc.el (kkc-error):
9933 * emacs-lisp/ert.el (ert-test-failed):
9934 * calc/calc.el (calc-error, inexact-result, math-overflow)
9935 (math-underflow):
9936 * bookmark.el (bookmark-error-no-filename):
9937 * epg.el (epg-error): Define with define-error.
9938
9939 * time.el (display-time-event-handler)
9940 (display-time-next-load-average): Don't call sit-for since it seems
9941 unnecessary (bug#15045).
9942
9943 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9944 Use #' instead of ' to quote functions.
9945 (checkdoc-output-mode): Use setq-local.
9946 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9947 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9948 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9949 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9950 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9951 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9952 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9953 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9954
9955 * ido.el (ido-completion-help): Fix up compiler warning.
9956
9957 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9958
9959 * frameset.el (frameset-p): Add autoload cookie.
9960 (frameset--jump-to-register): New function, based on code moved from
9961 register.el.
9962 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9963
9964 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9965 (frameset-restore, frameset-save, frameset-session-filter-alist):
9966 Remove declarations.
9967 (register-alist): Doc fix.
9968 (frameset-to-register): Move to frameset.el.
9969 (jump-to-register, describe-register-1): Remove frameset-specific code.
9970
9971 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9972
9973 * allout-widgets.el (allout-widgets-pre-command-business)
9974 (allout-widgets-post-command-business)
9975 (allout-widgets-after-change-handler)
9976 (allout-decorate-item-and-context, allout-set-boundary-marker)
9977 (allout-body-modification-handler)
9978 (allout-graphics-modification-handler): Mark ignored arguments.
9979 (allout-widgets-post-command-business)
9980 (allout-widgets-exposure-change-processor)
9981 (allout-widgets-exposure-undo-processor)
9982 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9983 (allout-parse-item-at-point, allout-decorate-item-guides)
9984 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9985 * allout.el (epa-passphrase-callback-function): Declare.
9986 (allout-overlay-insert-in-front-handler)
9987 (allout-overlay-interior-modification-handler)
9988 (allout-isearch-end-handler, allout-chart-siblings)
9989 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9990 (allout-yank-processing, allout-process-exposed)
9991 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9992 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9993 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9994 (lisp-indent-defform): Mark ignored arguments.
9995 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9996 (calculate-lisp-indent): Remove unused variables.
9997 * international/characters.el (indian-2-column, arabic-2-column)
9998 (tibetan): Mark ignored arguments.
9999 (use-cjk-char-width-table): Mark ignored arguments.
10000 Remove unused variables.
10001 * international/fontset.el (build-default-fontset-data)
10002 (x-compose-font-name, create-fontset-from-fontset-spec):
10003 Mark ignored arguments.
10004 (fontset-plain-name): Remove unused variables.
10005 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10006 (keyboard-coding-system): Mark ignored arguments.
10007 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10008 * help.el (resize-temp-buffer-window):
10009 * window.el (display-buffer-in-major-side-window)
10010 (display-buffer-in-side-window, display-buffer-in-previous-window):
10011 Remove unused variables.
10012 * isearch.el (isearch-forward-symbol):
10013 * version.el (emacs-bzr-version-bzr):
10014 * international/mule-cmds.el (current-language-environment):
10015 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10016 (x-handle-display):
10017 * term/pc-win.el (x-list-fonts, x-display-planes)
10018 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10019 (x-server-version, x-display-screens, x-display-mm-height)
10020 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10021 (x-selection-owner-p, x-own-selection-internal)
10022 (x-disown-selection-internal, x-get-selection-internal)
10023 (msdos-initialize-window-system):
10024 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10025 * term/x-win.el (x-handle-no-bitmap-icon):
10026 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10027 (vc-default-find-file-hook, vc-default-extra-menu):
10028 Mark ignored arguments.
10029
10030 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10033 break-condition in the context of the debugged code (bug#12685).
10034
10035 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10036
10037 * comint.el:
10038 Do not use an overlay to highlight the last prompt. (Bug#14744)
10039 (comint-mode): Make comint-last-prompt buffer local.
10040 (comint-last-prompt): New variable.
10041 (comint-last-prompt-overlay): Remove. Superseded by
10042 comint-last-prompt.
10043 (comint-snapshot-last-prompt, comint-output-filter):
10044 Use comint-last-prompt.
10045
10046 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10047
10048 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10049 (frameset-save): Check validity of the resulting frameset.
10050
10051 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10052
10053 * ido.el (ido-record-command): Add doc string.
10054
10055 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10056
10057 * frameset.el (frameset): Do not disable creation of the default
10058 frameset-p predicate. Doc fix.
10059 (frameset-valid-p): New function, copied from the old predicate-p.
10060 Add additional checks.
10061 (frameset-restore): Check with frameset-valid-p.
10062 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10063 (frameset-name, frameset-description, frameset-properties)
10064 (frameset-states): Add docstring.
10065 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10066 (frameset-filter-alist): Doc fixes.
10067
10068 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10069
10070 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10071
10072 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10075 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10076 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10077 (byte-compile-normal-call): Remove obsolescence check.
10078
10079 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10080
10081 * frameset.el (frameset-restore): Doc fix.
10082
10083 * register.el (frameset-frame-id, frameset-frame-with-id)
10084 (frameset-p, frameset-restore, frameset-save): Declare.
10085 (register-alist): Document framesets.
10086 (frameset-session-filter-alist): Declare.
10087 (frameset-to-register): New function.
10088 (jump-to-register): Implement jumping to framesets. Doc fix.
10089 (describe-register-1): Describe framesets.
10090
10091 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10092
10093 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10094
10095 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10096 Use lexical-binding.
10097
10098 * frameset.el (frameset): Use type vector, not list (incompatible
10099 change). Do not declare a new constructor, use the default one.
10100 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10101 `name' and `description', respectively, and add read-only slot
10102 `timestamp'. Doc fixes.
10103 (frameset-copy, frameset-persistent-filter-alist)
10104 (frameset-filter-alist, frameset-switch-to-gui-p)
10105 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10106 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10107 (frameset-filter-iconified, frameset-keep-original-display-p):
10108 Doc fixes.
10109 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10110 Rename from frameset-filter-(save|restore)-param. All callers changed.
10111 Doc fix.
10112 (frameset-p): Adapt to change to vector and be more thorough.
10113 Change arg name to OBJECT. Doc fix.
10114 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10115 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10116 All callers changed.
10117 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10118 All callers changed.
10119 (frameset--record-minibuffer-relationships): Rename from
10120 frameset--process-minibuffer-frames. All callers changed.
10121 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10122 Use new default constructor (again). Doc fix.
10123 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10124 All callers changed.
10125 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10126 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10127 Doc fix.
10128 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10129 PARAMETERS and WINDOW-STATE, respectively.
10130 (frameset-restore): Add new keyword argument PREDICATE.
10131 Reset frameset--target-display to nil. Doc fix.
10132
10133 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10136 (bat-mode): Use it.
10137 (bat-mode-syntax-table): Mark \n as end-of-comment.
10138 (bat-font-lock-keywords): Remove comment rule.
10139
10140 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10141 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10142
10143 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10144 (byte-compile-callargs-warn): Use `push'.
10145 (byte-compile-arglist-warn): Ignore higher-order "calls".
10146 (byte-compile-file-form-autoload): Use `pcase'.
10147 (byte-compile-function-form): If quoting a symbol, check that it exists.
10148
10149 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10150
10151 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10152 and add a few popular commands found in batch files.
10153 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10154 (dos-mode): Doc fixes.
10155
10156 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10157
10158 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10159 (dos-mode): Use setq-local. Add space after "rem".
10160 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10161 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10162
10163 2013-08-07 Arni Magnusson <arnima@hafro.is>
10164
10165 * progmodes/dos.el: New file.
10166 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10167 dos-mode.
10168
10169 2013-08-06 Glenn Morris <rgm@gnu.org>
10170
10171 * calendar/calendar.el: Add new faces, and day-header-array.
10172 (calendar-weekday-header, calendar-weekend-header)
10173 (calendar-month-header): New faces.
10174 (calendar-day-header-construct): New function.
10175 (calendar-day-header-width): Also :set calendar-day-header-array.
10176 (calendar-american-month-header, calendar-european-month-header)
10177 (calendar-iso-month-header): Use calendar- faces.
10178 (calendar-generate-month):
10179 Use calendar-day-header-array for day headers; apply faces to them.
10180 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10181 (calendar-abbrev-construct): Add optional maxlen argument.
10182 (calendar-day-name-array): Doc fix.
10183 (calendar-day-name-array, calendar-abbrev-length)
10184 (calendar-day-abbrev-array):
10185 Also :set calendar-day-header-array, and maybe redraw.
10186 (calendar-day-header-array): New option. (Bug#15007)
10187 (calendar-font-lock-keywords): Set to nil and make obsolete.
10188 (calendar-day-name): Add option to use header array.
10189
10190 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10191
10192 * net/shr.el (shr-render-td): Remove debugging.
10193 (shr-render-td): Make width computation consistent by defaulting
10194 all zero-width columns to 10 characters. This may not be optimal,
10195 but it's at least consistent.
10196 (shr-make-table-1): Redo last change to fix the real problem in
10197 colspan handling.
10198
10199 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10200
10201 * files.el (cache-long-line-scans):
10202 Make obsolete alias to `cache-long-scans'.
10203
10204 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10205
10206 * frameset.el (frameset, frameset-filter-alist)
10207 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10208 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10209 (frameset-compute-pos): Rename from frameset--compute-pos,
10210 and add docstring.
10211 (frameset-move-onscreen): Use frameset-compute-pos.
10212 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10213
10214 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10215 Fix typos in docstrings.
10216
10217 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10218
10219 * frame.el (get-other-frame): Tiny cleanup.
10220
10221 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10222
10223 * vc/vc.el (vc-default-ignore-completion-table):
10224 Silence byte-compiler warning.
10225
10226 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10227 slot, which can indeed be nil.
10228 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10229 Move entry for `left' from persistent to live filter alist.
10230 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10231 Doc fixes.
10232 (frameset-filter-params): When restoring a frame, copy items added to
10233 `filtered', to avoid unwittingly modifying the original parameters.
10234 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10235 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10236
10237 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10238 to use looking-at-p instead of looking-at. (Bug#15028)
10239
10240 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10241
10242 Revert introduction of isearch-filter-predicates (bug#14714).
10243 Rely on add-function instead.
10244 * isearch.el (isearch-filter-predicates): Rename it back to
10245 isearch-filter-predicate.
10246 (isearch-message-prefix): Use advice-function-mapc and advice
10247 properties to get the isearch-message-prefix.
10248 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10249 instead of run-hook-with-args-until-failure.
10250 (isearch-filter-visible): Not obsolete any more.
10251 * loadup.el: Preload nadvice.
10252 * replace.el (perform-replace): Revert to funcall
10253 instead of run-hook-with-args-until-failure.
10254 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10255 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10256 dired-isearch-filenames-toggle; make it into a proper minor mode.
10257 Use add/remove-function.
10258 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10259 Call the minor-mode rather than add/remove-hook.
10260 (dired-isearch-filter-filenames):
10261 Remove isearch-message-prefix property.
10262 * info.el (Info--search-loop): New function, extracted from Info-search.
10263 Funcall isearch-filter-predicate instead of
10264 run-hook-with-args-until-failure isearch-filter-predicates.
10265 (Info-search): Use it.
10266 (Info-mode): Use isearch-filter-predicate instead of
10267 isearch-filter-predicates.
10268
10269 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10270
10271 Do not call to `selected-window' where it is assumed by default.
10272 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10273 `window-hscroll', `window-width', `window-height', `window-buffer',
10274 `window-frame', `window-start', `window-point', `next-window'
10275 and `window-display-table'.
10276 * abbrev.el (abbrev--default-expand):
10277 * bs.el (bs--show-with-configuration):
10278 * buff-menu.el (Buffer-menu-mouse-select):
10279 * calc/calc.el (calc):
10280 * calendar/calendar.el (calendar-generate-window):
10281 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10282 (diary-make-entry):
10283 * comint.el (send-invisible, comint-dynamic-complete-filename)
10284 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10285 * completion.el (complete):
10286 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10287 * disp-table.el (describe-current-display-table):
10288 * doc-view.el (doc-view-insert-image):
10289 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10290 * ehelp.el (with-electric-help):
10291 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10292 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10293 * emacs-lisp/helper.el (Helper-help-scroller):
10294 * emulation/cua-base.el (cua--post-command-handler-1):
10295 * eshell/esh-mode.el (eshell-output-filter):
10296 * ffap.el (ffap-gnus-wrapper):
10297 * help-macro.el (make-help-screen):
10298 * hilit-chg.el (highlight-compare-buffers):
10299 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10300 * hl-line.el (global-hl-line-highlight):
10301 * icomplete.el (icomplete-simple-completing-p):
10302 * isearch.el (isearch-done):
10303 * jit-lock.el (jit-lock-stealth-fontify):
10304 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10305 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10306 * mpc.el (mpc-tagbrowser, mpc):
10307 * net/rcirc.el (rcirc-any-buffer):
10308 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10309 * play/landmark.el (landmark-max-width, landmark-max-height):
10310 * play/zone.el (zone):
10311 * progmodes/compile.el (compilation-goto-locus):
10312 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10313 * progmodes/etags.el (find-tag-other-window):
10314 * progmodes/fortran.el (fortran-column-ruler):
10315 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10316 * progmodes/verilog-mode.el (verilog-point-text):
10317 * reposition.el (reposition-window):
10318 * rot13.el (toggle-rot13-mode):
10319 * server.el (server-switch-buffer):
10320 * shell.el (shell-dynamic-complete-command)
10321 (shell-dynamic-complete-environment-variable):
10322 * simple.el (insert-buffer, set-selective-display)
10323 (delete-completion-window):
10324 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10325 (speedbar-recenter):
10326 * startup.el (fancy-splash-head):
10327 * textmodes/ispell.el (ispell-command-loop):
10328 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10329 * tutorial.el (help-with-tutorial):
10330 * vc/add-log.el (add-change-log-entry):
10331 * vc/compare-w.el (compare-windows):
10332 * vc/ediff-help.el (ediff-indent-help-message):
10333 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10334 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10335 (ediff-setup-control-frame):
10336 * vc/emerge.el (emerge-position-region):
10337 * vc/pcvs-util.el (cvs-bury-buffer):
10338 * window.el (walk-windows, mouse-autoselect-window-select):
10339 * winner.el (winner-set-conf, winner-undo): Related users changed.
10340
10341 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10342
10343 * frameset.el (frameset--set-id): Doc fix.
10344 (frameset-frame-id, frameset-frame-id-equal-p)
10345 (frameset-locate-frame-id): New functions.
10346 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10347 (frameset-restore): Use them.
10348
10349 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10350
10351 Do not call to `selected-frame' where it is assumed by default.
10352 Affected functions are `raise-frame', `redraw-frame',
10353 `frame-first-window', `frame-terminal' and `delete-frame'.
10354 * calendar/appt.el (appt-disp-window):
10355 * epg.el (epg-wait-for-completion):
10356 * follow.el (follow-delete-other-windows-and-split)
10357 (follow-avoid-tail-recenter):
10358 * international/mule.el (set-terminal-coding-system):
10359 * mail/rmail.el (rmail-mail-return):
10360 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10361 * progmodes/f90.el (f90-add-imenu-menu):
10362 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10363 * server.el (server-switch-buffer):
10364 * simple.el (delete-completion-window):
10365 * talk.el (talk):
10366 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10367 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10368 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10369 * vc/ediff.el (ediff-documentation): Related users changed.
10370 * frame.el (selected-terminal): Remove the leftover.
10371
10372 2013-08-05 Glenn Morris <rgm@gnu.org>
10373
10374 * calendar/calendar.el (calendar-generate-month):
10375 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10376 (calendar-generate-month, calendar-font-lock-keywords):
10377 Fix for calendar-day-header-width > length of any day name.
10378
10379 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10380
10381 * desktop.el (desktop-clear): Use new name of sort predicate.
10382
10383 * frameset.el (frameset): Add docstring. Move :version property to its
10384 own `version' slot.
10385 (frameset-copy): Rename from copy-frameset.
10386 (frameset-p): Check more thoroughly.
10387 (frameset-prop): Do not check for :version, which is no longer a prop.
10388 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10389 Use new :never value instead of t.
10390 (frameset-filter-alist): Expand and clarify docstring.
10391 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10392 (frameset-filter-minibuffer, frameset-filter-save-param)
10393 (frameset-filter-restore-param, frameset-filter-iconified):
10394 Add pointer to docstring of frameset-filter-alist.
10395 (frameset-filter-params): Rename filter values to be more meaningful:
10396 :never instead of t, and reverse the meanings of :save and :restore.
10397 (frameset--process-minibuffer-frames): Clarify error message.
10398 (frameset-save): Avoid unnecessary and confusing call to framep.
10399 Use new BOA constructor for framesets.
10400 (frameset--reuse-list): Doc fix.
10401 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10402 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10403 (frameset-minibufferless-first-p): Doc fix.
10404 Rename from frameset-sort-frames-for-deletion.
10405 (frameset-restore): Doc fixes. Use new function names.
10406 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10407
10408 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10409
10410 * desktop.el (desktop-restore-forces-onscreen)
10411 (desktop-restore-reuses-frames): Document :keyword constant values.
10412 (desktop-filter-parameters-alist): Remove, now identical to
10413 frameset-filter-alist.
10414 (desktop--filter-tty*): Remove, moved to frameset.el.
10415 (desktop-save-frameset, desktop-restore-frameset):
10416 Do not pass :filters argument.
10417
10418 * frameset.el (frameset-live-filter-alist)
10419 (frameset-persistent-filter-alist): New variables.
10420 (frameset-filter-alist): Use them. Add autoload cookie.
10421 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10422 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10423 `frameset--id' (it's supposed to be internal to frameset.el).
10424 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10425 (frameset--initial-params): New function.
10426 (frameset--get-frame): Use it. Doc fix.
10427 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10428 Accept :all, not 'all.
10429 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10430 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10431 with fbound symbols. Fix frame id matching, and remove matching ids if
10432 the frame being restored is deleted. Obey :delete.
10433
10434 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * subr.el (macrop): New function.
10437 (text-clone--maintaining): New var.
10438 (text-clone--maintain): Rename from text-clone-maintain. Use it
10439 instead of inhibit-modification-hooks.
10440
10441 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10442 a proxy, so as handle autoloads and redefinitions of the target.
10443 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10444
10445 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10446 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10447 (pcase--mutually-exclusive-p): New function.
10448 (pcase--split-consp): Use it.
10449 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10450 mutually exclusive with the current predicate.
10451
10452 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10453 (edebug-macrop): Remove. Use `macrop' instead.
10454 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10455 (ad-macro-p):
10456 * eshell/esh-cmd.el (eshell-macrop):
10457 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10458
10459 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10460
10461 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10462 (advice-mapc): New function, using it.
10463 (advice-function-member-p): New function.
10464 (advice--normalize): Store the cdr in advice--saved-rewrite since
10465 that's the part that will be changed.
10466 (advice--symbol-function): New function.
10467 (advice-remove): Handle removal before the function is defined.
10468 Adjust to new advice--saved-rewrite.
10469 (advice-member-p): Use advice-function-member-p and
10470 advice--symbol-function.
10471
10472 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10473
10474 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10475 (frameset-filter-minibuffer): Doc fix.
10476 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10477 (frameset--set-id, frameset--process-minibuffer-frames)
10478 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10479 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10480
10481 * desktop.el (desktop-clear): Only delete frames when called
10482 interactively and desktop-restore-frames is non-nil. Doc fix.
10483 (desktop-read): Set desktop-saved-frameset to nil.
10484
10485 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10486
10487 * vc/vc.el (vc-ignore): Rewrite.
10488 (vc-default-ignore-completion-table, vc--read-lines)
10489 (vc--add-line, vc--remove-regexp): New functions.
10490
10491 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10492 (vc-svn-ignore-completion-table): New function.
10493
10494 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10495 (vc-hg-ignore-completion-table)
10496 (vc-hg-find-ignore-file): New functions.
10497
10498 * vc/vc-git.el (vc-git-ignore): Rewrite.
10499 (vc-git-ignore-completion-table)
10500 (vc-git-find-ignore-file): New functions.
10501
10502 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10503
10504 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10505 (vc-bzr-ignore-completion-table)
10506 (vc-bzr-find-ignore-file): New functions.
10507
10508 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10509
10510 * frameset.el (frameset-prop): New function and setter.
10511 (frameset-save): Do not modify frame list passed by the caller.
10512
10513 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10514
10515 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10516
10517 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10518
10519 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10520 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10521
10522 * custom.el (custom-initialize-default, custom-initialize-set)
10523 (custom-initialize-reset, custom-initialize-changed): Affect the
10524 toplevel-default-value (bug#6275, bug#14586).
10525 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10526 for bug#6275.
10527
10528 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10529
10530 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10531 Add cl-def* expressions.
10532
10533 * frameset.el (frameset-filter-params): Fix order of arguments.
10534
10535 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10536
10537 Move code related to saving frames to frameset.el.
10538 * desktop.el: Require frameset.
10539 (desktop-restore-frames): Doc fix.
10540 (desktop-restore-reuses-frames): Rename from
10541 desktop-restoring-reuses-frames.
10542 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10543 (desktop-clear): Clear frames too.
10544 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10545 (desktop--filter-tty*, desktop-save, desktop-read):
10546 Use frameset functions.
10547 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10548 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10549 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10550 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10551 (desktop--process-minibuffer-frames, desktop-save-frames)
10552 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10553 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10554 (desktop--sort-states, desktop-restoring-frames-p)
10555 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10556 (desktop-restoring-frameset-p, desktop-restore-frameset)
10557 (desktop--check-dont-save, desktop-save-frameset): New functions.
10558 (desktop--app-id): New constant.
10559 (desktop-first-buffer, desktop-buffer-ok-count)
10560 (desktop-buffer-fail-count): Move before first use.
10561 * frameset.el: New file.
10562
10563 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10564
10565 * files.el: Use lexical-binding.
10566 (dir-locals-read-from-file): Remove unused `err' variable.
10567 (hack-dir-local-variables--warned-coding): New var.
10568 (hack-dir-local-variables): Use it to avoid repeated warnings.
10569 (make-backup-file-name--default-function): New function.
10570 (make-backup-file-name-function): Use it as default.
10571 (buffer-stale--default-function): New function.
10572 (buffer-stale-function): Use it as default.
10573 (revert-buffer-insert-file-contents--default-function): New function.
10574 (revert-buffer-insert-file-contents-function): Use it as default.
10575 (insert-directory): Avoid add-to-list.
10576
10577 * autorevert.el (auto-revert-handler): Simplify.
10578 Use buffer-stale--default-function.
10579
10580 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10581
10582 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10583
10584 * whitespace.el (whitespace-ensure-local-variables): New function.
10585 (whitespace-cleanup-region): Call it.
10586 (whitespace-turn-on): Call it.
10587
10588 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10589
10590 Complete file name handlers.
10591
10592 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10593 (tramp-handle-verify-visited-file-modtime)
10594 (tramp-handle-file-notify-rm-watch): New functions.
10595 (tramp-call-process): Do not bind `default-directory'.
10596
10597 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10598 Order alphabetically.
10599 <access-file, add-name-to-file, dired-call-process>:
10600 <dired-compress-file, file-acl, file-notify-rm-watch>:
10601 <file-ownership-preserved-p, file-selinux-context>:
10602 <make-directory-internal, make-symbolic-link, set-file-acl>:
10603 <set-file-selinux-context, set-visited-file-modtime>:
10604 <verify-visited-file-modtime>: Add handler.
10605 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10606
10607 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10608 <file-notify-add-watch, file-notify-rm-watch>:
10609 <set-file-times, set-visited-file-modtime>:
10610 <verify-visited-file-modtime>: Add handler.
10611 (with-tramp-gvfs-error-message)
10612 (tramp-gvfs-handle-set-visited-file-modtime)
10613 (tramp-gvfs-fuse-file-name): Remove.
10614 (tramp-gvfs-handle-file-notify-add-watch)
10615 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10616 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10617
10618 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10619 Order alphabetically.
10620 <file-notify-rm-watch>: Use default Tramp handler.
10621 <executable-find>: Remove private handler.
10622 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10623 `default-directory'.
10624 (tramp-sh-handle-executable-find)
10625 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10626 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10627 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10628 Do not use `format' in `tramp-message'.
10629
10630 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10631 <file-notify-rm-watch, set-visited-file-modtime>:
10632 <verify-visited-file-modtime>: Add handler.
10633 (tramp-smb-call-winexe): Do not bind `default-directory'.
10634
10635 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10636
10637 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10638
10639 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10640
10641 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10642 use it.
10643 (log-view-diff-changeset): Same.
10644 (log-view-diff-common): Call backend command `previous-revision'
10645 to find out the previous revision, in both cases. Swap the
10646 variables `to' and `fr', so that `fr' usually refers to the
10647 earlier revision (Bug#14989).
10648
10649 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10650
10651 * ibuf-ext.el (ibuffer-filter-by-filename):
10652 Make it work with dired buffers too.
10653
10654 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10655
10656 * emacs-lisp/re-builder.el (reb-color-display-p):
10657 * files.el (save-buffers-kill-terminal):
10658 * net/browse-url.el (browse-url):
10659 * server.el (server-save-buffers-kill-terminal):
10660 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10661 Prefer nil to selected-frame for the first arg of frame-parameter.
10662
10663 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10664
10665 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10666
10667 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10668
10669 * minibuffer.el (completion--twq-all): Try and preserve each
10670 completion's case choice (bug#14907).
10671
10672 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10673
10674 * net/network-stream.el (open-network-stream): Mention the new
10675 :nogreeting parameter.
10676 (network-stream-open-starttls): Use the :nogreeting parameter
10677 (bug#14938).
10678
10679 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10680
10681 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10682 more natural than popping.
10683
10684 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10685 (shr-urlify): Highlight under mouse.
10686
10687 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10688
10689 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10690
10691 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10692
10693 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10694 buffer for output.
10695
10696 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10697 point-min==1. Fix search string. Fix parentheses missing.
10698
10699 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10700 assume point-min==1. Fix search string. Fix parentheses missing.
10701
10702 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10703
10704 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10705 buffer for output.
10706
10707 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10708
10709 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10710 initial frame is minibuffer-less. (Bug#14841)
10711
10712 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10713
10714 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10715 option.
10716
10717 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10718 (tramp-maybe-open-connection): Use it.
10719
10720 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10721
10722 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10723 minimal set of parameters passed when creating a frame, because
10724 the minibuffer status of a frame cannot be changed later.
10725
10726 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10727
10728 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10729 replace-regexp-in-string and inadvertent omissions in previous change.
10730 (todo-filter-items): Ensure only file names are comma-separated in
10731 name of filtered items buffer.
10732
10733 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10734
10735 * desktop.el: Optionally force offscreen frames back onscreen.
10736 (desktop-restoring-reuses-frames): New option.
10737 (desktop--compute-pos, desktop--move-onscreen): New functions.
10738 (desktop--make-frame): Use desktop--move-onscreen.
10739
10740 2013-07-27 Alan Mackenzie <acm@muc.de>
10741
10742 Fontify a Java generic method as a function.
10743 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10744 value to t.
10745
10746 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10747
10748 * calendar/todo-mode.el: Add command to rename todo files.
10749 (todo-rename-file): New command.
10750 (todo-key-bindings-t): Add key binding for it. Change the
10751 bindings of todo-filter-regexp-items(-multifile) to use `x'
10752 instead of `r', since the latter is better suited to the new
10753 renaming command.
10754
10755 2013-07-27 Alan Mackenzie <acm@muc.de>
10756
10757 Make Java try-with-resources statement parse properly.
10758 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10759 (c-block-stmt-1-2-key): New language constants/variables.
10760 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10761 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10762 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10763 with c-block-stmt-1-2-key.
10764
10765 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10766
10767 * desktop.el (desktop--make-frame): Apply most frame parameters after
10768 creating the frame to force (partially or totally) offscreen frames to
10769 be restored as such.
10770
10771 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10772
10773 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10774 (Bug#14948)
10775
10776 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10777
10778 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10779 `base' arg of backtrace-frame.
10780
10781 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10782
10783 * simple.el (list-processes): Doc fix.
10784
10785 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10786
10787 * desktop.el (desktop--select-frame):
10788 Try harder to reuse existing frames.
10789
10790 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10791
10792 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10793 (edebug-eval): Use backtrace-eval.
10794 (edebug--display, edebug--recursive-edit): Don't let-bind the
10795 edebug-outer-* vars that keep track of variables we locally let-bind.
10796 (edebug-outside-excursion): Don't restore outside values of locally
10797 let-bound vars.
10798 (edebug--display): Use user-error.
10799 (cl-lexical-debug, cl-debug-env): Remove.
10800
10801 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10802
10803 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10804 are restored to be sure that they are visible before deleting any
10805 remaining ones.
10806
10807 2013-07-26 Matthias Meulien <orontee@gmail.com>
10808
10809 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10810 vc-print-root-log. (Bug#14948)
10811
10812 2013-07-26 Richard Stallman <rms@gnu.org>
10813
10814 Add aliases for encrypting mail.
10815 * epa.el (epa-mail-aliases): New option.
10816 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10817 Bind inhibit-read-only so read-only text doesn't ruin everything.
10818 (epa-mail-default-recipients): New subroutine broken out.
10819 Handle epa-mail-aliases.
10820
10821 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10822
10823 Add support for lexical variables to the debugger's `e' command.
10824 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10825 vars, except for debugger-outer-match-data.
10826 (debugger-frame-number): Move check for "on a function call" from
10827 callers into it. Add `skip-base' argument.
10828 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10829 (debugger-env-macro): Only reset the state stored in non-variables,
10830 i.e. current-buffer and match-data.
10831 (debugger-eval-expression): Rewrite using backtrace-eval.
10832 * subr.el (internal--called-interactively-p--get-frame): Remove.
10833 (called-interactively-p):
10834 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10835 `base' arg of backtrace-frame instead.
10836
10837 2013-07-26 Glenn Morris <rgm@gnu.org>
10838
10839 * align.el (align-regexp): Doc fix. (Bug#14857)
10840 (align-region): Explicit error if subexpression missing/does not match.
10841
10842 * simple.el (global-visual-line-mode):
10843 Do not duplicate the mode lighter. (Bug#14858)
10844
10845 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10846
10847 * window.el (display-buffer): In display-buffer bind
10848 split-window-keep-point to t, bug#14829.
10849
10850 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10851
10852 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10853 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10854 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10855 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10856 Change accordingly.
10857 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10858 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10859
10860 2013-07-25 Glenn Morris <rgm@gnu.org>
10861
10862 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10863
10864 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10865
10866 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10867 parameter to modify-frame-parameters if the value has not changed;
10868 this is a workaround for bug#14949.
10869 (desktop--make-frame): On cl-delete-if call, check parameter name,
10870 not full parameter.
10871
10872 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10873
10874 * vc/vc.el (vc-ignore): New function.
10875
10876 * vc/vc-svn.el (vc-svn-ignore): New function.
10877
10878 * vc/vc-hg.el (vc-hg-ignore): New function.
10879
10880 * vc/vc-git.el (vc-git-ignore): New function.
10881
10882 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10883 (vc-dir-ignore): New function.
10884
10885 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10886 (cvs-append-to-ignore): Move here from pcvs.el.
10887
10888 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10889
10890 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10891
10892 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10893
10894 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10895 (desktop-restore-frames): Warn when deleting an existing frame failed.
10896
10897 2013-07-24 Glenn Morris <rgm@gnu.org>
10898
10899 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10900
10901 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10902
10903 * filenotify.el (file-notify-supported-p):
10904 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10905 Remove functions.
10906
10907 * autorevert.el (auto-revert-use-notify)
10908 (auto-revert-notify-add-watch):
10909 * net/tramp.el (tramp-file-name-for-operation):
10910 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10911 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10912 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10913 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10914 Remove `file-notify-supported-p' entry.
10915
10916 2013-07-24 Glenn Morris <rgm@gnu.org>
10917
10918 * printing.el: Replace all uses of deleted ps-windows-system,
10919 ps-lp-system, ps-flatten-list with lpr- versions.
10920
10921 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10922
10923 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10924 checked with memq (bug#14935).
10925
10926 * files.el (revert-buffer-function): Use a non-nil default.
10927 (revert-buffer-preserve-modes): Declare var to
10928 provide access to the `preserve-modes' argument.
10929 (revert-buffer): Let-bind it.
10930 (revert-buffer--default): New function, extracted from revert-buffer.
10931
10932 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * lpr.el: Signal print errors more prominently.
10935 (print-region-function): Don't default to nil.
10936 (lpr-print-region): New function, extracted from print-region-1.
10937 Check lpr's return value and signal an error in case of problem.
10938 (print-region-1): Use it.
10939 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10940 versions instead.
10941 (ps-printer-name): Default to nil.
10942 (ps-printer-name-option): Default to lpr-printer-switch.
10943 (ps-print-region-function): Don't default to nil.
10944 (ps-postscript-code-directory): Simplify default.
10945 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10946 (ps-string-list, ps-eval-switch, ps-flatten-list)
10947 (ps-flatten-list-1): Remove.
10948 (ps-multibyte-buffer): Avoid setq.
10949 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10950 (print-region-function, ps-print-region-function): Don't set them here.
10951
10952 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10953
10954 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10955 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10956 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10957 (ido-decorations): Doc fix.
10958
10959 * ansi-color.el: Fix old URL.
10960
10961 2013-07-23 Michael R. Mauger <michael@mauger.com>
10962
10963 * progmodes/sql.el: Version 3.3
10964 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10965 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10966 (sql-interactive-remove-continuation-prompt): Rewrite, use
10967 functions above. Fix continuation prompt and complete output line
10968 handling.
10969 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10970 redirected output buffer.
10971 (sql-mode): Restore deleted code (Bug#13591).
10972
10973 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10974
10975 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10976
10977 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10978
10979 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10980
10981 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10982 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10983 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10984
10985 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10986
10987 * desktop.el (desktop-clear): Simplify; remove useless checks
10988 against invalid buffer names.
10989 (desktop-list*): Use cl-list*.
10990 (desktop-buffer-info, desktop-create-buffer): Simplify.
10991
10992 2013-07-23 Leo Liu <sdl.web@gmail.com>
10993
10994 * bookmark.el (bookmark-make-record): Restore NAME as a default
10995 value. (Bug#14933)
10996
10997 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10998
10999 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11000 extracted from autoload--insert-text.
11001 (autoload--insert-text): Remove.
11002 (autoload--print-cookie-text): New function, extracted from
11003 autoload--insert-cookie-text.
11004 (autoload--insert-cookie-text): Remove.
11005 (autoload-generate-file-autoloads): Adjust calls accordingly.
11006
11007 * winner.el (winner-hook-installed-p): Remove.
11008 (winner-mode): Simplify accordingly.
11009
11010 * subr.el (add-to-list): Fix compiler-macro when `append' is
11011 not constant. Don't use `cl-member' for the base case.
11012
11013 * progmodes/subword.el: Fix boundary case (bug#13758).
11014 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11015 own group.
11016 (subword-backward-regexp): Make it a constant.
11017 (subword-forward-internal): Don't treat a trailing capital as the
11018 beginning of a word.
11019
11020 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11021
11022 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11023 global value of tabulated-list-revert-hook (bug#14930).
11024
11025 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11026
11027 * desktop.el: Require 'cl-lib.
11028 (desktop-before-saving-frames-functions): New hook.
11029 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11030 for frames being saved. Rename from desktop--save-minibuffer-frames.
11031 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11032 Do not save frames with non-nil `desktop-dont-save' parameter.
11033 Filter out deleted frames.
11034 (desktop--find-frame): Use cl-find-if.
11035 (desktop--select-frame): Use cl-(first|second|third) to access values
11036 of desktop-mini.
11037 (desktop--make-frame): Use cl-delete-if.
11038 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11039 (desktop-restore-frames): Use cl-(first|second|third) to access values
11040 of desktop-mini. Look for visible frame at the end, not while
11041 restoring frames.
11042
11043 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11044 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11045 Use string-match-p, looking-at-p (bug#14927).
11046
11047 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11048
11049 * desktop.el (desktop-saved-frame-states):
11050 Rename from desktop--saved-states; all users changed.
11051 (desktop-save-frames): Rename from desktop--save-frames.
11052 Do not save state to desktop file.
11053 (desktop-save): Save desktop-saved-frame-states to desktop file
11054 and reset to nil.
11055 (desktop-restoring-frames-p): New function.
11056 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11057 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11058 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11059
11060 * desktop.el: Correctly restore iconified frames.
11061 (desktop--filter-iconified-position): New function.
11062 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11063
11064 2013-07-20 Glenn Morris <rgm@gnu.org>
11065
11066 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11067 Let `message' do the formatting.
11068 (def-gdb-preempt-display-buffer): Add explicit format.
11069
11070 * image-dired.el (image-dired-track-original-file):
11071 Use with-current-buffer.
11072 (image-dired-track-thumbnail): Use with-current-buffer.
11073 Avoid changing point of wrong window.
11074
11075 * image-dired.el (image-dired-track-original-file):
11076 Avoid changing point of wrong window. (Bug#14909)
11077
11078 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11079
11080 * progmodes/gdb-mi.el (gdb-done-or-error):
11081 Guard against "%" in gdb output. (Bug#14127)
11082
11083 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11084
11085 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11086 (Bug#14826)
11087
11088 * international/mule.el (coding-system-iso-2022-flags): Fix last
11089 change.
11090
11091 2013-07-20 Kenichi Handa <handa@gnu.org>
11092
11093 * international/mule.el (coding-system-iso-2022-flags):
11094 Add `8-bit-level-4'. (Bug#8522)
11095
11096 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11097
11098 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11099 (bug#14815).
11100
11101 * net/eww.el (eww-process-text-input): Allow inputting when the
11102 point is at the start of the line, as the properties aren't
11103 front-sticky.
11104
11105 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11106 degenerate widths.
11107
11108 2013-07-19 Richard Stallman <rms@gnu.org>
11109
11110 * epa.el (epa-popup-info-window): Doc fix.
11111
11112 * subr.el (split-string): New arg TRIM.
11113
11114 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11115
11116 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11117 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11118
11119 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11120
11121 * filenotify.el (file-notify--library): Rename from
11122 `file-notify-support'. Do not autoload. Adapt all uses.
11123 (file-notify-supported-p): New defun.
11124
11125 * autorevert.el (auto-revert-use-notify):
11126 Use `file-notify-supported-p' instead of `file-notify-support'.
11127 Adapt docstring.
11128 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11129
11130 * net/tramp.el (tramp-file-name-for-operation):
11131 Add `file-notify-supported-p'.
11132
11133 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11134 New defun.
11135 (tramp-sh-file-name-handler-alist): Add it as handler for
11136 `file-notify-supported-p '.
11137
11138 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11139 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11140 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11141 Add `ignore' as handler for `file-notify-*' functions.
11142
11143 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11144
11145 * simple.el (line-move-partial, line-move): Don't start vscroll or
11146 scroll-up if the current line is not taller than the window.
11147 (Bug#14881)
11148
11149 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11150
11151 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11152 highlight question marks in the method names as strings.
11153 (ruby-block-beg-keywords): Inline.
11154 (ruby-font-lock-keyword-beg-re): Extract from
11155 `ruby-font-lock-keywords'.
11156
11157 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11158
11159 * frame.el (blink-cursor-blinks): New defcustom.
11160 (blink-cursor-blinks-done): New defvar.
11161 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11162 (blink-cursor-timer-function): Check if number of blinks has been
11163 done on X and NS.
11164 (blink-cursor-suspend, blink-cursor-check): New defuns.
11165
11166 2013-07-15 Glenn Morris <rgm@gnu.org>
11167
11168 * edmacro.el (edmacro-format-keys): Fix previous change.
11169
11170 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11171
11172 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11173 The hack didn't work outside English locales anyway.
11174
11175 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11176
11177 * simple.el (define-alternatives): Rename from alternatives-define,
11178 per RMS' suggestion.
11179
11180 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11181
11182 * desktop.el (desktop-restore-frames): Change default to t.
11183 (desktop-restore-in-current-display): Now offer more options.
11184 (desktop-restoring-reuses-frames): New customization option.
11185 (desktop--saved-states): Doc fix.
11186 (desktop-filter-parameters-alist): New variable, renamed and expanded
11187 from desktop--excluded-frame-parameters.
11188 (desktop--target-display): New variable.
11189 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11190 (desktop--filter-tty*, desktop--filter-*-color)
11191 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11192 (desktop--filter-save-desktop-parm)
11193 (desktop-restore-in-original-display-p): New functions.
11194 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11195 (desktop--save-minibuffer-frames): New function, inspired by a similar
11196 function from Martin Rudalics.
11197 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11198 (desktop--restore-in-this-display-p): Remove.
11199 (desktop--find-frame): Rename from desktop--find-frame-in-display
11200 and add predicate argument.
11201 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11202 (desktop--reuse-list): New variable.
11203 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11204 New functions.
11205 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11206
11207 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11208
11209 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11210
11211 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11212
11213 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11214 Highlight conversion methods on Kernel.
11215
11216 2013-07-13 Alan Mackenzie <acm@muc.de>
11217
11218 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11219 and comment it out. This out-commenting enables certain C++
11220 declarations to be parsed correctly.
11221
11222 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11223
11224 * international/mule.el (define-coding-system): Doc fix.
11225
11226 * simple.el (default-font-height): Don't call font-info if the
11227 frame's default font didn't change since the frame was created.
11228 (Bug#14838)
11229
11230 2013-07-13 Leo Liu <sdl.web@gmail.com>
11231
11232 * ido.el (ido-read-file-name): Guard against non-symbol value.
11233
11234 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11235
11236 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11237 in nested defuns.
11238
11239 2013-07-13 Leo Liu <sdl.web@gmail.com>
11240
11241 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11242 ido-set-matches call. (Bug#6852)
11243
11244 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11245
11246 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11247 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11248 Ruby 2.0.
11249 (ruby-font-lock-keywords): Distinguish calls to functions with
11250 module-like names from module references. Highlight character
11251 literals.
11252
11253 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11254
11255 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11256 (gdb-send): Handle continued commands. (Bug#14847)
11257
11258 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11259
11260 * desktop.el (desktop--v2s): Remove unused local variable.
11261 (desktop-save-buffer): Make defvar-local; adjust docstring.
11262 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11263 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11264
11265 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11266
11267 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11268
11269 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11270
11271 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11272 (Bug#14842)
11273
11274 2013-07-12 Glenn Morris <rgm@gnu.org>
11275
11276 * doc-view.el: Require cl-lib at runtime too.
11277 (doc-view-remove-if): Remove.
11278 (doc-view-search-next-match, doc-view-search-previous-match):
11279 Use cl-remove-if.
11280
11281 * edmacro.el: Require cl-lib at runtime too.
11282 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11283 (edmacro-mismatch, edmacro-subseq): Remove.
11284
11285 * shadowfile.el: Require cl-lib.
11286 (shadow-remove-if): Remove.
11287 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11288 Use cl-remove-if.
11289
11290 * wid-edit.el: Require cl-lib.
11291 (widget-choose): Use cl-remove-if.
11292 (widget-remove-if): Remove.
11293
11294 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11295 (ebrowse-delete-if-not): Remove.
11296 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11297 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11298 Use cl-delete-if-not.
11299
11300 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11301
11302 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11303 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11304
11305 2013-07-12 Leo Liu <sdl.web@gmail.com>
11306
11307 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11308
11309 2013-07-11 Glenn Morris <rgm@gnu.org>
11310
11311 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11312 (edebug-gensym-index, edebug-gensym):
11313 Remove reimplementation of cl-gensym.
11314 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11315
11316 * thumbs.el: Require cl-lib at run-time too.
11317 (thumbs-gensym-counter, thumbs-gensym):
11318 Remove reimplementation of cl-gensym.
11319 (thumbs-temp-file): Use cl-gensym.
11320
11321 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11322 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11323 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11324 (ert--union, ert--gensym-counter, ert--gensym-counter)
11325 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11326 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11327 (ert-make-test-unbound, ert--expand-should-1)
11328 (ert--expand-should, ert--should-error-handle-error)
11329 (should-error, ert--explain-equal-rec)
11330 (ert--plist-difference-explanation, ert-select-tests)
11331 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11332 Use cl-lib functions rather than reimplementations.
11333
11334 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11335
11336 * net/tramp.el (tramp-methods): Extend docstring.
11337 (tramp-connection-timeout): New defcustom.
11338 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11339 (with-tramp-progress-reporter): Simplify.
11340 (tramp-process-actions): Improve messages.
11341
11342 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11343 * net/tramp-sh.el (tramp-maybe-open-connection):
11344 Use `tramp-connection-timeout'.
11345 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11346 (Bug#14808)
11347
11348 2013-07-11 Leo Liu <sdl.web@gmail.com>
11349
11350 * ido.el (ido-read-file-name): Conform to the requirements of
11351 read-file-name. (Bug#11861)
11352 (ido-read-directory-name): Conform to the requirements of
11353 read-directory-name.
11354
11355 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11356
11357 * subr.el (delay-warning): New function.
11358
11359 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11360
11361 * simple.el (default-line-height): New function.
11362 (line-move-partial, line-move): Use it instead of computing the
11363 line height inline.
11364 (line-move-partial): Always compute ROWH. If the last line is
11365 partially-visible, but its text is completely visible, allow
11366 cursor to enter such a partially-visible line.
11367
11368 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11369
11370 Improve error messages. (Bug#14808)
11371
11372 * net/tramp.el (tramp-current-connection): New defvar, moved from
11373 tramp-sh.el.
11374 (tramp-message-show-progress-reporter-message): Remove, not
11375 needed anymore.
11376 (tramp-error-with-buffer): Show message in minibuffer.
11377 Discard input before waiting. Reset connection timestamp.
11378 (with-tramp-progress-reporter): Improve messages.
11379 (tramp-process-actions): Use progress reporter. Delete process in
11380 case of error. Improve messages.
11381
11382 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11383 Call `tramp-error-with-buffer' with vector and buffer.
11384 (tramp-current-connection): Remove.
11385 (tramp-maybe-open-connection): The car of
11386 `tramp-current-connection' are the first 3 slots of the vector.
11387
11388 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11389
11390 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11391 inside continued strings.
11392
11393 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11394
11395 Timestamp fixes for undo (Bug#14824).
11396 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11397
11398 2013-07-10 Leo Liu <sdl.web@gmail.com>
11399
11400 * files.el (require-final-newline): Allow safe local value.
11401 (Bug#14834)
11402
11403 2013-07-09 Leo Liu <sdl.web@gmail.com>
11404
11405 * ido.el (ido-read-directory-name): Handle fallback.
11406 (ido-read-file-name): Update DIR to ido-current-directory.
11407 (Bug#1516)
11408 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11409
11410 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11411
11412 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11413 "autoload". Remove "warn lower camel case" section, previously
11414 commented out. Highlight negation char. Do not highlight the
11415 target in singleton method definitions.
11416
11417 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11418
11419 * faces.el (tty-setup-hook): Declare the hook.
11420
11421 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11422 and detect when a guard/pred depends on local vars (bug#14773).
11423 (pcase--u1): Adjust caller.
11424
11425 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11426
11427 * simple.el (line-move-partial, line-move): Account for
11428 line-spacing.
11429 (line-move-partial): Avoid setting vscroll when the last
11430 partially-visible line in window is of default height.
11431
11432 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11433
11434 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11435 been used a while.
11436
11437 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * subr.el (read-quoted-char): Remove unused local variable `char'.
11440
11441 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11442
11443 * ediff.el (ediff-version): Version update.
11444 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11445 (ediff-merge-with-ancestor-command, ediff-directories-command)
11446 (ediff-directories3-command, ediff-merge-directories-command)
11447 (ediff-merge-directories-with-ancestor-command): New functions.
11448 All are command-line interfaces to ediff: to facilitate calling
11449 Emacs with the appropriate ediff functions invoked.
11450
11451 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11452 (viper-save-kill-buffer): Check if buffer is modified.
11453
11454 * viper.el (viper-version): Version update.
11455 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11456
11457 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11460 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11461 (viper-intercept-ESC-key): Simplify.
11462 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11463 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11464 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11465 (viper-setup-ESC-to-escape): New functions.
11466 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11467 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11468
11469 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11470
11471 * simple.el (default-font-height, window-screen-lines):
11472 New functions.
11473 (line-move, line-move-partial): Use them instead of
11474 frame-char-height and window-text-height. This makes scrolling
11475 text smoother when the buffer's default face uses a font that is
11476 different from the frame's default font.
11477
11478 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11479
11480 * files.el (write-file): Do not display confirm dialog for NS,
11481 it does its own dialog, which can't be canceled (Bug#14578).
11482
11483 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11484
11485 * simple.el (line-move-partial): Adjust the row returned by
11486 posn-at-point for the current window-vscroll. (Bug#14567)
11487
11488 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11489
11490 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11491 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11492 spaces.
11493
11494 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11495
11496 * window.el (window-state-put-stale-windows): New variable.
11497 (window--state-put-2): Save list of windows without matching buffer.
11498 (window-state-put): Remove "bufferless" windows if possible.
11499
11500 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11501
11502 * simple.el (alternatives-define): Remove leftover :group keyword.
11503 Tweak docstring.
11504
11505 2013-07-06 Leo Liu <sdl.web@gmail.com>
11506
11507 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11508 (ido-enable-virtual-buffers): New variable.
11509 (ido-buffer-internal, ido-toggle-virtual-buffers)
11510 (ido-make-buffer-list): Use it.
11511 (ido-exhibit): Support turning on and off virtual buffers
11512 automatically.
11513
11514 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11515
11516 * simple.el (alternatives-define): New macro.
11517
11518 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11519
11520 * subr.el (read-quoted-char): Use read-key.
11521 (sit-for): Let read-event decode tty input (bug#14782).
11522
11523 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11524
11525 * calendar/todo-mode.el: Add handling of file deletion, both by
11526 mode command and externally. Fix various related bugs.
11527 Clarify Commentary and improve some documentation strings and code.
11528 (todo-delete-file): New command.
11529 (todo-check-file): New function.
11530 (todo-show): Handle external deletion of the file we're trying to
11531 show (bug#14688). Replace called-interactively-p by an optional
11532 prefix argument to avoid problematic interaction with catch form
11533 when byte compiled (bug#14702).
11534 (todo-quit): Handle external deletion of the archive's todo file.
11535 Make sure the buffer that was visiting the archive file is still
11536 live before trying to bury it.
11537 (todo-category-completions): Handle external deletion of any
11538 category completion files.
11539 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11540 of todo files, in case of external deletion.
11541 (todo-add-file): Replace unnecessary setq by let-binding.
11542 (todo-find-archive): Check whether there are any archives.
11543 Replace unnecessary setq by let-binding.
11544 (todo-archive-done-item): Use find-file-noselect to get the
11545 archive buffer whether or not the archive already exists.
11546 Remove superfluous code. Use file size instead of buffer-file-name to
11547 check if the archive is new; if it is, update list of archives.
11548 (todo-default-todo-file): Allow nil to be a valid value for when
11549 there are no todo files.
11550 (todo-reevaluate-default-file-defcustom): Use corrected definition
11551 of todo-default-todo-file.
11552 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11553 (todo-delete-category, todo-show-categories-table)
11554 (todo-category-number): Clarify comment.
11555 (todo-filter-items): Clarify documentation string.
11556 (todo-show-current-file, todo-display-as-todo-file)
11557 (todo-reset-and-enable-done-separator): Tweak documentation string.
11558 (todo-done-separator): Make separator length window-width, since
11559 bug#2749 is now fixed.
11560
11561 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11562
11563 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11564 Support both "gvfs-monitor-dir" and "inotifywait".
11565 (tramp-sh-file-inotifywait-process-filter): Rename from
11566 `tramp-sh-file-notify-process-filter'.
11567 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11568 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11569
11570 2013-07-05 Leo Liu <sdl.web@gmail.com>
11571
11572 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11573
11574 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11575
11576 * frame.el (display-pixel-height, display-pixel-width)
11577 (display-mm-height, display-mm-width): Mention behavior on
11578 multi-monitor setups in docstrings.
11579 (w32-display-monitor-attributes-list): Declare function.
11580 (display-monitor-attributes-list): Use it.
11581
11582 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11583
11584 * filenotify.el: New package.
11585
11586 * autorevert.el (top): Require filenotify.el.
11587 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11588 instead.
11589 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11590 (auto-revert-notify-handler): Use `file-notify-*' functions.
11591
11592 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11593
11594 * net/tramp.el (tramp-file-name-for-operation):
11595 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11596
11597 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11598 for `file-notify-add-watch' and `file-notify-rm-watch'.
11599 (tramp-process-sentinel): Improve trace.
11600 (tramp-sh-handle-file-notify-add-watch)
11601 (tramp-sh-file-notify-process-filter)
11602 (tramp-sh-handle-file-notify-rm-watch)
11603 (tramp-get-remote-inotifywait): New defuns.
11604
11605 2013-07-03 Juri Linkov <juri@jurta.org>
11606
11607 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11608 call of `occur-read-primary-args' to interactive spec.
11609
11610 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11611 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11612
11613 2013-07-03 Matthias Meulien <orontee@gmail.com>
11614
11615 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11616 `Buffer-menu-multi-occur'. Add it to the menu.
11617 (Buffer-menu-mode): Document it in docstring.
11618 (Buffer-menu-multi-occur): New command. (Bug#14673)
11619
11620 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11621
11622 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11623 keywords and built-ins.
11624
11625 2013-07-03 Glenn Morris <rgm@gnu.org>
11626
11627 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11628
11629 Make info-xref checks case-sensitive by default
11630 * info.el (Info-find-node, Info-find-in-tag-table)
11631 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11632 Add option for exact case matching of nodes.
11633 * info-xref.el (info-xref): New custom group.
11634 (info-xref-case-fold): New option.
11635 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11636
11637 2013-07-03 Leo Liu <sdl.web@gmail.com>
11638
11639 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11640
11641 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11642
11643 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11644 middle of block statement initially, lower the depth. Remove
11645 FIXME comment, not longer valid. Remove middle of block statement
11646 detection, no need to do that anymore since we've been using
11647 `ruby-parse-region' here.
11648
11649 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11650
11651 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11652
11653 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11654
11655 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11656
11657 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11658
11659 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11660 (desktop-restore-in-current-display): New customization option.
11661 (desktop--excluded-frame-parameters): Add `font'.
11662 (desktop--save-frames): Rename from desktop--save-windows.
11663 (desktop--restore-in-this-display-p): New function.
11664 (desktop--make-full-frame): Remove unwanted width/height from
11665 full(width|height) frames.
11666 (desktop--restore-frames): Rename from desktop--restore-windows.
11667 Obey desktop-restore-current-display. Do not delete old frames or
11668 select a new frame unless we were able to restore at least one frame.
11669
11670 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11671
11672 * files.el (find-file-noselect): Simplify conditional expression.
11673
11674 * textmodes/remember.el (remember-append-to-file):
11675 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11676
11677 Add `remember-notes' function to store random notes across Emacs
11678 restarts.
11679 * textmodes/remember.el (remember-data-file): Add :set callback to
11680 affect notes buffer (if any).
11681 (remember-notes): New command.
11682 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11683 New defcustoms for the `remember-notes' function.
11684 (remember-notes-save-and-bury-buffer): New command.
11685 (remember-notes-mode-map): New variable.
11686 (remember-mode): New minor mode.
11687 (remember-notes--kill-buffer-query): New function.
11688 * startup.el (initial-buffer-choice): Add notes to custom type.
11689
11690 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11691
11692 * bindings.el (right-char, left-char): Don't call sit-for, this is
11693 no longer needed. Use arithmetic comparison only for numerical
11694 arguments.
11695
11696 * international/mule-cmds.el (select-safe-coding-system):
11697 Handle the case of FROM being a string correctly. (Bug#14755)
11698
11699 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11700
11701 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11702 progression on degenerate tables.
11703 (shr-rescale-image): ImageMagick animated images currently don't work.
11704
11705 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11706
11707 Some fixes and improvements for desktop frame restoration.
11708 It is still experimental and disabled by default.
11709 * desktop.el (desktop--save-windows): Put the selected frame at
11710 the head of the list.
11711 (desktop--make-full-frame): New function.
11712 (desktop--restore-windows): Try to re-select the frame that was
11713 selected upon saving. Do not abort if some frames fail to restore,
11714 just show an error message and continue. Set up maximized frames
11715 so they have default non-maximized dimensions.
11716
11717 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11718
11719 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11720 Don't start heredoc inside a string or comment.
11721
11722 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11723
11724 * bindings.el (visual-order-cursor-movement): New defcustom.
11725 (right-char, left-char): Provide visual-order cursor motion by
11726 calling move-point-visually. Update the doc strings.
11727
11728 2013-06-28 Kenichi Handa <handa@gnu.org>
11729
11730 * international/mule.el (define-coding-system): New coding system
11731 properties :inhibit-null-byte-detection,
11732 :inhibit-iso-escape-detection, and :prefer-utf-8.
11733 (set-buffer-file-coding-system): If :charset-list property of
11734 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11735 appropriate for setting.
11736
11737 * international/mule-cmds.el (select-safe-coding-system):
11738 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11739 multibyte characters, return utf-8 (or one of its siblings).
11740
11741 * international/mule-conf.el (prefer-utf-8): New coding system.
11742 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11743 files.
11744
11745 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11746
11747 * net/shr.el (shr-render-region): New function.
11748
11749 * net/eww.el: Autoload `eww-browse-url'.
11750
11751 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11752
11753 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11754 Adapt to `package-desc-version' being a list.
11755 Use `package--ac-desc-version' to retrieve version from a package
11756 archive element.
11757
11758 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11759
11760 New experimental feature to save&restore window and frame setup.
11761 * desktop.el (desktop-save-windows): New defcustom.
11762 (desktop--saved-states): New var.
11763 (desktop--excluded-frame-parameters): New defconst.
11764 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11765 (desktop--restore-windows, desktop--save-windows): New functions.
11766 (desktop-save): Call `desktop--save-windows'.
11767 (desktop-read): Call `desktop--restore-windows'.
11768
11769 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11770
11771 * net/shr.el (add-face-text-property): Remove compat definition.
11772
11773 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11774
11775 * info.el (Info-try-follow-nearest-node): Move search for footnote
11776 above search for node name to prevent missing a footnote (bug#14717).
11777
11778 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11779
11780 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11781
11782 2013-06-27 Leo Liu <sdl.web@gmail.com>
11783
11784 * net/eww.el (eww-read-bookmarks): Check file size.
11785
11786 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11787
11788 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11789 advice--pending if newdef is nil or an autoload (bug#13820).
11790 (advice-mapc): New function.
11791
11792 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11793
11794 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11795 probably.
11796 (eww-mode-map): Add a menu bar.
11797 (eww-add-bookmark): New command.
11798 (eww-bookmark-mode): New mode and commands.
11799 (eww-add-bookmark): Remove newlines from the title.
11800 (eww-bookmark-browse): Don't bug out if it's the only window.
11801
11802 2013-06-26 Glenn Morris <rgm@gnu.org>
11803
11804 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11805 (hfy-size): Handle ttys. (Bug#14668)
11806
11807 * info-xref.el: Update for Texinfo 5 change in *note format.
11808 (info-xref-node-re, info-xref-note-re): New constants.
11809 (info-xref-check-buffer): Use info-xref-note-re.
11810
11811 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11812
11813 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11814
11815 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11816 nil terminate the loop (bug#14718).
11817
11818 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11819
11820 * net/eww.el: Rework history traversal. When going forward/back,
11821 put these actions into the history, too, so that they can be
11822 replayed.
11823 (eww-render): Move the history reset to the correct buffer.
11824
11825 2013-06-25 Juri Linkov <juri@jurta.org>
11826
11827 * files-x.el (modify-dir-local-variable): Change the header comment
11828 in the file with directory local variables. (Bug#14692)
11829
11830 * files-x.el (read-file-local-variable-value): Add `default'.
11831 (Bug#14710)
11832
11833 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11834
11835 * net/eww.el (eww-make-unique-file-name): Create a unique file
11836 name before saving to entering `y' accidentally asynchronously.
11837
11838 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11839
11840 * net/eww.el (eww-download): New command and keystroke.
11841
11842 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11843
11844 * net/eww.el (eww-copy-page-url): Change name of command.
11845
11846 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11847 be more consistent with Info and dired.
11848
11849 * net/eww.el (eww-mode-map): Ditto.
11850
11851 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11852
11853 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11854 packages from archives.
11855 (package-archive-contents): Change format; include obsolete packages.
11856 (package-desc): Use `dir' to mark builtin packages.
11857 (package--from-builtin): Set the `dir' field to `builtin'.
11858 (generated-autoload-file, version-control): Declare.
11859 (package-compute-transaction): Change first arg and return value to be
11860 lists of package-descs. Adjust to new package-archive-contents format.
11861 (package--add-to-archive-contents): Adjust to new
11862 package-archive-contents format.
11863 (package-download-transaction): Arg is now a list of package-descs.
11864 (package-install): If `pkg' is a package name, pass it as
11865 a requirement, so it is subject to the usual (e.g. disabled) checks.
11866 (describe-package): Accept package-desc as well.
11867 (describe-package-1): Describe a specific package-desc. Add links to
11868 other package-descs for the same package name.
11869 (package-menu-describe-package): Pass the actual package-desc.
11870 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11871 works correctly.
11872 (package-desc-status): New function.
11873 (package-menu--refresh): New function, extracted
11874 from package-menu--generate.
11875 (package-menu--generate): Use it.
11876 (package-delete): Update package-alist.
11877 (package-menu-execute): Don't call package-initialize.
11878
11879 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11880 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11881 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11882 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11883 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11884 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11885
11886 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11887
11888 * window.el (window--state-get-1): Workaround for bug#14527.
11889 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11890
11891 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11892
11893 * net/eww.el (eww-back-url): Implement the history by stashing all
11894 the data into a list.
11895 (eww-forward-url): Allow going forward in the history, too.
11896
11897 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11898
11899 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11900 for values and use read--expression for expressions (bug#14710).
11901 (read-file-local-variable): Avoid setq.
11902 (read-file-local-variable-mode): Use minor-mode-list.
11903
11904 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11905
11906 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11907 for DOI URLs.
11908
11909 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11910
11911 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11912 Update imenu-support when dialect changes.
11913
11914 2013-06-25 Leo Liu <sdl.web@gmail.com>
11915
11916 * ido.el (ido-read-internal): Allow forward slash on windows.
11917
11918 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11919
11920 * net/eww.el (eww): Start of strings is \\`, not ^.
11921
11922 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11923
11924 * net/shr.el (shr-browse-url): Fix interactive spec.
11925
11926 * net/eww.el (eww): Add a trailing slash to domain names.
11927
11928 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11929
11930 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11931
11932 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11933
11934 * net/shr.el (shr-browse-url): Use an external browser if given a
11935 prefix.
11936
11937 * net/eww.el (eww-external-browser): Move to shr.
11938
11939 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11940
11941 * net/eww.el (eww): Work more correctly for file: URLs.
11942 (eww-detect-charset): Allow quoted charsets.
11943 (eww-yank-page-url): New command and keystroke.
11944
11945 2013-06-24 Daiki Ueno <ueno@gnu.org>
11946
11947 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11948 file name of gpg executable.
11949 (epg-context-program): New function.
11950 (epg-context-home-directory): New function.
11951 (epg-context-set-program): New function.
11952 (epg-context-set-home-directory): New function.
11953 (epg--start): Use `epg-context-program' instead of
11954 'epg-gpg-program'.
11955 (epg--list-keys-1): Likewise.
11956
11957 2013-06-24 Leo Liu <sdl.web@gmail.com>
11958
11959 * ido.el (ido-read-internal): Fix bug#14620.
11960
11961 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11962
11963 * faces.el (face-documentation): Simplify.
11964 (read-face-attribute, tty-find-type, x-resolve-font-name):
11965 Use `string-match-p'.
11966 (list-faces-display): Use `string-match-p'. Simplify.
11967 (face-spec-recalc): Check face to avoid face alias loops.
11968 (read-color): Use `string-match-p' and non-capturing parenthesis.
11969
11970 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11971
11972 * net/shr.el (shr-rescale-image): Use the new
11973 :max-width/:max-height functionality.
11974
11975 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11976
11977 * net/eww.el (eww-search-prefix): New variable.
11978 (eww): Use it.
11979 (eww-external-browser): New variable.
11980 (eww-mode-map): New keystroke.
11981 (eww-browse-with-external-browser): New command.
11982
11983 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11984
11985 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11986
11987 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11988 Don't skip aligning the next header field when padding is 0;
11989 otherwise, field width is not respected unless the title is as
11990 wide as the field.
11991
11992 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * emacs-lisp/package.el (package-el-version): Remove.
11995 (package-process-define-package): Fix inf-loop.
11996 (package-install): Allow symbols as arguments again.
11997
11998 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11999
12000 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12001 add some more keyword-like methods.
12002 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12003
12004 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12005
12006 * bs.el (bs-buffer-show-mark): Make defvar-local.
12007 (bs-mode): Use setq-local.
12008
12009 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12010 (emacs-lock--try-unlocking): Make defvar-local.
12011
12012 2013-06-22 Glenn Morris <rgm@gnu.org>
12013
12014 * play/cookie1.el (cookie-apropos): Minor simplification.
12015
12016 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12017
12018 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12019
12020 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12021 `regexp-opt', it breaks the build during dumping.
12022
12023 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12024
12025 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12026 Highlight keyword-like methods on Kernel and Module with
12027 font-lock-builtin-face.
12028 (auto-mode-alist): Consolidate different entries into one regexp
12029 and add more *file-s.
12030
12031 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12032
12033 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12034
12035 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12036 (diary-entry): Use it in the action of this button type instead of
12037 diary-goto-entry.
12038
12039 * calendar/todo-mode.el: New version.
12040 (todo-add-category): Append new category to end of file and give
12041 it the highest number, instead of putting it at the beginning and
12042 giving it 0. Incorporate noninteractive functionality.
12043 (todo-forward-category): Adapt to 1-based category numbering.
12044 Allow skipping over archived categories.
12045 (todo-backward-category): Derive from todo-forward-category.
12046 (todo-backward-item, todo-forward-item): Make noninteractive and
12047 delegate interactive part to new commands. Make sensitive to done items.
12048 (todo-categories): Make value an alist of category names and
12049 vectors of item counts.
12050 (todo-category-beg): Make a defconst.
12051 (todo-category-number): Use 1 instead of 0 as initial value.
12052 (todo-category-select): Make sensitive to overlays, optional item
12053 highlighting and done items.
12054 (todo-delete-item): Make sensitive to overlays and marked and done items.
12055 (todo-edit-item): Make sensitive to overlays and editing of
12056 date/time header optional. Add format checks.
12057 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12058 no-op if point is not on an item. Advertise using todo-edit-quit.
12059 (todo-edit-mode): Make sensitive to new format, font-locking, and
12060 multiple todo files.
12061 (todo-insert-item, todo-insert-item-here): Derive from
12062 todo-basic-insert-item and extend functionality.
12063 (todo-item-end, todo-item-start): Make sensitive to done items.
12064 (todo-item-string): Don't return text properties. Restore point.
12065 (todo-jump-to-category): Make sensitive to multiple todo files and
12066 todo archives. Use extended category completion.
12067 (todo-lower-item, todo-raise-item): Rename to *-priority and
12068 derive from todo-set-item-priority.
12069 (todo-mode): Derive from special-mode. Make sensitive to new
12070 format, font-locking and multiple todo files. Make read-only.
12071 (todo-mode-map): Don't suppress digit keys, so they can supply
12072 prefix arguments. Add many new key bindings.
12073 (todo-prefix): Insert as an overlay instead of file text.
12074 Change semantics from diary date expression to purely visual mark.
12075 (todo-print): Rename to todo-print-buffer. Make buffer display
12076 features printable. Remove option to restrict number of items
12077 printed. Add option to print to file.
12078 (todo-print-function): Rename to todo-print-buffer-function.
12079 (todo-quit): Extend to handle exiting new todo modes.
12080 (todo-remove-item): Make sensitive to overlays.
12081 (todo-save): Extend to buffers of filtered items.
12082 (todo-show): Make sensitive to done items, multiple todo files and
12083 new todo modes. Offer to convert legacy todo file before creating
12084 first new todo file.
12085 (todo-show-priorities): Rename to todo-top-priorities.
12086 Change semantics of value 0.
12087 (todo-top-priorities): Rename to todo-filter-top-priorities,
12088 derive from todo-filter-items and extend functionality.
12089 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12090 and extend functionality to other types of filtered items.
12091 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12092 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12093 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12094 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12095 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12096 (todo-edit-mode-hook, todo-entry-prefix-function)
12097 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12098 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12099 (todo-initials, todo-insert-threshold, todo-item-string-start)
12100 (todo-line-string, todo-menu, todo-mode-hook)
12101 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12102 (todo-print-priorities, todo-remove-separator)
12103 (todo-save-top-priorities-too, todo-string-count-lines)
12104 (todo-string-multiline-p, todo-time-string-format)
12105 (todo-tmp-buffer-name): Remove.
12106 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12107 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12108 (todo-edit-category-diary-inclusion)
12109 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12110 (todo-edit-file, todo-edit-item-date-day)
12111 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12112 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12113 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12114 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12115 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12116 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12117 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12118 (todo-filter-top-priorities-multifile, todo-find-archive)
12119 (todo-find-filtered-items-file, todo-go-to-source-item)
12120 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12121 (todo-jump-to-archive-category, todo-lower-category)
12122 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12123 (todo-move-category, todo-move-item, todo-next-button)
12124 (todo-next-item, todo-padded-string, todo-powerset)
12125 (todo-previous-button, todo-previous-item)
12126 (todo-print-buffer-to-file, todo-raise-category)
12127 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12128 (todo-set-category-number, todo-set-item-priority)
12129 (todo-set-top-priorities-in-category)
12130 (todo-set-top-priorities-in-file, todo-show-categories-table)
12131 (todo-sort-categories-alphabetically-or-numerically)
12132 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12133 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12134 (todo-toggle-item-header, todo-toggle-item-highlighting)
12135 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12136 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12137 (todo-unarchive-items, todo-unmark-category): New commands.
12138 (todo-absolute-file-name, todo-add-to-buffer-list)
12139 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12140 (todo-basic-insert-item, todo-category-completions)
12141 (todo-category-number, todo-category-string-matcher-1)
12142 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12143 (todo-check-format, todo-clear-matches)
12144 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12145 (todo-current-category, todo-date-string-matcher)
12146 (todo-define-insertion-command, todo-diary-expired-matcher)
12147 (todo-diary-goto-entry, todo-diary-item-p)
12148 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12149 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12150 (todo-done-item-section-p, todo-done-separator)
12151 (todo-done-string-matcher, todo-files, todo-filter-items)
12152 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12153 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12154 (todo-insert-category-line, todo-insert-item-from-calendar)
12155 (todo-insert-sort-button, todo-insert-with-overlays)
12156 (todo-insertion-command-name, todo-insertion-key-bindings)
12157 (todo-label-to-key, todo-longest-category-name-length)
12158 (todo-make-categories-list, todo-mode-external-set)
12159 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12160 (todo-modes-set-3, todo-multiple-filter-files)
12161 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12162 (todo-read-category, todo-read-date, todo-read-dayname)
12163 (todo-read-file-name, todo-read-time)
12164 (todo-reevaluate-category-completions-files-defcustom)
12165 (todo-reevaluate-default-file-defcustom)
12166 (todo-reevaluate-filelist-defcustoms)
12167 (todo-reevaluate-filter-files-defcustom)
12168 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12169 (todo-reset-done-separator, todo-reset-done-separator-string)
12170 (todo-reset-done-string, todo-reset-global-current-todo-file)
12171 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12172 (todo-reset-prefix, todo-set-categories)
12173 (todo-set-date-from-calendar, todo-set-show-current-file)
12174 (todo-set-top-priorities, todo-short-file-name)
12175 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12176 (todo-total-item-counts, todo-update-buffer-list)
12177 (todo-update-categories-display, todo-update-categories-sexp)
12178 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12179 New functions.
12180 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12181 New major modes.
12182 (todo-categories, todo-display, todo-edit, todo-faces)
12183 (todo-filtered): New defgroups.
12184 (todo-archived-only, todo-button, todo-category-string, todo-date)
12185 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12186 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12187 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12188 (todo-add-item-if-new-category, todo-always-add-time-string)
12189 (todo-categories-align, todo-categories-archived-label)
12190 (todo-categories-category-label, todo-categories-diary-label)
12191 (todo-categories-done-label, todo-categories-number-separator)
12192 (todo-categories-todo-label, todo-categories-totals-label)
12193 (todo-category-completions-files, todo-completion-ignore-case)
12194 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12195 (todo-done-separator-string, todo-done-string)
12196 (todo-files-function, todo-filter-done-items, todo-filter-files)
12197 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12198 (todo-initial-category, todo-initial-file, todo-item-mark)
12199 (todo-legacy-date-time-regexp, todo-mode-line-function)
12200 (todo-nondiary-marker, todo-number-prefix)
12201 (todo-print-buffer-function, todo-show-current-file)
12202 (todo-show-done-only, todo-show-first, todo-show-with-done)
12203 (todo-skip-archived-categories, todo-top-priorities-overrides)
12204 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12205 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12206 New defcustoms.
12207 (todo-category-done, todo-date-pattern, todo-date-string-start)
12208 (todo-diary-items-buffer, todo-done-string-start)
12209 (todo-filtered-items-buffer, todo-item-start)
12210 (todo-month-abbrev-array, todo-month-name-array)
12211 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12212 (todo-top-priorities-buffer): New defconsts.
12213 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12214 (todo-categories-with-marks, todo-category-string-face)
12215 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12216 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12217 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12218 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12219 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12220 (todo-font-lock-keywords, todo-global-current-todo-file)
12221 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12222 (todo-insertion-commands-args)
12223 (todo-insertion-commands-args-genlist)
12224 (todo-insertion-commands-names, todo-insertion-map)
12225 (todo-key-bindings-t, todo-key-bindings-t+a)
12226 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12227 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12228 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12229 (todo-visited): New variables.
12230
12231 2013-06-21 Glenn Morris <rgm@gnu.org>
12232
12233 * play/cookie1.el (cookie-apropos): Add optional display argument.
12234 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12235 (psychoanalyze-pinhead): Use cookie-doctor.
12236
12237 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12238
12239 * emacs-lisp/package.el (tar-get-file-descriptor)
12240 (tar--extract): Declare.
12241
12242 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12243
12244 Extend flymake's warning predicate to be a function (bug#14217).
12245 * progmodes/flymake.el (flymake-warning-predicate): New.
12246 (flymake-parse-line): Use it.
12247 (flymake-warning-re): Make obsolete alias to
12248 `flymake-warning-predicate'.
12249
12250 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12251
12252 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12253 (package-obsolete-list): Remove.
12254 (package-activate): Remove min-version argument. Add `force' argument.
12255 Adjust to new package-alist format.
12256 (package-mark-obsolete): Remove.
12257 (package-unpack): Force reload of the package's autoloads.
12258 (package-installed-p): Check builtins if the installed package is not
12259 recent enough.
12260 (package-initialize): Don't reset package-obsolete-list.
12261 Don't specify which package version to activate.
12262 (package-process-define-package, describe-package-1)
12263 (package-menu--generate): Adjust to new package-alist format.
12264
12265 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12266
12267 * allout-widgets.el (allout-widgets-mode-off)
12268 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12269 (allout-widgets-post-command-business)
12270 (allout-widgets-after-copy-or-kill-function)
12271 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12272 (allout-decorate-item-and-context)
12273 (allout-graphics-modification-handler): Fix typos in docstrings.
12274 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12275
12276 * cmuscheme.el (scheme-start-file): Doc fix.
12277 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12278 (scheme-input-filter): Use `string-match-p'.
12279
12280 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12281
12282 * dired-x.el: Use Dired consistently in docstrings.
12283
12284 * dired.el: Use Dired consistently in docstrings.
12285 (dired-readin, dired-mode): Use `setq-local'.
12286 (dired-switches-alist): Make defvar-local.
12287 (dired-buffers-for-dir): Use `zerop'.
12288 (dired-safe-switches-p, dired-switches-escape-p)
12289 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12290 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12291 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12292 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12293 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12294 (dired-toggle-marks, dired-mark-files-containing-regexp)
12295 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12296 (dired-flag-auto-save-files, dired-flag-backup-files):
12297 Use `looking-at-p'.
12298 (dired-mark-files-regexp, dired-build-subdir-alist):
12299 Use `string-match-p', `looking-at-p'.
12300
12301 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12302 (direct-print-region-helper): Use `string-match-p'.
12303
12304 2013-06-21 Leo Liu <sdl.web@gmail.com>
12305
12306 * comint.el (comint-redirect-results-list-from-process):
12307 Fix infinite loop.
12308
12309 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12310
12311 * net/eww.el (eww-update-header-line-format): Quote % characters.
12312
12313 2013-06-21 Glenn Morris <rgm@gnu.org>
12314
12315 * play/cookie1.el (cookie): New custom group.
12316 (cookie-file): New option.
12317 (cookie-check-file): New function.
12318 (cookie): Make it interactive. Make start and end messages optional.
12319 Interactively, display the result. Default to cookie-file.
12320 (cookie-insert): Default to cookie-file.
12321 (cookie-snarf): Make start and end messages optional.
12322 Default to cookie-file. Use with-temp-buffer.
12323 (cookie-read): Rename from read-cookie.
12324 Make start and end messages optional. Default to cookie-file.
12325 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12326 Do not autoload it.
12327 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12328 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12329
12330 2013-06-21 Leo Liu <sdl.web@gmail.com>
12331
12332 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12333
12334 2013-06-21 Glenn Morris <rgm@gnu.org>
12335
12336 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12337
12338 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12339 Daniel Hackney <dan@haxney.org>
12340
12341 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12342 Consolidate the single-file vs tarball code.
12343 (package-desc-suffix): New function.
12344 (package-desc-full-name): Don't bother inlining it.
12345 (package-load-descriptor): Return the new package-desc.
12346 (package-mark-obsolete): Remove unused arg `package'.
12347 (package-unpack): Make it work for single files as well.
12348 Make it update package-alist.
12349 (package--make-autoloads-and-stuff): Rename from
12350 package--make-autoloads-and-compile. Don't compile any more.
12351 (package--compile): New function.
12352 (package-generate-description-file): New function, extracted from
12353 package-unpack-single.
12354 (package-unpack-single): Remove.
12355 (package--with-work-buffer): Add indentation and debugging info.
12356 (package-download-single): Remove.
12357 (package-install-from-archive): Rename from package-download-tar, make
12358 it take a pkg-desc, and make it work for single files as well.
12359 (package-download-transaction): Simplify.
12360 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12361 external tar program.
12362 (package-install-from-buffer): Remove `pkg-desc' argument.
12363 Use package-tar-file-info for tar-mode buffers.
12364 (package-install-file): Simplify accordingly.
12365 (package-archive-base): Change to take a pkg-desc.
12366 * tar-mode.el (tar--check-descriptor): New function, extracted from
12367 tar-get-descriptor.
12368 (tar-get-descriptor): Use it.
12369 (tar-get-file-descriptor): New function.
12370 (tar--extract): New function, extracted from tar-extract.
12371 (tar--extract): Use it.
12372 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12373 case the summary uses non-ascii. Adjust to new calling convention of
12374 package-tar-file-info.
12375
12376 2013-06-21 Leo Liu <sdl.web@gmail.com>
12377
12378 * comint.el (comint-redirect-results-list-from-process):
12379 Fix random delay. (Bug#14681)
12380
12381 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12382
12383 * profiler.el (profiler-format-number): Use log, not log10.
12384
12385 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12386
12387 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12388
12389 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12390
12391 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12392 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12393 yet available.
12394 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12395 (AUTOGENEL): ... here.
12396 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12397 (cl--defsubst-expand): Use it.
12398
12399 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12400
12401 * subr.el (log10): Move here from C code, and declare as obsolete.
12402 All uses of (log10 X) replaced with (log X 10).
12403
12404 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12405
12406 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12407 Declare with `defvar-local'.
12408 (tabulated-list-use-header-line, tabulated-list-entries)
12409 (tabulated-list-padding, tabulated-list-printer)
12410 (tabulated-list-sort-key): Declare with `defvar-local'.
12411 (tabulated-list-init-header, tabulated-list-print-fake-header):
12412 Use `setq-local'.
12413
12414 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12415
12416 * arc-mode.el (archive-mode): Add `archive-write-file' to
12417 `write-contents-functions' also for remote files. (Bug#14652)
12418
12419 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12420
12421 * cus-edit.el (custom-commands): Fix typos.
12422 (custom-display): Fix tooltip text.
12423 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12424 Fix typos in docstrings.
12425 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12426 (custom-unlispify-menu-entry, custom-magic-value-create)
12427 (custom-add-see-also, custom-group-value-create): Use ?\s.
12428 (custom-guess-type, customize-apropos, editable-field)
12429 (custom-face-value-create): Use `string-match-p'.
12430 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12431
12432 * custom.el (custom-load-symbol): Use `string-match-p'.
12433
12434 * ansi-color.el: Convert to lexical binding.
12435 (ansi-colors): Fix URL.
12436 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12437 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12438 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12439
12440 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12441
12442 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12443
12444 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12445
12446 2013-06-19 Tom Tromey <tromey@redhat.com>
12447
12448 * net/eww.el (eww-top-url): Remove.
12449 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12450 (eww-render): Set new variables. Don't set eww-top-url.
12451 (eww-handle-link): Handle "prev", "home", and "contents".
12452 Downcase the rel text.
12453 (eww-top-url): Choose best top URL.
12454
12455 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12456
12457 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12458 relying in widget.el. Using widget.el leads to too many
12459 user interface inconsistencies.
12460 (eww-self-insert): Implement entering commands in text fields.
12461 (eww-process-text-input): New function to make text input field editing
12462 work.
12463 (eww-submit): Rewrite to use the new-style form methods.
12464 (eww-select-display): Display the correct selected item.
12465 (eww-change-select): Implement changing the select value.
12466 (eww-toggle-checkbox): Implement radio/checkboxes.
12467 (eww-update-field): Fix compilation error.
12468 (eww-tag-textarea): Implement <textarea>.
12469
12470 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12471 we don't shadow mode-specific bindings.
12472
12473 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12474 nothing to push.
12475
12476 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12477
12478 2013-06-19 Glenn Morris <rgm@gnu.org>
12479
12480 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12481
12482 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12483
12484 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12485 not needed.
12486
12487 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12488
12489 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12490
12491 * net/browse-url.el (browse-url-browser-function):
12492 `eww-browse-url' has the right calling signature, `eww' does not.
12493
12494 2013-06-19 Glenn Morris <rgm@gnu.org>
12495
12496 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12497 Only eval autoloaded macros.
12498 (byte-compile-autoload): Only give the macro warning for macros.
12499
12500 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12501 (ps-underlined-faces): Declare.
12502
12503 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12504 (speedbar-add-supported-extension): Declare.
12505
12506 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12507 Don't include a date stamp in the header of the generated file;
12508 it leads to needless differences between output files.
12509
12510 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12511
12512 * net/secrets.el (secrets-struct-secret-content-type):
12513 Replace check of introspection data by a test call of "CreateItem".
12514 Some servers do not offer introspection.
12515
12516 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12517
12518 * electric.el (electric-pair-mode): Improve interaction with
12519 electric-layout-mode.
12520 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12521 (electric-pair-syntax): Use text-mode-syntax-table in comments
12522 and strings.
12523 (electric-pair--insert): New function.
12524 (electric-pair-post-self-insert-function): Use it and
12525 electric--after-char-pos.
12526
12527 2013-06-19 Leo Liu <sdl.web@gmail.com>
12528
12529 * progmodes/octave.el (octave-help): Fix regexp.
12530
12531 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12532
12533 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12534 (shr-table-horizontal-line): Allow nil as a value, and change the
12535 default.
12536 (shr-insert-table-ruler): Respect the nil value.
12537
12538 2013-06-18 Tom Tromey <tromey@barimba>
12539
12540 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12541 New defvars.
12542 (eww-open-file): New defun.
12543 (eww-render): Initialize new variables.
12544 (eww-display-html): Handle "link" and "a".
12545 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12546 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12547 (eww-back-url): Rename from eww-previous-url.
12548 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12549 New defuns.
12550
12551 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12552
12553 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12554 Distinguish ternary operator tokens from slash symbol and slash
12555 char literal.
12556
12557 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12558
12559 Convert symbol prettification into minor mode and global minor mode.
12560
12561 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12562 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12563 (prettify-symbols--keywords): Rename from
12564 `prog-prettify-symbols-alist' and make a local defvar.
12565 (prettify-symbols--compose-symbol): Rename from
12566 `prog--prettify-font-lock-compose-symbol'.
12567 (prettify-symbols--make-keywords): Rename from
12568 `prog-prettify-font-lock-symbols-keywords' and simplify.
12569 (prog-prettify-install): Remove.
12570 (prettify-symbols-mode): New minor mode, based on
12571 `prog-prettify-install'.
12572 (turn-on-prettify-symbols-mode): New function.
12573 (global-prettify-symbols-mode): New globalized minor mode.
12574
12575 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12576 * progmodes/cfengine.el (cfengine3-mode):
12577 * progmodes/perl-mode.el (perl-mode): Don't call
12578 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12579
12580 2013-06-18 Juri Linkov <juri@jurta.org>
12581
12582 * files-x.el (modify-file-local-variable-message): New function.
12583 (modify-file-local-variable)
12584 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12585 and call `modify-file-local-variable-message' when it's non-nil.
12586 (add-file-local-variable, delete-file-local-variable)
12587 (add-file-local-variable-prop-line)
12588 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12589 and use it. (Bug#9820)
12590
12591 2013-06-18 Juri Linkov <juri@jurta.org>
12592
12593 * emulation/vi.el (vi-shell-op):
12594 * emulation/vip.el (vip-execute-com, ex-command):
12595 * emulation/viper-cmd.el (viper-exec-bang):
12596 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12597 the call of `shell-command-on-region'. (Bug#14637)
12598
12599 * simple.el (shell-command-on-region): Doc fix.
12600
12601 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12604 (bug#14633).
12605
12606 2013-06-18 Glenn Morris <rgm@gnu.org>
12607
12608 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12609
12610 * newcomment.el (comment-search-forward, comment-search-backward):
12611 Doc fix. (Bug#14376)
12612
12613 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12614
12615 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12616 (buffer-face-mode-invoke): Doc fix.
12617
12618 2013-06-18 Matthias Meulien <orontee@gmail.com>
12619
12620 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12621 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12622
12623 2013-06-18 Glenn Morris <rgm@gnu.org>
12624
12625 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12626 Replace obsolete function generic-make-keywords with its expansion.
12627
12628 * progmodes/python.el (ffap-alist): Declare.
12629
12630 * textmodes/reftex.el (bibtex-mode-map): Declare.
12631
12632 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12633
12634 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12635 (package-unpack, package-unpack-single): Return the pkg-dir.
12636 (package-download-transaction): Use it to update package-alist.
12637
12638 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12639
12640 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12641 possible choice.
12642
12643 2013-06-17 Juri Linkov <juri@jurta.org>
12644
12645 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12646
12647 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12648
12649 * emacs-lisp/package.el (package-load-descriptor):
12650 Remove `with-syntax-table' call, `read' doesn't need it.
12651 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12652
12653 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12654
12655 * startup.el (command-line): Expand package name returned by
12656 `package--description-file' (bug#14639).
12657
12658 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12659
12660 * emacs-lisp/package.el (package-load-descriptor): Do not call
12661 `emacs-lisp-mode', just use its syntax table.
12662
12663 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12664
12665 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12666 `font-lock-extra-managed-props' if any prettifying keyword is added.
12667 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12668 (prog-mode): Use `setq-local'.
12669
12670 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * international/characters.el (standard-case-table): Set syntax of ?»
12673 and ?« to punctuation.
12674
12675 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12676
12677 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12678 Save relevant match data before calling `syntax-ppss' (bug#14595).
12679
12680 2013-06-15 Juri Linkov <juri@jurta.org>
12681
12682 * files-x.el (modify-file-local-variable-prop-line): Add local
12683 variables to the end of the existing comment on the first line.
12684 Use `file-auto-mode-skip' to skip interpreter magic line,
12685 and also skip XML declaration.
12686
12687 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 * startup.el (package--builtin-versions): New var.
12690 (package-subdirectory-regexp): Remove.
12691 (package--description-file): Hard code its value instead.
12692
12693 * emacs-lisp/package.el: Don't activate packages older than builtin.
12694 (package-obsolete-list): Rename from package-obsolete-alist, and make
12695 it into a simple list of package-desc.
12696 (package-strip-version): Remove.
12697 (package-built-in-p): Use package--builtin-versions.
12698 (package-mark-obsolete): Simplify.
12699 (package-process-define-package): Mark it obsolete if older than the
12700 builtin version.
12701 (package-handle-response): Use line-end-position.
12702 (package-read-archive-contents, package--download-one-archive):
12703 Simplify.
12704 (package--add-to-archive-contents): Skip if older than the builtin or
12705 installed version.
12706 (package-menu-describe-package): Fix last change.
12707 (package-list-unversioned): New var.
12708 (package-menu--generate): Use it.
12709
12710 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12711 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12712 (autoload-builtin-package-versions): New variable.
12713 (autoload-generate-file-autoloads): Use them.
12714 Remove the list of autoloaded functions/macros from the
12715 (autoload...) comments.
12716
12717 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12718
12719 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12720
12721 * simple.el (line-move-partial): Don't jump to the next screen
12722 line as soon as it becomes visible. Instead, continue enlarging
12723 the vscroll until the portion of a tall screen line that's left on
12724 display is about the height of the frame's default font.
12725 (Bug#14567)
12726
12727 2013-06-15 Glenn Morris <rgm@gnu.org>
12728
12729 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12730 compilation-error-regexp-alist void, or local while let-bound.
12731
12732 * progmodes/make-mode.el (makefile-mode-syntax-table):
12733 Treat "=" as punctuation. (Bug#14614)
12734
12735 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12736
12737 * help-fns.el (describe-variable):
12738 Add extra line for permanent-local variables.
12739
12740 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12741
12742 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12743 Add export, import, library. (Bug#9164)
12744 (library): Set indent function.
12745
12746 2013-06-14 Glenn Morris <rgm@gnu.org>
12747
12748 * term/xterm.el (xterm--query):
12749 Stop after first matching handler. (Bug#14615)
12750
12751 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12752
12753 Add support for dired in saveplace.
12754 * dired.el (dired-initial-position-hook): New variable.
12755 (dired-initial-position): Call hook to place cursor position.
12756 * saveplace.el (save-place-to-alist): Add dired position.
12757 (save-place-dired-hook): New function.
12758
12759 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12762 through a symbol rather than letrec.
12763
12764 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12765 (package-desc): Add `dir' field.
12766 (package-desc-full-name): New function.
12767 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12768 (package-maybe-load-descriptor): Remove.
12769 (package-load-all-descriptors): Just call package-load-descriptor.
12770 (package--disabled-p): New function.
12771 (package-desc-vers, package-desc-doc): Remove aliases.
12772 (package--dir): Remove function.
12773 (package-activate): Check if a package is disabled.
12774 (package-process-define-package): New function, extracted from
12775 define-package.
12776 (define-package): Turn into a place holder.
12777 (package-unpack-single, package-tar-file-info):
12778 Use package--description-file.
12779 (package-compute-transaction): Use package--disabled-p.
12780 (package-download-transaction): Don't call
12781 package-maybe-load-descriptor since they're all loaded anyway.
12782 (package-install): Change argument to be a pkg-desc.
12783 (package-delete): Use a single pkg-desc argument.
12784 (describe-package-1): Use package-desc-dir instead of package--dir.
12785 Use package-desc property instead of package-symbol.
12786 (package-install-button-action): Adjust accordingly.
12787 (package--push): Rewrite.
12788 (package-menu--print-info): Adjust accordingly. Change the ID format
12789 to be a pkg-desc.
12790 (package-menu-describe-package, package-menu-get-status)
12791 (package-menu--find-upgrades, package-menu-mark-upgrades)
12792 (package-menu-execute, package-menu--name-predicate):
12793 Adjust accordingly.
12794 * startup.el (package--description-file): New function.
12795 (command-line): Use it.
12796 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12797 Use package-desc-version.
12798
12799 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12800 (byte-compile-preprocess): Use it.
12801 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12802 can't quite recognize.
12803 (byte-compile-add-to-list): Remove.
12804 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12805 (cconv-closure-convert): Add assertion.
12806
12807 * emacs-lisp/map-ynp.el: Use lexical-binding.
12808 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12809 Factor out some repeated code.
12810
12811 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12812
12813 * subr.el (with-eval-after-load): New macro.
12814 (eval-after-load): Allow form to be a function.
12815 take advantage of lexical-binding.
12816 (do-after-load-evaluation): Use dolist and adjust to new format.
12817 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12818
12819 2013-06-13 Juri Linkov <juri@jurta.org>
12820
12821 * replace.el (perform-replace): Display "symbol " and other search
12822 modes from `isearch-message-prefix' in the *Help* buffer.
12823
12824 * isearch.el (isearch-query-replace): Add " symbol" and other
12825 possible search modes from `isearch-message-prefix' to the prompt.
12826 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12827 when reading a regexp to collect.
12828
12829 2013-06-13 Juri Linkov <juri@jurta.org>
12830
12831 * isearch.el (word-search-regexp): Match whitespace if the search
12832 string begins or ends in whitespace. The LAX arg is applied to
12833 both ends of the search string. Use `regexp-quote' and explicit
12834 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12835 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12836 boundaries are replaced with symbol boundaries, and characters
12837 between symbols match non-word non-symbol syntax. (Bug#14602)
12838
12839 2013-06-13 Juri Linkov <juri@jurta.org>
12840
12841 * isearch.el (isearch-del-char): Don't exceed the length of
12842 `isearch-string' by the prefix arg. (Bug#14563)
12843
12844 2013-06-13 Juri Linkov <juri@jurta.org>
12845
12846 * isearch.el (isearch-yank-word, isearch-yank-line)
12847 (isearch-char-by-name, isearch-quote-char)
12848 (isearch-printing-char, isearch-process-search-char):
12849 Add optional count prefix arg. (Bug#14563)
12850
12851 * international/isearch-x.el
12852 (isearch-process-search-multibyte-characters):
12853 Add optional count prefix arg.
12854
12855 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12856
12857 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12858 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12859 lexical-binding.
12860
12861 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12862
12863 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12864
12865 2013-06-13 Glenn Morris <rgm@gnu.org>
12866
12867 * startup.el (tty-handle-args):
12868 Don't just discard "--" and anything after. (Bug#14608)
12869
12870 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12871
12872 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12873
12874 Implement changes in Secret Service API. Make it backward compatible.
12875 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12876 (secrets-create-item): Use it. Prefix properties with interface.
12877
12878 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12879
12880 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12881 (term-emulate-terminal): Respect term-suppress-hard-newline.
12882
12883 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12884
12885 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12886 Only remove a `thumb-file' overlay. (Bug#14548)
12887
12888 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12889
12890 * mail/reporter.el (reporter-submit-bug-report):
12891 Handle missing package-name. (Bug#14600)
12892
12893 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12894
12895 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12896 (reftex-citation-prompt, reftex-default-bibliography)
12897 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12898 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12899 (reftex-bib-sort-author, reftex-bib-sort-year)
12900 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12901 (reftex-extract-bib-entries-from-thebibliography)
12902 (reftex-get-bibkey-default, reftex-get-bib-names)
12903 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12904 (reftex-format-bib-entry, reftex-parse-bibitem)
12905 (reftex-format-bibitem, reftex-do-citation)
12906 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12907 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12908 (reftex-insert-bib-matches, reftex-format-citation)
12909 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12910 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12911 existing comments into docstrings.
12912
12913 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12914
12915 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12916
12917 2013-06-12 Andreas Schwab <schwab@suse.de>
12918
12919 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12920 for auto-save files.
12921
12922 2013-06-12 Glenn Morris <rgm@gnu.org>
12923
12924 * ido.el (ido-delete-ignored-files): Remove.
12925 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12926 Go back to calling ido-ignore-item-p directly.
12927
12928 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12929
12930 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12931
12932 * ido.el (ido-delete-ignored-files): New function,
12933 split from ido-make-file-list-1.
12934 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12935 (ido-make-file-list-1): Use ido-delete-ignored-files.
12936
12937 2013-06-12 Leo Liu <sdl.web@gmail.com>
12938
12939 * progmodes/octave.el (inferior-octave-startup)
12940 (inferior-octave-completion-table)
12941 (inferior-octave-track-window-width-change)
12942 (octave-eldoc-function-signatures, octave-help)
12943 (octave-find-definition): Use single quoted strings.
12944 (inferior-octave-startup-args): Change default value.
12945 (inferior-octave-startup): Do not hard code "-i" and
12946 "--no-line-editing".
12947 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12948 (inferior-octave-directory-tracker): Use it.
12949 (octave-goto-function-definition): Robustify.
12950 (octave-help): Support highlighting operators in 'See also'.
12951 (octave-find-definition): Find subfunctions only in Octave mode.
12952
12953 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12954
12955 * help-fns.el (help-fns--compiler-macro): If the handler function is
12956 named, then put a link to it.
12957 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12958 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12959 (cl-typep): Use it.
12960 (cl-eval-when): Simplify debug spec.
12961 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12962 compiler-macro function instead of setting `compiler-macro-file'.
12963
12964 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12965
12966 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12967 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12968
12969 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12970 Daniel Hackney <dan@haxney.org>
12971
12972 First part of Daniel Hackney's patch to package.el.
12973 * emacs-lisp/package.el: Use defstruct.
12974 (package-desc): New, main struct.
12975 (package--bi-desc, package--ac-desc): New structs, used to describe the
12976 format in external files.
12977 (package-desc-vers): Replace with package-desc-version accessor.
12978 (package-desc-doc): Replace with package-desc-summary accessor.
12979 (package-activate-1): Remove `package' arg since the pkg-vec now
12980 includes the name.
12981 (define-package): Use package-desc-from-define.
12982 (package-unpack-single): Change file-name arg to be a symbol.
12983 (package--add-to-archive-contents): Use package-desc-create and new
12984 accessor functions to package--ac-desc.
12985 (package-buffer-info, package-tar-file-info): Return a package-desc.
12986 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12987 arg to be a package-desc.
12988 (package-install-file): Adjust accordingly. Use \' to match EOS.
12989 (package--from-builtin): New function.
12990 (describe-package-1, package-menu--generate): Use it.
12991 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12992 (package-generate-autoloads): Idem and return the name of the file.
12993 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12994 Change pkg-info arg to be a package-desc.
12995 Use package-make-ac-desc.
12996 (package-upload-file): Use \' to match EOS.
12997 * finder.el (finder-compile-keywords): Use package-make-builtin.
12998
12999 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13000
13001 * vc/vc.el (vc-deduce-fileset): Change error message.
13002 (vc-read-backend): New function.
13003 (vc-next-action): Use it.
13004
13005 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13006
13007 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13008 (prolog-font-lock-keywords): Use regexp-opt instead.
13009 Don't manually highlight strings.
13010 (prolog-mode-variables): Simplify comment-start-skip.
13011 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13012
13013 * emacs-lisp/generic.el (generic--normalise-comments)
13014 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13015 (generic-mode-set-comments): Use them.
13016 (generic-bracket-support): Use setq-local.
13017 (generic-make-keywords-list): Declare obsolete.
13018
13019 2013-06-11 Glenn Morris <rgm@gnu.org>
13020
13021 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13022 Prettify after setting font-lock-defaults. (Bug#14574)
13023
13024 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13025
13026 * replace.el (query-replace, occur-read-regexp-defaults-function)
13027 (replace-search):
13028 * subr.el (declare-function, number-sequence, local-set-key)
13029 (substitute-key-definition, locate-user-emacs-file)
13030 (with-silent-modifications, split-string, eval-after-load):
13031 Fix typos, remove unneeded backslashes and reflow some docstrings.
13032
13033 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13034
13035 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13036 default for Elisp files.
13037
13038 2013-06-11 Glenn Morris <rgm@gnu.org>
13039
13040 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13041 although define-derived-mode was doing this anyway. (Bug#14583)
13042
13043 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13044
13045 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13046 Fix make-variable-buffer-local call to refer to the correct variable.
13047
13048 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13049
13050 * eshell/em-term.el (eshell-visual-commands)
13051 (eshell-visual-subcommands, eshell-visual-options):
13052 Add summary line to docstrings. Add cross-references.
13053
13054 2013-06-10 Glenn Morris <rgm@gnu.org>
13055
13056 * epa.el (epa-read-file-name): New function. (Bug#14510)
13057 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13058
13059 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13060
13061 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13062 output redirection to be ignored with visual commands.
13063
13064 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13065
13066 * eshell/em-term.el (eshell-visual-command-p): New function.
13067 (eshell-term-initialize): Move long lambda to separate function
13068 eshell-visual-command-p.
13069 * eshell/em-dirs.el (eshell-dirs-initialize):
13070 * eshell/em-script.el (eshell-script-initialize):
13071 Add missing #' to lambda.
13072
13073 2013-06-08 Leo Liu <sdl.web@gmail.com>
13074
13075 * progmodes/octave.el (octave-add-log-current-defun): New function.
13076 (octave-mode): Set add-log-current-defun-function.
13077 (octave-goto-function-definition): Do not move point if not found.
13078 (octave-find-definition): Enhance to try subfunctions first.
13079
13080 2013-06-08 Glenn Morris <rgm@gnu.org>
13081
13082 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13083 (byte-compile-backward-char, byte-compile-backward-word):
13084 Improve previous change, to handle non-explicit nil.
13085
13086 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13089 (smie--opener/closer-at-point): New function.
13090 (smie--matching-block-data): Use it. Don't match from right after an
13091 opener or right before a closer. Obey smie-blink-matching-inners.
13092 Don't signal a mismatch for repeated inners like "switch..case..case".
13093
13094 2013-06-07 Leo Liu <sdl.web@gmail.com>
13095
13096 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13097 to t. (Bug#14303)
13098 (octave-function-header-regexp): Fix. (Bug#14570)
13099 (octave-help-mode-finish-hook, octave-help-mode-finish):
13100 Remove. Just use temp-buffer-show-hook.
13101
13102 * newcomment.el (comment-search-backward): Revert last change.
13103 (Bug#14434)
13104
13105 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13106
13107 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13108
13109 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13110 through xargs, to avoid failure due to MS-Windows limitations on
13111 command-line length.
13112
13113 2013-06-06 Glenn Morris <rgm@gnu.org>
13114
13115 * font-lock.el (lisp-font-lock-keywords-2):
13116 Treat user-error like error.
13117
13118 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13119 (byte-compile-backward-char, byte-compile-backward-word):
13120 Handle explicit nil arguments. (Bug#14565)
13121
13122 2013-06-05 Alan Mackenzie <acm@muc.de>
13123
13124 * isearch.el (isearch-allow-prefix): New user option.
13125 (isearch-other-meta-char): Don't exit isearch when a prefix
13126 argument is typed whilst `isearch-allow-prefix' is non-nil.
13127 (Bug#9706)
13128
13129 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * autorevert.el (auto-revert-notify-handler): Use memq.
13132 Hide assertion failure.
13133
13134 * skeleton.el: Use cl-lib.
13135 (skeleton-further-elements): Use defvar-local.
13136 (skeleton-insert): Use cl-progv.
13137
13138 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13139
13140 * progmodes/prog-mode.el (prog-prettify-symbols)
13141 (prog-prettify-install): Update docstrings.
13142
13143 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13144
13145 * simple.el: Move all the prog-mode code to prog-mode.el.
13146 * progmodes/prog-mode.el: New file.
13147 * loadup.el: Add prog-mode.el.
13148
13149 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13150
13151 * simple.el (prog-prettify-symbols): Add version.
13152 (prog-prettify-install): Add convenience function to prettify symbols.
13153
13154 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13155 (perl--augmented-font-lock-keywords-1)
13156 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13157 variables and use it.
13158
13159 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13160 (cfengine3-mode): Remove unneeded variable and use it.
13161
13162 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13163 (lisp--augmented-font-lock-keywords-1)
13164 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13165 Remove unneeded variables and use it.
13166
13167 2013-06-05 João Távora <joaotavora@gmail.com>
13168
13169 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13170 to point when opening the connection. (Bug#14380)
13171
13172 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13173
13174 * subr.el (load-history-regexp, load-history-filename-element)
13175 (eval-after-load, after-load-functions, do-after-load-evaluation)
13176 (eval-next-after-load, display-delayed-warnings)
13177 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13178 definition of save-match-data.
13179 (overriding-local-map): Remove accidental obsolescence declaration.
13180
13181 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13182
13183 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13184
13185 Generalize symbol prettify support to prog-mode and implement it
13186 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13187 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13188 (prog--prettify-font-lock-compose-symbol)
13189 (prog-prettify-font-lock-symbols-keywords): New variables and
13190 functions to support symbol prettification.
13191 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13192 (lisp--augmented-font-lock-keywords-1)
13193 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13194 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13195 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13196 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13197 Implement prettify of -> => :: strings.
13198 * progmodes/perl-mode.el (perl-prettify-symbols)
13199 (perl--font-lock-compose-symbol)
13200 (perl--font-lock-symbols-keywords): Move to prog-mode.
13201 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13202 (perl-font-lock-keywords-1)
13203 (perl-font-lock-keywords-2): Remove explicit prettify support.
13204 (perl--augmented-font-lock-keywords)
13205 (perl--augmented-font-lock-keywords-1)
13206 (perl--augmented-font-lock-keywords-2, perl-mode):
13207 Implement prettify support.
13208
13209 2013-06-05 Leo Liu <sdl.web@gmail.com>
13210
13211 Re-implement SMIE matching block highlight using
13212 show-paren-data-function. (Bug#14395)
13213 * emacs-lisp/smie.el (smie-matching-block-highlight)
13214 (smie--highlight-matching-block-overlay)
13215 (smie--highlight-matching-block-lastpos)
13216 (smie-highlight-matching-block)
13217 (smie-highlight-matching-block-mode): Remove.
13218 (smie--matching-block-data-cache): New variable.
13219 (smie--matching-block-data): New function.
13220 (smie-setup): Use smie--matching-block-data for
13221 show-paren-data-function.
13222
13223 * progmodes/octave.el (octave-mode-menu): Fix.
13224 (octave-find-definition): Skip garbage lines.
13225
13226 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13227
13228 Fix compilation error with simultaneous dynamic+lexical scoping.
13229 Add warning when a defvar appears after the first let-binding.
13230 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13231 (byte-compile-close-variables): Initialize it.
13232 (byte-compile--declare-var): New function.
13233 (byte-compile-file-form-defvar)
13234 (byte-compile-file-form-define-abbrev-table)
13235 (byte-compile-file-form-custom-declare-variable): Use it.
13236 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13237 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13238 (byte-compile-bind): Handle dynamic bindings that shadow
13239 lexical bindings.
13240 (byte-compile-unbind): Make arg non-optional.
13241 (byte-compile-let): Simplify.
13242 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13243 (cconv--analyse-function, cconv-analyse-form): Populate it.
13244 Protect byte-compile-bound-variables to limit the scope of defvars.
13245 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13246 Remove unneeded rule for `declare'.
13247
13248 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13249 so as to avoid depending on cl-adjoin at run-time.
13250 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13251
13252 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13253 (macroexp--warn-and-return): Use it.
13254
13255 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13256
13257 * subr.el: Convert to lexical binding.
13258 (overriding-local-map): Make obsolete.
13259 (add-to-list): Doc fix. Add compiler macro.
13260 (read-key): Swap values of local maps.
13261
13262 2013-06-05 Leo Liu <sdl.web@gmail.com>
13263
13264 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13265
13266 2013-06-04 Leo Liu <sdl.web@gmail.com>
13267
13268 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13269 (compilation-auto-jump): Suppress the "Mark set" message to give
13270 way to exit message.
13271
13272 2013-06-04 Alan Mackenzie <acm@muc.de>
13273
13274 Remove faulty optimisation from indentation calculation.
13275 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13276 search limit based on 2000 characters back from indent-point.
13277
13278 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13279
13280 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13281
13282 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13283
13284 * emacs-lisp/lisp.el: Use lexical-binding.
13285 (lisp--local-variables-1, lisp--local-variables): New functions.
13286 (lisp--local-variables-completion-table): New var.
13287 (lisp-completion-at-point): Use it complete let-bound vars.
13288
13289 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13290 eagerly (bug#14422).
13291
13292 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13293
13294 * autorevert.el (auto-revert-notify-enabled)
13295 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13296 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13297 (auto-revert-notify-handler): Handle also gfilenotify.
13298
13299 * subr.el (file-notify-handle-event): New defun. Replacing ...
13300 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13301 Remove.
13302
13303 2013-06-03 Juri Linkov <juri@jurta.org>
13304
13305 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13306 `M-s h .'. (Bug#14427)
13307
13308 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13309 command `hi-lock-face-symbol-at-point'.
13310 (hi-lock-face-symbol-at-point): New command.
13311 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13312 (hi-lock-menu): Add `highlight-symbol-at-point'.
13313 (hi-lock-mode): Doc fix.
13314
13315 * isearch.el (isearch-forward-symbol-at-point): New command.
13316 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13317 (isearch-highlight-regexp): Add a regexp which matches
13318 words/symbols for word/symbol mode.
13319
13320 * subr.el (find-tag-default-bounds): New function with the body
13321 mostly moved from `find-tag-default'.
13322 (find-tag-default): Move most code to `find-tag-default-bounds',
13323 call it and apply `buffer-substring-no-properties' afterwards.
13324
13325 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13326
13327 * eshell/em-term.el (eshell-term-initialize):
13328 Use `cl-intersection' rather than `intersection'.
13329
13330 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13331
13332 * vc/log-view.el: Doc fix.
13333 (log-view-mode-map): Copy keymap from `special-mode-map'.
13334
13335 2013-06-02 Eric Ludlam <zappo@gnu.org>
13336
13337 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13338 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13339 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13340 (eieio-unbound, eieio-default-superclass)
13341 (eieio--define-field-accessors, method-static, method-before)
13342 (method-primary, method-after, method-num-lists)
13343 (method-generic-before, method-generic-primary)
13344 (method-generic-after, method-num-slots)
13345 (eieio-specialized-key-to-generic-key)
13346 (eieio--check-type, class-v, class-p)
13347 (eieio-class-name, define-obsolete-function-alias)
13348 (eieio-class-parents-fast, eieio-class-children-fast)
13349 (same-class-fast-p, class-constructor, generic-p)
13350 (generic-primary-only-p, generic-primary-only-one-p)
13351 (class-option-assoc, class-option, eieio-object-p)
13352 (class-abstract-p, class-method-invocation-order)
13353 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13354 (eieio-class-un-autoload, eieio-defclass)
13355 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13356 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13357 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13358 (eieio-defgeneric-reset-generic-form)
13359 (eieio-defgeneric-form-primary-only)
13360 (eieio-defgeneric-reset-generic-form-primary-only)
13361 (eieio-defgeneric-form-primary-only-one)
13362 (eieio-defgeneric-reset-generic-form-primary-only-one)
13363 (eieio-unbind-method-implementations)
13364 (eieio--defmethod, eieio--typep)
13365 (eieio-perform-slot-validation, eieio-validate-slot-value)
13366 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13367 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13368 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13369 (eieio-slot-name-index, eieio-class-slot-name-index)
13370 (eieio-set-defaults, eieio-initarg-to-attribute)
13371 (eieio-attribute-to-initarg, eieio-c3-candidate)
13372 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13373 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13374 (eieio-class-precedence-list, eieio-generic-call-methodname)
13375 (eieio-generic-call-arglst, eieio-generic-call-key)
13376 (eieio-generic-call-next-method-list)
13377 (eieio-pre-method-execution-functions, eieio-generic-call)
13378 (eieio-generic-call-primary-only, eieiomt-method-list)
13379 (eieiomt-optimizing-obarray, eieiomt-install)
13380 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13381 (eieio-generic-form, eieio-defmethod, make-obsolete)
13382 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13383 (defclass): Remove `eval-and-compile' from macro.
13384 (call-next-method, shared-initialize): Instead of using
13385 `scoped-class' variable, use new eieio--scoped-class, and
13386 eieio--with-scoped-class.
13387 (initialize-instance): Rename local variable 'scoped-class' to
13388 'this-class' to remove ambiguitity from old global.
13389
13390 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13391 eieio.el.
13392 (eieio--scoped-class-stack): New variable.
13393 (eieio--scoped-class): New fcn.
13394 (eieio--with-scoped-class): New scoping macro.
13395 (eieio-defclass): Use pushnew instead of add-to-list.
13396 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13397 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13398 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13399 `scoped-class' variable, use new eieio--scoped-class, and
13400 eieio--with-scoped-class.
13401
13402 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13403
13404 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13405
13406 * eshell/esh-ext.el (eshell-external-command): Pass args to
13407 `eshell-find-interpreter'.
13408 (eshell-find-interpreter): Add new second parameter ARGS.
13409
13410 * eshell/em-script.el (eshell-script-initialize): Add second arg
13411 to the function added as MATCH to `eshell-interpreter-alist'.
13412
13413 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13414 the function added as MATCH to `eshell-interpreter-alist'.
13415
13416 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13417 (eshell-visual-options): New defcustom.
13418 (eshell-escape-control-x): Adapt docstring.
13419 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13420 `eshell-visual-options' in addition to `eshell-visual-commands'.
13421 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13422
13423 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13424
13425 * progmodes/python.el (python-indent-block-enders): Add break,
13426 continue and raise keywords.
13427
13428 2013-06-01 Glenn Morris <rgm@gnu.org>
13429
13430 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13431
13432 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13433 * progmodes/cc-cmds.el (delete-forward-p):
13434 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13435 * progmodes/cc-engine.el (buffer-syntactic-context):
13436 * progmodes/cc-fonts.el (face-property-instance):
13437 * progmodes/cc-mode.el (set-keymap-parents):
13438 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13439 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13440 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13441 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13442 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13443
13444 * progmodes/cc-vars.el (other): Emacs has this widget since
13445 at least 21.1, so don't (re)define it.
13446
13447 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13448 Replace the obsolete alias pcomplete-arg-quote-list.
13449
13450 2013-06-01 Leo Liu <sdl.web@gmail.com>
13451
13452 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13453 punctuation syntax.
13454 (inferior-octave-minimal-columns)
13455 (inferior-octave-last-column-width): New variables.
13456 (inferior-octave-track-window-width-change): New function.
13457 (inferior-octave-mode): Adjust column width so that Octave output,
13458 for example from 'ls', can fit into the window nicely.
13459
13460 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13461
13462 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13463 Highlight expansions inside regexp literals.
13464
13465 2013-05-31 Glenn Morris <rgm@gnu.org>
13466
13467 * obsolete/sym-comp.el (symbol-complete):
13468 Replace obsolete completion-annotate-function.
13469
13470 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13471
13472 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13473
13474 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13475 New function, checks if point is inside a literal that allows
13476 expression expansion.
13477 (ruby-syntax-propertize-expansion): Use it.
13478 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13479 around the body.
13480
13481 2013-05-30 Juri Linkov <juri@jurta.org>
13482
13483 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13484 to "\M-si".
13485 (isearch-invisible): New variable.
13486 (isearch-forward): Doc fix.
13487 (isearch-mode): Set `isearch-invisible'
13488 to the value of `search-invisible'.
13489 (isearch-toggle-case-fold): Doc fix.
13490 (isearch-toggle-invisible): New command.
13491 (isearch-query-replace): Let-bind `search-invisible'
13492 to the value of `isearch-invisible'.
13493 (isearch-search): Use `isearch-invisible' instead of
13494 `search-invisible'. Let-bind `search-invisible'
13495 to the value of `isearch-invisible'. (Bug#11378)
13496
13497 2013-05-30 Juri Linkov <juri@jurta.org>
13498
13499 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13500 call when `query-flag' is nil and `search-invisible' is non-nil.
13501 (Bug#11746)
13502
13503 2013-05-30 Glenn Morris <rgm@gnu.org>
13504
13505 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13506
13507 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13508 (cc-require): Suppress spurious "noruntime" warnings.
13509 (cc-require-when-compile): Use fboundp, for sake of compiler.
13510
13511 * progmodes/cc-mode.el: Move load of cc-vars before that of
13512 cc-langs (which in turn loads cc-vars), to quieten compiler.
13513
13514 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13515
13516 * paren.el: Simplify the code.
13517 (show-paren-mode): Always start the timer.
13518 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13519 (show-paren--overlay, show-paren--overlay-1): Rename from
13520 show-paren-overlay and show-paren-overlay-1, and initialize to an
13521 overlay rather than to nil.
13522 (show-paren-function): Misc cleanup and simplifications.
13523
13524 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13525
13526 * paren.el (show-paren-data-function): New hook.
13527 (show-paren--default): New function, extracted from show-paren-function.
13528 (show-paren-function): Use show-paren-data-function.
13529
13530 2013-05-30 Glenn Morris <rgm@gnu.org>
13531
13532 * ielm.el (ielm-map, ielm-complete-symbol):
13533 Use completion-at-point rather than obsolete functions.
13534 (inferior-emacs-lisp-mode): Doc fix.
13535 Set completion-at-point-functions, rather than
13536 comint-dynamic-complete-functions.
13537
13538 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13539 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13540 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13541
13542 * image.el (image-animated-p): Tweak definition.
13543
13544 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13545 (rlogin-process-connection-type): Tweak default. Add set-after.
13546 (rlogin-host): Doc fix.
13547 (rlogin): Tweak prompt.
13548 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13549
13550 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13551 * progmodes/tcl.el (inferior-tcl-mode-map):
13552 Use completion-at-point rather than obsolete alias.
13553
13554 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13555
13556 * minibuffer.el (read-file-name-completion-ignore-case):
13557 Move before completion--in-region, for eager macro expansion.
13558
13559 2013-05-29 Juri Linkov <juri@jurta.org>
13560
13561 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13562 for total count of matching lines. Add `global-matches' for total
13563 count of matches. Rename `matches' to `lines' for count of
13564 matching lines. Add `matches' for count of matches.
13565 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13566 to `prev-line' for line number of prev match endpt.
13567 Increment `matches' for every match. Print the number of
13568 matching lines in the header.
13569 (occur-context-lines): Rename `lines' to `curr-line'.
13570 Rename `prev-lines' to `prev-line'. (Bug#14017)
13571
13572 2013-05-29 Juri Linkov <juri@jurta.org>
13573
13574 * replace.el (perform-replace): Add `skip-read-only-count',
13575 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13576 Increment them for corresponding conditions and report the number
13577 of skipped occurrences in the final message. (Bug#11746)
13578 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13579 (replace-string, replace-regexp): Doc fix.
13580
13581 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13582
13583 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13584
13585 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13586 prog-mode-map (bug#14504).
13587
13588 2013-05-29 Leo Liu <sdl.web@gmail.com>
13589
13590 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13591 (octave-help): Small simplification.
13592
13593 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13594 off the highlight first.
13595
13596 2013-05-29 Glenn Morris <rgm@gnu.org>
13597
13598 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13599 Handle idlwave-last-system-routine-info-cons-cell being nil.
13600
13601 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13602 (idlwave-write-paths): Simplify via with-temp-buffer.
13603
13604 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13605 * emulation/cua-rect.el: Also load cua-base at run time.
13606
13607 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13608 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13609 (cperl-imenu-on-info): Require imenu.
13610
13611 2013-05-28 Alan Mackenzie <acm@muc.de>
13612
13613 Handle "capitalised keywords" correctly.
13614 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13615
13616 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13617
13618 * eshell/em-unix.el: Add -r option to cp.
13619
13620 2013-05-28 Glenn Morris <rgm@gnu.org>
13621
13622 * vc/vc-arch.el (vc-exec-after): Declare.
13623 (vc-switches): Autoload.
13624 * vc/vc-bzr.el: No need to require vc when compiling.
13625 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13626 (vc-resynch-buffer, vc-dir-refresh): Declare.
13627 (vc-setup-buffer, vc-switches): Autoload.
13628 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13629 (vc-resynch-buffer): Declare.
13630 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13631 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13632 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13633 (grep-read-regexp, grep-read-files, grep-expand-template)
13634 (vc-dir-refresh): Declare.
13635 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13636 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13637 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13638 * vc/vc-mtn.el (vc-exec-after): Declare.
13639 (vc-switches): Autoload.
13640 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13641 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13642 (vc-file-tree-walk): Declare.
13643 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13644 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13645 (vc-tag-precondition, vc-rename-master): Autoload.
13646 * vc/vc-svn.el (vc-exec-after): Declare.
13647 (vc-switches, vc-setup-buffer): Autoload.
13648 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13649 Autoload.
13650 (vc-resynch-buffer): Declare.
13651
13652 * obsolete/fast-lock.el (byte-compile-warnings):
13653 Don't warn about obsolete features in this obsolete file.
13654
13655 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13656 Move definition before use.
13657
13658 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13659 (dun-unix-verbs): Remove dun-zippy.
13660 (dun-zippy): Remove function.
13661
13662 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13663
13664 2013-05-27 Juri Linkov <juri@jurta.org>
13665
13666 * replace.el (replace-search): New function with code moved out
13667 from `perform-replace'.
13668 (replace-highlight, replace-dehighlight): Move function definitions
13669 up closer to `replace-search'. (Bug#11746)
13670
13671 2013-05-27 Juri Linkov <juri@jurta.org>
13672
13673 * replace.el (perform-replace): Ignore invisible matches.
13674 In addition to checking `query-replace-skip-read-only', also
13675 filter out matches by calling `run-hook-with-args-until-failure'
13676 on `isearch-filter-predicates', and also check `search-invisible'
13677 for t or call `isearch-range-invisible'.
13678 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13679
13680 2013-05-27 Juri Linkov <juri@jurta.org>
13681
13682 * isearch.el (isearch-filter-predicates): Rename from
13683 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13684 (isearch-message-prefix): Display text from the property
13685 `isearch-message-prefix' of the currently active filters.
13686 (isearch-search): Don't compare `isearch-filter-predicate' with
13687 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13688 on `isearch-filter-predicates'. Also check `search-invisible' for t
13689 or call `isearch-range-invisible'.
13690 (isearch-filter-visible): Make obsolete.
13691 (isearch-lazy-highlight-search):
13692 Call `run-hook-with-args-until-failure' on
13693 `isearch-filter-predicates' and use `isearch-range-invisible'.
13694
13695 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13696 `isearch-filter-predicates' instead of `funcall'ing
13697 `isearch-filter-predicate'.
13698 (Info-mode): Set `Info-isearch-filter' to
13699 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13700
13701 * dired-aux.el (dired-isearch-filter-predicate-orig):
13702 Remove variable.
13703 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13704 (dired-isearch-filenames-end): Add and remove
13705 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13706 instead of changing the value of `isearch-filter-predicate'.
13707 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13708 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13709 Put property `isearch-message-prefix' to "filename " on
13710 `dired-isearch-filter-filenames'.
13711
13712 * wdired.el (wdired-change-to-wdired-mode):
13713 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13714 locally instead of changing `isearch-filter-predicate'.
13715 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13716
13717 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13718
13719 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13720 return the commit hash (Bug#14459). Also set the
13721 `vc-git-detached' property.
13722 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13723 (vc-git-mode-line-string): Use the same help-echo format whether
13724 in detached mode or not, because we know the actual revision now.
13725 When in detached mode, shorten the revision to 7 chars.
13726
13727 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13728
13729 * emacs-lisp/easy-mmode.el (define-minor-mode):
13730 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13731 mode hook and provide a docstring.
13732
13733 2013-05-27 Alan Mackenzie <acm@muc.de>
13734
13735 Remove spurious syntax-table text properties inserted by C-y.
13736 * progmodes/cc-mode.el (c-after-change): Also clear hard
13737 syntax-table property with value nil.
13738
13739 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13740
13741 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13742 when reading the events; the buffer layout shall not be changed.
13743
13744 2013-05-27 Leo Liu <sdl.web@gmail.com>
13745
13746 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13747 New variable.
13748 (inferior-octave-directory-tracker): Automatically re-sync
13749 default-directory.
13750 (octave-help): Improve handling of 'See also'.
13751
13752 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * doc-view.el: Minor naming convention tweaks.
13755 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13756
13757 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13758 even if there's no `display' property yet (bug#14435).
13759
13760 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13761
13762 * subr.el (unmsys--file-name): Rename from reveal-filename.
13763
13764 * Makefile.in (custom-deps, finder-data, autoloads)
13765 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13766 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13767 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13768
13769 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13770
13771 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13772 error-completion on the first 2 args of condition-case (bug#14446).
13773 Don't burp at EOB.
13774
13775 2013-05-25 Leo Liu <sdl.web@gmail.com>
13776
13777 * comint.el (comint-previous-matching-input): Do not flood the
13778 *Messages* buffer with trivial messages.
13779
13780 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * progmodes/flymake.el (flymake-nop): Don't return a string.
13783 (flymake-set-at): Fix typo.
13784
13785 * simple.el (read--expression): New function, extracted from
13786 eval-expression. Set completion-at-point-functions (bug#14465).
13787 (eval-expression, eval-minibuffer): Use it.
13788
13789 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13790
13791 * progmodes/flymake.el (flymake-save-buffer-in-file)
13792 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13793 (flymake-selected-frame, flymake-log, flymake-ins-after)
13794 (flymake-set-at, flymake-get-buildfile-from-cache)
13795 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13796 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13797 Refine the doc string.
13798 (flymake-get-file-name-mode-and-masks): Reformat.
13799 (flymake-get-real-file-name-function): Fix a minor bug.
13800
13801 2013-05-24 Juri Linkov <juri@jurta.org>
13802
13803 * progmodes/grep.el (grep-mode-font-lock-keywords):
13804 Support =linenumber= format used by git-grep for lines with
13805 function names. (Bug#13549)
13806
13807 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13810 0 after a semi-colon; it works better for smie-auto-fill.
13811 (octave--indent-new-comment-line): New function.
13812 (octave-indent-new-comment-line): Use it (indirectly).
13813 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13814 modify comment-line-break-function.
13815
13816 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13817 (smie-setup): Use add-function to set it.
13818
13819 2013-05-24 Sam Steingold <sds@gnu.org>
13820
13821 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13822 argument (before the `interactive' argument).
13823
13824 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13825
13826 * image-mode.el (image-mode-winprops): Add winprops to
13827 image-mode-winprops-alist before running
13828 image-mode-new-window-functions.
13829 * doc-view.el (doc-view-new-window-function): Don't delay
13830 doc-view-goto-page via timers (bug#14435).
13831
13832 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13833
13834 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13835 (doc-view-desktop-save-buffer): New function.
13836 (doc-view-restore-desktop-buffer): New function.
13837 (desktop-buffer-mode-handlers):
13838 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13839 handler.
13840 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13841 `desktop-save-buffer' function.
13842
13843 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13844
13845 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13846 (tramp-gvfs-file-name-handler): Raise a user error when
13847 `tramp-gvfs-enabled' is nil.
13848 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13849 Do not raise a user error when loading package. (Bug#14447)
13850
13851 * net/xesam.el: Move to obsolete/.
13852
13853 2013-05-24 Glenn Morris <rgm@gnu.org>
13854
13855 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13856
13857 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13858
13859 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13860 (Info-find-node, Man-getpage-in-background): Declare.
13861
13862 * mail/unrmail.el (unrmail):
13863 Replace obsolete detect-coding-with-priority.
13864
13865 * net/socks.el (socks-split-string): Use this rather than split-string.
13866 (socks-nslookup-host): Update for above change.
13867 (dynamic-choice, s5-dynamic-choice-match)
13868 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13869 Comment out unused code.
13870
13871 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13872 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13873 (gud-tooltip-echo-area): Make obsolete.
13874 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13875
13876 * progmodes/js.el (js--optimize-arglist): Declare.
13877
13878 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13879
13880 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13881 (ediff-window-C): Declare.
13882
13883 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13884 Tweak requires to silence compiler.
13885
13886 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13887 (he-search-string, he-tried-table, he-expand-list)
13888 (he-init-string, he-string-member, he-substitute-string)
13889 (he-reset-string): Declare.
13890
13891 * obsolete/options.el (list-options): Use custom-variable-p,
13892 rather than obsolete alias.
13893
13894 2013-05-23 Sam Steingold <sds@gnu.org>
13895
13896 * simple.el (shell-command-on-region): Pass the `replace' argument
13897 down to `call-process-region' to comply with the doc as reported on
13898 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13899
13900 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13901
13902 * emacs-lisp/smie.el (smie-indent-forward-token)
13903 (smie-indent-backward-token): Handle string tokens (bug#14381).
13904
13905 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13906
13907 * ielm.el (ielm-menu): New menu.
13908 (inferior-emacs-lisp-mode): Set comment-start.
13909
13910 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13911
13912 * textmodes/reftex.el (reftex-ref-style-toggle):
13913 Fix deactivate action.
13914
13915 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13916 Add cleveref macros.
13917
13918 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13919 Accept options for bibliography commands.
13920 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13921 Add addbibresource. Basic Biblatex support.
13922
13923 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13924
13925 * net/tramp-gvfs.el (top):
13926 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13927 when loading package. (Bug#14447)
13928
13929 2013-05-23 Glenn Morris <rgm@gnu.org>
13930
13931 * progmodes/js.el: No need to load comint when compiling.
13932 (ring-insert, comint-send-string, comint-send-input)
13933 (comint-last-input-end, ido-chop): Declare.
13934
13935 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13936 * vc/ediff-mult.el: Adjust requires.
13937 (ediff-directories-internal, ediff-directory-revisions-internal)
13938 (ediff-patch-file-internal): Declare.
13939 * vc/ediff-ptch.el: Adjust requires.
13940 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13941 (ediff-find-file): Autoload.
13942 * vc/ediff-util.el: No need to load ediff when compiling.
13943 (ediff-regions-internal): Declare.
13944 * vc/ediff-wind.el: Adjust requires.
13945 (ediff-compute-toolbar-width): Define when compiling.
13946 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13947 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13948 (dired-get-filename, dired-get-marked-files)
13949 (ediff-last-dir-patch, ediff-patch-default-directory)
13950 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13951 (ediff-patch-buffer-internal): Declare.
13952
13953 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13954 (ispell-process, ispell-buffer-local-words, lm-summary)
13955 (lm-section-start, lm-section-end): Declare.
13956 (checkdoc-ispell-init): Simplify.
13957
13958 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13959 (he-string-member, he-reset-string, he-substitute-string): Declare.
13960
13961 * eshell/em-ls.el: Adjust requires.
13962 (eshell-glob-regexp): Declare.
13963 * eshell/em-tramp.el: Adjust requires.
13964 (eshell-parse-command): Autoload.
13965 * eshell/em-xtra.el: Adjust requires.
13966 (eshell-parse-command): Autoload.
13967 * eshell/esh-ext.el: Adjust requires.
13968 (eshell-parse-command, eshell-close-handles): Autoload.
13969 * eshell/esh-io.el: Adjust requires.
13970 (eshell-output-filter): Autoload.
13971 * eshell/esh-util.el: No need to load tramp when compiling.
13972 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13973 Declare.
13974 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13975 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13976 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13977 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13978 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13979 * eshell/esh-opt.el, eshell/esh-proc.el:
13980 * eshell/esh-var.el: Adjust requires.
13981 * eshell/eshell.el: Do not require esh-util twice.
13982 (eshell-add-input-to-history): Declare.
13983 (eshell-command): Check history module is active before using it.
13984
13985 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13986
13987 2013-05-22 Leo Liu <sdl.web@gmail.com>
13988
13989 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13990
13991 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13992
13993 * autorevert.el (auto-revert-notify-add-watch)
13994 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13995 it indicates changes in file modification time.
13996
13997 2013-05-22 Glenn Morris <rgm@gnu.org>
13998
13999 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14000 Always delete the autoloaded function from the noruntime and
14001 unresolved functions lists.
14002
14003 * allout.el: No need to load epa, epg, overlay when compiling.
14004 (epg-context-set-passphrase-callback, epg-list-keys)
14005 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14006 (epg-key-user-id-list): Declare.
14007
14008 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14009 (viper-set-parsing-style-toggling-macro)
14010 (viper-set-emacs-state-searchstyle-macros):
14011 Use called-interactively-p on Emacs.
14012 (viper-looking-back): Make it an obsolete alias. Update callers.
14013 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14014 Use looking-back rather than viper-looking-back.
14015 (viper-tmp-insert-at-eob, viper-enlarge-region)
14016 (viper-read-string-with-history, viper-register-to-point)
14017 (viper-append-to-register, viper-change-state-to-vi)
14018 (viper-backward-char-carefully, viper-forward-char-carefully)
14019 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14020 (viper-change-state-to-emacs): Declare.
14021 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14022 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14023 * emulation/viper-mous.el: Do not load viper-cmd.
14024 (viper-backward-char-carefully, viper-forward-char-carefully)
14025 (viper-forward-word, viper-adjust-window): Declare.
14026
14027 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14028
14029 * progmodes/idlw-help.el (idlwave-help-fontify):
14030 Use called-interactively-p.
14031
14032 * term/w32console.el (w32-get-console-codepage)
14033 (w32-get-console-output-codepage): Declare.
14034
14035 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14036 Remove unnecessary declarations.
14037 (dframe-message): Doc fix.
14038
14039 * info.el (dframe-select-attached-frame, dframe-current-frame):
14040 Declare.
14041
14042 * speedbar.el (speedbar-message): Make it an obsolete alias.
14043 Update all callers.
14044 (speedbar-with-attached-buffer)
14045 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14046 (speedbar-with-writable): Use backquote.
14047 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14048 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14049 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14050 rather than speedbar- aliases.
14051 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14052 (speedbar-make-specialized-keymap, speedbar-insert-button)
14053 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14054 (speedbar-do-function-pointer): Declare.
14055 (rmail-speedbar-button, rmail-speedbar-find-file)
14056 (rmail-speedbar-move-message):
14057 Use dframe-with-attached-buffer rather than speedbar- alias.
14058 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14059 (dframe-message, speedbar-make-specialized-keymap)
14060 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14061 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14062 (speedbar-insert-button, dframe-select-attached-frame)
14063 (dframe-maybee-jump-to-attached-frame)
14064 (speedbar-change-initial-expansion-list)
14065 (speedbar-previously-used-expansion-list-name): Declare.
14066 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14067 Use dframe-message, dframe-with-attached-buffer rather than
14068 speedbar- aliases.
14069 (gud-sentinel): Silence compiler.
14070 * progmodes/vhdl-mode.el (speedbar-refresh)
14071 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14072 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14073 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14074 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14075 (speedbar-file-lists, speedbar-make-tag-line)
14076 (speedbar-line-directory, speedbar-goto-this-file)
14077 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14078 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14079 (speedbar-make-button, speedbar-reset-scanners)
14080 (speedbar-files-item-info, speedbar-line-text)
14081 (speedbar-find-file-in-frame, speedbar-set-timer)
14082 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14083 (speedbar-with-writable): Do not (re)define it.
14084 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14085 rather than speedbar- alias.
14086
14087 2013-05-21 Leo Liu <sdl.web@gmail.com>
14088
14089 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14090 menu items.
14091 (octave-mode): Tweak fill-nobreak-predicate.
14092 (inferior-octave-startup): Check process to avoid infinite loop.
14093 (inferior-octave): Pop to buffer first to show abornmal process
14094 exit information.
14095
14096 2013-05-21 Glenn Morris <rgm@gnu.org>
14097
14098 * printing.el (pr-menu-bar): Define when compiling.
14099
14100 2013-05-21 Leo Liu <sdl.web@gmail.com>
14101
14102 * progmodes/octave.el (octave-auto-fill): Remove.
14103 (octave-indent-new-comment-line): Improve.
14104 (octave-mode): Use auto fill mode through
14105 comment-line-break-function and fill-nobreak-predicate.
14106 (octave-goto-function-definition): Support DEFUN_DLD.
14107 (octave-beginning-of-defun): Small tweak.
14108 (octave-help): Show parent directory.
14109
14110 2013-05-21 Glenn Morris <rgm@gnu.org>
14111
14112 * files.el (dired-unmark):
14113 * progmodes/gud.el (gdb-input): Update declarations.
14114
14115 * calculator.el (electric, ehelp): No need to load when compiling.
14116 (Electric-command-loop, electric-describe-mode): Declare.
14117
14118 * doc-view.el (doc-view-current-converter-processes): Move before use.
14119
14120 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14121 Move MODE-set-explicitly definition before use.
14122
14123 * international/mule-diag.el (mule-diag):
14124 Don't use obsolete window-system-version.
14125
14126 * mail/feedmail.el (smtpmail): No need to load when compiling.
14127 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14128
14129 * mail/mail-utils.el (rfc822): No need to load when compiling.
14130 (rfc822-addresses): Autoload it.
14131 (mail-strip-quoted-names): Trivial simplification.
14132
14133 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14134 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14135
14136 * net/snmp-mode.el (tempo): Don't duplicate requires.
14137
14138 * progmodes/prolog.el (info): No need to load when compiling.
14139 (comint): Require before shell requires it.
14140 (Info-goto-node): Autoload it.
14141 (Info-follow-nearest-node): Declare.
14142 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14143
14144 * textmodes/artist.el (picture-mode-exit): Declare.
14145
14146 * textmodes/reftex-parse.el (reftex-parse-from-file):
14147 Trivial rewrite so the compiler can parse it better.
14148
14149 2013-05-20 Leo Liu <sdl.web@gmail.com>
14150
14151 * progmodes/octave.el (octave-help-mode-map)
14152 (octave-help-mode-finish-hook): New variables.
14153 (octave-help-mode, octave-help-mode-finish): New functions.
14154 (octave-help): Use octave-help-mode.
14155
14156 2013-05-20 Glenn Morris <rgm@gnu.org>
14157
14158 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14159
14160 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14161
14162 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14163 start at point, so that expansion starting right after opening
14164 slash in a regexp is recognized.
14165 (ruby-syntax-before-regexp-re): New defvar, extracted from
14166 ruby-syntax-propertize-function. Since the value of this regexp
14167 is looked up at runtime now, we should be able to turn
14168 `ruby-syntax-methods-before-regexp' into a defcustom later.
14169 (ruby-syntax-propertize-function): Split regexp matching into two
14170 parts, for opening and closing slashes. That allows us to skip
14171 over string interpolations and support multiline regexps.
14172 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14173 for them, which calls `ruby-syntax-propertize-expansion'.
14174 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14175 call to `ruby-syntax-propertize-function'.
14176 (ruby-syntax-propertize-expansion): Extracted from
14177 `ruby-syntax-propertize-expansions'. Handles one expansion.
14178 (ruby-syntax-propertize-percent-literal): Leave point right after
14179 the percent symbol, so that the expression expansion rule can
14180 propertize the contents.
14181 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14182 heredoc openers.
14183 (ruby-syntax-propertize-expansions): Remove.
14184
14185 2013-05-18 Juri Linkov <juri@jurta.org>
14186
14187 * man.el (Man-default-man-entry): Remove `-' from the end
14188 of the default value. (Bug#14400)
14189
14190 2013-05-18 Glenn Morris <rgm@gnu.org>
14191
14192 * comint.el (comint-password-prompt-regexp):
14193 Allow "password for XXX" where XXX contains colons (eg https://...).
14194
14195 2013-05-18 Leo Liu <sdl.web@gmail.com>
14196
14197 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14198 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14199 (octave-source-directories): Don't check process.
14200 (octave-source-directories, octave-find-definition): Doc fix.
14201
14202 2013-05-18 Glenn Morris <rgm@gnu.org>
14203
14204 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14205 Remove backspace/delete bindings. (Bug#14392)
14206
14207 * cus-dep.el (custom-make-dependencies): Sort the output.
14208 (custom-versions-load-alist): Convert comment to doc.
14209
14210 2013-05-17 Leo Liu <sdl.web@gmail.com>
14211
14212 * newcomment.el (comment-search-backward): Stricter in finding
14213 comment start. (Bug#14303)
14214
14215 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14216 (octave-comment-start-skip): Properly anchored.
14217
14218 2013-05-17 Leo Liu <sdl.web@gmail.com>
14219
14220 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14221 Clean up when turned off. (Bug#14395)
14222 (smie--highlight-matching-block-overlay): No longer buffer-local.
14223 (smie-highlight-matching-block): Adjust.
14224
14225 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14226
14227 Doc string fix for "nanoseconds" (Bug#14406).
14228 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14229 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14230
14231 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14232
14233 * calc/calc-units.el (math-extract-units): Preserve powers
14234 of units.
14235
14236 2013-05-17 Leo Liu <sdl.web@gmail.com>
14237
14238 * subr.el (delete-consecutive-dups): New function.
14239 * ido.el (ido-set-matches-1): Use it.
14240 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14241 * ido.el (ido-remove-consecutive-dups): Remove.
14242
14243 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14244
14245 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14246 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14247 regexp-opt's `words'.
14248
14249 2013-05-16 Leo Liu <sdl.web@gmail.com>
14250
14251 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14252 (smie--highlight-matching-block-overlay)
14253 (smie--highlight-matching-block-lastpos)
14254 (smie--highlight-matching-block-timer): New variables.
14255 (smie-highlight-matching-block): New function.
14256 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14257 (smie-setup): Conditionally enable smie-blink-matching-open.
14258
14259 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14260
14261 Sync with upstream verilog-mode r840.
14262 * progmodes/verilog-mode.el (verilog-mode-version)
14263 (verilog-mode-release-date): Update.
14264 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14265 (verilog-sig-tieoff): Fix string error on
14266 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14267 (verilog-read-decls): Fix parameters confusing
14268 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14269
14270 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14271
14272 * subr.el (reveal-filename): New function.
14273
14274 * loadup.el: Compute Emacs executable versions on MS-Windows,
14275 where executables have the .exe extension. Add a hard link
14276 emacs-XX.YY.ZZ.exe on MS-Windows.
14277
14278 * Makefile.in (XARGS_LIMIT): New variable.
14279 (custom-deps, finder-data, autoloads)
14280 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14281 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14282 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14283 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14284
14285 2013-05-16 Leo Liu <sdl.web@gmail.com>
14286
14287 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14288 (octave-mode-menu, octave-mode-map): Remove its uses.
14289
14290 2013-05-16 Reto Zimmermann <reto@gnu.org>
14291
14292 Sync with upstream vhdl mode v3.34.2.
14293 * progmodes/vhdl-mode.el: Use `push' throughout.
14294 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14295 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14296 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14297 (vhdl-actual-generic-name): New option to derive actual generic name.
14298 (vhdl-port-paste-signals): Replace formal by actual generics.
14299 (vhdl-beautify): New name for old group vhdl-align. Update users.
14300 (vhdl-beautify-options): New option.
14301 (vhdl-last-input-event): New compat alias. Use throughout.
14302 (vhdl-goto-line): Replace user level function `goto-line'.
14303 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14304 vhdl-fix-statement-buffer.
14305 (vhdl-create-mode-menu): Add some entries.
14306 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14307 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14308 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14309 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14310 to force statements on one line.
14311 (vhdl-remove-trailing-spaces-region):
14312 New, split from vhdl-remove-trailing-spaces.
14313 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14314 Respect vhdl-beautify-options.
14315 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14316 (vhdl-update-sensitivity-list): Not add with index if exists without.
14317 Not include array index with signal. Ignore keywords in comments.
14318 (vhdl-get-visible-signals): Regexp tweaks.
14319 (vhdl-template-component-inst): Handle empty library.
14320 (vhdl-template-type): Add template for 'enum' type.
14321 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14322 Use vhdl-replace-string.
14323 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14324 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14325 (vhdl-speedbar-initialize): Update for above name change.
14326 (vhdl-compose-wire-components): Fix in handling of constants.
14327 (vhdl-error-regexp-emacs-alist): New variable.
14328 (vhdl-error-regexp-add-emacs): New function;
14329 adds support for new compile.el (Emacs 22+)
14330 (vhdl-generate-makefile-1): Change target order for single lib. units.
14331 Allow use of absolute file names.
14332
14333 2013-05-16 Leo Liu <sdl.web@gmail.com>
14334
14335 * simple.el (prog-indent-sexp): Indent enclosing defun.
14336
14337 2013-05-15 Glenn Morris <rgm@gnu.org>
14338
14339 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14340 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14341 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14342 (whitespace-highlight): Move to whitespace group.
14343
14344 * comint.el (comint-source):
14345 * pcmpl-linux.el (pcmpl-linux):
14346 * shell.el (shell-faces):
14347 * eshell/esh-opt.el (eshell-opt):
14348 * international/ccl.el (ccl): Remove empty custom groups.
14349
14350 * completion.el (dynamic-completion-mode):
14351 * jit-lock.el (jit-lock-debug-mode):
14352 * minibuffer.el (completion-in-region-mode):
14353 * type-break.el (type-break-mode-line-message-mode)
14354 (type-break-query-mode):
14355 * emulation/tpu-edt.el (tpu-edt-mode):
14356 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14357 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14358 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14359
14360 * term/xterm.el (xterm): Change parent group to terminals.
14361
14362 * master.el (master): Remove empty custom group.
14363 (master-mode): Remove unused :group argument.
14364 * textmodes/refill.el (refill): Remove empty custom group.
14365 (refill-mode): Remove unused :group argument.
14366
14367 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14368
14369 * cus-dep.el: Provide a feature.
14370 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14371 Don't mistakenly ignore files whose basenames match a basename
14372 from preloaded-file-list (eg cedet/ede/simple.el).
14373 Add a fallback method for getting :group.
14374
14375 2013-05-15 Juri Linkov <juri@jurta.org>
14376
14377 * isearch.el (isearch-char-by-name): Rename from
14378 `isearch-insert-char-by-name'. Doc fix.
14379 (isearch-forward): Mention `isearch-char-by-name' in
14380 the docstring. (Bug#13348)
14381
14382 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14383 `exit-minibuffer' instead of
14384 `isearch-nonincremental-exit-minibuffer'.
14385 (isearch-edit-string): Remove mention of
14386 `isearch-nonincremental-exit-minibuffer' from docstring.
14387 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14388 (isearch-forward-exit-minibuffer)
14389 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14390
14391 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14392
14393 * loadup.el: Just use unversioned DOC.
14394
14395 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14396 literals as extending to EOB.
14397 (nxml-last-fontify-end): Remove unused variable.
14398 (nxml-after-change1): Use with-silent-modifications.
14399 (nxml-extend-after-change-region): Simplify.
14400 (nxml-extend-after-change-region1): Remove function.
14401 (nxml-after-change1): Don't adjust for dependent regions.
14402 (nxml-fontify-matcher): Simplify.
14403 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14404 (xmltok-add-dependent): Remove function.
14405 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14406 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14407 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14408 unclosed <[[, <?, comment, and other literals as extending to EOB.
14409 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14410 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14411 Remove functions.
14412 (rng-do-some-validation-1): Don't mark dependent regions.
14413 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14414 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14415 (nxml-clear-dependent-regions): Remove functions.
14416 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14417 (nxml-ensure-scan-up-to-date):
14418 Don't clear&mark dependent regions.
14419
14420 2013-05-15 Leo Liu <sdl.web@gmail.com>
14421
14422 * progmodes/octave.el (octave-goto-function-definition):
14423 Improve and fix callers.
14424
14425 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14426
14427 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14428 the setter (bug#14387).
14429
14430 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14431 surrounding group (bug#14402).
14432
14433 2013-05-14 Juri Linkov <juri@jurta.org>
14434
14435 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14436 (Bug#14390)
14437
14438 2013-05-14 Glenn Morris <rgm@gnu.org>
14439
14440 * progmodes/f90.el (f90-imenu-generic-expression):
14441 Fix typo in 2013-05-08 change. (Bug#14402)
14442
14443 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14444
14445 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14446 Remove signals for which replies are never received.
14447
14448 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14449
14450 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14451 (gdb-handler-alist, gdb-handler-number): Remove variables.
14452 (gdb-handler-list): New variable.
14453 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14454 (gdb-pending-handler-p, gdb-handle-reply)
14455 (gdb-remove-all-pending-triggers): New functions.
14456 (gdb-discard-unordered-replies): New defcustom.
14457 (gdb-handler): New defstruct.
14458 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14459 instead of gdb-pending-triggers. Update docstring.
14460 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14461 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14462 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14463 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14464 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14465 (gdb-frame-handler): Pending triggers are now automatically managed.
14466 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14467 Remove argument.
14468 (gdb-input): Automatically handles pending triggers. Update docstring.
14469 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14470 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14471 Update comments.
14472 (gdb-done-or-error): Now use gdb-handle-reply.
14473
14474 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14475
14476 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14477 gdb-debug-log.
14478
14479 2013-05-14 Glenn Morris <rgm@gnu.org>
14480
14481 * subr.el (user-emacs-directory-warning): New option.
14482 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14483
14484 2013-05-14 Leo Liu <sdl.web@gmail.com>
14485
14486 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14487 during redisplay.
14488 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14489 (octave-font-lock-texinfo-comment): Fix invalid search bound
14490 error: wrong side of point.
14491
14492 2013-05-14 Glenn Morris <rgm@gnu.org>
14493
14494 * progmodes/flymake.el (flymake-xml-program): New option.
14495 (flymake-xml-init): Use it.
14496
14497 * term/xterm.el: Provide a feature.
14498
14499 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14500
14501 2013-05-13 Glenn Morris <rgm@gnu.org>
14502
14503 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14504 Add compat aliases as a hack workaround. (Bug#14384)
14505
14506 2013-05-13 Leo Liu <sdl.web@gmail.com>
14507
14508 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14509 ###, and %!.
14510 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14511 C-M-q.
14512 (octave-comment-start-skip): Include %!.
14513 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14514
14515 2013-05-12 Leo Liu <sdl.web@gmail.com>
14516
14517 * progmodes/octave.el (inferior-octave-startup): Store the value
14518 of __octave_srcdir__ for octave-source-directories.
14519 (inferior-octave-check-process): New function refactored out of
14520 inferior-octave-send-list-and-digest.
14521 (octave-source-directories)
14522 (octave-find-definition-filename-function): New variables.
14523 (octave-source-directories)
14524 (octave-find-definition-default-filename): New functions.
14525 (octave-find-definition): Improve to find functions implemented in C++.
14526
14527 2013-05-12 Glenn Morris <rgm@gnu.org>
14528
14529 * calendar/diary-lib.el (diary-outlook-format-1):
14530 Don't include dayname in the output. (Bug#14349)
14531
14532 2013-05-11 Glenn Morris <rgm@gnu.org>
14533
14534 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14535
14536 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14537 Treat cc-provide like provide.
14538
14539 2013-05-11 Kevin Ryde <user42@zip.com.au>
14540
14541 * cus-dep.el (custom-make-dependencies):
14542 Use generated-autoload-load-name for the sake of files such
14543 such cedet/semantic/bovine/c.el, where the base file name
14544 is not in load-path. (Bug#5277)
14545
14546 2013-05-11 Glenn Morris <rgm@gnu.org>
14547
14548 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14549 Provide features.
14550
14551 2013-05-11 Leo Liu <sdl.web@gmail.com>
14552
14553 * progmodes/octave.el (octave-indent-comment): Improve.
14554 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14555 (octave-eldoc-function-signatures, octave-eldoc-function):
14556 New functions.
14557 (octave-mode, inferior-octave-mode): Add eldoc support.
14558
14559 2013-05-11 Richard Stallman <rms@gnu.org>
14560
14561 * epa.el (epa-decrypt-file): Take output file name as argument
14562 and read it using `interactive'.
14563
14564 2013-05-11 Leo Liu <sdl.web@gmail.com>
14565
14566 * progmodes/octave.el (octave-beginning-of-line)
14567 (octave-end-of-line): Check before using up-list because it jumps
14568 out of more syntactic contructs since moving to smie.
14569 (octave-indent-comment): New function.
14570 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14571 (octave-begin-keywords, octave-end-keywords)
14572 (octave-reserved-words, octave-smie-bnf-table)
14573 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14574
14575 2013-05-11 Glenn Morris <rgm@gnu.org>
14576
14577 * faces.el (internal-face-x-get-resource):
14578 * frame.el (ns-display-monitor-attributes-list):
14579 * calc/calc-aent.el (math-to-radians-2):
14580 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14581 Fix declarations.
14582
14583 * calc/calc-menu.el: Make it loadable in isolation.
14584
14585 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14586 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14587 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14588 (eudc-bbdb-query-internal): Require 'bbdb.
14589
14590 * lpr.el (lpr-headers-switches):
14591 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14592
14593 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14594
14595 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14596
14597 * term.el (term-set-escape-char): Make it idempotent.
14598
14599 2013-05-10 Leo Liu <sdl.web@gmail.com>
14600
14601 * progmodes/octave.el (inferior-octave-completion-table):
14602 No longer a function and all uses changed. Use cache to speed up
14603 completion due to bug#11906.
14604 (octave-beginning-of-defun): Re-write to be more general.
14605
14606 2013-05-10 Glenn Morris <rgm@gnu.org>
14607
14608 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14609
14610 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14611
14612 * comint.el (comint-redirect-send-command-to-process): Use :around
14613 rather than :override for comint-redirect-filter.
14614 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14615 Call it instead of comint-redirect-original-filter-function (which
14616 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14617
14618 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14619
14620 * frame.el (display-monitor-attributes-list): Add NS case.
14621 (ns-display-monitor-attributes-list): Declare.
14622
14623 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14624
14625 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14626
14627 2013-05-09 Glenn Morris <rgm@gnu.org>
14628
14629 * international/fontset.el (vertical-centering-font-regexp):
14630 Set standard-value.
14631
14632 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14633
14634 * bookmark.el (bookmark-search-delay):
14635 * cus-start.el (vertical-centering-font-regexp):
14636 * ps-mule.el (ps-mule-font-info-database-default):
14637 * ps-print.el (ps-default-fg, ps-default-bg):
14638 * type-break.el (type-break-good-break-interval):
14639 * whitespace.el (whitespace-indentation-regexp)
14640 (whitespace-space-after-tab-regexp):
14641 * emacs-lisp/testcover.el (testcover-1value-functions)
14642 (testcover-noreturn-functions, testcover-progn-functions)
14643 (testcover-prog1-functions):
14644 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14645 * eshell/em-glob.el (eshell-glob-translate-alist):
14646 * play/tetris.el (tetris-tty-colors):
14647 * progmodes/cpp.el (cpp-face-default-list):
14648 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14649 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14650 (idlwave-help-browser-generic-args):
14651 * progmodes/make-mode.el (makefile-special-targets-list):
14652 * progmodes/python.el (python-shell-virtualenv-path):
14653 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14654 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14655 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14656 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14657 * textmodes/reftex-vars.el (reftex-format-label-function):
14658 * textmodes/remember.el (remember-diary-file): Fix custom types.
14659
14660 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14661 Add :version.
14662
14663 2013-05-09 Leo Liu <sdl.web@gmail.com>
14664
14665 * progmodes/octave.el (inferior-octave-completion-at-point):
14666 Restore file completion. (Bug#14300)
14667 (inferior-octave-startup): Fix incorrect highlighting for the
14668 first prompt.
14669
14670 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14671
14672 * progmodes/ruby-mode.el: First cut at SMIE support.
14673 (ruby-use-smie): New var.
14674 (ruby-smie-grammar): New constant.
14675 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14676 (ruby-smie--forward-token, ruby-smie--backward-token)
14677 (ruby-smie-rules): New functions.
14678 (ruby-mode-variables): Setup SMIE if applicable.
14679
14680 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14681
14682 * simple.el (line-move-visual): Signal beginning/end of buffer
14683 only if vertical-motion moved less than it was requested. Avoids
14684 silly incorrect error messages when there are display strings with
14685 multiple newlines at EOL.
14686
14687 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14688
14689 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14690 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14691 (prolog-char-quote-workaround):
14692 * progmodes/cperl-mode.el (cperl-under-as-char):
14693 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14694 Mark as obsolete.
14695 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14696 their declaration.
14697 (vhdl-mode-syntax-table-init): Remove.
14698
14699 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14700 last change.
14701
14702 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14703 syntax for "_".
14704 (ld-script-font-lock-keywords):
14705 Change regexps to use things like \_< and \_>.
14706
14707 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14708 Change all regexps to use things like \_< and \_>.
14709
14710 * progmodes/autoconf.el (autoconf-definition-regexp)
14711 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14712 Handle a _ with symbol syntax.
14713 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14714
14715 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14716 Consolidate declaration.
14717 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14718 the declaration.
14719 (ada-create-syntax-table): Remove.
14720 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14721 already has the right syntax nowadays.
14722 (ada-goto-next-word): Don't change the syntax of "_".
14723
14724 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14725 with-wrapper-hook.
14726
14727 2013-05-08 Sam Steingold <sds@gnu.org>
14728
14729 * thingatpt.el (thing-at-point): Accept optional second argument
14730 NO-PROPERTIES to strip the text properties from the return value.
14731 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14732 to `thing-at-point' instead of stripping the properties ourselves.
14733 Also, when `thing-at-point' fails to find a url, prepend "http://"
14734 to the filename at point on the assumption that the user is
14735 pointing at something like gnu.org/gnu.
14736
14737 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14738
14739 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14740 * faces.el (crm-separator):
14741 Silence byte-compiler.
14742
14743 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14744 (tool-bar-map): Remove unneeded defvars.
14745
14746 2013-05-08 Leo Liu <sdl.web@gmail.com>
14747
14748 Re-work a fix for bug#10994 based on Le Wang's patch.
14749 * ido.el (ido-remove-consecutive-dups): New helper.
14750 (ido-completing-read): Use it.
14751 (ido-chop): Revert fix for bug#10994.
14752
14753 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14754
14755 * cus-edit.el (custom-save-variables):
14756 Pretty-print long values. (Bug#14187)
14757
14758 2013-05-08 Glenn Morris <rgm@gnu.org>
14759
14760 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14761 (m4-mode-syntax-table): Init in the defvar.
14762 (m4-mode-abbrev-table): Let define-derived-mode define it.
14763
14764 2013-05-08 Tom Tromey <tromey@redhat.com>
14765
14766 * progmodes/m4-mode.el (m4-mode-syntax-table):
14767 Do not treat "_" as word constituent. (Bug#14167)
14768
14769 2013-05-07 Glenn Morris <rgm@gnu.org>
14770
14771 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14772 Remove explicit eshell-isearch-cancel-map.
14773
14774 * progmodes/f90.el (f90-smart-end-names): New option.
14775 (f90-smart-end): Doc fix.
14776 (f90-end-block-optional-name): New constant.
14777 (f90-block-match): Respect f90-smart-end-names.
14778
14779 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14780
14781 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14782 about implicit semi-colons (bug#14218).
14783
14784 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14785
14786 * frame.el (display-monitor-attributes-list)
14787 (frame-monitor-attributes): New functions.
14788
14789 2013-05-06 Leo Liu <sdl.web@gmail.com>
14790
14791 * progmodes/octave.el (octave-syntax-propertize-function): Change
14792 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14793 (octave-font-lock-keywords): Use octave-operator-regexp.
14794 (octave-completion-at-point): Rename from
14795 octave-completion-at-point-function.
14796 (inferior-octave-directory-tracker): Robustify.
14797 (octave-text-functions): Remove and fix its uses. No such things
14798 any more.
14799
14800 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14801
14802 * emacs-lisp/trace.el (trace--display-buffer): New function.
14803 (trace-make-advice): Use it.
14804
14805 2013-05-06 Juri Linkov <juri@jurta.org>
14806
14807 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14808 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14809 Doc fix.
14810 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14811 in the help string. (Bug#12985)
14812
14813 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14814
14815 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14816
14817 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14818
14819 * progmodes/perl-mode.el: Add support for here documents.
14820 (perl-syntax-propertize-function): Match here-doc markers.
14821 (perl-syntax-propertize-special-constructs): Find their end.
14822 (perl-imenu-generic-expression): Use [:alnum:].
14823
14824 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14825 (advice--add-function): Refresh the advice if already present
14826 (bug#14317).
14827
14828 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14829
14830 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14831
14832 2013-05-06 Glenn Morris <rgm@gnu.org>
14833
14834 * w32-fns.el (w32-charset-info-alist): Declare.
14835
14836 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14837 of its defcustom properties.
14838 (eshell-cmpl-initialize): No need to load pcomplete.
14839
14840 * generic-x.el: No need to require comint when compiling.
14841
14842 * net/eudc-export.el: Make it loadable without bbdb.
14843 (top-level): Use require rather than load-library.
14844 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14845 (eudc-batch-export-records-to-bbdb)
14846 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14847 Require bbdb.
14848
14849 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14850
14851 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14852 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14853 some tweaks, instead.
14854
14855 2013-05-05 Leo Liu <sdl.web@gmail.com>
14856
14857 * progmodes/octave.el (octave-font-lock-keywords)
14858 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14859 (inferior-octave-send-list-and-digest): Improve error message.
14860 (octave-mode, inferior-octave-mode): Use setq-local.
14861 (octave-help): Set info-lookup-mode.
14862
14863 2013-05-05 Richard Stallman <rms@gnu.org>
14864
14865 * vc/compare-w.el (compare-windows-whitespace):
14866 Treat no-break space as whitespace.
14867
14868 * mail/rmailsum.el (rmail-summary-rmail-update):
14869 Detect empty summary and don't change selected message.
14870 (rmail-summary-goto-msg): Likewise.
14871
14872 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14873 Doc fixes, rename args.
14874
14875 2013-05-05 Alan Mackenzie <acm@muc.de>
14876
14877 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14878
14879 2013-05-05 Juri Linkov <juri@jurta.org>
14880
14881 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14882 to not add the length of the summary segment to the return value.
14883 (Bug#14125)
14884
14885 2013-05-05 Leo Liu <sdl.web@gmail.com>
14886
14887 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14888 (inferior-octave-output-filter): Remove.
14889 (octave-send-region, inferior-octave-startup): Fix callers.
14890 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14891 (octave-binary-file-extensions): New user variable.
14892 (octave-find-definition): Confirm if opening binary files.
14893 (octave-help-file): Use octave-find-definition to get the binary
14894 confirmation.
14895 (octave-help): Adjust for octave-help-file change.
14896
14897 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14898
14899 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14900 Merge the two entries that handle function definitions.
14901 (pascal--syntax-propertize): New const.
14902 (pascal-mode): Use it. Use setq-local.
14903
14904 2013-05-04 Glenn Morris <rgm@gnu.org>
14905
14906 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14907 (diary-from-outlook): Respect diary-from-outlook-function.
14908
14909 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14910
14911 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14912 Move the declaration from C.
14913 (read-minibuffer, eval-minibuffer): Move from C.
14914 (completion-setup-function): Avoid minibuffer-completion-contents.
14915
14916 2013-05-03 Leo Liu <sdl.web@gmail.com>
14917
14918 * progmodes/octave.el (octave-font-lock-keywords): Do not
14919 dehighlight 'end' in comments or strings.
14920 (octave-completing-read, octave-goto-function-definition):
14921 New helpers.
14922 (octave-help-buffer): New user variable.
14923 (octave-help-file, octave-help-function): New button types.
14924 (octave-help): New command and bind it to C-h ;.
14925 (octave-find-definition): New command and bind it to M-.
14926 (user-error): Alias to error if not defined.
14927
14928 2013-05-02 Leo Liu <sdl.web@gmail.com>
14929
14930 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14931 for \. (bug#14332)
14932 (octave-font-lock-keywords): Include [ and {.
14933
14934 2013-05-02 Leo Liu <sdl.web@gmail.com>
14935
14936 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14937 (inferior-octave): Remove calling comint-mode and return the buffer.
14938 (inferior-octave-startup): Cosmetic changes.
14939
14940 2013-05-02 Leo Liu <sdl.web@gmail.com>
14941
14942 * progmodes/octave.el (octave-syntax-propertize-function):
14943 Include the case when ' is at line beginning. (Bug#14336)
14944
14945 2013-05-02 Glenn Morris <rgm@gnu.org>
14946
14947 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14948 * desktop.el (vc-dir-mode): Just autoload it here.
14949
14950 2013-05-02 Alan Mackenzie <acm@muc.de>
14951
14952 Eliminate variable c-standard-font-lock-fontify-region-function.
14953 * progmodes/cc-mode.el
14954 (c-standard-font-lock-fontify-region-function): Remove.
14955 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14956
14957 2013-05-01 Leo Liu <sdl.web@gmail.com>
14958
14959 * progmodes/octave.el: Compatible with older emacs-24 releases.
14960 (inferior-octave-has-built-in-variables): Remove. Built-in
14961 variables were removed from Octave in 2007.
14962 (inferior-octave-startup): Fix uses.
14963 (comint-line-beginning-position): Remove compatibility code for
14964 emacs 21.
14965
14966 2013-05-01 Juri Linkov <juri@jurta.org>
14967
14968 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14969
14970 2013-05-01 Juri Linkov <juri@jurta.org>
14971
14972 * comint.el (comint-previous-matching-input): Don't print message
14973 "History item: %d" when `isearch-mode' is active.
14974 (comint-history-isearch-message): Print message "History item: %d"
14975 when `comint-input-ring-index' is not empty and this function is
14976 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14977
14978 2013-05-01 Leo Liu <sdl.web@gmail.com>
14979
14980 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14981 definitions. Use completion-at-point to insert keywords.
14982 (octave-abbrev-start): Remove.
14983 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14984
14985 2013-04-30 Leo Liu <sdl.web@gmail.com>
14986
14987 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14988 change.
14989
14990 2013-04-30 Alan Mackenzie <acm@muc.de>
14991
14992 Handle arbitrarily long C++ member initialisation lists.
14993 * progmodes/cc-engine.el (c-back-over-member-initializers):
14994 new function.
14995 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14996 (most) member init lists.
14997
14998 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14999
15000 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15001 variable.
15002
15003 2013-04-30 Leo Liu <sdl.web@gmail.com>
15004
15005 * progmodes/octave.el (octave-variables): Remove. No builtin
15006 variables any more. All converted to functions.
15007 (octave-font-lock-keywords, octave-completion-at-point-function):
15008 Fix uses.
15009 (octave-font-lock-texinfo-comment): New user variable.
15010 (octave-texinfo-font-lock-keywords): New variable for texinfo
15011 comment block.
15012 (octave-function-comment-block): New face.
15013 (octave-font-lock-texinfo-comment): New function.
15014 (octave-mode): Font lock texinfo comment block.
15015
15016 2013-04-29 Leo Liu <sdl.web@gmail.com>
15017
15018 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15019 indexing expression.
15020 (octave-continuation-string): Do not use \.
15021 (inferior-octave-complete-impossible): Remove.
15022 (inferior-octave-completion-table)
15023 (inferior-octave-completion-at-point): Remove its uses.
15024 (inferior-octave-startup): completion_matches was introduced to
15025 Octave in 1996 so safe to assume it.
15026 (octave-function-file-comment): Improve to follow how Octave does it.
15027 (octave-update-function-file-comment): Tweak.
15028
15029 2013-04-29 Leo Liu <sdl.web@gmail.com>
15030
15031 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15032 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15033 (octave-function-file-comment): Fix typo.
15034 (octave-sync-function-file-names): Use read-char-choice.
15035
15036 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15037
15038 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15039 to t for the less important warnings.
15040
15041 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15042
15043 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15044
15045 2013-04-27 Glenn Morris <rgm@gnu.org>
15046
15047 * vc/log-view.el (log-view-current-entry):
15048 Treat "---" separator lines as part of the following rev. (Bug#14169)
15049
15050 2013-04-27 Juri Linkov <juri@jurta.org>
15051
15052 * subr.el (read-number): Doc fix about using it by interactive
15053 code letter `n'. (Bug#14254)
15054
15055 2013-04-27 Juri Linkov <juri@jurta.org>
15056
15057 * desktop.el (desktop-auto-save-timeout): New option.
15058 (desktop-file-checksum): New variable.
15059 (desktop-save): Add optional arg `auto-save' and don't auto-save
15060 if nothing changed.
15061 (desktop-auto-save-timer): New variable.
15062 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15063 (after-init-hook): Call `desktop-auto-save-set-timer'.
15064 Suggested by Reuben Thomas <rrt@sc3d.org> in
15065 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15066
15067 2013-04-27 Leo Liu <sdl.web@gmail.com>
15068
15069 * progmodes/octave.el (octave-function-file-p)
15070 (octave-skip-comment-forward, octave-function-file-comment)
15071 (octave-update-function-file-comment): New functions.
15072 (octave-mode-map): Bind C-c ; to
15073 octave-update-function-file-comment.
15074 (octave-mode-menu): Add octave-update-function-file-comment.
15075 (octave-mode, inferior-octave-mode): Fix doc-string.
15076 (octave-insert-defun): Conform to Octave's coding convention.
15077 (Bug#14285)
15078
15079 * files.el (basic-save-buffer): Don't let errors in
15080 before-save-hook prevent saving buffer.
15081
15082 2013-04-20 Roland Winkler <winkler@gnu.org>
15083
15084 * faces.el (read-face-name): Use completing-read if arg multiple
15085 is nil.
15086
15087 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15088
15089 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15090 displayed, move point to after the totals line.
15091 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15092 for the details.
15093
15094 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15095
15096 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15097 Add current dir to the load-path.
15098 (package-generate-autoloads): Don't rely on
15099 autoload-ensure-default-file.
15100
15101 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15102
15103 * textmodes/remember.el (remember-store-in-files): Document that
15104 the file name format is passed to `format-time-string'.
15105
15106 2013-04-26 Leo Liu <sdl.web@gmail.com>
15107
15108 * progmodes/octave.el (octave-sync-function-file-names): New function.
15109 (octave-mode): Use it in before-save-hook.
15110
15111 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15112
15113 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15114 (bug#14274).
15115
15116 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15117 \n and comment, even if it's not an implicit ; (bug#14218).
15118
15119 2013-04-26 Glenn Morris <rgm@gnu.org>
15120
15121 * subr.el (read-number): Once more use `read' rather than
15122 `string-to-number', to trap non-numeric input. (Bug#14254)
15123
15124 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15125
15126 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15127 Use `syntax-multiline' text property consistently instead of
15128 `font-lock-multiline'. (Bug#14237)
15129
15130 2013-04-26 Glenn Morris <rgm@gnu.org>
15131
15132 * emacs-lisp/shadow.el (list-load-path-shadows):
15133 No longer necessary to check for duplicate simple.el, since
15134 2012-07-07 change to init_lread to not include installation lisp
15135 directories in load-path when running uninstalled. (Bug#14270)
15136
15137 2013-04-26 Leo Liu <sdl.web@gmail.com>
15138
15139 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15140 (octave-mode, inferior-octave-mode): Use setq-local.
15141 (octave-not-in-string-or-comment-p): Rename to
15142 octave-in-string-or-comment-p.
15143 (octave-in-comment-p, octave-in-string-p)
15144 (octave-in-string-or-comment-p): Replace defsubst with defun.
15145
15146 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15147
15148 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15149
15150 2013-04-25 Bastien Guerry <bzg@gnu.org>
15151
15152 * textmodes/remember.el (remember-data-directory)
15153 (remember-directory-file-name-format): Fix custom types.
15154
15155 2013-04-25 Leo Liu <sdl.web@gmail.com>
15156
15157 * progmodes/octave.el (octave-completion-at-point-function):
15158 Make use of inferior octave process.
15159 (octave-initialize-completions): Remove.
15160 (inferior-octave-completion-table): New function.
15161 (inferior-octave-completion-at-point): Use it.
15162 (octave-completion-alist): Remove.
15163
15164 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15165
15166 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15167 (opascal-mode-syntax-table): New var.
15168 (opascal-literal-kind, opascal-is-literal-end)
15169 (opascal-literal-token-at): Rewrite.
15170 (opascal--literal-start-re, opascal-font-lock-keywords)
15171 (opascal--syntax-propertize): New constants.
15172 (opascal-font-lock-defaults): Adjust.
15173 (opascal-mode): Use them. Set comment-<foo> variables as well.
15174 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15175 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15176 (delphi-other-face, opascal-other-face): Remove face variables.
15177 (opascal-save-state): Remove macro.
15178 (opascal-fontifying-progress-step): Remove constant.
15179 (opascal--ignore-changes): Remove var.
15180 (opascal-set-token-property, opascal-parse-next-literal)
15181 (opascal-is-stable-literal, opascal-complete-literal)
15182 (opascal-is-literal-start, opascal-face-of)
15183 (opascal-parse-region, opascal-parse-region-until-stable)
15184 (opascal-fontify-region, opascal-after-change)
15185 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15186 (opascal-debug-parse-region, opascal-debug-parse-window)
15187 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15188 (opascal-debug-fontify-buffer): Remove.
15189 (opascal-debug-mode-map): Adjust accordingly.
15190
15191 2013-04-25 Leo Liu <sdl.web@gmail.com>
15192
15193 Merge octave-mod.el and octave-inf.el into octave.el with some
15194 cleanups.
15195 * progmodes/octave.el: New file renamed from octave-mod.el.
15196 * progmodes/octave-inf.el: Merged into octave.el.
15197 * progmodes/octave-mod.el: Renamed to octave.el.
15198
15199 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15200
15201 * textmodes/reftex-vars.el
15202 (reftex-label-ignored-macros-and-environments): New defcustom.
15203
15204 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15205
15206 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15207
15208 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15209 (smie-indent-keyword): Improve the check to ensure that the next
15210 comment is really on the same line.
15211 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15212
15213 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15214 semi-colons if the line is not otherwise empty (bug#14218).
15215
15216 2013-04-25 Glenn Morris <rgm@gnu.org>
15217
15218 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15219
15220 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15221
15222 * progmodes/opascal.el (opascal-set-token-property): Rename from
15223 opascal-set-text-properties and only set `token' (bug#14134).
15224 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15225 (opascal-literal-text-properties): Remove.
15226 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15227 Adjust callers.
15228
15229 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15230
15231 * textmodes/remember.el (remember-handler-functions): Add an
15232 option for a new handler `remember-store-in-files'.
15233 (remember-data-directory, remember-directory-file-name-format):
15234 New options.
15235 (remember-store-in-files): New function to store remember notes
15236 as separate files within a directory.
15237
15238 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15239
15240 * progmodes/compile.el (compilation-next-error-function):
15241 Pass "formats" to compilation-find-file (bug#11777).
15242
15243 2013-04-24 Glenn Morris <rgm@gnu.org>
15244
15245 * vc/vc-bzr.el (vc-bzr-print-log):
15246 * vc/vc-hg.el (vc-hg-print-log):
15247 * vc/vc-svn.el (vc-svn-print-log):
15248 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15249
15250 * vc/vc-bzr.el (vc-bzr-print-log):
15251 * vc/vc-cvs.el (vc-cvs-print-log):
15252 * vc/vc-git.el (vc-git-print-log):
15253 * vc/vc-hg.el (vc-hg-print-log):
15254 * vc/vc-mtn.el (vc-mtn-print-log):
15255 * vc/vc-rcs.el (vc-rcs-print-log):
15256 * vc/vc-sccs.el (vc-sccs-print-log):
15257 * vc/vc-svn.el (vc-svn-print-log):
15258 * vc/vc.el (vc-print-log-internal): Doc fixes.
15259
15260 2013-04-23 Glenn Morris <rgm@gnu.org>
15261
15262 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15263 Remove venerable code attempting to avoid substitute-command-keys.
15264
15265 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15266
15267 * textmodes/reftex-vars.el (reftex-label-regexps):
15268 Call `reftex-compile-variables' after changes to this variable.
15269
15270 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15271
15272 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15273 Use lexical-binding.
15274 (jit-lock-force-redisplay): Use markers, check buffer's continued
15275 existence and beware narrowed buffers.
15276 (jit-lock-fontify-now): Adjust call accordingly.
15277
15278 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15279
15280 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15281 to avoid misleading the user.
15282
15283 2013-04-22 Leo Liu <sdl.web@gmail.com>
15284
15285 * info-look.el: Prefer latex2e.info. (Bug#14240)
15286
15287 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15288
15289 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15290
15291 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15292 * net/tramp.el (tramp-call-process): ... here.
15293 (tramp-set-completion-function, tramp-parse-putty):
15294 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15295 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15296 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15297 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15298 (tramp-call-local-coding-command): Use `tramp-call-process'
15299 instead of `tramp-compat-call-process'.
15300
15301 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15302 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15303 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15304 (tramp-find-inline-compress): Improve traces.
15305 (tramp-maybe-send-script): Check for Perl binary.
15306 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15307
15308 2013-04-22 Daiki Ueno <ueno@gnu.org>
15309
15310 * epg.el (epg-context-pinentry-mode): New function.
15311 (epg-context-set-pinentry-mode): New function.
15312 (epg--start): Pass --pinentry-mode option to gpg command.
15313
15314 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15315
15316 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15317 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15318 `completion-at-point'. (Bug#13774)
15319
15320 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15321 default key binding for `describe-distribution' has been moved to
15322 `C-h C-o'. (Bug#13970)
15323
15324 2013-04-21 Glenn Morris <rgm@gnu.org>
15325
15326 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15327 Add doc strings.
15328 (vc-print-log): Clarify interactive prompt.
15329
15330 2013-04-20 Glenn Morris <rgm@gnu.org>
15331
15332 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15333 No longer include timestamp etc information.
15334
15335 2013-04-20 Roland Winkler <winkler@gnu.org>
15336
15337 * faces.el (read-face-name): Bug fix, return just one face if arg
15338 multiple is nil. (Bug#14209)
15339
15340 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15341
15342 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15343 (remove-function): Autoload.
15344
15345 * comint.el (comint-redirect-original-filter-function): Remove.
15346 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15347 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15348 (vc-cvs-annotate-command):
15349 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15350 * progmodes/prolog.el (prolog-consult-compile):
15351 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15352 Use add/remove-function instead.
15353 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15354 (gud-tooltip-process-output, gud-tooltip-tips):
15355 Use add/remove-function instead.
15356 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15357 (scheme-interaction-mode, exit-scheme-interaction-mode):
15358 Use add/remove-function instead.
15359
15360 * vc/vc-dispatcher.el: Use lexical-binding.
15361 (vc--process-sentinel): Rename from vc-process-sentinel.
15362 Change last arg to be the code to run. Don't use vc-previous-sentinel
15363 and vc-sentinel-commands any more.
15364 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15365 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15366
15367 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15368
15369 * progmodes/sh-script.el (sh-imenu-generic-expression):
15370 Handle function names with a single character. (Bug#14111)
15371
15372 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15373
15374 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15375 for subroutines defined in an eval (bug#14182).
15376
15377 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15378
15379 * bookmark.el (bookmark-completing-read): Improve handling of empty
15380 string (bug#14176).
15381
15382 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15383
15384 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15385
15386 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15387
15388 New faster Imenu implementation (bug#14058).
15389 * progmodes/python.el (python-imenu-prev-index-position)
15390 (python-imenu-format-item-label-function)
15391 (python-imenu-format-parent-item-label-function)
15392 (python-imenu-format-parent-item-jump-label-function):
15393 New vars.
15394 (python-imenu-format-item-label)
15395 (python-imenu-format-parent-item-label)
15396 (python-imenu-format-parent-item-jump-label)
15397 (python-imenu--put-parent, python-imenu--build-tree)
15398 (python-imenu-create-index, python-imenu-create-flat-index)
15399 (python-util-popn): New functions.
15400 (python-mode): Set imenu-create-index-function to
15401 python-imenu-create-index.
15402
15403 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15404
15405 * winner.el (winner-active-region): Use region-active-p, activate-mark
15406 and deactivate-mark (bug#14225).
15407
15408 * simple.el (deactivate-mark): Don't inline it.
15409
15410 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15411
15412 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15413
15414 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15415
15416 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15417 file extensions from the archive-mode entry in order to prefer
15418 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15419
15420 2013-04-18 Leo Liu <sdl.web@gmail.com>
15421
15422 * bindings.el (help-event-list): Add ?\?.
15423
15424 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15425
15426 * subr.el (with-wrapper-hook): Declare obsolete.
15427 * simple.el (filter-buffer-substring-function): New hook.
15428 (filter-buffer-substring): Use it.
15429 (filter-buffer-substring-functions): Mark obsolete.
15430 * minibuffer.el (completion-in-region-function): New hook.
15431 (completion-in-region): Use it.
15432 (completion-in-region-functions): Mark obsolete.
15433 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15434 * abbrev.el (abbrev-expand-function): New hook.
15435 (expand-abbrev): Use it.
15436 (abbrev-expand-functions): Mark obsolete.
15437 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15438 and :filter-return.
15439
15440 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15441
15442 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15443 and do not care about match data.
15444
15445 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15446
15447 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15448 completion tables when completing error conditions and
15449 `declare' arguments.
15450 (lisp-complete-symbol, field-complete): Mark as obsolete.
15451 (check-parens): Unmatched parens are user errors.
15452 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15453
15454 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15455
15456 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15457 command changed buffer (ie. `flyspell-pre-buffer' is not current
15458 buffer), which prevents making decisions based on invalid value of
15459 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15460 cause an error when `flyspell-pre-point' was nil after switching
15461 buffers.
15462 (flyspell-post-command-hook): No longer needs to change buffers when
15463 checking pre-word. While at it remove unnecessary progn.
15464
15465 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15466
15467 * textmodes/ispell.el (ispell-add-per-file-word-list):
15468 Fix `flyspell-correct-word-before-point' error when accepting
15469 words and `coment-padding' is an integer by using
15470 `comment-normalize-vars' (Bug #14214).
15471
15472 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15473
15474 New defun movement commands.
15475 * progmodes/python.el (python-nav--syntactically)
15476 (python-nav--forward-defun, python-nav-backward-defun)
15477 (python-nav-forward-defun): New functions.
15478
15479 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15480
15481 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15482 (python-syntax-context): Use named compiler-macro for backwards
15483 compatibility with Emacs 24.x.
15484
15485 2013-04-17 Leo Liu <sdl.web@gmail.com>
15486
15487 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15488 octave-hide-process-buffer.
15489
15490 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15491
15492 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15493 (bug#14216).
15494
15495 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15496
15497 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15498 Fix adjustment of offset when receiving incomplete responses from GDB
15499 (bug#14129).
15500
15501 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15502
15503 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15504 python-mode-abbrev-table.
15505 (python-skeleton-define): Adjust accordingly.
15506 (python-mode-abbrev-table): New table that inherits from it so that
15507 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15508
15509 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15510 (abbrev-symbol): Use it.
15511 (abbrev--before-point): Use it since we already handle inheritance.
15512
15513 2013-04-16 Leo Liu <sdl.web@gmail.com>
15514
15515 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15516 binding to info-lookup-symbol.
15517
15518 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15519
15520 * minibuffer.el (completion--twq-all):
15521 * term/ns-win.el (ns-initialize-window-system):
15522 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15523
15524 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15525
15526 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15527 global bindings.
15528
15529 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15530
15531 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15532
15533 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15534 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15535 to nil.
15536 (ruby-end-of-defun): Remove the unused arg, change the docstring
15537 to reflect that this function is only used as the value of
15538 `end-of-defun-function'.
15539 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15540 to reflect an earlier change that beginning/end-of-defun functions
15541 jump between methods in a class definition, as well as top-level
15542 functions.
15543
15544 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15545
15546 * minibuffer.el (minibuffer-complete): Don't just scroll
15547 a *Completions* that's been iconified.
15548 (minibuffer-force-complete): Make sure repetitions do cycle when going
15549 through completion-in-region -> minibuffer-complete.
15550
15551 2013-04-15 Alan Mackenzie <acm@muc.de>
15552
15553 Correct the placement of c-cpp-delimiters when there're #s not at
15554 col 0.
15555
15556 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15557 place a submatch around the #.
15558 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15559 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15560 on the #, not BOL.
15561
15562 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15563
15564 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15565 (advice--member-p): New arg `name'.
15566 (advice--add-function, advice-member-p): Use it (bug#14202).
15567
15568 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15569
15570 Reformulate java imenu-generic-expression.
15571 The old expression contained ill formed regexps.
15572
15573 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15574 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15575 (cc-imenu-java-method-arg-regexp): New defconsts.
15576 (cc-imenu-java-build-type-args-regex): New defun.
15577 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15578 handling of spaces in the regexp.
15579
15580 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15581
15582 * textmodes/ispell.el (ispell-command-loop): Remove
15583 flyspell highlight of a word when ispell accepts it (bug #14178).
15584
15585 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15586
15587 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15588 uses code from the previous `ange-ftp-run-real-handler'.
15589 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15590 only in case that function exist. This is needed for proper
15591 unloading of Tramp.
15592
15593 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15594
15595 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15596
15597 * textmodes/reftex.el (reftex-compile-variables): Use it.
15598
15599 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15600
15601 * files.el (normal-mode): Only use default major-mode if no other mode
15602 was specified.
15603
15604 * emacs-lisp/trace.el (trace-values): New function.
15605
15606 * files.el: Allow : in local variables (bug#14089).
15607 (hack-local-variable-regexp): New var.
15608 (hack-local-variables-prop-line, hack-local-variables): Use it.
15609
15610 2013-04-13 Roland Winkler <winkler@gnu.org>
15611
15612 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15613 data before it gets modified by bibtex-beginning-of-entry.
15614
15615 2013-04-13 Roland Winkler <winkler@gnu.org>
15616
15617 * textmodes/bibtex.el (bibtex-url): Doc fix.
15618
15619 2013-04-13 Roland Winkler <winkler@gnu.org>
15620
15621 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15622 does not visit a BibTeX file, exclude it from the list of buffers
15623 returned by bibtex-initialize.
15624
15625 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15626
15627 * window.el (split-window): Remove interactive form, since as a
15628 command this function is a special case of split-window-below.
15629 Correct doc string.
15630
15631 2013-04-12 Roland Winkler <winkler@gnu.org>
15632
15633 * faces.el (read-face-name): Do not override value of arg default.
15634 Allow single faces and strings as default values. Remove those
15635 elements from return value that are not faces.
15636 (describe-face): Simplify.
15637 (face-at-point): New optional args thing and multiple so that this
15638 function can provide the same functionality previously provided by
15639 read-face-name.
15640 (make-face-bold, make-face-unbold, make-face-italic)
15641 (make-face-unitalic, make-face-bold-italic, invert-face)
15642 (modify-face, read-face-and-attribute): Use face-at-point.
15643
15644 * cus-edit.el (customize-face, customize-face-other-window)
15645 * cus-theme.el (custom-theme-add-face)
15646 * face-remap.el (buffer-face-set)
15647 * facemenu.el (facemenu-set-face): Use face-at-point.
15648
15649 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15650
15651 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15652
15653 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15654
15655 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15656 off leading { and trailing } from field values.
15657
15658 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15659
15660 * emacs-lisp/timer.el (timer--check): New function.
15661 (timer--time, timer-set-function, timer-event-handler): Use it.
15662 (timer-set-idle-time): Simplify.
15663 (timer--activate): CSE.
15664 (timer-event-handler): Give more info in error message.
15665 (internal-timer-start-idle): New function, moved from C.
15666
15667 * mpc.el (mpc-proc): Add `restart' argument.
15668 (mpc-proc-cmd): Use it.
15669 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15670 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15671 less often.
15672
15673 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15674
15675 * progmodes/sh-script.el: Implement `sh-mode' own
15676 `add-log-current-defun-function' (bug#14112).
15677 (sh-current-defun-name): New function.
15678 (sh-mode): Use the function.
15679
15680 2013-04-09 Bastien Guerry <bzg@gnu.org>
15681
15682 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15683
15684 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15685
15686 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15687
15688 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15689 timer (bug#14156).
15690
15691 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15692
15693 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15694 declaration.
15695
15696 2013-04-07 Leo Liu <sdl.web@gmail.com>
15697
15698 * pcmpl-x.el: New file.
15699
15700 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15701
15702 Do not set x-display-name until X connection is established.
15703 This is needed to prevent from weird situation described at
15704 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15705 * frame.el (make-frame): Set x-display-name after call to
15706 window system initialization function, not before.
15707 * term/x-win.el (x-initialize-window-system): Add optional
15708 display argument and use it.
15709 * term/w32-win.el (w32-initialize-window-system):
15710 * term/ns-win.el (ns-initialize-window-system):
15711 * term/pc-win.el (msdos-initialize-window-system):
15712 Add compatible optional display argument.
15713
15714 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15715
15716 * files.el (normal-backup-enable-predicate): On MS-Windows and
15717 MS-DOS compare truenames of temporary-file-directory and of the
15718 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15719 don't fail comparison by compare-strings. Also, compare file
15720 names case-insensitively on MS-Windows and MS-DOS.
15721
15722 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15725 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15726
15727 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15728
15729 * whitespace.el (whitespace-color-on, whitespace-color-off):
15730 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15731
15732 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15733
15734 * ispell.el (ispell-set-spellchecker-params):
15735 Really set `ispell-args' for all equivs.
15736
15737 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15738
15739 * ido.el (ido-completions): Use extra elements of ido-decorations
15740 (bug#14143).
15741 (ido-decorations): Update docstring.
15742
15743 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15744
15745 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15746 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15747 nil during initialization, in order not to miss changes since the
15748 file was opened. (Bug#14140)
15749
15750 2013-04-05 Leo Liu <sdl.web@gmail.com>
15751
15752 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15753
15754 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15755
15756 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15757
15758 2013-04-04 Glenn Morris <rgm@gnu.org>
15759
15760 * electric.el (electric-pair-inhibit-predicate): Add :version.
15761
15762 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15763
15764 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15765 when a package is required several times (bug#14082).
15766
15767 2013-04-04 Roland Winkler <winkler@gnu.org>
15768
15769 * faces.el (read-face-name): Behave as promised by the docstring.
15770 Assume that arg default is a list of faces.
15771 (describe-face): Call read-face-name with list of default faces.
15772
15773 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15774
15775 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15776 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15777 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15778 the header.
15779 (bookmark-exit-hook-internal): Save even if list is empty.
15780
15781 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15782
15783 * emacs-lisp/package.el (package-pinned-packages): New var.
15784 (package--add-to-archive-contents): Obey it (bug#14118).
15785
15786 2013-04-03 Alan Mackenzie <acm@muc.de>
15787
15788 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15789 Also adapt to the new values of element 7 of a parse state.
15790
15791 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15792 parameter `not-in-delimiter'. Handle being inside comment opener.
15793 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15794 character in case we're typing a '*' after a '/'.
15795 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15796 instead by passing the parameter to c-state-pp-to-literal.
15797
15798 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15799 for elt. 7 of a parse state.
15800
15801 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15802
15803 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15804 * international/latin1-disp.el, international/mule-util.el:
15805 * language/cyril-util.el, language/european.el, language/ind-util.el:
15806 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15807 * language/tibetan.el, language/viet-util.el:
15808 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15809
15810 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15811
15812 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15813 (electric-pair-post-self-insert-function): Use it.
15814 (electric-pair-default-inhibit): New function, extracted from
15815 electric-pair-post-self-insert-function.
15816
15817 2013-03-31 Roland Winkler <winkler@gnu.org>
15818
15819 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15820
15821 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15822
15823 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15824
15825 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15826
15827 Un-indent after "pass" and "return" statements (Bug#13888)
15828 * progmodes/python.el (python-indent-block-enders): New var.
15829 (python-indent-calculate-indentation): Use it.
15830
15831 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15832
15833 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15834 defun. Defining it as defalias could introduce too eager
15835 byte-compiler optimization. (Bug#14030)
15836
15837 2013-03-30 Chong Yidong <cyd@gnu.org>
15838
15839 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15840
15841 2013-03-30 Leo Liu <sdl.web@gmail.com>
15842
15843 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15844 (kmacro-execute-from-register): Pass the keyboard macro to
15845 kmacro-call-macro or repeating won't work correctly.
15846
15847 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15848
15849 * progmodes/subword.el: Back to using `forward-symbol'.
15850
15851 * subr.el (forward-whitespace, forward-symbol)
15852 (forward-same-syntax): Move from thingatpt.el.
15853
15854 2013-03-29 Leo Liu <sdl.web@gmail.com>
15855
15856 * kmacro.el (kmacro-to-register): New command.
15857 (kmacro-execute-from-register): New function.
15858 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15859
15860 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15861
15862 * mpc.el: Use defvar-local and setq-local.
15863 (mpc--proc-connect): Connection failures are not bugs.
15864 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15865 (mpc-volume-map): Bind to the up-events.
15866
15867 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15868
15869 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15870 instead of `forward-symbol'.
15871
15872 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15873
15874 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15875 (edebug--recursive-edit): Use it.
15876 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15877 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15878
15879 2013-03-28 Leo Liu <sdl.web@gmail.com>
15880
15881 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15882
15883 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15884
15885 * facemenu.el (list-colors-callback): New defvar.
15886 (list-colors-redisplay): New function.
15887 (list-colors-display): Install list-colors-redisplay as the
15888 revert-buffer-function. (Bug#14063)
15889
15890 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15891
15892 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15893 and suffixes don't overlap (bug#14061).
15894
15895 * case-table.el: Use lexical-binding.
15896 (case-table-get-table): New function.
15897 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15898
15899 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15900
15901 * progmodes/subword.el: Add `superword-mode' to do word motion
15902 over symbol_words (parallels and leverages `subword-mode' which
15903 does word motion inside MixedCaseWords).
15904
15905 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15906
15907 * eshell/em-unix.el: Move su and sudo to...
15908 * eshell/em-tramp.el: ...Eshell tramp module.
15909
15910 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15911
15912 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15913 Change return value to be a sexp. Delay `get-buffer' to after
15914 restoring the desktop (bug#13951).
15915
15916 2013-03-26 Leo Liu <sdl.web@gmail.com>
15917
15918 * register.el: Move semantic tag handling back to
15919 cedet/semantic/senator.el. (Bug#14052)
15920
15921 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15922
15923 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15924 into the prompt either (bug#13963).
15925
15926 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15927
15928 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15929 part of "(error-foo)".
15930
15931 2013-03-24 Juri Linkov <juri@jurta.org>
15932
15933 * replace.el (list-matching-lines-prefix-face): New defcustom.
15934 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15935 `occur-engine' if `face-differs-from-default-p' returns t.
15936 (occur-engine): Add `,' inside backquote construct to evaluate
15937 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15938 Pass `prefix-face' to the functions `occur-context-lines' and
15939 `occur-engine-add-prefix'.
15940 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15941 `prefix-face' and propertize the prefix with `prefix-face'.
15942 (Bug#14017)
15943
15944 2013-03-24 Leo Liu <sdl.web@gmail.com>
15945
15946 * nxml/rng-valid.el (rng-validate-while-idle)
15947 (rng-validate-quick-while-idle): Guard against deleted buffer.
15948 (Bug#13999)
15949
15950 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15951 is the last entry in kill-buffer-hook.
15952
15953 * files.el (kill-buffer-hook): Doc fix.
15954
15955 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15956
15957 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15958 Make it safe-local.
15959
15960 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15961
15962 2013-03-23 Leo Liu <sdl.web@gmail.com>
15963
15964 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15965 Remove.
15966
15967 * nxml/rng-valid.el (rng-validate-mode)
15968 (rng-after-change-function, rng-do-some-validation):
15969 * nxml/rng-maint.el (rng-validate-buffer):
15970 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15971 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15972 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15973 (nxml-extend-after-change-region): Use with-silent-modifications.
15974
15975 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15976 timer-idle-list.
15977
15978 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15979 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15980 timer-idle-list. (Bug#13999)
15981
15982 2013-03-23 Juri Linkov <juri@jurta.org>
15983
15984 * info.el (info-index-match): New face.
15985 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15986 main pattern and add text properties with the new face to matches
15987 in index entries relative to the beginning of the index entry.
15988 (Bug#14015)
15989
15990 2013-03-21 Eric Ludlam <zappo@gnu.org>
15991
15992 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15993 Inhibit read only while inserting objects.
15994
15995 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15996
15997 * progmodes/cfengine.el: Update docs to mention
15998 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15999 symbol motion. Remove "_" from the word syntax.
16000
16001 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16002
16003 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16004 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16005
16006 2013-03-20 Juri Linkov <juri@jurta.org>
16007
16008 * info.el (Info-next-reference-or-link)
16009 (Info-prev-reference-or-link): New functions.
16010 (Info-next-reference, Info-prev-reference): Use them.
16011 (Info-try-follow-nearest-node): Handle footnote navigation.
16012 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16013
16014 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16015
16016 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16017 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16018
16019 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16020
16021 Suppress unnecessary non-ASCII chatter during build process.
16022 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16023 (batch-skkdic-convert): Suppress most of the chatter.
16024 It's not needed so much now that machines are faster,
16025 and its non-ASCII component was confusing; see Dmitry Gutov in
16026 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16027
16028 2013-03-20 Leo Liu <sdl.web@gmail.com>
16029
16030 * ido.el (ido-chop): Fix bug#10994.
16031
16032 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16033
16034 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16035 Remove vars.
16036 (whitespace-color-on, whitespace-color-off):
16037 Use `font-lock-fontify-buffer' (Bug#13817).
16038
16039 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16040
16041 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16042 remapping in mode-line.
16043 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16044
16045 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16046
16047 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16048 value for `whitespace-line' face (Bug#13875).
16049 (whitespace-font-lock-keywords): Change description.
16050 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16051 the constructed keywords instead.
16052 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16053
16054 2013-03-19 Leo Liu <sdl.web@gmail.com>
16055
16056 * progmodes/compile.el (compilation-display-error): New command.
16057 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16058 C-o. (Bug#13992)
16059
16060 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16061
16062 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16063
16064 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16065
16066 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16067
16068 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16069
16070 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16071
16072 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16073 * net/tramp-gvfs.el (top):
16074 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16075 (tramp-handle-shell-command): Use it.
16076 (tramp-dissect-file-name): Raise an error when hostname is a
16077 method name, and neither method nor user is specified.
16078
16079 * net/trampver.el: Update release number.
16080
16081 2013-03-18 Leo Liu <sdl.web@gmail.com>
16082
16083 Make sure eldoc can be turned off properly.
16084 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16085 eldoc-mode.
16086 (eldoc-display-message-p): Revert last change.
16087 (eldoc-display-message-no-interference-p)
16088 (eldoc-print-current-symbol-info): Tweak.
16089
16090 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16091
16092 * doc-view.el (doc-view-new-window-function): Check the new window
16093 overlay's display property instead the char property of the
16094 buffer's first char. Use `with-selected-window' instead of
16095 `save-window-excursion' with `select-window'.
16096 (doc-view-document->bitmap): Check the current doc-view overlay's
16097 display property instead the char property of the buffer's first char.
16098
16099 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16100
16101 Automate the build of ja-dic.el (Bug#13984).
16102 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16103 from the input, rather than assume that it's been done for us by the
16104 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16105 the current date into a ja-dic.el comment, as that complicates
16106 regression testing.
16107
16108 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16109
16110 * whitespace.el: Fix double evaluation.
16111 (whitespace-space, whitespace-hspace, whitespace-tab)
16112 (whitespace-newline, whitespace-trailing, whitespace-line)
16113 (whitespace-space-before-tab, whitespace-indentation)
16114 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16115 obsolete defvars.
16116 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16117 (whitespace-color-on): Use a single font-lock-add-keywords call.
16118 Fix double-evaluation of face variables.
16119
16120 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16121
16122 * net/tramp-adb.el (tramp-adb-parse-device-names):
16123 Use `start-process' instead of `call-process'. Otherwise, the
16124 function might be blocked under MS Windows. (Bug#13299)
16125
16126 2013-03-17 Leo Liu <sdl.web@gmail.com>
16127
16128 Extend eldoc to display info in the mode-line. (Bug#13978)
16129 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16130 (eldoc-mode-line-string): New variable.
16131 (eldoc-minibuffer-message): New function.
16132 (eldoc-message-function): New variable.
16133 (eldoc-message): Use it.
16134 (eldoc-display-message-p)
16135 (eldoc-display-message-no-interference-p):
16136 Support eldoc-post-insert-mode.
16137
16138 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16139 (eval-expression): Run it.
16140
16141 2013-03-17 Roland Winkler <winkler@gnu.org>
16142
16143 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16144 strings in the list of return values.
16145
16146 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16147
16148 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16149 radix before checking for HMS forms.
16150
16151 2013-03-16 Leo Liu <sdl.web@gmail.com>
16152
16153 * progmodes/scheme.el: Add indentation and font-locking for λ.
16154 (Bug#13975)
16155
16156 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16157
16158 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16159 token before point (bug#13942).
16160
16161 2013-03-16 Leo Liu <sdl.web@gmail.com>
16162
16163 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16164
16165 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16166
16167 * startup.el (command-line-normalize-file-name): Fix handling of
16168 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16169 <xfq.free@gmail.com> in
16170 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16171
16172 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16173
16174 Sync with Tramp 2.2.7.
16175
16176 * net/trampver.el: Update release number.
16177
16178 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16179
16180 * doc-view.el: Fix bug#13887.
16181 (doc-view-insert-image): Don't modify overlay associated to
16182 non-live windows, and implement horizontal centering of image in
16183 case it's smaller than the window.
16184 (doc-view-new-window-function): Force redisplay of new windows on
16185 doc-view buffers.
16186
16187 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16188
16189 * saveplace.el (save-place-alist-to-file): Don't sort
16190 `save-place-alist', just pretty-print it (bug#13882).
16191
16192 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16193
16194 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16195 Check whether `default-file-name-coding-system' is bound.
16196 It isn't in XEmacs.
16197
16198 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16199
16200 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16201 backquotes for `obsolete' (bug#13929).
16202
16203 * international/mule.el (find-auto-coding): Include file name in
16204 obsolescence warning (bug#13922).
16205
16206 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16207
16208 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16209 for CFEngine 3-specific indentation.
16210 (cfengine3-indent-line): Use it. Fix up category regex.
16211 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16212
16213 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16214
16215 * type-break.el (type-break-file-name):
16216 * textmodes/remember.el (remember-data-file):
16217 * strokes.el (strokes-file):
16218 * shadowfile.el (shadow-initialize):
16219 * saveplace.el (save-place-file):
16220 * ps-bdf.el (bdf-cache-file):
16221 * progmodes/idlwave.el (idlwave-config-directory):
16222 * net/quickurl.el (quickurl-url-file):
16223 * international/kkc.el (kkc-init-file-name):
16224 * ido.el (ido-save-directory-list-file):
16225 * emulation/viper.el (viper-custom-file-name):
16226 * emulation/vip.el (vip-startup-file):
16227 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16228 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16229
16230 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16231
16232 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16233 * language/thai-word.el: Switch to UTF-8.
16234
16235 See ChangeLog.16 for earlier changes.
16236
16237 ;; Local Variables:
16238 ;; coding: utf-8
16239 ;; End:
16240
16241 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16242
16243 This file is part of GNU Emacs.
16244
16245 GNU Emacs is free software: you can redistribute it and/or modify
16246 it under the terms of the GNU General Public License as published by
16247 the Free Software Foundation, either version 3 of the License, or
16248 (at your option) any later version.
16249
16250 GNU Emacs is distributed in the hope that it will be useful,
16251 but WITHOUT ANY WARRANTY; without even the implied warranty of
16252 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16253 GNU General Public License for more details.
16254
16255 You should have received a copy of the GNU General Public License
16256 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.