* lisp/hippie-exp.el (he--all-buffers): New function.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * hippie-exp.el (he--all-buffers): New function.
4 (try-expand-line-all-buffers, try-expand-list-all-buffers)
5 (try-expand-dabbrev-all-buffers): Use it.
6
7 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
8
9 * hippie-exp.el (try-expand-line-all-buffers)
10 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
11 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
12 original buffer, in case they're buffer-local.
13
14 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
15
16 * ses.el (ses-initial-global-parameters-re): New defconst, a
17 specific regexp is needed now that ses.el can handle both
18 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
19 local printers.
20 (ses-localvars): Add local variables needed for local printer handling.
21 (ses-set-localvars): Handle hashmap initialisation.
22 (ses-paramlines-plist): Add param-line for number of local printers.
23 (ses-paramfmt-plist): New defconst, needed for code factorization
24 between functions `ses-set-parameter' and
25 `ses-file-format-extend-paramter-list'
26 (ses-make-local-printer-info): New defsubst.
27 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
28 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
29 (ses-cell-printer-aset): New defmacro.
30 (ses-local-printer-compile): New defun.
31 (ses-local-printer): New defmacro.
32 (ses-printer-validate, ses-call-printer): Add support for local
33 printer functions.
34 (ses-file-format-extend-paramter-list): New defun.
35 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
36 factorization.
37 (ses-load): Add support for local printer functions.
38 (ses-read-printer): Update docstring and add support for local printer
39 functions.
40 (ses-refresh-local-printer, ses-define-local-printer): New defun.
41 (ses-safe-printer): Add support for local printer functions.
42
43 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
44
45 * ffap.el (ffap-lax-url): New var (bug#17723).
46 (ffap-url-at-point): Use it.
47 (ffap-file-at-point): Avoid returning just "/".
48
49 2014-06-12 Matthias Meulien <orontee@gmail.com>
50
51 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
52 (python-mode-map): Bind it.
53
54 * progmodes/python.el (class skeleton): Don't erase last char of class
55 name (bug#17683).
56
57 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
58
59 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
60
61 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
62
63 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
64 (bug#17745).
65
66 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * international/mule-cmds.el: Use lexical-binding.
69 (ucs-names): Simplify.
70
71 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
72
73 * progmodes/python.el (run-python): Use read-shell-command.
74
75 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * rect.el: Make it possible to move bounds past EOL or into TABs.
78 (operate-on-rectangle): Use apply-on-rectangle.
79 (rectangle--mark-crutches): New var.
80 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
81 (rectangle--crutches, rectangle--reset-crutches): New functions.
82 (apply-on-rectangle): Obey crutches. Avoid setq.
83 Fix missing final iteration if end is at EOB&BOL.
84 (rectangle-mark-mode-map): Add remap bindings for
85 exchange-point-and-mark and char/line movements.
86 (rectangle--*-char): New function.
87 (rectangle-exchange-point-and-mark, rectangle-right-char)
88 (rectangle-left-char, rectangle-forward-char)
89 (rectangle-backward-char, rectangle-next-line)
90 (rectangle-previous-line): New commands.
91 (rectangle--place-cursor): New function.
92 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
93
94 2014-06-08 Glenn Morris <rgm@gnu.org>
95
96 * startup.el (initial-buffer-choice): Doc fix.
97 Reset :version (adding an option does not merit a :version bump).
98
99 * bookmark.el (bookmark-load):
100 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
101
102 2014-06-08 Juri Linkov <juri@jurta.org>
103
104 * desktop.el: Activate auto-saving on window configuration changes.
105 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
106 `desktop-auto-save-set-timer' to/from
107 `window-configuration-change-hook'.
108 (desktop-auto-save-set-timer): Change REPEAT arg of
109 `run-with-idle-timer' from t to nil.
110 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
111
112 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
113
114 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
115 vc-hg-command (bug#17570).
116
117 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * international/mule-cmds.el (ucs-names): Add special entry for BEL
120 (bug#17702).
121
122 2014-06-08 Glenn Morris <rgm@gnu.org>
123
124 * startup.el (window-setup-hook): Doc fix.
125
126 * emacs-lisp/package.el (package-check-signature)
127 (package-unsigned-archives): Doc fixes.
128
129 2014-06-08 Martin Rudalics <rudalics@gmx.at>
130
131 * window.el (display-buffer-use-some-window): Don't make window
132 used smaller than it was before (Bug#17671).
133
134 2014-06-08 Eli Zaretskii <eliz@gnu.org>
135
136 * menu-bar.el (menu-bar-open): Fix last change: use the PC
137 'redisplay' instead of '(sit-for 0)'.
138
139 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
140
141 * net/tramp.el (tramp-ssh-controlmaster-options):
142 Improve search regexp. (Bug#17653)
143
144 2014-06-08 Glenn Morris <rgm@gnu.org>
145
146 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
147
148 2014-06-08 Eli Zaretskii <eliz@gnu.org>
149
150 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
151
152 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
153
154 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
155 (bug#17586).
156
157 * vc/vc-hg.el (vc-hg-log-graph): New var.
158 (vc-hg-print-log): Use it.
159 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
160 graph output (bug#17515).
161
162 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * mouse.el (mouse-posn-property): Ignore buffer position info when the
165 even happened elsewhere.
166
167 2014-06-06 Mario Lang <mlang@delysid.org>
168
169 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
170 `recenter' if `current-buffer' is equal to `window-buffer'.
171
172 2014-06-05 Leo Liu <sdl.web@gmail.com>
173
174 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
175
176 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
177
178 * textmodes/tildify.el (tildify-foreach-region-outside-env):
179 New function which calls a callback on portions of the buffer that are
180 outside of ignored environments.
181 (tildify-build-regexp): Remove function since it is now
182 incorporated in `tildify-foreach-region-outside-env' where it is
183 optimised and simplified by the use of `mapconcat'.
184 (tildify-tildify): Return number of substitutions made so that…
185 (tildify-count): …can be removed.
186 (tildify-find-env): Accept a new PAIRS argument which was
187 previously looked up in `tildify-ignored-environments-alist' each
188 time the function was called. With this change, the lookup is
189 performed only once in `tildify-foreach-region-outside-env'.
190 (tildify-region): Greatly simplify the function since now most of
191 the work is done by `tildify-foreach-region-outside-env'.
192 (tildify-mode-alist): Simplify slightly by avoiding if and setq
193 and instead using or.
194
195 * textmodes/tildify.el (tildify-ignored-environments-alist):
196 Optimise environments regexes
197
198 Each time beginning of an environment to ignore is found,
199 `tildify-find-env' needs to identify regexp for the ending
200 of the environment. This is done by trying all the opening
201 regexes on matched text in a loop, so to speed that up, this
202 loop should have fewer things to match, which can be done by
203 using alternatives in the opening regexes.
204
205 Coincidentally, this should make matching of the opening
206 regexp faster as well thanks to the use of `regexp-opt' and
207 having common prefix pulled from many regexes.
208
209 * textmodes/tildify.el (tildify-string-alist)
210 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
211 of supported modes since `xml-mode' is no longer a thing but just
212 an alias to the former. Also include comments and insides of tags
213 in `tildify-ignored-environments-alist' for XML modes. Finally,
214 since XML does not define “&nbsp;”[1], use a numeric reference for
215 a no-break space (namely “&#160;”)
216
217 [1] XML specification defines only a handful of predefined entities.
218 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
219 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
220 >, &, ' and " respectively). This is in contrast to HTML and even
221 XHTML which defined a whole bunch of entities including “&nbsp;”.
222
223 * textmodes/tildify.el (tildify-pattern-alist)
224 (tildify-string-alist, tildify-ignored-environments-alist):
225 Improve defcustom's types by adding more tags explaining what each
226 value means and replace “sexp” used in
227 `tildify-ignored-environments-alist' with a full type declaration.
228
229 * textmodes/tildify.el (tildify-find-env): Fix matched group
230 indexes in end-regex building
231
232 When looking for a start of an ignore-environment, the regex is built
233 by concatenating regexes of all the environments configured in
234 `tildify-ignored-environments-alist'. So for example, the following
235 list could be used to match TeX's \verb and \verb* commands:
236
237 (("\\\\verb\\(.\\)" . (1))
238 ("\\\\verb\\*\\(.\\)" . (1)))
239
240 This would result in the following regex being used to find the start
241 of any of the variants of the \verb command:
242
243 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
244
245 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
246 won't match anything, and thus (match-string 1) will be nil, which
247 will cause building of the end-matching regex to fail.
248
249 Fix this by using capture groups from the time when the opening
250 regexes are matched individually.
251
252 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
253 in `tildify-find-env'
254
255 The `tildify-ignored-environments-alist' allows the end-regex to
256 be provided not as a static string but mix of strings and indexes
257 of groups matched the begin-regex. For example, the “\verb!…!”
258 TeX-command (where “!” is an arbitrary character) is handled
259 using:
260
261 ("\\\\verb\\*?\\(.\\)" . (1))
262
263 In the same way, the following should be supported as well:
264
265 ("open-\\(.\\)" . ("end-" 1))
266
267 However the tildify-find-env function fails at
268
269 (concat result
270 (if (stringp (setq aux (car expression)))
271 expression ; BUG: expression is a list
272 (regexp-quote (match-string aux))))
273
274 where the string part is handled incorrectly.
275
276 The most trivial fix would be to replace `expression' in the
277 true-part of the if-statement with `aux', but instead, this commit
278 optimises `tildify-find-env' by changing it to use `mapconcat'
279 rather than open-coded while-loop.
280
281 2014-06-05 Mario Lang <mlang@delysid.org>
282
283 * woman.el (woman-mapcan): Remove.
284 (woman-parse-colon-path): Use cl-mapcan instead.
285
286 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
287
288 * register.el: Add link to Emacs manual in Commentary.
289
290 2014-06-02 Sam Steingold <sds@gnu.org>
291
292 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
293 (popup-menu): ...here.
294 (menu-bar-open): Use it to avoid an error when `lookup-key'
295 returns a number.
296
297 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
298
299 * net/tramp.el (tramp-call-process): Add traces.
300 (tramp-handle-unhandled-file-name-directory): Return "/".
301
302 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
303
304 Sync with upstream verilog-mode revision 3cd8144.
305 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
306 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
307 (verilog-type-font-keywords): Add nor.
308 (verilog-batch-execute-func): Force reading of Local Variables.
309 Fix printing "no changes to be saved" with verilog-batch.
310 (verilog-auto-arg-ports): Doc fix.
311 Add verilog-auto-arg-format to support newlines in AUTOARG.
312 (verilog-auto-arg): Doc fix.
313
314 2014-06-02 Glenn Morris <rgm@gnu.org>
315
316 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
317 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
318 * emulation/ws-mode.el: Move to obsolete/.
319 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
320
321 2014-06-02 Eli Zaretskii <eliz@gnu.org>
322
323 * simple.el (keyboard-quit): Force update of mode lines, to remove
324 the "Def" indicator, if we were defining a macro. (Bug#17615)
325
326 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * minibuffer.el (minibuffer-force-complete-and-exit):
329 Obey minibuffer-default (bug#17545).
330
331 * progmodes/js.el (js-indent-line): Don't mix columns and chars
332 (bug#17619).
333
334 * subr.el (set-transient-map): Don't wait for some "nested"
335 transient-map to finish if we're only supposed to be active for
336 the next command (bug#17642).
337
338 2014-06-02 Leo Liu <sdl.web@gmail.com>
339
340 * emacs-lisp/gv.el (window-buffer, window-display-table)
341 (window-dedicated-p, window-hscroll, window-point, window-start):
342 Fix gv-expander. (Bug#17630)
343
344 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
347 clicks (bug#17633).
348
349 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
350 for the single comma, since ", " is *very* common in normal French text
351 (bug#17643).
352
353 2014-06-02 Glenn Morris <rgm@gnu.org>
354
355 * emacs-lisp/package.el (package-check-signature)
356 (package-unsigned-archives): Fix :version.
357
358 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
359
360 * subr.el (sit-for): Don't run input-methods (bug#15614).
361
362 2014-06-02 Glenn Morris <rgm@gnu.org>
363
364 * cus-start.el: Fix some :version numbers.
365
366 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
367
368 * simple.el (deactivate-mark): Set mark-active to nil even if
369 deactivation is done via setting transient-mark-mode to nil,
370 since one is buffer-local and the other is global.
371
372 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
373 there can't be more than 2 arguments (bug#17584).
374
375 2014-06-02 Glenn Morris <rgm@gnu.org>
376
377 * simple.el (filter-buffer-substring-functions)
378 (filter-buffer-substring-function, buffer-substring-filters)
379 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
380
381 * minibuffer.el (completion-in-region-functions, completion-in-region)
382 (completion--in-region): Doc fixes.
383
384 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
385 (expand-abbrev, abbrev--default-expand): Doc fixes.
386
387 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
388
389 Include sources used to create macuvs.h.
390 * international/README: Refer to the Unicode Terms of Use rather
391 than copying it bodily here, as that simplifies maintenance.
392
393 2014-06-01 Glenn Morris <rgm@gnu.org>
394
395 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
396
397 2014-05-31 Glenn Morris <rgm@gnu.org>
398
399 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
400
401 2014-05-30 Glenn Morris <rgm@gnu.org>
402
403 * loadup.el: Treat `command-line-args' more flexibly.
404
405 2014-05-30 Alan Mackenzie <acm@muc.de>
406
407 Guard (looking-at "\\s!") from XEmacs.
408 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
409
410 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
411
412 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
413 The argument COUNT is now optional, to be more backward-compatible.
414 Doc fix. (Bug#17560)
415
416 2014-05-29 Reuben Thomas <rrt@sc3d.org>
417
418 * whitespace.el (whitespace-report-region):
419 Simplify documentation.
420 (whitespace-report-region): Allow report-if-bogus to take the
421 value `never', for non-interactive use.
422 (whitespace-report): Refer to whitespace-report-region's
423 documentation.
424
425 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * whitespace.el: Use font-lock-flush. Minimize refontifications.
428 Side benefit: it works without jit-lock.
429 (whitespace-point--used): New buffer-local var.
430 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
431 (whitespace-color-off): Use font-lock-flush.
432 (whitespace-point--used, whitespace-point--flush-used): New functions.
433 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
434 (whitespace-empty-at-eob-regexp): Use them.
435 (whitespace-post-command-hook): Rewrite.
436
437 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
438 (font-lock-fontify-buffer): Mark interactive-only.
439 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
440 Make buffer-local.
441 (font-lock-specified-p): Remove redundant boundp check.
442 (font-lock-flush-function, font-lock-ensure-function): New vars.
443 (font-lock-turn-on-thing-lock): Set them.
444 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
445 (font-lock-after-change-function): Make `old-len' optional.
446 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
447 Call font-lock-flush, just in case.
448 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
449 recent Emacsen.
450 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
451 (vera-mode-map, vera-mode-menu): Remove bindings to it.
452 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
453 and with-syntax-table.
454 * textmodes/conf-mode.el (conf-quote-normal):
455 * progmodes/sh-script.el (sh-set-shell):
456 * progmodes/prog-mode.el (prettify-symbols-mode):
457 * progmodes/f90.el (f90-font-lock-n):
458 * progmodes/cwarn.el (cwarn-mode):
459 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
460 * progmodes/compile.el (compilation-setup, compilation--unsetup):
461 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
462 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
463 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
464 font-lock-fontify-buffer-function and
465 font-lock-unfontify-buffer-function.
466 (rmail-unfontify-buffer-function, rmail-fontify-message):
467 Use with-silent-modifications.
468 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
469 and font-lock-ensure.
470 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
471
472 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
473
474 * emacs-lisp/package.el (package-generate-autoloads):
475 Inhibit backup files.
476
477 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
480 (bug#17608).
481
482 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
483
484 * textmodes/tildify.el (tildify-buffer, tildify-region):
485 Add dont-ask option.
486
487 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
490 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
491
492 * subr.el (internal--funcall-interactively): New.
493 (internal--call-interactively): Remove.
494 (called-interactively-p): Detect funcall-interactively instead of
495 call-interactively.
496 * simple.el (repeat-complex-command): Use funcall-interactively.
497 (repeat-complex-command--called-interactively-skip): Remove.
498
499 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
500
501 * register.el (register-read-with-preview): Don't burp on
502 frame switches (e.g. due to the frame we just popped).
503
504 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
505 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
506
507 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
508
509 * cus-face.el (custom-face-attributes): Add :distant-foreground.
510
511 2014-05-26 Martin Rudalics <rudalics@gmx.at>
512
513 * window.el (window--dump-frame): Remove interactive specification.
514
515 2014-05-26 Glenn Morris <rgm@gnu.org>
516
517 * hippie-exp.el (he-line-search-regexp):
518 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
519
520 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
521
522 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
523 to avoid errors when trying to create or visit a file foo.todo
524 located outside to todo-directory, and to allow having such files
525 without them being tied to Todo mode (bug#17482).
526 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
527 (todo-archive-done-item, todo-find-filtered-items-file)
528 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
529 (todo-category-completions, todo-read-category): When visiting a
530 Todo file, make sure we're in the right mode and the buffer local
531 variables are set.
532 (todo-make-categories-list, todo-reset-nondiary-marker)
533 (todo-reset-done-string, todo-reset-comment-string):
534 After processing all Todo files, kill the buffers of those files that
535 weren't being visited before the processing.
536 (todo-display-as-todo-file, todo-add-to-buffer-list)
537 (todo-visit-files-commands): Comment out.
538 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
539 (auto-mode-alist): Remove add-to-list calls making Todo file
540 extensions unrestrictedly tied to Todo modes.
541
542 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
545 (advice-function-member-p): Tell it to check both names and functions
546 (bug#17531).
547 (advice--add-function): Adjust call accordingly.
548
549 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
550
551 * calendar/todo-mode.el: Miscellaneous bug fixes.
552 (todo-delete-file): When deleting an archive but not its todo
553 file, make sure to update the todo file's category sexp.
554 (todo-move-category): Keep the moved category's name unless the
555 file moved to already has a category with that name. If the
556 numerically last category of the source file was moved, make the
557 first category current to avoid selecting a nonexisting category.
558 (todo-merge-category): Fix implementation to make merging to a
559 category in another file work as documented. Eliminate now
560 insufficient and unnecessary renaming of archive category, correct
561 document string accordingly, and clarify it. If the numerically
562 last category of the source file was merged, make the first
563 category current to avoid selecting a nonexisting category.
564 (todo-archive-done-item): When there are marked items and point
565 happens to be on an unmarked item, ignore the latter. Don't leave
566 point below last item after archiving marked items.
567 (todo-unarchive-items): Fix logic to ensure unarchiving an item
568 from an archive with only one category deletes the archive only
569 when the category is empty after unarchiving. Make sure the todo
570 file's category sexp is updated.
571 (todo-read-file-name): Allow an existing file name even when it is
572 not required (todo-move-category needs this to work as documented).
573 (todo-add-file): Call todo-validate-name to reject the name of an
574 existing todo file (needed due to fix in todo-read-file-name).
575 (todo-reset-nondiary-marker): Also reset in filtered items files.
576 (todo-reset-done-string, todo-reset-comment-string): Also reset in
577 regexp filtered items files.
578 (todo-reset-highlight-item): Also reset in filtered items files.
579 Fix incorrect variable reference in document string.
580
581 2014-05-26 Glenn Morris <rgm@gnu.org>
582
583 * window.el (window--dump-frame): Avoid error in --without-x builds.
584
585 2014-05-26 Glenn Morris <rgm@gnu.org>
586
587 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
588
589 2014-05-26 Eli Zaretskii <eliz@gnu.org>
590
591 * frame.el (set-frame-font): Doc fix.
592
593 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
594
595 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
596
597 * emacs-lisp/package.el (package--download-one-archive):
598 Use `write-region' instead of `save-buffer' to avoid running various
599 hooks. (Bug#17155)
600 (describe-package-1): Same. Insert newline at the end of the
601 buffer if appropriate.
602
603 2014-05-26 Juri Linkov <juri@jurta.org>
604
605 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
606 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
607 Add more modifiers: meta, control, shift, hyper, super, alt.
608 (Bug#17439)
609
610 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
611 to allow changing its value with `set-variable'.
612
613 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
616 #; comments.
617 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
618 New functions.
619 (scheme-mode-variables): Set syntax-propertize-function instead of
620 font-lock-syntactic-face-function.
621 (scheme-font-lock-syntactic-face-function): Delete.
622
623 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
624
625 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
626 (bug#17392).
627
628 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
629
630 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
631 for a temporary file name.
632
633 2014-05-26 Eli Zaretskii <eliz@gnu.org>
634
635 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
636
637 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
638
639 * net/dbus.el (dbus-init-bus, dbus-call-method)
640 (dbus-call-method-asynchronously, dbus-send-signal)
641 (dbus-method-return-internal, dbus-method-error-internal):
642 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
643
644 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
645
646 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
647 methods which do not have a doc string. (Bug#17490)
648
649 2014-05-25 Tassilo Horn <tsdh@gnu.org>
650
651 * textmodes/reftex-ref.el (reftex-format-special): Make it work
652 also for AMS Math's \eqref macro.
653
654 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
655
656 Arrange to never byte-compile the generated -pkg.el file.
657
658 * emacs-lisp/package.el (package-generate-description-file):
659 Output first-line comment to set buffer-local var `no-byte-compile'.
660 Suggested by Dmitry Gutov:
661 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
662
663 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
664
665 Fix bug: Properly quote args to generated -pkg.el `define-package'.
666
667 * emacs-lisp/package.el (package-generate-description-file):
668 Inline `package--alist-to-plist'; rewrite to selectively
669 quote alist values that are not self-quoting.
670 (package--alist-to-plist): Delete func.
671
672 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
673
674 * term/xterm.el (xterm-function-map): Add mapping for shifted
675 keypad keys.
676
677 2014-05-24 Daniel Colascione <dancol@dancol.org>
678
679 * progmodes/subword.el (subword-find-word-boundary): Move point to
680 correct spot before search. (Bug#17580)
681
682 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
683 breaking the build.
684
685 2014-05-24 Leo Liu <sdl.web@gmail.com>
686
687 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
688
689 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * minibuffer.el (completion--sreverse): Remove.
692 (completion--common-suffix): Use `reverse' instead.
693 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
694
695 2014-05-22 Glenn Morris <rgm@gnu.org>
696
697 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
698
699 2014-05-21 Daniel Colascione <dancol@dancol.org>
700
701 * files.el (interpreter-mode-alist): Add mksh.
702
703 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
704 derivative.
705 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
706 mksh. Improve custom spec; allow regular expressions.
707 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
708 (sh-after-hack-local-variables): New function.
709 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
710 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
711 the normalization.
712 (sh-canonicalize-shell): Rewrite to support regexes.
713
714 2014-05-21 Leo Liu <sdl.web@gmail.com>
715
716 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
717
718 2014-05-19 Leo Liu <sdl.web@gmail.com>
719
720 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
721
722 2014-05-18 Glenn Morris <rgm@gnu.org>
723
724 * loadup.el:
725 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
726
727 2014-05-14 Sam Steingold <sds@gnu.org>
728
729 * progmodes/python.el (python-shell-get-or-create-process):
730 Do not bind `current-prefix-arg' so that C-c C-z does not talk
731 back unless requested.
732
733 2014-05-14 Glenn Morris <rgm@gnu.org>
734
735 * subr.el (with-file-modes): New macro.
736 * printing.el (pr-save-file-modes): Make obsolete.
737 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
738 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
739 Add with-file-modes.
740 * doc-view.el (doc-view-make-safe-dir):
741 * epg.el (epg--start):
742 * files.el (locate-user-emacs-file, make-temp-file)
743 (backup-buffer-copy, move-file-to-trash):
744 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
745 * eshell/esh-util.el (eshell-with-private-file-modes)
746 (eshell-make-private-directory):
747 * net/browse-url.el (browse-url-mosaic):
748 * obsolete/mailpost.el (post-mail-send-it):
749 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
750 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
751 Use with-file-modes.
752
753 * vc/emerge.el (emerge-make-temp-file): Simplify.
754
755 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
756 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
759 suffix (bug#15419).
760
761 2014-05-14 Glenn Morris <rgm@gnu.org>
762
763 * vc/emerge.el (emerge-temp-file-prefix):
764 Make pointless option obsolete.
765 (emerge-temp-file-mode): Make non-functional option obsolete.
766
767 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
768
769 * net/browse-url.el (browse-url):
770 Use `unhandled-file-name-directory' when setting `default-directory',
771 in order to circumvent stalled remote connections. (Bug#17425)
772
773 2014-05-14 Glenn Morris <rgm@gnu.org>
774
775 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
776 Optimize on Emacs, which has the relevant functions for ages.
777
778 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * simple.el (undo-make-selective-list): Obey undo-no-redo.
781
782 2014-05-12 Sam Steingold <sds@gnu.org>
783
784 * calendar/time-date.el (seconds-to-string): New function to
785 pretty print time delay in seconds.
786
787 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * mpc.el (mpc-format): Trim Date to the year.
790 (mpc-songs-hashcons): Shorten the Date field.
791
792 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
793 into autoloading just because of a silly indirection.
794
795 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
796
797 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
798
799 2014-05-12 Glenn Morris <rgm@gnu.org>
800
801 * emacs-lisp/find-gc.el: Move to ../admin.
802
803 * printing.el (pr-version):
804 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
805
806 * net/browse-url.el (browse-url-mosaic):
807 Create /tmp/Mosaic.PID as a private file.
808
809 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
810
811 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
812 (advice--member-p): If name is given, only compare the name.
813 (advice--remove-function): Don't stop at the first match.
814 (advice--normalize-place): New function.
815 (add-function, remove-function): Use it.
816 (advice--add-function): Pass the name, if any, to
817 advice--remove-function.
818
819 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
820
821 * electric.el (electric-indent-post-self-insert-function): Don't use
822 `pos' after modifying the buffer (bug#17449).
823
824 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
825
826 * calendar/todo-mode.el (todo-insert-item-from-calendar):
827 Correct argument list to conform to todo-insert-item--basic.
828
829 2014-05-12 Glenn Morris <rgm@gnu.org>
830
831 * files.el (cd-absolute): Test if directory is accessible
832 rather than executable. (Bug#17330)
833
834 * progmodes/compile.el (recompile):
835 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
836
837 * net/browse-url.el (browse-url-mosaic):
838 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
839 This is CVE-2014-3423.
840
841 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * mouse.el: Use the normal toplevel loop while dragging.
844 (mouse-set-point): Handle multi-clicks.
845 (mouse-set-region): Handle multi-clicks for drags.
846 (mouse-drag-region): Update call accordingly.
847 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
848 Use the normal event loop instead of a local while/read-event loop.
849 (global-map): Remove redundant bindings for double/triple-mouse-1.
850 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
851 Generate synthetic down events when the protocol only sends up events.
852 (xterm-mouse-last): Remove.
853 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
854 terminal parameter instead.
855 (xterm-mouse--set-click-count): New function.
856 (xterm-mouse-event): Detect/generate double/triple clicks.
857 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
858
859 * info.el (Info-quoted): New face.
860 (Info-mode-font-lock-keywords): New var.
861 (Info-mode): Use it.
862
863 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
864 are a hindrance for C-x C-e.
865
866 2014-05-11 Leo Liu <sdl.web@gmail.com>
867
868 * net/rcirc.el (rcirc-sentinel): Fix last change.
869
870 2014-05-08 Sam Steingold <sds@gnu.org>
871
872 * net/rcirc.el (rcirc-reconnect-delay): New user option.
873 (rcirc-sentinel): Auto-reconnect to the server if
874 `rcirc-reconnect-delay' is non-0 (but not more often than its
875 value in case the host is off-line).
876
877 2014-05-09 Eli Zaretskii <eliz@gnu.org>
878
879 * progmodes/grep.el (lgrep): Fix a typo in last commit.
880
881 2014-05-09 Glenn Morris <rgm@gnu.org>
882
883 * files.el (file-expand-wildcards):
884 * man.el (Man-support-local-filenames):
885 * printing.el (pr-i-directory, pr-interface-directory):
886 * progmodes/grep.el (lgrep, rgrep):
887 * textmodes/ispell.el (ispell-call-process)
888 (ispell-call-process-region, ispell-start-process)
889 (ispell-init-process): Use file-accessible-directory-p.
890
891 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
894 (xterm-mouse--read-event-sequence-1000): Return nil if something
895 looks fishy.
896 (xterm-mouse-event): Propagate it.
897 (xterm-mouse-translate-1): Handle it.
898
899 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
900
901 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
902 four slots of the parameter list are filled, make sure to pass it
903 to the argument list of todo-insert-item--basic.
904
905 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
908 Add optional `seen' argument to detect and break infinite loops.
909
910 2014-05-08 Eli Zaretskii <eliz@gnu.org>
911
912 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
913 (trace-unsafe, trace-use-tree): Make parentheses style be
914 according to Emacs style.
915
916 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
917
918 * net/tramp-sh.el (tramp-remote-process-environment):
919 Remove HISTFILE and HISTSIZE; it's too late to set them here.
920 Add :version entry.
921 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
922 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
923 extra "PSx=..." commands.
924 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
925 (Bug#17295)
926
927 (tramp-uudecode): Replace the hard-coded temporary file name by a
928 format specifier.
929 (tramp-remote-coding-commands): Enhance docstring.
930 (tramp-find-inline-encoding): Replace "%t" by a temporary file
931 name. (Bug#17415)
932 This is CVE-2014-3424.
933
934 2014-05-08 Glenn Morris <rgm@gnu.org>
935
936 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
937 (find-gc-source-files): Update some names.
938 (trace-call-tree): Simplify and update.
939 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
940 This is CVE-2014-3422.
941
942 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
943
944 * minibuffer.el (completion--try-word-completion): Revert fix for
945 Bug#15980 (bug#17375).
946
947 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
948 Always store button numbers in the same way in xterm-mouse-last;
949 Don't burp is xterm-mouse-last is not set as expected.
950 Never return negative indices.
951
952 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
953
954 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
955 Backtrack one char if the global/char-literal var matcher hits
956 inside a string. The next char could be the beginning of an
957 expression expansion.
958
959 2014-05-08 Glenn Morris <rgm@gnu.org>
960
961 * help-fns.el (describe-function-1): Test for an autoload before a
962 macro, since `macrop' works on autoloads. (Bug#17410)
963
964 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * electric.el (electric-indent-functions-without-reindent): Add yaml.
967
968 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
969 Make sure the new point we return is within the new string (bug#17239).
970
971 2014-05-05 Daniel Colascione <dancol@dancol.org>
972
973 * progmodes/compile.el (compilation-error-regexp-alist-alist):
974 Port `gnu' pattern to rx.
975
976 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
977
978 Remove unneeded prompt when closing a buffer with active
979 emacsclient ("Buffer ... still has clients"), #16548.
980 * server.el (server-start): Remove the only call to:
981 (server-kill-buffer-query-function): Remove.
982
983 2014-05-04 Leo Liu <sdl.web@gmail.com>
984
985 * calendar/diary-lib.el (calendar-chinese-month-name-array):
986 Defvar to pacify compiler.
987
988 2014-05-04 Eli Zaretskii <eliz@gnu.org>
989
990 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
991
992 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
995 Use nil rather than `default' for the "default" appearance (bug#17388).
996 * vc/ediff-util.el (ediff-inferior-compare-regions)
997 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
998 a misleading `default' value when it's really a boolean.
999 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1000 overlay is not visible.
1001
1002 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1003
1004 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1005 (todo-menu): Uncomment and update.
1006
1007 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1008
1009 * calendar/todo-mode.el: Reimplement item editing to have the same
1010 basic user interface as item insertion, and make small UI and
1011 larger internal improvements to the latter.
1012 (todo-insert-item): Add reference to the Todo mode user manual to
1013 the documentation string.
1014 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1015 adjust all callers. Change signature to combine diary and
1016 nonmarking arguments. Incorporate functionality of deleted item
1017 copying command and add error checking. Remove detailed
1018 descriptions of the arguments from the documentation string, since
1019 this is treated in the Todo mode user manual.
1020 (todo-copy-item, todo-edit-multiline-item)
1021 (todo-edit-done-item-comment, todo-edit-item-header)
1022 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1023 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1024 (todo-edit-item-date-year, todo-edit-item-date-month)
1025 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1026 Remove.
1027 (todo-edit-item): Reimplement as wrapper command for
1028 todo-edit-item--next-key and make it distinguish done and not done
1029 todo items.
1030 (todo-edit-item--text): New function, replacing old command
1031 todo-edit-item and incorporating deleted commands
1032 todo-edit-multiline-item and todo-edit-done-item-comment.
1033 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1034 Use only numeric value of prefix argument. Remove detailed
1035 descriptions of the arguments from the documentation string, since
1036 this is treated in the Todo mode user manual.
1037 (todo-edit-item--diary-inclusion): New function, replacing old
1038 command todo-edit-item-diary-inclusion and incorporating and fixing
1039 functionality of deleted command todo-edit-item-diary-nonmarking,
1040 making sure to remove todo-nondiary-marker when adding
1041 diary-nonmarking-symbol.
1042 (todo-edit-category-diary-inclusion): Make sure to delete
1043 diary-nonmarking-symbol when adding todo-nondiary-marker.
1044 (todo-edit-category-diary-nonmarking): Fix indentation.
1045 (todo-insert-item--parameters): Group diary and nonmarking
1046 parameters together.
1047 (todo-insert-item--apply-args): Adjust to signature of
1048 todo-insert-item--basic and incorporate copy parameter.
1049 Make small code improvements.
1050 (todo-insert-item--next-param): Improve prompt and adjust it to
1051 new parameter grouping. Remove obsolete code.
1052 (todo-edit-item--param-key-alist)
1053 (todo-edit-item--date-param-key-alist)
1054 (todo-edit-done-item--param-key-alist): New defconsts.
1055 (todo-edit-item--prompt): New variable.
1056 (todo-edit-item--next-key): New function.
1057 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1058 Remove bindings of deleted commands.
1059
1060 2014-05-04 Leo Liu <sdl.web@gmail.com>
1061
1062 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1063
1064 2014-05-04 Glenn Morris <rgm@gnu.org>
1065
1066 * allout-widgets.el (allout-widgets-tally)
1067 (allout-decorate-item-guides):
1068 * menu-bar.el (menu-bar-positive-p):
1069 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1070 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1071 * progmodes/js.el (js--inside-param-list-p)
1072 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1073 * progmodes/prolog.el (region-exists-p):
1074 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1075 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1076 Doc fixes (replace `iff').
1077
1078 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1081
1082 2014-05-04 Leo Liu <sdl.web@gmail.com>
1083
1084 Support Chinese diary entries in calendar and diary. (Bug#17393)
1085 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1086 (calendar-chinese-from-absolute-for-diary)
1087 (calendar-chinese-to-absolute-for-diary)
1088 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1089 (diary-chinese-list-entries): New functions to list and mark
1090 Chinese diary entries in the calendar window.
1091 (diary-chinese-anniversary)
1092 (diary-chinese-insert-anniversary-entry)
1093 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1094 (diary-chinese-insert-yearly-entry): New commands to insert
1095 Chinese diary entries.
1096
1097 * calendar/diary-lib.el (diary-font-lock-keywords):
1098 Support font-locking Chinese dates.
1099
1100 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1101 inserting Chinese diary entries.
1102
1103 * calendar/calendar.el (diary-chinese-entry-symbol):
1104 New customizable variable.
1105 (calendar-mode-map): Add bindings for inserting Chinese diary
1106 entries.
1107
1108 2014-05-03 Juri Linkov <juri@jurta.org>
1109
1110 * dired.el (dired-check-switches, dired-switches-recursive-p):
1111 New functions. (Bug#17218)
1112 (dired-switches-escape-p, dired-move-to-end-of-filename):
1113 Use `dired-check-switches'.
1114 (dired-insert-old-subdirs, dired-build-subdir-alist)
1115 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1116
1117 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1118
1119 * simple.el (undo-make-selective-list): New algorithm fixes
1120 incorrectness of position adjustments when undoing in region.
1121 (Bug#17235)
1122 (undo-elt-crosses-region): Make obsolete.
1123 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1124 New functions to adjust positions using undo-deltas.
1125
1126 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1127
1128 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1129 the last consecutive closing paren (bug#17345).
1130
1131 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1132
1133 * dired.el (dired-mode): make terminology for eXpunge command
1134 consistent. (Bug#17276)
1135
1136 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1137
1138 * dired.el (dired-initial-position-hook, dired-initial-position):
1139 Doc string fixes.
1140
1141 2014-04-30 Glenn Morris <rgm@gnu.org>
1142
1143 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1144
1145 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1146
1147 * faces.el (face-spec-recalc): Apply X resources only after the
1148 defface spec has been applied. Thus, X resources are no longer
1149 overriden by the defface spec which also fixes issues on win32 where
1150 the toolbar coloring was wrong because it is set through X resources
1151 and was (wrongfully) overriden. (Bug#16694)
1152
1153 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * textmodes/rst.el (electric-pair-pairs): Declare.
1156 (rst-mode): Set it (bug#17131).
1157
1158 2014-04-30 Juri Linkov <juri@jurta.org>
1159
1160 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1161 and `print-level' to nil. (Bug#17351)
1162
1163 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1164
1165 * battery.el (battery-update): Handle the case where battery
1166 status is "N/A" (bug#17319).
1167
1168 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1171 to syntax-propertize.
1172 (ps-mode-auto-indent): Mark as obsolete.
1173 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1174 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1175 word regexp operators.
1176 (ps-mode-map): Move initialization into declaration. Remove binding
1177 for TAB, RET, >, ], and }.
1178 (ps-mode-syntax-table): Move initialization into declaration.
1179 Don't give word syntax to non-word chars.
1180 (ps-run-mode-map): Move initialization into declaration.
1181 (ps-mode-menu-main): Remove auto-indent entry.
1182 (ps-mode-smie-rules): New function.
1183 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1184 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1185 (ps-mode--string-syntax-table): New const.
1186 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1187 New functions.
1188 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1189 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1190
1191 2014-04-27 Daniel Colascione <dancol@dancol.org>
1192
1193 * term/xterm.el (xterm-paste): Use large finite timeout when
1194 reading event to avoid putting keys in this-command-keys.
1195
1196 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1197
1198 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1199 (perl-syntax-propertize-function): Use it. Extend handling of
1200 here-docs to the unquoted case.
1201
1202 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1203
1204 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1205 Use equal-including-properties to compare help-echo strings (bug#17331).
1206
1207 2014-04-25 Leo Liu <sdl.web@gmail.com>
1208
1209 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1210 Fix syntax for @. (Bug#17325)
1211
1212 2014-04-25 Daniel Colascione <dancol@dancol.org>
1213
1214 * emacs-lisp/cl.el (gv): Require gv early to break eager
1215 macro-expansion cycles.
1216
1217 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * simple.el (region-active-p): Check there's a mark (bug#17324).
1220
1221 * simple.el (completion-list-mode-map): Use choose-completion for the
1222 mouse binding as well (bug#17302).
1223 (completion-list-mode, completion-setup-function): Adjust docstring and
1224 echo area message accordingly.
1225 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1226 calling convention of choose-completion.
1227 * comint.el (comint-dynamic-list-completions):
1228 * term.el (term-dynamic-list-completions): Accept choose-completion.
1229
1230 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1231 &, |, +, - and * can't be a division (bug#17317).
1232
1233 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1234 features on gnome-terminal (bug#16988).
1235
1236 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1237
1238 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1239
1240 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1241 the declared object, ignore zero or more parens, not zero or one.
1242
1243 2014-04-24 Leo Liu <sdl.web@gmail.com>
1244
1245 * progmodes/xscheme.el (xscheme-expressions-ring)
1246 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1247 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1248 (xscheme-allow-output-p, xscheme-prompt)
1249 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1250
1251 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1252 Comment out unused functions.
1253
1254 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * info.el: Use lexical-binding and cl-lib.
1257 Use defvar-local and setq-local instead of make-local-variable.
1258 (Info-apropos-matches): Avoid add-to-list.
1259 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1260
1261 2014-04-24 Daniel Colascione <dancol@dancol.org>
1262
1263 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1264
1265 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1268
1269 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1270
1271 * dired.el (dired-insert-set-properties): Do not consider
1272 subdirectory headings and empty lines to be information that
1273 `dired-hide-details-mode' should hide. (Bug#17228)
1274
1275 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1276
1277 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1278 Remove test messages.
1279 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1280 and `target' twice.
1281
1282 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1285 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1286
1287 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1288
1289 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1290
1291 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1292 Set "IFS=" when using read builtin, in order to preserve spaces in
1293 the file name. Add test messages for hunting a bug on hydra.
1294 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1295
1296 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1299 Don't prettify a word within a symbol.
1300
1301 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1302
1303 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1304 possible.
1305
1306 2014-04-22 Daniel Colascione <dancol@dancol.org>
1307
1308 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1309 use defun to define `function-put'.
1310
1311 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1314 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1315 (lisp-mode-variables): Set font-lock-extra-managed-props.
1316
1317 * emacs-lisp/byte-run.el (function-put): New function.
1318 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1319 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1320 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1321 Use them.
1322
1323 2014-04-22 Daniel Colascione <dancol@dancol.org>
1324
1325 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1326 Add `full-p' parameter; when nil, call `macroexpand' instead of
1327 `macroexpand-all'.
1328
1329 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1330 Improve docstrings.
1331
1332 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1333 Use lambda function values, not quoted lambdas.
1334 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1335
1336 * emacs-lisp/cl-macs.el
1337 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1338 (cl-struct-slot-value): Conditionally use aref or nth so that the
1339 compiler produces optimal code.
1340
1341 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1344 (inline): Don't inline cl--set-elt.
1345 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1346 Define as inlinable instead.
1347 (cl-struct-set-slot-value): Remove.
1348
1349 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1350 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1351 Use setf instead.
1352
1353 2014-04-21 Daniel Colascione <dancol@dancol.org>
1354
1355 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1356 last two parameters after all.
1357 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1358 (cl--compiler-macro-assoc,cl-struct-slot-value)
1359 (cl-struct-set-slot-value): Stop using them.
1360
1361 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1364 entry in image-mode-winprops-alist.
1365
1366 2014-04-21 Daniel Colascione <dancol@dancol.org>
1367
1368 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1369 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1370 (byte-compile-toplevel-file-form): Use it.
1371
1372 * emacs-lisp/cl-macs.el:
1373 (cl--loop-let): Properly destructure `while' clauses.
1374
1375 2014-04-20 Daniel Colascione <dancol@dancol.org>
1376
1377 * vc/vc.el (vc-root-dir): New public autoloaded function for
1378 generically finding the current VC root.
1379 * vc/vc-hooks.el (vc-not-supported): New error.
1380 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1381
1382 2014-04-20 Daniel Colascione <dancol@dancol.org>
1383
1384 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1385 argument.
1386 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1387 argument in case we're inside a symbol-macrolet.
1388 (cl--do-arglist, cl--compiler-macro-typep)
1389 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1390 environment to `cl--const-expr-val'.
1391 (cl-struct-sequence-type,cl-struct-slot-info)
1392 (cl-struct-slot-offset, cl-struct-slot-value)
1393 (cl-struct-set-slot-value): New functions.
1394
1395 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1398 assignments such as "case=hello" (bug#17297).
1399
1400 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1401
1402 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1403 Do not autoload.
1404 (tramp-file-name-handler, tramp-completion-file-name-handler):
1405 Revert patch from 2014-04-10, it isn't necessary anymore.
1406 (tramp-autoload-file-name-handler)
1407 (tramp-register-autoload-file-name-handlers): New defuns.
1408 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1409 (tramp-register-file-name-handlers): Remove also
1410 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1411 Do not autoload its invocation, but eval it after loading of 'tramp.
1412
1413 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1414
1415 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1416
1417 2014-04-17 Daniel Colascione <dancol@dancol.org>
1418
1419 Add support for bracketed paste mode; add infrastructure for
1420 managing terminal mode enabling and disabling automatically.
1421
1422 * xt-mouse.el:
1423 (xterm-mouse-mode): Simplify.
1424 (xterm-mouse-tracking-enable-sequence)
1425 (xterm-mouse-tracking-disable-sequence): New constants.
1426 (turn-on-xterm-mouse-tracking-on-terminal)
1427 (turn-off-xterm-mouse-tracking-on-terminal):
1428 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1429 parameters instead of random hooks.
1430 (turn-on-xterm-mouse-tracking)
1431 (turn-off-xterm-mouse-tracking): Delete.
1432
1433 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1434 (xterm-paste-ending-sequence): New constant.
1435 (xterm-paste): New command used for bracketed paste support.
1436
1437 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1438 (terminal-init-xterm-bracketed-paste-mode): New function.
1439 (terminal-init-xterm): Call it.
1440 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1441 and tty-mode-reset-strings instead of random hooks.
1442 (xterm-turn-on-modify-other-keys)
1443 (xterm-turn-off-modify-other-keys)
1444 (xterm-remove-modify-other-keys): Delete obsolete functions.
1445
1446 * term/screen.el: Rewrite to just use the xterm code.
1447 Add copyright notice. Mention tmux.
1448
1449 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1450
1451 * image-mode.el (image-mode-window-put): Also update the property of
1452 the "default window".
1453 * doc-view.el (doc-view-new-window-function): If no window
1454 exists, move to the last known page.
1455
1456 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1459 here-documents (bug#17262).
1460
1461 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1462
1463 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1464 Provide doc strings, as required by snarf-documentation.
1465
1466 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1469 arg of overlays-at. Use `invisible-p'.
1470
1471 * obsolete/lucid.el (extent-at):
1472 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1473 overlays-at.
1474 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1475
1476 2014-04-16 João Távora <joaotavora@gmail.com>
1477
1478 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1479 links. (Bug#17217).
1480
1481 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1482
1483 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1484 Use mapc to loop over a vector. (Bug#17257).
1485
1486 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1487
1488 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1489 patch, there are new problems with file names containing spaces.
1490 Get rid of backticks. (Bug#17238)
1491
1492 2014-04-16 João Távora <joaotavora@gmail.com>
1493
1494 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1495 possible bug.
1496
1497 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1498
1499 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1500 (blink-cursor-mode): Mention customization variables and the
1501 effect of 'blink-cursor-blinks'.
1502
1503 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1504
1505 * simple.el (undo): Prevent insertion of identity mapping into
1506 undo-equiv-table so as undo-only does not inf loop in the presence
1507 of consecutive nils in undo list.
1508
1509 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1510
1511 * faces.el (make-face): Deprecate optional argument as it is no
1512 longer needed/used since the conditional X resources handling
1513 has been pushed down to make-face-x-resource-internal itself.
1514 (make-empty-face): Don't pass optional argument to make-face.
1515
1516 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1517
1518 * savehist.el (savehist-save): Remove workaround for a read-passwd
1519 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1520 noticing that the shim was still present.
1521
1522 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1525
1526 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1527
1528 * faces.el (face-set-after-frame-default): Remove unused local variable.
1529
1530 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * progmodes/grep.el: Use lexical-binding.
1533 (grep-expand-template): Pass explicit lexical env to `eval'.
1534 (zrgrep): Let-bind grep-find-template explicitly.
1535
1536 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1537 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1538
1539 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1540
1541 * international/characters.el <standard-case-table>: Add entries
1542 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1543 Set category of Coptic characters be 'g' (Greek).
1544
1545 2014-04-12 Leo Liu <sdl.web@gmail.com>
1546
1547 * progmodes/octave.el (completion-table-with-cache):
1548 Define if not available.
1549 (octave-goto-function-definition, octave-sync-function-file-names)
1550 (octave-find-definition-default-filename):
1551 Backquote upattern for compatibility.
1552
1553 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1554
1555 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1556 name twice due to backticks. (Bug#17238)
1557
1558 2014-04-12 Glenn Morris <rgm@gnu.org>
1559
1560 * term/w32-win.el (x-win-suspend-error):
1561 * term/x-win.el (x-win-suspend-error): Sync docs.
1562
1563 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1564
1565 * faces.el (make-face): Remove deprecated optional argument.
1566 The conditional application of X resources is handled directly by
1567 make-face-x-resource-internal since Emacs 24.4.
1568 (make-empty-face): Don't pass optional argument to make-face.
1569
1570 2014-04-11 Glenn Morris <rgm@gnu.org>
1571
1572 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1573
1574 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 Ediff's overlay priorities cause more trouble than they solve.
1577 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1578 (ediff-highest-priority): Remove function (bug#17234).
1579 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1580 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1581 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1582 overlay priorities.
1583
1584 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1585
1586 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1587 entry; use symbol boundaries to avoid mis-matches.
1588
1589 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1590
1591 * net/tramp.el (tramp-file-name-handler)
1592 (tramp-completion-file-name-handler): Avoid recursive loading.
1593
1594 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1595 Quote result also locally.
1596
1597 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1600 Remove left-over code.
1601
1602 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1603 Reuse the previous comment's indentation unconditionally if it's on its
1604 own line.
1605
1606 2014-04-09 Daniel Colascione <dancol@dancol.org>
1607
1608 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1609 `no-syntax-crossing' arguments. Forward to `up-list'.
1610 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1611 Implement logic for escaping from strings. Use narrowing to deal
1612 with corner cases.
1613
1614 2014-04-09 Leo Liu <sdl.web@gmail.com>
1615
1616 * net/rcirc.el (rcirc-connection-info): New variable.
1617 (rcirc-connect): Use it to store connection info.
1618 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1619 for killed process.
1620 (rcirc-cmd-reconnect): New command. (Bug#17045)
1621 (rcirc-mode, set-rcirc-encode-coding-system)
1622 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1623
1624 2014-04-09 Daniel Colascione <dancol@dancol.org>
1625
1626 * emacs-lisp/cl-indent.el: Add comment claiming
1627 facility is also good for elisp.
1628 (lisp-indent-find-method): New function.
1629 (common-lisp-indent-function): Recognize cl-loop.
1630 (common-lisp-indent-function-1): Recognize cl constructs; use
1631 `lisp-indent-find-method' instead of `get' directly.
1632 (if): Use else-body style for elisp.
1633
1634 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1635
1636 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1637 Module methods. (Bug#17216)
1638
1639 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1640
1641 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1642 (describe-bindings-internal): Mark obsolete.
1643
1644 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1647 buffer-file-name, and buffer-file-truename any more.
1648
1649 2014-04-08 Leo Liu <sdl.web@gmail.com>
1650
1651 Use lexical-binding and require cl-lib.
1652 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1653 (rcirc-handler-generic, rcirc-fill-paragraph)
1654 (rcirc-format-response-string, rcirc-target-buffer)
1655 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1656 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1657 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1658 (rcirc-markup-timestamp, rcirc-markup-attributes)
1659 (rcirc-markup-my-nick, rcirc-markup-urls)
1660 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1661 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1662 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1663 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1664 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1665 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1666 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1667 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1668 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1669 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1670 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1671 use cl-lib.
1672
1673 2014-04-07 João Távora <joaotavora@gmail.com>
1674
1675 * elec-pair.el (electric-pair--syntax-ppss):
1676 When inside comments parse from comment beginning.
1677 (electric-pair--balance-info): Fix typo in comment.
1678 (electric-pair--in-unterminated-string-p): Delete.
1679 (electric-pair--unbalanced-strings-p): New function.
1680 (electric-pair-string-bound-function): New var.
1681 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1682 according to `electric-pair--in-unterminated-string-p'
1683
1684 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1685 Inhibit quote pairing if point-max is inside an unterminated string.
1686 (electric-pair--looking-at-unterminated-string-p): Delete.
1687 (electric-pair--in-unterminated-string-p): New function.
1688
1689 2014-04-07 Glenn Morris <rgm@gnu.org>
1690
1691 * shell.el (shell-directory-tracker):
1692 Go back to just ignoring failures. (Bug#17159)
1693
1694 2014-04-07 João Távora <joaotavora@gmail.com>
1695
1696 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1697 backspace. (bug#16981)
1698 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1699 (electric-pair-backward-delete-char-untabify): Delete.
1700 (electric-pair-mode-map): Bind backspace to a menu item filtering
1701 a new `electric-pair-delete-pair' command.
1702 (electric-pair-delete-pair): New command.
1703
1704 * progmodes/python.el (python-electric-pair-string-delimiter):
1705 Fix triple-quoting electricity. (Bug#17192)
1706
1707 * elec-pair.el (electric-pair-post-self-insert-function):
1708 Don't skip whitespace when `electric-pair-text-pairs' and
1709 `electric-pair-pairs' were used. syntax to
1710 electric-pair--skip-whitespace. (Bug#17183)
1711
1712 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1713
1714 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1715 "<F>". (Bug#17199)
1716
1717 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1718
1719 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1720 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1721
1722 2014-04-07 Glenn Morris <rgm@gnu.org>
1723
1724 * help.el (view-lossage): Doc tweak.
1725
1726 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1727
1728 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1729 only when inhibit-x-resources is nil, and do that earlier in the
1730 function. Doc fix. (Bug#16694)
1731 (face-spec-choose): Accept additional optional argument, whose
1732 value is returned if no matching attributes are found.
1733 (face-spec-recalc): Use the new optional argument when calling
1734 face-spec-choose. (Bug#16378)
1735 (make-face-x-resource-internal): Do nothing when
1736 inhibit-x-resources is non-nil. Don't touch the default face if
1737 reversed video is given--as was done in previous versions of Emacs.
1738 (face-set-after-frame-default): Don't call
1739 make-face-x-resource-internal here. (Bug#16434)
1740
1741 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1742
1743 * doc-view.el (doc-view-bookmark-jump):
1744 Use `bookmark-after-jump-hook' to jump to the right page after the
1745 buffer is shown in a window. (bug#16090)
1746
1747 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1748
1749 * international/characters.el (mirroring): Fix last change:
1750 instead of loading uni-mirrored.el explicitly, do that implicitly
1751 by creating the 'mirroring' uniprop table. This avoids announcing
1752 the loading of uni-mirrored.el.
1753
1754 2014-04-07 Glenn Morris <rgm@gnu.org>
1755
1756 * files.el (buffer-stale--default-function)
1757 (buffer-stale-function, revert-buffer--default):
1758 * autorevert.el (auto-revert-buffers): Doc tweaks.
1759
1760 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1761
1762 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1763
1764 2014-04-07 Glenn Morris <rgm@gnu.org>
1765
1766 * files.el (make-backup-file-name-function)
1767 (make-backup-file-name, make-backup-file-name--default-function)
1768 (make-backup-file-name-1, find-backup-file-name)
1769 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1770 (buffer-stale--default-function, buffer-stale-function)
1771 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1772 (revert-buffer, revert-buffer--default)
1773 (revert-buffer-insert-file-contents--default-function):
1774 Doc fixes related to defaults no longer being nil.
1775 (make-backup-file-name-function): Bump :version.
1776 Restore nil as a valid but deprecated custom type.
1777
1778 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1779
1780 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1781 Handle $' used as a variable (bug#17174).
1782
1783 * progmodes/perl-mode.el (perl-indent-new-calculate):
1784 Handle forward-sexp failure (bug#16985).
1785 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1786 modifiers introducing expressions (bug#17116).
1787
1788 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1791
1792 2014-04-05 Leo Liu <sdl.web@gmail.com>
1793
1794 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1795 Add define-compilation-mode.
1796
1797 2014-04-04 João Távora <joaotavora@gmail.com>
1798
1799 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1800 parse from comment beginning.
1801 (electric-pair--balance-info): Fix typo in comment.
1802 (electric-pair--in-unterminated-string-p): Delete.
1803 (electric-pair--unbalanced-strings-p): New function.
1804 (electric-pair-string-bound-function): New var.
1805 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1806 according to `electric-pair--in-unterminated-string-p'.
1807
1808 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1811 Move declaration before first use.
1812 (reftex-move-to-next-arg): Silence compiler warning.
1813
1814 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1815
1816 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1817 Use `window-total-width' instead of `window-width'.
1818
1819 2014-04-03 Daniel Colascione <dancol@dancol.org>
1820
1821 * subr.el (set-transient-map): Remove rms's workaround entirely;
1822 use new `suspicious-object' subr to mark our lambda for closer
1823 scrutiny during gc.
1824
1825 2014-04-02 Richard Stallman <rms@gnu.org>
1826
1827 * subr.el (set-transient-map): Comment out previous change.
1828
1829 2014-04-02 Glenn Morris <rgm@gnu.org>
1830
1831 * menu-bar.el (menu-bar-file-menu):
1832 * vc/ediff.el (ediff-current-file):
1833 Update for revert-buffer-function no longer being nil by default.
1834
1835 * simple.el (command-execute): Respect nil disabled-command-function.
1836
1837 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1838
1839 * simple.el (command-execute): Do not execute the command when it
1840 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1841
1842 2014-04-02 Juri Linkov <juri@jurta.org>
1843
1844 * dired-aux.el (dired-compress-file): Don't use string-match-p
1845 because its match data is used afterwards.
1846
1847 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1850 0 like nil.
1851
1852 2014-04-02 João Távora <joaotavora@gmail.com>
1853
1854 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1855 Inhibit quote pairing if point-max is inside an unterminated string.
1856 (electric-pair--looking-at-unterminated-string-p):
1857 Delete.
1858 (electric-pair--in-unterminated-string-p): New function.
1859
1860 2014-04-01 Daniel Colascione <dancol@dancol.org>
1861
1862 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1863 when trying to complete the prompt.
1864
1865 2014-03-31 Leo Liu <sdl.web@gmail.com>
1866
1867 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1868 Refactor out eldoc-documentation-function-default.
1869 (eldoc-documentation-function-default): New function.
1870 (eldoc-documentation-function): Change value.
1871
1872 2014-03-31 Glenn Morris <rgm@gnu.org>
1873
1874 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1875
1876 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1877 (vhdl-compose-components-package, vhdl-compose-configuration):
1878 Abbreviate default-directory (missing from some previous upstream sync).
1879
1880 2014-03-31 Reto Zimmermann <reto@gnu.org>
1881
1882 Sync with upstream vhdl mode v3.35.2.
1883 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1884 (top-level): No longer require assoc.
1885 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1886 New functions. Use throughout to replace aget etc.
1887 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1888 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1889 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1890 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1891 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1892 except `vhdl-compiler'.
1893 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1894 when appropriate.
1895
1896 2014-03-31 Glenn Morris <rgm@gnu.org>
1897
1898 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1899 Revert 2014-03-26 merge goof; go back to using defalias.
1900
1901 2014-03-30 Daniel Colascione <dancol@dancol.org>
1902
1903 * comint.el (comint-send-input):
1904 Deactivate completion-in-region-mode before we send comint input.
1905 (Bug#17139).
1906
1907 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1908 on keyboard-quit.
1909
1910 2014-03-29 Glenn Morris <rgm@gnu.org>
1911
1912 * textmodes/reftex.el: Manage most autoloads automatically.
1913 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1914 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1915 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1916 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1917 * textmodes/reftex-toc.el: Set generated-autoload-file,
1918 and add autoload cookies for reftex.el.
1919 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1920
1921 2014-03-28 Glenn Morris <rgm@gnu.org>
1922
1923 * cus-start.el (report-emacs-bug-address): Set custom properties.
1924 * mail/emacsbug.el (report-emacs-bug-address):
1925 Variable is now defined in emacs.c.
1926
1927 * mail/emacsbug.el (report-emacs-bug):
1928 Include system-configuration-features.
1929
1930 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1931
1932 * simple.el (cycle-spacing): Never delete spaces on first run by
1933 default, but do so in a new 'fast mode and if there are already
1934 N spaces (the previous behavior).
1935 Compare N with its value in previous invocation so that changing
1936 prefix argument restarts `cycle-spacing' sequence.
1937 The idea is that with this change, binding M-SPC to
1938 `cycle-spacing' should not introduce any changes in behavior of
1939 the binding so long as users do not type M-SPC twice in a raw with
1940 the same prefix argument or lack thereof.
1941
1942 2014-03-28 Glenn Morris <rgm@gnu.org>
1943
1944 * faces.el (term-file-aliases): New variable.
1945 (tty-run-terminal-initialization): Respect term-file-aliases.
1946 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1947 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1948 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1949
1950 2014-03-27 Glenn Morris <rgm@gnu.org>
1951
1952 * startup.el (inhibit-startup-hooks): Doc tweak.
1953 (normal-top-level): Simplify running of hooks.
1954 For window-setup-hook, respect inhibit-startup-hooks.
1955 (command-line-1): Don't set window-setup-hook to nil.
1956
1957 Allow selective autoloading from obsolete/ directory.
1958 * Makefile.in (obsolete-autoloads): New rule.
1959 (autoloads): Run obsolete-autoloads.
1960 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1961 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1962
1963 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1964
1965 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1966 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1967
1968 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1969 Don't propertize `?' or `!' as symbol constituent when after
1970 colon. (Bug#17097)
1971
1972 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1973
1974 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1975 which is no longer needed and causes trouble in GTK builds (bug#17046).
1976
1977 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1978 Use url-insert-file-contents; package-handle-response no longer exists.
1979
1980 2014-03-26 Daniel Colascione <dancol@dancol.org>
1981
1982 * simple.el (process-menu-mode-map): New variable.
1983 (process-menu-delete-process): New command.
1984
1985 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1986
1987 * emacs-lisp/package.el: Fix bug#16733 (again).
1988 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1989 (url-http-target-url): Remove unused declarations.
1990 (package-handle-response): Remove.
1991 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1992 (package--download-one-archive): Use current-buffer instead of
1993 dynamic binding of `buffer'.
1994 (describe-package-1): Do not decode readme-string.
1995
1996 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1997
1998 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1999
2000 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2001 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2002 `remote-file-name-inhibit-cache' to nil in the second pass.
2003 (tramp-find-executable): Do not call "which" on SunOS.
2004 (tramp-send-command-and-check): Fix docstring.
2005 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2006 check whether source directory has set the sticky bit.
2007
2008 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2009
2010 * simple.el (primitive-undo): Only process marker adjustments
2011 validated against their corresponding (TEXT . POS). Issue warning
2012 for lone marker adjustments in undo history. (Bug#16818)
2013 (undo-make-selective-list): Add marker adjustments to selective
2014 undo list based on whether their corresponding (TEXT . POS) is in
2015 the region. Remove variable adjusted-markers, which was unused
2016 and only non nil during undo-make-selective-list.
2017 (undo-elt-in-region): Return nil when passed a marker adjustment
2018 and explain in function doc.
2019
2020 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2021
2022 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2023
2024 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2025
2026 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2027 Match special global variables without curlies, too.
2028 (ruby-font-lock-keywords): Simplify the matcher for special global
2029 variables. Don't require a non-word character after the variable.
2030 (Bug#17057)
2031
2032 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * simple.el (redisplay-highlight-region-function): Increase priority of
2035 overlay to make sure boundaries are visible (bug#15899).
2036
2037 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2038
2039 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2040 (frameset-restore): Compare display strings with equal.
2041
2042 * frame.el (make-frame): Don't quote display name in error message,
2043 it is already a string.
2044
2045 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2046
2047 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2048 the password.
2049
2050 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2051
2052 * emacs-lisp/package.el (package--add-to-archive-contents):
2053 Include already installed and built-in packages in
2054 `package-archive-contents'.
2055 (package-install): Don't include already installed packages in the
2056 options during interactive invocation. (Bug#16762)
2057 (package-show-package-list): If the buffer is already displayed in
2058 another window, switch to that window.
2059
2060 2014-03-26 Reto Zimmermann <reto@gnu.org>
2061
2062 Sync with upstream vhdl mode v3.35.1.
2063 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2064 (vhdl-compiler-alist): Doc fix.
2065 (vhdl-goto-line): Remove.
2066 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2067 (vhdl-mode) <paragraph-start>: Fix value.
2068 (vhdl-fix-statement-region): Not `for' in wait-statement.
2069 (vhdl-beautify-region): Also (un)tabify.
2070 (vhdl-get-visible-signals):
2071 Scan declarative part of generate statements.
2072 (vhdl-template-record): Fix indentation for record type declaration.
2073 (vhdl-expand-abbrev, vhdl-expand-paren):
2074 Revert to using fset again rather than defalias.
2075 (vhdl-scan-directory-contents): Tweak.
2076 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2077 (vhdl-compose-components-package):
2078 Replace vhdl-goto-line with forward-line.
2079 (top-level): Tweak speedbar frame selection.
2080 (vhdl-generate-makefile-1): Support for compilers with no
2081 unit-to-file name mapping (create directory with dummy files).
2082
2083 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2084
2085 Sync with upstream verilog-mode revision 702457d.
2086 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2087 (create-lockfiles): Declare.
2088 (verilog-read-decls): Fix module header imports, bug709.
2089 Reported by Victor Lau.
2090 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2091 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2092 interface-only modules, bug721. Reported by Dean Hoyt.
2093
2094 2014-03-26 Glenn Morris <rgm@gnu.org>
2095
2096 * obsolete/gulp.el: Move here from emacs-lisp/.
2097
2098 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2099 Remove fallback aliases, since they are always defined now.
2100
2101 2014-03-24 Daniel Colascione <dancol@dancol.org>
2102
2103 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2104 instead of cl-loop search function.
2105
2106 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2107
2108 * calendar/parse-time.el (parse-time-iso8601-regexp)
2109 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2110 it more generally.
2111
2112 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2113
2114 * net/dns.el (network-interface-list): Define for XEmacs.
2115
2116 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2117
2118 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2119 the network interfaces changed.
2120 (dns-query): Use it to flush the data.
2121
2122 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2123
2124 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2125
2126 2014-03-23 Daniel Colascione <dancol@dancol.org>
2127
2128 Change subword-mode to use `find-word-boundary-function-table' and
2129 replace `capitalized-words-mode'. Also, convert to lexical
2130 binding.
2131
2132 * progmodes/cap-words.el: Delete now-obsolete file.
2133 * progmodes/subword.el: Reimplement using
2134 `find-word-boundary-function-table'.
2135 (subword-mode-map): Hollow out.
2136 (capitalized-words-mode): Define as obsolete alias for
2137 `subword-mode'.
2138 (subword-mode, superword-mode): Tweak documentation to reflect new
2139 implementation; call `subword-setup-buffer'.
2140 (subword-forward, subword-capitalize): Add underscore to indicate
2141 unused variable.
2142 (subword-find-word-boundary-function-table): New constant.
2143 (subword-empty-char-table): New constant.
2144 (subword-setup-buffer): New function.
2145 (subword-find-word-boundary): New function.
2146
2147 2014-03-23 Daniel Colascione <dancol@dancol.org>
2148
2149 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2150 list to look for keyword arguments instead of `memq', fixing
2151 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2152 Please make bootstrap.
2153
2154 2014-03-22 Glenn Morris <rgm@gnu.org>
2155
2156 * dired.el (dired-read-regexp): Make obsolete.
2157 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2158 (dired-flag-files-regexp):
2159 * dired-aux.el (dired-mark-read-regexp):
2160 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2161
2162 * startup.el (fancy-startup-text):
2163 * help.el (describe-gnu-project): Visit online info about GNU project.
2164
2165 * help-fns.el (help-fns--interactive-only): New function.
2166 (help-fns-describe-function-functions): Add the above function.
2167 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2168 (next-line, previous-line): Remove hand-written interactive-only
2169 information from doc strings, it is auto-generated now.
2170 * bookmark.el (bookmark-write):
2171 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2172 (epa-mail-import-keys): Mark interactive-only,
2173 and remove hand-written interactive-only information from doc strings.
2174 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2175 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2176 * files.el (not-modified):
2177 * simple.el (mark-whole-buffer): Mark interactive-only.
2178
2179 * emacs-lisp/byte-run.el (defun-declarations-alist):
2180 Add interactive-only. Doc tweak.
2181 (macro-declarations-alist): Doc tweak.
2182 * subr.el (declare): Doc tweak (add xref to manual).
2183 * comint.el (comint-run):
2184 * files.el (insert-file-literally, insert-file):
2185 * replace.el (replace-string, replace-regexp):
2186 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2187 (delete-forward-char, goto-line, insert-buffer, next-line)
2188 (previous-line): Set interactive-only via declare.
2189
2190 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2191
2192 * emacs-lisp/package.el (package-desc): Use the contents of the
2193 quoted form, not its cdr. (Bug#16873)
2194
2195 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2196
2197 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2198 benefit of doc.c; change parameter profile to match the X function.
2199
2200 2014-03-22 Leo Liu <sdl.web@gmail.com>
2201
2202 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2203 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2204
2205 2014-03-21 Richard Stallman <rms@gnu.org>
2206
2207 * battery.el (battery-linux-sysfs): Search for each field
2208 from the beginning of the buffer.
2209
2210 * subr.el (set-transient-map): Clear out function and value
2211 of the temporary symbol when we're done with it.
2212
2213 * mail/rmailsum.el (rmail-summary-delete-forward):
2214 Optimize case of reaching end and handling count.
2215 (rmail-summary-mark-deleted): Optimize when N is current msg.
2216 Don't create new summary line.
2217 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2218 (rmail-summary-undelete-many): Rewrite for speed.
2219 (rmail-summary-msg-number): New function.
2220
2221 * mail/rmail.el (rmail-delete-message): Update summary.
2222 (rmail-undelete-previous-message): Handle repeat count arg.
2223 (rmail-delete-backward, rmail-delete-forward): Likewise.
2224
2225 2014-03-21 Daniel Colascione <dancol@dancol.org>
2226
2227 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2228 information in bug reports.
2229
2230 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2231
2232 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2233 and `tramp-copy-env'.
2234
2235 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2236 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2237
2238 2014-03-21 Glenn Morris <rgm@gnu.org>
2239
2240 * electric.el (electric-indent-post-self-insert-function): Add doc.
2241
2242 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2243
2244 * emacs-lisp/package.el (package-compute-transaction):
2245 Use `version-list-<=' to compare the requirement version against
2246 the version of package already to be installed. Update the error
2247 message. (Bug#16826)
2248
2249 * progmodes/ruby-mode.el (ruby-smie-rules):
2250 Add indentation rule for ` @ '. (Bug#17050)
2251
2252 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2253
2254 * align.el (align-regexp): Remove superfluous backslash.
2255
2256 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2257 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2258 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2259 Fix docstring typos.
2260 (ffap-next): Use C-u in docstring.
2261 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2262 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2263 Remove superfluous backslashes.
2264 (ffap-string-at-point): Reflow docstring.
2265
2266 * server.el (server-host): Reflow docstring.
2267 (server-unload-function): Fix docstring typo.
2268 (server-eval-at): Remove superfluous backslash.
2269
2270 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2271 (skeleton-insert): Doc fix.
2272 (skeleton-insert): Reflow docstring.
2273
2274 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2275 (tty-color-approximate, tty-color-by-index, tty-color-values)
2276 (tty-color-desc): Remove superfluous backslashes.
2277
2278 2014-03-21 Glenn Morris <rgm@gnu.org>
2279
2280 * cus-start.el (history-length): Bump :version.
2281
2282 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2283 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2284 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2285 Don't set `make-backup-files'.
2286
2287 * info.el (info--prettify-description): New function,
2288 to give info-finder descriptions consistent case, punctuation.
2289 (Info-finder-find-node): Use it. Sort packages.
2290 Refer to "description" rather than "commentary".
2291
2292 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2293
2294 * frameset.el (frameset--print-register): New function.
2295 (frameset-to-register): Use it.
2296
2297 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2298
2299 * progmodes/hideif.el (hif-string-to-number): New function.
2300 (hif-tokenize): Use it to understand non-decimal floats.
2301
2302 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2303
2304 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2305
2306 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * electric.el (electric-newline-and-maybe-indent): New command.
2309 Bind it globally to C-j.
2310 (electric-indent-mode): Don't mess with the global map any more.
2311 Don't drop the post-self-insert-hook is some buffer is still using it
2312 (bug#16770).
2313
2314 * bindings.el (global-map): Remove C-j binding.
2315
2316 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2317 the docstring of functions advised before dumping (bug#16993).
2318
2319 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2320
2321 * ps-print.el (ps-generate-postscript-with-faces):
2322 Explicitly deactivate the mark (bug#16866).
2323 * simple.el (deactivate-mark): Update region highlight.
2324
2325 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2326
2327 * emacs-lisp/package.el (describe-package-1):
2328 Decode commentary (bug#16733).
2329
2330 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2331
2332 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2333 modification of the value argument of :set (bug#16755).
2334
2335 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * simple.el (newline-and-indent): Do autofill (bug#17031).
2338
2339 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2340
2341 * newcomment.el (comment-normalize-vars): Only add escaping check
2342 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2343 (comment-beginning): Use `narrow-to-region' instead of moving back
2344 one character.
2345 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2346 (comment-start-skip): Update the docstring.
2347
2348 2014-03-18 Richard Stallman <rms@gnu.org>
2349
2350 * dired.el (dired-display-file): Force use of other window.
2351
2352 2014-03-18 Daniel Colascione <dancol@dancol.org>
2353
2354 * startup.el (tty-handle-args): Remove debug message from 2007.
2355
2356 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2359 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2360 (advice--make-1, advice-add, advice-remove):
2361 Remove braindead :advice-pending hack.
2362
2363 2014-03-17 Glenn Morris <rgm@gnu.org>
2364
2365 * calendar/calendar.el (calendar-generate-month): Apply weekend
2366 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2367
2368 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2369
2370 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2371 (tramp-call-process): Trace also DESTINATION.
2372
2373 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2374 Quote file names when they are local. Remove superfluous trace.
2375
2376 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2377
2378 * newcomment.el (comment-beginning): If `comment-start-skip'
2379 doesn't match, move back one char and try again. (Bug#16971)
2380
2381 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2382 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2383 Set `comment-start-skip' to a simpler value that doesn't try to
2384 check if the semicolon is escaped (this is handled by
2385 `syntax-ppss' now). (Bug#16971)
2386
2387 * progmodes/scheme.el (scheme-mode-variables): Same.
2388
2389 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2390
2391 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2392 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2393 current (Bug#16816, Bug#17007).
2394 (with-current-buffer-window): New macro doing the same as
2395 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2396 * help.el (help-print-return-message): Warn in doc-string to not
2397 use this in `with-help-window'.
2398 (describe-bindings-internal): Call `describe-buffer-bindings'
2399 from within help buffer. See Juanma's scenario in (Bug#16816).
2400 (with-help-window): Update doc-string.
2401 * dired.el (dired-mark-pop-up):
2402 * files.el (save-buffers-kill-emacs):
2403 * register.el (register-preview): Use `with-current-buffer-window'
2404 instead of `with-temp-buffer-window'.
2405
2406 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2407
2408 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2409 Implement inserting into current buffer, documented in their docstrings.
2410 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2411 (rst-section-tree-point, rst-forward-section, rst-indent)
2412 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2413 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2414 (rst-font-lock-handle-adornment-pre-match-form)
2415 (rst-repeat-last-character): Reflow docstrings.
2416 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2417 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2418 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2419 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2420 Fix docstring typos.
2421 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2422 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2423 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2424
2425 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2426
2427 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2428 for compatibility with other ports.
2429 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2430 from the -xrm command line argument, but in the Nextstep port its value
2431 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2432
2433 * progmodes/python.el (defconst, python-syntax-count-quotes)
2434 (python-indent-region, python-indent-shift-right)
2435 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2436 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2437 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2438 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2439 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2440 (python-shell-buffer-substring, python-shell-send-buffer)
2441 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2442 (python-completion-complete-at-point, python-fill-docstring-style)
2443 (python-eldoc-function, python-imenu-format-item-label)
2444 (python-imenu-format-parent-item-label)
2445 (python-imenu-format-parent-item-jump-label)
2446 (python-imenu--build-tree, python-imenu-create-index)
2447 (python-imenu-create-flat-index): Fix docstring typos.
2448 (python-indent-context, python-shell-prompt-regexp, run-python):
2449 Remove superfluous backslashes.
2450 (python-indent-line, python-nav-beginning-of-defun)
2451 (python-shell-get-buffer, python-shell-get-process)
2452 (python-info-current-defun, python-info-current-line-comment-p)
2453 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2454 (python-indent-post-self-insert-function, python-shell-send-file)
2455 (python-shell-completion-get-completions)
2456 (python-shell-completion-complete-or-indent)
2457 (python-eldoc--get-doc-at-point): Reflow docstrings.
2458
2459 2014-03-14 Glenn Morris <rgm@gnu.org>
2460
2461 * emacs-lisp/package.el (package-menu-mode-map):
2462 Replace use of obsolete function alias. Tweak menu item text.
2463
2464 * info.el (Info-finder-find-node):
2465 Ignore the `emacs' metapackage. (Bug#10813)
2466
2467 * finder.el (finder-list-matches): Include unversioned packages
2468 in the result of a keyword search.
2469
2470 * finder.el (finder--builtins-descriptions): New constant.
2471 (finder-compile-keywords): Use finder--builtins-descriptions.
2472
2473 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2474
2475 * simple.el (blink-matching-paren): Describe the new value,
2476 `jump', enabling the old behavior.
2477 (blink-matching-open): Use that value. (Bug#17008)
2478
2479 2014-03-14 Glenn Morris <rgm@gnu.org>
2480
2481 * finder.el (finder-no-scan-regexp): Add leim-list.
2482 (finder-compile-keywords):
2483 Don't skip files with same basename. (Bug#14010)
2484 * Makefile.in (setwins_finder): New, excluding leim.
2485 (finder-data): Use setwins_finder.
2486
2487 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2488 (help-function-arglist, help-make-usage): Move from here...
2489 * help.el (help-split-fundoc, help-add-fundoc-usage)
2490 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2491 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2492
2493 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2494
2495 * net/socks.el (socks, socks-override-functions)
2496 (socks-find-services-entry):
2497 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2498 (hif-find-ifdef-block):
2499 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2500
2501 * net/tls.el (tls-program): Reflow docstring.
2502
2503 * progmodes/pascal.el (pascal-mode-abbrev-table)
2504 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2505 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2506 (pascal-outline-mode): Fix docstring typos.
2507 (pascal-mode): Let define-derived-mode document mode hook.
2508 (pascal-uncomment-area): Reflow.
2509 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2510
2511 * progmodes/opascal.el (opascal-compound-block-indent)
2512 (opascal-case-label-indent): Fix docstring typos.
2513 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2514
2515 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2516
2517 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2518 Fontify multiple adjacent negation chars. (Bug#17004)
2519
2520 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2521
2522 * emacs-lisp/package.el (package--prepare-dependencies):
2523 Accept requirements without explicit version (bug#14941).
2524
2525 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2526
2527 * register.el (register-separator, copy-to-register): Doc fixes.
2528 (register-preview-default): Remove unnecessary call to concat.
2529
2530 * frameset.el (frameset-restore): When checking for a visible frame,
2531 use the action map instead of calling visible-frame-list.
2532
2533 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2534
2535 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2536
2537 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2538
2539 * window.el (fit-frame-to-buffer): Get maximum width from
2540 display's width instead of height.
2541
2542 2014-03-12 Glenn Morris <rgm@gnu.org>
2543
2544 * desktop.el (desktop-restore-frames)
2545 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2546 (desktop-restore-reuses-frames): Doc tweaks.
2547
2548 * electric.el (electric-indent-mode): Doc fix.
2549
2550 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2551
2552 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2553 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2554 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2555 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2556 (cvs-dired-use-hook): Fix docstring typos.
2557 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2558 Doc fixes.
2559
2560 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2561 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2562 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2563 (cvs-execute-single-dir): Fix docstring typos.
2564
2565 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2566 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2567
2568 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2569
2570 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2571 Fix docstring typos.
2572
2573 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2574
2575 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2576 called from jump-to-register after unloading the frameset package.
2577
2578 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2581 (bug#16975). Deactivate the mark before setting it to nil.
2582 (activate-mark): Do nothing if region is already active.
2583
2584 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2585
2586 * frameset.el (frameset--target-display): Remove definition; declare.
2587 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2588
2589 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2590
2591 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2592 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2593 when the advice is pending.
2594 (advice-remove): Remove this marker when not needed any more.
2595
2596 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2597
2598 * frameset.el: Separate options for reusing frames and cleaning up.
2599 (frameset--reuse-list): Remove definition; declare.
2600 (frameset--action-map): Declare.
2601 (frameset--find-frame-if): Doc fix.
2602 (frameset--restore-frame): Cache frame action.
2603 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2604 how to clean up the frame list after restoring. Remove cleaning
2605 options from REUSE-FRAMES. Change all keyword values to symbols.
2606 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2607
2608 * desktop.el (desktop-restore-forces-onscreen)
2609 (desktop-restore-reuses-frames): Use non-keyword values.
2610 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2611
2612 2014-03-10 Glenn Morris <rgm@gnu.org>
2613
2614 * files.el (find-file): Doc fix: update info node name.
2615
2616 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2617 Doc fix: remove references to deleted info nodes.
2618
2619 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2620
2621 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2622 Do not add `nil' to the environment, when there's no remote `locale'.
2623 (tramp-find-inline-encoding): Check, that the remote host has
2624 installed perl, before sending scripts.
2625
2626 2014-03-10 Leo Liu <sdl.web@gmail.com>
2627
2628 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2629 Clear eldoc-last-message. (Bug#16920)
2630
2631 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2634 (bug#14430).
2635
2636 2014-03-09 Juri Linkov <juri@jurta.org>
2637
2638 * ansi-color.el (ansi-color-names-vector): Copy default colors
2639 from `xterm-standard-colors' that look well on the default white
2640 background (and also on the black background) to avoid illegible
2641 color combinations like yellow-on-white and white-on-white.
2642 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2643
2644 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2645
2646 * frameset.el (frameset-restore): When no frame is visible, do not
2647 generate a list of frames, just make visible the selected one.
2648
2649 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2650
2651 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2652 it only contains the repository root. (Bug#16897)
2653
2654 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2655
2656 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2657 only when `remote-file-name-inhibit-cache' is nil.
2658 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2659
2660 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2661
2662 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2663 Fix doc-strings.
2664 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2665 fit-frame-to-buffer variable. Fix doc-string.
2666 (fit-window-to-buffer): Set ONLY argument in call of
2667 fit-frame-to-buffer. Fix doc-string.
2668
2669 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2670
2671 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2672 (tramp-action-password): Clear password cache if needed.
2673 (tramp-read-passwd): Do not clear password cache.
2674
2675 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2676 cache unless it is the first password request.
2677
2678 2014-03-06 Glenn Morris <rgm@gnu.org>
2679
2680 * simple.el (newline): Doc tweak.
2681
2682 * emacs-lisp/shadow.el (load-path-shadows-find):
2683 Ignore dir-locals. (Bug#12357)
2684
2685 2014-03-05 Glenn Morris <rgm@gnu.org>
2686
2687 * files.el (interpreter-mode-alist):
2688 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2689
2690 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2691
2692 * frameset.el (frameset--initial-params): Filter out null entries.
2693
2694 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2695
2696 * window.el (window-min-height, window-min-width):
2697 Rewrite doc-strings.
2698 (window-body-size): Add PIXELWISE argument to make it consistent
2699 with its callees.
2700
2701 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2702
2703 * finder.el (finder-mode-map, finder-mode-syntax-table):
2704 Revert part of 2014-02-28 change.
2705
2706 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2707
2708 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2709 (eww-setup-buffer): Clear next/prev/etc more reliably.
2710 (eww-textarea-map): [tab] doesn't work on tty.
2711 Reported by Mario Lang.
2712
2713 * net/shr.el (shr-map): Ditto.
2714
2715 2014-03-04 Glenn Morris <rgm@gnu.org>
2716
2717 * minibuffer.el (completion-hilit-commonality):
2718 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2719
2720 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2721
2722 * hilit-chg.el (hilit-chg-unload-function): New function.
2723 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2724 (hilit-chg-map-changes): Prefer cardinal number to digit.
2725 (hilit-chg-display-changes): Reflow docstring.
2726 (highlight-changes-rotate-faces): Remove superfluous backslash.
2727
2728 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2729
2730 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2731 `tramp-send-command-and-check'.
2732
2733 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2734
2735 * hexl.el (hexl-address-region, hexl-ascii-region)
2736 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2737 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2738 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2739 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2740 (hexl-mode): Doc fix.
2741 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2742 (hexl-mode-ruler): Fix typos in docstrings.
2743
2744 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2745 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2746 Remove superfluous backslashes.
2747 (strokes-last-stroke, strokes-global-map, strokes-mode):
2748 Reflow docstrings.
2749 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2750 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2751 (strokes-distance-squared, strokes-global-set-stroke)
2752 (strokes-global-set-stroke-string): Doc fixes.
2753 (strokes-help): Fix typos; reflow docstring.
2754
2755 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2756
2757 * window.el (window-in-direction): Fix doc-string.
2758
2759 2014-03-04 Glenn Morris <rgm@gnu.org>
2760
2761 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2762 Explicit error if no grammar.
2763 (smie-config-save): Doc fix. Fix quote typo.
2764
2765 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2768 electric-indent-mode-hook if we obey electric-indent-mode.
2769 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2770 decide whether we obey electric-indent-mode.
2771 (c-change-set-fl-decl-start, c-extend-after-change-region):
2772 Silence warnings.
2773 (c-electric-indent-mode-hook): Assume we do want to obey
2774 electric-indent-mode.
2775
2776 * electric.el (electric-indent-mode-has-been-called): Remove.
2777 (electric-indent-mode): Fix accordingly.
2778
2779 * files.el (hack-local-variables): Mention file name in warning.
2780
2781 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2782
2783 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2784
2785 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2786 * simple.el (delete-forward-char): Mark as interactive-only.
2787
2788 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2789
2790 * icomplete.el (icomplete-completions):
2791 Follow-up to 2014-03-01 change.
2792
2793 * icomplete.el: Miscellaneous doc fixes.
2794 Use Icomplete everywhere instead of icomplete for consistency.
2795 (icomplete-max-delay-chars): Fix typo.
2796 (icomplete-mode): Use \[].
2797 (icomplete-tidy, icomplete-exhibit): Reflow.
2798 (icomplete-minibuffer-setup-hook, icomplete-completions):
2799 Remove superfluous backlashes.
2800
2801 * ido.el: Miscellaneous doc fixes.
2802 Use Ido everywhere instead of ido or `ido' for consistency.
2803 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2804 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2805 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2806 (ido-separator): Extract obsolescence info from docstring and declare
2807 with make-obsolete-variable.
2808 (ido-minibuffer-setup-hook): Simplify example.
2809 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2810 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2811 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2812 (ido-everywhere): Reflow docstring.
2813 (ido-toggle-vc): Doc fix.
2814 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2815 of long list of keybindings.
2816
2817 2014-03-03 Glenn Morris <rgm@gnu.org>
2818
2819 * frame.el (display-pixel-height, display-pixel-width)
2820 (display-mm-dimensions-alist, display-mm-height)
2821 (display-mm-width): Doc tweaks.
2822
2823 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2824
2825 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2826 case of undo in region.
2827
2828 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2829
2830 * window.el (fit-window-to-buffer): Fix argument in window-size
2831 call when window is horizontally combined.
2832
2833 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2834
2835 * icomplete.el (icomplete-completions): Use string-width.
2836 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2837
2838 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2839
2840 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2841 Highlight regexp options. (Bug#16914)
2842
2843 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2844
2845 * window.el (window--max-delta-1): Round down when calculating
2846 how many lines/columns we can get from a window.
2847
2848 2014-03-01 Glenn Morris <rgm@gnu.org>
2849
2850 * isearch.el (search-invisible): Doc fix.
2851
2852 * minibuffer.el (completion-hilit-commonality):
2853 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2854 * comint.el (comint-dynamic-list-completions): Doc fix.
2855 * comint.el (comint-dynamic-list-completions):
2856 * filecache.el (file-cache-minibuffer-complete):
2857 * tempo.el (tempo-display-completions):
2858 * eshell/em-hist.el (eshell-list-history):
2859 Replace use of obsolete argument of display-completion-list.
2860
2861 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2862
2863 * icomplete.el (icomplete-completions):
2864 Revert back to using "..." when ?… cannot be displayed.
2865
2866 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2867
2868 * finder.el (finder-unload-function): New function.
2869
2870 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2871
2872 * dframe.el (dframe-detach):
2873 * find-dired.el (find-dired, find-name-dired):
2874 * finder.el (finder-mode-map, finder-mode-syntax-table)
2875 (finder-headmark, finder-select, finder-mouse-select):
2876 Fix docstring typos.
2877
2878 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2879
2880 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2881 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2882 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2883 Fix doc-string based on a suggestion by Nicolas Richard
2884 <theonewiththeevillook@yahoo.fr>.
2885 * help.el (with-help-window): Fix doc-string.
2886
2887 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2888
2889 * net/shr.el (shr-image-animate): New option.
2890 (shr-put-image): Respect shr-image-animate.
2891
2892 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2893
2894 * net/tramp-adb.el (tramp-adb-parse-device-names):
2895 Use `accept-process-output'.
2896 (tramp-adb-handle-file-truename): Cache the localname only.
2897 (tramp-adb-handle-make-directory)
2898 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2899 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2900 modes cannot be changed.
2901
2902 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2903 file properties of symlinks.
2904
2905 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2906
2907 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2908 required/optional fields to match development biblatex. (Bug#16781)
2909
2910 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2911
2912 * saveplace.el (toggle-save-place):
2913 Fix argument handling. (Bug#16673)
2914
2915 2014-02-28 Glenn Morris <rgm@gnu.org>
2916
2917 * minibuffer.el (completions-first-difference)
2918 (completions-common-part, completion-hilit-commonality): Doc fixes.
2919
2920 2014-02-28 Karl Berry <karl@gnu.org>
2921
2922 * info.el (Info-mode-map): Add H for describe-mode,
2923 to synchronize with standalone Info.
2924
2925 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2926
2927 * progmodes/sql.el (sql-interactive-mode):
2928 Avoid setting global comint-input-ring-separator. (Bug#16814)
2929
2930 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2931
2932 * net/dbus.el (dbus--init-bus): Declare function.
2933 (dbus-path-local, dbus-interface-local): New defconst.
2934 (dbus-init-bus): Use them.
2935 (dbus-return-values-table): Extend doc.
2936 (dbus-handle-bus-disconnect): Extend error message.
2937
2938 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2939
2940 * subr.el (y-or-n-p): Fix double space issue in message.
2941
2942 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2943
2944 * net/tramp.el (tramp-call-process): Improve trace message.
2945 (tramp-handle-insert-file-contents): Trace error case.
2946
2947 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2948 <insert-directory>: Use `tramp-handle-insert-directory'.
2949 (tramp-adb-handle-insert-directory): Remove function.
2950 (tramp-adb-send-command-and-check): New defun, replacing
2951 `tramp-adb-command-exit-status'. Change all callees.
2952 (tramp-adb-handle-file-attributes)
2953 (tramp-adb-handle-directory-files-and-attributes): Use it.
2954 (tramp-adb-ls-output-name-less-p):
2955 Use `directory-listing-before-filename-regexp'.
2956 (tramp-adb-handle-delete-directory): Flush also file properties of
2957 the truename of directory.
2958 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2959 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2960 (tramp-adb-handle-write-region): Implement APPEND.
2961 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2962 properties correctly.
2963 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2964 variables. Check for connected devices only when needed.
2965
2966 2014-02-27 Glenn Morris <rgm@gnu.org>
2967
2968 * minibuffer.el (completion-table-dynamic)
2969 (completion-table-with-cache): Doc fixes.
2970
2971 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2972 (completing-read-multiple): Doc fixes.
2973
2974 2014-02-27 Daniel Colascione <dancol@dancol.org>
2975
2976 * minibuffer.el (completion--nth-completion): Fix indentation.
2977
2978 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2979 explicit tramp path is empty.
2980
2981 2014-02-27 Glenn Morris <rgm@gnu.org>
2982
2983 * emacs-lisp/crm.el (completing-read-multiple):
2984 Empower help-enable-auto-load.
2985
2986 2014-02-26 Glenn Morris <rgm@gnu.org>
2987
2988 * startup.el (command-line): Don't init the tty in daemon mode.
2989
2990 Avoid calling tty-setup-hook twice, eg if a term file
2991 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2992 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2993 (tty-create-frame-with-faces): Use it.
2994 * startup.el (command-line): Pass run-hook argument
2995 to tty-run-terminal-initialization.
2996
2997 * dired.el (dired-restore-desktop-buffer): Demote errors;
2998 eg in case a glob match fails. (Bug#16884)
2999
3000 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3001
3002 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3003 error from `read-from-string'. (Bug#16850)
3004
3005 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3006 result of `completing-read' in the interactive form. (Bug#16854)
3007
3008 2014-02-25 Glenn Morris <rgm@gnu.org>
3009
3010 * image.el (image-animate, image-animate-timeout):
3011 Stop animating images in dead buffers. (Bug#16878)
3012
3013 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3014
3015 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3016 Doc fixes.
3017 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3018 * term/sun.el (sun-raw-prefix-hooks):
3019 Use tty-setup-hook instead of term-setup-hook.
3020 (terminal-init-sun): Construct message from bytecomp plist.
3021 * term/wyse50.el (enable-arrow-keys): Doc fix.
3022
3023 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3024
3025 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3026 Fix docstring typos.
3027
3028 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3029
3030 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3031
3032 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3033
3034 * minibuffer.el (completion--try-word-completion):
3035 Fix error when completing M-x commands (bug#16808).
3036
3037 2014-02-24 Leo Liu <sdl.web@gmail.com>
3038
3039 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3040
3041 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3042
3043 * apropos.el (apropos-print): Avoid formatting error when
3044 apropos-do-all and apropos-compact-layout are both t.
3045
3046 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3047
3048 * apropos.el (apropos-property, apropos-all-words-regexp)
3049 (apropos-true-hit, apropos-variable, apropos-print):
3050 Fix docstring typos, and remove obsolete comment.
3051
3052 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3053
3054 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3055 Preserve trailing "/". (Bug#16851)
3056
3057 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3058
3059 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3060 after `=>' (bug#16811).
3061 (ruby-smie-rules): Handle the inconsistent second element of the
3062 list returned by `smie-indent--parent'.
3063 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3064 method call.
3065
3066 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3067
3068 * elec-pair.el (electric-pair-text-syntax-table)
3069 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3070 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3071 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3072 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3073
3074 2014-02-22 Glenn Morris <rgm@gnu.org>
3075
3076 * imenu.el (imenu--generic-function): Doc fix.
3077
3078 * register.el (frame-configuration-to-register): Make obsolete.
3079
3080 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3081
3082 * desktop.el (desktop-save-buffer-p): Do not fail when
3083 desktop-files-not-to-save is nil. Return t for true result
3084 as the doc says.
3085
3086 2014-02-22 Daniel Colascione <dancol@dancol.org>
3087
3088 * net/secrets.el (secrets-create-item, secrets-search-items):
3089 Check that attribute values are strings, avoiding the construction
3090 of invalid dbus messages.
3091
3092 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3093
3094 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3095 defun-declarations-alist.
3096
3097 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3098
3099 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3100 (bug#16829).
3101
3102 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3103
3104 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3105 (whitespace-newline, whitespace-trailing, whitespace-line)
3106 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3107 (whitespace-space-after-tab): Fix typo in docstrings.
3108
3109 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3110
3111 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3112
3113 * electric.el (electric-indent-functions-without-reindent):
3114 Add `yaml-indent-line'.
3115
3116 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3117
3118 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3119 It has done nothing for years; should be removed after the release.
3120
3121 * simple.el (choose-completion): Fix docstring typo.
3122 (read-quoted-char-radix): Remove unneeded * in docstring.
3123 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3124 Don't escape parentheses unnecessarily in docstrings.
3125
3126 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3127
3128 Fix handling of window-min-height/-width (Bug#16738).
3129 * window.el (window--dump-window, window--dump-frame):
3130 New functions.
3131 (window--min-size-1): Account for window dividers.
3132 When window-resize-pixelwise is nil, delay rounding till after the
3133 sum of the window components has been calculated.
3134 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3135 nil make sure at least one text line and two text columns remain
3136 fully visible.
3137 (window-resize): Signal an error when window-resize-apply fails.
3138 (window--resize-child-windows): Fix calculation of by how many
3139 pixels a window can still be shrunk via window-new-normal.
3140 (adjust-window-trailing-edge): Call window--resizable with
3141 correct TRAIL argument.
3142
3143 (with-temp-buffer-window): Don't evaluate BODY within
3144 with-current-buffer (Bug#16816).
3145
3146 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3147
3148 * net/tramp.el (tramp-check-cached-permissions):
3149 Call `file-attributes' with `suffix' being a symbol but a string.
3150
3151 2014-02-21 Daniel Colascione <dancol@dancol.org>
3152
3153 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3154 (dbus-init-bus): New function: call into dbus-init-bus-1
3155 and installs a handler for the disconnect signal.
3156 (dbus-call-method): Rewrite to look for result in cons.
3157 (dbus-call-method-handler): Store result in cons.
3158 (dbus-check-event): Recognize events with nil sender as valid.
3159 (dbus-handle-bus-disconnect): New function. React to bus
3160 disconnection signal by synthesizing dbus error for each
3161 pending synchronous or asynchronous call.
3162 (dbus-notice-synchronous-call-errors): New function.
3163 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3164 is true, not all the time.
3165
3166 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3167
3168 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3169 Remove obsolescence declarations, these variables do not exist anymore.
3170
3171 * savehist.el (savehist-save-minibuffer-history)
3172 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3173 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3174 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3175 mostly, refer to "Savehist mode" when talking about the mode,
3176 and not the function.
3177
3178 * saveplace.el (save-place): Remove redundant info in docstring.
3179 (save-place-forget-unreadable-files, toggle-save-place)
3180 (save-place-forget-unreadable-files, save-place-dired-hook):
3181 Fix typos and remove unneeded backslashes.
3182
3183 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3184
3185 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3186 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3187
3188 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3189 <insert-directory>: Use `tramp-handle-insert-directory'.
3190 (tramp-gvfs-handle-insert-directory): Remove function.
3191
3192 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3193 Call `tramp-handle-insert-directory'.
3194
3195 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3196
3197 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3198 before the start of buffer/region (bug#16799).
3199
3200 2014-02-20 Glenn Morris <rgm@gnu.org>
3201
3202 * isearch.el (search-invisible): Doc fix.
3203
3204 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3205
3206 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3207 (bug#16657).
3208
3209 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3210
3211 * frameset.el (frameset-restore): Delay removing an old frame's
3212 duplicate id until the new frame has been correctly created.
3213
3214 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3215
3216 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3217 (tramp-check-cached-permissions): Call `file-attributes' if the
3218 cache is empty.
3219
3220 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3221 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3222
3223 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3224 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3225 (tramp-gvfs-maybe-open-connection): Set always connection
3226 properties, even if target is mounted already.
3227
3228 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3229 Set tramp-autoload cookie.
3230 (tramp-get-remote-touch): New defun.
3231 (tramp-sh-handle-set-file-times): Use it.
3232 (tramp-sh-handle-directory-files-and-attributes):
3233 Use `tramp-handle-directory-files-and-attributes' if neither stat
3234 nor perl are available on the remote host.
3235
3236 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3237 "/". Write long listing only when "l" belongs to the switches.
3238
3239 * net/trampver.el: Update release number.
3240
3241 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3242
3243 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3244
3245 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3246
3247 * window.el (window-state-put): Allow WINDOW to refer to an
3248 internal window (Bug#16793).
3249
3250 2014-02-19 Glenn Morris <rgm@gnu.org>
3251
3252 * textmodes/remember.el: Move provide statement to end.
3253 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3254 (remember-notes): Doc fixes.
3255
3256 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3257
3258 * delsel.el (delete-char): Restore incorrectly erased property
3259 (bug#16795).
3260
3261 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3262
3263 * frameset.el (frameset--restore-frame): When a frame is being reused
3264 and its root window is not alive, delete all the frame's windows before
3265 restoring the window state. This works around the issue in bug#16793.
3266
3267 2014-02-18 Glenn Morris <rgm@gnu.org>
3268
3269 * textmodes/remember.el (remember-data-directory)
3270 (remember-directory-file-name-format, remember-store-in-files)
3271 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3272 (remember-notes-save-and-bury-buffer)
3273 (remember-notes--kill-buffer-query): Doc fixes.
3274
3275 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3276
3277 2014-02-17 Alan Mackenzie <acm@muc.de>
3278
3279 Connect electric-indent-mode up with CC Mode. Bug #15478.
3280 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3281 to electric-indent-{,local-}-mode.
3282 (c-basic-common-init): Set electric-indent-inhibit.
3283 Initialise c-electric-flag from electric-indent-mode.
3284 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3285 New hook functions which propagate electric-indent-mode to CC mode.
3286
3287 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3288 hit, toggle electric-indent-local-mode.
3289
3290 * electric.el (electric-indent-mode-has-been-called):
3291 New variable.
3292
3293 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3294
3295 * frameset.el (frameset-cfg-id): New function.
3296 (frameset--reuse-frame, frameset-restore): Use it.
3297 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3298
3299 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * ido.el (ido-file-internal): Remove unused var `d'.
3302 Use \` for to match BoS. Fit within 80n columns.
3303
3304 2014-02-17 Daniel Colascione <dancol@dancol.org>
3305
3306 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3307 dbus-call-method check for completion using a busy-wait loop with
3308 gradual backoff.
3309
3310 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3311
3312 Sync with Tramp 2.2.9.
3313
3314 * net/trampver.el: Update release number.
3315
3316 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3317
3318 * ido.el (ido-file-internal): Don't add the name of an existing
3319 directory twice. (Bug#16747)
3320
3321 2014-02-16 Glenn Morris <rgm@gnu.org>
3322
3323 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3324 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3325
3326 2014-02-15 Michael R. Mauger <michael@mauger.com>
3327
3328 * progmodes/sql.el: Version 3.4
3329 (sql-oracle-options): New default value ("-L").
3330 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3331 (sql-placeholders-filter): Correct placeholder pattern.
3332 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3333 (sql-login-delay): New variable.
3334 (sql-product-interactive): Use it.
3335
3336 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3337
3338 * frameset.el (frameset--jump-to-register): Check that buffer is live
3339 (bug#16749).
3340
3341 2014-02-15 Glenn Morris <rgm@gnu.org>
3342
3343 * info.el (info-initialize): Revert 2014-01-10 change.
3344
3345 2014-02-14 Glenn Morris <rgm@gnu.org>
3346
3347 * replace.el (map-query-replace-regexp)
3348 (read-regexp-defaults-function, read-regexp): Doc fixes.
3349
3350 * dired.el (dired-read-regexp):
3351 * faces.el (list-faces-display):
3352 * misearch.el (multi-isearch-read-matching-buffers)
3353 (multi-isearch-read-matching-files):
3354 * play/cookie1.el (cookie-apropos):
3355 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3356
3357 * textmodes/remember.el (remember): Use frameset-to-register
3358 rather than frame-configuration-to-register.
3359
3360 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3361
3362 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3363 incorrect keybinding.
3364
3365 2014-02-13 Daniel Colascione <dancol@dancol.org>
3366
3367 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3368 when adding overlays so that line numbers from compiler match line
3369 numbers we use.
3370
3371 2014-02-13 Glenn Morris <rgm@gnu.org>
3372
3373 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3374
3375 * jit-lock.el (jit-lock-mode): Doc fix.
3376
3377 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3378
3379 * apropos.el (apropos-read-pattern): When the user passes an empty
3380 string, give a more helpful error message than "Wrong type
3381 argument: stringp, nil".
3382
3383 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3384
3385 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3386
3387 2014-02-13 Glenn Morris <rgm@gnu.org>
3388
3389 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3390
3391 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3394 shift-select commands.
3395
3396 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3397
3398 * progmodes/js.el (js-indent-line): Don't widen.
3399 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3400
3401 2014-02-12 Glenn Morris <rgm@gnu.org>
3402
3403 * icomplete.el (icomplete): Add info-link to defgroup.
3404 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3405 (icomplete-minibuffer-map, icomplete-mode)
3406 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3407
3408 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3409 (package-menu-filter): Rename from package-menu-filter-interactive.
3410 Doc fix.
3411
3412 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3413
3414 * frameset.el (frameset--jump-to-register): Select the required
3415 window and buffer before restoring position (bug#16696).
3416
3417 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3418
3419 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3420
3421 2014-02-10 Glenn Morris <rgm@gnu.org>
3422
3423 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3424
3425 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3426
3427 * w32-common-fns.el (x-get-selection): Doc fix.
3428 * select.el (x-get-selection): Doc fix. (Bug#15109)
3429
3430 * face-remap.el (face-remap-add-relative)
3431 (face-remap-remove-relative, face-remap-reset-base)
3432 (face-remap-set-base): Call force-mode-line-update to redisplay
3433 the current buffer due to potential change in faces. (Bug#16709)
3434
3435 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3436
3437 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3438 script more robustly.
3439
3440 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3441
3442 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3443
3444 * simple.el (choose-completion): Doc fix (bug#14160).
3445
3446 * subr.el (event-start): Say what a nil EVENT value means.
3447
3448 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3449 (bug#14197).
3450
3451 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3452
3453 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3454
3455 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3456
3457 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3458 predicate function (bug#15455).
3459
3460 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3461
3462 * ielm.el (inferior-emacs-lisp-mode): Instead of
3463 `comment-use-global-state', set `comment-use-syntax'.
3464
3465 2014-02-10 Glenn Morris <rgm@gnu.org>
3466
3467 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3468
3469 2014-02-09 Alan Mackenzie <acm@muc.de>
3470
3471 Fix c-invalidate-state-cache on narrowed buffers.
3472 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3473 Widen when setting and clearing the CPP delimiter properties.
3474
3475 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3476
3477 * help.el (describe-bindings): Doc fix (bug#9888).
3478
3479 * files.el (save-buffer): Use ARG as the parameter name for
3480 consistency (bug#10346).
3481 (save-buffer): Clarify the 0 argument (bug#10346).
3482
3483 * cus-edit.el (customize-apropos): Fix error string.
3484 (custom-buffer-create): Doc fix (bug#11122).
3485 (custom-sort-items): Doc fix (bug#11121).
3486
3487 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3488
3489 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3490 (icomplete-simple-completing-p): Mention the previous variable.
3491
3492 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3493 meaning of the parameter (bug#12282).
3494
3495 * files.el (find-file-noselect): Clarify prompt when changing
3496 readedness (bug#13261).
3497 (locate-file): Suffixes aren't returned, so don't say that they
3498 are (bug#12674).
3499 (backup-inhibited): Doc clarification (bug#12525).
3500
3501 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3502 before we actually start to delete things (bug#16331).
3503
3504 * subr.el (event-start): Doc fix (bug#14228).
3505 (event-end): Ditto.
3506
3507 2014-02-09 Glenn Morris <rgm@gnu.org>
3508
3509 * emacs-lisp/warnings.el (lwarn):
3510 Empower help-enable-auto-load. (Bug#15940)
3511
3512 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3513
3514 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3515 (Bug#16690)
3516
3517 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3518
3519 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3520 Insert output at end of buffer. (Bug#16120)
3521
3522 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3523
3524 * simple.el (choose-completion-string-functions): Document new
3525 calling convention (bug#14153).
3526 (execute-extended-command): Clarify doc string (bug#13373).
3527
3528 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3529
3530 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3531 (find-grep-dired): Doc fix (bug#14288).
3532
3533 2014-02-08 Juri Linkov <juri@jurta.org>
3534
3535 * isearch.el (isearch-quote-char): Check character validity
3536 like in `quoted-insert' (bug#16677).
3537
3538 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3539
3540 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3541
3542 * isearch.el (isearch-hide-immediately): Doc clarification
3543 (bug#14723).
3544
3545 * simple.el (line-move): Document utility function used many
3546 places in the Emacs sources (bug#14843).
3547
3548 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3549 (dired-prev-marked-file): Doc fix (bug#14855).
3550 (dired-up-directory): Doc fix (bug#14848).
3551
3552 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3553
3554 * files.el (file-relative-name): Doc fix (bug#15159).
3555
3556 * fringe.el (fringe-styles): Doc fix (bug#15239).
3557
3558 * isearch.el (isearch-filter-predicate): Documentation typo fix
3559 (bug#15474).
3560
3561 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3562
3563 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3564
3565 * replace.el (replace-match-maybe-edit): Doc clarification
3566 (bug#15632).
3567
3568 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3569
3570 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3571
3572 2014-02-08 Glenn Morris <rgm@gnu.org>
3573
3574 * help-fns.el (describe-variable):
3575 Check {file,dir}-local-variables-alist, and buffer-file-name,
3576 in the correct buffer.
3577
3578 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3579
3580 * help-fns.el (describe-variable): Fix the case where
3581 a value is directory-local with no dir-locals file. (Bug#16635)
3582
3583 2014-02-08 Glenn Morris <rgm@gnu.org>
3584
3585 * abbrev.el (edit-abbrevs-mode):
3586 Derive from fundamental-mode. (Bug#16682)
3587
3588 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3589
3590 * simple.el (quoted-insert): Check character validity (bug#16677).
3591
3592 2014-02-07 Juri Linkov <juri@jurta.org>
3593
3594 * desktop.el (desktop-read): Claim the lock when the owner is not
3595 the current process. (Bug#16157)
3596
3597 2014-02-07 Juri Linkov <juri@jurta.org>
3598
3599 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3600 to "\\` ". (Bug#16651)
3601
3602 2014-02-07 Juri Linkov <juri@jurta.org>
3603
3604 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3605 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3606 (desktop-auto-save-cancel-timer): New function with some code from
3607 `desktop-auto-save-set-timer'.
3608 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3609 Instead of setting `desktop-save-mode' to nil, call
3610 `desktop-save-mode' with arg 0. (Bug#16630)
3611
3612 2014-02-07 Glenn Morris <rgm@gnu.org>
3613
3614 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3615 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3616 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3617
3618 * obsolete/iswitchb.el: Move to obsolete/.
3619 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3620 since obsolete/ is not scanned for autoloads.
3621 * emacs-lisp/authors.el (authors-valid-file-names):
3622 Add iswitchb.el.
3623
3624 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3625 Disable now non-functional find-file-hook.
3626
3627 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3628
3629 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3630 instead of ";" in order to avoid additional prompts. Let heredoc
3631 scripts read from tty. (Bug#16582)
3632 (tramp-send-command): No special handling of heredocs, it isn't
3633 necessary anymore.
3634
3635 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3636
3637 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3638 with a space (bug#16664). Limit the symbols considered to the ones
3639 that are bound or fbound (bug#16646).
3640
3641 2014-02-06 Glenn Morris <rgm@gnu.org>
3642
3643 * epa.el (epa-mail-aliases): Doc fix.
3644
3645 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3646
3647 * emacs-lisp/lisp.el (lisp-completion-at-point):
3648 Use `completion-table-merge' instead of `completion-table-in-turn'
3649 (bug#16604).
3650
3651 * minibuffer.el (completion-table-merge): New function.
3652
3653 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3654
3655 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3656 (tramp-sh-handle-set-file-acl)
3657 (tramp-sh-handle-start-file-process)
3658 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3659 (tramp-find-executable, tramp-send-command): Use it.
3660
3661 2014-02-05 Glenn Morris <rgm@gnu.org>
3662
3663 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3664
3665 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3666
3667 * progmodes/python.el (python-shell-send-string)
3668 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3669
3670 2014-02-04 Anders Lindgren <andlind@gmail.com>
3671
3672 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3673 the names (bug#16620).
3674
3675 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3676
3677 * faces.el (window-divider): New default value. Rewrite doc-string.
3678 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3679
3680 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3681
3682 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3683 `protected' and `public' can also be called without arguments.
3684
3685 2014-02-03 Glenn Morris <rgm@gnu.org>
3686
3687 * register.el (window-configuration-to-register)
3688 (frame-configuration-to-register): Unadvertise unused argument.
3689 * frameset.el (frameset-to-register): Remove unused argument.
3690
3691 * frameset.el (frameset-to-register):
3692 * kmacro.el (kmacro-to-register):
3693 * register.el (increment-register):
3694 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3695 (calc-append-to-register, calc-prepend-to-register):
3696 * play/gametree.el (gametree-layout-to-register)
3697 (gametree-apply-register-layout):
3698 * textmodes/picture.el (picture-clear-rectangle-to-register)
3699 (picture-yank-rectangle-from-register):
3700 * vc/emerge.el (emerge-combine-versions-register):
3701 Use register-read-with-preview to read registers.
3702
3703 2014-02-03 João Távora <joaotavora@gmail.com>
3704
3705 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3706 when at beginning of (possibly narrowed) buffer.
3707
3708 2014-02-02 Daniel Colascione <dancol@dancol.org>
3709
3710 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3711 Also try to display local help from just before point.
3712
3713 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3714
3715 c-parse-state. Don't "append-lower-brace-pair" in certain
3716 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3717 recognised as a comment.
3718
3719 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3720 as well as normal comment starter.
3721 (c-parse-state-get-strategy): Extra return possibility
3722 'back-and-forward.
3723 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3724 return value list to indicate replacement of a brace-pair cons
3725 with its car.
3726 (c-parse-state-1): With 'back-and-forward, only call
3727 c-append-lower-brace-pair-to state-cache when cons-separated.
3728
3729 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3730
3731 * term/ns-win.el (ns-suspend-error): New function.
3732 (ns-initialize-window-system): Add ns-suspend-error to
3733 suspend-hook (Bug#16612).
3734
3735 2014-02-02 Daniel Colascione <dancol@dancol.org>
3736
3737 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3738 Make loading cc-mode silent.
3739
3740 2014-02-02 Daniel Colascione <dancol@dancol.org>
3741
3742 * comint.el (comint-prompt-read-only): Change doc to suggest
3743 remap keybinding.
3744
3745 2014-02-02 Glenn Morris <rgm@gnu.org>
3746
3747 * register.el (register-read-with-preview, point-to-register)
3748 (window-configuration-to-register, frame-configuration-to-register)
3749 (jump-to-register, number-to-register, view-register, insert-register)
3750 (copy-to-register, append-to-register, prepend-to-register)
3751 (copy-rectangle-to-register): Doc fixes.
3752
3753 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3756 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3757 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3758 * help-fns.el (describe-function-1): Use it.
3759
3760 2014-02-02 Glenn Morris <rgm@gnu.org>
3761
3762 * register.el (register-preview-default): New function,
3763 split from register-preview.
3764 (register-preview-function): Rename from register-preview-functions,
3765 make it not a hook.
3766 (register-preview): Use register-preview-function.
3767 (register-read-with-preview): Error on non-character event. (Bug#16595)
3768
3769 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3770
3771 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3772 `:' before binary operators (bug#16609). Don't check for `:'
3773 before `[' and `(', or their syntax status. A percent literal
3774 can't end with either.
3775 (ruby-font-lock-keywords): For built-ins that require arguments,
3776 check that they're followed by something that looks like argument
3777 (bug#16610).
3778
3779 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3780
3781 * subr.el (butlast): Document what an omitted N means (bug#13437).
3782 (nbutlast): Ditto.
3783
3784 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3785
3786 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3787 depth shallower (bug#16587).
3788 (shr-tag-svg): Respect `shr-inhibit-images'.
3789 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3790
3791 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3792
3793 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3794 (ruby-smie-grammar): Make "." right-associative. Make its priority
3795 lower than the ternary and all binary operators.
3796 (ruby-smie-rules): Indent "(" relative to the first non-"."
3797 parent, or the first "." parent at indentation.
3798 Use `ruby-align-chained-calls' for indentation of "." tokens.
3799 (Bug#16593)
3800
3801 2014-01-31 Juri Linkov <juri@jurta.org>
3802
3803 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3804 from `make-hash-table'.
3805
3806 * textmodes/ispell.el (ispell-init-process): Change message format
3807 to be consistent with other messages.
3808
3809 2014-01-31 Glenn Morris <rgm@gnu.org>
3810
3811 * delsel.el (delete-selection-mode): Doc fix.
3812
3813 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3814 (trace-function-background): Doc fixes.
3815
3816 * ido.el (ido-use-virtual-buffers): Doc fix.
3817 Reset :version, since the default value has not changed.
3818
3819 * register.el (register-preview-delay, register-read-with-preview):
3820 Doc fixes.
3821
3822 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3823 do not mess with mail-buffer position (fixes 2009-11-03 change).
3824 * progmodes/cc-mode.el (c-submit-bug-report):
3825 Check auto-fill-mode is bound. (Bug#16592)
3826
3827 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3828
3829 * startup.el (fancy-splash-image-file): New function,
3830 split from fancy-splash-head.
3831 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3832 so that we are both using the same image. (Bug#16574)
3833
3834 2014-01-30 Glenn Morris <rgm@gnu.org>
3835
3836 * simple.el (eval-expression): Doc fix.
3837
3838 * hexl.el (hexl-mode-hook):
3839 * ielm.el (ielm-mode-hook):
3840 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3841 (lisp-interaction-mode-hook):
3842 * progmodes/cfengine.el (cfengine3-documentation-function):
3843 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3844
3845 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3848 is a symbol (bug#16584).
3849
3850 2014-01-30 Glenn Morris <rgm@gnu.org>
3851
3852 * help.el (help-for-help-internal): Add "P" to text.
3853
3854 2014-01-29 Glenn Morris <rgm@gnu.org>
3855
3856 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3857
3858 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3859
3860 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3861 height constraints.
3862
3863 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3864
3865 * progmodes/hideif.el: Extend to full CPP expression syntax.
3866 (hif-token-alist): Add missing tokens.
3867 (hif-token-regexp): Add support for float/octal/hex immediates.
3868 (hif-string-literal-regexp): New const.
3869 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3870 (hif-exprlist): New function.
3871 (hif-parse-if-exp): Use it.
3872 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3873 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3874 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3875 (hif-logxor, hif-comma): New functions.
3876
3877 2014-01-28 Glenn Morris <rgm@gnu.org>
3878
3879 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3880
3881 * indent.el (tab-stop-list): Doc fix. Add :version.
3882
3883 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3884 (cvs-append-to-ignore): Add compatibility alias.
3885
3886 2014-01-27 Glenn Morris <rgm@gnu.org>
3887
3888 * dired.el (dired-hide-details-mode): Don't autoload it,
3889 since it cannot be used outside Dired buffers anyway.
3890
3891 * emulation/cua-base.el (cua-mode): Doc fix.
3892
3893 * dired.el (dired-hide-details-hide-symlink-targets)
3894 (dired-hide-details-hide-information-lines)
3895 (dired-hide-details-mode): Doc fixes.
3896
3897 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3898 * strokes.el (strokes-file): Doc fix. Bump :version.
3899 (strokes-help): Doc fix.
3900 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3901 * emulation/viper.el (viper): Doc fix for custom group.
3902 (top-level): Remove oh-so-no-longer-relevant text about vip.
3903 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3904
3905 * ido.el (ido-save-directory-list-file):
3906 * saveplace.el (save-place-file):
3907 * calendar/timeclock.el (timeclock-file):
3908 * net/quickurl.el (quickurl-url-file):
3909 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3910 * progmodes/idlwave.el (idlwave-config-directory):
3911 * textmodes/remember.el (remember-data-file):
3912 Bump :version.
3913
3914 2014-01-26 Glenn Morris <rgm@gnu.org>
3915
3916 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3917 Doc fix. Make obsolete.
3918 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3919
3920 * sort.el (delete-duplicate-lines): Doc fix.
3921
3922 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3923
3924 * progmodes/ada-mode.el (ada):
3925 * woman.el (woman): Link to info manual and Commentary section.
3926
3927 * progmodes/flymake.el (flymake):
3928 * nxml/nxml-mode.el (nxml):
3929 * net/eww.el (eww):
3930 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3931 * htmlfontify.el (htmlfontify):
3932 * ses.el (ses):
3933 * epa.el (epa):
3934 * ido.el (ido): Link to info manual.
3935
3936 2014-01-25 Leo Liu <sdl.web@gmail.com>
3937
3938 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3939
3940 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3941
3942 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3943 (bug#16537).
3944
3945 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3946
3947 * net/eww.el (eww-download-callback):
3948 Fix reference to eww-download-directory.
3949
3950 * emacs-lisp/bytecomp.el (byte-compile-file):
3951 Remove unused local variable `file-name'.
3952
3953 2014-01-24 Glenn Morris <rgm@gnu.org>
3954
3955 * woman.el (woman-default-faces, woman-monochrome-faces):
3956 Fix obsolescence specification.
3957
3958 * subr.el (with-demoted-errors): Doc fix.
3959
3960 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3961
3962 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3963 (cl--macroexp-fboundp): New function.
3964 (cl--make-type-test): Use it.
3965
3966 2014-01-23 Glenn Morris <rgm@gnu.org>
3967
3968 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3969 * simple.el (eval-expression): Doc fixes.
3970
3971 2014-01-22 Glenn Morris <rgm@gnu.org>
3972
3973 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3974
3975 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * emacs-lisp/package.el: Write files silently.
3978 (package-autoload-ensure-default-file, package--write-file-no-coding)
3979 (package-generate-description-file, package--download-one-archive)
3980 (package-install-from-archive): Tell `write-region' to stay quiet.
3981 (package-menu-mode, package-menu--print-info): Omit the Archive column
3982 if there's only one archive.
3983 (package-all-keywords, package--has-keyword-p): Remove dead code.
3984
3985 2014-01-22 Glenn Morris <rgm@gnu.org>
3986
3987 * version.el (emacs-bzr-version-bzr): Fix typo.
3988
3989 * version.el (emacs-repository-get-version):
3990 Check either .bzr or .git, but not both.
3991 Make the git case actually use the DIR argument, and return nil
3992 rather than the empty string.
3993 Avoid error if .git exists but the git executable is not found.
3994
3995 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3996
3997 Fixes in window size functions around Bug#16430 and Bug#16470.
3998 * window.el (window-total-size, window-size): New argument ROUND.
3999 (window--min-delta-1, window-min-delta, window--max-delta-1):
4000 Be more conservative when calculating the numbers of lines or
4001 columns a window can shrink (Bug#16430).
4002 (fit-window-to-buffer): Simplify code.
4003 * term.el (term-window-width): Call window-body-width again.
4004
4005 2014-01-22 Glenn Morris <rgm@gnu.org>
4006
4007 * image.el (image-format-suffixes): Doc fix.
4008
4009 * international/quail.el (quail-define-package): Doc fix.
4010
4011 * emacs-lisp/authors.el (authors-valid-file-names)
4012 (authors-renamed-files-alist): Additions.
4013
4014 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4015 reverts 2014-01-09 change. (Bug#16422)
4016
4017 * calc/calc-embed.el (thing-at-point-looking-at):
4018 * emacs-lisp/map-ynp.el (x-popup-dialog):
4019 * obsolete/lmenu.el (x-popup-dialog):
4020 * emacs-lisp/package.el (url-recreate-url):
4021 * mail/mailclient.el (clipboard-kill-ring-save):
4022 * subr.el (x-popup-dialog): Update declaration.
4023 * mail/rmail.el (rmail-mime-message-p):
4024 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4025
4026 2014-01-21 Daniel Colascione <dancol@dancol.org>
4027
4028 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4029 Correctly detect when we're inside an arithmetic expansion form
4030 containing nested parenthesis.
4031 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4032 to detect cases where we shouldn't expand "<<" to a heredoc
4033 skeleton.
4034
4035 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4036
4037 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4038 (eldoc--message-command-p): New function.
4039 (eldoc-display-message-p): Use it.
4040 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4041 message is not automatically erased for us.
4042 (eldoc-print-current-symbol-info): Erase previous message, if any.
4043
4044 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4045
4046 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4047 specify it's an interactive function.
4048
4049 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4050 Fix regex used for scanning for citation keys which failed for
4051 citations with optional arguments.
4052
4053 2014-01-21 Leo Liu <sdl.web@gmail.com>
4054
4055 * simple.el (read--expression): Don't enable eldoc-mode.
4056
4057 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 * simple.el (move-beginning-of-line): Make sure we don't move forward
4060 (bug#16497).
4061
4062 2014-01-20 Juri Linkov <juri@jurta.org>
4063
4064 * saveplace.el (toggle-save-place, save-place-to-alist)
4065 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4066 'dired-mode) before checking for dired-directory. (Bug#16477)
4067
4068 2014-01-20 Juri Linkov <juri@jurta.org>
4069
4070 * indent.el (indent-line-to): Use backward-to-indentation
4071 instead of back-to-indentation. (Bug#16461)
4072
4073 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4074
4075 Revert some of the CANNOT_DUMP fix (Bug#16494).
4076 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4077 but fixing this can wait until after the next release.
4078 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4079
4080 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4081
4082 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4083 Use `password-word-equivalents'.
4084 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4085 to t. (Bug#5664, Bug#13124)
4086
4087 2014-01-19 Alan Mackenzie <acm@muc.de>
4088
4089 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4090 points.
4091 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4092 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4093 * progmodes/cc-mode.el (c-before-change, c-after-change)
4094 (c-font-lock-fontify-region): Bind it here.
4095
4096 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4097
4098 * term.el (term-window-width): Call window-text-width instead of
4099 window-width (Bug#16470).
4100
4101 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4102
4103 * simple.el (password-word-equivalents): Remove duplicates.
4104 Sort, to make this easier next time.
4105 Downcase. Omit ": " after "jelszó".
4106
4107 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4108
4109 * term/common-win.el (saved-region-selection): Defvar it.
4110 (x-select-text): Set saved-region-selection (Bug#16382).
4111
4112 2014-01-18 Glenn Morris <rgm@gnu.org>
4113
4114 * emacs-lisp/authors.el (authors-aliases)
4115 (authors-renamed-files-alist): Add some entries.
4116
4117 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4118
4119 * net/tramp.el (tramp-password-prompt-regexp):
4120 Use `password-word-equivalents' if available.
4121 (tramp-action-password, tramp-process-one-action)
4122 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4123
4124 2014-01-17 Chong Yidong <cyd@gnu.org>
4125
4126 * simple.el (password-word-equivalents): New defcustom.
4127 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4128 to 24.4.
4129 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4130 to t. (Bug#13124)
4131
4132 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4133
4134 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4135 (ruby-align-to-stmt-keywords): Change the default value.
4136 Use `ruby-alignable-keywords' to generate the possible customization
4137 choices.
4138 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4139 keywords, check against the value of `ruby-alignable-keywords'
4140 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4141
4142 2014-01-17 Glenn Morris <rgm@gnu.org>
4143
4144 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4145
4146 Make M-x authors return zero *Authors Errors* from current logs.
4147 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4148 (authors-ignored-files): Add some entries, remove others.
4149 (authors-ambiguous-files, authors-valid-file-names):
4150 Add some entries.
4151 (authors-renamed-files-alist): Add, remove, and adjust entries.
4152 (authors-renamed-files-regexps): Add some entries.
4153 Remove some very broad ones. Make some entries `lax'.
4154 (authors-lax-changelogs): New constant.
4155 (authors-disambiguate-file-name): Treat top-level specially.
4156 (authors-lax-changelog-p): New function.
4157 (authors-canonical-file-name): Check file as written against
4158 authors-valid-file-names. Do not special-case etc/.
4159 Handle `lax' logs and authors-renamed-files-regexps elements.
4160
4161 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4162
4163 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4164 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4165 callers.
4166
4167 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4170 Assume we're already in the proper buffer.
4171 Inspired by Anders Lindgren <andlind@gmail.com>.
4172 (follow-post-command-hook): Call it from the right buffer.
4173 (follow-comint-scroll-to-bottom): Adjust call.
4174 (follow-all-followers): Use get-buffer-window-list.
4175
4176 2014-01-15 Daniel Colascione <dancol@dancol.org>
4177
4178 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4179 `buffer-file-name' in interactive-form so that we don't leave
4180 pathless file names in `file-name-history'.
4181
4182 2014-01-15 Juri Linkov <juri@jurta.org>
4183
4184 * indent.el (indent-rigidly): Set deactivate-mark to nil
4185 in transient indentation mode. (Bug#16438)
4186
4187 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4188
4189 * emacs-lisp/package.el (package-desc-keywords): New function
4190 (Bug#16222).
4191 (describe-package-1, package-all-keywords)
4192 (package--has-keyword-p): Use it.
4193
4194 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4195
4196 * simple.el (define-alternatives): When creating the
4197 COMMAND-alternatives variable, assign COMMAND as its definition
4198 name so that `describe-variable' can relocate it.
4199
4200 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4201
4202 * font-lock.el (font-lock-keywords): Fix typo in docstring
4203 (bug#16307).
4204
4205 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4206
4207 * ispell.el (ispell-region): Reset `in-comment' for new line
4208 instead of wrongly reset `add-coment' (bug#13577).
4209
4210 2014-01-14 Daiki Ueno <ueno@gnu.org>
4211
4212 * epa-file.el (epa-file-write-region): Encode the region according
4213 to `buffer-file-format'. Problem reported at:
4214 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4215
4216 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4219 so it applies in the right buffer (bug#16410).
4220
4221 2014-01-13 Daniel Colascione <dancol@dancol.org>
4222
4223 * textmodes/rst.el (rst-define-key): Provide deprecated
4224 keybindings through named functions instead of anonymous ones so
4225 that "??" doesn't appear in describe-mode output.
4226
4227 2014-01-13 Bastien Guerry <bzg@gnu.org>
4228
4229 * simple.el (define-alternatives): Call the selected command
4230 interactively. When setting `COMMAND--implementation' for the
4231 first time, tell the user how to chose another implementation.
4232 Enhance the docstring.
4233
4234 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4237 (log-edit--match-first-line): New function.
4238 (log-edit-font-lock-keywords): Use it.
4239 (log-edit-mode): Make jit-lock-defer-multiline work.
4240
4241 2014-01-13 Bastien Guerry <bzg@gnu.org>
4242
4243 * rect.el (rectangle-mark-mode): When the region is not active,
4244 display a message saying that the mark as been set and that
4245 rectangle mode is in use.
4246 (rectangle--highlight-for-redisplay): Only put an overlay with a
4247 visible vertical bar when (display-graphic-p) is non-nil.
4248 This partially fixes Bug#16403.
4249
4250 2014-01-13 Juri Linkov <juri@jurta.org>
4251
4252 * info.el (Info-find-file): Go to DIR before displaying the error
4253 about a nonexistent file if no previous Info file is visited.
4254 Use `user-error' instead of `error' for "Info file %s does not exist".
4255 (Info-find-node-2): In case of a nonexistent node in unwind forms
4256 go to the Top node if there is no previous node to revert to.
4257 (Bug#16405)
4258
4259 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4260
4261 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4262 * window.el (fit-frame-to-buffer): Fix doc-string.
4263 Respect window-min-height/-width. Fit pixelwise when
4264 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4265 when avoiding that frame goes partially off-screen.
4266 (fit-window-to-buffer): Respect window-min-height/-width
4267 (Bug#14096).
4268
4269 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4272 after an empty line.
4273
4274 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4275
4276 * net/shr.el (shr-render-region): Autoload.
4277
4278 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4279
4280 * net/eww.el (eww-download-directory): Rename from
4281 `eww-download-path' (Bug#16419).
4282
4283 2014-01-12 Leo Liu <sdl.web@gmail.com>
4284
4285 * dired-x.el (dired-mode-map): Fix last change.
4286
4287 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4288
4289 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4290
4291 Spelling fixes.
4292 * emacs-lisp/generic.el (generic--normalize-comments):
4293 Rename from generic--normalise-comments. All uses changed.
4294 * play/bubbles.el (bubbles--neighborhood-score)
4295 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4296 (bubbles--neighborhood-available)
4297 (bubbles--update-neighborhood-score):
4298 Rename from names with 'neighbourhood'. All uses changed.
4299
4300 2014-01-12 Leo Liu <sdl.web@gmail.com>
4301
4302 Re-implement the feature of showing eldoc info after editing.
4303 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4304 (eldoc-edit-message-commands): New function.
4305 (eldoc-print-after-edit): New variable.
4306 (eldoc-pre-command-refresh-echo-area): Emit message only by
4307 eldoc-message-commands.
4308 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4309 if eldoc-print-after-edit is set. (Bug#16346)
4310 * simple.el (read--expression): Enable eldoc-mode.
4311 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4312
4313 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4314 Eric S. Raymond <esr@thyrsus.com>
4315
4316 * version.el (emacs-repository-get-version): Enhance so the
4317 function works correctly in either a Bazaar or Git repo.
4318
4319 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4320
4321 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4322 Goes with removal of the joke manpages from /etc.
4323
4324 2014-01-10 Kenichi Handa <handa@gnu.org>
4325
4326 * mail/rmail.el (rmail-get-coding-system):
4327 Check rmail-get-coding-function before "funcall"ing it.
4328
4329 2014-01-10 Glenn Morris <rgm@gnu.org>
4330
4331 * emacs-lisp/authors.el (authors-fixed-entries):
4332 Update for files that no longer exist.
4333
4334 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4335
4336 * version.el (emacs-bzr-get-version): Restore compatibilty with
4337 24.3 (Tested).
4338
4339 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4340
4341 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4342 and Podfile.
4343
4344 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4345
4346 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4347
4348 2014-01-10 Chong Yidong <cyd@gnu.org>
4349
4350 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4351
4352 2014-01-10 Anders Lindgren <andlind@gmail.com>
4353
4354 * follow.el (follow-cache-command-list): Include right-char and
4355 left-char.
4356
4357 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4358
4359 Spelling fixes.
4360 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4361 * woman.el (woman-mark-horizontal-position):
4362 Rename from woman-mark-horizonal-position. Use changed.
4363
4364 2014-01-10 Glenn Morris <rgm@gnu.org>
4365
4366 * info.el (info-initialize): If running uninstalled, ensure our
4367 own info files are always found first, even if INFOPATH is set.
4368
4369 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4370
4371 2014-01-09 David Engster <deng@randomsample.de>
4372
4373 * emacs-lisp/eieio-custom.el:
4374 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4375 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4376 * emacs-lisp/eieio.el: Regenerate autoloads.
4377
4378 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4379
4380 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4381 following renames. (Bug#8756)
4382
4383 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4384
4385 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4386 (bug#16382).
4387 (activate-mark): Add `no-tmm' argument.
4388 (set-mark, push-mark-command): Use it instead of running
4389 activate-mark-hook by hand.
4390
4391 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4392
4393 In preparation for the move to git, sanitize out some
4394 Bazaar-specific names.
4395
4396 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4397
4398 * version.el (emacs-bzr-version): Name changed to
4399 emacs-repository-version. Obsolete-variable alias made.
4400 * loadup.el: Follow through on this name change.
4401 * mail/emacsbug.el (report-emacs-bug): Factor out any
4402 assumption about the version control system in use.
4403
4404 2014-01-08 David Engster <deng@randomsample.de>
4405
4406 * help-fns.el (help-fns-describe-function-functions):
4407 New variable to call functions for augmenting help buffers.
4408 (describe-function-1): Remove explicit calls to
4409 `help-fns--compiler-macro', `help-fns--parent-mode' and
4410 `help-fns--obsolete'. Put them in above new variable instead, and
4411 call them through `run-hook-with-args'.
4412 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4413 `eieio-describe-class'. Not meant for interactive use anymore,
4414 but to augment existing help buffers. Remove optional second
4415 argument. Create proper button for file location.
4416 Rewrite function to use `insert' instead of `princ' and `prin1' where
4417 possible.
4418 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4419 (eieio-method-def, eieio-class-def): Move further up.
4420 (describe-method, describe-generic, eieio-describe-method):
4421 Remove aliases.
4422 (eieio-help-constructor, eieio-help-generic): Rename from
4423 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4424 Rewrite to use `insert' in the current buffer and use proper help
4425 buttons.
4426 (eieio-help-find-method-definition)
4427 (eieio-help-find-class-definition): Also accept symbols as
4428 arguments.
4429 (eieio-help-mode-augmentation-maybee): Remove.
4430 (eieio-describe-class-sb): Use `describe-function'.
4431 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4432 Add `eieio-help-generic' and `eieio-help-constructor'.
4433
4434 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4435
4436 Spelling fixes.
4437 * language/china-util.el (hz-ascii-designation):
4438 Rename from hz-ascii-designnation.
4439 (hz-ascii-designation): Rename from hz-ascii-designnation.
4440 All uses changed.
4441
4442 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4443
4444 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4445 package-alist.
4446
4447 2014-01-08 Bastien Guerry <bzg@gnu.org>
4448
4449 * emacs-lisp/package.el (package-delete):
4450 Correctly delete the package from package-alist.
4451
4452 2014-01-08 Daiki Ueno <ueno@gnu.org>
4453
4454 * emacs-lisp/package.el (url-recreate-url): Declare.
4455 (url-http-target-url): Declare.
4456 (package-handle-response): Include requested URL in the error message.
4457 (package--check-signature): Don't re-signal errors from
4458 package--with-work-buffer. Suggested by Stefan Monnier.
4459
4460 2014-01-07 Bastien Guerry <bzg@gnu.org>
4461
4462 * minibuffer.el (completion--try-word-completion): When both a
4463 hyphen and a space are possible candidates for the character
4464 following a word, display both candidates. (Bug#15980)
4465
4466 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4467
4468 * window.el (balance-windows-2): While rounding don't give a
4469 window more than the remainder. Bug#16351, bug#16383.
4470
4471 2014-01-07 Glenn Morris <rgm@gnu.org>
4472
4473 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4474 (menu-bar-help-menu): Use view-external-packages instead.
4475
4476 2014-01-07 Bastien Guerry <bzg@gnu.org>
4477
4478 * emacs-lisp/package.el (package-delete): Also delete the package
4479 name from `package-alist', not its description only.
4480
4481 2014-01-07 Glenn Morris <rgm@gnu.org>
4482
4483 * help.el (view-external-packages):
4484 * menu-bar.el (menu-bar-help-extra-packages):
4485 Visit efaq.info rather than etc/MORE.STUFF.
4486
4487 2014-01-07 Juri Linkov <juri@jurta.org>
4488
4489 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4490 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4491
4492 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4493 that shadows RET. (Bug#16342)
4494
4495 2014-01-07 Chong Yidong <cyd@gnu.org>
4496
4497 * isearch.el (isearch-yank-char, isearch-yank-word)
4498 (isearch-yank-line): Doc fix.
4499
4500 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4503 * emacs-lisp/elint.el (elint-find-builtins):
4504 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4505 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4506 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4507 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4508 * apropos.el (apropos-safe-documentation):
4509 * subr.el (symbol-file): Remove redundant fboundp.
4510 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4511
4512 2014-01-06 Bastien Guerry <bzg@gnu.org>
4513
4514 * hl-line.el (global-hl-line-overlay): Make a local variable.
4515 (global-hl-line-overlays): New variable to store all overlays.
4516 (global-hl-line-mode): Don't delete overlays from the current
4517 buffer when `global-hl-line-sticky-flag' is non-nil.
4518 (global-hl-line-highlight): Add new overlays to
4519 `global-hl-line-overlays'.
4520 (global-hl-line-unhighlight-all): New function to delete all
4521 overlays when turning off `global-hl-line-mode'.
4522 This fixes Bug#16183.
4523
4524 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * subr.el (set-transient-map): Fix nested case and docstring.
4527
4528 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4529
4530 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4531 `Texinfo' entry.
4532
4533 2014-01-06 Daniel Colascione <dancol@dancol.org>
4534
4535 Fix defun navigation in vc log view.
4536
4537 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4538 like `beginning-of-defun'.
4539 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4540 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4541 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4542 (log-view-extract-comment): Call `log-view-current-entry' directly
4543 instead of relying on broken `log-view-beginning-of-defun' behavior.
4544
4545 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4546
4547 Spelling fixes.
4548 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4549 * emacs-lisp/debug.el (cancel-debug-on-entry):
4550 * epg.el (epg-error-to-string):
4551 * files.el (recover-file):
4552 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4553 * mail/emacsbug.el (report-emacs-bug-hook):
4554 * mail/sendmail.el (mail-recover):
4555 * ses.el (ses-yank-resize):
4556 * term/ns-win.el (ns-print-buffer):
4557 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4558 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4559 All uses changed.
4560 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4561
4562 2014-01-06 Leo Liu <sdl.web@gmail.com>
4563
4564 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4565 to avoid shadowing global key. (Bug#16354)
4566
4567 2014-01-06 Daniel Colascione <dancol@dancol.org>
4568
4569 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4570 rst-mode.
4571
4572 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4573
4574 * window.el (balance-windows): Add mising t to fix Bug#16351.
4575
4576 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4577
4578 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4579 (bug#16285).
4580 (shr-insert): If we have a word that's longer than `shr-width',
4581 break after it anyway. Otherwise we'll do no breaking once we get
4582 such a long word.
4583
4584 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4585
4586 * net/eww.el (eww): Support single/double quote for search.
4587 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4588 (eww-history-quit): Delete and use quit-window.
4589 (eww-history-kill): Delete, because it doesn't work well and
4590 not necessary.
4591 (eww-history-mode-map): Delete some keys and add easy-menu.
4592
4593 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4594
4595 Fix misspelling of 'chinese' in rx (Bug#16237).
4596 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4597 chinese-two-byte.
4598
4599 Change subword regexps back to vars (Bug#16296).
4600 * progmodes/subword.el (subword-forward-regexp)
4601 (subword-backward-regexp): Change these back to variables.
4602
4603 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4604
4605 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4606 syntax-begin-function (bug#16247).
4607
4608 2014-01-03 Chong Yidong <cyd@gnu.org>
4609
4610 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4611 (advice--docstring): Delete variable.
4612 (advice--make-1): Leave the docstring empty.
4613 (advice-add): Use function-documentation for advised docstring.
4614
4615 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4616 Ignore function-documentation property when getting documentation.
4617 (ad-activate-advised-definition): Use function-documentation
4618 generate the docstring.
4619 (ad-make-advised-definition): Don't call
4620 ad-make-advised-definition-docstring.
4621 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4622 Delete functions.
4623
4624 * progmodes/sql.el (sql-help): Use function-documentation instead
4625 of dynamic-docstring-function property. No need to autoload now.
4626 (sql--help-docstring): New variable.
4627 (sql--make-help-docstring): Use it.
4628
4629 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * ielm.el (ielm-tab): Retarget.
4632 (ielm-map): Use ielm-tab for tab.
4633 (ielm-complete-filename): Use comint-filename-completion.
4634 (ielm-complete-symbol): Remove.
4635 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4636 remove ielm-tab from completion-at-point-functions (bug#16224).
4637
4638 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4639 Beware signals raised by predicates (bug#16201).
4640
4641 2014-01-02 Richard Stallman <rms@gnu.org>
4642
4643 * dired-aux.el (dired-do-print): Handle printer-name.
4644
4645 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4646 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4647 (rmail-epa-decrypt): Turn off mime processing.
4648
4649 * mail/rmail.el (rmail-make-in-reply-to-field):
4650 Add parens in message-id.
4651
4652 * mail/rmail.el (rmail-get-coding-function): Variable.
4653 (rmail-get-coding-system): Use it.
4654
4655 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4656
4657 * international/mule-conf.el: Unify the charset indian-is13194.
4658 (indian-is13194): Specify unify-map.
4659
4660 2013-12-31 Leo Liu <sdl.web@gmail.com>
4661
4662 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4663
4664 2013-12-30 Daniel Colascione <dancol@dancol.org>
4665
4666 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4667 of printing a useless when we resume from sleep.
4668
4669 * progmodes/sh-script.el
4670 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4671 in indentation code. (Bug#16233)
4672
4673 2013-12-28 João Távora <joaotavora@gmail.com>
4674
4675 * elec-pair.el (electric-pair-post-self-insert-function):
4676 Don't open extra newlines at beginning of buffer. (Bug#16272)
4677
4678 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4679
4680 * frame.el (window-system-for-display): Don't allow to create a
4681 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4682
4683 2013-12-28 Glenn Morris <rgm@gnu.org>
4684
4685 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4686 Update callers.
4687
4688 * apropos.el (apropos-match-face):
4689 * calculator.el (calculator-displayer):
4690 * dabbrev.el (dabbrev-search-these-buffers-only):
4691 * face-remap.el (buffer-face-mode-face):
4692 * simple.el (yank-handled-properties):
4693 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4694 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4695 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4696 (hashcash-double-spend-database):
4697 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4698 (ruby-deep-indent-paren-style):
4699 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4700 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4701 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4702 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4703 Specify custom types.
4704
4705 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4706 * bookmark.el (bookmark-bmenu-use-header-line):
4707 * doc-view.el (doc-view-scale-internally):
4708 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4709 * register.el (register-preview-delay):
4710 * net/shr.el (shr-bullet):
4711 * progmodes/cfengine.el (cfengine-cf-promises)
4712 (cfengine-parameters-indent):
4713 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4714 * textmodes/reftex-vars.el (reftex-label-regexps):
4715 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4716
4717 * net/tls.el (tls-certtool-program): Fix default value.
4718
4719 * desktop.el (desktop-restore-in-current-display):
4720 * newcomment.el (comment-empty-lines):
4721 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4722 (idlwave-pad-keyword):
4723 * progmodes/tcl.el (tcl-tab-always-indent):
4724 * textmodes/reftex-vars.el (reftex-index-default-tag):
4725 * elec-pair.el (electric-pair-skip-whitespace):
4726 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4727
4728 * emacs-lisp/authors.el (authors-ignored-files)
4729 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4730
4731 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4732
4733 * shell.el (shell-dynamic-complete-command): Doc fix.
4734 (shell--command-completion-data): Shell completion now matches
4735 executable filenames from the current buffer's directory, on
4736 systems in which this behavior is the default (windows-nt, ms-dos).
4737
4738 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4739
4740 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4741
4742 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4745 (bug#16251).
4746
4747 * electric.el: Move all electric-pair-* to elec-pair.el.
4748 * elec-pair.el: New file, split from electric.el.
4749
4750 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4751
4752 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4753 indentation level is larger than the width, because that will
4754 infloop.
4755 (shr-insert): Fill repeatedly long texts, so that Japanese is
4756 formatted correctly (bug#16263).
4757 (shr-find-fill-point): Off by one error in comparison with the
4758 indentation.
4759
4760 2013-12-26 João Távora <joaotavora@gmail.com>
4761
4762 * electric.el (electric-pair-mode): More flexible engine for skip-
4763 and inhibit predicates, new options for pairing-related functionality.
4764 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4765 if that keeps or improves their balance in buffers.
4766 (electric-pair-delete-adjacent-pairs): Delete the pair when
4767 backspacing over adjacent matched delimiters.
4768 (electric-pair-open-extra-newline): Open extra newline when
4769 inserting newlines between adjacent matched delimiters.
4770 (electric--sort-post-self-insertion-hook):
4771 Sort post-self-insert-hook according to priority values when
4772 minor-modes are activated.
4773 * simple.el (newline-and-indent): Call newline with interactive
4774 set to t.
4775 (blink-paren-post-self-insert-function): Set priority to 100.
4776 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4777 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4778 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4779 electric-pair-open-newline-between-pairs to nil.
4780
4781 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4782
4783 * progmodes/python.el: Use lexical-binding.
4784 (python-nav-beginning-of-defun): Stop searching ASAP.
4785
4786 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4787
4788 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4789 Fix interactive spec. Doc fix. (Bug#15754)
4790
4791 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4792
4793 * emacs-lisp/byte-run.el (eval-when-compile):
4794 * progmodes/cc-defs.el (cc-eval-when-compile):
4795 Fix edebug spec (bug#16184).
4796
4797 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4798
4799 * net/shr.el (shr-visit-file): Remove debugging function.
4800 (shr-insert): Don't infloop if we can't find a good place to break
4801 the line (bug#16256).
4802
4803 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4804
4805 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4806 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4807 python-nav-lisp-forward-sexp-safe.
4808 (python-nav--forward-sexp): New argument SAFE allows switching
4809 forward sexp movement behavior for parens.
4810 (python-nav-forward-sexp): Throw errors on unterminated parens
4811 (Bug#16191).
4812 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4813 (python-nav-backward-sexp-safe): New functions.
4814 (python-shell-buffer-substring):
4815 Use `python-nav-forward-sexp-safe'.
4816
4817 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4818
4819 * net/shr.el (shr-find-fill-point): Don't break lines before a
4820 quotation mark.
4821 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4822 (shr-find-fill-point): Remove the special checks for the quotation
4823 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4824
4825 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4826
4827 * net/eww.el (eww-form-textarea): Use a different face for
4828 textareas than text input since they have different keymaps
4829 (bug#16142).
4830
4831 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4832
4833 * progmodes/python.el (python-nav-beginning-of-statement):
4834 Speed up (Bug#15295).
4835
4836 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4837
4838 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4839 the window configuration.
4840
4841 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4842
4843 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4844 we run on MS-Windows or MS-DOS.
4845
4846 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4847
4848 * window.el (balance-windows-area): Call window-size instead of
4849 window-height and window-width. Bug#16241.
4850
4851 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4852
4853 * net/eww.el (eww-bookmark-quit): Remove.
4854 (eww-bookmark-browse): Restore the window configuration when you
4855 choose a bookmark (bug#16144).
4856
4857 2013-12-24 Daniel Colascione <dancol@dancol.org>
4858
4859 * icomplete.el: Remove redundant :group arguments to `defcustom'
4860 throughout.
4861 (icomplete-show-matches-on-no-input): New customizable variable.
4862 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4863 we have something to show.
4864 (icomplete-exhibit): Compute completions even if we have no user input.
4865
4866 2013-12-23 Daniel Colascione <dancol@dancol.org>
4867
4868 * icomplete.el: Move `provide' to end of file.
4869
4870 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4871
4872 * net/gnutls.el (gnutls-verify-error): Add version tag.
4873
4874 2013-12-23 Chong Yidong <cyd@gnu.org>
4875
4876 * subr.el (set-transient-map): Rename from
4877 set-temporary-overlay-map. Doc fix.
4878
4879 * face-remap.el (text-scale-adjust):
4880 * indent.el (indent-rigidly):
4881 * kmacro.el (kmacro-call-macro):
4882 * minibuffer.el (minibuffer-force-complete):
4883 * repeat.el (repeat):
4884 * simple.el (universal-argument--mode):
4885 * calendar/todo-mode.el (todo-insert-item--next-param):
4886 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4887
4888 * indent.el (indent-rigidly): Use substitute-command-keys.
4889
4890 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4891
4892 * net/eww.el (eww-tag-select): Add text-property to jump to next
4893 select field.
4894 (eww): Add non-supported ftp error.
4895
4896 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4897
4898 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4899 comments. Handle electric indent after typing `?' and `!'.
4900
4901 2013-12-22 Chong Yidong <cyd@gnu.org>
4902
4903 * faces.el (face-spec-recalc): If the theme specs are not
4904 applicable to a frame, fall back on the defface spec.
4905 This prevents themes from obliterating faces on low-color terminals.
4906
4907 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4908
4909 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4910 after `{'. We need it after block openers, and it doesn't seem
4911 to hurt after hash openers.
4912
4913 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4914
4915 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4916 extracted from `ruby-smie-rules'.
4917 (ruby--electric-indent-chars): New variable.
4918 (ruby--electric-indent-p): New function.
4919 (ruby-mode): Use `electric-indent-functions' instead of
4920 `electric-indent-chars'.
4921
4922 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4923
4924 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4925 docstring.
4926 (ruby-smie-rules): Indent plus one level after `=>'.
4927
4928 2013-12-21 Richard Stallman <rms@gnu.org>
4929
4930 * simple.el (newline): Doc fix.
4931
4932 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4933
4934 * net/eww.el (eww-list-histories, eww-list-histories)
4935 (eww-history-browse, eww-history-quit, eww-history-kill)
4936 (eww-history-mode-map, eww-history-mode): New command and
4937 functions to list browser histories.
4938 (eww-form-text): Support text form with disabled
4939 and readonly attributes.
4940 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4941
4942 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4943
4944 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4945 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4946 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4947 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4948 Use `user-error'.
4949 (eww-bookmark-mode-map): Add menu.
4950 (eww-render, eww-mode): Use `setq-local'.
4951 (eww-tool-bar-map): New variable.
4952 (eww-mode): Set `tool-bar-map'.
4953 (eww-view-source): Check for `html-mode' with `fboundp'.
4954
4955 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4956
4957 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4958 elements with text inside. Also remove debugging.
4959
4960 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4961
4962 * cus-start.el (all): Add ns-use-srgb-colorspace.
4963
4964 2013-12-21 Chong Yidong <cyd@gnu.org>
4965
4966 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4967 undefined. Thus, theme settings for undefined faces do not take
4968 effect until the faces are defined with defface, the same as with
4969 theme variables.
4970
4971 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4972 (face-spec-reset-face): Don't assign extra properties in temacs.
4973 (face-spec-recalc): Apply X resources too.
4974
4975 2013-12-21 Chong Yidong <cyd@gnu.org>
4976
4977 * faces.el (face-spec-set):
4978 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4979 * custom.el (defface): Doc fixes (Bug#16203).
4980
4981 * indent.el (indent-rigidly-map): Add docstring, and move commands
4982 into named functions.
4983 (indent-rigidly-left, indent-rigidly-right)
4984 (indent-rigidly-left-to-tab-stop)
4985 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4986 indentation direction based on bidi direction, and accumulate
4987 sequential commands in a single undo boundary.
4988 (indent-rigidly--pop-undo): New utility function.
4989
4990 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4991
4992 * faces.el (read-face-name): Require crm.el when using crm-separator.
4993
4994 2013-12-20 Daniel Colascione <dancol@dancol.org>
4995
4996 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4997 so that we don't reflow comments into the shebang line.
4998
4999 2013-12-20 Juri Linkov <juri@jurta.org>
5000
5001 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5002 a position when `dired-directory' is non-nil. Check integer
5003 positions with `integerp'.
5004 (toggle-save-place, save-places-to-alist): Add check for
5005 `dired-directory'.
5006 (save-place-find-file-hook): Check integer positions with
5007 `integerp'.
5008 (save-place-dired-hook): Use `dired-goto-file' when
5009 `dired-filename' is found in the assoc list. Check integer
5010 positions with `integerp'.
5011 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5012
5013 * dired.el (dired-initial-position-hook): Rename back from
5014 `dired-initial-point-hook'.
5015 (dired-initial-position): Rename `dired-initial-point-hook' to
5016 `dired-initial-position-hook'.
5017 (dired-file-name-at-point): Doc fix. (Bug#15329)
5018
5019 2013-12-20 Juri Linkov <juri@jurta.org>
5020
5021 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5022 (read-regexp-suggestions): New function.
5023 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5024 Use `read-regexp-suggestions'. Add non-empty default to history
5025 for empty input.
5026 (occur-read-regexp-defaults-function): Remove function.
5027 (occur-read-primary-args): Use `regexp-history-last' instead of
5028 `occur-read-regexp-defaults-function'.
5029
5030 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5031 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5032 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5033 `hi-lock-read-regexp-defaults-function'. Doc fix.
5034 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5035 with `find-tag-default-as-symbol-regexp'. Doc fix.
5036 (hi-lock-read-regexp-defaults): Remove function.
5037 (hi-lock-regexp-okay): Add check for null.
5038
5039 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5040 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5041
5042 * subr.el (find-tag-default-as-symbol-regexp): New function.
5043 (find-tag-default-as-regexp): Move symbol regexp formatting to
5044 `find-tag-default-as-symbol-regexp'.
5045
5046 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5047
5048 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5049 (Bug#14179)
5050
5051 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5052
5053 * calendar/todo-mode.el: New implementation of item insertion
5054 commands and key bindings.
5055 (todo-key-prompt): New face.
5056 (todo-insert-item): New command.
5057 (todo-insert-item--parameters): New defconst, replacing defvar
5058 todo-insertion-commands-args-genlist.
5059 (todo-insert-item--param-key-alist): New defconst, replacing
5060 defvar todo-insertion-commands-arg-key-list.
5061 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5062 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5063 (todo-insert-item--next-param): New functions.
5064 (todo-insert-item--args, todo-insert-item--argleft)
5065 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5066 New variables.
5067 (todo-key-bindings-t): Change binding of "i" from
5068 todo-insertion-map to todo-insert-item.
5069 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5070 (todo-insertion-command-name, todo-insertion-commands-names)
5071 (todo-define-insertion-command, todo-insertion-commands)
5072 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5073
5074 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5075
5076 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5077 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5078 eval-when-compile.
5079 (todo-move-category): Allow choosing a non-existing todo file to
5080 move the category to, and create that file.
5081 (todo-default-priority): New user option.
5082 (todo-set-item-priority): Use it.
5083 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5084 (desktop-restore-file-buffer): Declare.
5085 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5086 (todo-modes-set-2): Locally set desktop-save-buffer to
5087 todo-desktop-save-buffer.
5088 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5089 (auto-mode-alist): Add autoload cookie.
5090
5091 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5092
5093 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5094 helpers.el was a poor choice of name.
5095 (string-remove-prefix): New function.
5096 (string-remove-suffix): New function.
5097
5098 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5099
5100 Fix assignment for new window total sizes.
5101 * window.el (window--pixel-to-size): Remove function.
5102 (window--pixel-to-total-1, window--pixel-to-total):
5103 Fix calculation of new total sizes.
5104
5105 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5106
5107 * comint.el (comint-output-filter): Fix rear-nonsticky property
5108 placement (Bug#16010).
5109
5110 2013-12-20 Chong Yidong <cyd@gnu.org>
5111
5112 * faces.el (read-color): Minor fix for completion function.
5113
5114 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5115
5116 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5117 New option. (Bug#16182)
5118 (ruby-smie--indent-to-stmt-p): Use it.
5119 (ruby-smie-rules): Revert the logic in the handling of `when'.
5120 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5121 (ruby-deep-arglist, ruby-deep-indent-paren)
5122 (ruby-deep-indent-paren-style): Update docstrings to note that the
5123 vars don't have any effect with SMIE.
5124
5125 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5126
5127 * calc/calc.el (calc-enter, calc-pop): Use the variable
5128 `calc-context-sensitive-enter'.
5129
5130 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5131
5132 * net/shr.el (shr-insert): Protect against infloops in degenerate
5133 tables.
5134
5135 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5136
5137 * progmodes/octave.el (octave): Add link to manual and octave
5138 homepage.
5139 (octave-mode-menu): Link to octave-mode manual.
5140
5141 2013-12-20 Leo Liu <sdl.web@gmail.com>
5142
5143 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5144 insertion using skeleton-end-newline. (Bug#16138)
5145
5146 2013-12-20 Juri Linkov <juri@jurta.org>
5147
5148 * replace.el (occur-engine): Use `add-face-text-property'
5149 to add the face property to matches and titles. (Bug#14645)
5150
5151 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5152 the palette of other hi-lock colors.
5153 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5154
5155 2013-12-19 Juri Linkov <juri@jurta.org>
5156
5157 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5158 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5159 (minibuffer-history-symbol): Move variable declaration closer to
5160 its usage.
5161
5162 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5163 (Bug#14785)
5164
5165 2013-12-19 Juri Linkov <juri@jurta.org>
5166
5167 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5168 New function.
5169 (log-edit-hook): Add it to :options. (Bug#16170)
5170
5171 2013-12-19 Juri Linkov <juri@jurta.org>
5172
5173 * simple.el (eval-expression-print-format): Don't check for
5174 command names and the last command. Always display additional
5175 formats of the integer result in the echo area, and insert them
5176 to the current buffer only with a zero prefix arg.
5177 Display character when char-displayable-p is non-nil.
5178 (eval-expression): With a zero prefix arg, set `print-length' and
5179 `print-level' to nil, and insert the integer values from
5180 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5181
5182 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5183 `eval-last-sexp-arg-internal'. Doc fix.
5184 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5185 `eval-last-sexp-print-value'. Doc fix.
5186 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5187 Set `print-length' and `print-level' to nil when arg is zero.
5188 (eval-last-sexp): Doc fix.
5189 (eval-defun-2): Print the integer values from
5190 `eval-expression-print-format' at the end.
5191
5192 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5193 values from `eval-expression-print-format' at the end.
5194
5195 * ielm.el (ielm-eval-input): Print the integer
5196 values from `eval-expression-print-format' at the end.
5197
5198 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5199
5200 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5201 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5202
5203 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5206 (hl-line-highlight, global-hl-line-highlight): Use it.
5207 (hl-line-overlay): Use defvar-local.
5208
5209 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5210
5211 * term/ns-win.el: Require dnd.
5212 (global-map): Remove drag items.
5213 (ns-insert-text, ns-set-foreground-at-mouse)
5214 (ns-set-background-at-mouse):
5215 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5216 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5217 New functions.
5218
5219 2013-12-19 Glenn Morris <rgm@gnu.org>
5220
5221 * emacs-lisp/ert.el (ert-select-tests):
5222 Fix string/symbol mixup. (Bug#16121)
5223
5224 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5225
5226 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5227 keywords to their parent.
5228
5229 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5230
5231 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5232 first arg to be a string (fixed dead code), or an operator symbol.
5233 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5234 operator symbols.
5235 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5236 did nothing. Don't respond to `(:after ".")', it will be called
5237 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5238 change anything. Only return indentation for binary operators
5239 when they are hanging. De-dent opening paren when its parent is
5240 `.', otherwise it looks bad when the dot is not at bol or eol
5241 (bug#16182).
5242
5243 2013-12-19 Juri Linkov <juri@jurta.org>
5244
5245 * replace.el (query-replace-read-args): Split a non-negative arg
5246 and a negative arg into separate elements.
5247 (query-replace, query-replace-regexp, replace-string)
5248 (replace-regexp): Add arg `backward'. Doc fix.
5249 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5250 move point to the beginning of the match.
5251 (replace-search, replace-highlight): Use new arg `backward'
5252 to set the value of `isearch-forward'.
5253 (perform-replace): Add arg `backward' and use it to perform
5254 replacement backward. (Bug#14979)
5255
5256 * isearch.el (isearch-query-replace): Use a negative prefix arg
5257 to call `perform-replace' with a non-nil arg `backward'.
5258
5259 2013-12-18 Juri Linkov <juri@jurta.org>
5260
5261 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5262 to the default list. Move `log-edit-show-files' to the end.
5263 Add more available functions to options.
5264 (log-edit): Move default specific settings to
5265 `log-edit-insert-message-template'. Don't move point.
5266 (log-edit-insert-message-template): New function.
5267 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5268 (Bug#16170)
5269
5270 2013-12-18 Juri Linkov <juri@jurta.org>
5271
5272 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5273 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5274
5275 2013-12-18 Leo Liu <sdl.web@gmail.com>
5276
5277 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5278 (Bug#16186)
5279
5280 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5281
5282 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5283 formats for displaying file sizes when the -s switch is given.
5284 Instead, compute a separate format for displaying the size in
5285 blocks, which is displayed in addition to the "regular" size.
5286 When -h is given in addition to -s, produce size in blocks in
5287 human-readable form as well. (Bug#16179)
5288
5289 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5290
5291 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5292 Reference tables with ~\ref{...} instead of only \ref{...}.
5293
5294 2013-12-18 Chong Yidong <cyd@gnu.org>
5295
5296 * cus-edit.el (custom-magic-alist): Fix "themed" description
5297 (Bug#14348).
5298
5299 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5300 is non-nil, do not create a new entry in the symbol's theme-value
5301 or theme-face property; update theme-settings only (Bug#14664).
5302 (custom-available-themes): Doc fix.
5303
5304 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5305 (Bug#15674).
5306
5307 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5308
5309 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5310
5311 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5312 (Bug#13914).
5313
5314 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5315
5316 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5317
5318 2013-12-18 Glenn Morris <rgm@gnu.org>
5319
5320 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5321 * cus-start.el (load-prefer-newer): New option.
5322
5323 2013-12-18 Le Wang <l26wang@gmail.com>
5324
5325 * comint.el (comint-previous-matching-input-from-input):
5326 Retain point (Bug#13404).
5327
5328 2013-12-18 Chong Yidong <cyd@gnu.org>
5329
5330 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5331
5332 2013-12-18 Glenn Morris <rgm@gnu.org>
5333
5334 * mail/emacsbug.el (report-emacs-bug):
5335 Only mention enable-multibyte-characters if non-standard.
5336
5337 2013-12-17 Juri Linkov <juri@jurta.org>
5338
5339 * arc-mode.el (archive-extract-by-file): Check if directory exists
5340 before deletion to not show irrelevant errors if it doesn't exist.
5341
5342 2013-12-17 Juri Linkov <juri@jurta.org>
5343
5344 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5345 (Bug#14751)
5346
5347 * net/eww.el (browse-web): Add alias to `eww'.
5348 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5349 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5350
5351 * net/browse-url.el (browse-url-browser-function): Move `eww'
5352 closer to similar functions.
5353
5354 * startup.el (fancy-startup-screen, fancy-about-screen):
5355 Set browse-url-browser-function to eww-browse-url locally.
5356 (Bug#14751)
5357
5358 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5359
5360 * window.el (window--pixel-to-total): Remove unused `mini' var.
5361 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5362 (split-window): Remove unused `new' var.
5363 (window--display-buffer): Remove unused `frame' and `delta' vars.
5364 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5365 and display-width'.
5366
5367 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5368
5369 * dired.el (dired-mark-pop-up):
5370 * register.el (register-preview): Don't bind
5371 split-height-threshold here since it's now done in
5372 display-buffer-below-selected.
5373
5374 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5375
5376 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5377 xterm-rgb-convert-to-16bit.
5378 (rxvt-register-default-colors): Standardize with
5379 xterm-register-default-colors (Bug#14078).
5380
5381 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5382
5383 * simple.el (kill-region): Pass mark first, then point, so that
5384 kill-append works right (Bug#12819).
5385 (copy-region-as-kill, kill-ring-save): Likewise.
5386
5387 2013-12-17 Leo Liu <sdl.web@gmail.com>
5388
5389 * net/rcirc.el (rcirc-add-face):
5390 * eshell/em-prompt.el (eshell-emit-prompt):
5391 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5392 (Bug#16167)
5393
5394 2013-12-17 Chong Yidong <cyd@gnu.org>
5395
5396 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5397 Suggested by Xue Fuqiao.
5398
5399 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5400
5401 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5402
5403 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * net/shr.el (shr-insert-document): Remove unused var
5406 `shr-preliminary-table-render'.
5407 (shr-rescale-image): Remove unused arg `force'.
5408 (shr-put-image): Update calls accordingly.
5409 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5410
5411 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5412
5413 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5414 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5415 :close-all, to see which indentation method to use (Bug#16116).
5416 (smie-rules-function): Document the method :close-all.
5417
5418 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5419
5420 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5421
5422 * net/eww.el (eww-display-html): If we can't find the anchor we're
5423 looking for, then go to point-min.
5424
5425 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5426
5427 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5428 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5429 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5430 Expand dir too, in case it's relative.
5431
5432 2013-12-16 Juri Linkov <juri@jurta.org>
5433
5434 * desktop.el (desktop-auto-save-timeout): Change default to
5435 `auto-save-timeout'. Doc fix.
5436 (desktop-save): Skip the timestamp in desktop-saved-frameset
5437 when checking for auto-save changes.
5438 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5439 `desktop-auto-save' is called repeatedly by the idle timer.
5440 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5441 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5442 (Bug#15331)
5443
5444 2013-12-16 Juri Linkov <juri@jurta.org>
5445
5446 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5447 (Bug#16035)
5448 (isearch-pre-command-hook): Check `this-command' for symbolp.
5449
5450 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5453
5454 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5455
5456 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5457 (cfengine3--current-function): Bring in the current-function
5458 functionality from `cfengine3--current-word'.
5459 (cfengine3-completion-function): Bring in the
5460 bounds-of-current-word functionality from
5461 `cfengine3--current-word'.
5462
5463 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5464
5465 * window.el (display-buffer-below-selected):
5466 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5467
5468 2013-12-16 Leo Liu <sdl.web@gmail.com>
5469
5470 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5471 Remove NOMSG arg and all uses changed.
5472
5473 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5476 (cua--deactivate-rectangle): Don't deactivate the mark.
5477 (cua-set-rectangle-mark): Don't set mark-active since
5478 cua--activate-rectangle already does it for us.
5479 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5480 non-rectangular region.
5481
5482 * emulation/cua-base.el (cua-repeat-replace-region):
5483 Use with-current-buffer.
5484
5485 * net/gnutls.el: Use cl-lib.
5486 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5487
5488 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5489
5490 * emacs-lisp/package.el (package-built-in-p): Support both
5491 built-in and the package.el converted package descriptions.
5492 (package-show-package-list): Allow keywords.
5493 (package-keyword-button-action): Use it instead of
5494 `finder-list-matches'.
5495 (package-menu-filter-interactive): Interactive filtering (by
5496 keyword) function.
5497 (package-menu--generate): Support keywords and change keymappings
5498 and headers when they are given.
5499 (package--has-keyword-p): Helper function.
5500 (package-menu--refresh): Use it.
5501 (package--mapc): Helper function.
5502 (package-all-keywords): Use it.
5503 (package-menu-mode-map): Set up menu items and keybindings to
5504 provide a filtering UI.
5505
5506 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5507
5508 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5509 the behavior when a certificate fails validation. Defaults to
5510 old behavior: never abort, just warn.
5511 (gnutls-negotiate): Use it.
5512
5513 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5514
5515 * window.el (display-buffer-below-selected): Never split window
5516 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5517
5518 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5519
5520 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5521 (package-buffer-info): Use it (bug#15108).
5522
5523 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 * icomplete.el (icomplete-completions): Make sure the prefix is already
5526 displayed elsewhere before hiding it (bug#16219).
5527
5528 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5529
5530 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5531 open-paren tokens when preceded by a open-paren, too.
5532 (ruby-smie-rules): Handle virtual indentation after open-paren
5533 tokens specially. If there is code between it and eol, return the
5534 column where is starts (Bug#16118).
5535
5536 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5537
5538 * progmodes/cfengine.el: Fix `add-hook' doc.
5539 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5540 (cfengine3--current-word): Fix parameters.
5541 (cfengine3-make-syntax-cache): Simplify further.
5542 (cfengine3-completion-function, cfengine3--current-function):
5543 Use `assq' for symbols.
5544 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5545
5546 2013-12-13 Glenn Morris <rgm@gnu.org>
5547
5548 * loadup.el (load-path): Warn if site-load or site-init changes it.
5549 No more need to reset it when bootstrapping.
5550
5551 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5552
5553 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5554 locations for cf-promises.
5555 (cfengine-mode-syntax-functions-regex): New caching variable.
5556 (cfengine3-fallback-syntax): Fallback syntax for cases where
5557 cf-promises doesn't run.
5558 (cfengine3--current-word): Reimplement using
5559 `cfengine-mode-syntax-functions-regex'.
5560 (cfengine3-completion-function, cfengine3--current-function):
5561 Use `cfengine3-make-syntax-cache' directly.
5562 (cfengine3-clear-syntax-cache): New function.
5563 (cfengine3-make-syntax-cache): Simplify and create
5564 `cfengine-mode-syntax-functions-regex' on demand.
5565 (cfengine3-format-function-docstring): Don't call
5566 `cfengine3-make-syntax-cache' explicitly.
5567
5568 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5569
5570 Fix windmove-find-other-window broken after pixelwise resizing
5571 (Bug#16017).
5572 * windmove.el (windmove-other-window-loc): Revert change from
5573 2013-12-04.
5574 (windmove-find-other-window): Call window-in-direction.
5575 * window.el (window-in-direction): New arguments SIGN, WRAP and
5576 MINI to emulate original windmove-find-other-window behavior.
5577
5578 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5579
5580 * simple.el (blink-matching--overlay): New variable.
5581 (blink-matching-open): Instead of moving point, highlight the
5582 matching paren with an overlay
5583 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5584
5585 * faces.el (paren-showing-faces, show-paren-match)
5586 (show-paren-mismatch): Move from paren.el.
5587
5588 2013-12-13 Leo Liu <sdl.web@gmail.com>
5589
5590 * indent.el (indent-region): Disable progress reporter in
5591 minibuffer. (Bug#16108)
5592
5593 * bindings.el (visual-order-cursor-movement): Fix version.
5594
5595 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5596
5597 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5598 Also match after beginning of line.
5599 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5600 files. Thanks to Russell Sim. (Bug#15378)
5601
5602 2013-12-13 Juri Linkov <juri@jurta.org>
5603
5604 * simple.el <Keypad support>: Remove key bindings duplicated
5605 with bindings.el. (Bug#14397)
5606
5607 2013-12-13 Juri Linkov <juri@jurta.org>
5608
5609 * comint.el (comint-mode-map): Replace `delete-char' with
5610 `delete-forward-char'. (Bug#16109)
5611
5612 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5613
5614 * progmodes/python.el (python-indent-calculate-indentation):
5615 Fix de-denters cornercase. (Bug#15731)
5616
5617 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5620 (advice--make): Pay attention to `depth'.
5621 (advice--make-1): Don't autoload commands eagerly.
5622 * emacs-lisp/elp.el (elp-instrument-function):
5623 * emacs-lisp/trace.el (trace-function-internal):
5624 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5625
5626 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5627
5628 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5629
5630 * term/w32-win.el (w32-handle-dropped-file):
5631 * startup.el (normal-top-level):
5632 * net/browse-url.el (browse-url-file-url):
5633 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5634 decode file names using 'utf-8' rather than
5635 file-name-coding-system.
5636
5637 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5638
5639 * progmodes/python.el (python-indent-context)
5640 (python-indent-calculate-indentation): Fix auto-identation
5641 behavior for comment blocks. (Bug#15916)
5642
5643 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5644
5645 * progmodes/python.el (python-indent-calculate-indentation):
5646 When determining indentation, don't treat "return", "pass", etc., as
5647 operators when they are just string constituents. (Bug#15812)
5648
5649 2013-12-12 Juri Linkov <juri@jurta.org>
5650
5651 * uniquify.el (uniquify-buffer-name-style): Change default to
5652 `post-forward-angle-brackets'.
5653
5654 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5655 `uniquify'. Change default to `post-forward-angle-brackets'.
5656
5657 2013-12-11 Glenn Morris <rgm@gnu.org>
5658
5659 * emacs-lisp/package.el (finder-list-matches):
5660 Autoload rather than falsely declaring.
5661
5662 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5663
5664 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5665 (eww-mode-map): Use them.
5666
5667 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5668
5669 * window.el (display-buffer-in-side-window): Fix doc-string
5670 (Bug#16115).
5671
5672 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5673
5674 * vc/vc-git.el: Silence byte-compiler warnings.
5675 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5676 (log-edit-set-header): Declare.
5677
5678 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5679
5680 * Makefile.in (custom-deps, finder-data): Run output file names
5681 through unmsys--file-name. (Bug#16099)
5682
5683 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5686 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5687
5688 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5689 instead of deleting the selection "by hand" (bug#16098).
5690 Rely on insert-for-yank to yank rectangles.
5691 (cua-highlight-region-shift-only): Mark obsolete.
5692 (cua-mode): Don't enable/disable transient-mark-mode,
5693 shift-select-mode (cua-mode works both with and without them), and
5694 pc-selection-mode (obsolete).
5695 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5696 (cua--deactivate-rectangle): Deactivate it.
5697
5698 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5699 (delete-selection-helper): Make sure yank starts at the top of the
5700 deleted region.
5701 (minibuffer-keyboard-quit): Use region-active-p.
5702
5703 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5704
5705 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5706 to `delete' (bug#16109).
5707
5708 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5709
5710 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5711 info manual and show keybindings and set `:group' keyword.
5712
5713 2013-12-11 Juri Linkov <juri@jurta.org>
5714
5715 * delsel.el (delete-active-region): Let-bind `this-command'
5716 to prevent `kill-region' from changing its original value.
5717 (delete-selection-helper): Handle `overwrite-mode' for the type
5718 `kill' exactly the same way as for the type `t'.
5719 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5720 Support more commands. (Bug#13312)
5721
5722 2013-12-11 Juri Linkov <juri@jurta.org>
5723
5724 * bindings.el: Map kp keys to non-kp keys systematically
5725 with basic modifiers control, meta and shift. (Bug#14397)
5726
5727 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5728
5729 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5730 "Close browser" menu items. Fix wrong function of "List
5731 bookmarks".
5732
5733 2013-12-11 Juri Linkov <juri@jurta.org>
5734
5735 * misearch.el (multi-isearch-buffers): Set the value of
5736 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5737 arg of isearch-forward to t.
5738 (multi-isearch-buffers-regexp): Set the value of
5739 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5740 arg of isearch-forward-regexp to t.
5741 (multi-isearch-files): Set the value of
5742 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5743 arg of isearch-forward to t.
5744 (multi-isearch-files-regexp): Set the value of
5745 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5746 arg of isearch-forward-regexp to t. (Bug#16035)
5747
5748 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5749 arg of isearch-forward to t.
5750 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5751 arg of isearch-forward-regexp to t.
5752 (dired-isearch-filter-filenames): Remove unnecessary check for
5753 `dired-isearch-filenames'.
5754
5755 * comint.el (comint-history-isearch-backward):
5756 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5757 (comint-history-isearch-backward-regexp):
5758 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5759
5760 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5761
5762 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5763 unmsys--file-name. (Bug#16099)
5764
5765 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5766
5767 * emacs-lisp/package.el (package-keyword-button-action):
5768 Remove finder.el require dependency.
5769
5770 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5771
5772 * emacs-lisp/package.el: Require finder.el.
5773 (describe-package-1): Add keyword buttons.
5774 (package-make-button): New convenience function.
5775 (package-keyword-button-action): Keyword button action using
5776 `finder-list-matches'.
5777
5778 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5779
5780 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5781 last commit.
5782
5783 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5784
5785 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5786 symlinked files.
5787
5788 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5789
5790 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5791 after the end of a percent literal.
5792
5793 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5794
5795 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5796 Handle caret-delimited strings (Bug#16079).
5797
5798 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5799
5800 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5801 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5802 `ruby-parse-partial' (Bug#16078).
5803
5804 2013-12-09 Leo Liu <sdl.web@gmail.com>
5805
5806 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5807
5808 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5809
5810 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5811 (js-switch-indent-offset): New option.
5812 (js--proper-indentation): Use it. And handle the case when
5813 "default" is actually a key in an object literal.
5814 (js--same-line): New function.
5815 (js--multi-line-declaration-indentation): Use it.
5816 (js--indent-in-array-comp, js--array-comp-indentation):
5817 New functions.
5818 (js--proper-indentation): Use them, to handle array comprehension
5819 continuations.
5820
5821 2013-12-08 Leo Liu <sdl.web@gmail.com>
5822
5823 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5824 (flymake-make-overlay): Remove arg MOUSE-FACE.
5825 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5826
5827 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5830 New function.
5831 (redisplay-highlight-region-function): Use it.
5832
5833 * emulation/cua-base.el (cua--explicit-region-start)
5834 (cua--last-region-shifted): Remove.
5835 (cua--deactivate): Use deactivate-mark.
5836 (cua--pre-command-handler-1): Don't handle shift-selection.
5837 (cua--post-command-handler-1): Don't change transient-mark-mode.
5838 (cua--select-keymaps): Use region-active-p rather than
5839 cua--explicit-region-start or cua--last-region-shifted.
5840 (cua-mode): Enable shift-select-mode.
5841
5842 2013-12-08 Leo Liu <sdl.web@gmail.com>
5843
5844 * progmodes/flymake.el (flymake-popup-current-error-menu):
5845 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5846 (flymake-posn-at-point-as-event, flymake-popup-menu)
5847 (flymake-make-emacs-menu): Remove. (Bug#16077)
5848
5849 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5850
5851 * rect.el (rectangle-mark-mode): Activate mark even if
5852 transient-mark-mode is off (bug#16066).
5853 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5854 is > mark and at bolp.
5855
5856 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5857 (region-extract-function): Use it.
5858 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5859 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5860 Delete functions.
5861 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5862 kill-ring-save, kill-region, delete-char, delete-forward-char.
5863 Ignore self-insert-iso.
5864
5865 * emulation/cua-gmrk.el (cua--init-global-mark):
5866 Ignore `self-insert-iso'.
5867
5868 * emulation/cua-base.el (cua--prefix-copy-handler)
5869 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5870 checking cua--rectangle.
5871 (cua-delete-region): Use region-extract-function.
5872 (cua-replace-region): Delete function.
5873 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5874 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5875 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5876 (cua--init-keymaps): Don't remap delete-selection commands.
5877 (cua-mode): Use delete-selection-mode instead of rolling our own
5878 (bug#16085).
5879
5880 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5881 Obey region-extract-function.
5882
5883 Make registers and delete-selection-mode work on rectangles.
5884 * register.el (describe-register-1): Don't modify the register's value.
5885 (copy-to-register): Obey region-extract-function.
5886 * delsel.el (delete-active-region): Obey region-extract-function.
5887
5888 2013-12-08 Leo Liu <sdl.web@gmail.com>
5889
5890 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5891 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5892 (flymake-compilation-prevents-syntax-check)
5893 (flymake-start-syntax-check-on-newline)
5894 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5895 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5896 (flymake-xml-program, flymake-master-file-dirs)
5897 (flymake-master-file-count-limit)
5898 (flymake-allowed-file-name-masks): Relocate.
5899 (flymake-makehash, flymake-float-time)
5900 (flymake-replace-regexp-in-string, flymake-split-string)
5901 (flymake-get-temp-dir): Remove.
5902 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5903 (flymake-current-row, flymake-selected-frame)
5904 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5905 related functions. (Bug#16077)
5906
5907 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5908
5909 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5910
5911 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5912
5913 * help-fns.el (describe-function-1): Use new advice-* functions
5914 rather than old ad-* functions. Fix function type description and
5915 source links for advised functions and subrs.
5916
5917 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5918
5919 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5920
5921 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5922
5923 * progmodes/compile.el (compilation-start):
5924 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5925
5926 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5927 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5928
5929 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5930
5931 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5932 Touch up the last change.
5933
5934 2013-12-06 Leo Liu <sdl.web@gmail.com>
5935
5936 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5937 (inferior-octave-startup): Always use "octave> " for prompt.
5938 (octave-goto-function-definition)
5939 (octave-sync-function-file-names)
5940 (octave-find-definition-default-filename): Remove redundant backquotes.
5941
5942 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5943
5944 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5945 syntax for `?'.
5946 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5947 where appropriate already.
5948 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5949 end of method names (Bug#15874).
5950
5951 2013-12-06 Juri Linkov <juri@jurta.org>
5952
5953 * isearch.el (isearch--saved-overriding-local-map):
5954 New internal variable.
5955 (isearch-mode): Set it to the initial value of
5956 `overriding-terminal-local-map'.
5957 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5958 with `isearch--saved-overriding-local-map'. (Bug#16035)
5959
5960 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5961
5962 * progmodes/octave.el (inferior-octave-completion-table):
5963 Turn back into function, use `completion-table-with-cache'
5964 (Bug#11906). Update all references.
5965
5966 * minibuffer.el (completion-table-with-cache): New function.
5967
5968 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5969
5970 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5971
5972 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5973
5974 * net/eww.el (eww-current-source): New variable to store page
5975 source.
5976 (eww-display-html, eww-mode, eww-save-history)
5977 (eww-restore-history): Use it.
5978 (eww-view-source): New command to view page source.
5979 Opportunistically uses `html-mode' to highlight the buffer.
5980 (eww-mode-map): Install it.
5981
5982 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5983
5984 * net/dbus.el (dbus-unregister-service)
5985 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5986 Fix docstring.
5987 (dbus-unregister-service): Skip :serial entries in
5988 `dbus-registered-objects-table'.
5989 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5990
5991 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5992
5993 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5994 around keywords with extra `split-string' argument.
5995
5996 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5997
5998 * windmove.el (windmove-other-window-loc): Handle navigation
5999 between windows (excluding the minibuffer window - Bug#16017).
6000
6001 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6002
6003 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6004 in D-Bus type syntax.
6005 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6006 preserve unibyte strings. (Bug#16048)
6007
6008 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6011 Call force-mode-line-update is the proper buffer (bug#16042).
6012
6013 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6014
6015 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6016 `log-edit-remember-comment', make argument optional. Adjust all
6017 callers.
6018 (log-edit-mode): Add `log-edit-remember-comment' to
6019 `kill-buffer-hook' locally.
6020 (log-edit-kill-buffer): Don't remember comment explicitly since
6021 the buffer is killed anyway.
6022
6023 2013-12-04 Juri Linkov <juri@jurta.org>
6024
6025 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6026 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6027
6028 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6029
6030 * notifications.el (notifications-close-notification): Call the
6031 D-Bus method with ID being a `:uint32'. (Bug#16030)
6032
6033 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6034
6035 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6036
6037 2013-12-03 Juri Linkov <juri@jurta.org>
6038
6039 * progmodes/compile.el (compilation-start): Rename window alist
6040 entry `no-display-ok' to `allow-no-window'.
6041
6042 * simple.el (shell-command): Add window alist entry
6043 `allow-no-window' to `display-buffer'.
6044 (async-shell-command): Doc fix.
6045
6046 * window.el (display-buffer-no-window): New action function.
6047 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6048
6049 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6050
6051 * vc/log-edit.el (log-edit-set-header): Extract from
6052 `log-edit-toggle-header'.
6053 (log-edit-extract-headers): Separate the summary, when extracted
6054 from header, from the rest of the message with an empty line.
6055
6056 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6057 line, if present, to the Summary header.
6058
6059 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6062 in current-buffer (bug#16029).
6063
6064 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6065
6066 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6067 (debugger-mode-map): Bind it.
6068 (debugger--backtrace-base): New function.
6069 (debugger-eval-expression): Use it.
6070 (debugger-frame-number): Skip local vars when present.
6071 (debugger--locals-visible-p, debugger--insert-locals)
6072 (debugger--show-locals, debugger--hide-locals): New functions.
6073
6074 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6075
6076 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6077 "LC_ALL".
6078 (tramp-get-remote-locale): New defun.
6079 (tramp-open-connection-setup-interactive-shell): Use it.
6080
6081 2013-12-02 Leo Liu <sdl.web@gmail.com>
6082
6083 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6084
6085 * progmodes/sh-script.el (sh-shell-process):
6086 * progmodes/octave.el (inferior-octave-process-live-p):
6087 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6088 (gdb-inferior-io-sentinel):
6089 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6090
6091 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6092
6093 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6094 `save-selected-window' to `log-edit-hide-buf'. This makes
6095 `log-edit-show-files' idempotent.
6096 (log-edit-show-files): Mark the new window as dedicated.
6097
6098 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6099
6100 * vc/log-edit.el (log-edit-mode-map): Add binding for
6101 `log-edit-kill-biffer'.
6102 (log-edit-hide-buf): Add a FIXME comment.
6103 (log-edit-add-new-comment): New function, extracted from
6104 `log-edit-done'.
6105 (log-edit-done, log-edit-add-to-changelog): Use it.
6106 (log-edit-kill-buffer): New command.
6107
6108 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6109
6110 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6111 instead of killing the buffer.
6112
6113 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6116
6117 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6118
6119 * net/eww.el (eww-form-checkbox-selected-symbol)
6120 (eww-form-checkbox-symbol): New customizable variable.
6121 (eww-form-checkbox, eww-toggle-checkbox):
6122 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6123
6124 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6125 (shr--get-media-pref, shr--extract-best-source): New function.
6126 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6127 no :src tag was specified.
6128
6129 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6130 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6131 Use \\` to match beginning of string instead of ^.
6132 (eww-browse-with-external-browser): Provide optional URL parameter.
6133 (eww-render): Set `eww-current-title' back to "".
6134
6135 * net/shr.el (shr-tag-video): Display content for video if no
6136 poster is available.
6137 (shr-tag-audio): Add support for <audio> tag.
6138
6139 * net/eww.el (eww-text-input-types): New const.
6140 (eww-process-text-input): Treat input types in
6141 `eww-text-input-types' as text.
6142
6143 * net/shr.el (shr-tag-table): Fix comment typo.
6144
6145 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6146
6147 * net/eww.el (eww-follow-link): New command to avoid reloading
6148 pages when we follow #target links (bug#15243).
6149 (eww-quit): Special mode buffers shouldn't query before exiting.
6150
6151 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6152
6153 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6154 forms.
6155
6156 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6157
6158 * net/eww.el (eww-restore-history): Update the window title after
6159 moving in the history.
6160 (eww-current-dom): New variable used to save the current DOM.
6161
6162 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6163
6164 * vc/log-edit.el (log-edit-mode-map): Add binding for
6165 `log-edit-beginning-of-line'.
6166 (log-edit-setup-add-author): New user option.
6167 (log-edit-beginning-of-line): New command.
6168 (log-edit): Move major mode call above the contents setup so that
6169 the local variable values are already applied.
6170 (log-edit): Only insert "Author: " when
6171 `log-edit-setup-add-author' is non-nil.
6172 (log-edit): When SETUP is non-nil, position point after ": "
6173 instead of point-min.
6174
6175 2013-12-01 Glenn Morris <rgm@gnu.org>
6176
6177 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6178
6179 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6180
6181 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6182 redisplay to make sure the initial frame gets a chance to become
6183 visible. (Bug#16014)
6184
6185 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6186
6187 Support resizing frames and windows pixelwise.
6188 * cus-start.el (frame-resize-pixelwise)
6189 (window-resize-pixelwise): New entries.
6190 * emacs-lisp/debug.el (debug): Use window-total-height instead
6191 of window-total-size.
6192 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6193 * help.el (describe-bindings-internal): Use help-buffer as
6194 argument for with-help-window.
6195 (temp-buffer-max-width): New option.
6196 (resize-temp-buffer-window, help-window-setup)
6197 (with-help-window): Rewrite.
6198 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6199 dragging dividers.
6200 * window.el (frame-char-size, window-min-pixel-height)
6201 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6202 (window-min-pixel-width, window-safe-min-pixel-size)
6203 (window-combination-p, window-safe-min-size)
6204 (window-resizable-p, window--size-to-pixel)
6205 (window--pixel-to-size, window--resize-apply-p): New functions.
6206 (window-safe-min-height): Fix doc-string.
6207 (window-size, window-min-size, window--min-size-1)
6208 (window-sizable, window-sizable-p, window--min-delta-1)
6209 (window-min-delta, window--max-delta-1, window-max-delta)
6210 (window--resizable, window--resizable-p, window-resizable)
6211 (window-full-height-p, window-full-width-p, window-at-side-p)
6212 (window--in-direction-2, window-in-direction)
6213 (window--resize-reset-1, window--resize-mini-window)
6214 (window-resize, window-resize-no-error)
6215 (window--resize-child-windows-normal)
6216 (window--resize-child-windows, window--resize-siblings)
6217 (window--resize-this-window, window--resize-root-window)
6218 (window--resize-root-window-vertically)
6219 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6220 (maximize-window, minimize-window, delete-window)
6221 (quit-restore-window, window-split-min-size, split-window)
6222 (balance-windows-2, balance-windows)
6223 (balance-windows-area-adjust, balance-windows-area)
6224 (window--state-get-1, window-state-get, window--state-put-1)
6225 (window--state-put-2, window-state-put)
6226 (display-buffer-record-window, window--display-buffer):
6227 Make functions handle pixelwise sizing of windows.
6228 (display-buffer--action-function-custom-type)
6229 (display-buffer-fallback-action):
6230 Add display-buffer-in-previous-window.
6231 (display-buffer-use-some-window): Resize window to height it had
6232 before.
6233 (fit-window-to-buffer-horizontally): New option.
6234 (fit-frame-to-buffer): Describe new values.
6235 (fit-frame-to-buffer-bottom-margin): Replace with
6236 fit-frame-to-buffer-margins.
6237 (window--sanitize-margin): New function.
6238 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6239 using window-text-pixel-size.
6240
6241 2013-11-30 Glenn Morris <rgm@gnu.org>
6242
6243 * emacs-lisp/bytecomp.el (byte-compile-form):
6244 Make the `interactive-only' warning like the `obsolete' one.
6245 * comint.el (comint-run):
6246 * files.el (insert-file-literally, insert-file):
6247 * replace.el (replace-string, replace-regexp):
6248 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6249 (goto-line, insert-buffer, next-line, previous-line):
6250 Tweak `interactive-only' spec.
6251
6252 Stop keeping (most) generated cedet grammar files in the repository.
6253 * Makefile.in (semantic): New.
6254 (compile-main): Depend on semantic.
6255
6256 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6257
6258 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6259 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6260
6261 * uniquify.el (uniquify-buffer-name-style): Change default.
6262
6263 * loadup.el: Preload "uniquify".
6264
6265 * time.el (display-time-update): Update all mode lines (bug#15999).
6266
6267 * electric.el (electric-indent-mode): Enable by default.
6268 * loadup.el: Preload "electric".
6269
6270 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6271
6272 * emacs-lisp/helpers.el (string-empty-p): New function.
6273 (string-blank-p): New function.
6274
6275 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6276
6277 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6278 (Bug#14029).
6279
6280 2013-11-29 Andreas Politz <politza@fh-trier.de>
6281 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6282 allow non-lambda lists as functions.
6283 (imenu--in-alist): Don't recurse into non-subalists.
6284 (imenu): Don't pass function itself as an argument (Bug#14029).
6285
6286 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6287
6288 * progmodes/python.el (python-mode-map): Remove binding for ":".
6289 (python-indent-electric-colon): Remove command.
6290 (python-indent-post-self-insert-function): Integrate the previous code
6291 of python-indent-electric-colon. Make it conditional on
6292 electric-indent-mode.
6293 (python-mode): Add ?: to electric-indent-chars.
6294 Move python-indent-post-self-insert-function to the end of
6295 post-self-insert-hook.
6296
6297 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * doc-view.el (doc-view-goto-page): Update mode-line.
6300
6301 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6302
6303 2013-11-27 Glenn Morris <rgm@gnu.org>
6304
6305 * international/charprop.el, international/uni-bidi.el:
6306 * international/uni-category.el, international/uni-combining.el:
6307 * international/uni-comment.el, international/uni-decimal.el:
6308 * international/uni-decomposition.el, international/uni-digit.el:
6309 * international/uni-lowercase.el, international/uni-mirrored.el:
6310 * international/uni-name.el, international/uni-numeric.el:
6311 * international/uni-old-name.el, international/uni-titlecase.el:
6312 * international/uni-uppercase.el:
6313 Remove generated files from VCS repository.
6314
6315 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6316
6317 * filenotify.el (file-notify-add-watch): Don't special-case
6318 w32notify when computing the directory to watch.
6319
6320 2013-11-27 Glenn Morris <rgm@gnu.org>
6321
6322 Make bootstrap without generated uni-*.el files possible again.
6323 * loadup.el: Update command-line-args checking for unidata-gen.
6324 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6325 * composite.el, international/characters.el:
6326 Handle unicode tables being undefined.
6327
6328 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6329 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6330 (compile-main): Depend on leim rule.
6331 (leim): New rule.
6332 * loadup.el: Move leim-list.el to leim/ subdirectory.
6333 * startup.el (normal-top-level): No more leim directory.
6334 * international/ja-dic-cnv.el (skkdic-convert):
6335 Disable version-control and autoloads in output files.
6336 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6337 Disable version-control and autoloads in output files.
6338 * leim/quail: Move here from ../leim.
6339 * leim/quail/hangul.el (hangul-input-method-activate):
6340 Add autoload cookie.
6341 (generated-autoload-load-name): Set file-local value.
6342 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6343 (generated-autoload-load-name): Set file-local value.
6344
6345 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6346
6347 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6348 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6349 (eww-quit): Ask confirmation before quitting eww.
6350
6351 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6352
6353 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6354 reading output from Diff on MS-Windows and MS-DOS.
6355
6356 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6357
6358 * emacs-lisp/helpers.el (string-reverse): New function.
6359
6360 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6361
6362 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6363 names on MS Windows, like "/[::1]:".
6364
6365 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6366 SWITCHES.
6367
6368 2013-11-26 Glenn Morris <rgm@gnu.org>
6369
6370 * progmodes/python.el (python-indent-guess-indent-offset):
6371 Avoid corner-case error. (Bug#15975)
6372
6373 Preload leim-list.el. (Bug#4789)
6374 * loadup.el: Load leim-list.el when found.
6375 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6376
6377 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6378
6379 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6380
6381 * emacs-lisp/helpers.el (string-join): New function.
6382
6383 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6384
6385 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6386 Mark as obsolete and replace it with a symbol property.
6387 (byte-compile-form): Use new 'interactive-only property.
6388 * comint.el, files.el, replace.el, simple.el:
6389 Apply new 'interactive-only properly.
6390
6391 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6392
6393 * window.el (display-buffer-at-bottom): Make sure that
6394 split-window-sensibly creates the new window on bottom
6395 (Bug#15961).
6396
6397 2013-11-23 David Kastrup <dak@gnu.org>
6398
6399 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6400 on the conflict markers when available.
6401 (smerge--get-marker): New function.
6402 (smerge-end-re, smerge-base-re): Add subgroup.
6403
6404 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * frame.el (handle-focus-in, handle-focus-out): Add missing
6407 interactive spec.
6408
6409 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6410
6411 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6412 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6413
6414 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6415
6416 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6417 (gomoku--last-pos): New var.
6418 (gomoku--intangible-chars): New const.
6419 (gomoku--intangible): New function.
6420 (gomoku-mode): Use it. Derive from special-mode.
6421 (gomoku-move-up): Adjust line count.
6422 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6423 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6424 Simplify accordingly.
6425
6426 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6427 Remove blink-cursor code.
6428 (blink-cursor-timer-function, blink-cursor-suspend):
6429 Don't special-case GUIs.
6430 (blink-cursor-mode): Use focus-in/out-hook.
6431
6432 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6433
6434 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6435 work when annotation is invisible (Bug#13886).
6436
6437 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6438
6439 * json.el (json-alist-p): Only return non-nil if the alist has
6440 simple keys (Bug#13518).
6441
6442 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6443
6444 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6445 when control-statement is the first statement in a buffer (Bug#15956).
6446
6447 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6448
6449 * imenu.el (imenu-generic-skip-comments-and-strings):
6450 New option (Bug#15560).
6451 (imenu--generic-function): Use it.
6452
6453 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6454
6455 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6456 (Bug#13898)
6457
6458 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6459
6460 * emacs-lisp/helpers.el: Add some string helpers.
6461 (string-trim-left): Removes leading whitespace.
6462 (string-trim-right): Removes trailing whitespace.
6463 (string-trim): Removes leading and trailing whitespace.
6464
6465 * subr.el (string-suffix-p): New function.
6466
6467 2013-11-23 Glenn Morris <rgm@gnu.org>
6468
6469 * progmodes/python.el (python-shell-send-file):
6470 Add option to delete file when done. (Bug#15647)
6471 (python-shell-send-string, python-shell-send-region): Use it.
6472
6473 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6474
6475 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6476 to set buffer-read-only to t, never to nil. (Bug#15938)
6477
6478 * textmodes/tex-mode.el (latex-noindent-environments):
6479 Add safe-local-variable property. (Bug#15936)
6480
6481 2013-11-23 Glenn Morris <rgm@gnu.org>
6482
6483 * textmodes/enriched.el (enriched-mode): Doc fix.
6484 * emacs-lisp/authors.el (authors-renamed-files-alist):
6485 Add enriched.doc -> enriched.txt.
6486
6487 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6488
6489 2013-11-22 Leo Liu <sdl.web@gmail.com>
6490
6491 * progmodes/octave.el (inferior-octave-startup): Spit out error
6492 message.
6493
6494 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6495
6496 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6497 Improve docstring.
6498 Add :version.
6499 (ruby-encoding-magic-comment-style): Add :version.
6500
6501 2013-11-22 Leo Liu <sdl.web@gmail.com>
6502
6503 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6504 (Bug#15076)
6505 (octave-help-mode): Adapt to change to help-mode-finish to use
6506 derived-mode-p on 2013-09-17.
6507 (inferior-octave-prompt): Also match octave-gui.
6508 (octave-kill-process): Don't ask twice. (Bug#10564)
6509
6510 2013-11-22 Leo Liu <sdl.web@gmail.com>
6511
6512 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6513 (inferior-octave-startup, inferior-octave-check-process)
6514 (inferior-octave-track-window-width-change)
6515 (octave-completion-at-point, octave-eldoc-function): Use it.
6516 (octave-kill-process): Provide confirmation. (Bug#10564)
6517
6518 2013-11-21 Leo Liu <sdl.web@gmail.com>
6519
6520 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6521 Fix obsolete variable comment-use-global-state.
6522
6523 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6524
6525 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6526 Add `octave-source-file'.
6527 (octave-source-file): New function. (Bug#15935)
6528
6529 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6530
6531 * net/eww.el (eww-local-regex): New variable.
6532 (eww): Use it to detect localhost and similar.
6533
6534 2013-11-21 Leo Liu <sdl.web@gmail.com>
6535
6536 Add completion for command `ag'.
6537 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6538 (pcomplete/ag): New function.
6539 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6540
6541 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6544 (bug#14646).
6545 (make-obsolete): Remove interactive spec.
6546
6547 2013-11-21 Glenn Morris <rgm@gnu.org>
6548
6549 * startup.el (command-line-1): Use path-separator with -L.
6550
6551 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6552
6553 * emacs-lisp/package.el (describe-package-1): Add package archive
6554 to shown fields.
6555
6556 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6557
6558 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6559 Change default to "# encoding: %s" to differentiate it from the
6560 default Ruby encoding comment template.
6561
6562 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6563
6564 * ses.el (ses-mode): Doc fix. (Bug#14748)
6565
6566 2013-11-20 Leo Liu <sdl.web@gmail.com>
6567
6568 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6569
6570 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6571
6572 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6573 when rebase or bisect are in progress.
6574
6575 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6576
6577 * filenotify.el (file-notify-add-watch): Doc fix.
6578
6579 2013-11-19 Leo Liu <sdl.web@gmail.com>
6580
6581 * obsolete/rcompile.el: Mark obsolete.
6582
6583 * progmodes/compile.el (compilation-start)
6584 (compilation-goto-locus, compilation-find-file):
6585 Pass no-display-ok and handle nil value from display-buffer.
6586 (Bug#13594)
6587
6588 * window.el (display-buffer-alist, display-buffer): Document the
6589 new parameter no-display-ok. Return either a window or nil
6590 but never a non-window value.
6591
6592 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * electric.el (electric-indent-mode-map): Remove.
6595 (electric-indent-mode): Change the global-map instead (bug#15915).
6596
6597 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6598 Use add-function.
6599
6600 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * emacs-lisp/nadvice.el (remove-function): Align with
6603 add-function's behavior.
6604
6605 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6606 (gdb--string-regexp): New constant.
6607 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6608 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6609 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6610 submatch 1.
6611 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6612 Adjust use accordingly.
6613 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6614
6615 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6616
6617 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6618 interpolation curlies (Bug#15914).
6619
6620 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6621
6622 * calc/calc.el (calc-context-sensitive-enter): New variable.
6623 (calc-enter): Use `calc-context-sensitive-enter'.
6624
6625 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6626
6627 * progmodes/cfengine.el: Version bump.
6628 (cfengine-cf-promises): New defcustom to locate cf-promises.
6629 (cfengine3-vartypes): Add new "data" type.
6630 (cfengine3--current-word): New function to get current name-like
6631 word or its bounds.
6632 (cfengine3--current-function): New function to look up a CFEngine
6633 function's definition.
6634 (cfengine3-format-function-docstring): New function.
6635 (cfengine3-make-syntax-cache): New function.
6636 (cfengine3-documentation-function): New function: ElDoc glue.
6637 (cfengine3-completion-function): New function: completion glue.
6638 (cfengine3-mode): Set `compile-command',
6639 `eldoc-documentation-function', and add to
6640 `completion-at-point-functions'.
6641
6642 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6643
6644 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6645 `tramp-current-connection'.
6646
6647 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6648
6649 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6650 nil/self/true/false with "end of symbol".
6651
6652 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6653
6654 * subr.el (version-regexp-alist): Fix a typo.
6655
6656 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6657
6658 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6659 "en_US.utf8" and "LC_CTYPE" to "".
6660 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6661 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6662
6663 2013-11-15 Leo Liu <sdl.web@gmail.com>
6664
6665 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6666
6667 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * progmodes/gud.el (ctl-x-map):
6670 Remove C-x SPC binding. (Bug#12342)
6671 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6672
6673 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6674
6675 * subr.el (version-regexp-alist):
6676 Recognize hg, svn and darcs versions as snapshot versions.
6677
6678 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6679 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6680 (ruby--encoding-comment-required-p): Extract from
6681 `ruby-mode-set-encoding'.
6682 (ruby-mode-set-encoding): Add the ability to always insert an
6683 utf-8 encoding comment. Fix and simplify coding comment update
6684 logic.
6685
6686 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6687
6688 * net/tramp-gvfs.el (top): Run init code only when
6689 `tramp-gvfs-enabled' is not nil.
6690 (tramp-gvfs-enabled): Check also :system bus.
6691
6692 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6693
6694 Sync with upstream verilog-mode revision 78e66ba.
6695 * progmodes/verilog-mode.el (verilog-end-of-defun)
6696 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6697 (verilog-get-end-of-defun): Remove unused argument.
6698 (verilog-comment-depth): Remove unused local `e'.
6699 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6700 Don't pass arg to verilog-get-end-of-defun.
6701
6702 2013-11-14 Glenn Morris <rgm@gnu.org>
6703
6704 * obsolete/assoc.el (aget): Prefix dynamic variable.
6705
6706 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6707
6708 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * widget.el, hfy-cmap.el: Remove bogus package version number.
6711
6712 2013-11-13 Glenn Morris <rgm@gnu.org>
6713
6714 * replace.el (replace-eval-replacement):
6715 Try to give more helpful error message. (Bug#15836)
6716
6717 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6718 (archive-7z-update): Avoid custom type mismatches.
6719
6720 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6721
6722 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6723
6724 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6725 address can be empty.
6726
6727 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6728 Accept nil SWITCHES.
6729 (tramp-gvfs-handle-write-region): Implement APPEND.
6730
6731 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6732
6733 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6734 binary "|" operator and closing block args delimiter.
6735 Remove FIXME comment referring to Ruby 1.8-only syntax.
6736 (ruby-smie--implicit-semi-p): Not after "|" operator.
6737 (ruby-smie--closing-pipe-p): New function.
6738 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6739 (ruby-smie-rules): Indent after "|".
6740
6741 2013-11-12 Glenn Morris <rgm@gnu.org>
6742
6743 * ps-print.el (ps-face-attribute-list):
6744 Handle anonymous faces. (Bug#15827)
6745
6746 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6747
6748 * window.el (display-buffer-other-frame): Fix doc-string.
6749 (Bug#15868)
6750
6751 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6754
6755 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6756
6757 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6758 (tramp-sh-handle-file-local-copy): Don't write a message when
6759 saving temporary files.
6760
6761 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6762 both directories are remote.
6763 (tramp-smb-handle-directory-files): Do not return double entries.
6764 Do not expand full file names.
6765 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6766 (tramp-smb-handle-write-region): Implement APPEND.
6767 (tramp-smb-get-stat-capability): Fix a stupid bug.
6768
6769 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6770
6771 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6772
6773 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6774
6775 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6776 throwing error over malformed let/let* (bug#15814).
6777
6778 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * iswitchb.el (iswitchb-mode): Mark obsolete.
6781
6782 2013-11-11 Glenn Morris <rgm@gnu.org>
6783
6784 * international/uni-bidi.el, international/uni-category.el:
6785 * international/uni-name.el, international/uni-numeric.el:
6786 Regenerate for Unicode 6.3.0.
6787
6788 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6789
6790 * net/tramp.el (tramp-methods):
6791 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6792 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6793
6794 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6795
6796 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6797 Force highlighting text after Summary keyword in doc face for rpm.
6798
6799 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6800
6801 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6802 available and the word has no wildcards, append one to the grep pattern.
6803 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6804 (ispell-complete-word): Call `ispell-lookup-words' with the value
6805 independent of `ispell-look-p'.
6806
6807 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6808
6809 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6810 Not after "||".
6811 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6812 their parent.
6813
6814 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6817 (ruby-font-lock-keywords): Use backquote.
6818
6819 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6820
6821 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6822 (ruby-smie--backward-token): Only consider full-string matches.
6823
6824 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6825
6826 * faces.el (describe-face): Add distant-foreground.
6827
6828 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6829
6830 * progmodes/ruby-mode.el: Improve encoding comment handling.
6831 (ruby-encoding-magic-comment-style): New option.
6832 (ruby-custom-encoding-magic-comment-template): New option.
6833 (ruby--insert-coding-comment, ruby--detect-encoding):
6834 New functions extracted from `ruby-mode-set-encoding'.
6835 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6836 to control the style of the auto-inserted encoding comment.
6837
6838 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6839
6840 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6841 Use `smie-backward-sexp' with token argument.
6842
6843 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6844
6845 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6846 Remove instrumentation code.
6847
6848 2013-11-08 Glenn Morris <rgm@gnu.org>
6849
6850 * progmodes/autoconf.el (autoconf-mode):
6851 Tweak comment-start-skip. (Bug#15822)
6852
6853 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6856 at bobp (bug#15826).
6857 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6858
6859 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6860
6861 * man.el (Man-start-calling): New macro, extracted from
6862 Man-getpage-in-background.
6863 (Man-getpage-in-background): Use it.
6864 (Man-update-manpage): New command.
6865 (Man-mode-map): Bind it.
6866
6867 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6868
6869 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6870 of "and", "or", "&&" and "||".
6871 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6872 argument. Prohibit opening curly brace because it could only be a
6873 block opener in that position.
6874 (ruby-smie--forward-token, ruby-smie--backward-token):
6875 Separate "|" from "&" or "*" going after it. That can happen in block
6876 arguments.
6877 (ruby-smie--indent-to-stmt): New function, seeks the end of
6878 previous statement or beginning of buffer.
6879 (ruby-smie-rules): Use it.
6880 (ruby-smie-rules): Check if there's a ":" before a curly block
6881 opener candidate; if there is, it's a hash.
6882
6883 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6884
6885 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6886 (cl--block-wrapper): Fix last accidental change.
6887
6888 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6889
6890 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6891 Instrument, in order to hunt failure on hydra.
6892
6893 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6894
6895 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6896 malformed bindings form (bug#15814).
6897
6898 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6899
6900 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6901 "." compared to " @ ". This incidentally fixes some indentation
6902 examples with "do".
6903 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6904 (ruby-smie-grammar): New tokens: "and" and "or".
6905 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6906 Exclude "and" and "or". Remove "do" in order to work around token
6907 priorities.
6908 (ruby-smie-rules): Add all infix tokens. Handle the case of
6909 beginning-of-buffer.
6910
6911 2013-11-06 Glenn Morris <rgm@gnu.org>
6912
6913 * Makefile.in (setwins_almost, setwins_for_subdirs):
6914 Avoid accidental matches.
6915
6916 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * menu-bar.el (popup-menu): Use key-binding.
6919
6920 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6921
6922 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6923 menus, support also the menus produced by minor modes.
6924 (Bug#15817)
6925
6926 2013-11-06 Leo Liu <sdl.web@gmail.com>
6927
6928 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6929 DISTANCE to bound the search. All uses changed. (Bug#15808)
6930
6931 2013-11-06 Glenn Morris <rgm@gnu.org>
6932
6933 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6934 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6935 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6936
6937 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * electric.el (electric-indent-just-newline): New command.
6940 (electric-indent-mode-map): New keymap.
6941 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6942 Re-add :group which weren't redundant.
6943
6944 * electric.el (electric-indent-local-mode): New minor mode.
6945 (electric-indent-functions-without-reindent): New var.
6946 (electric-indent-post-self-insert-function): Use it.
6947 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6948
6949 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6950
6951 * international/quail.el (quail-help): Be more explicit about the
6952 meaning of the labels shown on the keys. (Bug#15800)
6953
6954 * startup.el (normal-top-level): Load the subdirs.el files before
6955 setting the locale environment. (Bug#15805)
6956
6957 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6960 via arguments so as to get the right ones (bug#15418).
6961
6962 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6963
6964 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6965
6966 Fix problems found while writing a test suite.
6967
6968 * net/tramp-compat.el (tramp-compat-load): New defun.
6969 * net/tramp.el (tramp-handle-load): Use it.
6970
6971 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6972 "(numberp ok-if-already-exists)" correctly.
6973
6974 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6975
6976 * international/characters.el (glyphless-char-display-control):
6977 Add usage note.
6978
6979 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6980
6981 * progmodes/python.el (python-mode):
6982 * progmodes/scheme.el (scheme-mode):
6983 * progmodes/prolog.el (prolog-mode):
6984 * progmodes/ruby-mode.el (ruby-mode):
6985 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6986 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6987
6988 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * rect.el (rectangle--highlight-for-redisplay):
6991 * emacs-lisp/smie.el (smie--next-indent-change):
6992 Use buffer-chars-modified-tick.
6993
6994 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6995
6996 * electric.el (electric-indent-post-self-insert-function):
6997 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6998
6999 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7000
7001 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7002
7003 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7004
7005 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7006 (bug#15786).
7007
7008 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7009
7010 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7011
7012 * progmodes/python.el: Fix up last change.
7013 (python-shell--save-temp-file): New function.
7014 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7015 `string' comes from the current buffer.
7016 (python-shell-send-string-no-output): Remove `msg' arg.
7017 (python--use-fake-loc): New var.
7018 (python-shell-buffer-substring): Obey it. Try to compensate for the
7019 extra coding line added by python-shell--save-temp-file.
7020 (python-shell-send-region): Use python-shell--save-temp-file and
7021 python-shell-send-file directly. Add `nomain' argument.
7022 (python-shell-send-buffer): Use python-shell-send-region.
7023 (python-electric-pair-string-delimiter): New function.
7024 (python-mode): Use it.
7025
7026 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7027
7028 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7029 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7030 environment and decoding all of the default-directory's to here
7031 from command-line.
7032 (command-line): Decode also argv[0].
7033
7034 * loadup.el: Error out if default-directory is a multibyte string
7035 when we are dumping.
7036
7037 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7038
7039 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7040
7041 * emacs-lisp/package.el (package-menu-mode)
7042 (package-menu--print-info, package-menu--archive-predicate):
7043 Add Archive column to package list.
7044
7045 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7046
7047 Fix problems found while writing a test suite.
7048
7049 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7050 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7051 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7052 to nil when running original file name handler. Otherwise,
7053 there are problems with constructs like "$$FOO".
7054
7055 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7056 for `localname'.
7057
7058 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7059
7060 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7061
7062 * subr.el (version<, version<=, version=):
7063 Update docstrings with information for snapshot versions.
7064
7065 * helpers.el: New library for misc helper functions.
7066 (hash-table-keys): New function returning a list of hash keys.
7067 (hash-table-values): New function returning a list of hash values.
7068
7069 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7070
7071 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7072 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7073
7074 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7075
7076 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7077 checking whether point is after a 1-letter word.
7078
7079 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7080
7081 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7082 Don't infloop when expanding region over `multiline' syntax-type that
7083 begins a line (bug#15778).
7084
7085 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7088 Make it into a proper minor mode.
7089 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7090 (rectangle-mark-mode-map): New keymap.
7091 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7092
7093 2013-11-04 Glenn Morris <rgm@gnu.org>
7094
7095 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7096
7097 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7100 (ruby-smie-rules): Use smie-rule-parent instead.
7101
7102 * emacs-lisp/smie.el (smie-rule-parent): Always call
7103 smie-indent-virtual rather than only for hanging tokens.
7104 (smie--next-indent-change): New helper command.
7105
7106 2013-11-03 Glenn Morris <rgm@gnu.org>
7107
7108 * Makefile.in (abs_srcdir): Remove.
7109 (emacs): Unset EMACSLOADPATH.
7110
7111 2013-11-02 Glenn Morris <rgm@gnu.org>
7112
7113 * Makefile.in (EMACS): Use a relative filename.
7114 (abs_top_builddir): Remove.
7115 (custom-deps, finder-data, autoloads): Use --chdir.
7116
7117 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7118
7119 Use relative filenames in TAGS files.
7120 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7121 (lisptagsfiles4, TAGS): Use relative file names.
7122 (TAGS-LISP): Remove.
7123 (maintainer-clean): No more TAGS-LISP file.
7124
7125 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7126 (lisptagsfiles4): Use absolute filenames again.
7127 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7128 Remove all *loaddefs files, not just the first. Remove esh-groups.
7129 (maintainer-clean): Delete TAGS, TAGS-LISP.
7130
7131 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7132
7133 * emacs-lisp/package.el (package-version-join):
7134 Recognize snapshot versions.
7135
7136 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7137
7138 * subr.el (version-regexp-alist): Add support for snapshot versions.
7139
7140 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7141
7142 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7143 New function, replacement for `smie-rule-parent' for when we want to
7144 skip over our direct parent if it's an assignment token..
7145 (ruby-smie-rules): Use it.
7146
7147 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7148
7149 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7150 unconditionally. Remove now unnecessary forward declarations.
7151 Remove XEmacs-specific setup.
7152 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7153 (ruby-font-lock-syntactic-keywords)
7154 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7155 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7156 (ruby-here-doc-end-syntax): Remove.
7157 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7158 defined as function.
7159
7160 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7161
7162 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7163
7164 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7165
7166 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7167 table and abbrev table, `define-derived-mode' does that for us
7168 anyway.
7169
7170 2013-11-01 Glenn Morris <rgm@gnu.org>
7171
7172 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7173 files is atomic for some time, so no parallel compilation issues).
7174
7175 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7176
7177 * faces.el (face-x-resources): Add :distant-foreground.
7178 (region): Use :distant-foreground for gtk and ns.
7179
7180 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7181
7182 Allow multiple bibliographies when BibLaTeX is used rather than
7183 BibTeX.
7184 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7185 (reftex-locate-bibliography-files): Us it.
7186
7187 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7188
7189 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7190 allow comments in pbm files.
7191
7192 * term/w32-win.el (dynamic-library-alist): Support newer versions
7193 of libjpeg starting with v7: look only for the DLL from the
7194 version against which Emacs was built.
7195 Support versions of libpng beyond 1.4.x.
7196 Support libtiff v4.x.
7197
7198 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7199
7200 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7201 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7202 Add property :safe.
7203 (ruby-deep-arglist): Add property :type.
7204
7205 2013-10-31 Glenn Morris <rgm@gnu.org>
7206
7207 * Makefile.in (custom-deps, finder-data): No need to setq the target
7208 variables, we are in the right directory and the defaults work fine.
7209
7210 2013-10-30 Glenn Morris <rgm@gnu.org>
7211
7212 * Makefile.in (autoloads): Do not use abs_lisp.
7213
7214 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7215 `newline' does not respect `standard-output', so use `princ'.
7216
7217 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7218
7219 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7220 * buff-menu.el (Buffer-menu--unmark): New function.
7221 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7222
7223 2013-10-30 Glenn Morris <rgm@gnu.org>
7224
7225 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7226
7227 * emacs-lisp/package.el (lm-homepage): Declare.
7228
7229 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7230 Fix doc typos.
7231
7232 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7233
7234 * Makefile.in (finder-data, autoloads, update-subdirs)
7235 (compile-main, compile-clean, compile-always, bootstrap-clean):
7236 Check return value of cd.
7237 (compile-calc): Remove.
7238
7239 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7242
7243 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7244 (byte-compile-and-folded): New function.
7245 (=, <, >, <=, >=): Use it.
7246
7247 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7248 (path-separator, null-device, buffer-file-coding-system)
7249 (lpr-headers-switches): Check system-type before modifying them.
7250 (find-buffer-file-type-coding-system): Mark obsolete.
7251 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7252 find-file-not-found-set-buffer-file-coding-system.
7253 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7254 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7255 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7256 (w32-direct-print-region-helper, w32-direct-print-region-function)
7257 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7258 * startup.el (normal-top-level-add-subdirs-to-load-path):
7259 * ps-print.el (ps-print-region-function):
7260 * lpr.el (print-region-function): Use new name.
7261
7262 * subr.el (custom-declare-variable-early): Remove function.
7263 (custom-declare-variable-list): Remove var.
7264 (error, user-error): Remove `while' loop.
7265 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7266 (user-emacs-directory-warning, locate-user-emacs-file):
7267 Move to files.el.
7268 * simple.el (read-quoted-char-radix, read-quoted-char):
7269 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7270 Move from subr.el.
7271 * custom.el (custom-declare-variable-list): Don't process
7272 custom-declare-variable-list.
7273
7274 * progmodes/python.el (python-shell-get-buffer): New function.
7275 (python-shell-get-process): Use it.
7276 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7277 Python which encoding was used. Don't split-string since we only care
7278 about the first line. Return the temp-file, if applicable.
7279 (python-shell-send-region): Tell compile.el how to turn locations in
7280 the temp-file into locations in the source buffer.
7281
7282 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7283
7284 * subr.el (undefined): Add missing behavior from the C code for
7285 unbound keys.
7286
7287 * rect.el: Use lexical-binding. Add new rectangular region support.
7288 (rectangle-mark): New command.
7289 (rectangle--region): New var.
7290 (deactivate-mark-hook): Reset rectangle--region.
7291 (rectangle--extract-region, rectangle--insert-for-yank)
7292 (rectangle--highlight-for-redisplay)
7293 (rectangle--unhighlight-for-redisplay): New functions.
7294 (region-extract-function, redisplay-unhighlight-region-function)
7295 (redisplay-highlight-region-function): Use them to handle
7296 rectangular region.
7297 * simple.el (region-extract-function): New var.
7298 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7299 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7300 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7301 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7302 (redisplay-unhighlight-region-function)
7303 (redisplay-highlight-region-function): New vars.
7304 (redisplay--update-region-highlight): New function.
7305 (pre-redisplay-function): Use it.
7306 (exchange-point-and-mark): Don't deactivate the mark before
7307 reactivate-it anyway.
7308 * comint.el (comint-kill-region): Remove yank-handler argument.
7309 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7310 (delete-char): Remove property, since it's now part of their
7311 default behavior.
7312 (self-insert-iso): Remove property since this command doesn't exist.
7313
7314 * emacs-lisp/package.el (package--download-one-archive)
7315 (describe-package-1): Don't query the user about final newline.
7316
7317 2013-10-29 Daniel Colascione <dancol@dancol.org>
7318
7319 * net/tramp.el (tramp-methods): Document new functionality.
7320 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7321 tramp-hostname-checker if method provides one instead of scanning
7322 argument list for "%h" to decide hostname acceptability.
7323
7324 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7325
7326 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7327 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7328 Handle COPY-CONTENTS. (Bug#15737)
7329
7330 2013-10-28 Daiki Ueno <ueno@gnu.org>
7331
7332 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7333 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7334
7335 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7336
7337 * image.el (defimage, image-load-path): Doc fixes.
7338
7339 2013-10-27 Alan Mackenzie <acm@muc.de>
7340
7341 Indent statements in macros following "##" correctly.
7342 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7343 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7344
7345 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7346
7347 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7348
7349 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7350
7351 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7352 after `=' is probably a new expression.
7353
7354 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7355
7356 * man.el (man-imenu-title): New option.
7357 (Man-mode-map): Add menu. (Bug#15722)
7358 (Man-mode): Add imenu to menu.
7359
7360 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7361
7362 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7363 specific in what the first arg can be: a non-keyword word,
7364 string/regexp/percent literal opener, opening paren, or unary
7365 operator followed directly by word.
7366
7367 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7368
7369 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7370 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7371 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7372 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7373 Remove vars, they do not apply any more.
7374 (prolog-mode-abbrev-table): Remove redundant declaration.
7375 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7376 (prolog-use-smie): Remove.
7377 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7378 supported by prolog-electric-if-then-else-flag.
7379 (prolog-mode-variables, prolog-menu): Use setq-local.
7380 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7381 Remove binding to `Backspace' since this key doesn't exist anyway.
7382 Remove bindings for electric self-inserting keys.
7383 (prog-mode): Assume it's defined.
7384 (prolog-post-self-insert): New function.
7385 (prolog-mode): Use it.
7386 (prolog-indent-line, prolog-indent-level)
7387 (prolog-find-indent-of-matching-paren)
7388 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7389 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7390 (prolog-goto-next-paren, prolog-in-string-or-comment)
7391 (prolog-tokenize, prolog-inside-mline-comment)
7392 (prolog-find-start-of-mline-comment): Remove functions.
7393 (prolog-find-unmatched-paren, prolog-clause-end)
7394 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7395 (prolog-electric--if-then-else): Rename from
7396 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7397 (prolog-tokenize-searchkey): Remove const.
7398 (prolog-clause-info): Use forward-sexp.
7399 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7400 (prolog-electric-if-then-else): Remove commands.
7401 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7402 for use in post-self-insert-hook.
7403 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7404 for use in post-self-insert-hook.
7405 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7406 for use in post-self-insert-hook.
7407 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7408 adapt it for use in post-self-insert-hook.
7409
7410 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7411
7412 * emacs-lisp/ert.el (ert-run-tests-interactively):
7413 Use `completing-read'. (Bug#9756)
7414
7415 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7416
7417 * simple.el (line-move): Call line-move-1 instead of
7418 line-move-visual when the current window hscroll is zero, but
7419 temporary-goal-column indicates we will need to hscroll as result
7420 of the movement. (Bug#15712)
7421
7422 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7423
7424 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7425 capitalization. Use :visible instead of :active.
7426 Fix `ruby-indent-exp' reference. Add menu items for the generic
7427 commands that are used with SMIE.
7428 (ruby-do-end-to-brace): Insert space after `{'.
7429
7430 2013-10-25 John Anthony <john@jo.hnanthony.com>
7431
7432 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7433
7434 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7435
7436 2013-10-25 Glenn Morris <rgm@gnu.org>
7437
7438 * vc/vc.el (vc-print-log): Don't use a working revision unless
7439 one was explicitly specified. (Bug#15322)
7440
7441 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * subr.el (add-to-list): Preserve return value in compiler-macro
7444 (bug#15692).
7445
7446 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7447
7448 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7449 result. Ask user to retry using '-all' flag. (Bug#15701)
7450
7451 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * emacs-lisp/smie.el: New smie-config system.
7454 (smie-config): New defcustom.
7455 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7456 (smie-config-guess, smie-config-save): New commands.
7457 (smie-config--mode-local, smie-config--buffer-local)
7458 (smie-config--trace, smie-config--modefuns): New vars.
7459 (smie-config--advice, smie-config--mode-hook)
7460 (smie-config--setter, smie-config-local, smie-config--get-trace)
7461 (smie-config--guess-value, smie-config--guess): New functions.
7462 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7463 text properties. Treat "string fence" syntax like string syntax.
7464
7465 * progmodes/sh-script.el (sh-use-smie): Change default.
7466 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7467 (sh-var-value): Simplify by CSE.
7468 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7469 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7470 is used.
7471 (sh-guess-basic-offset): Use cl-incf.
7472 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7473
7474 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7475
7476 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7477 (bug#15699).
7478
7479 2013-10-24 Glenn Morris <rgm@gnu.org>
7480
7481 * Makefile.in (abs_top_srcdir): Remove.
7482 (update-subdirs): Use relative path to update-subdirs.
7483
7484 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7485
7486 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7487 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7488 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7489 Call unmsys--file-name before expand-file-name, not after it.
7490
7491 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7492
7493 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7494 (ert-test-skipped): New error.
7495 (ert-skip, ert-stats-skipped): New defuns.
7496 (ert--skip-unless): New macro.
7497 (ert-test-skipped): New struct.
7498 (ert--run-test-debugger, ert-test-result-type-p)
7499 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7500 (ert--stats-set-test-and-result, ert-char-for-test-result)
7501 (ert-string-for-test-result, ert-run-tests-batch)
7502 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7503 Handle skipped tests. (Bug#9803)
7504
7505 2013-10-24 Glenn Morris <rgm@gnu.org>
7506
7507 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7508
7509 * Makefile.in (abs_top_srcdir): New, set by configure.
7510 (update-subdirs): Correct build-aux location.
7511
7512 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7513
7514 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7515 value, whether we could auto-deduce `backend', or not.
7516
7517 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7518 with parameters" example. Simplify the "is it block or is it
7519 hash" check, but also make it more thorough.
7520
7521 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7522
7523 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7524
7525 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7526
7527 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7528 { if it is hanging.
7529
7530 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7531 :before ";".
7532
7533 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7534
7535 * progmodes/compile.el (compilation-directory-matcher)
7536 (compilation-page-delimiter):
7537 Support GNU Make-4.0 directory quoting. (Bug#15678)
7538
7539 2013-10-23 Leo Liu <sdl.web@gmail.com>
7540
7541 * ido.el (ido-tidy): Handle read-only text.
7542
7543 2013-10-23 Glenn Morris <rgm@gnu.org>
7544
7545 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7546 (emacs, compile, compile-always):
7547 Quote entities that might contain whitespace.
7548 (custom-deps, finder-data, autoloads): Use abs_lisp.
7549 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7550 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7551 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7552
7553 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7554
7555 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7556 Use `following-char'.
7557
7558 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7561 * progmodes/ruby-mode.el (ruby-smie-rules):
7562 Remove corresponding workaround. Fix indentation rule of ";" so it
7563 also applies when ";" is the parent.
7564
7565 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7566
7567 * frame.el (display-screens, display-pixel-height)
7568 (display-pixel-width, display-mm-width, display-backing-store)
7569 (display-save-under, display-planes, display-color-cells)
7570 (display-visual-class, display-monitor-attributes-list):
7571 Mention the optional ‘display’ argument in doc strings.
7572
7573 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7574
7575 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7576 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7577
7578 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7579
7580 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7581 TODO. Add "." after " @ ".
7582 (ruby-smie--at-dot-call): New function. Checks if point at method
7583 call with explicit target.
7584 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7585 to the method name tokens when it precedes them.
7586 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7587 (ruby-smie-rules): Add rule for indentation before and after "."
7588 token.
7589
7590 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * textmodes/remember.el (remember-diary-extract-entries):
7593 Avoid add-to-list.
7594
7595 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7596 an instruction.
7597
7598 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7599
7600 * progmodes/ruby-mode.el (ruby-smie-grammar):
7601 Add (almost) all infix operators.
7602 (ruby-smie--implicit-semi-p): Add new operator chars.
7603
7604 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7605 `smie-down-list'.
7606 (ruby-smie--args-separator-p): Check that there's no newline
7607 between method call and its arguments.
7608
7609 2013-10-20 Alan Mackenzie <acm@muc.de>
7610
7611 Allow comma separated lists after Java "implements".
7612
7613 * progmodes/cc-engine.el (c-backward-over-enum-header):
7614 Parse commas.
7615 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7616 from a "disallowed" list in enum fontification.
7617
7618 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7619
7620 * startup.el (default-frame-background-mode): Remove unused defvar.
7621
7622 * progmodes/verilog-mode.el (verilog-mode): Don't set
7623 comment-indent-function globally.
7624
7625 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7626
7627 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7628 Move Info menu item creation to ns-win.el.
7629
7630 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7631 in menu bar.
7632
7633 * menu-bar.el: Move GNUstep specific menus...
7634
7635 * term/ns-win.el (ns-initialize-window-system): ... to here.
7636
7637 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * simple.el (newline): Only run post-self-insert-hook when
7640 called interactively.
7641
7642 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7643
7644 * icomplete.el (icomplete-with-completion-tables): Add :version.
7645
7646 2013-10-19 Alan Mackenzie <acm@muc.de>
7647
7648 Fix fontification bugs with constructors and const.
7649
7650 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7651 CASE 2) Remove the check for the absence of a suffix construct
7652 after a function declaration with only types (no identifiers) in
7653 the parentheses. Also, accept a function declaration with just a
7654 type inside the parentheses, if this type can be positively
7655 recognised as such, or if a prefix keyword like "explicit" nails
7656 down the construct as a declaration.
7657
7658 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7659
7660 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7661 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7662 the problem whereby selecting a menu item that leads to a
7663 minibuffer prompt moves the cursor out of the minibuffer window,
7664 making it hard to type at the prompt. Suggested by Stefan Monnier
7665 <monnier@iro.umontreal.ca>.
7666
7667 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7668
7669 * menu-bar.el: Don't make Services menu.
7670
7671 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7672
7673 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7674 (ffap-alist): Use ffap-c++-mode for c++-mode.
7675 (ffap-c++-path): New variable.
7676 (ffap-c++-mode): New function.
7677
7678 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7679
7680 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7681
7682 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7683
7684 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7685 introduced on 2013-09-08, which results in an infinite loop
7686 requesting a password.
7687
7688 2013-10-18 Glenn Morris <rgm@gnu.org>
7689
7690 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7691
7692 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7693
7694 Sync with upstream verilog-mode revision 1a6ecec7.
7695 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7696 (verilog-mode-release-date): Remove.
7697 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7698 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7699 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7700 (verilog-auto-tieoff-ignore-regexp)
7701 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7702 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7703 (verilog-signals-with, verilog-dir-cache-preserving)
7704 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7705 Doc fixes.
7706 (verilog-case-fold): New option, to control case folding in
7707 regexp searches, bug597.
7708 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7709 (verilog-string-match-fold, verilog-in-paren-count)
7710 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7711 (verilog-at-close-struct-p): New functions.
7712 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7713 (verilog-forward-sexp, verilog-set-auto-endcomments)
7714 (verilog-leap-to-case-head): Handle "unique0" case.
7715 (verilog-in-constraint-re): New constant.
7716 (verilog-keywords, verilog-type-font-keywords):
7717 Add some SystemVerilog 1800-2012 keywords.
7718 (verilog-label-be): Remove unimplemented argument, bug669.
7719 (verilog-batch-execute-func): When batch expanding clear
7720 create-lockfiles to prevent spurious user locks when a file ends
7721 up not changing.
7722 (verilog-calculate-indent, verilog-calc-1)
7723 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7724 (verilog-do-indent): Fix indentation of nested constraints
7725 and structures.
7726 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7727 (verilog-auto-inst-param): Use verilog-string-match-fold.
7728 (verilog-read-inst-module-matcher):
7729 Fix AUTOINST on gate primitives with #1.
7730 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7731 Reads all user-defined typed variables.
7732 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7733 (verilog-signals-matching-regexp)
7734 (verilog-signals-not-matching-regexp, verilog-auto):
7735 Respect verilog-case-fold.
7736 (verilog-diff-report): Fix line count.
7737 (verilog-auto-assign-modport): Remove unused local `modi'.
7738 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7739 better handle multidimensional arrays.
7740 Fix packed array ports misadding bit index in AUTOINST, bug637.
7741 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7742 to not double-declare existing outputs and inputs, respectively.
7743 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7744 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7745 (verilog-sk-uvm-component): New skeleton.
7746 (verilog-submit-bug-report): Add verilog-case-fold,
7747 remove verilog-mode-release-date.
7748
7749 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7750
7751 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7752 as before.
7753
7754 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7755
7756 * textmodes/remember.el (remember): Set buffer-offer-save in
7757 remember buffers (bug#13566).
7758
7759 2013-10-18 Daniel Colascione <dancol@dancol.org>
7760
7761 When evaluating forms in ielm, direct standard output to ielm
7762 buffer. Add new ielm-return-for-effect command. Remove trailing
7763 whitespace throughout.
7764
7765 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7766 (ielm-return-for-effect): New command.
7767 (ielm-send-input): Accept optional `for-effect' parameter.
7768 (ielm-eval-input): Accept optional `for-effect' parameter.
7769 Bind `standard-output' to stream we create using
7770 `ielm-standard-output-impl'. Suppress printing result when
7771 `for-effect'.
7772 (ielm-standard-output-impl): New function.
7773 (inferior-emacs-lisp-mode): Explain new features in documentation.
7774
7775 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7776
7777 Code cleanup.
7778
7779 * net/tramp.el (tramp-debug-message): Do not check for connection
7780 buffer.
7781 (tramp-message): Use "vector" connection property.
7782
7783 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7784 (tramp-equal-remote, tramp-eshell-directory-change)
7785 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7786 (tramp-adb-handle-rename-file)
7787 * net/tramp-cmds.el (tramp-list-remote-buffers)
7788 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7789 * net/tramp-compat.el (tramp-compat-process-running-p)
7790 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7791 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7792 (tramp-gvfs-handle-rename-file)
7793 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7794 (tramp-set-file-uid-gid)
7795 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7796 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7797 of `file-remote-p'.
7798
7799 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7800 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7801 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7802 (tramp-gw-open-network-stream): Suppress unrelated traces.
7803
7804 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7805 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7806 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7807 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7808 connection property.
7809
7810 * net/tramp-cache.el (top): Suppress traces when reading
7811 persistency file.
7812
7813 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7814 Refactor common code. Improve debug message.
7815 (tramp-maybe-open-connection)
7816 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7817 connection buffer too early.
7818
7819 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7820 from `tramp-smb-actions-with-acl'.
7821 (tramp-smb-actions-set-acl): New defconst.
7822 (tramp-smb-handle-copy-directory)
7823 (tramp-smb-action-get-acl): New defun, renamed from
7824 `tramp-smb-action-with-acl'.
7825 (tramp-smb-action-set-acl): New defun.
7826 (tramp-smb-handle-set-file-acl): Rewrite.
7827
7828 2013-10-17 Glenn Morris <rgm@gnu.org>
7829
7830 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7831
7832 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * skeleton.el (skeleton-newline): Remove.
7835 (skeleton-internal-1): Use (insert "\n") instead.
7836
7837 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7838 let-bindings.
7839
7840 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7841 forward-sexp-function while we redo its job (bug#15613).
7842
7843 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7844
7845 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7846 represented by lists.
7847
7848 2013-10-16 Glenn Morris <rgm@gnu.org>
7849
7850 * tmm.el (tmm--history): New dynamic variable.
7851 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7852
7853 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7854
7855 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7856 (tramp-smb-errors): Add error messages.
7857 (tramp-smb-actions-with-acl): New defconst.
7858 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7859 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7860 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7861 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7862 (tramp-smb-get-stat-capability): Fix tests.
7863
7864 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7865
7866 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7867 (bug#15580).
7868
7869 2013-10-16 Glenn Morris <rgm@gnu.org>
7870
7871 * ansi-color.el (ansi-color-drop-regexp):
7872 Add 1J, 1K, 2K. (Bug#15617)
7873
7874 * files.el (hack-local-variables--warned-lexical): New.
7875 (hack-local-variables):
7876 Warn about misplaced lexical-binding. (Bug#15616)
7877
7878 * net/eww.el (eww-render): Always set eww-current-url,
7879 and update header line. (Bug#15622)
7880 (eww-display-html): ... Rather than just doing it here.
7881
7882 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7883
7884 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7885 menu navigations commands.
7886
7887 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7888
7889 * progmodes/subword.el (subword-capitalize): Be careful when
7890 the search for [[:alpha:]] fails (bug#15580).
7891
7892 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7893
7894 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7895 to commands that scroll the menu.
7896
7897 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7898
7899 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7900 Handle methods ending with `?' and `!'.
7901
7902 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7903
7904 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7905 `japanese-cp932' to `cp932' to fix the problem where saving a
7906 source file written in Shift_JIS twice would end up having
7907 `coding: japanese-cp932' which Ruby could not recognize.
7908 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7909 in `ruby-encoding-map'.
7910 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7911 doesn't need to be explicitly declared in magic comment.
7912 (ruby-encoding-map): Add type declaration for better customize UI.
7913
7914 2013-10-13 Glenn Morris <rgm@gnu.org>
7915
7916 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7917 Occur buffers are read-only. http://bugs.debian.org/720775
7918
7919 * emacs-lisp/authors.el (authors-fixed-entries):
7920 Comment out old alpha stuff.
7921
7922 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7923
7924 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7925 to `after-save-hook' instead of `before-save-hook'.
7926 (ruby-mode-set-encoding): Use the value of coding system used to
7927 write the file. Call `basic-save-buffer-1' after modifying the
7928 buffer.
7929
7930 2013-10-13 Alan Mackenzie <acm@muc.de>
7931
7932 Fix indentation/fontification of Java enum with
7933 "implements"/generic.
7934
7935 * progmodes/cc-engine.el (c-backward-over-enum-header):
7936 Extracted from the three other places and enhanced to handle generics.
7937 (c-inside-bracelist-p): Uses new function above.
7938 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7939 function above.
7940 (c-font-lock-enum-tail): Uses new function above.
7941
7942 2013-10-13 Kenichi Handa <handa@gnu.org>
7943
7944 * international/mule-cmds.el (select-safe-coding-system): Remove a
7945 superfluous condition in chekcing whether a coding system is safe
7946 or not.
7947
7948 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7949
7950 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7951
7952 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7953
7954 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7955
7956 2013-10-13 Glenn Morris <rgm@gnu.org>
7957
7958 * menu-bar.el (menu-bar-update-buffers):
7959 Unify Buffers menu prompt string. (Bug#15576)
7960
7961 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7962
7963 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7964 Add some entries.
7965 (authors-fixed-entries): Use accented form of name.
7966
7967 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7970 method calls (bug#15594).
7971 (ruby-smie--args-separator-p): New function.
7972 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7973 recognize paren-free method calls.
7974
7975 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7976 internals of universal-argument.
7977
7978 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7979
7980 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7981 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7982 dropped menu on second mouse click on the menu bar.
7983
7984 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7985
7986 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7987 (explicit-shell-file-name): Declare.
7988 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7989 (sh-completion-at-point-function): New function.
7990 (sh-mode): Use it.
7991 (sh-smie--keyword-p): Remove unused argument.
7992 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7993 vars.
7994 (sh-set-shell): Always setup SMIE, even if we use the
7995 old indentation code.
7996
7997 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7998
7999 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8000 cases of ? and =.
8001 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8002 predicate would return nil are almost non-existent.
8003 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8004
8005 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8006 cache also after commands that modify the buffer but don't move
8007 point.
8008
8009 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * env.el (substitute-env-in-file-name): New function.
8012 (substitute-env-vars): Extend the meaning of the optional arg.
8013
8014 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8015
8016 * term/w32-win.el (dynamic-library-alist): Define separate lists
8017 of GIF DLLs for versions before and after 5.0.0 of giflib.
8018 (Bug#15531)
8019
8020 2013-10-10 João Távora <joaotavora@gmail.com>
8021
8022 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8023 not locked, use last revision and current source as
8024 defaults. (Bug#15569)
8025
8026 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8027
8028 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8029 menu-bar is hidden.
8030
8031 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8032
8033 * window.el (pop-to-buffer-same-window): Fix doc-string.
8034 (Bug#15492)
8035
8036 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8037
8038 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8039
8040 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8041
8042 * calendar/icalendar.el (icalendar-import-file):
8043 Fix interactive spec. (Bug#15482)
8044
8045 2013-10-10 Glenn Morris <rgm@gnu.org>
8046
8047 * desktop.el (desktop-save): Default to saving in .emacs.d,
8048 since PWD is no longer in desktop-path by default. (Bug#15319)
8049
8050 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8051 now that text mode has a menu with the same entry.
8052 (menu-bar-text-mode-auto-fill): Remove now unused func.
8053 * textmodes/text-mode.el (text-mode-map):
8054 Use auto-fill help text from menu-bar.el.
8055
8056 2013-10-10 John Anthony <john@jo.hnanthony.com>
8057
8058 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8059
8060 2013-10-09 Juri Linkov <juri@jurta.org>
8061
8062 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8063 instead of this-command-keys. Add universal-argument-more and
8064 universal-argument-minus to the list of prefix commands. (Bug#15568)
8065
8066 2013-10-09 Glenn Morris <rgm@gnu.org>
8067
8068 * vc/vc-svn.el (vc-svn-create-repo):
8069 Expand paths in file://... url. (Bug#15446)
8070
8071 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8072 Add some entries.
8073 (authors): Remove unused local variables.
8074
8075 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8076
8077 * profiler.el: Create a more coherent calltree from partial backtraces.
8078 (profiler-format): Hide the tail with `invisible' so that C-s can still
8079 find the hidden elements.
8080 (profiler-calltree-depth): Don't recurse so enthusiastically.
8081 (profiler-function-equal): New hash-table-test.
8082 (profiler-calltree-build-unified): New function.
8083 (profiler-calltree-build): Use it.
8084 (profiler-report-make-name-part): Indent the calltree less.
8085 (profiler-report-mode): Add visibility specs for profiler-format.
8086 (profiler-report-expand-entry, profiler-report-toggle-entry):
8087 Expand the whole subtree when provided with a prefix arg.
8088
8089 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8090
8091 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8092 iuwu-mod token.
8093 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8094 hanging iuwu-mod token.
8095 (ruby-smie--forward-token): Do not include a dot after a token in
8096 that token.
8097 (ruby-smie--backward-token): Likewise.
8098
8099 2013-10-08 Juri Linkov <juri@jurta.org>
8100
8101 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8102 to isearch-other-control-char.
8103 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8104 and isearch-post-command-hook to post-command-hook.
8105 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8106 and isearch-post-command-hook from post-command-hook.
8107 (isearch-unread-key-sequence)
8108 (isearch-reread-key-sequence-naturally)
8109 (isearch-lookup-scroll-key, isearch-other-control-char)
8110 (isearch-other-meta-char): Remove functions.
8111 (isearch-pre-command-hook, isearch-post-command-hook):
8112 New functions based on isearch-other-meta-char rewritten
8113 relying on the new behavior of overriding-terminal-local-map
8114 that does not replace the local keymaps any more. (Bug#15200)
8115
8116 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8117
8118 Support menus on text-mode terminals.
8119 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8120 functionality.
8121
8122 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8123
8124 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8125 Move here from mouse.el.
8126 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8127 and arrow keys.
8128 (tty-menu-navigation-map): New map for TTY menu navigation.
8129
8130 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8131
8132 * frame.el (display-mouse-p): Report text-mode mouse as available
8133 on w32.
8134 (display-popup-menus-p): Report availability if mouse is
8135 available; don't condition on window-system.
8136
8137 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8138 (tty-menu-selected-face): New faces.
8139
8140 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8143 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8144 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8145 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8146 New constants.
8147 (lisp-mode-variables): New `elisp' argument.
8148 (emacs-lisp-mode): Use it.
8149 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8150 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8151
8152 * indent.el: Use lexical-binding.
8153 (indent-region): Add progress reporter.
8154 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8155 last step.
8156 (indent--next-tab-stop): New function to implement this behavior.
8157 (tab-to-tab-stop, move-to-tab-stop): Use it.
8158
8159 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8160
8161 * indent.el (indent-rigidly--current-indentation): New function.
8162 (indent-rigidly-map): New var.
8163 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8164
8165 2013-10-08 Bastien Guerry <bzg@gnu.org>
8166
8167 * register.el (insert-register): Fix 2013-10-07 change.
8168
8169 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8170
8171 * progmodes/perl-mode.el: Use lexical-binding.
8172 Remove redundant :group args.
8173 (perl-nochange): Change default to be closer to other major modes's
8174 standard behavior.
8175 (perl-indent-line): Don't consider text on current line as a
8176 valid beginning of function from which to indent.
8177
8178 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8179 with more than one argument (bug#15538).
8180
8181 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8182
8183 * vc/pcvs.el: Use lexical-binding.
8184 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8185 environment of `eval'.
8186 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8187 than a list of expressions. Adjust callers.
8188 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8189
8190 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8191
8192 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8193 case of the dot in a chained method call being on the following line.
8194
8195 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * electric.el (electric-indent-inhibit): New var.
8198 (electric-indent-post-self-insert-function): Use it.
8199 * progmodes/python.el (python-mode): Set it.
8200
8201 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8202 open braces.
8203
8204 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8205
8206 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8207 (css-mode): Use electric-indent-chars.
8208
8209 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8210 (font-lock-beg, font-lock-end): Move before first use.
8211 (nxml-mode): Use syntax-propertize-function.
8212 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8213 (nxml-extend-after-change-region): Remove.
8214 * nxml/xmltok.el: Use lexical-binding.
8215 (xmltok-save): Use `declare'.
8216 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8217 * nxml/nxml-util.el: Use lexical-binding.
8218 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8219 Use `declare'.
8220 * nxml/nxml-ns.el: Use lexical-binding.
8221 (nxml-ns-save): Use `declare'.
8222 (nxml-ns-prefixes-for): Avoid add-to-list.
8223 * nxml/rng-match.el: Use lexical-binding.
8224 (rng--ipattern): Use cl-defstruct.
8225 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8226 (rng-cons-group-after, rng-subst-group-after)
8227 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8228 Use closures instead of `(lambda...).
8229
8230 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8231
8232 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8233 of BEG and END.
8234
8235 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8236 Use `tramp-handle-insert-file-contents'.
8237 (tramp-gvfs-handle-insert-file-contents): Remove function.
8238
8239 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8240 Use `save-restriction' in order to keep markers.
8241
8242 * net/trampver.el: Update release number.
8243
8244 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * progmodes/compile.el (compilation-parse-errors):
8247 Use compilation--put-prop.
8248 (compilation--ensure-parse): Check compilation-multiline.
8249
8250 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8251
8252 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8253 lexical-binding.
8254
8255 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8256
8257 * progmodes/ruby-mode.el: Fix recently added tests.
8258 (ruby-smie-grammar): Add - and +.
8259 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8260 (ruby-smie--backward-id): New functions.
8261 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8262 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8263 any more.
8264
8265 2013-10-07 Leo Liu <sdl.web@gmail.com>
8266
8267 * register.el (register-preview-delay)
8268 (register-preview-functions): New variables.
8269 (register-read-with-preview, register-preview)
8270 (register-describe-oneline): New functions.
8271 (point-to-register, window-configuration-to-register)
8272 (frame-configuration-to-register, jump-to-register)
8273 (number-to-register, view-register, insert-register)
8274 (copy-to-register, append-to-register, prepend-to-register)
8275 (copy-rectangle-to-register): Use register-read-with-preview to
8276 read register. (Bug#15525)
8277
8278 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8279
8280 * net/network-stream.el (network-stream-open-starttls): Don't add
8281 --insecure if it's already present, because that gnutls-cli
8282 rejects getting that parameter twice.
8283
8284 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8285
8286 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8287 keyword, too.
8288
8289 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8290
8291 * newcomment.el (comment-use-global-state): Change default value
8292 to t, mark obsolete (Bug#15251).
8293 (comment-beginning): In addition to `comment-to-syntax', check the
8294 value of `comment-use-global-state'.
8295
8296 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8299 (ruby-comment-column): Follow the global default, by default.
8300 (ruby-smie-grammar): Add assignment syntax.
8301 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8302 open-paren, a comma, or a \.
8303 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8304 and line continuations.
8305 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8306 followed by implicit semi-colons. Add rule for string concatenation
8307 and for indentation at BOB.
8308 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8309
8310 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8311 calling next-sexp, since next-token may have skipped chars which
8312 next-sexp doesn't know should be skipped!
8313
8314 2013-10-05 Leo Liu <sdl.web@gmail.com>
8315
8316 * progmodes/octave.el (octave-send-region):
8317 Call compilation-forget-errors.
8318
8319 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8320
8321 * vc/vc-svn.el (vc-svn-find-admin-dir):
8322 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8323 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8324 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8325 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8326
8327 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8328
8329 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8330
8331 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8332
8333 * subr.el (read-passwd): Hide chars even when called within a context
8334 where after-change-functions is disabled (bug#15501).
8335 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8336 until we removed ourself from overriding-terminal-local-map.
8337
8338 2013-10-04 Leo Liu <sdl.web@gmail.com>
8339
8340 * progmodes/octave.el (inferior-octave-mode):
8341 Call compilation-forget-errors.
8342
8343 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8344
8345 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8346
8347 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8348
8349 * net/secrets.el (secrets-create-collection): Add optional
8350 argument ALIAS. Use proper Label keyword. Append ALIAS as
8351 dbus-call-method argument. (Bug#15516)
8352
8353 2013-10-04 Leo Liu <sdl.web@gmail.com>
8354
8355 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8356 (inferior-octave-compilation-font-lock-keywords): New variables.
8357 (compilation-error-regexp-alist)
8358 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8359 (inferior-octave-mode): Use compilation-shell-minor-mode.
8360
8361 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8362
8363 * minibuffer.el (completion--replace): Be careful that `end' might be
8364 a marker.
8365
8366 2013-10-03 Daiki Ueno <ueno@gnu.org>
8367
8368 Add support for package signature checking.
8369 * emacs-lisp/package.el (url-http-file-exists-p)
8370 (epg-make-context, epg-context-set-home-directory)
8371 (epg-verify-string, epg-context-result-for)
8372 (epg-signature-status, epg-signature-to-string)
8373 (epg-check-configuration, epg-configuration)
8374 (epg-import-keys-from-file): Declare.
8375 (package-check-signature): New user option.
8376 (package-unsigned-archives): New user option.
8377 (package-desc): Add `signed' field.
8378 (package-load-descriptor): Set `signed' field if .signed file exists.
8379 (package--archive-file-exists-p): New function.
8380 (package--check-signature): New function.
8381 (package-install-from-archive): Check package signature.
8382 (package--download-one-archive): Check archive signature.
8383 (package-delete): Remove .signed file.
8384 (package-import-keyring): New command.
8385 (package-refresh-contents): Import default keyring.
8386 (package-desc-status): Add "unsigned" status.
8387 (describe-package-1, package-menu--print-info)
8388 (package-menu-mark-delete, package-menu--find-upgrades)
8389 (package-menu--status-predicate): Support "unsigned" status.
8390
8391 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8392
8393 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8394 the new compilation scheme using the new byte-codes.
8395
8396 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8397 (byte-pophandler): New byte codes.
8398 (byte-goto-ops): Adjust accordingly.
8399 (byte-compile--use-old-handlers): New var.
8400 (byte-compile-catch): Use new byte codes depending on
8401 byte-compile--use-old-handlers.
8402 (byte-compile-condition-case--old): Rename from
8403 byte-compile-condition-case.
8404 (byte-compile-condition-case--new): New function.
8405 (byte-compile-condition-case): New function that dispatches depending
8406 on byte-compile--use-old-handlers.
8407 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8408 when we can.
8409
8410 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8411 Optimize under `condition-case' and `catch' if
8412 byte-compile--use-old-handlers is nil.
8413 (disassemble-offset): Handle new bytecodes.
8414
8415 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * subr.el (error): Use `declare'.
8418 (decode-char, encode-char): Use advertised-calling-convention instead
8419 of the docstring to discourage use of the `restriction' arg.
8420
8421 2013-10-03 Daiki Ueno <ueno@gnu.org>
8422
8423 * epg.el (epg-verify-file): Add a comment saying that it does not
8424 notify verification error as a return value nor a signal.
8425 (epg-verify-string): Ditto.
8426
8427 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8428
8429 * progmodes/compile.el (compilation-start): Try globbing the arg to
8430 `cd' (bug#15417).
8431
8432 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8433
8434 Sync with Tramp 2.2.8.
8435
8436 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8437 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8438 * net/trampver.el: Update release number.
8439
8440 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8441
8442 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8443 and default-process-coding-system for darwin only.
8444
8445 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8448
8449 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8450
8451 * vc/vc-git.el (vc-git-grep): Disable pager.
8452
8453 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8454
8455 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8456 Use :url instead of :homepage, as per
8457 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8458
8459 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8460 non-nil, use `syntax-ppss' (Bug#15251).
8461
8462 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8463
8464 * progmodes/octave.el (inferior-octave-startup-file):
8465 Prefer ~/.emacs.d/init_octave.m.
8466
8467 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8468
8469 * emacs-lisp/package.el (package-desc-from-define):
8470 Accept additional arguments as plist, convert them to an alist and store
8471 them in the `extras' slot.
8472 (package-generate-description-file): Convert extras alist back to
8473 plist and append to the `define-package' form arguments.
8474 (package--alist-to-plist): New function.
8475 (package--ac-desc): Add `extras' slot.
8476 (package--add-to-archive-contents): Check if the archive-contents
8477 vector is long enough, and if it is, pass its `extras' slot value
8478 to `package-desc-create'.
8479 (package-buffer-info): Call `lm-homepage', pass the returned value
8480 to `package-desc-from-define'.
8481 (describe-package-1): Render the homepage button (Bug#13291).
8482
8483 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8484 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8485
8486 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8487
8488 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8489 and default-process-coding-system to utf-8-unix (Bug#15402).
8490
8491 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8492
8493 * subr.el (looking-back): Do not recommend using looking-back.
8494
8495 2013-09-28 Alan Mackenzie <acm@muc.de>
8496
8497 Fix indentation/fontification of Java enum with "implements".
8498
8499 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8500 regexp which matches "implements", etc., in Java.
8501 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8502 specifier clauses coming after "enum".
8503 * progmodes/cc-fonts.el (c-font-lock-declarations)
8504 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8505 after "enum".
8506
8507 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8508
8509 * faces.el (region): Change ns_selection_color to
8510 ns_selection_fg_color, add ns_selection_bg_color.
8511
8512 2013-09-28 Leo Liu <sdl.web@gmail.com>
8513
8514 * progmodes/octave.el (inferior-octave-completion-table)
8515 (inferior-octave-completion-at-point): Minor tweaks.
8516
8517 * textmodes/ispell.el (ispell-lookup-words): Rename from
8518 lookup-words. (Bug#15460)
8519 (lookup-words): Obsolete.
8520 (ispell-complete-word, ispell-command-loop): All uses changed.
8521
8522 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8523
8524 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8525 (octave-mode-menu): Add octave-send-buffer.
8526 (octave-send-buffer): New function.
8527
8528 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8529
8530 * progmodes/octave.el (octave-mode-map): Add key binding for
8531 octave-lookfor.
8532 (octave-mode-menu): Add octave-lookfor.
8533 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8534 octave-lookfor.
8535 (octave-lookfor): New function.
8536
8537 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8540 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8541 its convention.
8542 (cl--loop-set-iterator-function): New function.
8543 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8544 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8545 Bind `it' with `let' instead of substituting it with `cl-subst'.
8546 (cl--unused-var-p): New function.
8547 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8548 Eliminate some unused variable warnings (bug#15326).
8549
8550 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8551
8552 * doc-view.el (doc-view-scale-reset): Rename from
8553 `doc-view-reset-zoom-level'.
8554 (doc-view-scale-adjust): New command.
8555 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8556 `doc-view-scale-adjust'.
8557
8558 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8559
8560 * doc-view.el (doc-view-reset-zoom-level): New command.
8561 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8562 zoom commands (bug#15466).
8563
8564 2013-09-26 Kenichi Handa <handa@gnu.org>
8565
8566 * international/quail.el (quail-help): Make it not a command.
8567
8568 2013-09-26 Leo Liu <sdl.web@gmail.com>
8569
8570 * minibuffer.el (completion-all-sorted-completions): Make args
8571 optional as they are.
8572
8573 2013-09-25 Daniel Colascione <dancol@dancol.org>
8574
8575 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8576 specs are and that they're not evaluated.
8577
8578 2013-09-24 Sam Steingold <sds@gnu.org>
8579
8580 * midnight.el (clean-buffer-list-kill-regexps)
8581 (clean-buffer-list-kill-buffer-names): Update for the new Man
8582 buffer naming which includes the object name.
8583
8584 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8587 (eshell-parse-command, eshell-parse-pipeline): Use it since
8588 eshell-separate-commands requires a dynamic scoped var.
8589 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8590
8591 2013-09-23 Leo Liu <sdl.web@gmail.com>
8592
8593 * autoinsert.el (auto-insert-alist): Make the value of
8594 lexical-binding match its file setting.
8595
8596 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8597
8598 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8599
8600 * autoarg.el (autoarg-kp-digit-argument):
8601 * electric.el (Electric-command-loop):
8602 * kmacro.el (kmacro-step-edit-insert):
8603 Do not set universal-argument-num-events.
8604
8605 2013-09-22 Leo Liu <sdl.web@gmail.com>
8606
8607 * files.el (interpreter-mode-alist): Add octave.
8608
8609 2013-09-21 Alan Mackenzie <acm@muc.de>
8610
8611 C++: fontify identifier in declaration following "public:" correctly.
8612 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8613 to match "public", etc.
8614 (c-decl-prefix-re): Add ":" into the C++ value.
8615 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8616 bit. Add a check for a ":" preceded by "public", etc.
8617
8618 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8619
8620 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8621 recognized by GDB 7.5 and later.
8622
8623 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8624
8625 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8626
8627 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * subr.el (internal--call-interactively): New const.
8630 (called-interactively-p): Use it (bug#3984).
8631
8632 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8633
8634 * vc/pcvs.el (cvs-mode-ignore):
8635 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8636 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8637
8638 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8641 (eshell-ls-orig-insert-directory): Remove.
8642 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8643 (eshell-ls-use-in-dired): Use advice-add/remove.
8644 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8645 Add `orig-fun' arg for use in :around advice.
8646 Make it check (redundantly) eshell-ls-use-in-dired.
8647
8648 2013-09-19 Glenn Morris <rgm@gnu.org>
8649
8650 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8651
8652 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8653
8654 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8655
8656 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8657
8658 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8659 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8660 (tramp-get-remote-python): New defuns.
8661 (tramp-get-remote-uid-with-perl)
8662 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8663 contributed by yary <not.com@gmail.com> (tiny change).
8664 (tramp-get-remote-uid-with-python)
8665 (tramp-get-remote-gid-with-python): New defuns. Python code
8666 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8667 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8668
8669 2013-09-19 Glenn Morris <rgm@gnu.org>
8670
8671 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8672
8673 * eshell/em-unix.el (eshell-remove-entries):
8674 Rename argument to avoid name-clash with global `top-level'.
8675
8676 * eshell/esh-proc.el (eshell-kill-process-function):
8677 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8678 (eshell-reset-after-proc): Remove unused arg `proc'.
8679
8680 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8681 (directory-files-and-attributes): Mark unused arg.
8682
8683 * eshell/em-unix.el (eshell-remove-entries):
8684 Remove unused arg `path'. Update callers.
8685
8686 * eshell/em-hist.el (eshell-hist-parse-arguments):
8687 Remove unused arg `silent'. Update callers.
8688
8689 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8690 Fix (f)boundp mix-up.
8691
8692 * eshell/em-smart.el (eshell-smart-scroll-window)
8693 (eshell-disable-after-change):
8694 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8695
8696 2013-09-18 Alan Mackenzie <acm@muc.de>
8697
8698 Fix fontification of type when followed by "const".
8699 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8700 "known" types from fontification.
8701
8702 2013-09-18 Glenn Morris <rgm@gnu.org>
8703
8704 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8705 (chart-face-list): Drop Emacsen without display-color-p.
8706
8707 * net/eww.el (libxml-parse-html-region): Declare.
8708 (eww-display-html): Explicit error if no libxml2 support.
8709
8710 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8711
8712 * image.el (image-type-from-buffer, image-multi-frame-p):
8713 Remove --without-x warning/error.
8714
8715 * mouse.el (mouse-yank-primary):
8716 * term.el (term-mouse-paste):
8717 Reorder to silence --without-x compilation.
8718
8719 * mpc.el (doc-view-mode): Silence --without-x compilation.
8720
8721 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8722 Silence --without-x compilation.
8723
8724 * progmodes/gud.el (gud-find-file, gud-mode):
8725 Silence --without-x compilation.
8726 (tooltip-mode): Declare.
8727
8728 * wdired.el (dired-backup-overwrite): Remove declaration.
8729 (wdired-mode-map): Add doc string.
8730
8731 * custom.el (x-get-resource): Declare.
8732
8733 * eshell/em-glob.el (ange-cache):
8734 * eshell/em-unix.el (ange-cache): Declare.
8735
8736 * faces.el (x-display-list, x-open-connection, x-get-resource):
8737 Declare.
8738
8739 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8740 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8741 Declare.
8742
8743 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8744
8745 * net/gnutls.el (gnutls-log-level): Declare.
8746
8747 * net/shr.el (image-size, image-animate): Declare.
8748
8749 * simple.el (font-info): Declare.
8750
8751 * subr.el (x-popup-dialog): Declare.
8752
8753 * term/common-win.el (x-select-enable-primary)
8754 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8755 Declare.
8756
8757 * term/ns-win.el (x-handle-args): Declare.
8758
8759 * term/x-win.el (x-select-enable-clipboard): Declare.
8760
8761 * term/w32-win.el (create-default-fontset): Declare.
8762
8763 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8764 Declare.
8765
8766 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8767 (fit-frame-to-buffer): Explicit error if --without-x.
8768 (mouse-autoselect-window-select): Silence compiler.
8769
8770 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8771
8772 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8773 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8774 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8775 * eshell/esh-util.el (eshell-sublist):
8776 Remove unused local variables.
8777
8778 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8779
8780 * textmodes/two-column.el: Make 2C-split work for --without-x.
8781 (scroll-bar-columns): Autoload.
8782 (top-level): Require fringe when compiling.
8783
8784 2013-09-18 Leo Liu <sdl.web@gmail.com>
8785
8786 * subr.el (add-hook): Robustify to handle closure as well.
8787
8788 2013-09-17 Glenn Morris <rgm@gnu.org>
8789
8790 * simple.el (messages-buffer-mode-map): Unbind "g".
8791
8792 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * help-mode.el (help-mode-finish): Use derived-mode-p.
8795 Remove obsolete highlighting.
8796
8797 * play/life.el (life-mode): Use define-derived-mode. Derive from
8798 special-mode.
8799 (life): Let-bind inhibit-read-only.
8800 (life-setup): Avoid `setq'. Use `life-mode'.
8801
8802 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8803 which should not be needed any more.
8804 (package-menu-refresh, package-menu-describe-package): Use user-error.
8805
8806 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8807 (eshell-post-rewrite-command-hook): Make obsolete.
8808 (eshell-parse-command): Simplify.
8809 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8810 (eshell--cmd): Declare.
8811 (eshell-parse-pipeline): Remove unused var `final-p'.
8812 Pass a dynvar to eshell-post-rewrite-command-hook.
8813 Implement the new eshell-post-rewrite-command-function.
8814 (eshell-invoke-directly): Remove unused arg `input'.
8815 * eshell/esh-io.el (eshell-io-initialize):
8816 Use eshell-post-rewrite-command-function (bug#15399).
8817 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8818 adjust to new calling convention.
8819 (eshell-create-handles): Rename args to avoid clashing with dynvar
8820 `standard-output'.
8821
8822 2013-09-17 Glenn Morris <rgm@gnu.org>
8823
8824 * simple.el (messages-buffer-mode): New major mode.
8825 (messages-buffer): New function.
8826 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8827 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8828 (ert-run-test): Use `messages-buffer' function.
8829 (ert--force-message-log-buffer-truncation): Ignore read-only.
8830 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8831 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8832
8833 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8834
8835 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8836
8837 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8838
8839 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * icomplete.el (icomplete-in-buffer): New var.
8842 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8843 vars and replace them with functions.
8844 (icomplete-minibuffer-setup): Adjust accordingly.
8845 (icomplete--completion-table, icomplete--completion-predicate)
8846 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8847 New functions.
8848 (icomplete-forward-completions, icomplete-backward-completions)
8849 (icomplete-simple-completing-p, icomplete-exhibit)
8850 (icomplete-completions): Use them.
8851 (icomplete--in-region-buffer): New var.
8852 (icomplete--in-region-setup): New function.
8853 (icomplete-mode): Use it.
8854
8855 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8856 (bug#15379).
8857 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8858 return args and options.
8859 (eshell-eval-using-options): Use the new return value of
8860 eshell--do-opts to set the options's vars in their scope.
8861 (eshell--set-option): Rename from eshell-set-option.
8862 Add arg `opt-vals'.
8863 (eshell--process-option): Rename from eshell-process-option.
8864 Add arg `opt-vals'.
8865 (eshell--process-args): Use an `opt-vals' alist to store the options's
8866 values during their processing and return them additionally to the
8867 remaining args.
8868
8869 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8870
8871 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8872 continuation character an operator, as far as indentation is
8873 concerned (Bug#15369).
8874
8875 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8876
8877 * window.el (window--state-put-2): Don't process buffer state
8878 when buffer doesn't exist any more (Bug#15382).
8879
8880 2013-09-15 Glenn Morris <rgm@gnu.org>
8881
8882 * eshell/em-unix.el (eshell/rm):
8883 Make -f ignore missing files. (Bug#15373)
8884
8885 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8886 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8887 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8888
8889 2013-09-14 Glenn Morris <rgm@gnu.org>
8890
8891 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8892
8893 2013-09-13 Glenn Morris <rgm@gnu.org>
8894
8895 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8896 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8897
8898 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8899
8900 * frame.el (x-focus-frame): Mark as declared in frame.c.
8901
8902 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8903
8904 * ls-lisp.el: Use advice-add.
8905 (original-insert-directory): Remove.
8906 (ls-lisp--insert-directory): Rename from insert-directory; add
8907 `orig-fun' argument.
8908 (insert-directory): Advise.
8909
8910 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8911
8912 * term.el (term-emulate-terminal): Decode the command string
8913 before passing it to term-command-hook. (Bug#15337)
8914
8915 2013-09-13 Glenn Morris <rgm@gnu.org>
8916
8917 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8918
8919 * eshell/esh-ext.el (eshell-search-path): Declare.
8920
8921 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8922 Otherwise an error occurs if eshell-dirs module not loaded.
8923
8924 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8925
8926 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8927
8928 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8929 `tramp-check-proper-host'. Check for a valid method name.
8930
8931 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8932 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8933 * net/tramp-sh.el (tramp-maybe-open-connection):
8934 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8935
8936 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8937 also for hash values.
8938
8939 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8940
8941 * term/ns-win.el (parameters): Don't declare as dynamic.
8942 (before-make-frame-hook): Don't add ineffective function.
8943
8944 * eshell/*.el: Use lexical-binding (bug#15231).
8945
8946 2013-09-12 Kenichi Handa <handa@gnu.org>
8947
8948 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8949
8950 2013-09-12 Glenn Morris <rgm@gnu.org>
8951
8952 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8953 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8954
8955 * subr.el (do-after-load-evaluation): Also give compiler warnings
8956 when obsolete files are used (except by obsolete files).
8957
8958 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8959 in the status output, assume `filename' is the first. (Bug#15322)
8960
8961 * vc/vc.el (vc-deduce-fileset): Doc fix.
8962
8963 * calc/calc-help.el (Info-goto-node):
8964 * progmodes/cperl-mode.el (Info-find-node):
8965 * vc/ediff.el (Info-goto-node): Update declarations.
8966
8967 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8968
8969 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8970 (vc-bzr-pull): Require vc-dispatcher.
8971 * vc/vc-git.el (vc-compilation-mode): Declare.
8972 (vc-git-pull): Require vc-dispatcher.
8973
8974 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8975
8976 * progmodes/octave.el (help-button-action): Declare.
8977
8978 * shell.el (shell-directory-tracker): Output error as a message
8979 rather than just returning it as a string.
8980 (shell-process-pushd): Remove useless use of message.
8981
8982 * dframe.el (dframe-timer-fn):
8983 * files.el (dir-locals-read-from-file):
8984 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8985 (mpc-format):
8986 * reveal.el (reveal-post-command):
8987 * saveplace.el (load-save-place-alist-from-file):
8988 * shell.el (shell-resync-dirs):
8989 * w32-common-fns.el (x-get-selection-value):
8990 * emacs-lisp/copyright.el (copyright-find-copyright):
8991 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8992 * emulation/tpu-edt.el (tpu-copy-keyfile):
8993 * play/bubbles.el (bubbles--mark-neighbourhood):
8994 * progmodes/executable.el
8995 (executable-make-buffer-file-executable-if-script-p):
8996 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8997
8998 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9000 Cleanup Eshell to rely less on dynamic scoping.
9001 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9002 last-value, and ext-command here. Bind `args' closer to `body'.
9003 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9004 (eshell--args): Declare new dynamic var.
9005 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9006 last-value, and ext-command. Pass `args' to `body'.
9007 (eshell-process-args): Bind eshell--args.
9008 (eshell-set-option): Use eshell--args.
9009 * eshell/eshell.el (eshell): Use derived-mode-p.
9010 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9011 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9012 (eshell-glob-function): Declare.
9013 * eshell/esh-util.el: Require cl-lib.
9014 (eshell-read-hosts-file): Avoid add-to-list.
9015 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9016 `err'.
9017 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9018 Declare.
9019 (eshell/diff): Remove unused var `err'.
9020 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9021 `killflag'.
9022 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9023 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9024 first use.
9025 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9026 Move declaration before first use.
9027 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9028 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9029 rely on cl-return.
9030
9031 2013-09-12 Glenn Morris <rgm@gnu.org>
9032
9033 * term/ns-win.el (global-map): Remove binding for ispell-next,
9034 deleted 1999-05-29. (Bug#15357)
9035
9036 2013-09-11 Glenn Morris <rgm@gnu.org>
9037
9038 * echistory.el (electric-command-history): Remove call to deleted func.
9039
9040 * play/landmark.el (landmark-mode): Fix typos.
9041
9042 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9043 Check cvs-sort-ignore-file is bound.
9044
9045 * savehist.el: No need for cl when compiling on Emacs.
9046
9047 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9050 (bug#15338).
9051 (eshell-self-insert-command, eshell-send-invisible):
9052 Remove unused argument.
9053 (eshell-handle-control-codes): Remove unused var `orig'.
9054 Avoid delete-backward-char.
9055
9056 * files.el (set-auto-mode): Simplify a bit further.
9057
9058 2013-09-11 Glenn Morris <rgm@gnu.org>
9059
9060 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9061 (set-auto-mode): Don't regexp-quote elements.
9062 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9063 * progmodes/cc-mode.el (interpreter-mode-alist):
9064 * progmodes/ruby-mode.el (interpreter-mode-alist):
9065 Revert previous change.
9066
9067 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * play/snake.el (snake-mode):
9070 * play/mpuz.el (mpuz-mode):
9071 * play/landmark.el (lm-mode):
9072 * play/blackbox.el (blackbox-mode):
9073 * play/5x5.el (5x5-mode):
9074 * obsolete/options.el (Edit-options-mode):
9075 * net/quickurl.el (quickurl-list-mode):
9076 * net/newst-treeview.el (newsticker-treeview-mode):
9077 * mail/rmailsum.el (rmail-summary-mode):
9078 * mail/mspools.el (mspools-mode):
9079 * locate.el (locate-mode):
9080 * ibuffer.el (ibuffer-mode):
9081 * emulation/ws-mode.el (wordstar-mode):
9082 * emacs-lisp/debug.el (debugger-mode):
9083 * array.el (array-mode):
9084 * net/eudc.el (eudc-mode): Use define-derived-mode.
9085 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9086 Move initialization into declaration.
9087 (mairix-searches-mode): Use define-derived-mode.
9088 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9089 (eudc-edit-hotlist): Use dolist.
9090 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9091 (Man-mode): Use define-derived-mode.
9092 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9093 (Info-edit-mode): Use define-derived-mode.
9094 (Info-cease-edit): Use Info-mode.
9095 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9096 into declaration.
9097 (eshell-mode): Use define-derived-mode.
9098 * chistory.el (command-history-mode-map): Rename from
9099 command-history-map.
9100 (command-history-mode): Use define-derived-mode.
9101 (Command-history-setup): Remove function.
9102 * calc/calc.el (calc-trail-mode-map): New var.
9103 (calc-trail-mode): Use define-derived-mode.
9104 (calc-trail-buffer): Set calc-main-buffer manually.
9105 * bookmark.el (bookmark-insert-annotation): New function.
9106 (bookmark-edit-annotation): Use it.
9107 (bookmark-edit-annotation-mode): Make it a proper major mode.
9108 (bookmark-send-edited-annotation): Use derived-mode-p.
9109 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9110 closer to its ideal place. Use \' to match EOS.
9111
9112 * profiler.el (profiler-calltree-find): Use function-equal.
9113
9114 2013-09-10 Glenn Morris <rgm@gnu.org>
9115
9116 * files.el (interpreter-mode-alist): Convert to regexps.
9117 (set-auto-mode): Adapt for this. (Bug#15306)
9118 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9119 Comment out unused variable.
9120 * progmodes/cc-mode.el (interpreter-mode-alist):
9121 * progmodes/python.el (interpreter-mode-alist):
9122 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9123 * progmodes/sh-script.el (sh-set-shell):
9124 No longer use interpreter-mode-alist to get list of shells.
9125
9126 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9127
9128 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * simple.el: Use set-temporary-overlay-map for universal-argument.
9131 (universal-argument-map): Don't use default-bindings (bug#15317).
9132 Bind switch-frame explicitly. Replace universal-argument-minus with
9133 a conditional binding.
9134 (universal-argument-num-events, saved-overriding-map): Remove.
9135 (restore-overriding-map): Remove.
9136 (universal-argument--mode): Rename from save&set-overriding-map,
9137 and rewrite.
9138 (universal-argument, universal-argument-more, negative-argument)
9139 (digit-argument): Adjust accordingly.
9140 (universal-argument-minus): Remove.
9141 (universal-argument-other-key): Remove.
9142
9143 * subr.el (with-demoted-errors): Add `format' argument.
9144
9145 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9146
9147 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9148 `tramp-cleanup-connection'.
9149
9150 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9151 parameters KEEP-DEBUG and KEEP-PASSWORD.
9152
9153 * net/tramp.el (tramp-file-name-handler):
9154 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9155 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9156 (tramp-maybe-open-connection):
9157 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9158 Use `tramp-cleanup-connection'.
9159
9160 * net/tramp-sh.el (tramp-maybe-open-connection):
9161 Catch 'uname-changed inside the progress reporter.
9162
9163 2013-09-10 Glenn Morris <rgm@gnu.org>
9164
9165 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9166
9167 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9168 returns "alternate access method" in mode (eg "-rw-r--r--.").
9169
9170 2013-09-08 Glenn Morris <rgm@gnu.org>
9171
9172 * saveplace.el (load-save-place-alist-from-file):
9173 Demote errors. (Bug#15305)
9174
9175 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9176
9177 Improve compatibility with older Emacsen, and XEmacs.
9178
9179 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9180 only if it is bound. It isn't for XEmacs.
9181 (with-tramp-progress-reporter): Do not let-bind `result'.
9182 This yields to scoping errors in XEmacs.
9183 (tramp-handle-make-auto-save-file-name): New function, moved from
9184 tramp-sh.el.
9185
9186 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9187 for `make-auto-save-file-name'.
9188 (tramp-adb--gnu-switches-to-ash):
9189 Use `tramp-compat-replace-regexp-in-string'.
9190
9191 * net/tramp-cache.el (tramp-cache-print): Call
9192 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9193
9194 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9195 bound. It isn't for XEmacs.
9196
9197 * net/tramp-compat.el (tramp-compat-copy-file):
9198 Catch `wrong-number-of-arguments' error.
9199 (tramp-compat-replace-regexp-in-string): New defun.
9200
9201 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9202 for `make-auto-save-file-name'.
9203 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9204 `copy-file'.
9205 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9206 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9207 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9208
9209 * net/tramp-gw.el (tramp-gw-open-network-stream):
9210 Use `tramp-compat-replace-regexp-in-string'.
9211
9212 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9213 Call `tramp-handle-make-auto-save-file-name'.
9214 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9215 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9216 (tramp-sh-file-inotifywait-process-filter):
9217 Use `tramp-compat-replace-regexp-in-string'.
9218 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9219
9220 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9221 for `make-auto-save-file-name'.
9222 (tramp-smb-handle-copy-directory):
9223 Call `tramp-compat-replace-regexp-in-string'.
9224 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9225 (tramp-smb-handle-copy-file): Improve error message.
9226 (tramp-smb-handle-rename-file): Rename directly only in case
9227 `newname' does not exist yet. This is a restriction of smbclient.
9228 (tramp-smb-maybe-open-connection): Rerun the function only when
9229 `auth-sources' is non-nil.
9230
9231 2013-09-08 Kenichi Handa <handa@gnu.org>
9232
9233 * international/characters.el: Set category "^" (Combining) for
9234 more characters.
9235
9236 2013-09-07 Alan Mackenzie <acm@muc.de>
9237
9238 Correctly fontify Java class constructors.
9239 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9240 in Java Mode.
9241 (c-recognize-typeless-decls): Set the Java value to t.
9242 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9243 While handling a "(", add a check for, effectively, Java, and handle a
9244 "typeless" declaration there.
9245
9246 2013-09-07 Roland Winkler <winkler@gnu.org>
9247
9248 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9249 field subtitle for entry type book.
9250
9251 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * minibuffer.el: Make minibuffer-complete call completion-in-region
9254 rather than other way around.
9255 (completion--some, completion-pcm--find-all-completions):
9256 Don't delay signals when debugging.
9257 (minibuffer-completion-contents): Beware fields within the
9258 minibuffer contents.
9259 (completion-all-sorted-completions): Use defvar-local.
9260 (completion--do-completion, completion--cache-all-sorted-completions)
9261 (completion-all-sorted-completions, minibuffer-force-complete):
9262 Add args `beg' and `end'.
9263 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9264 (minibuffer-complete): Use completion-in-region.
9265 (completion-complete-and-exit): New fun, extracted from
9266 minibuffer-complete-and-exit.
9267 (minibuffer-complete-and-exit): Use it.
9268 (completion--complete-and-exit): Rename from
9269 minibuffer--complete-and-exit.
9270 (completion-in-region--single-word): New function, extracted from
9271 minibuffer-complete-word.
9272 (minibuffer-complete-word): Use it.
9273 (display-completion-list): Make `common-substring' argument obsolete.
9274 (completion--in-region): Call completion--in-region-1 instead of
9275 minibuffer-complete.
9276 (completion-help-at-point): Pass boundaries to
9277 minibuffer-completion-help as args rather than via an overlay.
9278 (completion-pcm--string->pattern): Use `any-delim'.
9279 (completion-pcm--optimize-pattern): New function.
9280 (completion-pcm--pattern->regex): Handle `any-delim'.
9281 * icomplete.el (icomplete-forward-completions)
9282 (icomplete-backward-completions, icomplete-completions):
9283 Adjust calls to completion-all-sorted-completions and
9284 completion--cache-all-sorted-completions.
9285 (icomplete-with-completion-tables): Default to t.
9286 * emacs-lisp/crm.el (crm--current-element): Rename from
9287 crm--select-current-element. Don't put an overlay but return the
9288 boundaries instead.
9289 (crm--completion-command): Take two new args to bind to the boundaries.
9290 (crm-completion-help): Adjust accordingly.
9291 (crm-complete): Use completion-in-region.
9292 (crm-complete-word): Use completion-in-region--single-word.
9293 (crm-complete-and-exit): Use completion-complete-and-exit.
9294
9295 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9298 than dynamically.
9299
9300 2013-09-06 Juri Linkov <juri@jurta.org>
9301
9302 * info.el (Info-display-images-node): When image file doesn't exist
9303 display text version of the image if it's provided in the Info file.
9304 Otherwise, display the location of missing image from SRC attribute.
9305 Add help-echo text property from ALT attribute. (Bug#15279)
9306
9307 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9308
9309 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9310 (edit-abbrevs-mode): Use define-derived-mode.
9311
9312 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9313 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9314 that it's defined.
9315 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9316 Use define-derived-mode.
9317
9318 * epg.el (epg-start-encrypt): Minor CSE simplification.
9319
9320 2013-09-06 William Xu <william.xwl@gmail.com>
9321
9322 * arc-mode.el: Add support for 7za (bug#15264).
9323 (archive-7z-program): New var.
9324 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9325 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9326 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9327
9328 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9329
9330 Remove URL syntax.
9331
9332 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9333 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9334 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9335 (tramp-postfix-host-format, tramp-file-name-regexp)
9336 (tramp-completion-file-name-regexp)
9337 (tramp-completion-dissect-file-name)
9338 (tramp-handle-substitute-in-file-name): Remove 'url case.
9339 (tramp-file-name-regexp-url)
9340 (tramp-completion-file-name-regexp-url): Remove constants.
9341
9342 2013-09-06 Glenn Morris <rgm@gnu.org>
9343
9344 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9345
9346 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9347
9348 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9349 keywords" below "here-doc beginnings" (Bug#15270).
9350
9351 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9352
9353 * subr.el (pop): Use `car-safe'.
9354 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9355 to detect unused `pop' return value.
9356
9357 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9358 var `block-regexp'.
9359 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9360 (python-fill-string): Remove unused var `marker'.
9361 (python-skeleton-add-menu-items): Remove unused var `items'.
9362
9363 * international/mule-cmds.el: Require CL.
9364 (find-coding-systems-for-charsets): Avoid add-to-list.
9365 (sanitize-coding-system-list): New function, extracted from
9366 select-safe-coding-system-interactively.
9367 (select-safe-coding-system-interactively): Use it.
9368 (read-input-method-name): Accept symbols for `default'.
9369
9370 * emacs-lisp/advice.el (defadvice): Add indent rule.
9371
9372 2013-09-05 Daniel Hackney <dan@haxney.org>
9373
9374 * dired-x.el:
9375 * net/ange-ftp.el:
9376 * net/browse-url.el:
9377 * net/dbus.el:
9378 * net/eudc.el:
9379 * net/eudcb-ldap.el:
9380 * net/eww.el:
9381 * net/imap.el:
9382 * printing.el:
9383 * vc/ediff-diff.el:
9384 * vc/ediff-init.el:
9385 * vc/ediff-merg.el:
9386 * vc/ediff-mult.el:
9387 * vc/ediff-util.el:
9388 * vc/ediff-wind.el:
9389 * vc/ediff.el:
9390 * vc/emerge.el:
9391 * vc/pcvs.el:
9392 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9393 byte compiler. Remove some unused let-bound variables.
9394
9395 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9398 a "ref-cell", since it gets better optimized (bug#14883).
9399
9400 2013-09-05 Glenn Morris <rgm@gnu.org>
9401
9402 * progmodes/cc-awk.el (c-forward-sws): Declare.
9403
9404 2013-09-04 Glenn Morris <rgm@gnu.org>
9405
9406 * generic-x.el [rul-generic-mode]: Require cc-mode.
9407 (c++-mode-syntax-table): Declare.
9408 (rul-generic-mode-syntax-table): Init in the defvar.
9409
9410 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9413 (vc-do-command, vc-set-async-update):
9414 * vc/vc-mtn.el (vc-mtn-dir-status):
9415 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9416 (vc-hg-pull, vc-hg-merge-branch):
9417 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9418 (vc-git-merge-branch):
9419 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9420 (vc-cvs-dir-status-files):
9421 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9422 (vc-bzr-dir-status-files):
9423 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9424 * vc/vc-annotate.el: Use lexical-binding.
9425 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9426 (vc-sentinel-movepoint): Declare.
9427 (vc-annotate): Don't use `goto-line'.
9428 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9429 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9430 (vc-sentinel-movepoint): Declare.
9431 * vc/vc-svn.el: Use lexical-binding.
9432 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9433 * vc/vc-sccs.el:
9434 * vc/vc-rcs.el: Use lexical-binding.
9435
9436 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9437 `deleted'. Don't drop errors silently.
9438
9439 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9440
9441 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9442
9443 * vc/vc.el (vc-ignore): Rewrite.
9444 (vc-default-ignore): New function.
9445 (vc-default-ignore-completion-table): Use find-ignore-file.
9446
9447 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9448 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9449 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9450 Remove. Most code moved to vc.el.
9451
9452 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9455 * net/tramp-smb.el (tramp-smb-get-file-entries):
9456 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9457 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9458
9459 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9460 Update call to it.
9461 (eww-change-select): Remove unused var `properties'.
9462 (eww-make-unique-file-name): Remove unused var `base'.
9463
9464 * finder.el (finder-compile-keywords): Don't mess with windows.
9465
9466 * calculator.el (calculator-funcall): Fix typo in last change.
9467
9468 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9469
9470 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9471 <pkg>-autoloads.el file stop us.
9472
9473 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9474 warnings, and factor out common code.
9475
9476 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9477
9478 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9479 two-character operators and whether the character preceding them
9480 changes their meaning (Bug#15208).
9481
9482 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9483
9484 Format code sent to Python shell for robustness.
9485 * progmodes/python.el (python-shell-buffer-substring):
9486 New function.
9487 (python-shell-send-region, python-shell-send-buffer): Use it.
9488
9489 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9490
9491 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9492 * net/tramp.el (tramp-user-error): ... here.
9493 (tramp-find-method, tramp-check-proper-host)
9494 (tramp-dissect-file-name, tramp-debug-message)
9495 (tramp-handle-shell-command):
9496 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9497 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9498
9499 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9500
9501 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9502
9503 * avoid.el (mouse-avoidance-point-position)
9504 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9505 returns nil.
9506
9507 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9508
9509 * progmodes/python.el (python-shell-completion-get-completions):
9510 Drop use of deleted `comint-last-prompt-overlay'.
9511 (python-nav-if-name-main): New command.
9512
9513 2013-09-01 Glenn Morris <rgm@gnu.org>
9514
9515 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9516 Avoid leading space in $wins. Otherwise the sed command used by
9517 eg compile-main ends up containing "/*.el". (Bug#15170)
9518
9519 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9520
9521 2013-08-30 Glenn Morris <rgm@gnu.org>
9522
9523 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9524 Fix is-this-a-directory logic. (Bug#15220)
9525
9526 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9527
9528 * textmodes/css-mode.el: Use SMIE.
9529 (css-smie-grammar): New var.
9530 (css-smie--forward-token, css-smie--backward-token)
9531 (css-smie-rules): New functions.
9532 (css-mode): Use them.
9533 (css-navigation-syntax-table): Remove var.
9534 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9535 (css-indent-calculate, css-indent-line): Remove functions.
9536
9537 Misc changes to reduce use of `(lambda...); and other cleanups.
9538 * cus-edit.el: Use lexical-binding.
9539 (customize-push-and-save, customize-apropos)
9540 (custom-buffer-create-internal): Use closures.
9541 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9542 * progmodes/ada-xref.el: Use setq.
9543 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9544 * dframe.el: Use lexical-binding.
9545 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9546 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9547 * descr-text.el: Use lexical-binding.
9548 (describe-text-widget, describe-text-sexp, describe-property-list):
9549 Use closures.
9550 * comint.el (comint-history-isearch-push-state): Use a closure.
9551 * calculator.el: Use lexical-binding.
9552 (calculator-number-to-string): Make it work with lexical-binding.
9553 (calculator-funcall): Same and use cl-letf.
9554
9555 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9556 (lisp--company-doc-string, lisp--company-location): New functions.
9557 (lisp-completion-at-point): Use them to improve Company support.
9558
9559 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9560 params of lambda expressions.
9561 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9562 (ruby-smie--opening-pipe-p): New function.
9563 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9564 symbols and matched |...| for formal params.
9565 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9566 from being treated as hanging. Handle "rescue".
9567
9568 2013-08-29 Glenn Morris <rgm@gnu.org>
9569
9570 * progmodes/cc-engine.el (c-pull-open-brace):
9571 Move definition before use.
9572
9573 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9574
9575 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9576 are immutable. Don't use `unsafe' any more.
9577 (cl--defsubst-expand): Don't substitute at the same time as keeping
9578 a residual unused let-binding. Don't use `unsafe' any more.
9579
9580 2013-08-29 Glenn Morris <rgm@gnu.org>
9581
9582 * calendar/cal-china.el (calendar-chinese-year-cache):
9583 Recenter on 2015.
9584
9585 * nxml/nxml-util.el (nxml-debug-clear-inside):
9586 Use cl-loop rather than loop.
9587
9588 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9589
9590 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9591
9592 2013-08-28 Glenn Morris <rgm@gnu.org>
9593
9594 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9595
9596 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9597
9598 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9599
9600 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * simple.el (repeat-complex-command--called-interactively-skip):
9603 New function.
9604 (repeat-complex-command): Use it (bug#14136).
9605
9606 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9607 (c-define-abbrev-table): Add `doc' argument.
9608 (c-mode-abbrev-table, c++-mode-abbrev-table)
9609 (objc-mode-abbrev-table, java-mode-abbrev-table)
9610 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9611 (awk-mode-abbrev-table): Use it.
9612 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9613 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9614 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9615 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9616 Move initialization into the declaration; and remove any
9617 autoload cookie.
9618
9619 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9620 and dynamic let binding.
9621
9622 * vc/smerge-mode.el: Remove redundant :group args.
9623
9624 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9625 to load-path.
9626
9627 2013-08-28 Juri Linkov <juri@jurta.org>
9628
9629 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9630 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9631 (isearch-other-meta-char): Handle an undefined shifted printing
9632 character by downshifting it. (Bug#15200)
9633
9634 2013-08-28 Juri Linkov <juri@jurta.org>
9635
9636 * isearch.el (isearch-search): Change regexp error message for
9637 non-regexp searches. (Bug#15166)
9638
9639 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9640
9641 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9642 for portability to hosts where /bin/sh has problems.
9643
9644 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9647
9648 2013-08-27 Juri Linkov <juri@jurta.org>
9649
9650 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9651 in the keyboard macro. (Bug#15126)
9652
9653 2013-08-27 Juri Linkov <juri@jurta.org>
9654
9655 * isearch.el (isearch-quote-char): Comment out converting unibyte
9656 to multibyte, thus syncing with its `quoted-insert' counterpart.
9657 (Bug#15166)
9658
9659 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9660
9661 * window.el (display-buffer-use-some-window): Add missing
9662 argument in call of get-largest-window (Bug#15185).
9663 Reported by Stephen Leake.
9664
9665 2013-08-27 Glenn Morris <rgm@gnu.org>
9666
9667 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9668
9669 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9670
9671 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9672 from a matcher-function unless there's no more matches (bug#15161).
9673
9674 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9675
9676 * minibuffer.el: Revert change from 2013-08-20.
9677
9678 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9679 with text property `tramp-default', if appropriate.
9680 (tramp-check-proper-host): New defun.
9681 (tramp-dissect-file-name): Do not check hostname. Revert change
9682 of 2013-03-18.
9683 (tramp-backtrace): Make VEC-OR-PROC optional.
9684
9685 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9686 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9687 * net/tramp-sh.el (tramp-maybe-open-connection):
9688 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9689 Apply `tramp-check-proper-host'.
9690
9691 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9692
9693 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9694 lambda expression in order to have `describe-variable' display it.
9695
9696 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9697
9698 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9699 BUF can be optional. (Bug#15186)
9700
9701 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9702
9703 * progmodes/flymake.el (flymake-get-real-file-name-function):
9704 Fix broken customization. (Bug#15184)
9705
9706 2013-08-25 Alan Mackenzie <acm@muc.de>
9707
9708 Improve indentation of bracelists defined by macros (without "=").
9709
9710 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9711 expansion begins with "{", regard it as bracelist when it doesn't
9712 contain a ";".
9713
9714 Parse C++ inher-intro when there's a template split over 2 lines.
9715
9716 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9717 rigorously the search for "class" etc. followed by ":".
9718
9719 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9720 random languages a regexp which never matches rather than nil.
9721
9722 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9723
9724 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9725 (c-awk-regexp-one-line-possibly-open-char-list-re)
9726 (c-awk-one-line-possibly-open-regexp-re)
9727 (c-awk-one-line-non-syn-ws*-re): Remove.
9728 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9729 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9730 (c-awk-space*-unclosed-regexp-/-re): New constants.
9731 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9732 aren't regexp delimiters.
9733
9734 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9735 handling for a rare situation in AWK Mode involving unterminated
9736 strings/regexps.
9737
9738 2013-08-23 Glenn Morris <rgm@gnu.org>
9739
9740 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9741
9742 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9743
9744 * files.el (create-file-buffer): If the result would begin with
9745 spaces, prepend a "|" instead of removing them. (Bug#15162)
9746
9747 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9748
9749 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9750 text-properties (bug#15155).
9751
9752 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9753 exist any more.
9754 (calc-keypad-redraw): Remove unused var `pad'.
9755 (calc-keypad-press): Remove unused var `menu'.
9756
9757 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9758
9759 * window.el (display-buffer-pop-up-frame):
9760 Call pop-up-frame-function with BUFFER current so `make-frame' will
9761 use it as the new frame's buffer (Bug#15133).
9762
9763 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9764
9765 * calendar/timeclock.el: Minor cleanups.
9766 (timeclock-ask-before-exiting, timeclock-use-display-time):
9767 Use `symbol'.
9768 (timeclock-modeline-display): Define as alias before the
9769 actual definition.
9770 (timeclock-mode-line-display): Use define-minor-mode.
9771 (timeclock-day-list-template): Make it a function, add an argument.
9772 (timeclock-day-list-required, timeclock-day-list-length)
9773 (timeclock-day-list-debt, timeclock-day-list-span)
9774 (timeclock-day-list-break): Adjust calls accordingly.
9775
9776 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9779 Use read--expression so that completion works again.
9780
9781 2013-08-21 Sam Steingold <sds@gnu.org>
9782
9783 Add rudimentary inferior shell interaction
9784 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9785 (sh-set-shell): Reset it.
9786 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9787 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9788
9789 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * align.el: Use lexical-binding.
9792 (align-region): Simplify accordingly.
9793
9794 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9795
9796 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9797
9798 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9799 `non-essential' up.
9800
9801 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9802
9803 * net/tramp.el:
9804 * net/tramp-adb.el:
9805 * net/tramp-cmds.el:
9806 * net/tramp-ftp.el:
9807 * net/tramp-gvfs.el:
9808 * net/tramp-gw.el:
9809 * net/tramp-sh.el: Don't wrap external variable declarations by
9810 `eval-when-compile'.
9811
9812 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9813
9814 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9815 now that Emacs supports ImageMagick animations.
9816
9817 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9818
9819 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9820 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9821
9822 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9823
9824 * window.el (mouse-autoselect-window-select): Do autoselect when
9825 mouse pointer is on margin.
9826
9827 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9828
9829 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9830
9831 2013-08-16 Glenn Morris <rgm@gnu.org>
9832
9833 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9834 Handle "Remote Directory" response of some clients. (Bug#15058)
9835
9836 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9837 Tweak warning. (Bug#14926)
9838
9839 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9840 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9841
9842 * image-mode.el (image-mode-map): Add menu items to reverse,
9843 increase, decrease, reset animation speed.
9844 (image--set-speed, image-increase-speed, image-decrease-speed)
9845 (image-reverse-speed, image-reset-speed): New functions.
9846 (image-mode-map): Add bindings for speed commands.
9847
9848 * image.el (image-animate-get-speed, image-animate-set-speed):
9849 New functions.
9850 (image-animate-timeout): Respect image :speed property.
9851
9852 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9853
9854 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9855 previous line (bug#15101).
9856 (debugger-eval-expression, debugger-record-expression):
9857 Use read--expression (bug#15102).
9858
9859 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9860
9861 Remove byte compiler warnings, visible when compiling with
9862 `byte-compile-force-lexical-warnings' set to t.
9863
9864 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9865 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9866 (tramp-handle-unhandled-file-name-directory)
9867 (tramp-handle-file-notify-add-watch, tramp-action-login)
9868 (tramp-action-succeed, tramp-action-permission-denied)
9869 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9870 arguments with "_".
9871
9872 * net/tramp-adb.el (tramp-adb-parse-device-names)
9873 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9874 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9875 (tramp-adb-handle-file-truename): Remove unused arguments.
9876
9877 * net/tramp-cache.el (tramp-flush-directory-property)
9878 (tramp-flush-connection-property, tramp-list-connections)
9879 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9880
9881 * net/tramp-compat.el (tramp-compat-make-temp-file):
9882 Rename FILENAME to F.
9883
9884 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9885 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9886 (tramp-zeroconf-parse-workstation-device-names)
9887 (tramp-zeroconf-parse-webdav-device-names)
9888 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9889
9890 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9891 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9892
9893 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9894 arguments.
9895 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9896 (tramp-sh-handle-insert-file-contents-literally)
9897 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9898 with "_".
9899 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9900 Remove unused variables.
9901
9902 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9903 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9904 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9905
9906 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9907 Make them a defconst.
9908 (tramp-uuencode-region): Remove unused variable.
9909
9910 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9911
9912 * frameset.el (frameset--prop-setter): New function.
9913 (frameset-prop): Add gv-setter declaration.
9914 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9915 parameter was already set in FILTERED. Doc fix.
9916 (frameset--record-minibuffer-relationships): Allow saving a
9917 minibufferless frame without its corresponding minibuffer frame.
9918 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9919 frame, if the frame id matches.
9920 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9921 frames before orphaned ones.
9922 (frameset-restore): Warn about orphaned windows, instead of error out.
9923
9924 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9925
9926 * window.el (window-make-atom): Don't overwrite parameter
9927 already present.
9928 (display-buffer-in-atom-window): Handle special case where we
9929 split an already atomic window.
9930 (window--major-non-side-window, display-buffer-in-side-window)
9931 (window--side-check): Ignore minibuffer window when walking
9932 window tree.
9933 (window-deletable-p): Return 'frame only if no other frame uses
9934 our minibuffer window.
9935 (record-window-buffer): Run buffer-list-update-hook.
9936 (split-window): Make sure window--check-frame won't destroy an
9937 existing atomic window in case the new window gets nested
9938 inside.
9939 (display-buffer-at-bottom): Ignore minibuffer window when
9940 walking window tree. Don't split a side window.
9941 (pop-to-buffer): Don't set-buffer here, the select-window call
9942 should do that.
9943 (mouse-autoselect-window-select): Autoselect only if we are in the
9944 text portion of the window.
9945
9946 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9947
9948 * net/shr.el (shr-parse-image-data): New function to grab both the
9949 data itself and the Content-Type.
9950 (shr-put-image): Use it.
9951
9952 * net/eww.el (eww-display-image): Ditto.
9953
9954 * image.el (image-content-type-suffixes): New variable.
9955
9956 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9957
9958 * progmodes/python.el (python-imenu--build-tree)
9959 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9960
9961 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9962
9963 * simple.el (backward-word): Mention the optional argument.
9964
9965 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * frameset.el (frameset--make): Rename constructor from make-frameset.
9968 (frameset-p, frameset-valid-p): Don't autoload.
9969 (frameset-valid-p): Use normal accessors.
9970
9971 2013-08-13 Glenn Morris <rgm@gnu.org>
9972
9973 * progmodes/compile.el (compile-command): Tweak example in doc.
9974 * obsolete/scribe.el (scribe-mode):
9975 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9976
9977 * mail/feedmail.el (feedmail-confirm-outgoing)
9978 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9979
9980 * cus-start.el (truncate-partial-width-windows): Fix type.
9981
9982 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9983
9984 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9985
9986 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * emacs-lisp/timer.el (timer--time-setter): New function.
9989 (timer--time): Use it as gv-setter.
9990
9991 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9992 setter is not a symbol.
9993
9994 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9995
9996 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9997 if sending fails. This makes debugging easier.
9998
9999 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10000
10001 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10002 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10003 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10004
10005 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10006
10007 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10008
10009 2013-08-12 Glenn Morris <rgm@gnu.org>
10010
10011 * format.el (format-annotate-function):
10012 Handle read-only text properties in the source. (Bug#14887)
10013
10014 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10015
10016 * net/eww.el (eww-display-html): Ignore coding system errors.
10017 One web site uses "utf-8lias" as the coding system.
10018
10019 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10020
10021 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10022
10023 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10024
10025 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10026 (tutorial--detailed-help): Remove unused local variables.
10027 (tutorial--save-tutorial-to): Use ignore-errors.
10028 (help-with-tutorial): Use looking-at-p.
10029
10030 * view.el (view-buffer-other-window, view-buffer-other-frame):
10031 Mark unused arguments.
10032
10033 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10034 (woman-select-symbol-fonts, woman, woman-find-file)
10035 (woman-insert-file-contents, woman-non-underline-faces):
10036 Use string-match-p.
10037 (woman1-unquote): Move declaration.
10038
10039 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10040 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10041 argument. Remove unused local variable.
10042 (xml-parse-elem-type): Use string-match-p.
10043 (xml-substitute-numeric-entities): Use ignore-errors.
10044
10045 * calculator.el (calculator): Mark unused argument.
10046 (calculator-paste, calculator-quit, calculator-integer-p):
10047 Use ignore-errors.
10048 (calculator-string-to-number, calculator-decimal, calculator-exp)
10049 (calculator-op-or-exp): Use string-match-p.
10050
10051 * dired.el (dired-buffer-more-recently-used-p): Declare.
10052 (dired-insert-set-properties, dired-insert-old-subdirs):
10053 Use ignore-errors.
10054
10055 * dired-aux.el (dired-compress): Use ignore-errors.
10056 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10057 (dired-do-async-shell-command, dired-do-shell-command)
10058 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10059 (dired-insert-subdir-validate): Use string-match-p.
10060 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10061 (dired-add-entry): Use string-match-p, looking-at-p.
10062 (dired-insert-subdir-newpos): Remove unused local variable.
10063
10064 * filenotify.el (file-notify-callback): Remove unused local variable.
10065
10066 * filesets.el (filesets-error): Mark unused argument.
10067 (filesets-which-command-p, filesets-filter-dir-names)
10068 (filesets-directory-files, filesets-get-external-viewer)
10069 (filesets-ingroup-get-data): Use string-match-p.
10070
10071 * find-file.el (ff-other-file-name, ff-other-file-name)
10072 (ff-find-the-other-file, ff-cc-hh-converter):
10073 Remove unused local variables.
10074 (ff-get-file-name): Use string-match-p.
10075 (ff-all-dirs-under): Use ignore-errors.
10076
10077 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10078 (follow-select-if-visible): Remove unused local variable.
10079
10080 * forms.el (read-file-filter): Move declaration.
10081 (forms--make-format, forms--make-parser, forms-insert-record):
10082 Quote function with #'.
10083 (forms--update): Use string-match-p. Quote function with #'.
10084
10085 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10086 (help-make-xrefs): Use looking-at-p.
10087 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10088
10089 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10090 (ibuffer-confirm-operation-on): Use string-match-p.
10091
10092 * msb.el (msb-item-handler, msb-dired-item-handler):
10093 Mark unused arguments.
10094
10095 * ses.el (ses-decode-cell-symbol)
10096 (ses-kill-override): Remove unused local variable.
10097 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10098 (ses-load): Use ignore-errors, looking-at-p.
10099 (ses-jump-safe): Use ignore-errors.
10100 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10101
10102 * tabify.el (untabify, tabify): Mark unused arguments.
10103
10104 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10105 Mark unused argument.
10106 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10107 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10108
10109 * emacs-lisp/timer.el (timer--time): Define setter with
10110 gv-define-setter to avoid deprecation warning.
10111
10112 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10113 (*record-cmpl-statistics-p*): Remove (was commented out).
10114 (cmpl-statistics-block): Remove (body was commented out).
10115 All callers changed.
10116 (add-completions-from-buffer, load-completions-from-file):
10117 Remove unused variables.
10118
10119 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10120
10121 * filecache.el (file-cache-delete-file-list):
10122 Print message only when told so.
10123 (file-cache-files-matching): Use #' in mapconcat argument.
10124
10125 * ffap.el (ffap-url-at-point): Fix reference to variable
10126 thing-at-point-default-mail-uri-scheme.
10127
10128 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10129
10130 * subr.el (define-error): New function.
10131 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10132 error-file-not-found and define with define-error.
10133 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10134 and define with define-error.
10135 * userlock.el (file-locked, file-supersession):
10136 * simple.el (mark-inactive):
10137 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10138 * progmodes/ada-mode.el (ada-mode-errors):
10139 * play/life.el (life-extinct):
10140 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10141 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10142 * nxml/rng-util.el (rng-error):
10143 * nxml/rng-uri.el (rng-uri-error):
10144 * nxml/rng-match.el (rng-compile-error):
10145 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10146 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10147 * nxml/nxml-rap.el (nxml-scan-error):
10148 * nxml/nxml-outln.el (nxml-outline-error):
10149 * net/soap-client.el (soap-error):
10150 * net/gnutls.el (gnutls-error):
10151 * net/ange-ftp.el (ftp-error):
10152 * mpc.el (mpc-proc-error):
10153 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10154 (json-number-format, json-string-escape, json-string-format)
10155 (json-key-format, json-object-format):
10156 * jka-compr.el (compression-error):
10157 * international/quail.el (quail-error):
10158 * international/kkc.el (kkc-error):
10159 * emacs-lisp/ert.el (ert-test-failed):
10160 * calc/calc.el (calc-error, inexact-result, math-overflow)
10161 (math-underflow):
10162 * bookmark.el (bookmark-error-no-filename):
10163 * epg.el (epg-error): Define with define-error.
10164
10165 * time.el (display-time-event-handler)
10166 (display-time-next-load-average): Don't call sit-for since it seems
10167 unnecessary (bug#15045).
10168
10169 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10170 Use #' instead of ' to quote functions.
10171 (checkdoc-output-mode): Use setq-local.
10172 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10173 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10174 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10175 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10176 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10177 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10178 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10179 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10180
10181 * ido.el (ido-completion-help): Fix up compiler warning.
10182
10183 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10184
10185 * frameset.el (frameset-p): Add autoload cookie.
10186 (frameset--jump-to-register): New function, based on code moved from
10187 register.el.
10188 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10189
10190 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10191 (frameset-restore, frameset-save, frameset-session-filter-alist):
10192 Remove declarations.
10193 (register-alist): Doc fix.
10194 (frameset-to-register): Move to frameset.el.
10195 (jump-to-register, describe-register-1): Remove frameset-specific code.
10196
10197 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10198
10199 * allout-widgets.el (allout-widgets-pre-command-business)
10200 (allout-widgets-post-command-business)
10201 (allout-widgets-after-change-handler)
10202 (allout-decorate-item-and-context, allout-set-boundary-marker)
10203 (allout-body-modification-handler)
10204 (allout-graphics-modification-handler): Mark ignored arguments.
10205 (allout-widgets-post-command-business)
10206 (allout-widgets-exposure-change-processor)
10207 (allout-widgets-exposure-undo-processor)
10208 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10209 (allout-parse-item-at-point, allout-decorate-item-guides)
10210 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10211 * allout.el (epa-passphrase-callback-function): Declare.
10212 (allout-overlay-insert-in-front-handler)
10213 (allout-overlay-interior-modification-handler)
10214 (allout-isearch-end-handler, allout-chart-siblings)
10215 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10216 (allout-yank-processing, allout-process-exposed)
10217 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10218 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10219 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10220 (lisp-indent-defform): Mark ignored arguments.
10221 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10222 (calculate-lisp-indent): Remove unused variables.
10223 * international/characters.el (indian-2-column, arabic-2-column)
10224 (tibetan): Mark ignored arguments.
10225 (use-cjk-char-width-table): Mark ignored arguments.
10226 Remove unused variables.
10227 * international/fontset.el (build-default-fontset-data)
10228 (x-compose-font-name, create-fontset-from-fontset-spec):
10229 Mark ignored arguments.
10230 (fontset-plain-name): Remove unused variables.
10231 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10232 (keyboard-coding-system): Mark ignored arguments.
10233 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10234 * help.el (resize-temp-buffer-window):
10235 * window.el (display-buffer-in-major-side-window)
10236 (display-buffer-in-side-window, display-buffer-in-previous-window):
10237 Remove unused variables.
10238 * isearch.el (isearch-forward-symbol):
10239 * version.el (emacs-bzr-version-bzr):
10240 * international/mule-cmds.el (current-language-environment):
10241 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10242 (x-handle-display):
10243 * term/pc-win.el (x-list-fonts, x-display-planes)
10244 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10245 (x-server-version, x-display-screens, x-display-mm-height)
10246 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10247 (x-selection-owner-p, x-own-selection-internal)
10248 (x-disown-selection-internal, x-get-selection-internal)
10249 (msdos-initialize-window-system):
10250 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10251 * term/x-win.el (x-handle-no-bitmap-icon):
10252 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10253 (vc-default-find-file-hook, vc-default-extra-menu):
10254 Mark ignored arguments.
10255
10256 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10259 break-condition in the context of the debugged code (bug#12685).
10260
10261 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10262
10263 * comint.el:
10264 Do not use an overlay to highlight the last prompt. (Bug#14744)
10265 (comint-mode): Make comint-last-prompt buffer local.
10266 (comint-last-prompt): New variable.
10267 (comint-last-prompt-overlay): Remove. Superseded by
10268 comint-last-prompt.
10269 (comint-snapshot-last-prompt, comint-output-filter):
10270 Use comint-last-prompt.
10271
10272 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10273
10274 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10275 (frameset-save): Check validity of the resulting frameset.
10276
10277 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10278
10279 * ido.el (ido-record-command): Add doc string.
10280
10281 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10282
10283 * frameset.el (frameset): Do not disable creation of the default
10284 frameset-p predicate. Doc fix.
10285 (frameset-valid-p): New function, copied from the old predicate-p.
10286 Add additional checks.
10287 (frameset-restore): Check with frameset-valid-p.
10288 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10289 (frameset-name, frameset-description, frameset-properties)
10290 (frameset-states): Add docstring.
10291 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10292 (frameset-filter-alist): Doc fixes.
10293
10294 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10295
10296 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10297
10298 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10299
10300 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10301 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10302 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10303 (byte-compile-normal-call): Remove obsolescence check.
10304
10305 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10306
10307 * frameset.el (frameset-restore): Doc fix.
10308
10309 * register.el (frameset-frame-id, frameset-frame-with-id)
10310 (frameset-p, frameset-restore, frameset-save): Declare.
10311 (register-alist): Document framesets.
10312 (frameset-session-filter-alist): Declare.
10313 (frameset-to-register): New function.
10314 (jump-to-register): Implement jumping to framesets. Doc fix.
10315 (describe-register-1): Describe framesets.
10316
10317 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10318
10319 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10320
10321 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10322 Use lexical-binding.
10323
10324 * frameset.el (frameset): Use type vector, not list (incompatible
10325 change). Do not declare a new constructor, use the default one.
10326 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10327 `name' and `description', respectively, and add read-only slot
10328 `timestamp'. Doc fixes.
10329 (frameset-copy, frameset-persistent-filter-alist)
10330 (frameset-filter-alist, frameset-switch-to-gui-p)
10331 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10332 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10333 (frameset-filter-iconified, frameset-keep-original-display-p):
10334 Doc fixes.
10335 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10336 Rename from frameset-filter-(save|restore)-param. All callers changed.
10337 Doc fix.
10338 (frameset-p): Adapt to change to vector and be more thorough.
10339 Change arg name to OBJECT. Doc fix.
10340 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10341 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10342 All callers changed.
10343 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10344 All callers changed.
10345 (frameset--record-minibuffer-relationships): Rename from
10346 frameset--process-minibuffer-frames. All callers changed.
10347 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10348 Use new default constructor (again). Doc fix.
10349 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10350 All callers changed.
10351 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10352 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10353 Doc fix.
10354 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10355 PARAMETERS and WINDOW-STATE, respectively.
10356 (frameset-restore): Add new keyword argument PREDICATE.
10357 Reset frameset--target-display to nil. Doc fix.
10358
10359 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10360
10361 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10362 (bat-mode): Use it.
10363 (bat-mode-syntax-table): Mark \n as end-of-comment.
10364 (bat-font-lock-keywords): Remove comment rule.
10365
10366 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10367 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10368
10369 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10370 (byte-compile-callargs-warn): Use `push'.
10371 (byte-compile-arglist-warn): Ignore higher-order "calls".
10372 (byte-compile-file-form-autoload): Use `pcase'.
10373 (byte-compile-function-form): If quoting a symbol, check that it exists.
10374
10375 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10376
10377 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10378 and add a few popular commands found in batch files.
10379 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10380 (dos-mode): Doc fixes.
10381
10382 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10385 (dos-mode): Use setq-local. Add space after "rem".
10386 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10387 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10388
10389 2013-08-07 Arni Magnusson <arnima@hafro.is>
10390
10391 * progmodes/dos.el: New file.
10392 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10393 dos-mode.
10394
10395 2013-08-06 Glenn Morris <rgm@gnu.org>
10396
10397 * calendar/calendar.el: Add new faces, and day-header-array.
10398 (calendar-weekday-header, calendar-weekend-header)
10399 (calendar-month-header): New faces.
10400 (calendar-day-header-construct): New function.
10401 (calendar-day-header-width): Also :set calendar-day-header-array.
10402 (calendar-american-month-header, calendar-european-month-header)
10403 (calendar-iso-month-header): Use calendar- faces.
10404 (calendar-generate-month):
10405 Use calendar-day-header-array for day headers; apply faces to them.
10406 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10407 (calendar-abbrev-construct): Add optional maxlen argument.
10408 (calendar-day-name-array): Doc fix.
10409 (calendar-day-name-array, calendar-abbrev-length)
10410 (calendar-day-abbrev-array):
10411 Also :set calendar-day-header-array, and maybe redraw.
10412 (calendar-day-header-array): New option. (Bug#15007)
10413 (calendar-font-lock-keywords): Set to nil and make obsolete.
10414 (calendar-day-name): Add option to use header array.
10415
10416 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10417
10418 * net/shr.el (shr-render-td): Remove debugging.
10419 (shr-render-td): Make width computation consistent by defaulting
10420 all zero-width columns to 10 characters. This may not be optimal,
10421 but it's at least consistent.
10422 (shr-make-table-1): Redo last change to fix the real problem in
10423 colspan handling.
10424
10425 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10426
10427 * files.el (cache-long-line-scans):
10428 Make obsolete alias to `cache-long-scans'.
10429
10430 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10431
10432 * frameset.el (frameset, frameset-filter-alist)
10433 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10434 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10435 (frameset-compute-pos): Rename from frameset--compute-pos,
10436 and add docstring.
10437 (frameset-move-onscreen): Use frameset-compute-pos.
10438 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10439
10440 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10441 Fix typos in docstrings.
10442
10443 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10444
10445 * frame.el (get-other-frame): Tiny cleanup.
10446
10447 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10448
10449 * vc/vc.el (vc-default-ignore-completion-table):
10450 Silence byte-compiler warning.
10451
10452 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10453 slot, which can indeed be nil.
10454 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10455 Move entry for `left' from persistent to live filter alist.
10456 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10457 Doc fixes.
10458 (frameset-filter-params): When restoring a frame, copy items added to
10459 `filtered', to avoid unwittingly modifying the original parameters.
10460 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10461 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10462
10463 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10464 to use looking-at-p instead of looking-at. (Bug#15028)
10465
10466 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 Revert introduction of isearch-filter-predicates (bug#14714).
10469 Rely on add-function instead.
10470 * isearch.el (isearch-filter-predicates): Rename it back to
10471 isearch-filter-predicate.
10472 (isearch-message-prefix): Use advice-function-mapc and advice
10473 properties to get the isearch-message-prefix.
10474 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10475 instead of run-hook-with-args-until-failure.
10476 (isearch-filter-visible): Not obsolete any more.
10477 * loadup.el: Preload nadvice.
10478 * replace.el (perform-replace): Revert to funcall
10479 instead of run-hook-with-args-until-failure.
10480 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10481 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10482 dired-isearch-filenames-toggle; make it into a proper minor mode.
10483 Use add/remove-function.
10484 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10485 Call the minor-mode rather than add/remove-hook.
10486 (dired-isearch-filter-filenames):
10487 Remove isearch-message-prefix property.
10488 * info.el (Info--search-loop): New function, extracted from Info-search.
10489 Funcall isearch-filter-predicate instead of
10490 run-hook-with-args-until-failure isearch-filter-predicates.
10491 (Info-search): Use it.
10492 (Info-mode): Use isearch-filter-predicate instead of
10493 isearch-filter-predicates.
10494
10495 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10496
10497 Do not call to `selected-window' where it is assumed by default.
10498 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10499 `window-hscroll', `window-width', `window-height', `window-buffer',
10500 `window-frame', `window-start', `window-point', `next-window'
10501 and `window-display-table'.
10502 * abbrev.el (abbrev--default-expand):
10503 * bs.el (bs--show-with-configuration):
10504 * buff-menu.el (Buffer-menu-mouse-select):
10505 * calc/calc.el (calc):
10506 * calendar/calendar.el (calendar-generate-window):
10507 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10508 (diary-make-entry):
10509 * comint.el (send-invisible, comint-dynamic-complete-filename)
10510 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10511 * completion.el (complete):
10512 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10513 * disp-table.el (describe-current-display-table):
10514 * doc-view.el (doc-view-insert-image):
10515 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10516 * ehelp.el (with-electric-help):
10517 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10518 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10519 * emacs-lisp/helper.el (Helper-help-scroller):
10520 * emulation/cua-base.el (cua--post-command-handler-1):
10521 * eshell/esh-mode.el (eshell-output-filter):
10522 * ffap.el (ffap-gnus-wrapper):
10523 * help-macro.el (make-help-screen):
10524 * hilit-chg.el (highlight-compare-buffers):
10525 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10526 * hl-line.el (global-hl-line-highlight):
10527 * icomplete.el (icomplete-simple-completing-p):
10528 * isearch.el (isearch-done):
10529 * jit-lock.el (jit-lock-stealth-fontify):
10530 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10531 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10532 * mpc.el (mpc-tagbrowser, mpc):
10533 * net/rcirc.el (rcirc-any-buffer):
10534 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10535 * play/landmark.el (landmark-max-width, landmark-max-height):
10536 * play/zone.el (zone):
10537 * progmodes/compile.el (compilation-goto-locus):
10538 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10539 * progmodes/etags.el (find-tag-other-window):
10540 * progmodes/fortran.el (fortran-column-ruler):
10541 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10542 * progmodes/verilog-mode.el (verilog-point-text):
10543 * reposition.el (reposition-window):
10544 * rot13.el (toggle-rot13-mode):
10545 * server.el (server-switch-buffer):
10546 * shell.el (shell-dynamic-complete-command)
10547 (shell-dynamic-complete-environment-variable):
10548 * simple.el (insert-buffer, set-selective-display)
10549 (delete-completion-window):
10550 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10551 (speedbar-recenter):
10552 * startup.el (fancy-splash-head):
10553 * textmodes/ispell.el (ispell-command-loop):
10554 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10555 * tutorial.el (help-with-tutorial):
10556 * vc/add-log.el (add-change-log-entry):
10557 * vc/compare-w.el (compare-windows):
10558 * vc/ediff-help.el (ediff-indent-help-message):
10559 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10560 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10561 (ediff-setup-control-frame):
10562 * vc/emerge.el (emerge-position-region):
10563 * vc/pcvs-util.el (cvs-bury-buffer):
10564 * window.el (walk-windows, mouse-autoselect-window-select):
10565 * winner.el (winner-set-conf, winner-undo): Related users changed.
10566
10567 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10568
10569 * frameset.el (frameset--set-id): Doc fix.
10570 (frameset-frame-id, frameset-frame-id-equal-p)
10571 (frameset-locate-frame-id): New functions.
10572 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10573 (frameset-restore): Use them.
10574
10575 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10576
10577 Do not call to `selected-frame' where it is assumed by default.
10578 Affected functions are `raise-frame', `redraw-frame',
10579 `frame-first-window', `frame-terminal' and `delete-frame'.
10580 * calendar/appt.el (appt-disp-window):
10581 * epg.el (epg-wait-for-completion):
10582 * follow.el (follow-delete-other-windows-and-split)
10583 (follow-avoid-tail-recenter):
10584 * international/mule.el (set-terminal-coding-system):
10585 * mail/rmail.el (rmail-mail-return):
10586 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10587 * progmodes/f90.el (f90-add-imenu-menu):
10588 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10589 * server.el (server-switch-buffer):
10590 * simple.el (delete-completion-window):
10591 * talk.el (talk):
10592 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10593 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10594 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10595 * vc/ediff.el (ediff-documentation): Related users changed.
10596 * frame.el (selected-terminal): Remove the leftover.
10597
10598 2013-08-05 Glenn Morris <rgm@gnu.org>
10599
10600 * calendar/calendar.el (calendar-generate-month):
10601 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10602 (calendar-generate-month, calendar-font-lock-keywords):
10603 Fix for calendar-day-header-width > length of any day name.
10604
10605 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10606
10607 * desktop.el (desktop-clear): Use new name of sort predicate.
10608
10609 * frameset.el (frameset): Add docstring. Move :version property to its
10610 own `version' slot.
10611 (frameset-copy): Rename from copy-frameset.
10612 (frameset-p): Check more thoroughly.
10613 (frameset-prop): Do not check for :version, which is no longer a prop.
10614 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10615 Use new :never value instead of t.
10616 (frameset-filter-alist): Expand and clarify docstring.
10617 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10618 (frameset-filter-minibuffer, frameset-filter-save-param)
10619 (frameset-filter-restore-param, frameset-filter-iconified):
10620 Add pointer to docstring of frameset-filter-alist.
10621 (frameset-filter-params): Rename filter values to be more meaningful:
10622 :never instead of t, and reverse the meanings of :save and :restore.
10623 (frameset--process-minibuffer-frames): Clarify error message.
10624 (frameset-save): Avoid unnecessary and confusing call to framep.
10625 Use new BOA constructor for framesets.
10626 (frameset--reuse-list): Doc fix.
10627 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10628 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10629 (frameset-minibufferless-first-p): Doc fix.
10630 Rename from frameset-sort-frames-for-deletion.
10631 (frameset-restore): Doc fixes. Use new function names.
10632 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10633
10634 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10635
10636 * desktop.el (desktop-restore-forces-onscreen)
10637 (desktop-restore-reuses-frames): Document :keyword constant values.
10638 (desktop-filter-parameters-alist): Remove, now identical to
10639 frameset-filter-alist.
10640 (desktop--filter-tty*): Remove, moved to frameset.el.
10641 (desktop-save-frameset, desktop-restore-frameset):
10642 Do not pass :filters argument.
10643
10644 * frameset.el (frameset-live-filter-alist)
10645 (frameset-persistent-filter-alist): New variables.
10646 (frameset-filter-alist): Use them. Add autoload cookie.
10647 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10648 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10649 `frameset--id' (it's supposed to be internal to frameset.el).
10650 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10651 (frameset--initial-params): New function.
10652 (frameset--get-frame): Use it. Doc fix.
10653 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10654 Accept :all, not 'all.
10655 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10656 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10657 with fbound symbols. Fix frame id matching, and remove matching ids if
10658 the frame being restored is deleted. Obey :delete.
10659
10660 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10661
10662 * subr.el (macrop): New function.
10663 (text-clone--maintaining): New var.
10664 (text-clone--maintain): Rename from text-clone-maintain. Use it
10665 instead of inhibit-modification-hooks.
10666
10667 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10668 a proxy, so as handle autoloads and redefinitions of the target.
10669 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10670
10671 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10672 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10673 (pcase--mutually-exclusive-p): New function.
10674 (pcase--split-consp): Use it.
10675 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10676 mutually exclusive with the current predicate.
10677
10678 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10679 (edebug-macrop): Remove. Use `macrop' instead.
10680 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10681 (ad-macro-p):
10682 * eshell/esh-cmd.el (eshell-macrop):
10683 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10684
10685 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10686
10687 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10688 (advice-mapc): New function, using it.
10689 (advice-function-member-p): New function.
10690 (advice--normalize): Store the cdr in advice--saved-rewrite since
10691 that's the part that will be changed.
10692 (advice--symbol-function): New function.
10693 (advice-remove): Handle removal before the function is defined.
10694 Adjust to new advice--saved-rewrite.
10695 (advice-member-p): Use advice-function-member-p and
10696 advice--symbol-function.
10697
10698 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10699
10700 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10701 (frameset-filter-minibuffer): Doc fix.
10702 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10703 (frameset--set-id, frameset--process-minibuffer-frames)
10704 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10705 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10706
10707 * desktop.el (desktop-clear): Only delete frames when called
10708 interactively and desktop-restore-frames is non-nil. Doc fix.
10709 (desktop-read): Set desktop-saved-frameset to nil.
10710
10711 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10712
10713 * vc/vc.el (vc-ignore): Rewrite.
10714 (vc-default-ignore-completion-table, vc--read-lines)
10715 (vc--add-line, vc--remove-regexp): New functions.
10716
10717 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10718 (vc-svn-ignore-completion-table): New function.
10719
10720 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10721 (vc-hg-ignore-completion-table)
10722 (vc-hg-find-ignore-file): New functions.
10723
10724 * vc/vc-git.el (vc-git-ignore): Rewrite.
10725 (vc-git-ignore-completion-table)
10726 (vc-git-find-ignore-file): New functions.
10727
10728 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10729
10730 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10731 (vc-bzr-ignore-completion-table)
10732 (vc-bzr-find-ignore-file): New functions.
10733
10734 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10735
10736 * frameset.el (frameset-prop): New function and setter.
10737 (frameset-save): Do not modify frame list passed by the caller.
10738
10739 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10740
10741 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10742
10743 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10744
10745 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10746 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10747
10748 * custom.el (custom-initialize-default, custom-initialize-set)
10749 (custom-initialize-reset, custom-initialize-changed): Affect the
10750 toplevel-default-value (bug#6275, bug#14586).
10751 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10752 for bug#6275.
10753
10754 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10755
10756 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10757 Add cl-def* expressions.
10758
10759 * frameset.el (frameset-filter-params): Fix order of arguments.
10760
10761 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10762
10763 Move code related to saving frames to frameset.el.
10764 * desktop.el: Require frameset.
10765 (desktop-restore-frames): Doc fix.
10766 (desktop-restore-reuses-frames): Rename from
10767 desktop-restoring-reuses-frames.
10768 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10769 (desktop-clear): Clear frames too.
10770 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10771 (desktop--filter-tty*, desktop-save, desktop-read):
10772 Use frameset functions.
10773 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10774 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10775 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10776 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10777 (desktop--process-minibuffer-frames, desktop-save-frames)
10778 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10779 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10780 (desktop--sort-states, desktop-restoring-frames-p)
10781 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10782 (desktop-restoring-frameset-p, desktop-restore-frameset)
10783 (desktop--check-dont-save, desktop-save-frameset): New functions.
10784 (desktop--app-id): New constant.
10785 (desktop-first-buffer, desktop-buffer-ok-count)
10786 (desktop-buffer-fail-count): Move before first use.
10787 * frameset.el: New file.
10788
10789 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 * files.el: Use lexical-binding.
10792 (dir-locals-read-from-file): Remove unused `err' variable.
10793 (hack-dir-local-variables--warned-coding): New var.
10794 (hack-dir-local-variables): Use it to avoid repeated warnings.
10795 (make-backup-file-name--default-function): New function.
10796 (make-backup-file-name-function): Use it as default.
10797 (buffer-stale--default-function): New function.
10798 (buffer-stale-function): Use it as default.
10799 (revert-buffer-insert-file-contents--default-function): New function.
10800 (revert-buffer-insert-file-contents-function): Use it as default.
10801 (insert-directory): Avoid add-to-list.
10802
10803 * autorevert.el (auto-revert-handler): Simplify.
10804 Use buffer-stale--default-function.
10805
10806 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10807
10808 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10809
10810 * whitespace.el (whitespace-ensure-local-variables): New function.
10811 (whitespace-cleanup-region): Call it.
10812 (whitespace-turn-on): Call it.
10813
10814 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10815
10816 Complete file name handlers.
10817
10818 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10819 (tramp-handle-verify-visited-file-modtime)
10820 (tramp-handle-file-notify-rm-watch): New functions.
10821 (tramp-call-process): Do not bind `default-directory'.
10822
10823 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10824 Order alphabetically.
10825 <access-file, add-name-to-file, dired-call-process>:
10826 <dired-compress-file, file-acl, file-notify-rm-watch>:
10827 <file-ownership-preserved-p, file-selinux-context>:
10828 <make-directory-internal, make-symbolic-link, set-file-acl>:
10829 <set-file-selinux-context, set-visited-file-modtime>:
10830 <verify-visited-file-modtime>: Add handler.
10831 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10832
10833 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10834 <file-notify-add-watch, file-notify-rm-watch>:
10835 <set-file-times, set-visited-file-modtime>:
10836 <verify-visited-file-modtime>: Add handler.
10837 (with-tramp-gvfs-error-message)
10838 (tramp-gvfs-handle-set-visited-file-modtime)
10839 (tramp-gvfs-fuse-file-name): Remove.
10840 (tramp-gvfs-handle-file-notify-add-watch)
10841 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10842 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10843
10844 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10845 Order alphabetically.
10846 <file-notify-rm-watch>: Use default Tramp handler.
10847 <executable-find>: Remove private handler.
10848 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10849 `default-directory'.
10850 (tramp-sh-handle-executable-find)
10851 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10852 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10853 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10854 Do not use `format' in `tramp-message'.
10855
10856 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10857 <file-notify-rm-watch, set-visited-file-modtime>:
10858 <verify-visited-file-modtime>: Add handler.
10859 (tramp-smb-call-winexe): Do not bind `default-directory'.
10860
10861 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10862
10863 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10864
10865 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10866
10867 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10868 use it.
10869 (log-view-diff-changeset): Same.
10870 (log-view-diff-common): Call backend command `previous-revision'
10871 to find out the previous revision, in both cases. Swap the
10872 variables `to' and `fr', so that `fr' usually refers to the
10873 earlier revision (Bug#14989).
10874
10875 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10876
10877 * ibuf-ext.el (ibuffer-filter-by-filename):
10878 Make it work with dired buffers too.
10879
10880 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10881
10882 * emacs-lisp/re-builder.el (reb-color-display-p):
10883 * files.el (save-buffers-kill-terminal):
10884 * net/browse-url.el (browse-url):
10885 * server.el (server-save-buffers-kill-terminal):
10886 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10887 Prefer nil to selected-frame for the first arg of frame-parameter.
10888
10889 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10890
10891 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10892
10893 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10894
10895 * minibuffer.el (completion--twq-all): Try and preserve each
10896 completion's case choice (bug#14907).
10897
10898 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10899
10900 * net/network-stream.el (open-network-stream): Mention the new
10901 :nogreeting parameter.
10902 (network-stream-open-starttls): Use the :nogreeting parameter
10903 (bug#14938).
10904
10905 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10906
10907 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10908 more natural than popping.
10909
10910 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10911 (shr-urlify): Highlight under mouse.
10912
10913 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10914
10915 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10916
10917 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10918
10919 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10920 buffer for output.
10921
10922 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10923 point-min==1. Fix search string. Fix parentheses missing.
10924
10925 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10926 assume point-min==1. Fix search string. Fix parentheses missing.
10927
10928 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10929
10930 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10931 buffer for output.
10932
10933 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10934
10935 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10936 initial frame is minibuffer-less. (Bug#14841)
10937
10938 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10939
10940 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10941 option.
10942
10943 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10944 (tramp-maybe-open-connection): Use it.
10945
10946 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10947
10948 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10949 minimal set of parameters passed when creating a frame, because
10950 the minibuffer status of a frame cannot be changed later.
10951
10952 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10953
10954 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10955 replace-regexp-in-string and inadvertent omissions in previous change.
10956 (todo-filter-items): Ensure only file names are comma-separated in
10957 name of filtered items buffer.
10958
10959 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10960
10961 * desktop.el: Optionally force offscreen frames back onscreen.
10962 (desktop-restoring-reuses-frames): New option.
10963 (desktop--compute-pos, desktop--move-onscreen): New functions.
10964 (desktop--make-frame): Use desktop--move-onscreen.
10965
10966 2013-07-27 Alan Mackenzie <acm@muc.de>
10967
10968 Fontify a Java generic method as a function.
10969 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10970 value to t.
10971
10972 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10973
10974 * calendar/todo-mode.el: Add command to rename todo files.
10975 (todo-rename-file): New command.
10976 (todo-key-bindings-t): Add key binding for it. Change the
10977 bindings of todo-filter-regexp-items(-multifile) to use `x'
10978 instead of `r', since the latter is better suited to the new
10979 renaming command.
10980
10981 2013-07-27 Alan Mackenzie <acm@muc.de>
10982
10983 Make Java try-with-resources statement parse properly.
10984 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10985 (c-block-stmt-1-2-key): New language constants/variables.
10986 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10987 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10988 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10989 with c-block-stmt-1-2-key.
10990
10991 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10992
10993 * desktop.el (desktop--make-frame): Apply most frame parameters after
10994 creating the frame to force (partially or totally) offscreen frames to
10995 be restored as such.
10996
10997 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10998
10999 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11000 (Bug#14948)
11001
11002 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11003
11004 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11005 `base' arg of backtrace-frame.
11006
11007 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11008
11009 * simple.el (list-processes): Doc fix.
11010
11011 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11012
11013 * desktop.el (desktop--select-frame):
11014 Try harder to reuse existing frames.
11015
11016 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11017
11018 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11019 (edebug-eval): Use backtrace-eval.
11020 (edebug--display, edebug--recursive-edit): Don't let-bind the
11021 edebug-outer-* vars that keep track of variables we locally let-bind.
11022 (edebug-outside-excursion): Don't restore outside values of locally
11023 let-bound vars.
11024 (edebug--display): Use user-error.
11025 (cl-lexical-debug, cl-debug-env): Remove.
11026
11027 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11028
11029 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11030 are restored to be sure that they are visible before deleting any
11031 remaining ones.
11032
11033 2013-07-26 Matthias Meulien <orontee@gmail.com>
11034
11035 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11036 vc-print-root-log. (Bug#14948)
11037
11038 2013-07-26 Richard Stallman <rms@gnu.org>
11039
11040 Add aliases for encrypting mail.
11041 * epa.el (epa-mail-aliases): New option.
11042 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11043 Bind inhibit-read-only so read-only text doesn't ruin everything.
11044 (epa-mail-default-recipients): New subroutine broken out.
11045 Handle epa-mail-aliases.
11046
11047 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 Add support for lexical variables to the debugger's `e' command.
11050 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11051 vars, except for debugger-outer-match-data.
11052 (debugger-frame-number): Move check for "on a function call" from
11053 callers into it. Add `skip-base' argument.
11054 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11055 (debugger-env-macro): Only reset the state stored in non-variables,
11056 i.e. current-buffer and match-data.
11057 (debugger-eval-expression): Rewrite using backtrace-eval.
11058 * subr.el (internal--called-interactively-p--get-frame): Remove.
11059 (called-interactively-p):
11060 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11061 `base' arg of backtrace-frame instead.
11062
11063 2013-07-26 Glenn Morris <rgm@gnu.org>
11064
11065 * align.el (align-regexp): Doc fix. (Bug#14857)
11066 (align-region): Explicit error if subexpression missing/does not match.
11067
11068 * simple.el (global-visual-line-mode):
11069 Do not duplicate the mode lighter. (Bug#14858)
11070
11071 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11072
11073 * window.el (display-buffer): In display-buffer bind
11074 split-window-keep-point to t, bug#14829.
11075
11076 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11077
11078 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11079 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11080 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11081 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11082 Change accordingly.
11083 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11084 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11085
11086 2013-07-25 Glenn Morris <rgm@gnu.org>
11087
11088 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11089
11090 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11091
11092 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11093 parameter to modify-frame-parameters if the value has not changed;
11094 this is a workaround for bug#14949.
11095 (desktop--make-frame): On cl-delete-if call, check parameter name,
11096 not full parameter.
11097
11098 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11099
11100 * vc/vc.el (vc-ignore): New function.
11101
11102 * vc/vc-svn.el (vc-svn-ignore): New function.
11103
11104 * vc/vc-hg.el (vc-hg-ignore): New function.
11105
11106 * vc/vc-git.el (vc-git-ignore): New function.
11107
11108 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11109 (vc-dir-ignore): New function.
11110
11111 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11112 (cvs-append-to-ignore): Move here from pcvs.el.
11113
11114 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11115
11116 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11117
11118 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11119
11120 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11121 (desktop-restore-frames): Warn when deleting an existing frame failed.
11122
11123 2013-07-24 Glenn Morris <rgm@gnu.org>
11124
11125 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11126
11127 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11128
11129 * filenotify.el (file-notify-supported-p):
11130 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11131 Remove functions.
11132
11133 * autorevert.el (auto-revert-use-notify)
11134 (auto-revert-notify-add-watch):
11135 * net/tramp.el (tramp-file-name-for-operation):
11136 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11137 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11138 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11139 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11140 Remove `file-notify-supported-p' entry.
11141
11142 2013-07-24 Glenn Morris <rgm@gnu.org>
11143
11144 * printing.el: Replace all uses of deleted ps-windows-system,
11145 ps-lp-system, ps-flatten-list with lpr- versions.
11146
11147 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11150 checked with memq (bug#14935).
11151
11152 * files.el (revert-buffer-function): Use a non-nil default.
11153 (revert-buffer-preserve-modes): Declare var to
11154 provide access to the `preserve-modes' argument.
11155 (revert-buffer): Let-bind it.
11156 (revert-buffer--default): New function, extracted from revert-buffer.
11157
11158 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11159
11160 * lpr.el: Signal print errors more prominently.
11161 (print-region-function): Don't default to nil.
11162 (lpr-print-region): New function, extracted from print-region-1.
11163 Check lpr's return value and signal an error in case of problem.
11164 (print-region-1): Use it.
11165 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11166 versions instead.
11167 (ps-printer-name): Default to nil.
11168 (ps-printer-name-option): Default to lpr-printer-switch.
11169 (ps-print-region-function): Don't default to nil.
11170 (ps-postscript-code-directory): Simplify default.
11171 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11172 (ps-string-list, ps-eval-switch, ps-flatten-list)
11173 (ps-flatten-list-1): Remove.
11174 (ps-multibyte-buffer): Avoid setq.
11175 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11176 (print-region-function, ps-print-region-function): Don't set them here.
11177
11178 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11179
11180 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11181 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11182 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11183 (ido-decorations): Doc fix.
11184
11185 * ansi-color.el: Fix old URL.
11186
11187 2013-07-23 Michael R. Mauger <michael@mauger.com>
11188
11189 * progmodes/sql.el: Version 3.3
11190 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11191 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11192 (sql-interactive-remove-continuation-prompt): Rewrite, use
11193 functions above. Fix continuation prompt and complete output line
11194 handling.
11195 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11196 redirected output buffer.
11197 (sql-mode): Restore deleted code (Bug#13591).
11198
11199 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11200
11201 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11202
11203 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11204
11205 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11206
11207 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11208 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11209 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11210
11211 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11212
11213 * desktop.el (desktop-clear): Simplify; remove useless checks
11214 against invalid buffer names.
11215 (desktop-list*): Use cl-list*.
11216 (desktop-buffer-info, desktop-create-buffer): Simplify.
11217
11218 2013-07-23 Leo Liu <sdl.web@gmail.com>
11219
11220 * bookmark.el (bookmark-make-record): Restore NAME as a default
11221 value. (Bug#14933)
11222
11223 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11226 extracted from autoload--insert-text.
11227 (autoload--insert-text): Remove.
11228 (autoload--print-cookie-text): New function, extracted from
11229 autoload--insert-cookie-text.
11230 (autoload--insert-cookie-text): Remove.
11231 (autoload-generate-file-autoloads): Adjust calls accordingly.
11232
11233 * winner.el (winner-hook-installed-p): Remove.
11234 (winner-mode): Simplify accordingly.
11235
11236 * subr.el (add-to-list): Fix compiler-macro when `append' is
11237 not constant. Don't use `cl-member' for the base case.
11238
11239 * progmodes/subword.el: Fix boundary case (bug#13758).
11240 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11241 own group.
11242 (subword-backward-regexp): Make it a constant.
11243 (subword-forward-internal): Don't treat a trailing capital as the
11244 beginning of a word.
11245
11246 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11247
11248 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11249 global value of tabulated-list-revert-hook (bug#14930).
11250
11251 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11252
11253 * desktop.el: Require 'cl-lib.
11254 (desktop-before-saving-frames-functions): New hook.
11255 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11256 for frames being saved. Rename from desktop--save-minibuffer-frames.
11257 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11258 Do not save frames with non-nil `desktop-dont-save' parameter.
11259 Filter out deleted frames.
11260 (desktop--find-frame): Use cl-find-if.
11261 (desktop--select-frame): Use cl-(first|second|third) to access values
11262 of desktop-mini.
11263 (desktop--make-frame): Use cl-delete-if.
11264 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11265 (desktop-restore-frames): Use cl-(first|second|third) to access values
11266 of desktop-mini. Look for visible frame at the end, not while
11267 restoring frames.
11268
11269 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11270 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11271 Use string-match-p, looking-at-p (bug#14927).
11272
11273 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11274
11275 * desktop.el (desktop-saved-frame-states):
11276 Rename from desktop--saved-states; all users changed.
11277 (desktop-save-frames): Rename from desktop--save-frames.
11278 Do not save state to desktop file.
11279 (desktop-save): Save desktop-saved-frame-states to desktop file
11280 and reset to nil.
11281 (desktop-restoring-frames-p): New function.
11282 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11283 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11284 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11285
11286 * desktop.el: Correctly restore iconified frames.
11287 (desktop--filter-iconified-position): New function.
11288 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11289
11290 2013-07-20 Glenn Morris <rgm@gnu.org>
11291
11292 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11293 Let `message' do the formatting.
11294 (def-gdb-preempt-display-buffer): Add explicit format.
11295
11296 * image-dired.el (image-dired-track-original-file):
11297 Use with-current-buffer.
11298 (image-dired-track-thumbnail): Use with-current-buffer.
11299 Avoid changing point of wrong window.
11300
11301 * image-dired.el (image-dired-track-original-file):
11302 Avoid changing point of wrong window. (Bug#14909)
11303
11304 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11305
11306 * progmodes/gdb-mi.el (gdb-done-or-error):
11307 Guard against "%" in gdb output. (Bug#14127)
11308
11309 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11310
11311 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11312 (Bug#14826)
11313
11314 * international/mule.el (coding-system-iso-2022-flags): Fix last
11315 change.
11316
11317 2013-07-20 Kenichi Handa <handa@gnu.org>
11318
11319 * international/mule.el (coding-system-iso-2022-flags):
11320 Add `8-bit-level-4'. (Bug#8522)
11321
11322 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11323
11324 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11325 (bug#14815).
11326
11327 * net/eww.el (eww-process-text-input): Allow inputting when the
11328 point is at the start of the line, as the properties aren't
11329 front-sticky.
11330
11331 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11332 degenerate widths.
11333
11334 2013-07-19 Richard Stallman <rms@gnu.org>
11335
11336 * epa.el (epa-popup-info-window): Doc fix.
11337
11338 * subr.el (split-string): New arg TRIM.
11339
11340 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11341
11342 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11343 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11344
11345 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11346
11347 * filenotify.el (file-notify--library): Rename from
11348 `file-notify-support'. Do not autoload. Adapt all uses.
11349 (file-notify-supported-p): New defun.
11350
11351 * autorevert.el (auto-revert-use-notify):
11352 Use `file-notify-supported-p' instead of `file-notify-support'.
11353 Adapt docstring.
11354 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11355
11356 * net/tramp.el (tramp-file-name-for-operation):
11357 Add `file-notify-supported-p'.
11358
11359 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11360 New defun.
11361 (tramp-sh-file-name-handler-alist): Add it as handler for
11362 `file-notify-supported-p '.
11363
11364 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11365 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11366 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11367 Add `ignore' as handler for `file-notify-*' functions.
11368
11369 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11370
11371 * simple.el (line-move-partial, line-move): Don't start vscroll or
11372 scroll-up if the current line is not taller than the window.
11373 (Bug#14881)
11374
11375 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11376
11377 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11378 highlight question marks in the method names as strings.
11379 (ruby-block-beg-keywords): Inline.
11380 (ruby-font-lock-keyword-beg-re): Extract from
11381 `ruby-font-lock-keywords'.
11382
11383 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11384
11385 * frame.el (blink-cursor-blinks): New defcustom.
11386 (blink-cursor-blinks-done): New defvar.
11387 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11388 (blink-cursor-timer-function): Check if number of blinks has been
11389 done on X and NS.
11390 (blink-cursor-suspend, blink-cursor-check): New defuns.
11391
11392 2013-07-15 Glenn Morris <rgm@gnu.org>
11393
11394 * edmacro.el (edmacro-format-keys): Fix previous change.
11395
11396 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11397
11398 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11399 The hack didn't work outside English locales anyway.
11400
11401 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11402
11403 * simple.el (define-alternatives): Rename from alternatives-define,
11404 per RMS' suggestion.
11405
11406 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11407
11408 * desktop.el (desktop-restore-frames): Change default to t.
11409 (desktop-restore-in-current-display): Now offer more options.
11410 (desktop-restoring-reuses-frames): New customization option.
11411 (desktop--saved-states): Doc fix.
11412 (desktop-filter-parameters-alist): New variable, renamed and expanded
11413 from desktop--excluded-frame-parameters.
11414 (desktop--target-display): New variable.
11415 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11416 (desktop--filter-tty*, desktop--filter-*-color)
11417 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11418 (desktop--filter-save-desktop-parm)
11419 (desktop-restore-in-original-display-p): New functions.
11420 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11421 (desktop--save-minibuffer-frames): New function, inspired by a similar
11422 function from Martin Rudalics.
11423 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11424 (desktop--restore-in-this-display-p): Remove.
11425 (desktop--find-frame): Rename from desktop--find-frame-in-display
11426 and add predicate argument.
11427 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11428 (desktop--reuse-list): New variable.
11429 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11430 New functions.
11431 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11432
11433 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11434
11435 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11436
11437 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11438
11439 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11440 Highlight conversion methods on Kernel.
11441
11442 2013-07-13 Alan Mackenzie <acm@muc.de>
11443
11444 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11445 and comment it out. This out-commenting enables certain C++
11446 declarations to be parsed correctly.
11447
11448 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11449
11450 * international/mule.el (define-coding-system): Doc fix.
11451
11452 * simple.el (default-font-height): Don't call font-info if the
11453 frame's default font didn't change since the frame was created.
11454 (Bug#14838)
11455
11456 2013-07-13 Leo Liu <sdl.web@gmail.com>
11457
11458 * ido.el (ido-read-file-name): Guard against non-symbol value.
11459
11460 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11461
11462 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11463 in nested defuns.
11464
11465 2013-07-13 Leo Liu <sdl.web@gmail.com>
11466
11467 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11468 ido-set-matches call. (Bug#6852)
11469
11470 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11471
11472 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11473 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11474 Ruby 2.0.
11475 (ruby-font-lock-keywords): Distinguish calls to functions with
11476 module-like names from module references. Highlight character
11477 literals.
11478
11479 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11480
11481 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11482 (gdb-send): Handle continued commands. (Bug#14847)
11483
11484 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11485
11486 * desktop.el (desktop--v2s): Remove unused local variable.
11487 (desktop-save-buffer): Make defvar-local; adjust docstring.
11488 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11489 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11490
11491 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11492
11493 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11494
11495 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11496
11497 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11498 (Bug#14842)
11499
11500 2013-07-12 Glenn Morris <rgm@gnu.org>
11501
11502 * doc-view.el: Require cl-lib at runtime too.
11503 (doc-view-remove-if): Remove.
11504 (doc-view-search-next-match, doc-view-search-previous-match):
11505 Use cl-remove-if.
11506
11507 * edmacro.el: Require cl-lib at runtime too.
11508 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11509 (edmacro-mismatch, edmacro-subseq): Remove.
11510
11511 * shadowfile.el: Require cl-lib.
11512 (shadow-remove-if): Remove.
11513 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11514 Use cl-remove-if.
11515
11516 * wid-edit.el: Require cl-lib.
11517 (widget-choose): Use cl-remove-if.
11518 (widget-remove-if): Remove.
11519
11520 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11521 (ebrowse-delete-if-not): Remove.
11522 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11523 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11524 Use cl-delete-if-not.
11525
11526 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11527
11528 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11529 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11530
11531 2013-07-12 Leo Liu <sdl.web@gmail.com>
11532
11533 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11534
11535 2013-07-11 Glenn Morris <rgm@gnu.org>
11536
11537 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11538 (edebug-gensym-index, edebug-gensym):
11539 Remove reimplementation of cl-gensym.
11540 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11541
11542 * thumbs.el: Require cl-lib at run-time too.
11543 (thumbs-gensym-counter, thumbs-gensym):
11544 Remove reimplementation of cl-gensym.
11545 (thumbs-temp-file): Use cl-gensym.
11546
11547 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11548 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11549 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11550 (ert--union, ert--gensym-counter, ert--gensym-counter)
11551 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11552 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11553 (ert-make-test-unbound, ert--expand-should-1)
11554 (ert--expand-should, ert--should-error-handle-error)
11555 (should-error, ert--explain-equal-rec)
11556 (ert--plist-difference-explanation, ert-select-tests)
11557 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11558 Use cl-lib functions rather than reimplementations.
11559
11560 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11561
11562 * net/tramp.el (tramp-methods): Extend docstring.
11563 (tramp-connection-timeout): New defcustom.
11564 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11565 (with-tramp-progress-reporter): Simplify.
11566 (tramp-process-actions): Improve messages.
11567
11568 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11569 * net/tramp-sh.el (tramp-maybe-open-connection):
11570 Use `tramp-connection-timeout'.
11571 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11572 (Bug#14808)
11573
11574 2013-07-11 Leo Liu <sdl.web@gmail.com>
11575
11576 * ido.el (ido-read-file-name): Conform to the requirements of
11577 read-file-name. (Bug#11861)
11578 (ido-read-directory-name): Conform to the requirements of
11579 read-directory-name.
11580
11581 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11582
11583 * subr.el (delay-warning): New function.
11584
11585 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11586
11587 * simple.el (default-line-height): New function.
11588 (line-move-partial, line-move): Use it instead of computing the
11589 line height inline.
11590 (line-move-partial): Always compute ROWH. If the last line is
11591 partially-visible, but its text is completely visible, allow
11592 cursor to enter such a partially-visible line.
11593
11594 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11595
11596 Improve error messages. (Bug#14808)
11597
11598 * net/tramp.el (tramp-current-connection): New defvar, moved from
11599 tramp-sh.el.
11600 (tramp-message-show-progress-reporter-message): Remove, not
11601 needed anymore.
11602 (tramp-error-with-buffer): Show message in minibuffer.
11603 Discard input before waiting. Reset connection timestamp.
11604 (with-tramp-progress-reporter): Improve messages.
11605 (tramp-process-actions): Use progress reporter. Delete process in
11606 case of error. Improve messages.
11607
11608 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11609 Call `tramp-error-with-buffer' with vector and buffer.
11610 (tramp-current-connection): Remove.
11611 (tramp-maybe-open-connection): The car of
11612 `tramp-current-connection' are the first 3 slots of the vector.
11613
11614 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11615
11616 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11617 inside continued strings.
11618
11619 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11620
11621 Timestamp fixes for undo (Bug#14824).
11622 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11623
11624 2013-07-10 Leo Liu <sdl.web@gmail.com>
11625
11626 * files.el (require-final-newline): Allow safe local value.
11627 (Bug#14834)
11628
11629 2013-07-09 Leo Liu <sdl.web@gmail.com>
11630
11631 * ido.el (ido-read-directory-name): Handle fallback.
11632 (ido-read-file-name): Update DIR to ido-current-directory.
11633 (Bug#1516)
11634 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11635
11636 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11637
11638 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11639 "autoload". Remove "warn lower camel case" section, previously
11640 commented out. Highlight negation char. Do not highlight the
11641 target in singleton method definitions.
11642
11643 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11644
11645 * faces.el (tty-setup-hook): Declare the hook.
11646
11647 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11648 and detect when a guard/pred depends on local vars (bug#14773).
11649 (pcase--u1): Adjust caller.
11650
11651 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11652
11653 * simple.el (line-move-partial, line-move): Account for
11654 line-spacing.
11655 (line-move-partial): Avoid setting vscroll when the last
11656 partially-visible line in window is of default height.
11657
11658 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11659
11660 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11661 been used a while.
11662
11663 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11664
11665 * subr.el (read-quoted-char): Remove unused local variable `char'.
11666
11667 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11668
11669 * ediff.el (ediff-version): Version update.
11670 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11671 (ediff-merge-with-ancestor-command, ediff-directories-command)
11672 (ediff-directories3-command, ediff-merge-directories-command)
11673 (ediff-merge-directories-with-ancestor-command): New functions.
11674 All are command-line interfaces to ediff: to facilitate calling
11675 Emacs with the appropriate ediff functions invoked.
11676
11677 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11678 (viper-save-kill-buffer): Check if buffer is modified.
11679
11680 * viper.el (viper-version): Version update.
11681 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11682
11683 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11686 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11687 (viper-intercept-ESC-key): Simplify.
11688 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11689 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11690 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11691 (viper-setup-ESC-to-escape): New functions.
11692 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11693 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11694
11695 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11696
11697 * simple.el (default-font-height, window-screen-lines):
11698 New functions.
11699 (line-move, line-move-partial): Use them instead of
11700 frame-char-height and window-text-height. This makes scrolling
11701 text smoother when the buffer's default face uses a font that is
11702 different from the frame's default font.
11703
11704 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11705
11706 * files.el (write-file): Do not display confirm dialog for NS,
11707 it does its own dialog, which can't be canceled (Bug#14578).
11708
11709 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11710
11711 * simple.el (line-move-partial): Adjust the row returned by
11712 posn-at-point for the current window-vscroll. (Bug#14567)
11713
11714 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11715
11716 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11717 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11718 spaces.
11719
11720 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11721
11722 * window.el (window-state-put-stale-windows): New variable.
11723 (window--state-put-2): Save list of windows without matching buffer.
11724 (window-state-put): Remove "bufferless" windows if possible.
11725
11726 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11727
11728 * simple.el (alternatives-define): Remove leftover :group keyword.
11729 Tweak docstring.
11730
11731 2013-07-06 Leo Liu <sdl.web@gmail.com>
11732
11733 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11734 (ido-enable-virtual-buffers): New variable.
11735 (ido-buffer-internal, ido-toggle-virtual-buffers)
11736 (ido-make-buffer-list): Use it.
11737 (ido-exhibit): Support turning on and off virtual buffers
11738 automatically.
11739
11740 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11741
11742 * simple.el (alternatives-define): New macro.
11743
11744 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11745
11746 * subr.el (read-quoted-char): Use read-key.
11747 (sit-for): Let read-event decode tty input (bug#14782).
11748
11749 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11750
11751 * calendar/todo-mode.el: Add handling of file deletion, both by
11752 mode command and externally. Fix various related bugs.
11753 Clarify Commentary and improve some documentation strings and code.
11754 (todo-delete-file): New command.
11755 (todo-check-file): New function.
11756 (todo-show): Handle external deletion of the file we're trying to
11757 show (bug#14688). Replace called-interactively-p by an optional
11758 prefix argument to avoid problematic interaction with catch form
11759 when byte compiled (bug#14702).
11760 (todo-quit): Handle external deletion of the archive's todo file.
11761 Make sure the buffer that was visiting the archive file is still
11762 live before trying to bury it.
11763 (todo-category-completions): Handle external deletion of any
11764 category completion files.
11765 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11766 of todo files, in case of external deletion.
11767 (todo-add-file): Replace unnecessary setq by let-binding.
11768 (todo-find-archive): Check whether there are any archives.
11769 Replace unnecessary setq by let-binding.
11770 (todo-archive-done-item): Use find-file-noselect to get the
11771 archive buffer whether or not the archive already exists.
11772 Remove superfluous code. Use file size instead of buffer-file-name to
11773 check if the archive is new; if it is, update list of archives.
11774 (todo-default-todo-file): Allow nil to be a valid value for when
11775 there are no todo files.
11776 (todo-reevaluate-default-file-defcustom): Use corrected definition
11777 of todo-default-todo-file.
11778 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11779 (todo-delete-category, todo-show-categories-table)
11780 (todo-category-number): Clarify comment.
11781 (todo-filter-items): Clarify documentation string.
11782 (todo-show-current-file, todo-display-as-todo-file)
11783 (todo-reset-and-enable-done-separator): Tweak documentation string.
11784 (todo-done-separator): Make separator length window-width, since
11785 bug#2749 is now fixed.
11786
11787 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11788
11789 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11790 Support both "gvfs-monitor-dir" and "inotifywait".
11791 (tramp-sh-file-inotifywait-process-filter): Rename from
11792 `tramp-sh-file-notify-process-filter'.
11793 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11794 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11795
11796 2013-07-05 Leo Liu <sdl.web@gmail.com>
11797
11798 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11799
11800 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11801
11802 * frame.el (display-pixel-height, display-pixel-width)
11803 (display-mm-height, display-mm-width): Mention behavior on
11804 multi-monitor setups in docstrings.
11805 (w32-display-monitor-attributes-list): Declare function.
11806 (display-monitor-attributes-list): Use it.
11807
11808 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11809
11810 * filenotify.el: New package.
11811
11812 * autorevert.el (top): Require filenotify.el.
11813 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11814 instead.
11815 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11816 (auto-revert-notify-handler): Use `file-notify-*' functions.
11817
11818 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11819
11820 * net/tramp.el (tramp-file-name-for-operation):
11821 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11822
11823 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11824 for `file-notify-add-watch' and `file-notify-rm-watch'.
11825 (tramp-process-sentinel): Improve trace.
11826 (tramp-sh-handle-file-notify-add-watch)
11827 (tramp-sh-file-notify-process-filter)
11828 (tramp-sh-handle-file-notify-rm-watch)
11829 (tramp-get-remote-inotifywait): New defuns.
11830
11831 2013-07-03 Juri Linkov <juri@jurta.org>
11832
11833 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11834 call of `occur-read-primary-args' to interactive spec.
11835
11836 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11837 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11838
11839 2013-07-03 Matthias Meulien <orontee@gmail.com>
11840
11841 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11842 `Buffer-menu-multi-occur'. Add it to the menu.
11843 (Buffer-menu-mode): Document it in docstring.
11844 (Buffer-menu-multi-occur): New command. (Bug#14673)
11845
11846 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11847
11848 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11849 keywords and built-ins.
11850
11851 2013-07-03 Glenn Morris <rgm@gnu.org>
11852
11853 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11854
11855 Make info-xref checks case-sensitive by default
11856 * info.el (Info-find-node, Info-find-in-tag-table)
11857 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11858 Add option for exact case matching of nodes.
11859 * info-xref.el (info-xref): New custom group.
11860 (info-xref-case-fold): New option.
11861 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11862
11863 2013-07-03 Leo Liu <sdl.web@gmail.com>
11864
11865 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11866
11867 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11868
11869 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11870 middle of block statement initially, lower the depth. Remove
11871 FIXME comment, not longer valid. Remove middle of block statement
11872 detection, no need to do that anymore since we've been using
11873 `ruby-parse-region' here.
11874
11875 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11876
11877 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11878
11879 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11880
11881 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11882
11883 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11884
11885 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11886 (desktop-restore-in-current-display): New customization option.
11887 (desktop--excluded-frame-parameters): Add `font'.
11888 (desktop--save-frames): Rename from desktop--save-windows.
11889 (desktop--restore-in-this-display-p): New function.
11890 (desktop--make-full-frame): Remove unwanted width/height from
11891 full(width|height) frames.
11892 (desktop--restore-frames): Rename from desktop--restore-windows.
11893 Obey desktop-restore-current-display. Do not delete old frames or
11894 select a new frame unless we were able to restore at least one frame.
11895
11896 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11897
11898 * files.el (find-file-noselect): Simplify conditional expression.
11899
11900 * textmodes/remember.el (remember-append-to-file):
11901 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11902
11903 Add `remember-notes' function to store random notes across Emacs
11904 restarts.
11905 * textmodes/remember.el (remember-data-file): Add :set callback to
11906 affect notes buffer (if any).
11907 (remember-notes): New command.
11908 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11909 New defcustoms for the `remember-notes' function.
11910 (remember-notes-save-and-bury-buffer): New command.
11911 (remember-notes-mode-map): New variable.
11912 (remember-mode): New minor mode.
11913 (remember-notes--kill-buffer-query): New function.
11914 * startup.el (initial-buffer-choice): Add notes to custom type.
11915
11916 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11917
11918 * bindings.el (right-char, left-char): Don't call sit-for, this is
11919 no longer needed. Use arithmetic comparison only for numerical
11920 arguments.
11921
11922 * international/mule-cmds.el (select-safe-coding-system):
11923 Handle the case of FROM being a string correctly. (Bug#14755)
11924
11925 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11926
11927 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11928 progression on degenerate tables.
11929 (shr-rescale-image): ImageMagick animated images currently don't work.
11930
11931 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11932
11933 Some fixes and improvements for desktop frame restoration.
11934 It is still experimental and disabled by default.
11935 * desktop.el (desktop--save-windows): Put the selected frame at
11936 the head of the list.
11937 (desktop--make-full-frame): New function.
11938 (desktop--restore-windows): Try to re-select the frame that was
11939 selected upon saving. Do not abort if some frames fail to restore,
11940 just show an error message and continue. Set up maximized frames
11941 so they have default non-maximized dimensions.
11942
11943 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11944
11945 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11946 Don't start heredoc inside a string or comment.
11947
11948 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11949
11950 * bindings.el (visual-order-cursor-movement): New defcustom.
11951 (right-char, left-char): Provide visual-order cursor motion by
11952 calling move-point-visually. Update the doc strings.
11953
11954 2013-06-28 Kenichi Handa <handa@gnu.org>
11955
11956 * international/mule.el (define-coding-system): New coding system
11957 properties :inhibit-null-byte-detection,
11958 :inhibit-iso-escape-detection, and :prefer-utf-8.
11959 (set-buffer-file-coding-system): If :charset-list property of
11960 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11961 appropriate for setting.
11962
11963 * international/mule-cmds.el (select-safe-coding-system):
11964 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11965 multibyte characters, return utf-8 (or one of its siblings).
11966
11967 * international/mule-conf.el (prefer-utf-8): New coding system.
11968 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11969 files.
11970
11971 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11972
11973 * net/shr.el (shr-render-region): New function.
11974
11975 * net/eww.el: Autoload `eww-browse-url'.
11976
11977 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11978
11979 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11980 Adapt to `package-desc-version' being a list.
11981 Use `package--ac-desc-version' to retrieve version from a package
11982 archive element.
11983
11984 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11985
11986 New experimental feature to save&restore window and frame setup.
11987 * desktop.el (desktop-save-windows): New defcustom.
11988 (desktop--saved-states): New var.
11989 (desktop--excluded-frame-parameters): New defconst.
11990 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11991 (desktop--restore-windows, desktop--save-windows): New functions.
11992 (desktop-save): Call `desktop--save-windows'.
11993 (desktop-read): Call `desktop--restore-windows'.
11994
11995 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11996
11997 * net/shr.el (add-face-text-property): Remove compat definition.
11998
11999 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12000
12001 * info.el (Info-try-follow-nearest-node): Move search for footnote
12002 above search for node name to prevent missing a footnote (bug#14717).
12003
12004 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12005
12006 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12007
12008 2013-06-27 Leo Liu <sdl.web@gmail.com>
12009
12010 * net/eww.el (eww-read-bookmarks): Check file size.
12011
12012 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12013
12014 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12015 advice--pending if newdef is nil or an autoload (bug#13820).
12016 (advice-mapc): New function.
12017
12018 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12019
12020 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12021 probably.
12022 (eww-mode-map): Add a menu bar.
12023 (eww-add-bookmark): New command.
12024 (eww-bookmark-mode): New mode and commands.
12025 (eww-add-bookmark): Remove newlines from the title.
12026 (eww-bookmark-browse): Don't bug out if it's the only window.
12027
12028 2013-06-26 Glenn Morris <rgm@gnu.org>
12029
12030 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12031 (hfy-size): Handle ttys. (Bug#14668)
12032
12033 * info-xref.el: Update for Texinfo 5 change in *note format.
12034 (info-xref-node-re, info-xref-note-re): New constants.
12035 (info-xref-check-buffer): Use info-xref-note-re.
12036
12037 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12038
12039 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12040
12041 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12042 nil terminate the loop (bug#14718).
12043
12044 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12045
12046 * net/eww.el: Rework history traversal. When going forward/back,
12047 put these actions into the history, too, so that they can be
12048 replayed.
12049 (eww-render): Move the history reset to the correct buffer.
12050
12051 2013-06-25 Juri Linkov <juri@jurta.org>
12052
12053 * files-x.el (modify-dir-local-variable): Change the header comment
12054 in the file with directory local variables. (Bug#14692)
12055
12056 * files-x.el (read-file-local-variable-value): Add `default'.
12057 (Bug#14710)
12058
12059 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12060
12061 * net/eww.el (eww-make-unique-file-name): Create a unique file
12062 name before saving to entering `y' accidentally asynchronously.
12063
12064 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12065
12066 * net/eww.el (eww-download): New command and keystroke.
12067
12068 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12069
12070 * net/eww.el (eww-copy-page-url): Change name of command.
12071
12072 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12073 be more consistent with Info and dired.
12074
12075 * net/eww.el (eww-mode-map): Ditto.
12076
12077 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12078
12079 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12080 packages from archives.
12081 (package-archive-contents): Change format; include obsolete packages.
12082 (package-desc): Use `dir' to mark builtin packages.
12083 (package--from-builtin): Set the `dir' field to `builtin'.
12084 (generated-autoload-file, version-control): Declare.
12085 (package-compute-transaction): Change first arg and return value to be
12086 lists of package-descs. Adjust to new package-archive-contents format.
12087 (package--add-to-archive-contents): Adjust to new
12088 package-archive-contents format.
12089 (package-download-transaction): Arg is now a list of package-descs.
12090 (package-install): If `pkg' is a package name, pass it as
12091 a requirement, so it is subject to the usual (e.g. disabled) checks.
12092 (describe-package): Accept package-desc as well.
12093 (describe-package-1): Describe a specific package-desc. Add links to
12094 other package-descs for the same package name.
12095 (package-menu-describe-package): Pass the actual package-desc.
12096 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12097 works correctly.
12098 (package-desc-status): New function.
12099 (package-menu--refresh): New function, extracted
12100 from package-menu--generate.
12101 (package-menu--generate): Use it.
12102 (package-delete): Update package-alist.
12103 (package-menu-execute): Don't call package-initialize.
12104
12105 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12106 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12107 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12108 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12109 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12110 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12111
12112 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12113
12114 * window.el (window--state-get-1): Workaround for bug#14527.
12115 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12116
12117 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12118
12119 * net/eww.el (eww-back-url): Implement the history by stashing all
12120 the data into a list.
12121 (eww-forward-url): Allow going forward in the history, too.
12122
12123 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12126 for values and use read--expression for expressions (bug#14710).
12127 (read-file-local-variable): Avoid setq.
12128 (read-file-local-variable-mode): Use minor-mode-list.
12129
12130 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12131
12132 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12133 for DOI URLs.
12134
12135 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12136
12137 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12138 Update imenu-support when dialect changes.
12139
12140 2013-06-25 Leo Liu <sdl.web@gmail.com>
12141
12142 * ido.el (ido-read-internal): Allow forward slash on windows.
12143
12144 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12145
12146 * net/eww.el (eww): Start of strings is \\`, not ^.
12147
12148 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12149
12150 * net/shr.el (shr-browse-url): Fix interactive spec.
12151
12152 * net/eww.el (eww): Add a trailing slash to domain names.
12153
12154 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12155
12156 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12157
12158 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12159
12160 * net/shr.el (shr-browse-url): Use an external browser if given a
12161 prefix.
12162
12163 * net/eww.el (eww-external-browser): Move to shr.
12164
12165 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12166
12167 * net/eww.el (eww): Work more correctly for file: URLs.
12168 (eww-detect-charset): Allow quoted charsets.
12169 (eww-yank-page-url): New command and keystroke.
12170
12171 2013-06-24 Daiki Ueno <ueno@gnu.org>
12172
12173 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12174 file name of gpg executable.
12175 (epg-context-program): New function.
12176 (epg-context-home-directory): New function.
12177 (epg-context-set-program): New function.
12178 (epg-context-set-home-directory): New function.
12179 (epg--start): Use `epg-context-program' instead of
12180 'epg-gpg-program'.
12181 (epg--list-keys-1): Likewise.
12182
12183 2013-06-24 Leo Liu <sdl.web@gmail.com>
12184
12185 * ido.el (ido-read-internal): Fix bug#14620.
12186
12187 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12188
12189 * faces.el (face-documentation): Simplify.
12190 (read-face-attribute, tty-find-type, x-resolve-font-name):
12191 Use `string-match-p'.
12192 (list-faces-display): Use `string-match-p'. Simplify.
12193 (face-spec-recalc): Check face to avoid face alias loops.
12194 (read-color): Use `string-match-p' and non-capturing parenthesis.
12195
12196 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12197
12198 * net/shr.el (shr-rescale-image): Use the new
12199 :max-width/:max-height functionality.
12200
12201 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12202
12203 * net/eww.el (eww-search-prefix): New variable.
12204 (eww): Use it.
12205 (eww-external-browser): New variable.
12206 (eww-mode-map): New keystroke.
12207 (eww-browse-with-external-browser): New command.
12208
12209 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12210
12211 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12212
12213 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12214 Don't skip aligning the next header field when padding is 0;
12215 otherwise, field width is not respected unless the title is as
12216 wide as the field.
12217
12218 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12219
12220 * emacs-lisp/package.el (package-el-version): Remove.
12221 (package-process-define-package): Fix inf-loop.
12222 (package-install): Allow symbols as arguments again.
12223
12224 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12225
12226 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12227 add some more keyword-like methods.
12228 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12229
12230 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12231
12232 * bs.el (bs-buffer-show-mark): Make defvar-local.
12233 (bs-mode): Use setq-local.
12234
12235 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12236 (emacs-lock--try-unlocking): Make defvar-local.
12237
12238 2013-06-22 Glenn Morris <rgm@gnu.org>
12239
12240 * play/cookie1.el (cookie-apropos): Minor simplification.
12241
12242 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12243
12244 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12245
12246 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12247 `regexp-opt', it breaks the build during dumping.
12248
12249 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12250
12251 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12252 Highlight keyword-like methods on Kernel and Module with
12253 font-lock-builtin-face.
12254 (auto-mode-alist): Consolidate different entries into one regexp
12255 and add more *file-s.
12256
12257 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12258
12259 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12260
12261 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12262 (diary-entry): Use it in the action of this button type instead of
12263 diary-goto-entry.
12264
12265 * calendar/todo-mode.el: New version.
12266 (todo-add-category): Append new category to end of file and give
12267 it the highest number, instead of putting it at the beginning and
12268 giving it 0. Incorporate noninteractive functionality.
12269 (todo-forward-category): Adapt to 1-based category numbering.
12270 Allow skipping over archived categories.
12271 (todo-backward-category): Derive from todo-forward-category.
12272 (todo-backward-item, todo-forward-item): Make noninteractive and
12273 delegate interactive part to new commands. Make sensitive to done items.
12274 (todo-categories): Make value an alist of category names and
12275 vectors of item counts.
12276 (todo-category-beg): Make a defconst.
12277 (todo-category-number): Use 1 instead of 0 as initial value.
12278 (todo-category-select): Make sensitive to overlays, optional item
12279 highlighting and done items.
12280 (todo-delete-item): Make sensitive to overlays and marked and done items.
12281 (todo-edit-item): Make sensitive to overlays and editing of
12282 date/time header optional. Add format checks.
12283 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12284 no-op if point is not on an item. Advertise using todo-edit-quit.
12285 (todo-edit-mode): Make sensitive to new format, font-locking, and
12286 multiple todo files.
12287 (todo-insert-item, todo-insert-item-here): Derive from
12288 todo-basic-insert-item and extend functionality.
12289 (todo-item-end, todo-item-start): Make sensitive to done items.
12290 (todo-item-string): Don't return text properties. Restore point.
12291 (todo-jump-to-category): Make sensitive to multiple todo files and
12292 todo archives. Use extended category completion.
12293 (todo-lower-item, todo-raise-item): Rename to *-priority and
12294 derive from todo-set-item-priority.
12295 (todo-mode): Derive from special-mode. Make sensitive to new
12296 format, font-locking and multiple todo files. Make read-only.
12297 (todo-mode-map): Don't suppress digit keys, so they can supply
12298 prefix arguments. Add many new key bindings.
12299 (todo-prefix): Insert as an overlay instead of file text.
12300 Change semantics from diary date expression to purely visual mark.
12301 (todo-print): Rename to todo-print-buffer. Make buffer display
12302 features printable. Remove option to restrict number of items
12303 printed. Add option to print to file.
12304 (todo-print-function): Rename to todo-print-buffer-function.
12305 (todo-quit): Extend to handle exiting new todo modes.
12306 (todo-remove-item): Make sensitive to overlays.
12307 (todo-save): Extend to buffers of filtered items.
12308 (todo-show): Make sensitive to done items, multiple todo files and
12309 new todo modes. Offer to convert legacy todo file before creating
12310 first new todo file.
12311 (todo-show-priorities): Rename to todo-top-priorities.
12312 Change semantics of value 0.
12313 (todo-top-priorities): Rename to todo-filter-top-priorities,
12314 derive from todo-filter-items and extend functionality.
12315 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12316 and extend functionality to other types of filtered items.
12317 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12318 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12319 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12320 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12321 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12322 (todo-edit-mode-hook, todo-entry-prefix-function)
12323 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12324 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12325 (todo-initials, todo-insert-threshold, todo-item-string-start)
12326 (todo-line-string, todo-menu, todo-mode-hook)
12327 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12328 (todo-print-priorities, todo-remove-separator)
12329 (todo-save-top-priorities-too, todo-string-count-lines)
12330 (todo-string-multiline-p, todo-time-string-format)
12331 (todo-tmp-buffer-name): Remove.
12332 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12333 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12334 (todo-edit-category-diary-inclusion)
12335 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12336 (todo-edit-file, todo-edit-item-date-day)
12337 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12338 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12339 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12340 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12341 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12342 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12343 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12344 (todo-filter-top-priorities-multifile, todo-find-archive)
12345 (todo-find-filtered-items-file, todo-go-to-source-item)
12346 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12347 (todo-jump-to-archive-category, todo-lower-category)
12348 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12349 (todo-move-category, todo-move-item, todo-next-button)
12350 (todo-next-item, todo-padded-string, todo-powerset)
12351 (todo-previous-button, todo-previous-item)
12352 (todo-print-buffer-to-file, todo-raise-category)
12353 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12354 (todo-set-category-number, todo-set-item-priority)
12355 (todo-set-top-priorities-in-category)
12356 (todo-set-top-priorities-in-file, todo-show-categories-table)
12357 (todo-sort-categories-alphabetically-or-numerically)
12358 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12359 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12360 (todo-toggle-item-header, todo-toggle-item-highlighting)
12361 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12362 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12363 (todo-unarchive-items, todo-unmark-category): New commands.
12364 (todo-absolute-file-name, todo-add-to-buffer-list)
12365 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12366 (todo-basic-insert-item, todo-category-completions)
12367 (todo-category-number, todo-category-string-matcher-1)
12368 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12369 (todo-check-format, todo-clear-matches)
12370 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12371 (todo-current-category, todo-date-string-matcher)
12372 (todo-define-insertion-command, todo-diary-expired-matcher)
12373 (todo-diary-goto-entry, todo-diary-item-p)
12374 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12375 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12376 (todo-done-item-section-p, todo-done-separator)
12377 (todo-done-string-matcher, todo-files, todo-filter-items)
12378 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12379 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12380 (todo-insert-category-line, todo-insert-item-from-calendar)
12381 (todo-insert-sort-button, todo-insert-with-overlays)
12382 (todo-insertion-command-name, todo-insertion-key-bindings)
12383 (todo-label-to-key, todo-longest-category-name-length)
12384 (todo-make-categories-list, todo-mode-external-set)
12385 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12386 (todo-modes-set-3, todo-multiple-filter-files)
12387 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12388 (todo-read-category, todo-read-date, todo-read-dayname)
12389 (todo-read-file-name, todo-read-time)
12390 (todo-reevaluate-category-completions-files-defcustom)
12391 (todo-reevaluate-default-file-defcustom)
12392 (todo-reevaluate-filelist-defcustoms)
12393 (todo-reevaluate-filter-files-defcustom)
12394 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12395 (todo-reset-done-separator, todo-reset-done-separator-string)
12396 (todo-reset-done-string, todo-reset-global-current-todo-file)
12397 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12398 (todo-reset-prefix, todo-set-categories)
12399 (todo-set-date-from-calendar, todo-set-show-current-file)
12400 (todo-set-top-priorities, todo-short-file-name)
12401 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12402 (todo-total-item-counts, todo-update-buffer-list)
12403 (todo-update-categories-display, todo-update-categories-sexp)
12404 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12405 New functions.
12406 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12407 New major modes.
12408 (todo-categories, todo-display, todo-edit, todo-faces)
12409 (todo-filtered): New defgroups.
12410 (todo-archived-only, todo-button, todo-category-string, todo-date)
12411 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12412 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12413 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12414 (todo-add-item-if-new-category, todo-always-add-time-string)
12415 (todo-categories-align, todo-categories-archived-label)
12416 (todo-categories-category-label, todo-categories-diary-label)
12417 (todo-categories-done-label, todo-categories-number-separator)
12418 (todo-categories-todo-label, todo-categories-totals-label)
12419 (todo-category-completions-files, todo-completion-ignore-case)
12420 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12421 (todo-done-separator-string, todo-done-string)
12422 (todo-files-function, todo-filter-done-items, todo-filter-files)
12423 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12424 (todo-initial-category, todo-initial-file, todo-item-mark)
12425 (todo-legacy-date-time-regexp, todo-mode-line-function)
12426 (todo-nondiary-marker, todo-number-prefix)
12427 (todo-print-buffer-function, todo-show-current-file)
12428 (todo-show-done-only, todo-show-first, todo-show-with-done)
12429 (todo-skip-archived-categories, todo-top-priorities-overrides)
12430 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12431 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12432 New defcustoms.
12433 (todo-category-done, todo-date-pattern, todo-date-string-start)
12434 (todo-diary-items-buffer, todo-done-string-start)
12435 (todo-filtered-items-buffer, todo-item-start)
12436 (todo-month-abbrev-array, todo-month-name-array)
12437 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12438 (todo-top-priorities-buffer): New defconsts.
12439 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12440 (todo-categories-with-marks, todo-category-string-face)
12441 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12442 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12443 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12444 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12445 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12446 (todo-font-lock-keywords, todo-global-current-todo-file)
12447 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12448 (todo-insertion-commands-args)
12449 (todo-insertion-commands-args-genlist)
12450 (todo-insertion-commands-names, todo-insertion-map)
12451 (todo-key-bindings-t, todo-key-bindings-t+a)
12452 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12453 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12454 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12455 (todo-visited): New variables.
12456
12457 2013-06-21 Glenn Morris <rgm@gnu.org>
12458
12459 * play/cookie1.el (cookie-apropos): Add optional display argument.
12460 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12461 (psychoanalyze-pinhead): Use cookie-doctor.
12462
12463 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12464
12465 * emacs-lisp/package.el (tar-get-file-descriptor)
12466 (tar--extract): Declare.
12467
12468 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12469
12470 Extend flymake's warning predicate to be a function (bug#14217).
12471 * progmodes/flymake.el (flymake-warning-predicate): New.
12472 (flymake-parse-line): Use it.
12473 (flymake-warning-re): Make obsolete alias to
12474 `flymake-warning-predicate'.
12475
12476 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12479 (package-obsolete-list): Remove.
12480 (package-activate): Remove min-version argument. Add `force' argument.
12481 Adjust to new package-alist format.
12482 (package-mark-obsolete): Remove.
12483 (package-unpack): Force reload of the package's autoloads.
12484 (package-installed-p): Check builtins if the installed package is not
12485 recent enough.
12486 (package-initialize): Don't reset package-obsolete-list.
12487 Don't specify which package version to activate.
12488 (package-process-define-package, describe-package-1)
12489 (package-menu--generate): Adjust to new package-alist format.
12490
12491 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12492
12493 * allout-widgets.el (allout-widgets-mode-off)
12494 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12495 (allout-widgets-post-command-business)
12496 (allout-widgets-after-copy-or-kill-function)
12497 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12498 (allout-decorate-item-and-context)
12499 (allout-graphics-modification-handler): Fix typos in docstrings.
12500 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12501
12502 * cmuscheme.el (scheme-start-file): Doc fix.
12503 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12504 (scheme-input-filter): Use `string-match-p'.
12505
12506 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12507
12508 * dired-x.el: Use Dired consistently in docstrings.
12509
12510 * dired.el: Use Dired consistently in docstrings.
12511 (dired-readin, dired-mode): Use `setq-local'.
12512 (dired-switches-alist): Make defvar-local.
12513 (dired-buffers-for-dir): Use `zerop'.
12514 (dired-safe-switches-p, dired-switches-escape-p)
12515 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12516 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12517 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12518 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12519 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12520 (dired-toggle-marks, dired-mark-files-containing-regexp)
12521 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12522 (dired-flag-auto-save-files, dired-flag-backup-files):
12523 Use `looking-at-p'.
12524 (dired-mark-files-regexp, dired-build-subdir-alist):
12525 Use `string-match-p', `looking-at-p'.
12526
12527 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12528 (direct-print-region-helper): Use `string-match-p'.
12529
12530 2013-06-21 Leo Liu <sdl.web@gmail.com>
12531
12532 * comint.el (comint-redirect-results-list-from-process):
12533 Fix infinite loop.
12534
12535 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12536
12537 * net/eww.el (eww-update-header-line-format): Quote % characters.
12538
12539 2013-06-21 Glenn Morris <rgm@gnu.org>
12540
12541 * play/cookie1.el (cookie): New custom group.
12542 (cookie-file): New option.
12543 (cookie-check-file): New function.
12544 (cookie): Make it interactive. Make start and end messages optional.
12545 Interactively, display the result. Default to cookie-file.
12546 (cookie-insert): Default to cookie-file.
12547 (cookie-snarf): Make start and end messages optional.
12548 Default to cookie-file. Use with-temp-buffer.
12549 (cookie-read): Rename from read-cookie.
12550 Make start and end messages optional. Default to cookie-file.
12551 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12552 Do not autoload it.
12553 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12554 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12555
12556 2013-06-21 Leo Liu <sdl.web@gmail.com>
12557
12558 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12559
12560 2013-06-21 Glenn Morris <rgm@gnu.org>
12561
12562 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12563
12564 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12565 Daniel Hackney <dan@haxney.org>
12566
12567 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12568 Consolidate the single-file vs tarball code.
12569 (package-desc-suffix): New function.
12570 (package-desc-full-name): Don't bother inlining it.
12571 (package-load-descriptor): Return the new package-desc.
12572 (package-mark-obsolete): Remove unused arg `package'.
12573 (package-unpack): Make it work for single files as well.
12574 Make it update package-alist.
12575 (package--make-autoloads-and-stuff): Rename from
12576 package--make-autoloads-and-compile. Don't compile any more.
12577 (package--compile): New function.
12578 (package-generate-description-file): New function, extracted from
12579 package-unpack-single.
12580 (package-unpack-single): Remove.
12581 (package--with-work-buffer): Add indentation and debugging info.
12582 (package-download-single): Remove.
12583 (package-install-from-archive): Rename from package-download-tar, make
12584 it take a pkg-desc, and make it work for single files as well.
12585 (package-download-transaction): Simplify.
12586 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12587 external tar program.
12588 (package-install-from-buffer): Remove `pkg-desc' argument.
12589 Use package-tar-file-info for tar-mode buffers.
12590 (package-install-file): Simplify accordingly.
12591 (package-archive-base): Change to take a pkg-desc.
12592 * tar-mode.el (tar--check-descriptor): New function, extracted from
12593 tar-get-descriptor.
12594 (tar-get-descriptor): Use it.
12595 (tar-get-file-descriptor): New function.
12596 (tar--extract): New function, extracted from tar-extract.
12597 (tar--extract): Use it.
12598 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12599 case the summary uses non-ascii. Adjust to new calling convention of
12600 package-tar-file-info.
12601
12602 2013-06-21 Leo Liu <sdl.web@gmail.com>
12603
12604 * comint.el (comint-redirect-results-list-from-process):
12605 Fix random delay. (Bug#14681)
12606
12607 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12608
12609 * profiler.el (profiler-format-number): Use log, not log10.
12610
12611 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12612
12613 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12614
12615 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12616
12617 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12618 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12619 yet available.
12620 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12621 (AUTOGENEL): ... here.
12622 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12623 (cl--defsubst-expand): Use it.
12624
12625 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12626
12627 * subr.el (log10): Move here from C code, and declare as obsolete.
12628 All uses of (log10 X) replaced with (log X 10).
12629
12630 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12631
12632 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12633 Declare with `defvar-local'.
12634 (tabulated-list-use-header-line, tabulated-list-entries)
12635 (tabulated-list-padding, tabulated-list-printer)
12636 (tabulated-list-sort-key): Declare with `defvar-local'.
12637 (tabulated-list-init-header, tabulated-list-print-fake-header):
12638 Use `setq-local'.
12639
12640 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12641
12642 * arc-mode.el (archive-mode): Add `archive-write-file' to
12643 `write-contents-functions' also for remote files. (Bug#14652)
12644
12645 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12646
12647 * cus-edit.el (custom-commands): Fix typos.
12648 (custom-display): Fix tooltip text.
12649 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12650 Fix typos in docstrings.
12651 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12652 (custom-unlispify-menu-entry, custom-magic-value-create)
12653 (custom-add-see-also, custom-group-value-create): Use ?\s.
12654 (custom-guess-type, customize-apropos, editable-field)
12655 (custom-face-value-create): Use `string-match-p'.
12656 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12657
12658 * custom.el (custom-load-symbol): Use `string-match-p'.
12659
12660 * ansi-color.el: Convert to lexical binding.
12661 (ansi-colors): Fix URL.
12662 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12663 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12664 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12665
12666 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12667
12668 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12669
12670 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12671
12672 2013-06-19 Tom Tromey <tromey@redhat.com>
12673
12674 * net/eww.el (eww-top-url): Remove.
12675 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12676 (eww-render): Set new variables. Don't set eww-top-url.
12677 (eww-handle-link): Handle "prev", "home", and "contents".
12678 Downcase the rel text.
12679 (eww-top-url): Choose best top URL.
12680
12681 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12682
12683 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12684 relying in widget.el. Using widget.el leads to too many
12685 user interface inconsistencies.
12686 (eww-self-insert): Implement entering commands in text fields.
12687 (eww-process-text-input): New function to make text input field editing
12688 work.
12689 (eww-submit): Rewrite to use the new-style form methods.
12690 (eww-select-display): Display the correct selected item.
12691 (eww-change-select): Implement changing the select value.
12692 (eww-toggle-checkbox): Implement radio/checkboxes.
12693 (eww-update-field): Fix compilation error.
12694 (eww-tag-textarea): Implement <textarea>.
12695
12696 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12697 we don't shadow mode-specific bindings.
12698
12699 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12700 nothing to push.
12701
12702 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12703
12704 2013-06-19 Glenn Morris <rgm@gnu.org>
12705
12706 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12707
12708 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12709
12710 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12711 not needed.
12712
12713 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12714
12715 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12716
12717 * net/browse-url.el (browse-url-browser-function):
12718 `eww-browse-url' has the right calling signature, `eww' does not.
12719
12720 2013-06-19 Glenn Morris <rgm@gnu.org>
12721
12722 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12723 Only eval autoloaded macros.
12724 (byte-compile-autoload): Only give the macro warning for macros.
12725
12726 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12727 (ps-underlined-faces): Declare.
12728
12729 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12730 (speedbar-add-supported-extension): Declare.
12731
12732 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12733 Don't include a date stamp in the header of the generated file;
12734 it leads to needless differences between output files.
12735
12736 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12737
12738 * net/secrets.el (secrets-struct-secret-content-type):
12739 Replace check of introspection data by a test call of "CreateItem".
12740 Some servers do not offer introspection.
12741
12742 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12743
12744 * electric.el (electric-pair-mode): Improve interaction with
12745 electric-layout-mode.
12746 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12747 (electric-pair-syntax): Use text-mode-syntax-table in comments
12748 and strings.
12749 (electric-pair--insert): New function.
12750 (electric-pair-post-self-insert-function): Use it and
12751 electric--after-char-pos.
12752
12753 2013-06-19 Leo Liu <sdl.web@gmail.com>
12754
12755 * progmodes/octave.el (octave-help): Fix regexp.
12756
12757 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12758
12759 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12760 (shr-table-horizontal-line): Allow nil as a value, and change the
12761 default.
12762 (shr-insert-table-ruler): Respect the nil value.
12763
12764 2013-06-18 Tom Tromey <tromey@barimba>
12765
12766 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12767 New defvars.
12768 (eww-open-file): New defun.
12769 (eww-render): Initialize new variables.
12770 (eww-display-html): Handle "link" and "a".
12771 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12772 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12773 (eww-back-url): Rename from eww-previous-url.
12774 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12775 New defuns.
12776
12777 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12778
12779 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12780 Distinguish ternary operator tokens from slash symbol and slash
12781 char literal.
12782
12783 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12784
12785 Convert symbol prettification into minor mode and global minor mode.
12786
12787 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12788 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12789 (prettify-symbols--keywords): Rename from
12790 `prog-prettify-symbols-alist' and make a local defvar.
12791 (prettify-symbols--compose-symbol): Rename from
12792 `prog--prettify-font-lock-compose-symbol'.
12793 (prettify-symbols--make-keywords): Rename from
12794 `prog-prettify-font-lock-symbols-keywords' and simplify.
12795 (prog-prettify-install): Remove.
12796 (prettify-symbols-mode): New minor mode, based on
12797 `prog-prettify-install'.
12798 (turn-on-prettify-symbols-mode): New function.
12799 (global-prettify-symbols-mode): New globalized minor mode.
12800
12801 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12802 * progmodes/cfengine.el (cfengine3-mode):
12803 * progmodes/perl-mode.el (perl-mode): Don't call
12804 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12805
12806 2013-06-18 Juri Linkov <juri@jurta.org>
12807
12808 * files-x.el (modify-file-local-variable-message): New function.
12809 (modify-file-local-variable)
12810 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12811 and call `modify-file-local-variable-message' when it's non-nil.
12812 (add-file-local-variable, delete-file-local-variable)
12813 (add-file-local-variable-prop-line)
12814 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12815 and use it. (Bug#9820)
12816
12817 2013-06-18 Juri Linkov <juri@jurta.org>
12818
12819 * emulation/vi.el (vi-shell-op):
12820 * emulation/vip.el (vip-execute-com, ex-command):
12821 * emulation/viper-cmd.el (viper-exec-bang):
12822 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12823 the call of `shell-command-on-region'. (Bug#14637)
12824
12825 * simple.el (shell-command-on-region): Doc fix.
12826
12827 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12828
12829 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12830 (bug#14633).
12831
12832 2013-06-18 Glenn Morris <rgm@gnu.org>
12833
12834 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12835
12836 * newcomment.el (comment-search-forward, comment-search-backward):
12837 Doc fix. (Bug#14376)
12838
12839 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12840
12841 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12842 (buffer-face-mode-invoke): Doc fix.
12843
12844 2013-06-18 Matthias Meulien <orontee@gmail.com>
12845
12846 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12847 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12848
12849 2013-06-18 Glenn Morris <rgm@gnu.org>
12850
12851 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12852 Replace obsolete function generic-make-keywords with its expansion.
12853
12854 * progmodes/python.el (ffap-alist): Declare.
12855
12856 * textmodes/reftex.el (bibtex-mode-map): Declare.
12857
12858 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12859
12860 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12861 (package-unpack, package-unpack-single): Return the pkg-dir.
12862 (package-download-transaction): Use it to update package-alist.
12863
12864 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12865
12866 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12867 possible choice.
12868
12869 2013-06-17 Juri Linkov <juri@jurta.org>
12870
12871 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12872
12873 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12874
12875 * emacs-lisp/package.el (package-load-descriptor):
12876 Remove `with-syntax-table' call, `read' doesn't need it.
12877 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12878
12879 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12880
12881 * startup.el (command-line): Expand package name returned by
12882 `package--description-file' (bug#14639).
12883
12884 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12885
12886 * emacs-lisp/package.el (package-load-descriptor): Do not call
12887 `emacs-lisp-mode', just use its syntax table.
12888
12889 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12890
12891 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12892 `font-lock-extra-managed-props' if any prettifying keyword is added.
12893 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12894 (prog-mode): Use `setq-local'.
12895
12896 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12897
12898 * international/characters.el (standard-case-table): Set syntax of ?»
12899 and ?« to punctuation.
12900
12901 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12902
12903 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12904 Save relevant match data before calling `syntax-ppss' (bug#14595).
12905
12906 2013-06-15 Juri Linkov <juri@jurta.org>
12907
12908 * files-x.el (modify-file-local-variable-prop-line): Add local
12909 variables to the end of the existing comment on the first line.
12910 Use `file-auto-mode-skip' to skip interpreter magic line,
12911 and also skip XML declaration.
12912
12913 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12914
12915 * startup.el (package--builtin-versions): New var.
12916 (package-subdirectory-regexp): Remove.
12917 (package--description-file): Hard code its value instead.
12918
12919 * emacs-lisp/package.el: Don't activate packages older than builtin.
12920 (package-obsolete-list): Rename from package-obsolete-alist, and make
12921 it into a simple list of package-desc.
12922 (package-strip-version): Remove.
12923 (package-built-in-p): Use package--builtin-versions.
12924 (package-mark-obsolete): Simplify.
12925 (package-process-define-package): Mark it obsolete if older than the
12926 builtin version.
12927 (package-handle-response): Use line-end-position.
12928 (package-read-archive-contents, package--download-one-archive):
12929 Simplify.
12930 (package--add-to-archive-contents): Skip if older than the builtin or
12931 installed version.
12932 (package-menu-describe-package): Fix last change.
12933 (package-list-unversioned): New var.
12934 (package-menu--generate): Use it.
12935
12936 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12937 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12938 (autoload-builtin-package-versions): New variable.
12939 (autoload-generate-file-autoloads): Use them.
12940 Remove the list of autoloaded functions/macros from the
12941 (autoload...) comments.
12942
12943 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12944
12945 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12946
12947 * simple.el (line-move-partial): Don't jump to the next screen
12948 line as soon as it becomes visible. Instead, continue enlarging
12949 the vscroll until the portion of a tall screen line that's left on
12950 display is about the height of the frame's default font.
12951 (Bug#14567)
12952
12953 2013-06-15 Glenn Morris <rgm@gnu.org>
12954
12955 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12956 compilation-error-regexp-alist void, or local while let-bound.
12957
12958 * progmodes/make-mode.el (makefile-mode-syntax-table):
12959 Treat "=" as punctuation. (Bug#14614)
12960
12961 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12962
12963 * help-fns.el (describe-variable):
12964 Add extra line for permanent-local variables.
12965
12966 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12967
12968 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12969 Add export, import, library. (Bug#9164)
12970 (library): Set indent function.
12971
12972 2013-06-14 Glenn Morris <rgm@gnu.org>
12973
12974 * term/xterm.el (xterm--query):
12975 Stop after first matching handler. (Bug#14615)
12976
12977 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12978
12979 Add support for dired in saveplace.
12980 * dired.el (dired-initial-position-hook): New variable.
12981 (dired-initial-position): Call hook to place cursor position.
12982 * saveplace.el (save-place-to-alist): Add dired position.
12983 (save-place-dired-hook): New function.
12984
12985 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12988 through a symbol rather than letrec.
12989
12990 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12991 (package-desc): Add `dir' field.
12992 (package-desc-full-name): New function.
12993 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12994 (package-maybe-load-descriptor): Remove.
12995 (package-load-all-descriptors): Just call package-load-descriptor.
12996 (package--disabled-p): New function.
12997 (package-desc-vers, package-desc-doc): Remove aliases.
12998 (package--dir): Remove function.
12999 (package-activate): Check if a package is disabled.
13000 (package-process-define-package): New function, extracted from
13001 define-package.
13002 (define-package): Turn into a place holder.
13003 (package-unpack-single, package-tar-file-info):
13004 Use package--description-file.
13005 (package-compute-transaction): Use package--disabled-p.
13006 (package-download-transaction): Don't call
13007 package-maybe-load-descriptor since they're all loaded anyway.
13008 (package-install): Change argument to be a pkg-desc.
13009 (package-delete): Use a single pkg-desc argument.
13010 (describe-package-1): Use package-desc-dir instead of package--dir.
13011 Use package-desc property instead of package-symbol.
13012 (package-install-button-action): Adjust accordingly.
13013 (package--push): Rewrite.
13014 (package-menu--print-info): Adjust accordingly. Change the ID format
13015 to be a pkg-desc.
13016 (package-menu-describe-package, package-menu-get-status)
13017 (package-menu--find-upgrades, package-menu-mark-upgrades)
13018 (package-menu-execute, package-menu--name-predicate):
13019 Adjust accordingly.
13020 * startup.el (package--description-file): New function.
13021 (command-line): Use it.
13022 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13023 Use package-desc-version.
13024
13025 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13026 (byte-compile-preprocess): Use it.
13027 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13028 can't quite recognize.
13029 (byte-compile-add-to-list): Remove.
13030 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13031 (cconv-closure-convert): Add assertion.
13032
13033 * emacs-lisp/map-ynp.el: Use lexical-binding.
13034 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13035 Factor out some repeated code.
13036
13037 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13038
13039 * subr.el (with-eval-after-load): New macro.
13040 (eval-after-load): Allow form to be a function.
13041 take advantage of lexical-binding.
13042 (do-after-load-evaluation): Use dolist and adjust to new format.
13043 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13044
13045 2013-06-13 Juri Linkov <juri@jurta.org>
13046
13047 * replace.el (perform-replace): Display "symbol " and other search
13048 modes from `isearch-message-prefix' in the *Help* buffer.
13049
13050 * isearch.el (isearch-query-replace): Add " symbol" and other
13051 possible search modes from `isearch-message-prefix' to the prompt.
13052 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13053 when reading a regexp to collect.
13054
13055 2013-06-13 Juri Linkov <juri@jurta.org>
13056
13057 * isearch.el (word-search-regexp): Match whitespace if the search
13058 string begins or ends in whitespace. The LAX arg is applied to
13059 both ends of the search string. Use `regexp-quote' and explicit
13060 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13061 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13062 boundaries are replaced with symbol boundaries, and characters
13063 between symbols match non-word non-symbol syntax. (Bug#14602)
13064
13065 2013-06-13 Juri Linkov <juri@jurta.org>
13066
13067 * isearch.el (isearch-del-char): Don't exceed the length of
13068 `isearch-string' by the prefix arg. (Bug#14563)
13069
13070 2013-06-13 Juri Linkov <juri@jurta.org>
13071
13072 * isearch.el (isearch-yank-word, isearch-yank-line)
13073 (isearch-char-by-name, isearch-quote-char)
13074 (isearch-printing-char, isearch-process-search-char):
13075 Add optional count prefix arg. (Bug#14563)
13076
13077 * international/isearch-x.el
13078 (isearch-process-search-multibyte-characters):
13079 Add optional count prefix arg.
13080
13081 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13082
13083 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13084 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13085 lexical-binding.
13086
13087 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13088
13089 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13090
13091 2013-06-13 Glenn Morris <rgm@gnu.org>
13092
13093 * startup.el (tty-handle-args):
13094 Don't just discard "--" and anything after. (Bug#14608)
13095
13096 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13097
13098 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13099
13100 Implement changes in Secret Service API. Make it backward compatible.
13101 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13102 (secrets-create-item): Use it. Prefix properties with interface.
13103
13104 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13105
13106 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13107 (term-emulate-terminal): Respect term-suppress-hard-newline.
13108
13109 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13110
13111 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13112 Only remove a `thumb-file' overlay. (Bug#14548)
13113
13114 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13115
13116 * mail/reporter.el (reporter-submit-bug-report):
13117 Handle missing package-name. (Bug#14600)
13118
13119 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13120
13121 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13122 (reftex-citation-prompt, reftex-default-bibliography)
13123 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13124 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13125 (reftex-bib-sort-author, reftex-bib-sort-year)
13126 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13127 (reftex-extract-bib-entries-from-thebibliography)
13128 (reftex-get-bibkey-default, reftex-get-bib-names)
13129 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13130 (reftex-format-bib-entry, reftex-parse-bibitem)
13131 (reftex-format-bibitem, reftex-do-citation)
13132 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13133 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13134 (reftex-insert-bib-matches, reftex-format-citation)
13135 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13136 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13137 existing comments into docstrings.
13138
13139 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13140
13141 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13142
13143 2013-06-12 Andreas Schwab <schwab@suse.de>
13144
13145 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13146 for auto-save files.
13147
13148 2013-06-12 Glenn Morris <rgm@gnu.org>
13149
13150 * ido.el (ido-delete-ignored-files): Remove.
13151 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13152 Go back to calling ido-ignore-item-p directly.
13153
13154 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13155
13156 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13157
13158 * ido.el (ido-delete-ignored-files): New function,
13159 split from ido-make-file-list-1.
13160 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13161 (ido-make-file-list-1): Use ido-delete-ignored-files.
13162
13163 2013-06-12 Leo Liu <sdl.web@gmail.com>
13164
13165 * progmodes/octave.el (inferior-octave-startup)
13166 (inferior-octave-completion-table)
13167 (inferior-octave-track-window-width-change)
13168 (octave-eldoc-function-signatures, octave-help)
13169 (octave-find-definition): Use single quoted strings.
13170 (inferior-octave-startup-args): Change default value.
13171 (inferior-octave-startup): Do not hard code "-i" and
13172 "--no-line-editing".
13173 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13174 (inferior-octave-directory-tracker): Use it.
13175 (octave-goto-function-definition): Robustify.
13176 (octave-help): Support highlighting operators in 'See also'.
13177 (octave-find-definition): Find subfunctions only in Octave mode.
13178
13179 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13180
13181 * help-fns.el (help-fns--compiler-macro): If the handler function is
13182 named, then put a link to it.
13183 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13184 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13185 (cl-typep): Use it.
13186 (cl-eval-when): Simplify debug spec.
13187 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13188 compiler-macro function instead of setting `compiler-macro-file'.
13189
13190 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13191
13192 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13193 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13194
13195 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13196 Daniel Hackney <dan@haxney.org>
13197
13198 First part of Daniel Hackney's patch to package.el.
13199 * emacs-lisp/package.el: Use defstruct.
13200 (package-desc): New, main struct.
13201 (package--bi-desc, package--ac-desc): New structs, used to describe the
13202 format in external files.
13203 (package-desc-vers): Replace with package-desc-version accessor.
13204 (package-desc-doc): Replace with package-desc-summary accessor.
13205 (package-activate-1): Remove `package' arg since the pkg-vec now
13206 includes the name.
13207 (define-package): Use package-desc-from-define.
13208 (package-unpack-single): Change file-name arg to be a symbol.
13209 (package--add-to-archive-contents): Use package-desc-create and new
13210 accessor functions to package--ac-desc.
13211 (package-buffer-info, package-tar-file-info): Return a package-desc.
13212 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13213 arg to be a package-desc.
13214 (package-install-file): Adjust accordingly. Use \' to match EOS.
13215 (package--from-builtin): New function.
13216 (describe-package-1, package-menu--generate): Use it.
13217 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13218 (package-generate-autoloads): Idem and return the name of the file.
13219 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13220 Change pkg-info arg to be a package-desc.
13221 Use package-make-ac-desc.
13222 (package-upload-file): Use \' to match EOS.
13223 * finder.el (finder-compile-keywords): Use package-make-builtin.
13224
13225 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13226
13227 * vc/vc.el (vc-deduce-fileset): Change error message.
13228 (vc-read-backend): New function.
13229 (vc-next-action): Use it.
13230
13231 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13232
13233 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13234 (prolog-font-lock-keywords): Use regexp-opt instead.
13235 Don't manually highlight strings.
13236 (prolog-mode-variables): Simplify comment-start-skip.
13237 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13238
13239 * emacs-lisp/generic.el (generic--normalise-comments)
13240 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13241 (generic-mode-set-comments): Use them.
13242 (generic-bracket-support): Use setq-local.
13243 (generic-make-keywords-list): Declare obsolete.
13244
13245 2013-06-11 Glenn Morris <rgm@gnu.org>
13246
13247 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13248 Prettify after setting font-lock-defaults. (Bug#14574)
13249
13250 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13251
13252 * replace.el (query-replace, occur-read-regexp-defaults-function)
13253 (replace-search):
13254 * subr.el (declare-function, number-sequence, local-set-key)
13255 (substitute-key-definition, locate-user-emacs-file)
13256 (with-silent-modifications, split-string, eval-after-load):
13257 Fix typos, remove unneeded backslashes and reflow some docstrings.
13258
13259 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13262 default for Elisp files.
13263
13264 2013-06-11 Glenn Morris <rgm@gnu.org>
13265
13266 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13267 although define-derived-mode was doing this anyway. (Bug#14583)
13268
13269 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13270
13271 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13272 Fix make-variable-buffer-local call to refer to the correct variable.
13273
13274 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13275
13276 * eshell/em-term.el (eshell-visual-commands)
13277 (eshell-visual-subcommands, eshell-visual-options):
13278 Add summary line to docstrings. Add cross-references.
13279
13280 2013-06-10 Glenn Morris <rgm@gnu.org>
13281
13282 * epa.el (epa-read-file-name): New function. (Bug#14510)
13283 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13284
13285 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13286
13287 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13288 output redirection to be ignored with visual commands.
13289
13290 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13291
13292 * eshell/em-term.el (eshell-visual-command-p): New function.
13293 (eshell-term-initialize): Move long lambda to separate function
13294 eshell-visual-command-p.
13295 * eshell/em-dirs.el (eshell-dirs-initialize):
13296 * eshell/em-script.el (eshell-script-initialize):
13297 Add missing #' to lambda.
13298
13299 2013-06-08 Leo Liu <sdl.web@gmail.com>
13300
13301 * progmodes/octave.el (octave-add-log-current-defun): New function.
13302 (octave-mode): Set add-log-current-defun-function.
13303 (octave-goto-function-definition): Do not move point if not found.
13304 (octave-find-definition): Enhance to try subfunctions first.
13305
13306 2013-06-08 Glenn Morris <rgm@gnu.org>
13307
13308 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13309 (byte-compile-backward-char, byte-compile-backward-word):
13310 Improve previous change, to handle non-explicit nil.
13311
13312 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13313
13314 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13315 (smie--opener/closer-at-point): New function.
13316 (smie--matching-block-data): Use it. Don't match from right after an
13317 opener or right before a closer. Obey smie-blink-matching-inners.
13318 Don't signal a mismatch for repeated inners like "switch..case..case".
13319
13320 2013-06-07 Leo Liu <sdl.web@gmail.com>
13321
13322 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13323 to t. (Bug#14303)
13324 (octave-function-header-regexp): Fix. (Bug#14570)
13325 (octave-help-mode-finish-hook, octave-help-mode-finish):
13326 Remove. Just use temp-buffer-show-hook.
13327
13328 * newcomment.el (comment-search-backward): Revert last change.
13329 (Bug#14434)
13330
13331 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13332
13333 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13334
13335 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13336 through xargs, to avoid failure due to MS-Windows limitations on
13337 command-line length.
13338
13339 2013-06-06 Glenn Morris <rgm@gnu.org>
13340
13341 * font-lock.el (lisp-font-lock-keywords-2):
13342 Treat user-error like error.
13343
13344 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13345 (byte-compile-backward-char, byte-compile-backward-word):
13346 Handle explicit nil arguments. (Bug#14565)
13347
13348 2013-06-05 Alan Mackenzie <acm@muc.de>
13349
13350 * isearch.el (isearch-allow-prefix): New user option.
13351 (isearch-other-meta-char): Don't exit isearch when a prefix
13352 argument is typed whilst `isearch-allow-prefix' is non-nil.
13353 (Bug#9706)
13354
13355 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13356
13357 * autorevert.el (auto-revert-notify-handler): Use memq.
13358 Hide assertion failure.
13359
13360 * skeleton.el: Use cl-lib.
13361 (skeleton-further-elements): Use defvar-local.
13362 (skeleton-insert): Use cl-progv.
13363
13364 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13365
13366 * progmodes/prog-mode.el (prog-prettify-symbols)
13367 (prog-prettify-install): Update docstrings.
13368
13369 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13370
13371 * simple.el: Move all the prog-mode code to prog-mode.el.
13372 * progmodes/prog-mode.el: New file.
13373 * loadup.el: Add prog-mode.el.
13374
13375 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13376
13377 * simple.el (prog-prettify-symbols): Add version.
13378 (prog-prettify-install): Add convenience function to prettify symbols.
13379
13380 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13381 (perl--augmented-font-lock-keywords-1)
13382 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13383 variables and use it.
13384
13385 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13386 (cfengine3-mode): Remove unneeded variable and use it.
13387
13388 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13389 (lisp--augmented-font-lock-keywords-1)
13390 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13391 Remove unneeded variables and use it.
13392
13393 2013-06-05 João Távora <joaotavora@gmail.com>
13394
13395 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13396 to point when opening the connection. (Bug#14380)
13397
13398 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13399
13400 * subr.el (load-history-regexp, load-history-filename-element)
13401 (eval-after-load, after-load-functions, do-after-load-evaluation)
13402 (eval-next-after-load, display-delayed-warnings)
13403 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13404 definition of save-match-data.
13405 (overriding-local-map): Remove accidental obsolescence declaration.
13406
13407 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13408
13409 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13410
13411 Generalize symbol prettify support to prog-mode and implement it
13412 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13413 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13414 (prog--prettify-font-lock-compose-symbol)
13415 (prog-prettify-font-lock-symbols-keywords): New variables and
13416 functions to support symbol prettification.
13417 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13418 (lisp--augmented-font-lock-keywords-1)
13419 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13420 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13421 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13422 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13423 Implement prettify of -> => :: strings.
13424 * progmodes/perl-mode.el (perl-prettify-symbols)
13425 (perl--font-lock-compose-symbol)
13426 (perl--font-lock-symbols-keywords): Move to prog-mode.
13427 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13428 (perl-font-lock-keywords-1)
13429 (perl-font-lock-keywords-2): Remove explicit prettify support.
13430 (perl--augmented-font-lock-keywords)
13431 (perl--augmented-font-lock-keywords-1)
13432 (perl--augmented-font-lock-keywords-2, perl-mode):
13433 Implement prettify support.
13434
13435 2013-06-05 Leo Liu <sdl.web@gmail.com>
13436
13437 Re-implement SMIE matching block highlight using
13438 show-paren-data-function. (Bug#14395)
13439 * emacs-lisp/smie.el (smie-matching-block-highlight)
13440 (smie--highlight-matching-block-overlay)
13441 (smie--highlight-matching-block-lastpos)
13442 (smie-highlight-matching-block)
13443 (smie-highlight-matching-block-mode): Remove.
13444 (smie--matching-block-data-cache): New variable.
13445 (smie--matching-block-data): New function.
13446 (smie-setup): Use smie--matching-block-data for
13447 show-paren-data-function.
13448
13449 * progmodes/octave.el (octave-mode-menu): Fix.
13450 (octave-find-definition): Skip garbage lines.
13451
13452 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 Fix compilation error with simultaneous dynamic+lexical scoping.
13455 Add warning when a defvar appears after the first let-binding.
13456 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13457 (byte-compile-close-variables): Initialize it.
13458 (byte-compile--declare-var): New function.
13459 (byte-compile-file-form-defvar)
13460 (byte-compile-file-form-define-abbrev-table)
13461 (byte-compile-file-form-custom-declare-variable): Use it.
13462 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13463 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13464 (byte-compile-bind): Handle dynamic bindings that shadow
13465 lexical bindings.
13466 (byte-compile-unbind): Make arg non-optional.
13467 (byte-compile-let): Simplify.
13468 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13469 (cconv--analyse-function, cconv-analyse-form): Populate it.
13470 Protect byte-compile-bound-variables to limit the scope of defvars.
13471 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13472 Remove unneeded rule for `declare'.
13473
13474 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13475 so as to avoid depending on cl-adjoin at run-time.
13476 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13477
13478 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13479 (macroexp--warn-and-return): Use it.
13480
13481 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 * subr.el: Convert to lexical binding.
13484 (overriding-local-map): Make obsolete.
13485 (add-to-list): Doc fix. Add compiler macro.
13486 (read-key): Swap values of local maps.
13487
13488 2013-06-05 Leo Liu <sdl.web@gmail.com>
13489
13490 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13491
13492 2013-06-04 Leo Liu <sdl.web@gmail.com>
13493
13494 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13495 (compilation-auto-jump): Suppress the "Mark set" message to give
13496 way to exit message.
13497
13498 2013-06-04 Alan Mackenzie <acm@muc.de>
13499
13500 Remove faulty optimisation from indentation calculation.
13501 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13502 search limit based on 2000 characters back from indent-point.
13503
13504 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13505
13506 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13507
13508 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13509
13510 * emacs-lisp/lisp.el: Use lexical-binding.
13511 (lisp--local-variables-1, lisp--local-variables): New functions.
13512 (lisp--local-variables-completion-table): New var.
13513 (lisp-completion-at-point): Use it complete let-bound vars.
13514
13515 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13516 eagerly (bug#14422).
13517
13518 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13519
13520 * autorevert.el (auto-revert-notify-enabled)
13521 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13522 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13523 (auto-revert-notify-handler): Handle also gfilenotify.
13524
13525 * subr.el (file-notify-handle-event): New defun. Replacing ...
13526 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13527 Remove.
13528
13529 2013-06-03 Juri Linkov <juri@jurta.org>
13530
13531 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13532 `M-s h .'. (Bug#14427)
13533
13534 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13535 command `hi-lock-face-symbol-at-point'.
13536 (hi-lock-face-symbol-at-point): New command.
13537 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13538 (hi-lock-menu): Add `highlight-symbol-at-point'.
13539 (hi-lock-mode): Doc fix.
13540
13541 * isearch.el (isearch-forward-symbol-at-point): New command.
13542 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13543 (isearch-highlight-regexp): Add a regexp which matches
13544 words/symbols for word/symbol mode.
13545
13546 * subr.el (find-tag-default-bounds): New function with the body
13547 mostly moved from `find-tag-default'.
13548 (find-tag-default): Move most code to `find-tag-default-bounds',
13549 call it and apply `buffer-substring-no-properties' afterwards.
13550
13551 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13552
13553 * eshell/em-term.el (eshell-term-initialize):
13554 Use `cl-intersection' rather than `intersection'.
13555
13556 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13557
13558 * vc/log-view.el: Doc fix.
13559 (log-view-mode-map): Copy keymap from `special-mode-map'.
13560
13561 2013-06-02 Eric Ludlam <zappo@gnu.org>
13562
13563 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13564 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13565 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13566 (eieio-unbound, eieio-default-superclass)
13567 (eieio--define-field-accessors, method-static, method-before)
13568 (method-primary, method-after, method-num-lists)
13569 (method-generic-before, method-generic-primary)
13570 (method-generic-after, method-num-slots)
13571 (eieio-specialized-key-to-generic-key)
13572 (eieio--check-type, class-v, class-p)
13573 (eieio-class-name, define-obsolete-function-alias)
13574 (eieio-class-parents-fast, eieio-class-children-fast)
13575 (same-class-fast-p, class-constructor, generic-p)
13576 (generic-primary-only-p, generic-primary-only-one-p)
13577 (class-option-assoc, class-option, eieio-object-p)
13578 (class-abstract-p, class-method-invocation-order)
13579 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13580 (eieio-class-un-autoload, eieio-defclass)
13581 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13582 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13583 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13584 (eieio-defgeneric-reset-generic-form)
13585 (eieio-defgeneric-form-primary-only)
13586 (eieio-defgeneric-reset-generic-form-primary-only)
13587 (eieio-defgeneric-form-primary-only-one)
13588 (eieio-defgeneric-reset-generic-form-primary-only-one)
13589 (eieio-unbind-method-implementations)
13590 (eieio--defmethod, eieio--typep)
13591 (eieio-perform-slot-validation, eieio-validate-slot-value)
13592 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13593 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13594 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13595 (eieio-slot-name-index, eieio-class-slot-name-index)
13596 (eieio-set-defaults, eieio-initarg-to-attribute)
13597 (eieio-attribute-to-initarg, eieio-c3-candidate)
13598 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13599 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13600 (eieio-class-precedence-list, eieio-generic-call-methodname)
13601 (eieio-generic-call-arglst, eieio-generic-call-key)
13602 (eieio-generic-call-next-method-list)
13603 (eieio-pre-method-execution-functions, eieio-generic-call)
13604 (eieio-generic-call-primary-only, eieiomt-method-list)
13605 (eieiomt-optimizing-obarray, eieiomt-install)
13606 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13607 (eieio-generic-form, eieio-defmethod, make-obsolete)
13608 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13609 (defclass): Remove `eval-and-compile' from macro.
13610 (call-next-method, shared-initialize): Instead of using
13611 `scoped-class' variable, use new eieio--scoped-class, and
13612 eieio--with-scoped-class.
13613 (initialize-instance): Rename local variable 'scoped-class' to
13614 'this-class' to remove ambiguitity from old global.
13615
13616 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13617 eieio.el.
13618 (eieio--scoped-class-stack): New variable.
13619 (eieio--scoped-class): New fcn.
13620 (eieio--with-scoped-class): New scoping macro.
13621 (eieio-defclass): Use pushnew instead of add-to-list.
13622 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13623 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13624 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13625 `scoped-class' variable, use new eieio--scoped-class, and
13626 eieio--with-scoped-class.
13627
13628 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13629
13630 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13631
13632 * eshell/esh-ext.el (eshell-external-command): Pass args to
13633 `eshell-find-interpreter'.
13634 (eshell-find-interpreter): Add new second parameter ARGS.
13635
13636 * eshell/em-script.el (eshell-script-initialize): Add second arg
13637 to the function added as MATCH to `eshell-interpreter-alist'.
13638
13639 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13640 the function added as MATCH to `eshell-interpreter-alist'.
13641
13642 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13643 (eshell-visual-options): New defcustom.
13644 (eshell-escape-control-x): Adapt docstring.
13645 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13646 `eshell-visual-options' in addition to `eshell-visual-commands'.
13647 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13648
13649 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13650
13651 * progmodes/python.el (python-indent-block-enders): Add break,
13652 continue and raise keywords.
13653
13654 2013-06-01 Glenn Morris <rgm@gnu.org>
13655
13656 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13657
13658 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13659 * progmodes/cc-cmds.el (delete-forward-p):
13660 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13661 * progmodes/cc-engine.el (buffer-syntactic-context):
13662 * progmodes/cc-fonts.el (face-property-instance):
13663 * progmodes/cc-mode.el (set-keymap-parents):
13664 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13665 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13666 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13667 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13668 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13669
13670 * progmodes/cc-vars.el (other): Emacs has this widget since
13671 at least 21.1, so don't (re)define it.
13672
13673 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13674 Replace the obsolete alias pcomplete-arg-quote-list.
13675
13676 2013-06-01 Leo Liu <sdl.web@gmail.com>
13677
13678 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13679 punctuation syntax.
13680 (inferior-octave-minimal-columns)
13681 (inferior-octave-last-column-width): New variables.
13682 (inferior-octave-track-window-width-change): New function.
13683 (inferior-octave-mode): Adjust column width so that Octave output,
13684 for example from 'ls', can fit into the window nicely.
13685
13686 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13687
13688 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13689 Highlight expansions inside regexp literals.
13690
13691 2013-05-31 Glenn Morris <rgm@gnu.org>
13692
13693 * obsolete/sym-comp.el (symbol-complete):
13694 Replace obsolete completion-annotate-function.
13695
13696 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13697
13698 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13699
13700 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13701 New function, checks if point is inside a literal that allows
13702 expression expansion.
13703 (ruby-syntax-propertize-expansion): Use it.
13704 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13705 around the body.
13706
13707 2013-05-30 Juri Linkov <juri@jurta.org>
13708
13709 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13710 to "\M-si".
13711 (isearch-invisible): New variable.
13712 (isearch-forward): Doc fix.
13713 (isearch-mode): Set `isearch-invisible'
13714 to the value of `search-invisible'.
13715 (isearch-toggle-case-fold): Doc fix.
13716 (isearch-toggle-invisible): New command.
13717 (isearch-query-replace): Let-bind `search-invisible'
13718 to the value of `isearch-invisible'.
13719 (isearch-search): Use `isearch-invisible' instead of
13720 `search-invisible'. Let-bind `search-invisible'
13721 to the value of `isearch-invisible'. (Bug#11378)
13722
13723 2013-05-30 Juri Linkov <juri@jurta.org>
13724
13725 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13726 call when `query-flag' is nil and `search-invisible' is non-nil.
13727 (Bug#11746)
13728
13729 2013-05-30 Glenn Morris <rgm@gnu.org>
13730
13731 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13732
13733 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13734 (cc-require): Suppress spurious "noruntime" warnings.
13735 (cc-require-when-compile): Use fboundp, for sake of compiler.
13736
13737 * progmodes/cc-mode.el: Move load of cc-vars before that of
13738 cc-langs (which in turn loads cc-vars), to quieten compiler.
13739
13740 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13741
13742 * paren.el: Simplify the code.
13743 (show-paren-mode): Always start the timer.
13744 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13745 (show-paren--overlay, show-paren--overlay-1): Rename from
13746 show-paren-overlay and show-paren-overlay-1, and initialize to an
13747 overlay rather than to nil.
13748 (show-paren-function): Misc cleanup and simplifications.
13749
13750 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13751
13752 * paren.el (show-paren-data-function): New hook.
13753 (show-paren--default): New function, extracted from show-paren-function.
13754 (show-paren-function): Use show-paren-data-function.
13755
13756 2013-05-30 Glenn Morris <rgm@gnu.org>
13757
13758 * ielm.el (ielm-map, ielm-complete-symbol):
13759 Use completion-at-point rather than obsolete functions.
13760 (inferior-emacs-lisp-mode): Doc fix.
13761 Set completion-at-point-functions, rather than
13762 comint-dynamic-complete-functions.
13763
13764 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13765 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13766 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13767
13768 * image.el (image-animated-p): Tweak definition.
13769
13770 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13771 (rlogin-process-connection-type): Tweak default. Add set-after.
13772 (rlogin-host): Doc fix.
13773 (rlogin): Tweak prompt.
13774 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13775
13776 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13777 * progmodes/tcl.el (inferior-tcl-mode-map):
13778 Use completion-at-point rather than obsolete alias.
13779
13780 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13781
13782 * minibuffer.el (read-file-name-completion-ignore-case):
13783 Move before completion--in-region, for eager macro expansion.
13784
13785 2013-05-29 Juri Linkov <juri@jurta.org>
13786
13787 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13788 for total count of matching lines. Add `global-matches' for total
13789 count of matches. Rename `matches' to `lines' for count of
13790 matching lines. Add `matches' for count of matches.
13791 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13792 to `prev-line' for line number of prev match endpt.
13793 Increment `matches' for every match. Print the number of
13794 matching lines in the header.
13795 (occur-context-lines): Rename `lines' to `curr-line'.
13796 Rename `prev-lines' to `prev-line'. (Bug#14017)
13797
13798 2013-05-29 Juri Linkov <juri@jurta.org>
13799
13800 * replace.el (perform-replace): Add `skip-read-only-count',
13801 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13802 Increment them for corresponding conditions and report the number
13803 of skipped occurrences in the final message. (Bug#11746)
13804 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13805 (replace-string, replace-regexp): Doc fix.
13806
13807 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13810
13811 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13812 prog-mode-map (bug#14504).
13813
13814 2013-05-29 Leo Liu <sdl.web@gmail.com>
13815
13816 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13817 (octave-help): Small simplification.
13818
13819 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13820 off the highlight first.
13821
13822 2013-05-29 Glenn Morris <rgm@gnu.org>
13823
13824 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13825 Handle idlwave-last-system-routine-info-cons-cell being nil.
13826
13827 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13828 (idlwave-write-paths): Simplify via with-temp-buffer.
13829
13830 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13831 * emulation/cua-rect.el: Also load cua-base at run time.
13832
13833 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13834 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13835 (cperl-imenu-on-info): Require imenu.
13836
13837 2013-05-28 Alan Mackenzie <acm@muc.de>
13838
13839 Handle "capitalised keywords" correctly.
13840 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13841
13842 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13843
13844 * eshell/em-unix.el: Add -r option to cp.
13845
13846 2013-05-28 Glenn Morris <rgm@gnu.org>
13847
13848 * vc/vc-arch.el (vc-exec-after): Declare.
13849 (vc-switches): Autoload.
13850 * vc/vc-bzr.el: No need to require vc when compiling.
13851 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13852 (vc-resynch-buffer, vc-dir-refresh): Declare.
13853 (vc-setup-buffer, vc-switches): Autoload.
13854 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13855 (vc-resynch-buffer): Declare.
13856 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13857 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13858 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13859 (grep-read-regexp, grep-read-files, grep-expand-template)
13860 (vc-dir-refresh): Declare.
13861 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13862 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13863 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13864 * vc/vc-mtn.el (vc-exec-after): Declare.
13865 (vc-switches): Autoload.
13866 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13867 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13868 (vc-file-tree-walk): Declare.
13869 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13870 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13871 (vc-tag-precondition, vc-rename-master): Autoload.
13872 * vc/vc-svn.el (vc-exec-after): Declare.
13873 (vc-switches, vc-setup-buffer): Autoload.
13874 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13875 Autoload.
13876 (vc-resynch-buffer): Declare.
13877
13878 * obsolete/fast-lock.el (byte-compile-warnings):
13879 Don't warn about obsolete features in this obsolete file.
13880
13881 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13882 Move definition before use.
13883
13884 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13885 (dun-unix-verbs): Remove dun-zippy.
13886 (dun-zippy): Remove function.
13887
13888 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13889
13890 2013-05-27 Juri Linkov <juri@jurta.org>
13891
13892 * replace.el (replace-search): New function with code moved out
13893 from `perform-replace'.
13894 (replace-highlight, replace-dehighlight): Move function definitions
13895 up closer to `replace-search'. (Bug#11746)
13896
13897 2013-05-27 Juri Linkov <juri@jurta.org>
13898
13899 * replace.el (perform-replace): Ignore invisible matches.
13900 In addition to checking `query-replace-skip-read-only', also
13901 filter out matches by calling `run-hook-with-args-until-failure'
13902 on `isearch-filter-predicates', and also check `search-invisible'
13903 for t or call `isearch-range-invisible'.
13904 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13905
13906 2013-05-27 Juri Linkov <juri@jurta.org>
13907
13908 * isearch.el (isearch-filter-predicates): Rename from
13909 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13910 (isearch-message-prefix): Display text from the property
13911 `isearch-message-prefix' of the currently active filters.
13912 (isearch-search): Don't compare `isearch-filter-predicate' with
13913 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13914 on `isearch-filter-predicates'. Also check `search-invisible' for t
13915 or call `isearch-range-invisible'.
13916 (isearch-filter-visible): Make obsolete.
13917 (isearch-lazy-highlight-search):
13918 Call `run-hook-with-args-until-failure' on
13919 `isearch-filter-predicates' and use `isearch-range-invisible'.
13920
13921 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13922 `isearch-filter-predicates' instead of `funcall'ing
13923 `isearch-filter-predicate'.
13924 (Info-mode): Set `Info-isearch-filter' to
13925 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13926
13927 * dired-aux.el (dired-isearch-filter-predicate-orig):
13928 Remove variable.
13929 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13930 (dired-isearch-filenames-end): Add and remove
13931 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13932 instead of changing the value of `isearch-filter-predicate'.
13933 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13934 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13935 Put property `isearch-message-prefix' to "filename " on
13936 `dired-isearch-filter-filenames'.
13937
13938 * wdired.el (wdired-change-to-wdired-mode):
13939 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13940 locally instead of changing `isearch-filter-predicate'.
13941 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13942
13943 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13944
13945 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13946 return the commit hash (Bug#14459). Also set the
13947 `vc-git-detached' property.
13948 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13949 (vc-git-mode-line-string): Use the same help-echo format whether
13950 in detached mode or not, because we know the actual revision now.
13951 When in detached mode, shorten the revision to 7 chars.
13952
13953 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13954
13955 * emacs-lisp/easy-mmode.el (define-minor-mode):
13956 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13957 mode hook and provide a docstring.
13958
13959 2013-05-27 Alan Mackenzie <acm@muc.de>
13960
13961 Remove spurious syntax-table text properties inserted by C-y.
13962 * progmodes/cc-mode.el (c-after-change): Also clear hard
13963 syntax-table property with value nil.
13964
13965 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13966
13967 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13968 when reading the events; the buffer layout shall not be changed.
13969
13970 2013-05-27 Leo Liu <sdl.web@gmail.com>
13971
13972 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13973 New variable.
13974 (inferior-octave-directory-tracker): Automatically re-sync
13975 default-directory.
13976 (octave-help): Improve handling of 'See also'.
13977
13978 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13979
13980 * doc-view.el: Minor naming convention tweaks.
13981 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13982
13983 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13984 even if there's no `display' property yet (bug#14435).
13985
13986 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13987
13988 * subr.el (unmsys--file-name): Rename from reveal-filename.
13989
13990 * Makefile.in (custom-deps, finder-data, autoloads)
13991 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13992 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13993 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13994
13995 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13996
13997 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13998 error-completion on the first 2 args of condition-case (bug#14446).
13999 Don't burp at EOB.
14000
14001 2013-05-25 Leo Liu <sdl.web@gmail.com>
14002
14003 * comint.el (comint-previous-matching-input): Do not flood the
14004 *Messages* buffer with trivial messages.
14005
14006 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14007
14008 * progmodes/flymake.el (flymake-nop): Don't return a string.
14009 (flymake-set-at): Fix typo.
14010
14011 * simple.el (read--expression): New function, extracted from
14012 eval-expression. Set completion-at-point-functions (bug#14465).
14013 (eval-expression, eval-minibuffer): Use it.
14014
14015 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14016
14017 * progmodes/flymake.el (flymake-save-buffer-in-file)
14018 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14019 (flymake-selected-frame, flymake-log, flymake-ins-after)
14020 (flymake-set-at, flymake-get-buildfile-from-cache)
14021 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14022 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14023 Refine the doc string.
14024 (flymake-get-file-name-mode-and-masks): Reformat.
14025 (flymake-get-real-file-name-function): Fix a minor bug.
14026
14027 2013-05-24 Juri Linkov <juri@jurta.org>
14028
14029 * progmodes/grep.el (grep-mode-font-lock-keywords):
14030 Support =linenumber= format used by git-grep for lines with
14031 function names. (Bug#13549)
14032
14033 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14034
14035 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14036 0 after a semi-colon; it works better for smie-auto-fill.
14037 (octave--indent-new-comment-line): New function.
14038 (octave-indent-new-comment-line): Use it (indirectly).
14039 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14040 modify comment-line-break-function.
14041
14042 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14043 (smie-setup): Use add-function to set it.
14044
14045 2013-05-24 Sam Steingold <sds@gnu.org>
14046
14047 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14048 argument (before the `interactive' argument).
14049
14050 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * image-mode.el (image-mode-winprops): Add winprops to
14053 image-mode-winprops-alist before running
14054 image-mode-new-window-functions.
14055 * doc-view.el (doc-view-new-window-function): Don't delay
14056 doc-view-goto-page via timers (bug#14435).
14057
14058 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14059
14060 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14061 (doc-view-desktop-save-buffer): New function.
14062 (doc-view-restore-desktop-buffer): New function.
14063 (desktop-buffer-mode-handlers):
14064 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14065 handler.
14066 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14067 `desktop-save-buffer' function.
14068
14069 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14070
14071 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14072 (tramp-gvfs-file-name-handler): Raise a user error when
14073 `tramp-gvfs-enabled' is nil.
14074 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14075 Do not raise a user error when loading package. (Bug#14447)
14076
14077 * net/xesam.el: Move to obsolete/.
14078
14079 2013-05-24 Glenn Morris <rgm@gnu.org>
14080
14081 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14082
14083 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14084
14085 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14086 (Info-find-node, Man-getpage-in-background): Declare.
14087
14088 * mail/unrmail.el (unrmail):
14089 Replace obsolete detect-coding-with-priority.
14090
14091 * net/socks.el (socks-split-string): Use this rather than split-string.
14092 (socks-nslookup-host): Update for above change.
14093 (dynamic-choice, s5-dynamic-choice-match)
14094 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14095 Comment out unused code.
14096
14097 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14098 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14099 (gud-tooltip-echo-area): Make obsolete.
14100 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14101
14102 * progmodes/js.el (js--optimize-arglist): Declare.
14103
14104 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14105
14106 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14107 (ediff-window-C): Declare.
14108
14109 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14110 Tweak requires to silence compiler.
14111
14112 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14113 (he-search-string, he-tried-table, he-expand-list)
14114 (he-init-string, he-string-member, he-substitute-string)
14115 (he-reset-string): Declare.
14116
14117 * obsolete/options.el (list-options): Use custom-variable-p,
14118 rather than obsolete alias.
14119
14120 2013-05-23 Sam Steingold <sds@gnu.org>
14121
14122 * simple.el (shell-command-on-region): Pass the `replace' argument
14123 down to `call-process-region' to comply with the doc as reported on
14124 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14125
14126 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14127
14128 * emacs-lisp/smie.el (smie-indent-forward-token)
14129 (smie-indent-backward-token): Handle string tokens (bug#14381).
14130
14131 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14132
14133 * ielm.el (ielm-menu): New menu.
14134 (inferior-emacs-lisp-mode): Set comment-start.
14135
14136 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14137
14138 * textmodes/reftex.el (reftex-ref-style-toggle):
14139 Fix deactivate action.
14140
14141 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14142 Add cleveref macros.
14143
14144 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14145 Accept options for bibliography commands.
14146 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14147 Add addbibresource. Basic Biblatex support.
14148
14149 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14150
14151 * net/tramp-gvfs.el (top):
14152 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14153 when loading package. (Bug#14447)
14154
14155 2013-05-23 Glenn Morris <rgm@gnu.org>
14156
14157 * progmodes/js.el: No need to load comint when compiling.
14158 (ring-insert, comint-send-string, comint-send-input)
14159 (comint-last-input-end, ido-chop): Declare.
14160
14161 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14162 * vc/ediff-mult.el: Adjust requires.
14163 (ediff-directories-internal, ediff-directory-revisions-internal)
14164 (ediff-patch-file-internal): Declare.
14165 * vc/ediff-ptch.el: Adjust requires.
14166 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14167 (ediff-find-file): Autoload.
14168 * vc/ediff-util.el: No need to load ediff when compiling.
14169 (ediff-regions-internal): Declare.
14170 * vc/ediff-wind.el: Adjust requires.
14171 (ediff-compute-toolbar-width): Define when compiling.
14172 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14173 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14174 (dired-get-filename, dired-get-marked-files)
14175 (ediff-last-dir-patch, ediff-patch-default-directory)
14176 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14177 (ediff-patch-buffer-internal): Declare.
14178
14179 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14180 (ispell-process, ispell-buffer-local-words, lm-summary)
14181 (lm-section-start, lm-section-end): Declare.
14182 (checkdoc-ispell-init): Simplify.
14183
14184 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14185 (he-string-member, he-reset-string, he-substitute-string): Declare.
14186
14187 * eshell/em-ls.el: Adjust requires.
14188 (eshell-glob-regexp): Declare.
14189 * eshell/em-tramp.el: Adjust requires.
14190 (eshell-parse-command): Autoload.
14191 * eshell/em-xtra.el: Adjust requires.
14192 (eshell-parse-command): Autoload.
14193 * eshell/esh-ext.el: Adjust requires.
14194 (eshell-parse-command, eshell-close-handles): Autoload.
14195 * eshell/esh-io.el: Adjust requires.
14196 (eshell-output-filter): Autoload.
14197 * eshell/esh-util.el: No need to load tramp when compiling.
14198 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14199 Declare.
14200 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14201 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14202 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14203 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14204 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14205 * eshell/esh-opt.el, eshell/esh-proc.el:
14206 * eshell/esh-var.el: Adjust requires.
14207 * eshell/eshell.el: Do not require esh-util twice.
14208 (eshell-add-input-to-history): Declare.
14209 (eshell-command): Check history module is active before using it.
14210
14211 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14212
14213 2013-05-22 Leo Liu <sdl.web@gmail.com>
14214
14215 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14216
14217 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14218
14219 * autorevert.el (auto-revert-notify-add-watch)
14220 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14221 it indicates changes in file modification time.
14222
14223 2013-05-22 Glenn Morris <rgm@gnu.org>
14224
14225 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14226 Always delete the autoloaded function from the noruntime and
14227 unresolved functions lists.
14228
14229 * allout.el: No need to load epa, epg, overlay when compiling.
14230 (epg-context-set-passphrase-callback, epg-list-keys)
14231 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14232 (epg-key-user-id-list): Declare.
14233
14234 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14235 (viper-set-parsing-style-toggling-macro)
14236 (viper-set-emacs-state-searchstyle-macros):
14237 Use called-interactively-p on Emacs.
14238 (viper-looking-back): Make it an obsolete alias. Update callers.
14239 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14240 Use looking-back rather than viper-looking-back.
14241 (viper-tmp-insert-at-eob, viper-enlarge-region)
14242 (viper-read-string-with-history, viper-register-to-point)
14243 (viper-append-to-register, viper-change-state-to-vi)
14244 (viper-backward-char-carefully, viper-forward-char-carefully)
14245 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14246 (viper-change-state-to-emacs): Declare.
14247 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14248 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14249 * emulation/viper-mous.el: Do not load viper-cmd.
14250 (viper-backward-char-carefully, viper-forward-char-carefully)
14251 (viper-forward-word, viper-adjust-window): Declare.
14252
14253 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14254
14255 * progmodes/idlw-help.el (idlwave-help-fontify):
14256 Use called-interactively-p.
14257
14258 * term/w32console.el (w32-get-console-codepage)
14259 (w32-get-console-output-codepage): Declare.
14260
14261 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14262 Remove unnecessary declarations.
14263 (dframe-message): Doc fix.
14264
14265 * info.el (dframe-select-attached-frame, dframe-current-frame):
14266 Declare.
14267
14268 * speedbar.el (speedbar-message): Make it an obsolete alias.
14269 Update all callers.
14270 (speedbar-with-attached-buffer)
14271 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14272 (speedbar-with-writable): Use backquote.
14273 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14274 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14275 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14276 rather than speedbar- aliases.
14277 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14278 (speedbar-make-specialized-keymap, speedbar-insert-button)
14279 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14280 (speedbar-do-function-pointer): Declare.
14281 (rmail-speedbar-button, rmail-speedbar-find-file)
14282 (rmail-speedbar-move-message):
14283 Use dframe-with-attached-buffer rather than speedbar- alias.
14284 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14285 (dframe-message, speedbar-make-specialized-keymap)
14286 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14287 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14288 (speedbar-insert-button, dframe-select-attached-frame)
14289 (dframe-maybee-jump-to-attached-frame)
14290 (speedbar-change-initial-expansion-list)
14291 (speedbar-previously-used-expansion-list-name): Declare.
14292 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14293 Use dframe-message, dframe-with-attached-buffer rather than
14294 speedbar- aliases.
14295 (gud-sentinel): Silence compiler.
14296 * progmodes/vhdl-mode.el (speedbar-refresh)
14297 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14298 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14299 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14300 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14301 (speedbar-file-lists, speedbar-make-tag-line)
14302 (speedbar-line-directory, speedbar-goto-this-file)
14303 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14304 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14305 (speedbar-make-button, speedbar-reset-scanners)
14306 (speedbar-files-item-info, speedbar-line-text)
14307 (speedbar-find-file-in-frame, speedbar-set-timer)
14308 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14309 (speedbar-with-writable): Do not (re)define it.
14310 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14311 rather than speedbar- alias.
14312
14313 2013-05-21 Leo Liu <sdl.web@gmail.com>
14314
14315 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14316 menu items.
14317 (octave-mode): Tweak fill-nobreak-predicate.
14318 (inferior-octave-startup): Check process to avoid infinite loop.
14319 (inferior-octave): Pop to buffer first to show abornmal process
14320 exit information.
14321
14322 2013-05-21 Glenn Morris <rgm@gnu.org>
14323
14324 * printing.el (pr-menu-bar): Define when compiling.
14325
14326 2013-05-21 Leo Liu <sdl.web@gmail.com>
14327
14328 * progmodes/octave.el (octave-auto-fill): Remove.
14329 (octave-indent-new-comment-line): Improve.
14330 (octave-mode): Use auto fill mode through
14331 comment-line-break-function and fill-nobreak-predicate.
14332 (octave-goto-function-definition): Support DEFUN_DLD.
14333 (octave-beginning-of-defun): Small tweak.
14334 (octave-help): Show parent directory.
14335
14336 2013-05-21 Glenn Morris <rgm@gnu.org>
14337
14338 * files.el (dired-unmark):
14339 * progmodes/gud.el (gdb-input): Update declarations.
14340
14341 * calculator.el (electric, ehelp): No need to load when compiling.
14342 (Electric-command-loop, electric-describe-mode): Declare.
14343
14344 * doc-view.el (doc-view-current-converter-processes): Move before use.
14345
14346 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14347 Move MODE-set-explicitly definition before use.
14348
14349 * international/mule-diag.el (mule-diag):
14350 Don't use obsolete window-system-version.
14351
14352 * mail/feedmail.el (smtpmail): No need to load when compiling.
14353 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14354
14355 * mail/mail-utils.el (rfc822): No need to load when compiling.
14356 (rfc822-addresses): Autoload it.
14357 (mail-strip-quoted-names): Trivial simplification.
14358
14359 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14360 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14361
14362 * net/snmp-mode.el (tempo): Don't duplicate requires.
14363
14364 * progmodes/prolog.el (info): No need to load when compiling.
14365 (comint): Require before shell requires it.
14366 (Info-goto-node): Autoload it.
14367 (Info-follow-nearest-node): Declare.
14368 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14369
14370 * textmodes/artist.el (picture-mode-exit): Declare.
14371
14372 * textmodes/reftex-parse.el (reftex-parse-from-file):
14373 Trivial rewrite so the compiler can parse it better.
14374
14375 2013-05-20 Leo Liu <sdl.web@gmail.com>
14376
14377 * progmodes/octave.el (octave-help-mode-map)
14378 (octave-help-mode-finish-hook): New variables.
14379 (octave-help-mode, octave-help-mode-finish): New functions.
14380 (octave-help): Use octave-help-mode.
14381
14382 2013-05-20 Glenn Morris <rgm@gnu.org>
14383
14384 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14385
14386 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14387
14388 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14389 start at point, so that expansion starting right after opening
14390 slash in a regexp is recognized.
14391 (ruby-syntax-before-regexp-re): New defvar, extracted from
14392 ruby-syntax-propertize-function. Since the value of this regexp
14393 is looked up at runtime now, we should be able to turn
14394 `ruby-syntax-methods-before-regexp' into a defcustom later.
14395 (ruby-syntax-propertize-function): Split regexp matching into two
14396 parts, for opening and closing slashes. That allows us to skip
14397 over string interpolations and support multiline regexps.
14398 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14399 for them, which calls `ruby-syntax-propertize-expansion'.
14400 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14401 call to `ruby-syntax-propertize-function'.
14402 (ruby-syntax-propertize-expansion): Extracted from
14403 `ruby-syntax-propertize-expansions'. Handles one expansion.
14404 (ruby-syntax-propertize-percent-literal): Leave point right after
14405 the percent symbol, so that the expression expansion rule can
14406 propertize the contents.
14407 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14408 heredoc openers.
14409 (ruby-syntax-propertize-expansions): Remove.
14410
14411 2013-05-18 Juri Linkov <juri@jurta.org>
14412
14413 * man.el (Man-default-man-entry): Remove `-' from the end
14414 of the default value. (Bug#14400)
14415
14416 2013-05-18 Glenn Morris <rgm@gnu.org>
14417
14418 * comint.el (comint-password-prompt-regexp):
14419 Allow "password for XXX" where XXX contains colons (eg https://...).
14420
14421 2013-05-18 Leo Liu <sdl.web@gmail.com>
14422
14423 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14424 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14425 (octave-source-directories): Don't check process.
14426 (octave-source-directories, octave-find-definition): Doc fix.
14427
14428 2013-05-18 Glenn Morris <rgm@gnu.org>
14429
14430 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14431 Remove backspace/delete bindings. (Bug#14392)
14432
14433 * cus-dep.el (custom-make-dependencies): Sort the output.
14434 (custom-versions-load-alist): Convert comment to doc.
14435
14436 2013-05-17 Leo Liu <sdl.web@gmail.com>
14437
14438 * newcomment.el (comment-search-backward): Stricter in finding
14439 comment start. (Bug#14303)
14440
14441 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14442 (octave-comment-start-skip): Properly anchored.
14443
14444 2013-05-17 Leo Liu <sdl.web@gmail.com>
14445
14446 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14447 Clean up when turned off. (Bug#14395)
14448 (smie--highlight-matching-block-overlay): No longer buffer-local.
14449 (smie-highlight-matching-block): Adjust.
14450
14451 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14452
14453 Doc string fix for "nanoseconds" (Bug#14406).
14454 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14455 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14456
14457 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14458
14459 * calc/calc-units.el (math-extract-units): Preserve powers
14460 of units.
14461
14462 2013-05-17 Leo Liu <sdl.web@gmail.com>
14463
14464 * subr.el (delete-consecutive-dups): New function.
14465 * ido.el (ido-set-matches-1): Use it.
14466 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14467 * ido.el (ido-remove-consecutive-dups): Remove.
14468
14469 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14470
14471 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14472 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14473 regexp-opt's `words'.
14474
14475 2013-05-16 Leo Liu <sdl.web@gmail.com>
14476
14477 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14478 (smie--highlight-matching-block-overlay)
14479 (smie--highlight-matching-block-lastpos)
14480 (smie--highlight-matching-block-timer): New variables.
14481 (smie-highlight-matching-block): New function.
14482 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14483 (smie-setup): Conditionally enable smie-blink-matching-open.
14484
14485 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14486
14487 Sync with upstream verilog-mode r840.
14488 * progmodes/verilog-mode.el (verilog-mode-version)
14489 (verilog-mode-release-date): Update.
14490 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14491 (verilog-sig-tieoff): Fix string error on
14492 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14493 (verilog-read-decls): Fix parameters confusing
14494 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14495
14496 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14497
14498 * subr.el (reveal-filename): New function.
14499
14500 * loadup.el: Compute Emacs executable versions on MS-Windows,
14501 where executables have the .exe extension. Add a hard link
14502 emacs-XX.YY.ZZ.exe on MS-Windows.
14503
14504 * Makefile.in (XARGS_LIMIT): New variable.
14505 (custom-deps, finder-data, autoloads)
14506 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14507 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14508 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14509 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14510
14511 2013-05-16 Leo Liu <sdl.web@gmail.com>
14512
14513 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14514 (octave-mode-menu, octave-mode-map): Remove its uses.
14515
14516 2013-05-16 Reto Zimmermann <reto@gnu.org>
14517
14518 Sync with upstream vhdl mode v3.34.2.
14519 * progmodes/vhdl-mode.el: Use `push' throughout.
14520 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14521 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14522 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14523 (vhdl-actual-generic-name): New option to derive actual generic name.
14524 (vhdl-port-paste-signals): Replace formal by actual generics.
14525 (vhdl-beautify): New name for old group vhdl-align. Update users.
14526 (vhdl-beautify-options): New option.
14527 (vhdl-last-input-event): New compat alias. Use throughout.
14528 (vhdl-goto-line): Replace user level function `goto-line'.
14529 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14530 vhdl-fix-statement-buffer.
14531 (vhdl-create-mode-menu): Add some entries.
14532 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14533 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14534 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14535 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14536 to force statements on one line.
14537 (vhdl-remove-trailing-spaces-region):
14538 New, split from vhdl-remove-trailing-spaces.
14539 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14540 Respect vhdl-beautify-options.
14541 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14542 (vhdl-update-sensitivity-list): Not add with index if exists without.
14543 Not include array index with signal. Ignore keywords in comments.
14544 (vhdl-get-visible-signals): Regexp tweaks.
14545 (vhdl-template-component-inst): Handle empty library.
14546 (vhdl-template-type): Add template for 'enum' type.
14547 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14548 Use vhdl-replace-string.
14549 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14550 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14551 (vhdl-speedbar-initialize): Update for above name change.
14552 (vhdl-compose-wire-components): Fix in handling of constants.
14553 (vhdl-error-regexp-emacs-alist): New variable.
14554 (vhdl-error-regexp-add-emacs): New function;
14555 adds support for new compile.el (Emacs 22+)
14556 (vhdl-generate-makefile-1): Change target order for single lib. units.
14557 Allow use of absolute file names.
14558
14559 2013-05-16 Leo Liu <sdl.web@gmail.com>
14560
14561 * simple.el (prog-indent-sexp): Indent enclosing defun.
14562
14563 2013-05-15 Glenn Morris <rgm@gnu.org>
14564
14565 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14566 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14567 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14568 (whitespace-highlight): Move to whitespace group.
14569
14570 * comint.el (comint-source):
14571 * pcmpl-linux.el (pcmpl-linux):
14572 * shell.el (shell-faces):
14573 * eshell/esh-opt.el (eshell-opt):
14574 * international/ccl.el (ccl): Remove empty custom groups.
14575
14576 * completion.el (dynamic-completion-mode):
14577 * jit-lock.el (jit-lock-debug-mode):
14578 * minibuffer.el (completion-in-region-mode):
14579 * type-break.el (type-break-mode-line-message-mode)
14580 (type-break-query-mode):
14581 * emulation/tpu-edt.el (tpu-edt-mode):
14582 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14583 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14584 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14585
14586 * term/xterm.el (xterm): Change parent group to terminals.
14587
14588 * master.el (master): Remove empty custom group.
14589 (master-mode): Remove unused :group argument.
14590 * textmodes/refill.el (refill): Remove empty custom group.
14591 (refill-mode): Remove unused :group argument.
14592
14593 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14594
14595 * cus-dep.el: Provide a feature.
14596 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14597 Don't mistakenly ignore files whose basenames match a basename
14598 from preloaded-file-list (eg cedet/ede/simple.el).
14599 Add a fallback method for getting :group.
14600
14601 2013-05-15 Juri Linkov <juri@jurta.org>
14602
14603 * isearch.el (isearch-char-by-name): Rename from
14604 `isearch-insert-char-by-name'. Doc fix.
14605 (isearch-forward): Mention `isearch-char-by-name' in
14606 the docstring. (Bug#13348)
14607
14608 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14609 `exit-minibuffer' instead of
14610 `isearch-nonincremental-exit-minibuffer'.
14611 (isearch-edit-string): Remove mention of
14612 `isearch-nonincremental-exit-minibuffer' from docstring.
14613 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14614 (isearch-forward-exit-minibuffer)
14615 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14616
14617 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14618
14619 * loadup.el: Just use unversioned DOC.
14620
14621 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14622 literals as extending to EOB.
14623 (nxml-last-fontify-end): Remove unused variable.
14624 (nxml-after-change1): Use with-silent-modifications.
14625 (nxml-extend-after-change-region): Simplify.
14626 (nxml-extend-after-change-region1): Remove function.
14627 (nxml-after-change1): Don't adjust for dependent regions.
14628 (nxml-fontify-matcher): Simplify.
14629 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14630 (xmltok-add-dependent): Remove function.
14631 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14632 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14633 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14634 unclosed <[[, <?, comment, and other literals as extending to EOB.
14635 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14636 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14637 Remove functions.
14638 (rng-do-some-validation-1): Don't mark dependent regions.
14639 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14640 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14641 (nxml-clear-dependent-regions): Remove functions.
14642 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14643 (nxml-ensure-scan-up-to-date):
14644 Don't clear&mark dependent regions.
14645
14646 2013-05-15 Leo Liu <sdl.web@gmail.com>
14647
14648 * progmodes/octave.el (octave-goto-function-definition):
14649 Improve and fix callers.
14650
14651 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14654 the setter (bug#14387).
14655
14656 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14657 surrounding group (bug#14402).
14658
14659 2013-05-14 Juri Linkov <juri@jurta.org>
14660
14661 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14662 (Bug#14390)
14663
14664 2013-05-14 Glenn Morris <rgm@gnu.org>
14665
14666 * progmodes/f90.el (f90-imenu-generic-expression):
14667 Fix typo in 2013-05-08 change. (Bug#14402)
14668
14669 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14670
14671 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14672 Remove signals for which replies are never received.
14673
14674 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14675
14676 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14677 (gdb-handler-alist, gdb-handler-number): Remove variables.
14678 (gdb-handler-list): New variable.
14679 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14680 (gdb-pending-handler-p, gdb-handle-reply)
14681 (gdb-remove-all-pending-triggers): New functions.
14682 (gdb-discard-unordered-replies): New defcustom.
14683 (gdb-handler): New defstruct.
14684 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14685 instead of gdb-pending-triggers. Update docstring.
14686 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14687 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14688 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14689 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14690 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14691 (gdb-frame-handler): Pending triggers are now automatically managed.
14692 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14693 Remove argument.
14694 (gdb-input): Automatically handles pending triggers. Update docstring.
14695 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14696 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14697 Update comments.
14698 (gdb-done-or-error): Now use gdb-handle-reply.
14699
14700 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14701
14702 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14703 gdb-debug-log.
14704
14705 2013-05-14 Glenn Morris <rgm@gnu.org>
14706
14707 * subr.el (user-emacs-directory-warning): New option.
14708 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14709
14710 2013-05-14 Leo Liu <sdl.web@gmail.com>
14711
14712 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14713 during redisplay.
14714 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14715 (octave-font-lock-texinfo-comment): Fix invalid search bound
14716 error: wrong side of point.
14717
14718 2013-05-14 Glenn Morris <rgm@gnu.org>
14719
14720 * progmodes/flymake.el (flymake-xml-program): New option.
14721 (flymake-xml-init): Use it.
14722
14723 * term/xterm.el: Provide a feature.
14724
14725 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14726
14727 2013-05-13 Glenn Morris <rgm@gnu.org>
14728
14729 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14730 Add compat aliases as a hack workaround. (Bug#14384)
14731
14732 2013-05-13 Leo Liu <sdl.web@gmail.com>
14733
14734 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14735 ###, and %!.
14736 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14737 C-M-q.
14738 (octave-comment-start-skip): Include %!.
14739 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14740
14741 2013-05-12 Leo Liu <sdl.web@gmail.com>
14742
14743 * progmodes/octave.el (inferior-octave-startup): Store the value
14744 of __octave_srcdir__ for octave-source-directories.
14745 (inferior-octave-check-process): New function refactored out of
14746 inferior-octave-send-list-and-digest.
14747 (octave-source-directories)
14748 (octave-find-definition-filename-function): New variables.
14749 (octave-source-directories)
14750 (octave-find-definition-default-filename): New functions.
14751 (octave-find-definition): Improve to find functions implemented in C++.
14752
14753 2013-05-12 Glenn Morris <rgm@gnu.org>
14754
14755 * calendar/diary-lib.el (diary-outlook-format-1):
14756 Don't include dayname in the output. (Bug#14349)
14757
14758 2013-05-11 Glenn Morris <rgm@gnu.org>
14759
14760 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14761
14762 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14763 Treat cc-provide like provide.
14764
14765 2013-05-11 Kevin Ryde <user42@zip.com.au>
14766
14767 * cus-dep.el (custom-make-dependencies):
14768 Use generated-autoload-load-name for the sake of files such
14769 such cedet/semantic/bovine/c.el, where the base file name
14770 is not in load-path. (Bug#5277)
14771
14772 2013-05-11 Glenn Morris <rgm@gnu.org>
14773
14774 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14775 Provide features.
14776
14777 2013-05-11 Leo Liu <sdl.web@gmail.com>
14778
14779 * progmodes/octave.el (octave-indent-comment): Improve.
14780 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14781 (octave-eldoc-function-signatures, octave-eldoc-function):
14782 New functions.
14783 (octave-mode, inferior-octave-mode): Add eldoc support.
14784
14785 2013-05-11 Richard Stallman <rms@gnu.org>
14786
14787 * epa.el (epa-decrypt-file): Take output file name as argument
14788 and read it using `interactive'.
14789
14790 2013-05-11 Leo Liu <sdl.web@gmail.com>
14791
14792 * progmodes/octave.el (octave-beginning-of-line)
14793 (octave-end-of-line): Check before using up-list because it jumps
14794 out of more syntactic contructs since moving to smie.
14795 (octave-indent-comment): New function.
14796 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14797 (octave-begin-keywords, octave-end-keywords)
14798 (octave-reserved-words, octave-smie-bnf-table)
14799 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14800
14801 2013-05-11 Glenn Morris <rgm@gnu.org>
14802
14803 * faces.el (internal-face-x-get-resource):
14804 * frame.el (ns-display-monitor-attributes-list):
14805 * calc/calc-aent.el (math-to-radians-2):
14806 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14807 Fix declarations.
14808
14809 * calc/calc-menu.el: Make it loadable in isolation.
14810
14811 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14812 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14813 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14814 (eudc-bbdb-query-internal): Require 'bbdb.
14815
14816 * lpr.el (lpr-headers-switches):
14817 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14818
14819 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14820
14821 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14822
14823 * term.el (term-set-escape-char): Make it idempotent.
14824
14825 2013-05-10 Leo Liu <sdl.web@gmail.com>
14826
14827 * progmodes/octave.el (inferior-octave-completion-table):
14828 No longer a function and all uses changed. Use cache to speed up
14829 completion due to bug#11906.
14830 (octave-beginning-of-defun): Re-write to be more general.
14831
14832 2013-05-10 Glenn Morris <rgm@gnu.org>
14833
14834 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14835
14836 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14837
14838 * comint.el (comint-redirect-send-command-to-process): Use :around
14839 rather than :override for comint-redirect-filter.
14840 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14841 Call it instead of comint-redirect-original-filter-function (which
14842 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14843
14844 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14845
14846 * frame.el (display-monitor-attributes-list): Add NS case.
14847 (ns-display-monitor-attributes-list): Declare.
14848
14849 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14850
14851 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14852
14853 2013-05-09 Glenn Morris <rgm@gnu.org>
14854
14855 * international/fontset.el (vertical-centering-font-regexp):
14856 Set standard-value.
14857
14858 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14859
14860 * bookmark.el (bookmark-search-delay):
14861 * cus-start.el (vertical-centering-font-regexp):
14862 * ps-mule.el (ps-mule-font-info-database-default):
14863 * ps-print.el (ps-default-fg, ps-default-bg):
14864 * type-break.el (type-break-good-break-interval):
14865 * whitespace.el (whitespace-indentation-regexp)
14866 (whitespace-space-after-tab-regexp):
14867 * emacs-lisp/testcover.el (testcover-1value-functions)
14868 (testcover-noreturn-functions, testcover-progn-functions)
14869 (testcover-prog1-functions):
14870 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14871 * eshell/em-glob.el (eshell-glob-translate-alist):
14872 * play/tetris.el (tetris-tty-colors):
14873 * progmodes/cpp.el (cpp-face-default-list):
14874 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14875 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14876 (idlwave-help-browser-generic-args):
14877 * progmodes/make-mode.el (makefile-special-targets-list):
14878 * progmodes/python.el (python-shell-virtualenv-path):
14879 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14880 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14881 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14882 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14883 * textmodes/reftex-vars.el (reftex-format-label-function):
14884 * textmodes/remember.el (remember-diary-file): Fix custom types.
14885
14886 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14887 Add :version.
14888
14889 2013-05-09 Leo Liu <sdl.web@gmail.com>
14890
14891 * progmodes/octave.el (inferior-octave-completion-at-point):
14892 Restore file completion. (Bug#14300)
14893 (inferior-octave-startup): Fix incorrect highlighting for the
14894 first prompt.
14895
14896 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * progmodes/ruby-mode.el: First cut at SMIE support.
14899 (ruby-use-smie): New var.
14900 (ruby-smie-grammar): New constant.
14901 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14902 (ruby-smie--forward-token, ruby-smie--backward-token)
14903 (ruby-smie-rules): New functions.
14904 (ruby-mode-variables): Setup SMIE if applicable.
14905
14906 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14907
14908 * simple.el (line-move-visual): Signal beginning/end of buffer
14909 only if vertical-motion moved less than it was requested. Avoids
14910 silly incorrect error messages when there are display strings with
14911 multiple newlines at EOL.
14912
14913 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14914
14915 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14916 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14917 (prolog-char-quote-workaround):
14918 * progmodes/cperl-mode.el (cperl-under-as-char):
14919 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14920 Mark as obsolete.
14921 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14922 their declaration.
14923 (vhdl-mode-syntax-table-init): Remove.
14924
14925 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14926 last change.
14927
14928 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14929 syntax for "_".
14930 (ld-script-font-lock-keywords):
14931 Change regexps to use things like \_< and \_>.
14932
14933 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14934 Change all regexps to use things like \_< and \_>.
14935
14936 * progmodes/autoconf.el (autoconf-definition-regexp)
14937 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14938 Handle a _ with symbol syntax.
14939 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14940
14941 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14942 Consolidate declaration.
14943 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14944 the declaration.
14945 (ada-create-syntax-table): Remove.
14946 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14947 already has the right syntax nowadays.
14948 (ada-goto-next-word): Don't change the syntax of "_".
14949
14950 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14951 with-wrapper-hook.
14952
14953 2013-05-08 Sam Steingold <sds@gnu.org>
14954
14955 * thingatpt.el (thing-at-point): Accept optional second argument
14956 NO-PROPERTIES to strip the text properties from the return value.
14957 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14958 to `thing-at-point' instead of stripping the properties ourselves.
14959 Also, when `thing-at-point' fails to find a url, prepend "http://"
14960 to the filename at point on the assumption that the user is
14961 pointing at something like gnu.org/gnu.
14962
14963 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14964
14965 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14966 * faces.el (crm-separator):
14967 Silence byte-compiler.
14968
14969 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14970 (tool-bar-map): Remove unneeded defvars.
14971
14972 2013-05-08 Leo Liu <sdl.web@gmail.com>
14973
14974 Re-work a fix for bug#10994 based on Le Wang's patch.
14975 * ido.el (ido-remove-consecutive-dups): New helper.
14976 (ido-completing-read): Use it.
14977 (ido-chop): Revert fix for bug#10994.
14978
14979 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14980
14981 * cus-edit.el (custom-save-variables):
14982 Pretty-print long values. (Bug#14187)
14983
14984 2013-05-08 Glenn Morris <rgm@gnu.org>
14985
14986 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14987 (m4-mode-syntax-table): Init in the defvar.
14988 (m4-mode-abbrev-table): Let define-derived-mode define it.
14989
14990 2013-05-08 Tom Tromey <tromey@redhat.com>
14991
14992 * progmodes/m4-mode.el (m4-mode-syntax-table):
14993 Do not treat "_" as word constituent. (Bug#14167)
14994
14995 2013-05-07 Glenn Morris <rgm@gnu.org>
14996
14997 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14998 Remove explicit eshell-isearch-cancel-map.
14999
15000 * progmodes/f90.el (f90-smart-end-names): New option.
15001 (f90-smart-end): Doc fix.
15002 (f90-end-block-optional-name): New constant.
15003 (f90-block-match): Respect f90-smart-end-names.
15004
15005 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15006
15007 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15008 about implicit semi-colons (bug#14218).
15009
15010 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15011
15012 * frame.el (display-monitor-attributes-list)
15013 (frame-monitor-attributes): New functions.
15014
15015 2013-05-06 Leo Liu <sdl.web@gmail.com>
15016
15017 * progmodes/octave.el (octave-syntax-propertize-function): Change
15018 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15019 (octave-font-lock-keywords): Use octave-operator-regexp.
15020 (octave-completion-at-point): Rename from
15021 octave-completion-at-point-function.
15022 (inferior-octave-directory-tracker): Robustify.
15023 (octave-text-functions): Remove and fix its uses. No such things
15024 any more.
15025
15026 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15027
15028 * emacs-lisp/trace.el (trace--display-buffer): New function.
15029 (trace-make-advice): Use it.
15030
15031 2013-05-06 Juri Linkov <juri@jurta.org>
15032
15033 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15034 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15035 Doc fix.
15036 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15037 in the help string. (Bug#12985)
15038
15039 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15040
15041 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15042
15043 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15044
15045 * progmodes/perl-mode.el: Add support for here documents.
15046 (perl-syntax-propertize-function): Match here-doc markers.
15047 (perl-syntax-propertize-special-constructs): Find their end.
15048 (perl-imenu-generic-expression): Use [:alnum:].
15049
15050 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15051 (advice--add-function): Refresh the advice if already present
15052 (bug#14317).
15053
15054 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15055
15056 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15057
15058 2013-05-06 Glenn Morris <rgm@gnu.org>
15059
15060 * w32-fns.el (w32-charset-info-alist): Declare.
15061
15062 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15063 of its defcustom properties.
15064 (eshell-cmpl-initialize): No need to load pcomplete.
15065
15066 * generic-x.el: No need to require comint when compiling.
15067
15068 * net/eudc-export.el: Make it loadable without bbdb.
15069 (top-level): Use require rather than load-library.
15070 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15071 (eudc-batch-export-records-to-bbdb)
15072 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15073 Require bbdb.
15074
15075 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15076
15077 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15078 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15079 some tweaks, instead.
15080
15081 2013-05-05 Leo Liu <sdl.web@gmail.com>
15082
15083 * progmodes/octave.el (octave-font-lock-keywords)
15084 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15085 (inferior-octave-send-list-and-digest): Improve error message.
15086 (octave-mode, inferior-octave-mode): Use setq-local.
15087 (octave-help): Set info-lookup-mode.
15088
15089 2013-05-05 Richard Stallman <rms@gnu.org>
15090
15091 * vc/compare-w.el (compare-windows-whitespace):
15092 Treat no-break space as whitespace.
15093
15094 * mail/rmailsum.el (rmail-summary-rmail-update):
15095 Detect empty summary and don't change selected message.
15096 (rmail-summary-goto-msg): Likewise.
15097
15098 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15099 Doc fixes, rename args.
15100
15101 2013-05-05 Alan Mackenzie <acm@muc.de>
15102
15103 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15104
15105 2013-05-05 Juri Linkov <juri@jurta.org>
15106
15107 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15108 to not add the length of the summary segment to the return value.
15109 (Bug#14125)
15110
15111 2013-05-05 Leo Liu <sdl.web@gmail.com>
15112
15113 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15114 (inferior-octave-output-filter): Remove.
15115 (octave-send-region, inferior-octave-startup): Fix callers.
15116 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15117 (octave-binary-file-extensions): New user variable.
15118 (octave-find-definition): Confirm if opening binary files.
15119 (octave-help-file): Use octave-find-definition to get the binary
15120 confirmation.
15121 (octave-help): Adjust for octave-help-file change.
15122
15123 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15124
15125 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15126 Merge the two entries that handle function definitions.
15127 (pascal--syntax-propertize): New const.
15128 (pascal-mode): Use it. Use setq-local.
15129
15130 2013-05-04 Glenn Morris <rgm@gnu.org>
15131
15132 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15133 (diary-from-outlook): Respect diary-from-outlook-function.
15134
15135 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15136
15137 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15138 Move the declaration from C.
15139 (read-minibuffer, eval-minibuffer): Move from C.
15140 (completion-setup-function): Avoid minibuffer-completion-contents.
15141
15142 2013-05-03 Leo Liu <sdl.web@gmail.com>
15143
15144 * progmodes/octave.el (octave-font-lock-keywords): Do not
15145 dehighlight 'end' in comments or strings.
15146 (octave-completing-read, octave-goto-function-definition):
15147 New helpers.
15148 (octave-help-buffer): New user variable.
15149 (octave-help-file, octave-help-function): New button types.
15150 (octave-help): New command and bind it to C-h ;.
15151 (octave-find-definition): New command and bind it to M-.
15152 (user-error): Alias to error if not defined.
15153
15154 2013-05-02 Leo Liu <sdl.web@gmail.com>
15155
15156 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15157 for \. (bug#14332)
15158 (octave-font-lock-keywords): Include [ and {.
15159
15160 2013-05-02 Leo Liu <sdl.web@gmail.com>
15161
15162 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15163 (inferior-octave): Remove calling comint-mode and return the buffer.
15164 (inferior-octave-startup): Cosmetic changes.
15165
15166 2013-05-02 Leo Liu <sdl.web@gmail.com>
15167
15168 * progmodes/octave.el (octave-syntax-propertize-function):
15169 Include the case when ' is at line beginning. (Bug#14336)
15170
15171 2013-05-02 Glenn Morris <rgm@gnu.org>
15172
15173 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15174 * desktop.el (vc-dir-mode): Just autoload it here.
15175
15176 2013-05-02 Alan Mackenzie <acm@muc.de>
15177
15178 Eliminate variable c-standard-font-lock-fontify-region-function.
15179 * progmodes/cc-mode.el
15180 (c-standard-font-lock-fontify-region-function): Remove.
15181 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15182
15183 2013-05-01 Leo Liu <sdl.web@gmail.com>
15184
15185 * progmodes/octave.el: Compatible with older emacs-24 releases.
15186 (inferior-octave-has-built-in-variables): Remove. Built-in
15187 variables were removed from Octave in 2007.
15188 (inferior-octave-startup): Fix uses.
15189 (comint-line-beginning-position): Remove compatibility code for
15190 emacs 21.
15191
15192 2013-05-01 Juri Linkov <juri@jurta.org>
15193
15194 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15195
15196 2013-05-01 Juri Linkov <juri@jurta.org>
15197
15198 * comint.el (comint-previous-matching-input): Don't print message
15199 "History item: %d" when `isearch-mode' is active.
15200 (comint-history-isearch-message): Print message "History item: %d"
15201 when `comint-input-ring-index' is not empty and this function is
15202 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15203
15204 2013-05-01 Leo Liu <sdl.web@gmail.com>
15205
15206 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15207 definitions. Use completion-at-point to insert keywords.
15208 (octave-abbrev-start): Remove.
15209 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15210
15211 2013-04-30 Leo Liu <sdl.web@gmail.com>
15212
15213 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15214 change.
15215
15216 2013-04-30 Alan Mackenzie <acm@muc.de>
15217
15218 Handle arbitrarily long C++ member initialisation lists.
15219 * progmodes/cc-engine.el (c-back-over-member-initializers):
15220 new function.
15221 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15222 (most) member init lists.
15223
15224 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15225
15226 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15227 variable.
15228
15229 2013-04-30 Leo Liu <sdl.web@gmail.com>
15230
15231 * progmodes/octave.el (octave-variables): Remove. No builtin
15232 variables any more. All converted to functions.
15233 (octave-font-lock-keywords, octave-completion-at-point-function):
15234 Fix uses.
15235 (octave-font-lock-texinfo-comment): New user variable.
15236 (octave-texinfo-font-lock-keywords): New variable for texinfo
15237 comment block.
15238 (octave-function-comment-block): New face.
15239 (octave-font-lock-texinfo-comment): New function.
15240 (octave-mode): Font lock texinfo comment block.
15241
15242 2013-04-29 Leo Liu <sdl.web@gmail.com>
15243
15244 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15245 indexing expression.
15246 (octave-continuation-string): Do not use \.
15247 (inferior-octave-complete-impossible): Remove.
15248 (inferior-octave-completion-table)
15249 (inferior-octave-completion-at-point): Remove its uses.
15250 (inferior-octave-startup): completion_matches was introduced to
15251 Octave in 1996 so safe to assume it.
15252 (octave-function-file-comment): Improve to follow how Octave does it.
15253 (octave-update-function-file-comment): Tweak.
15254
15255 2013-04-29 Leo Liu <sdl.web@gmail.com>
15256
15257 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15258 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15259 (octave-function-file-comment): Fix typo.
15260 (octave-sync-function-file-names): Use read-char-choice.
15261
15262 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15263
15264 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15265 to t for the less important warnings.
15266
15267 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15268
15269 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15270
15271 2013-04-27 Glenn Morris <rgm@gnu.org>
15272
15273 * vc/log-view.el (log-view-current-entry):
15274 Treat "---" separator lines as part of the following rev. (Bug#14169)
15275
15276 2013-04-27 Juri Linkov <juri@jurta.org>
15277
15278 * subr.el (read-number): Doc fix about using it by interactive
15279 code letter `n'. (Bug#14254)
15280
15281 2013-04-27 Juri Linkov <juri@jurta.org>
15282
15283 * desktop.el (desktop-auto-save-timeout): New option.
15284 (desktop-file-checksum): New variable.
15285 (desktop-save): Add optional arg `auto-save' and don't auto-save
15286 if nothing changed.
15287 (desktop-auto-save-timer): New variable.
15288 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15289 (after-init-hook): Call `desktop-auto-save-set-timer'.
15290 Suggested by Reuben Thomas <rrt@sc3d.org> in
15291 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15292
15293 2013-04-27 Leo Liu <sdl.web@gmail.com>
15294
15295 * progmodes/octave.el (octave-function-file-p)
15296 (octave-skip-comment-forward, octave-function-file-comment)
15297 (octave-update-function-file-comment): New functions.
15298 (octave-mode-map): Bind C-c ; to
15299 octave-update-function-file-comment.
15300 (octave-mode-menu): Add octave-update-function-file-comment.
15301 (octave-mode, inferior-octave-mode): Fix doc-string.
15302 (octave-insert-defun): Conform to Octave's coding convention.
15303 (Bug#14285)
15304
15305 * files.el (basic-save-buffer): Don't let errors in
15306 before-save-hook prevent saving buffer.
15307
15308 2013-04-20 Roland Winkler <winkler@gnu.org>
15309
15310 * faces.el (read-face-name): Use completing-read if arg multiple
15311 is nil.
15312
15313 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15314
15315 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15316 displayed, move point to after the totals line.
15317 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15318 for the details.
15319
15320 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15323 Add current dir to the load-path.
15324 (package-generate-autoloads): Don't rely on
15325 autoload-ensure-default-file.
15326
15327 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15328
15329 * textmodes/remember.el (remember-store-in-files): Document that
15330 the file name format is passed to `format-time-string'.
15331
15332 2013-04-26 Leo Liu <sdl.web@gmail.com>
15333
15334 * progmodes/octave.el (octave-sync-function-file-names): New function.
15335 (octave-mode): Use it in before-save-hook.
15336
15337 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15338
15339 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15340 (bug#14274).
15341
15342 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15343 \n and comment, even if it's not an implicit ; (bug#14218).
15344
15345 2013-04-26 Glenn Morris <rgm@gnu.org>
15346
15347 * subr.el (read-number): Once more use `read' rather than
15348 `string-to-number', to trap non-numeric input. (Bug#14254)
15349
15350 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15351
15352 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15353 Use `syntax-multiline' text property consistently instead of
15354 `font-lock-multiline'. (Bug#14237)
15355
15356 2013-04-26 Glenn Morris <rgm@gnu.org>
15357
15358 * emacs-lisp/shadow.el (list-load-path-shadows):
15359 No longer necessary to check for duplicate simple.el, since
15360 2012-07-07 change to init_lread to not include installation lisp
15361 directories in load-path when running uninstalled. (Bug#14270)
15362
15363 2013-04-26 Leo Liu <sdl.web@gmail.com>
15364
15365 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15366 (octave-mode, inferior-octave-mode): Use setq-local.
15367 (octave-not-in-string-or-comment-p): Rename to
15368 octave-in-string-or-comment-p.
15369 (octave-in-comment-p, octave-in-string-p)
15370 (octave-in-string-or-comment-p): Replace defsubst with defun.
15371
15372 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15373
15374 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15375
15376 2013-04-25 Bastien Guerry <bzg@gnu.org>
15377
15378 * textmodes/remember.el (remember-data-directory)
15379 (remember-directory-file-name-format): Fix custom types.
15380
15381 2013-04-25 Leo Liu <sdl.web@gmail.com>
15382
15383 * progmodes/octave.el (octave-completion-at-point-function):
15384 Make use of inferior octave process.
15385 (octave-initialize-completions): Remove.
15386 (inferior-octave-completion-table): New function.
15387 (inferior-octave-completion-at-point): Use it.
15388 (octave-completion-alist): Remove.
15389
15390 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15391
15392 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15393 (opascal-mode-syntax-table): New var.
15394 (opascal-literal-kind, opascal-is-literal-end)
15395 (opascal-literal-token-at): Rewrite.
15396 (opascal--literal-start-re, opascal-font-lock-keywords)
15397 (opascal--syntax-propertize): New constants.
15398 (opascal-font-lock-defaults): Adjust.
15399 (opascal-mode): Use them. Set comment-<foo> variables as well.
15400 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15401 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15402 (delphi-other-face, opascal-other-face): Remove face variables.
15403 (opascal-save-state): Remove macro.
15404 (opascal-fontifying-progress-step): Remove constant.
15405 (opascal--ignore-changes): Remove var.
15406 (opascal-set-token-property, opascal-parse-next-literal)
15407 (opascal-is-stable-literal, opascal-complete-literal)
15408 (opascal-is-literal-start, opascal-face-of)
15409 (opascal-parse-region, opascal-parse-region-until-stable)
15410 (opascal-fontify-region, opascal-after-change)
15411 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15412 (opascal-debug-parse-region, opascal-debug-parse-window)
15413 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15414 (opascal-debug-fontify-buffer): Remove.
15415 (opascal-debug-mode-map): Adjust accordingly.
15416
15417 2013-04-25 Leo Liu <sdl.web@gmail.com>
15418
15419 Merge octave-mod.el and octave-inf.el into octave.el with some
15420 cleanups.
15421 * progmodes/octave.el: New file renamed from octave-mod.el.
15422 * progmodes/octave-inf.el: Merged into octave.el.
15423 * progmodes/octave-mod.el: Renamed to octave.el.
15424
15425 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15426
15427 * textmodes/reftex-vars.el
15428 (reftex-label-ignored-macros-and-environments): New defcustom.
15429
15430 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15431
15432 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15433
15434 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15435 (smie-indent-keyword): Improve the check to ensure that the next
15436 comment is really on the same line.
15437 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15438
15439 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15440 semi-colons if the line is not otherwise empty (bug#14218).
15441
15442 2013-04-25 Glenn Morris <rgm@gnu.org>
15443
15444 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15445
15446 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15447
15448 * progmodes/opascal.el (opascal-set-token-property): Rename from
15449 opascal-set-text-properties and only set `token' (bug#14134).
15450 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15451 (opascal-literal-text-properties): Remove.
15452 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15453 Adjust callers.
15454
15455 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15456
15457 * textmodes/remember.el (remember-handler-functions): Add an
15458 option for a new handler `remember-store-in-files'.
15459 (remember-data-directory, remember-directory-file-name-format):
15460 New options.
15461 (remember-store-in-files): New function to store remember notes
15462 as separate files within a directory.
15463
15464 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15465
15466 * progmodes/compile.el (compilation-next-error-function):
15467 Pass "formats" to compilation-find-file (bug#11777).
15468
15469 2013-04-24 Glenn Morris <rgm@gnu.org>
15470
15471 * vc/vc-bzr.el (vc-bzr-print-log):
15472 * vc/vc-hg.el (vc-hg-print-log):
15473 * vc/vc-svn.el (vc-svn-print-log):
15474 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15475
15476 * vc/vc-bzr.el (vc-bzr-print-log):
15477 * vc/vc-cvs.el (vc-cvs-print-log):
15478 * vc/vc-git.el (vc-git-print-log):
15479 * vc/vc-hg.el (vc-hg-print-log):
15480 * vc/vc-mtn.el (vc-mtn-print-log):
15481 * vc/vc-rcs.el (vc-rcs-print-log):
15482 * vc/vc-sccs.el (vc-sccs-print-log):
15483 * vc/vc-svn.el (vc-svn-print-log):
15484 * vc/vc.el (vc-print-log-internal): Doc fixes.
15485
15486 2013-04-23 Glenn Morris <rgm@gnu.org>
15487
15488 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15489 Remove venerable code attempting to avoid substitute-command-keys.
15490
15491 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15492
15493 * textmodes/reftex-vars.el (reftex-label-regexps):
15494 Call `reftex-compile-variables' after changes to this variable.
15495
15496 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15497
15498 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15499 Use lexical-binding.
15500 (jit-lock-force-redisplay): Use markers, check buffer's continued
15501 existence and beware narrowed buffers.
15502 (jit-lock-fontify-now): Adjust call accordingly.
15503
15504 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15505
15506 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15507 to avoid misleading the user.
15508
15509 2013-04-22 Leo Liu <sdl.web@gmail.com>
15510
15511 * info-look.el: Prefer latex2e.info. (Bug#14240)
15512
15513 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15514
15515 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15516
15517 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15518 * net/tramp.el (tramp-call-process): ... here.
15519 (tramp-set-completion-function, tramp-parse-putty):
15520 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15521 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15522 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15523 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15524 (tramp-call-local-coding-command): Use `tramp-call-process'
15525 instead of `tramp-compat-call-process'.
15526
15527 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15528 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15529 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15530 (tramp-find-inline-compress): Improve traces.
15531 (tramp-maybe-send-script): Check for Perl binary.
15532 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15533
15534 2013-04-22 Daiki Ueno <ueno@gnu.org>
15535
15536 * epg.el (epg-context-pinentry-mode): New function.
15537 (epg-context-set-pinentry-mode): New function.
15538 (epg--start): Pass --pinentry-mode option to gpg command.
15539
15540 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15541
15542 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15543 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15544 `completion-at-point'. (Bug#13774)
15545
15546 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15547 default key binding for `describe-distribution' has been moved to
15548 `C-h C-o'. (Bug#13970)
15549
15550 2013-04-21 Glenn Morris <rgm@gnu.org>
15551
15552 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15553 Add doc strings.
15554 (vc-print-log): Clarify interactive prompt.
15555
15556 2013-04-20 Glenn Morris <rgm@gnu.org>
15557
15558 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15559 No longer include timestamp etc information.
15560
15561 2013-04-20 Roland Winkler <winkler@gnu.org>
15562
15563 * faces.el (read-face-name): Bug fix, return just one face if arg
15564 multiple is nil. (Bug#14209)
15565
15566 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15567
15568 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15569 (remove-function): Autoload.
15570
15571 * comint.el (comint-redirect-original-filter-function): Remove.
15572 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15573 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15574 (vc-cvs-annotate-command):
15575 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15576 * progmodes/prolog.el (prolog-consult-compile):
15577 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15578 Use add/remove-function instead.
15579 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15580 (gud-tooltip-process-output, gud-tooltip-tips):
15581 Use add/remove-function instead.
15582 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15583 (scheme-interaction-mode, exit-scheme-interaction-mode):
15584 Use add/remove-function instead.
15585
15586 * vc/vc-dispatcher.el: Use lexical-binding.
15587 (vc--process-sentinel): Rename from vc-process-sentinel.
15588 Change last arg to be the code to run. Don't use vc-previous-sentinel
15589 and vc-sentinel-commands any more.
15590 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15591 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15592
15593 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15594
15595 * progmodes/sh-script.el (sh-imenu-generic-expression):
15596 Handle function names with a single character. (Bug#14111)
15597
15598 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15599
15600 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15601 for subroutines defined in an eval (bug#14182).
15602
15603 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15604
15605 * bookmark.el (bookmark-completing-read): Improve handling of empty
15606 string (bug#14176).
15607
15608 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15609
15610 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15611
15612 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15613
15614 New faster Imenu implementation (bug#14058).
15615 * progmodes/python.el (python-imenu-prev-index-position)
15616 (python-imenu-format-item-label-function)
15617 (python-imenu-format-parent-item-label-function)
15618 (python-imenu-format-parent-item-jump-label-function):
15619 New vars.
15620 (python-imenu-format-item-label)
15621 (python-imenu-format-parent-item-label)
15622 (python-imenu-format-parent-item-jump-label)
15623 (python-imenu--put-parent, python-imenu--build-tree)
15624 (python-imenu-create-index, python-imenu-create-flat-index)
15625 (python-util-popn): New functions.
15626 (python-mode): Set imenu-create-index-function to
15627 python-imenu-create-index.
15628
15629 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15630
15631 * winner.el (winner-active-region): Use region-active-p, activate-mark
15632 and deactivate-mark (bug#14225).
15633
15634 * simple.el (deactivate-mark): Don't inline it.
15635
15636 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15637
15638 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15639
15640 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15641
15642 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15643 file extensions from the archive-mode entry in order to prefer
15644 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15645
15646 2013-04-18 Leo Liu <sdl.web@gmail.com>
15647
15648 * bindings.el (help-event-list): Add ?\?.
15649
15650 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15651
15652 * subr.el (with-wrapper-hook): Declare obsolete.
15653 * simple.el (filter-buffer-substring-function): New hook.
15654 (filter-buffer-substring): Use it.
15655 (filter-buffer-substring-functions): Mark obsolete.
15656 * minibuffer.el (completion-in-region-function): New hook.
15657 (completion-in-region): Use it.
15658 (completion-in-region-functions): Mark obsolete.
15659 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15660 * abbrev.el (abbrev-expand-function): New hook.
15661 (expand-abbrev): Use it.
15662 (abbrev-expand-functions): Mark obsolete.
15663 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15664 and :filter-return.
15665
15666 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15667
15668 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15669 and do not care about match data.
15670
15671 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15672
15673 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15674 completion tables when completing error conditions and
15675 `declare' arguments.
15676 (lisp-complete-symbol, field-complete): Mark as obsolete.
15677 (check-parens): Unmatched parens are user errors.
15678 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15679
15680 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15681
15682 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15683 command changed buffer (ie. `flyspell-pre-buffer' is not current
15684 buffer), which prevents making decisions based on invalid value of
15685 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15686 cause an error when `flyspell-pre-point' was nil after switching
15687 buffers.
15688 (flyspell-post-command-hook): No longer needs to change buffers when
15689 checking pre-word. While at it remove unnecessary progn.
15690
15691 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15692
15693 * textmodes/ispell.el (ispell-add-per-file-word-list):
15694 Fix `flyspell-correct-word-before-point' error when accepting
15695 words and `coment-padding' is an integer by using
15696 `comment-normalize-vars' (Bug #14214).
15697
15698 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15699
15700 New defun movement commands.
15701 * progmodes/python.el (python-nav--syntactically)
15702 (python-nav--forward-defun, python-nav-backward-defun)
15703 (python-nav-forward-defun): New functions.
15704
15705 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15706
15707 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15708 (python-syntax-context): Use named compiler-macro for backwards
15709 compatibility with Emacs 24.x.
15710
15711 2013-04-17 Leo Liu <sdl.web@gmail.com>
15712
15713 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15714 octave-hide-process-buffer.
15715
15716 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15717
15718 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15719 (bug#14216).
15720
15721 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15722
15723 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15724 Fix adjustment of offset when receiving incomplete responses from GDB
15725 (bug#14129).
15726
15727 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15728
15729 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15730 python-mode-abbrev-table.
15731 (python-skeleton-define): Adjust accordingly.
15732 (python-mode-abbrev-table): New table that inherits from it so that
15733 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15734
15735 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15736 (abbrev-symbol): Use it.
15737 (abbrev--before-point): Use it since we already handle inheritance.
15738
15739 2013-04-16 Leo Liu <sdl.web@gmail.com>
15740
15741 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15742 binding to info-lookup-symbol.
15743
15744 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15745
15746 * minibuffer.el (completion--twq-all):
15747 * term/ns-win.el (ns-initialize-window-system):
15748 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15749
15750 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15751
15752 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15753 global bindings.
15754
15755 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15756
15757 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15758
15759 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15760 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15761 to nil.
15762 (ruby-end-of-defun): Remove the unused arg, change the docstring
15763 to reflect that this function is only used as the value of
15764 `end-of-defun-function'.
15765 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15766 to reflect an earlier change that beginning/end-of-defun functions
15767 jump between methods in a class definition, as well as top-level
15768 functions.
15769
15770 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15771
15772 * minibuffer.el (minibuffer-complete): Don't just scroll
15773 a *Completions* that's been iconified.
15774 (minibuffer-force-complete): Make sure repetitions do cycle when going
15775 through completion-in-region -> minibuffer-complete.
15776
15777 2013-04-15 Alan Mackenzie <acm@muc.de>
15778
15779 Correct the placement of c-cpp-delimiters when there're #s not at
15780 col 0.
15781
15782 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15783 place a submatch around the #.
15784 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15785 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15786 on the #, not BOL.
15787
15788 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15789
15790 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15791 (advice--member-p): New arg `name'.
15792 (advice--add-function, advice-member-p): Use it (bug#14202).
15793
15794 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15795
15796 Reformulate java imenu-generic-expression.
15797 The old expression contained ill formed regexps.
15798
15799 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15800 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15801 (cc-imenu-java-method-arg-regexp): New defconsts.
15802 (cc-imenu-java-build-type-args-regex): New defun.
15803 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15804 handling of spaces in the regexp.
15805
15806 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15807
15808 * textmodes/ispell.el (ispell-command-loop): Remove
15809 flyspell highlight of a word when ispell accepts it (bug #14178).
15810
15811 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15812
15813 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15814 uses code from the previous `ange-ftp-run-real-handler'.
15815 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15816 only in case that function exist. This is needed for proper
15817 unloading of Tramp.
15818
15819 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15820
15821 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15822
15823 * textmodes/reftex.el (reftex-compile-variables): Use it.
15824
15825 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15826
15827 * files.el (normal-mode): Only use default major-mode if no other mode
15828 was specified.
15829
15830 * emacs-lisp/trace.el (trace-values): New function.
15831
15832 * files.el: Allow : in local variables (bug#14089).
15833 (hack-local-variable-regexp): New var.
15834 (hack-local-variables-prop-line, hack-local-variables): Use it.
15835
15836 2013-04-13 Roland Winkler <winkler@gnu.org>
15837
15838 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15839 data before it gets modified by bibtex-beginning-of-entry.
15840
15841 2013-04-13 Roland Winkler <winkler@gnu.org>
15842
15843 * textmodes/bibtex.el (bibtex-url): Doc fix.
15844
15845 2013-04-13 Roland Winkler <winkler@gnu.org>
15846
15847 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15848 does not visit a BibTeX file, exclude it from the list of buffers
15849 returned by bibtex-initialize.
15850
15851 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15852
15853 * window.el (split-window): Remove interactive form, since as a
15854 command this function is a special case of split-window-below.
15855 Correct doc string.
15856
15857 2013-04-12 Roland Winkler <winkler@gnu.org>
15858
15859 * faces.el (read-face-name): Do not override value of arg default.
15860 Allow single faces and strings as default values. Remove those
15861 elements from return value that are not faces.
15862 (describe-face): Simplify.
15863 (face-at-point): New optional args thing and multiple so that this
15864 function can provide the same functionality previously provided by
15865 read-face-name.
15866 (make-face-bold, make-face-unbold, make-face-italic)
15867 (make-face-unitalic, make-face-bold-italic, invert-face)
15868 (modify-face, read-face-and-attribute): Use face-at-point.
15869
15870 * cus-edit.el (customize-face, customize-face-other-window)
15871 * cus-theme.el (custom-theme-add-face)
15872 * face-remap.el (buffer-face-set)
15873 * facemenu.el (facemenu-set-face): Use face-at-point.
15874
15875 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15876
15877 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15878
15879 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15880
15881 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15882 off leading { and trailing } from field values.
15883
15884 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15885
15886 * emacs-lisp/timer.el (timer--check): New function.
15887 (timer--time, timer-set-function, timer-event-handler): Use it.
15888 (timer-set-idle-time): Simplify.
15889 (timer--activate): CSE.
15890 (timer-event-handler): Give more info in error message.
15891 (internal-timer-start-idle): New function, moved from C.
15892
15893 * mpc.el (mpc-proc): Add `restart' argument.
15894 (mpc-proc-cmd): Use it.
15895 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15896 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15897 less often.
15898
15899 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15900
15901 * progmodes/sh-script.el: Implement `sh-mode' own
15902 `add-log-current-defun-function' (bug#14112).
15903 (sh-current-defun-name): New function.
15904 (sh-mode): Use the function.
15905
15906 2013-04-09 Bastien Guerry <bzg@gnu.org>
15907
15908 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15909
15910 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15911
15912 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15913
15914 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15915 timer (bug#14156).
15916
15917 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15918
15919 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15920 declaration.
15921
15922 2013-04-07 Leo Liu <sdl.web@gmail.com>
15923
15924 * pcmpl-x.el: New file.
15925
15926 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15927
15928 Do not set x-display-name until X connection is established.
15929 This is needed to prevent from weird situation described at
15930 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15931 * frame.el (make-frame): Set x-display-name after call to
15932 window system initialization function, not before.
15933 * term/x-win.el (x-initialize-window-system): Add optional
15934 display argument and use it.
15935 * term/w32-win.el (w32-initialize-window-system):
15936 * term/ns-win.el (ns-initialize-window-system):
15937 * term/pc-win.el (msdos-initialize-window-system):
15938 Add compatible optional display argument.
15939
15940 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15941
15942 * files.el (normal-backup-enable-predicate): On MS-Windows and
15943 MS-DOS compare truenames of temporary-file-directory and of the
15944 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15945 don't fail comparison by compare-strings. Also, compare file
15946 names case-insensitively on MS-Windows and MS-DOS.
15947
15948 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15949
15950 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15951 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15952
15953 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15954
15955 * whitespace.el (whitespace-color-on, whitespace-color-off):
15956 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15957
15958 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15959
15960 * ispell.el (ispell-set-spellchecker-params):
15961 Really set `ispell-args' for all equivs.
15962
15963 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15964
15965 * ido.el (ido-completions): Use extra elements of ido-decorations
15966 (bug#14143).
15967 (ido-decorations): Update docstring.
15968
15969 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15970
15971 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15972 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15973 nil during initialization, in order not to miss changes since the
15974 file was opened. (Bug#14140)
15975
15976 2013-04-05 Leo Liu <sdl.web@gmail.com>
15977
15978 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15979
15980 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15981
15982 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15983
15984 2013-04-04 Glenn Morris <rgm@gnu.org>
15985
15986 * electric.el (electric-pair-inhibit-predicate): Add :version.
15987
15988 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15989
15990 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15991 when a package is required several times (bug#14082).
15992
15993 2013-04-04 Roland Winkler <winkler@gnu.org>
15994
15995 * faces.el (read-face-name): Behave as promised by the docstring.
15996 Assume that arg default is a list of faces.
15997 (describe-face): Call read-face-name with list of default faces.
15998
15999 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16000
16001 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16002 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16003 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16004 the header.
16005 (bookmark-exit-hook-internal): Save even if list is empty.
16006
16007 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16008
16009 * emacs-lisp/package.el (package-pinned-packages): New var.
16010 (package--add-to-archive-contents): Obey it (bug#14118).
16011
16012 2013-04-03 Alan Mackenzie <acm@muc.de>
16013
16014 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16015 Also adapt to the new values of element 7 of a parse state.
16016
16017 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16018 parameter `not-in-delimiter'. Handle being inside comment opener.
16019 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16020 character in case we're typing a '*' after a '/'.
16021 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16022 instead by passing the parameter to c-state-pp-to-literal.
16023
16024 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16025 for elt. 7 of a parse state.
16026
16027 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16028
16029 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16030 * international/latin1-disp.el, international/mule-util.el:
16031 * language/cyril-util.el, language/european.el, language/ind-util.el:
16032 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16033 * language/tibetan.el, language/viet-util.el:
16034 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16035
16036 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16037
16038 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16039 (electric-pair-post-self-insert-function): Use it.
16040 (electric-pair-default-inhibit): New function, extracted from
16041 electric-pair-post-self-insert-function.
16042
16043 2013-03-31 Roland Winkler <winkler@gnu.org>
16044
16045 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16046
16047 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16048
16049 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16050
16051 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16052
16053 Un-indent after "pass" and "return" statements (Bug#13888)
16054 * progmodes/python.el (python-indent-block-enders): New var.
16055 (python-indent-calculate-indentation): Use it.
16056
16057 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16058
16059 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16060 defun. Defining it as defalias could introduce too eager
16061 byte-compiler optimization. (Bug#14030)
16062
16063 2013-03-30 Chong Yidong <cyd@gnu.org>
16064
16065 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16066
16067 2013-03-30 Leo Liu <sdl.web@gmail.com>
16068
16069 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16070 (kmacro-execute-from-register): Pass the keyboard macro to
16071 kmacro-call-macro or repeating won't work correctly.
16072
16073 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16074
16075 * progmodes/subword.el: Back to using `forward-symbol'.
16076
16077 * subr.el (forward-whitespace, forward-symbol)
16078 (forward-same-syntax): Move from thingatpt.el.
16079
16080 2013-03-29 Leo Liu <sdl.web@gmail.com>
16081
16082 * kmacro.el (kmacro-to-register): New command.
16083 (kmacro-execute-from-register): New function.
16084 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16085
16086 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16087
16088 * mpc.el: Use defvar-local and setq-local.
16089 (mpc--proc-connect): Connection failures are not bugs.
16090 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16091 (mpc-volume-map): Bind to the up-events.
16092
16093 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16094
16095 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16096 instead of `forward-symbol'.
16097
16098 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16099
16100 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16101 (edebug--recursive-edit): Use it.
16102 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16103 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16104
16105 2013-03-28 Leo Liu <sdl.web@gmail.com>
16106
16107 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16108
16109 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16110
16111 * facemenu.el (list-colors-callback): New defvar.
16112 (list-colors-redisplay): New function.
16113 (list-colors-display): Install list-colors-redisplay as the
16114 revert-buffer-function. (Bug#14063)
16115
16116 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16117
16118 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16119 and suffixes don't overlap (bug#14061).
16120
16121 * case-table.el: Use lexical-binding.
16122 (case-table-get-table): New function.
16123 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16124
16125 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16126
16127 * progmodes/subword.el: Add `superword-mode' to do word motion
16128 over symbol_words (parallels and leverages `subword-mode' which
16129 does word motion inside MixedCaseWords).
16130
16131 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16132
16133 * eshell/em-unix.el: Move su and sudo to...
16134 * eshell/em-tramp.el: ...Eshell tramp module.
16135
16136 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16137
16138 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16139 Change return value to be a sexp. Delay `get-buffer' to after
16140 restoring the desktop (bug#13951).
16141
16142 2013-03-26 Leo Liu <sdl.web@gmail.com>
16143
16144 * register.el: Move semantic tag handling back to
16145 cedet/semantic/senator.el. (Bug#14052)
16146
16147 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16148
16149 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16150 into the prompt either (bug#13963).
16151
16152 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16153
16154 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16155 part of "(error-foo)".
16156
16157 2013-03-24 Juri Linkov <juri@jurta.org>
16158
16159 * replace.el (list-matching-lines-prefix-face): New defcustom.
16160 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16161 `occur-engine' if `face-differs-from-default-p' returns t.
16162 (occur-engine): Add `,' inside backquote construct to evaluate
16163 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16164 Pass `prefix-face' to the functions `occur-context-lines' and
16165 `occur-engine-add-prefix'.
16166 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16167 `prefix-face' and propertize the prefix with `prefix-face'.
16168 (Bug#14017)
16169
16170 2013-03-24 Leo Liu <sdl.web@gmail.com>
16171
16172 * nxml/rng-valid.el (rng-validate-while-idle)
16173 (rng-validate-quick-while-idle): Guard against deleted buffer.
16174 (Bug#13999)
16175
16176 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16177 is the last entry in kill-buffer-hook.
16178
16179 * files.el (kill-buffer-hook): Doc fix.
16180
16181 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16182
16183 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16184 Make it safe-local.
16185
16186 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16187
16188 2013-03-23 Leo Liu <sdl.web@gmail.com>
16189
16190 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16191 Remove.
16192
16193 * nxml/rng-valid.el (rng-validate-mode)
16194 (rng-after-change-function, rng-do-some-validation):
16195 * nxml/rng-maint.el (rng-validate-buffer):
16196 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16197 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16198 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16199 (nxml-extend-after-change-region): Use with-silent-modifications.
16200
16201 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16202 timer-idle-list.
16203
16204 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16205 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16206 timer-idle-list. (Bug#13999)
16207
16208 2013-03-23 Juri Linkov <juri@jurta.org>
16209
16210 * info.el (info-index-match): New face.
16211 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16212 main pattern and add text properties with the new face to matches
16213 in index entries relative to the beginning of the index entry.
16214 (Bug#14015)
16215
16216 2013-03-21 Eric Ludlam <zappo@gnu.org>
16217
16218 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16219 Inhibit read only while inserting objects.
16220
16221 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16222
16223 * progmodes/cfengine.el: Update docs to mention
16224 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16225 symbol motion. Remove "_" from the word syntax.
16226
16227 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16228
16229 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16230 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16231
16232 2013-03-20 Juri Linkov <juri@jurta.org>
16233
16234 * info.el (Info-next-reference-or-link)
16235 (Info-prev-reference-or-link): New functions.
16236 (Info-next-reference, Info-prev-reference): Use them.
16237 (Info-try-follow-nearest-node): Handle footnote navigation.
16238 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16239
16240 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16241
16242 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16243 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16244
16245 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16246
16247 Suppress unnecessary non-ASCII chatter during build process.
16248 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16249 (batch-skkdic-convert): Suppress most of the chatter.
16250 It's not needed so much now that machines are faster,
16251 and its non-ASCII component was confusing; see Dmitry Gutov in
16252 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16253
16254 2013-03-20 Leo Liu <sdl.web@gmail.com>
16255
16256 * ido.el (ido-chop): Fix bug#10994.
16257
16258 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16259
16260 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16261 Remove vars.
16262 (whitespace-color-on, whitespace-color-off):
16263 Use `font-lock-fontify-buffer' (Bug#13817).
16264
16265 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16266
16267 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16268 remapping in mode-line.
16269 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16270
16271 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16272
16273 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16274 value for `whitespace-line' face (Bug#13875).
16275 (whitespace-font-lock-keywords): Change description.
16276 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16277 the constructed keywords instead.
16278 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16279
16280 2013-03-19 Leo Liu <sdl.web@gmail.com>
16281
16282 * progmodes/compile.el (compilation-display-error): New command.
16283 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16284 C-o. (Bug#13992)
16285
16286 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16287
16288 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16289
16290 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16291
16292 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16293
16294 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16295
16296 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16297
16298 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16299 * net/tramp-gvfs.el (top):
16300 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16301 (tramp-handle-shell-command): Use it.
16302 (tramp-dissect-file-name): Raise an error when hostname is a
16303 method name, and neither method nor user is specified.
16304
16305 * net/trampver.el: Update release number.
16306
16307 2013-03-18 Leo Liu <sdl.web@gmail.com>
16308
16309 Make sure eldoc can be turned off properly.
16310 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16311 eldoc-mode.
16312 (eldoc-display-message-p): Revert last change.
16313 (eldoc-display-message-no-interference-p)
16314 (eldoc-print-current-symbol-info): Tweak.
16315
16316 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16317
16318 * doc-view.el (doc-view-new-window-function): Check the new window
16319 overlay's display property instead the char property of the
16320 buffer's first char. Use `with-selected-window' instead of
16321 `save-window-excursion' with `select-window'.
16322 (doc-view-document->bitmap): Check the current doc-view overlay's
16323 display property instead the char property of the buffer's first char.
16324
16325 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16326
16327 Automate the build of ja-dic.el (Bug#13984).
16328 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16329 from the input, rather than assume that it's been done for us by the
16330 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16331 the current date into a ja-dic.el comment, as that complicates
16332 regression testing.
16333
16334 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16335
16336 * whitespace.el: Fix double evaluation.
16337 (whitespace-space, whitespace-hspace, whitespace-tab)
16338 (whitespace-newline, whitespace-trailing, whitespace-line)
16339 (whitespace-space-before-tab, whitespace-indentation)
16340 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16341 obsolete defvars.
16342 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16343 (whitespace-color-on): Use a single font-lock-add-keywords call.
16344 Fix double-evaluation of face variables.
16345
16346 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16347
16348 * net/tramp-adb.el (tramp-adb-parse-device-names):
16349 Use `start-process' instead of `call-process'. Otherwise, the
16350 function might be blocked under MS Windows. (Bug#13299)
16351
16352 2013-03-17 Leo Liu <sdl.web@gmail.com>
16353
16354 Extend eldoc to display info in the mode-line. (Bug#13978)
16355 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16356 (eldoc-mode-line-string): New variable.
16357 (eldoc-minibuffer-message): New function.
16358 (eldoc-message-function): New variable.
16359 (eldoc-message): Use it.
16360 (eldoc-display-message-p)
16361 (eldoc-display-message-no-interference-p):
16362 Support eldoc-post-insert-mode.
16363
16364 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16365 (eval-expression): Run it.
16366
16367 2013-03-17 Roland Winkler <winkler@gnu.org>
16368
16369 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16370 strings in the list of return values.
16371
16372 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16373
16374 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16375 radix before checking for HMS forms.
16376
16377 2013-03-16 Leo Liu <sdl.web@gmail.com>
16378
16379 * progmodes/scheme.el: Add indentation and font-locking for λ.
16380 (Bug#13975)
16381
16382 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16383
16384 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16385 token before point (bug#13942).
16386
16387 2013-03-16 Leo Liu <sdl.web@gmail.com>
16388
16389 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16390
16391 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16392
16393 * startup.el (command-line-normalize-file-name): Fix handling of
16394 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16395 <xfq.free@gmail.com> in
16396 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16397
16398 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16399
16400 Sync with Tramp 2.2.7.
16401
16402 * net/trampver.el: Update release number.
16403
16404 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16405
16406 * doc-view.el: Fix bug#13887.
16407 (doc-view-insert-image): Don't modify overlay associated to
16408 non-live windows, and implement horizontal centering of image in
16409 case it's smaller than the window.
16410 (doc-view-new-window-function): Force redisplay of new windows on
16411 doc-view buffers.
16412
16413 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16414
16415 * saveplace.el (save-place-alist-to-file): Don't sort
16416 `save-place-alist', just pretty-print it (bug#13882).
16417
16418 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16419
16420 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16421 Check whether `default-file-name-coding-system' is bound.
16422 It isn't in XEmacs.
16423
16424 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16425
16426 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16427 backquotes for `obsolete' (bug#13929).
16428
16429 * international/mule.el (find-auto-coding): Include file name in
16430 obsolescence warning (bug#13922).
16431
16432 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16433
16434 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16435 for CFEngine 3-specific indentation.
16436 (cfengine3-indent-line): Use it. Fix up category regex.
16437 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16438
16439 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16440
16441 * type-break.el (type-break-file-name):
16442 * textmodes/remember.el (remember-data-file):
16443 * strokes.el (strokes-file):
16444 * shadowfile.el (shadow-initialize):
16445 * saveplace.el (save-place-file):
16446 * ps-bdf.el (bdf-cache-file):
16447 * progmodes/idlwave.el (idlwave-config-directory):
16448 * net/quickurl.el (quickurl-url-file):
16449 * international/kkc.el (kkc-init-file-name):
16450 * ido.el (ido-save-directory-list-file):
16451 * emulation/viper.el (viper-custom-file-name):
16452 * emulation/vip.el (vip-startup-file):
16453 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16454 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16455
16456 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16457
16458 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16459 * language/thai-word.el: Switch to UTF-8.
16460
16461 See ChangeLog.16 for earlier changes.
16462
16463 ;; Local Variables:
16464 ;; coding: utf-8
16465 ;; End:
16466
16467 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16468
16469 This file is part of GNU Emacs.
16470
16471 GNU Emacs is free software: you can redistribute it and/or modify
16472 it under the terms of the GNU General Public License as published by
16473 the Free Software Foundation, either version 3 of the License, or
16474 (at your option) any later version.
16475
16476 GNU Emacs is distributed in the hope that it will be useful,
16477 but WITHOUT ANY WARRANTY; without even the implied warranty of
16478 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16479 GNU General Public License for more details.
16480
16481 You should have received a copy of the GNU General Public License
16482 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.